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!
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!
FS#18082 - [ffmpeg]20100108-2 breaks X11 grabbing support
Attached to Project:
Arch Linux
Opened by speps (archspeps) - Sunday, 31 January 2010, 03:02 GMT
Last edited by Ionut Biru (wonder) - Sunday, 31 January 2010, 10:33 GMT
Opened by speps (archspeps) - Sunday, 31 January 2010, 03:02 GMT
Last edited by Ionut Biru (wonder) - Sunday, 31 January 2010, 10:33 GMT
|
DetailsDescription: ffmpeg version 20100108-2 breaks x11grab support in the way is not possible set the DISPLAY number with the -i flag
Additional info: Package version 20100108-2 The examples as described here http://ffmpeg.org/ffmpeg-doc.html#SEC4 does not grab X11 and give this error $ ffmpeg -f x11grab -s cif -i :0.0 /tmp/out.mpg FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al. built on Jan 10 2010 17:29:42 with gcc 4.4.2 20091208 (prerelease) configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-version3 --enable-nonfree libavutil 50. 7. 0 / 50. 7. 0 libavcodec 52.45. 0 / 52.45. 0 libavformat 52.46. 0 / 52.46. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 8. 0 / 0. 8. 0 libpostproc 51. 2. 0 / 51. 2. 0 :0.0: no such file or directory $ ffmpeg -f x11grab -s cif -i :0.0+10,20 /tmp/out.mpg FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al. built on Jan 10 2010 17:29:42 with gcc 4.4.2 20091208 (prerelease) configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-version3 --enable-nonfree libavutil 50. 7. 0 / 50. 7. 0 libavcodec 52.45. 0 / 52.45. 0 libavformat 52.46. 0 / 52.46. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 8. 0 / 0. 8. 0 libpostproc 51. 2. 0 / 51. 2. 0 :0.0+10,20: no such file or directory and also according to $DISPLAY $ ffmpeg -f x11grab -s cif -i $DISPLAY /tmp/out.mpg FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al. built on Jan 10 2010 17:29:42 with gcc 4.4.2 20091208 (prerelease) configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-version3 --enable-nonfree libavutil 50. 7. 0 / 50. 7. 0 libavcodec 52.45. 0 / 52.45. 0 libavformat 52.46. 0 / 52.46. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 8. 0 / 0. 8. 0 libpostproc 51. 2. 0 / 51. 2. 0 :0: no such file or directory Steps to reproduce: $ startx $ ffmpeg -f x11grab -s cif -i $DISPLAY /tmp/out.mpg |
This task depends upon
:0.0: I/O error occurred
Usually that means that input file is truncated and/or corrupted
maybe that "not such file" is because you have a problem with your login method?
before posting this bug i asked to a lot of users on #archlinux and they give me the same report (both x86_64 i686) so i decided to report it
Now i'm on x86_64 and i use awesome as my default wm but i get the same with openbox, however i don't think it's related to wm.
That is my output after launched ffmpeg -f x11grab -s cif -i $DISPLAY /tmp/out.mpg as it happens to many others.
What do you mean with "maybe i have a problem with my login method"?
ffmpeg -f x11grab -r 24 -s 1280x800 -i :0.0 ~/out.mpg
i had to recompile to add x11grab support.
about your issue. do you have in .xinitrc "exec ck-launch-session wm" ?
FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Jan 10 2010 17:29:42 with gcc 4.4.2 20091208 (prerelease)
configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-version3 --enable-nonfree
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.45. 0 / 52.45. 0
libavformat 52.46. 0 / 52.46. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 8. 0 / 0. 8. 0
libpostproc 51. 2. 0 / 51. 2. 0
:0: no such file or directory
same with :0.0
However ffmpeg it's compiled with --enable-x11grab yet as described here http://repos.archlinux.org/wsvn/packages/ffmpeg/repos/extra-x86_64/PKGBUILD
I do not have ck-launch-session wm in my .xinitrc. I have just tried with it and there are no changes in output.
do:
echo $DISPLAY
:0
I'll wait for it, or i'll build by myself using that PKGBUILD.
Now it seems to work good (using the -r parameter, this new way should be updated in the ffmpeg official manual).
I'll hard test it to see if there are other issues.
Thanks for the speedy bugfix.