[FFmpeg-devel] [PATCH] mp4a-latm rtp output & dynamic payload type from URL

Luca Abeni lucabe72
Mon Oct 12 08:59:42 CEST 2009

Hi Michael,

Michael Niedermayer wrote:
> On Sat, Oct 10, 2009 at 05:56:00PM +0200, Luca Abeni wrote:
>> On Sat, 2009-10-10 at 01:25 +0200, Michael Niedermayer wrote:
>>> On Fri, Oct 09, 2009 at 09:34:58AM +0200, Luca Abeni wrote:
>>> [...]
>>>> However, I think your patch mixes too many changes together, and it should
>>>> be split in various parts. 
>>>> I am also not convinced that all the 
>>>> modifications
>>>> to avio.*, etc are really needed...
>>> that was exactly my first thought, "why that?!" more precissely
>> I think we need to find a way to pass parameters such as payload type
>> (or session ID, etc) to the muxer (other muxers might have similar
>> requirements: for example, it would be nice to be able to set the video
>> PID and the audio PID in the TS muxer, ...).
>> Does such a mechanism already exists (I do not think that adding
>> muxer-specific fields in AVFormatContext is a great idea)? If yes, can
>> you point me to it?
> muxers return packets depending on what AVDiscard (AVStream.discard) is set
> to

So, are you saying that AVDiscard can be used to set the payload type (or
the session ID, etc...)?


More information about the ffmpeg-devel mailing list