Commit b77b053afa82ff82b2076474d2ed5b1e980d62ca

Authored by Wesnydy Ribeiro
1 parent 54a15ec5
Exists in master and in 1 other branch devel

Modificações no log do terminal

renderer/src/renderer.cpp
@@ -95,8 +95,6 @@ void Renderer::exportGlosa() { @@ -95,8 +95,6 @@ void Renderer::exportGlosa() {
95 glosaBff = new char[glosaSize]; 95 glosaBff = new char[glosaSize];
96 strcpy(glosaBff, glosaCpy.c_str()); 96 strcpy(glosaBff, glosaCpy.c_str());
97 97
98 - cout << "glosa: " << glosaBff << endl;  
99 -  
100 try { 98 try {
101 cSocket->write(glosaBff, glosaSize); //Envia a glosa formatada p/ o player 99 cSocket->write(glosaBff, glosaSize); //Envia a glosa formatada p/ o player
102 }catch(lavidlib::IOException &ex){ 100 }catch(lavidlib::IOException &ex){
@@ -138,6 +136,7 @@ void Renderer::waitScreenShots() { @@ -138,6 +136,7 @@ void Renderer::waitScreenShots() {
138 } 136 }
139 137
140 void Renderer::renderVideo() { 138 void Renderer::renderVideo() {
  139 + PRINTL(util::_DEBUG, "Renderizando...\n");
141 string command = "ffmpeg -y -loglevel quiet -framerate 30 -i "; 140 string command = "ffmpeg -y -loglevel quiet -framerate 30 -i ";
142 command.append(PATH_SCREENS).append(userID).append("/frame_%d.png ") 141 command.append(PATH_SCREENS).append(userID).append("/frame_%d.png ")
143 .append("-vcodec libx264 -pix_fmt yuv420p ").append(pathOutVideo); 142 .append("-vcodec libx264 -pix_fmt yuv420p ").append(pathOutVideo);
servico/src/serviceWindowGenerationFromSubtitle.cpp
@@ -23,7 +23,7 @@ ServiceWindowGenerationFromSubtitle::ServiceWindowGenerationFromSubtitle(char* p @@ -23,7 +23,7 @@ ServiceWindowGenerationFromSubtitle::ServiceWindowGenerationFromSubtitle(char* p
23 } 23 }
24 running = true; 24 running = true;
25 finish = false; 25 finish = false;
26 - PRINTL(util::_DEBUG, "Service SRT Done!\n"); 26 + PRINTL(util::_DEBUG, "Service Subtitle Done!\n");
27 } 27 }
28 28
29 ServiceWindowGenerationFromSubtitle::ServiceWindowGenerationFromSubtitle(char* pathSRT, int sublanguage, int transp, char* id, int mode, int serviceType) { 29 ServiceWindowGenerationFromSubtitle::ServiceWindowGenerationFromSubtitle(char* pathSRT, int sublanguage, int transp, char* id, int mode, int serviceType) {
@@ -44,7 +44,7 @@ ServiceWindowGenerationFromSubtitle::ServiceWindowGenerationFromSubtitle(char* p @@ -44,7 +44,7 @@ ServiceWindowGenerationFromSubtitle::ServiceWindowGenerationFromSubtitle(char* p
44 } 44 }
45 running = true; 45 running = true;
46 finish = false; 46 finish = false;
47 - PRINTL(util::_DEBUG, "Service SRT Done!\n"); 47 + PRINTL(util::_DEBUG, "Service Subtitle Done!\n");
48 } 48 }
49 49
50 ServiceWindowGenerationFromSubtitle::~ServiceWindowGenerationFromSubtitle() { 50 ServiceWindowGenerationFromSubtitle::~ServiceWindowGenerationFromSubtitle() {
@@ -54,7 +54,7 @@ ServiceWindowGenerationFromSubtitle::~ServiceWindowGenerationFromSubtitle() { @@ -54,7 +54,7 @@ ServiceWindowGenerationFromSubtitle::~ServiceWindowGenerationFromSubtitle() {
54 if (renderer) delete renderer; 54 if (renderer) delete renderer;
55 if (extratorVTT)delete extratorVTT; 55 if (extratorVTT)delete extratorVTT;
56 if (extrator_factory) delete extrator_factory; 56 if (extrator_factory) delete extrator_factory;
57 - PRINTL(util::_DEBUG, "Service SRT finalized!\n"); 57 + PRINTL(util::_DEBUG, "Service Subtitle finalized!\n");
58 } 58 }
59 59
60 void ServiceWindowGenerationFromSubtitle::setPathContents() { 60 void ServiceWindowGenerationFromSubtitle::setPathContents() {
@@ -219,7 +219,7 @@ void ServiceWindowGenerationFromSubtitle::notifyEndOfRenderization() { @@ -219,7 +219,7 @@ void ServiceWindowGenerationFromSubtitle::notifyEndOfRenderization() {
219 } 219 }
220 220
221 void ServiceWindowGenerationFromSubtitle::notifyEnd(int sub_size) { 221 void ServiceWindowGenerationFromSubtitle::notifyEnd(int sub_size) {
222 - PRINTL(util::_DEBUG, "Service SRT recebeu: %d legendas.\n", sub_size); 222 + PRINTL(util::_DEBUG, "Service Subtitle recebeu: %d legendas.\n", sub_size);
223 setSizeOfSubtitles(sub_size); 223 setSizeOfSubtitles(sub_size);
224 } 224 }
225 225
@@ -232,7 +232,7 @@ bool ServiceWindowGenerationFromSubtitle::isFinished() { @@ -232,7 +232,7 @@ bool ServiceWindowGenerationFromSubtitle::isFinished() {
232 } 232 }
233 233
234 void ServiceWindowGenerationFromSubtitle::initialize() { 234 void ServiceWindowGenerationFromSubtitle::initialize() {
235 - PRINTL(util::_DEBUG, "Service SRT Initialize.\n"); 235 + PRINTL(util::_DEBUG, "Service Subtitle Initialize.\n");
236 setPathLibras(); 236 setPathLibras();
237 237
238 Extrator::ExtratorType extrator_t = getExtratorType(); 238 Extrator::ExtratorType extrator_t = getExtratorType();