[MPlayer-dev-eng] Documentation - TV capture example suggestion

D Richard Felker III dalias at aerifal.cx
Mon Mar 21 03:32:21 CET 2005


On Sun, Mar 20, 2005 at 09:27:42PM -0500, Gabor Nagy wrote:
> On page
> 
> http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html#tv-tips
> 
> the following example appears:
>  mencoder -tv driver=v4l:width=768:height=576 \
>  -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350:vhq:vqmax=31:keyint=300 \
>  -oac mp3lame -lameopts cbr:br=48 \
>  -vf crop=720:540:24:18,pp=tn/lb,scale=384:288 -sws 1 -o output.avi tv://
> 
> It might be better to switch off tempnoise filter in this case, since the
> resizing itself eliminates the noise, and tempnoise takes up some CPU time
> - which may matter for slower CPUs:

pp=tn filter actually should NEVER EVER be used. It introduces
blocking artifacts because it uses a hard threshold.

>  mencoder -tv driver=v4l:width=768:height=576 \
>  -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350:vhq:vqmax=31:keyint=300 \
>  -oac mp3lame -lameopts cbr:br=48 \
>  -vf crop=720:540:24:18,pp=lb,scale=384:288 -sws 1 -o output.avi tv://
> 
> Maybe it would still worth to have the example as it is, because otherwise
> new users would not hear about tn if they only have a look on the examples,
> so a short note mentioning that it could be easily switched off on low
> CPUs.

No, never put it in examples. It's bad. It should actually be removed
from the code...

Rich




More information about the MPlayer-dev-eng mailing list