[FFmpeg-user] ffmpeg/ffserver h264 webcam streaming

Ricardo Mota ricardoflmota at gmail.com
Mon Oct 27 21:52:13 CET 2014


I'm trying to setup a h264 streaming from my webcam to the web using the
following configuration file for ffserver.


   - ffserver.conf <http://pastebin.com/ig74S0Zq>


When I feed ffserver with *fmpeg -f v4l2 -input_format rawvideo
-pixel_format yuyv422 -framerate 10 -video_size 1280x720 -i /dev/video0
http://localhost:8090/feed1.ffm <http://localhost:8090/feed1.ffm>*, i get
the following output:


   - ffmpeg output <http://pastebin.com/eE7EqQ24>


But when I try to play the stream with *ffplay *for example, I get the
following error:

*[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9d680008c0] Format mov,mp4,m4a,3gp,3g2,mj2
detected only with low score of 1, misdetection possible!*
*[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9d680008c0] moov atom not found*
*http://localhost:8090/test.mp4 <http://localhost:8090/test.mp4>: Invalid
data found when processing input*


Could you guys please help me on this?

Thank you for your attention.

-- 
Ricardo Frederico Leote Mota


More information about the ffmpeg-user mailing list