Skip to content

Joining Mpeg4 multicast stream using SDP

When attempting to join an mpeg4 multicast stream using an sdp of the format :

v=0 m=video <multicast_port> RTP/AVP 96 c=IN a=rtpmap:96 MP4V-ES/90000 a=source-filter: incl IN IP4

From VLC versions prior to 2.0, video is played correctly.

For all subsequent versions, including 2.08 and nightlies, stream is joined (verified by wireshark, which shows incoming video) but no video is displayed.

Issue is detailed here:

https://forum.videolan.org/viewtopic.php?f=14&t=113188

Including debug outputs for various scenarios.

For versions 2.0 to 2.0.3 forcing ffmpeg threads to 1 seems to allow video to be played. Since that point, nothing seems to do trick, though it does change the errors given (as detailed in the thread linked to above)

Sharing multicast video itself is difficult - but can provide extra information if requested. Issue does not seem to be down to a particular video source, as I have tried a number, so should be reproducible.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information