[MEncoder-users] a question
Giacomo Comes
comes at naic.edu
Mon Jan 30 19:16:18 CET 2006
On Mon, Jan 30, 2006 at 03:56:05PM +0100, Nico Sabbi wrote:
> Giacomo Comes wrote:
> >
> >Do you mean, the output of mencoder is too verbose? What about using
> >-quiet?
> >
> >Giacomo
> >
>
> you use -identify by default in the second stage, that spits out a lot
> of infos
This should be a problem only with TS stream.
Would this patch be acceptable?
Giacomo
-------------- next part --------------
--- encode2mpeglight.ori 2006-01-30 14:09:41.000000000 -0400
+++ encode2mpeglight 2006-01-30 14:10:54.000000000 -0400
@@ -1254,7 +1254,13 @@
if [[ -f $output.yuvscaler.log || -f $output.mpeg2enc.log ]]; then
echo
else
- ((!EXIT)) && [[ ! $quiet ]] && cat "$output".log
+ if ((!EXIT)) && [[ ! $quiet ]];then
+ if ((DEBUG)) || ! grep -q 'ID_DEMUXER=mpegts' "$output".log ; then
+ cat "$output".log
+ else
+ grep -v 'INFO: \[identify]' "$output".log
+ fi
+ fi
fi
((DEBUG)) && rm -f "$output".debug.fifo && kill $PROCTEE
}
More information about the MEncoder-users
mailing list