Commit bfb31dae12727af59ba06da586418a7dfb062cd6
1 parent
4b464823
Exists in
master
and in
1 other branch
Corrige parametro -sameq do FFmpeg. FPS do novo dicionario como padrao no Synchr…
…onizer. Números não sendo mais escritos por extenso.
Showing
4 changed files
with
8 additions
and
8 deletions
Show diff stats
mixer/src/Mixer.cpp
... | ... | @@ -127,7 +127,7 @@ void Mixer::mixVideos () { |
127 | 127 | |
128 | 128 | string ffmpegSentence = "ffmpeg -i "+this->mainVideo+" -y -vf \"movie="+this->secondaryVideo+", "+ |
129 | 129 | "scale="+ num1String +":"+num2String+", setpts=PTS-STARTPTS, [movie] overlay"+transparency+"="+strPosition+ |
130 | - " [out]\" -sameq -strict experimental -vcodec libx264 -preset fast -r 30 -threads "+this->numThreads+" "+pathFinal; | |
130 | + " [out]\" -qscale 0 -strict experimental -vcodec libx264 -preset fast -r 30 -threads "+this->numThreads+" "+pathFinal; | |
131 | 131 | |
132 | 132 | |
133 | 133 | ... | ... |
servico/src/serviceWindowGeneration.cpp
... | ... | @@ -258,7 +258,7 @@ void ServiceWindowGeneration::transcodeVideoToMp4() { |
258 | 258 | //printf("[INFO]: A transcodificação para .mp4 está ativada!\n"); |
259 | 259 | string command = "ffmpeg -i "; |
260 | 260 | command.append(path_libras) |
261 | - .append(" -sameq -strict experimental -vcodec libx264 -preset fast -r 30 ") | |
261 | + .append(" -qscale 0 -strict experimental -vcodec libx264 -preset fast -r 30 ") | |
262 | 262 | .append(PATH_API) |
263 | 263 | .append(getUserId()) |
264 | 264 | .append(".mp4"); | ... | ... |
synchronizer/src/synchronizer.cpp
... | ... | @@ -8,13 +8,13 @@ |
8 | 8 | #define VIDEOTRANSP_PADRAO "vlibras_user/dicionarioTransp_libras/poseneutra.ts" |
9 | 9 | |
10 | 10 | //DICIONARIO 45 fps |
11 | -#define PCRPID 4097 | |
12 | -#define PESPID 4113 | |
11 | +//#define PCRPID 4097 | |
12 | +//#define PESPID 4113 | |
13 | 13 | |
14 | 14 | |
15 | 15 | //DICIONARIO 30 fps |
16 | -//#define PCRPID 256 | |
17 | -//#define PESPID 256 | |
16 | +#define PCRPID 256 | |
17 | +#define PESPID 256 | |
18 | 18 | |
19 | 19 | Mutex* mutexi = new Mutex(); |
20 | 20 | ... | ... |
tradutor/src/py/Simplificador.py