[FFmpeg-devel] [PATCH] Implement an option in ffmpeg to make it print the output SDP and exit

Luca Barbato lu_zero
Thu Nov 13 09:36:13 CET 2008


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.

lu




More information about the ffmpeg-devel mailing list