Commit 5c626b53c27c154d674c4fc1b0e5a4f9c0ba1134
1 parent
a59136fe
Exists in
master
and in
1 other branch
Ajustes em alguns prints
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
mixer/src/mixer.cpp
... | ... | @@ -21,9 +21,6 @@ Mixer::~Mixer() { |
21 | 21 | void Mixer::setPathOfFiles() { |
22 | 22 | this->pathTempFiles.append("/").append(this->userID); |
23 | 23 | this->pathMixedVideo.append("/").append(this->userID).append(".mp4"); |
24 | - | |
25 | - cout << "PATH TEMP FILES: " << this->pathTempFiles << endl; | |
26 | - cout << "PATH MIXED VIDEOS: " << this->pathMixedVideo << endl; | |
27 | 24 | } |
28 | 25 | |
29 | 26 | /* O valor da largura e altura está na unidade de Pixels. |
... | ... | @@ -38,8 +35,6 @@ void Mixer::setSVSize() { |
38 | 35 | string tempTextFile = this->pathTempFiles; |
39 | 36 | tempTextFile.append("/").append("tamanho.txt"); |
40 | 37 | |
41 | - cout << "TEMPTXT: " << tempTextFile << endl; | |
42 | - | |
43 | 38 | string ffprobeSentence = "ffprobe -show_streams "+this->mainVideo+" 2> /dev/null | grep \"height=\" | cut -d'=' -f2 > "+tempTextFile; |
44 | 39 | system(ffprobeSentence.c_str()); |
45 | 40 | |
... | ... | @@ -140,7 +135,5 @@ void Mixer::mixVideos() { |
140 | 135 | "scale="+ this->widthStr +":"+this->heigthStr+", setpts=PTS-STARTPTS, [movie] overlay"+this->transparency+"="+this->positionStr+ |
141 | 136 | " [out]\" -qscale 0 -strict experimental -vcodec libx264 -preset fast -r 30 -threads "+NUMTHREADS+" "+this->pathMixedVideo; |
142 | 137 | |
143 | - cout << "FFMPEG: " << ffmpegSentence << endl; | |
144 | - | |
145 | 138 | system(ffmpegSentence.c_str()); |
146 | 139 | } |
147 | 140 | \ No newline at end of file | ... | ... |