[FFmpeg-user] Can not stream /dev/video0

Andy dssnosher at gmail.com
Fri Dec 27 06:13:26 CET 2013


My device name is Hauppauge Win 150 MCE.
No luck so far and  I cant seem to find this error msg in Google

Config:
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 100
MaxBandwidth 104890
CustomLog -
NoDaemon

<Feed dvbstest.ffm>
File /tmp/dvbstest.ffm
FileMaxSize 20M
ACL allow 127.0.0.1
ACL allow localhost
ACL allow 192.168.0.0 192.168.0.255
#launch ffmpeg -i http://192.168.1.55:6004
</Feed>

<Stream dvbstest.flv>
Feed dvbstest.ffm
Format flv
AudioBitRate 64
AudioChannels 2
AudioSampleRate 44100
AVOptionAudio flags +global_header
VideoBitRate 256
VideoBufferSize 400
VideoFrameRate 7.5
VideoBitRateTolerance 100
VideoSize 320x240
VideoGopSize 12
AudioCodec aac
VideoCodec libx264
AVOptionVideo coder 0
AVOptionVideo bf 0
AVOptionVideo flags +loop
#AVOptionVideo partitions +parti8x8+parti4x4+partp8x8+partb8x8
AVOptionVideo me_method hex
AVOptionVideo subq 7
AVOptionVideo me_range 16
AVOptionVideo g 250
AVOptionVideo keyint_min 10
AVOptionVideo sc_threshold 40
AVOptionVideo i_qfactor 0.71
AVOptionVideo b_strategy 1
AVOptionVideo qcomp 0.6
AVOptionVideo qmin 10
AVOptionVideo qmax 51
AVOptionVideo qdiff 4
AVOptionVideo refs 3
AVOptionVideo directpred 1
AVOptionVideo trellis 1
AVOptionVideo wpredp 0
AVOptionVideo flags +global_header
StartSendOnKey
</Stream>

<Stream stat.html>
Format status
ACL allow 127.0.0.1
ACL allow localhost
ACL allow 192.168.0.0 192.168.0.255
</Stream>

Ffserver start fine

Now my ffmpeg line

ffmpeg -y -f:v video4linux2 -i /dev/video0 -f:a alsa -ac 1 -i hw:1,0
-threads 2 -override_ffserver -flags +global_header -vcodec libx264 -s
320x240 -preset superfast -r 7.5 -acodec aac -ar 44100
http://192.168.0.11:8090/dvbstest.ffm

Now the output
ffmpeg version git-2013-12-24-b259704 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Dec 24 2013 00:49:47 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  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-libass --enable-libfdk-aac
--enable-libx264 --enable-nonfree --enable-x11grab
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 46.100 / 55. 46.100
  libavformat    55. 22.100 / 55. 22.100
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.100 /  4.  0.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100

*[video4linux2,v4l2 @ 0xb080d60] The device does not support the streaming
I/O method./dev/video0: Function not implemented*

Any ideas how to fix this?


More information about the ffmpeg-user mailing list