#4707 closed enhancement (needs_more_info)
ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
Reported by: | Al Mamun Mahbub | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
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..
ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
/dev/video0: Inappropriate ioctl for device
Please help me to solve this issue..
Change History (4)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Command line provided below
/home/support/bin/ffmpeg -i /dev/video0 -c:a libfdk_aac -b:a 64k -ar:a 44100 -ac:a 2 -c:v libx264 -b:v 800k -aspect:v 16:9 -filter:v "scale=854:480" -f mpegts udp://192.168.1.188:8888
comment:3 by , 9 years ago
Resolution: | → needs_more_info |
---|---|
Status: | new → closed |
Please reopen this ticket if you can provide your failing command line together with the complete, uncut console output.
comment:4 by , 9 years ago
Command line with output..
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
Please provide the command line that allows you to reproduce your issue together with the complete, uncut console output to make this a valid ticket.