[FFmpeg-trac] #2410(undetermined:new): ffmpeg down with video4linux2.
FFmpeg
trac at avcodec.org
Fri Mar 29 06:32:47 CET 2013
#2410: ffmpeg down with video4linux2.
-------------------------------------+-------------------------------------
Reporter: dinhka | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: v4l2 | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by dinhka):
Replying to [comment:4 cehoyos]:
> Did you already try to remove "-pix_fmt yuv420p" ?
> And please add the output for the following command:
> $ ffmpeg -list_formats all -f v4l2 -i /dev/video0
Hi,
1. remove -pix_fmt yuv420p:
ffmpeg -f video4linux2 -i /dev/video0 -vcodec mpeg4 -b:v 1200k -y
test.avi
ffmpeg version N-51426-gdd17843 Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 29 2013 00:22:28 with gcc 4.4.7 (GCC) 20120313 (Red Hat
4.4.7-3)
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 --enable-libass --extra-cflags=-I/usr/local/include
--disable-debug
libavutil 52. 22.101 / 52. 22.101
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[video4linux2,v4l2 @ 0x9ea2420] ioctl(VIDIOC_G_PARM): Inappropriate ioctl
for device
/dev/video0: Inappropriate ioctl for device
2.
ffmpeg -list_formats all -f v4l2 -i /dev/video0 -vcodec mpeg4 -b:v
1200k -y test.avi
ffmpeg version N-51426-gdd17843 Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 29 2013 00:22:28 with gcc 4.4.7 (GCC) 20120313 (Red Hat
4.4.7-3)
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 --enable-libass --extra-cflags=-I/usr/local/include
--disable-debug
libavutil 52. 22.101 / 52. 22.101
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[video4linux2,v4l2 @ 0x93e14a0] Raw : uyvy422 : 16 bpp YUY2,
4:2:2, packed :
/dev/video0: Immediate exit requested
best regards.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2410#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list