[MPlayer-users] v4l record memory usage.

Marcin Bukat wodz at soliton.ch.pw.edu.pl
Wed Dec 11 08:58:02 CET 2002


> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
> 
>   I use mencoder to record TV from a bttv card ( ATI TVWonder).
>   command line like this:
>   mencoder -tv on:driver=v4l:width=320:height=240:amode=0:adevice=/dev/dsp \
>            -o tv.avi -oac mp3lame -lameopts cbr:br=56:mode=3 \
>            -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=900
> 
>   I run it on my machine with P4 2.0G, Mem=512MB
>   MPlayer version is 0.90rc1
>   
>   The problem is :
>       After start to run above command line, it use more and more
>       memory and increase very fast until reached about 256MB.
>       (I use 'top' to monitor the mem usage). It sames stoped memory
>       requirment.
>       
>   If I use earlier snapshot version, it will still increase the
>   memory useage, but slower, finally, begin memory swap...
>   system hangs. Is it a memory-leak problem?
> 
As written in manpage mencoder allocates ~50% of system mem as a buffer 
(by default)

by
wodz




More information about the MPlayer-users mailing list