[nycbug-talk] Screencasts using ffmpeg

Eric Radman ericshane at eradman.com
Tue May 8 09:33:59 EDT 2012


Has anyone used ffmpeg for doing screencasts? FreeBSD 9 and OpenBSD 5.1
both deliver 4fps while Linux 2.6.32 + Nouveau does 30 with CPU to
spare. Perhaps this is really a question for an xorg mailing list.

What I've tried:

ffmpeg -n -f x11grab -r 30 -s 800x600 -i :0.0+20,20 \
    -vcodec ffv1 -sameq out.avi

ffmpeg -n -f x11grab -r 30 -s 800x600 -i :0.0+35,86 \
    -vcodec libx264 -vpre lossless_ultrafast out.mkv


Some information from the FreeBSD install:

$ glxinfo | head
...
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2

$ dmesg | head
...
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (2400.13-MHz 686-class CPU)

$ cat /var/log/Xorg.0.log
...
(--) NV: Found NVIDIA GeForce 7600 GS at 01 at 00:00:0
(II) NV(0): Initializing int10
...
(--) NV(0): Chipset: "GeForce 7600 GS"
(==) NV(0): Depth 24, (--) framebuffer bpp 32
(==) NV(0): RGB weight 888
(==) NV(0): Default visual is TrueColor
(==) NV(0): Using HW cursor
(--) NV(0): Linear framebuffer at 0x80000000

-- 
Eric Radman  |  http://eradman.com



More information about the talk mailing list