[FFmpeg-devel] [PATCH] sdp: Emit only one c= line for multiple streams, if they have the same destination

Martin Storsjö martin
Tue Oct 5 15:52:08 CEST 2010

On Tue, 5 Oct 2010, Luca Abeni wrote:

> I'll have a look at this patch later (or tomorrow). Can you provide an
> ffmpeg command line generating an SDP that vlc cannot read?
> (I never managed to produce such SDPs, and I use ffmpeg to stream
> sessions with multiple streams almost dayly).

Hmm, yes, when storing the SDP to a file and playing it from there, it 
seems to work ok.

In my case, I'm sending the SDP over SAP (RFC 2974), and in that case, VLC 
refuses to play it unless there's only one c= line.

I'm building an integrated SAP muxer - this was one of the cleanup commits 
I had to do to prepare for it. Once I post that one, you should be able to 
test it out as a whole :-)

// Martin

More information about the ffmpeg-devel mailing list