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,7 +127,7 @@ void Mixer::mixVideos () { | ||
| 127 | 127 | ||
| 128 | string ffmpegSentence = "ffmpeg -i "+this->mainVideo+" -y -vf \"movie="+this->secondaryVideo+", "+ | 128 | string ffmpegSentence = "ffmpeg -i "+this->mainVideo+" -y -vf \"movie="+this->secondaryVideo+", "+ |
| 129 | "scale="+ num1String +":"+num2String+", setpts=PTS-STARTPTS, [movie] overlay"+transparency+"="+strPosition+ | 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,7 +258,7 @@ void ServiceWindowGeneration::transcodeVideoToMp4() { | ||
| 258 | //printf("[INFO]: A transcodificação para .mp4 está ativada!\n"); | 258 | //printf("[INFO]: A transcodificação para .mp4 está ativada!\n"); |
| 259 | string command = "ffmpeg -i "; | 259 | string command = "ffmpeg -i "; |
| 260 | command.append(path_libras) | 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 | .append(PATH_API) | 262 | .append(PATH_API) |
| 263 | .append(getUserId()) | 263 | .append(getUserId()) |
| 264 | .append(".mp4"); | 264 | .append(".mp4"); |
synchronizer/src/synchronizer.cpp
| @@ -8,13 +8,13 @@ | @@ -8,13 +8,13 @@ | ||
| 8 | #define VIDEOTRANSP_PADRAO "vlibras_user/dicionarioTransp_libras/poseneutra.ts" | 8 | #define VIDEOTRANSP_PADRAO "vlibras_user/dicionarioTransp_libras/poseneutra.ts" |
| 9 | 9 | ||
| 10 | //DICIONARIO 45 fps | 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 | //DICIONARIO 30 fps | 15 | //DICIONARIO 30 fps |
| 16 | -//#define PCRPID 256 | ||
| 17 | -//#define PESPID 256 | 16 | +#define PCRPID 256 |
| 17 | +#define PESPID 256 | ||
| 18 | 18 | ||
| 19 | Mutex* mutexi = new Mutex(); | 19 | Mutex* mutexi = new Mutex(); |
| 20 | 20 |
tradutor/src/py/Simplificador.py
| @@ -84,8 +84,8 @@ class Simplificador(object): | @@ -84,8 +84,8 @@ class Simplificador(object): | ||
| 84 | txt = roman_to_int(t) | 84 | txt = roman_to_int(t) |
| 85 | return extenso(txt).decode("utf-8") | 85 | return extenso(txt).decode("utf-8") |
| 86 | except: | 86 | except: |
| 87 | - if t.isdigit(): | ||
| 88 | - return extenso(t).decode("utf-8") | 87 | + #if t.isdigit(): |
| 88 | + # return extenso(t).decode("utf-8") | ||
| 89 | return t | 89 | return t |
| 90 | 90 | ||
| 91 | 91 |