Opened 10 years ago
Last modified 9 years ago
#4708 new enhancement
ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
Reported by: | Al Mamun Mahbub | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avdevice |
Version: | git-master | Keywords: | v4l2 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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..
Command line along with output is provided below..
root@support-OptiPlex-3020:~# /home/support/bin/ffmpeg -i /dev/video0 -c:v libx264 -b:v 800k -aspect:v 16:9 -filter:v "scale=854:480" -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 @ 0x2ff7200] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
/dev/video0: Inappropriate ioctl for device
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Component: | ffmpeg → avdevice |
---|---|
Keywords: | v4l2 added |
Hi..
I have just installed "ffmpeg version git-2015-07-26-f37a5dc" but no luck.. please check..
root@support-OptiPlex-3020:~/bin# /root/bin/ffmpeg -i /dev/video0 -c:v libx264 -b:v 800k -f mpegts udp://192.168.1.188:8888
ffmpeg version git-2015-07-26-f37a5dc Copyright (c) 2000-2015 the FFmpeg developers
[video4linux2,v4l2 @ 0x226d1a0] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
/dev/video0: Inappropriate ioctl for device