[MEncoder-users] Capturing to flv

David Liontooth liontooth at cogweb.net
Thu Jan 3 07:53:37 CET 2008


I'm experimenting with v4l2 capture directly to flv:

mencoder -tv 
driver=v4l2:device=/dev/video$DEV:fps=30000/1001:chanlist=us-cable:\
audiorate=32000:adevice=hw.$DEV:alsa:input=0:amode=1:normid=4 -vf pp=lb 
-ffourcc FLV1 -ovc lavc \
-lavcopts 
vcodec=flv:autoaspect:vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 \
-oac mp3lame -lameopts cbr:br=128 -endpos $TIM -o $DIR/$FIL.flv tv://

CPU utilization is a little higher than I'd like -- any suggestions on 
lightening the load, without reducing the size or framerate?

Audio and video drift slightly out of sync -- how do I enforce sync?

The recording machine runs mencoder 1:1.0-rc1svn20070618-0.0 (Marillat, 
for Debian sid).

Cheers,
Dave




More information about the MEncoder-users mailing list