[vlc-devel] [RFC PATCH 1/2] packetizer: h264: also update dec extra from pf_packetize

Rémi Denis-Courmont remi at remlab.net
Wed Apr 22 11:35:14 CEST 2015


Le 2015-04-22 12:29, Francois Cartegnie a écrit :
> Le 22/04/2015 11:25, Rémi Denis-Courmont a écrit :
>> I don't think that's how it should work. Extra data should not 
>> change;
>> it is primarily intended for out-of-band codec parameters (such as 
>> SDP
>> fmtp field for RTP). Muxers and RTP stream output would not cope 
>> with
>> changing extra data, and probably not all decoders either. How would 
>> the
>> decoder even know that it needs to reread the data?
>>
>> It seems to me that you are trying to have the packetizer match bugs 
>> in
>> your decoder.

> Or the hls segments are AVCC only and the packetizer only creates 
> AnnexB
> from the i_extra and then there's no update sent on segment change.

I have no idea what you mean by that. IMHO extra data cannot change. I 
just don't see how that can reasonably be made to work in all affected 
modules.

If you want to send new parameters set(s), you can always send them 
in-band. That is to say, the demuxer can do that if it needs to update 
the parameters. The packetizer should simply pass the new parameters as 
any other data block.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list