I need to show in a web browser (Chrome) a live RTMP stream. The only solution I see is to use ffmpeg/ffserver, here is my ffserver conf:
—— HTTPPort 8090 HTTPBindAddress 0.0.0.0 <Feed feed1.ffm> File /tmp/feed1.ffm FileMaxSize 512M ACL allow localhost ACL allow 192.168.0.0 192.168.255.255 </Feed> <Stream stream.webm> Feed feed1.ffm Format webm VideoCodec libvpx VideoFrameRate 25 VideoSize 640x360 StartSendOnKey # NoAudio </Stream> —— I have no error when starting ffserver, then I start ffmpeg with the following command: ./ffmpeg -i rtmp://rtmp.infomaniak.ch/livecast/rougetv -r 25 -s 640x360 -vcodec copy -an -strict -2 http://localhost:8090/feed1.ffm. Finally, I try to play the stream ‘http://localhost:8090/stream.webm' from VLC player for testing purpose but that does not work and ffserver outputs the following: [webm @ 0x7fba6b009350] Codec for stream 0 does not use global headers but container format requires global headers [webm @ 0x7fba6b009350] Codec for stream 1 does not use global headers but container format requires global headers [webm @ 0x7fba6b009350] Extradata corrupt. What am I missing? Jonathan ROY - Software Engineer 1 rue des Frères Lumière - BP 78002 - Parc d'Activités d'Eckbolsheim - 67038 Strasbourg Cedex 2 - France Tel :+33 (0)3 88 21 00 00 | Fax : +33 (0)3 88 75 62 42 www.caldera.com <http://www.caldera.com/> Discover our new digital signage solution : www.variabledisplay.com <http://www.variabledisplay.com/> _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
