[FFmpeg-trac] #4739(ffmpeg:new): Inappropriate ioctl for "/dev/video0" device
FFmpeg
trac at avcodec.org
Sun Jul 26 09:17:56 CEST 2015
#4739: Inappropriate ioctl for "/dev/video0" device
---------------------------------+---------------------------------------
Reporter: razeeev | Type: task
Status: new | Priority: normal
Component: ffmpeg | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+---------------------------------------
Hi..
I am trying to stream with ffmpeg using the device XI006AEPRO which is
functionally a 6 channel AV capture card.. I have installed the driver and
can watch video from connected devices through vlc.. When trying to use
the device with FFMPEG (dumping file or streaming live) it shows the error
message saying..
"[video4linux2,v4l2 @ 0x2eb09e0] ioctl(VIDIOC_G_PARM): Inappropriate ioctl
for device
/dev/video0: Inappropriate ioctl for device"
Command line along with output is provided below..
root at support-OptiPlex-3020:~# /root/bin/ffmpeg -f v4l2 -i /dev/video0 -c:v
libx264 -b:v 800k -f mpegts udp://192.168.1.188:8888
ffmpeg version git-2014-03-24-33a7e28 Copyright (c) 2000-2014 the FFmpeg
developers
built on Mar 25 2014 00:27:40 with gcc 4.4.7 (GCC) 20120313 (Red Hat
4.4.7-4)
configuration: --prefix=/root/ffmpeg_build --extra-
cflags=-I/root/ffmpeg_build/include --extra-
ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl
--enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
libavutil 52. 69.100 / 52. 69.100
libavcodec 55. 54.100 / 55. 54.100
libavformat 55. 35.100 / 55. 35.100
libavdevice 55. 11.100 / 55. 11.100
libavfilter 4. 3.100 / 4. 3.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[video4linux2,v4l2 @ 0x23f5900] ioctl(VIDIOC_G_PARM): Inappropriate ioctl
for device
/dev/video0: Inappropriate ioctl for device
The same thing happens even with the newly compiled FFMPEG..
support at support-OptiPlex-3020:~/Desktop$ ffmpeg -f v4l2 -i /dev/video0
-c:v libx264 -b:v 800k -f mpegts udp://192.168.1.188:8888
ffmpeg version N-73370-gc9220d5 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --prefix=/home/support/ffmpeg_build --pkg-config-
flags=--static --extra-cflags=-I/home/support/ffmpeg_build/include
--extra-ldflags=-L/home/support/ffmpeg_build/lib
--bindir=/home/support/bin --enable-gpl --enable-libass --enable-libfdk-
aac --enable-libfreetype --enable-libmp3lame --enable-libx264 --enable-
libx265 --enable-nonfree
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 46.100 / 56. 46.100
libavformat 56. 40.100 / 56. 40.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 19.100 / 5. 19.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
[video4linux2,v4l2 @ 0x2050160] ioctl(VIDIOC_G_PARM): Inappropriate ioctl
for device
/dev/video0: Inappropriate ioctl for device
support at support-OptiPlex-3020:~/Desktop$
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4739>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list