[FFmpeg-user] The Creating A Screencast command has been modified Ubuntu 10.04 FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.3(What's the new convention)

Lou lou at lrcd.com
Sun Jan 22 10:24:13 CET 2012


On Sat, Jan 21, 2012 at 07:30:15PM +0000, maujhsn wrote:
> ubuntu at ubuntu:~$ ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x720
> -i :0.0 -qscale 1 -acodec pcm_s161e  -vcodec libx264 -vpre
> lossless_ultrafast -threads 0 output.mkv
> 
> I get this code: Unknown encoder 'libx264'
> 
> Can anybody tell me the new convention?

I think you mean the old convention because it appears that you're using
a very old version of FFmpeg from the Ubuntu repository. By default Ubuntu
doesn't enable libx264. You need to manually install an additional
package to enable it. See option B here:

http://ubuntuforums.org/showthread.php?t=1117283

...or you could compile FFmpeg yourself as shown in Option A.

Also, remove "-qscale 1". It is superfluous with lossless encoding and
you shouldn't use that option with libx264 anyway.


More information about the ffmpeg-user mailing list