[FFmpeg-devel] [PATCH] Use the SDP generator in ffmpeg and ffserver
Luca Abeni
lucabe72
Fri Aug 10 11:14:48 CEST 2007
Hi all,
here are two patches for using the SDP generator in ffserver and ffmpeg.
The first patch removes the code for SDP generation from ffserver (using
avf_sdp_create() to generate the SDP), and should not introduce any
functional change in ffserver.
The second patch modifies ffmpeg to print an SDP to stdout when all the
outputs are on RTP. It can be tested by using something like
ffmpeg -re -i test.avi -vcodec copy -an -f rtp
rtp://224.10.10.10:10000?multicast=1 -vn -acodec copy -f rtp
rtp://224.10.10.10:20000?multicast=1 -newaudio
The streams can be received by using the SDP printed to stdout (tested
with vlc, and works without problems).
Is the behaviour of ffmpeg_use_sdp_generator.diff ok? (would it be
better to introduce a new command line option for generating an SDP?
Would it be useful to generate an SDP even if the output is not RTP?
...) I implemented the behaviour that is more useful to me, but if
anyone has suggestions I'll happily modify the patch.
Thanks,
Luca
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffserver_use_sdp_generator.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070810/6340816f/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg_use_sdp_generator.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070810/6340816f/attachment.asc>
More information about the ffmpeg-devel
mailing list