Greetings! I am trying to stream a webcam using FFServer and I'm running into this error when I execute the command: ffmpeg -s hd720 -f video4linux2 -i /dev/video0 http://localhost:8090/feed1.ffm I get HTTP error 404 Not Found http://localhost:8090/feed1.ffm: Input/output error Visiting the status page on the machine running FFServer lists the stream and the associated feed1.ffm, so FFServer is running and bound to the port. This is on a BeagleBoard, so there's weirdness involved, but I'm not sure why.
Any suggestions as to what else I could try or how I might go about further debugging this? Thanks! ### /etc/FFServer.conf ### Port 8090 BindAddress 0.0.0.0 MaxHTTPConnections 2000 MaxClients 1000 MaxBandwidth 1000 CustomLog /var/log/ffserver.log #NoDaemon <Feed feed1.ffm> File /tmp/feed1.ffm FileMaxSize 5M </Feed> <Stream test1.mpg> Feed feed1.ffm Format mpeg AudioBitRate 32 AudioChannels 1 AudioSampleRate 44100 VideoBitRate 64 VideoBufferSize 40 VideoFrameRate 3 #VideoSize 160x128 VideoSize hd720 VideoGopSize 12 </Stream> <Stream status.html> Format status </Stream> ### END ### ### FFServer version ### mjbr...@beagleboard:~$ ffserver -version FFserver version SVN-r25825, Copyright (c) 2000-2010 the FFmpeg developers built on Nov 25 2010 11:33:54 with gcc 4.3.3 configuration: --enable-shared --enable-pthreads --disable-stripping --enable-gpl --enable-postproc --cross-prefix=arm-angstrom-linux-gnueabi- --prefix=/usr --enable-ffserver --enable-ffplay --enable-x11grab --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libvpx --arch=arm --target-os=linux --enable-cross-compile --extra-cflags='-isystem/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnue abi/usr/include -fexpensive-optimizations -fno-tree-vectorize -fomit-frame-pointer -O4 -ffast-math -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb' --extra-ldflags='-L/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/u sr/lib -Wl,-rpath-link,/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/ lib -Wl,-O1 -Wl,--hash-style=gnu' --enable-hardcoded-tables --cpu=cortex-a8 libavutil 50.33. 0 / 50.33. 0 libavcore 0.14. 0 / 0.14. 0 libavcodec 52.97. 2 / 52.97. 2 libavformat 52.86. 1 / 52.86. 1 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.64. 0 / 1.64. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 ### END ### ### ffmpeg version ### mjbr...@beagleboard:~$ ffmpeg -version FFmpeg version SVN-r25825, Copyright (c) 2000-2010 the FFmpeg developers built on Nov 25 2010 11:33:54 with gcc 4.3.3 configuration: --enable-shared --enable-pthreads --disable-stripping --enable-gpl --enable-postproc --cross-prefix=arm-angstrom-linux-gnueabi- --prefix=/usr --enable-ffserver --enable-ffplay --enable-x11grab --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libvpx --arch=arm --target-os=linux --enable-cross-compile --extra-cflags='-isystem/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnue abi/usr/include -fexpensive-optimizations -fno-tree-vectorize -fomit-frame-pointer -O4 -ffast-math -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb' --extra-ldflags='-L/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/u sr/lib -Wl,-rpath-link,/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/ lib -Wl,-O1 -Wl,--hash-style=gnu' --enable-hardcoded-tables --cpu=cortex-a8 libavutil 50.33. 0 / 50.33. 0 libavcore 0.14. 0 / 0.14. 0 libavcodec 52.97. 2 / 52.97. 2 libavformat 52.86. 1 / 52.86. 1 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.64. 0 / 1.64. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 ### END ### ### FULL COMMAND ### mjbr...@beagleboard:~$ ffmpeg -s hd720 -f video4linux2 -i /dev/video0 http://localhost:8090/feed1.ffm FFmpeg version SVN-r25825, Copyright (c) 2000-2010 the FFmpeg developers built on Nov 25 2010 11:33:54 with gcc 4.3.3 configuration: --enable-shared --enable-pthreads --disable-stripping --enable-gpl --enable-postproc --cross-prefix=arm-angstrom-linux-gnueabi- --prefix=/usr --enable-ffserver --enable-ffplay --enable-x11grab --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libvpx --arch=arm --target-os=linux --enable-cross-compile --extra-cflags='-isystem/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnue abi/usr/include -fexpensive-optimizations -fno-tree-vectorize -fomit-frame-pointer -O4 -ffast-math -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb' --extra-ldflags='-L/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/u sr/lib -Wl,-rpath-link,/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/ lib -Wl,-O1 -Wl,--hash-style=gnu' --enable-hardcoded-tables --cpu=cortex-a8 libavutil 50.33. 0 / 50.33. 0 libavcore 0.14. 0 / 0.14. 0 libavcodec 52.97. 2 / 52.97. 2 libavformat 52.86. 1 / 52.86. 1 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.64. 0 / 1.64. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [video4linux2 @ 0x29d90] Estimating duration from bitrate, this may be inaccurate Input #0, video4linux2, from '/dev/video0': Duration: N/A, start: 1291823451.360260, bitrate: N/A Stream #0.0: Video: rawvideo, yuyv422, 1280x720, 1000k tbr, 1000k tbn, 1000k tbc HTTP error 404 Not Found http://localhost:8090/feed1.ffm: Input/output error ioctl(VIDIOC_QBUF) ### END ### -- Matthew Braun mjbr...@leydenjar.com
_______________________________________________ ffserver-user mailing list ffserver-user@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user