#2410: ffmpeg down with video4linux2. -------------------------------------+------------------------------------- Reporter: dinhka | Owner: Type: defect | Status: new Priority: important | Component: Version: unspecified | undetermined Keywords: v4l2 | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+-------------------------------------
Comment (by dinhka): Replying to [comment:1 cehoyos]: > Does it work with an older version of FFmpeg? I try ffmpeg git master, ffmpeg 1.2, ffmpeg 1.1.4 with the same error. I try ffmpeg 0.5.12, the result as: [root@localhost ffmpeg-0.5.12]# ffmpeg -f video4linux2 -pix_fmt yuv420p -i /dev/video0 -vcodec mpeg4 -b:v 1200k -y test.avi FFmpeg version 0.5.12, Copyright (c) 2000-2013 Fabrice Bellard, et al. configuration: --enable-version3 --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-avfilter --enable-nonfree --enable-libmp3lame --enable-gpl --enable-libfaac --enable-libx264 --enable-pthreads --disable-stripping --extra-cflags=-I/usr/local/include --disable-debug libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 1 / 52.20. 1 libavformat 52.31. 0 / 52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter 0. 4. 0 / 0. 4. 0 built on Mar 29 2013 11:23:13, gcc: 4.4.7 20120313 (Red Hat 4.4.7-3) [video4linux2 @ 0xa317290]Wrong size (0x0) /dev/video0: Error while opening file -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2410#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac