File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ package export::transcode;
9191
9292 # Start the transcode command
9393 $transcode = " $NICE transcode"
94+ # No colored log messages (too much work to parse)
95+ .' --log_no_color'
9496 # Only print status every 16 frames -- prevents buffer-related slowdowns
9597 .' --progress_meter 2 --progress_rate 16'
9698 ;
@@ -372,10 +374,10 @@ package export::transcode;
372374 $fps = $status {' fps' };
373375 }
374376 # Look for error messages
375- elsif ($l =~ m /\[ transcode \] warning/ ) {
377+ elsif ($l =~ m /\]\W + warning/ i ) {
376378 $warnings .= $l ;
377379 }
378- elsif ($l =~ m /\[ transcode \] critical/ || $l =~ m / segmentation fault/ i ) {
380+ elsif ($l =~ m /\]\W + critical/ i || $l =~ m / segmentation fault/ i ) {
379381 $warnings .= $l ;
380382 die " \n\n Transcode had critical errors:\n\n $warnings " ;
381383 }
You can’t perform that action at this time.
0 commit comments