Commit bfb31dae12727af59ba06da586418a7dfb062cd6

Authored by Erickson Silva
1 parent 4b464823
Exists in master and in 1 other branch devel

Corrige parametro -sameq do FFmpeg. FPS do novo dicionario como padrao no Synchr…

…onizer. Números não sendo mais escritos por extenso.
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
... ... @@ -84,8 +84,8 @@ class Simplificador(object):
84 84 txt = roman_to_int(t)
85 85 return extenso(txt).decode("utf-8")
86 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 89 return t
90 90  
91 91  
... ...