[FFmpeg-devel] [PATCH] mp4a-latm rtp output & dynamic payload type from URL
Sergiy
piratfm
Thu Dec 17 15:45:11 CET 2009
2009/10/12 Luca Abeni <lucabe72 at email.it>:
> Hi Michael,
>> for muxing maybe AVStream.id could be usefull? but we can also add a new
>> field if its insufficient
>> Also if id is used it should be used consistently by demuxer & muxer of
>> the same container format
>
> Ok, thanks. I'll have a look at using AVStream.id for the payload type in
> the RTP muxer
Unfortunaly AVStream.id is always 0 when raw h263/amr streamed.
But AVOutputStream.file_index can be used to increase rtp dynamic type.
Here is simple patch that adds AVFormatContext.file_index and increase
payload_type for every dynamic stream.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rtp-dymamic-payload-fix.patch
Type: text/x-diff
Size: 3120 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091217/28ca6a64/attachment.patch>
More information about the ffmpeg-devel
mailing list