[FFmpeg-user] x11grab

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Sep 1 10:13:44 CEST 2013


Phil Troy <phil <at> philtroy.com> writes:

> fmpeg -f x11grab -r 2 -s 1024x768 -i :0.0 -f alsa 
> -ac 1 -i pulse -vcodec libx264 -pix_fmt rgb24 
> -preset ultrafast -qp 0 output.avi

(Complete, uncut console output missing.)
Since this is an unusual use-case and since 
all non-FFmpeg-based mediaplayer will refuse 
to play the output file, it was decided some 
time ago to use a specific encoder name for 
rgb to assure it is never chosen accidentally:
-vcodec libx264rgb

Carl Eugen



More information about the ffmpeg-user mailing list