[FFmpeg-user] The device does not support the streaming I/O method.

Thomas Seilund tps at netmaster.dk
Sat Jan 24 12:23:26 CET 2015


Hi All


I read this about webcap capture with ffmpeg -  
https://trac.ffmpeg.org/wiki/Capture/Webcam


I get this error when I list device capabilities:


tps at t420:~/AMC/test$ ffmpeg -f v4l2 -list_formats all -i /dev/video1
ffmpeg version N-69238-g2699a37 Copyright (c) 2000-2015 the FFmpeg  
developers
   built on Jan 24 2015 11:51:09 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
   configuration: --enable-gpl --enable-libmp3lame --enable-libvpx --enable- 
libx264 --enable-version3 --enable-libvorbis --enable-x11grab --enable- 
libfreetype --enable-libv4l2 --enable-libfdk-aac --enable-nonfree
   libavutil      54. 17.100 / 54. 17.100
   libavcodec     56. 20.100 / 56. 20.100
   libavformat    56. 19.100 / 56. 19.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5.  8.101 /  5.  8.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
[video4linux2,v4l2 @ 0x232d3c0] The device does not support the streaming  
I/O method.
/dev/video1: Function not implemented
tps at t420:~/AMC/test$


If I supply input format then I get this error message

tps at t420:~/AMC/test$ ffmpeg -f v4l2 -list_formats all -f mpegts -i  
/dev/video1
ffmpeg version N-69238-g2699a37 Copyright (c) 2000-2015 the FFmpeg  
developers
   built on Jan 24 2015 11:51:09 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
   configuration: --enable-gpl --enable-libmp3lame --enable-libvpx --enable- 
libx264 --enable-version3 --enable-libvorbis --enable-x11grab --enable- 
libfreetype --enable-libv4l2 --enable-libfdk-aac --enable-nonfree
   libavutil      54. 17.100 / 54. 17.100
   libavcodec     56. 20.100 / 56. 20.100
   libavformat    56. 19.100 / 56. 19.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5.  8.101 /  5.  8.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
Option list_formats not found.
tps at t420:~/AMC/test$



Here is what I get if use v4l2-ctl to list device capabilities

tps at t420:~/AMC/test$ v4l2-ctl --device=/dev/video1 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'MPEG' (compressed)
	Name        : MPEG2-TS with AVC/AAC streams

tps at t420:~/AMC/test$


I can capture video if I use mplayer

mplayer /dev/video1


Video comes from a Panasonic cameara and through a HD PVR box and into my  
Ubuntu Linux. The hdpvr module is version "hdpvr 2-1.1:1.0" (version comes  
from dmesg)

Any help would be very much appreciated

Thanks

Thomas S

-- 
Venlig hilsen
Thomas Seilund
Løkketoften 46
2625 Vallensbæk


More information about the ffmpeg-user mailing list