Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7110 - Missing --enable-x11grab from ffmpeg

Attached to Project: Arch Linux
Opened by Mark Constable (markc) - Thursday, 10 May 2007, 02:39 GMT
Last edited by Paul Mattal (paul) - Tuesday, 09 October 2007, 15:13 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity Low
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

ffmpeg is probably one of the more efficient tools for creating screencasts but it is missing --enable-x11grab when being compiled.
This task depends upon

Closed by  Paul Mattal (paul)
Tuesday, 09 October 2007, 15:13 GMT
Reason for closing:  Implemented
Comment by Paul Mattal (paul) - Saturday, 12 May 2007, 12:50 GMT
Hmm, I'll check into adding this before I release the new snapshot to extra.
Comment by Paul Mattal (paul) - Sunday, 17 June 2007, 16:58 GMT
Try the new -2 snapshot in testing. I added the option.
Comment by Mark Constable (markc) - Monday, 18 June 2007, 07:01 GMT
I'm not sure it works, or maybe I couldn't get the right args to make it work, at first, so I googled and saw some posts about the build needing something like this added before x11grab actually does indeed work. I rebuilt it using these extra flags and, maybe coincidentily, got it working...

--extra-cflags=-I/usr/include/xorg \
--extra-ldflags=-L/usr/lib \

This particular invocation actually works for me, not optimal, but it works on my old 3000+ AMD CPU. Using h264 produces a similar quality file at almost 1/3 the size but it has quite a few audio and dropped frames on my machine.

ffmpeg -f x11grab -s 1920x1200 -i :0.0 -r 8 -sameq -f audio_device -i /dev/dsp1 -acodec mp3 -ab 64K -ar 22050 -ac 2 -s 960x592 -vcodec mpeg4 out.avi

I couldn't figure out how to get an ALSA audio device involved and the result is still not in stereo even though it says it should be. Anyway, if this will be available in current soon then I, or someone, might do a wiki page with some how to use hints... and we might see some more ArchLinux screencasts become available. Thanks for adding the option Paul.
Comment by Paul Mattal (paul) - Wednesday, 01 August 2007, 21:57 GMT
Did we determine there was anything else wrong with ffmpeg, or is this behavior just the way it is? Is there anything else I can do in the ffmpeg package to help?

Loading...