Monday, 27 August 2012

recording video, realitime

ffmpeg -f alsa -ac 2 -i pulse -r 30 -f x11grab -s 1920x1200 -i :0.0 -vcodec libx264 gwMINE_footage_1.mkv

or now,

avconv \
-f x11grab -r 30 -s hd1080 -i :0.0 \
-f alsa -ac 2 -i pulse \
-vcodec libx264 -vf 'scale=-1:720' -pre:v lossless_ultrafast \
-acodec libmp3lame \
-y outfile.avi

No comments:

Post a Comment