[FFmpeg-devel] [PATCH] Implement an option in ffmpeg to make it print the output SDP and exit
Thu Nov 13 16:48:15 CET 2008
Luca Barbato wrote:
> On 13-11-2008 9:05, Stefano Sabatini wrote:
>> Forget about this last one, the syntax is wrong and I think it is
>> better to use the filename string to express that anyway, something
>> like -f sdp rtp://localhost:5004,localhost:5008/test.sdp but I need to
>> think more about it.
> I'd try an approach similar to map
> -map_sdp output_stream_id:sdp_filename
> -map_sdp 0:en.sdp -map_sdp 1:en.sdp -map_sdp 0:fr.sdp -map_sdp 2:fr.sdp
> This way you get en.sdp and fr.sdp sharing the video stream 0 and using
> their language specific audio stream 1 and 2.
Yes, I like this solution.
Anyway, whatever solution is chosen the important thing is not to break
the current libavformat API (avf_sdp_create(), and the way rtp:// URLs
More information about the ffmpeg-devel