[FFmpeg-user] Which container for live streaming via multicast other than mpegts?

Ibrahim Tachijian barhom at gmail.com
Sat Feb 8 14:17:18 CET 2014


Hey,

This scenario works in ffmpeg and VLC:

ffmpeg transcode to h264/aac inside an mpegts container and output to
multicast address then playback via VLC.

Example:
ffmpeg -i inputfile.ts -map 0:1 -map 0:0 -c:v libx264 -b:v 1M -c:a
libfdk_aac -f mpegts udp://239.195.0.101:3301
VLC playback on udp://@239.195.0.101:3301


This scenario works in ffmpeg but not VLC:
ffmpeg transcode to libvpx/libvorbis inside an webm container and output to
multicast address then playback via VLC.

ffmpeg -i inputfile.ts -map 0:1 -map 0:0 -c:v libvpx -b:v 1M -c:a libvorbis
-f webm udp://239.195.0.101:3301

The main reasons I understand for the second option not to work is because
of the webm headers are only there in the beginning compared to mpegts that
keeps its headers every now and then. Can I not make the webm container not
care about seekability or where Im starting playback from ?





-- 
Ibrahim Tachijian


More information about the ffmpeg-user mailing list