[FFmpeg-devel] [PATCH] Only output necessary NAL units in H.264 extradata in SDP

Luca Abeni lucabe72
Fri Apr 3 21:51:21 CEST 2009

Hi Martin,

On Fri, 2009-04-03 at 21:23 +0300, Martin Storsj? wrote:
> I found this in RFC 3984:
>        sprop-parameter-sets:
>                         This parameter MAY be used to convey
>                         any sequence and picture parameter set NAL
>                         units (herein referred to as the initial
>                         parameter set NAL units) that MUST precede any
>                         other NAL units in decoding order.  The
>                         parameter MUST NOT be used to indicate codec
>                         capability in any capability exchange
>                         procedure.
> The way I interpret this, only SPS and PPS are allowed. Am I getting this 
> right?

Uhm.. When I originally read the RFC I got the impression that other
NALs are allowed in sprop-parameter-sets. But re-reading this paragraph
now I am not sure about my original interpretation...

I suspect your patch (the variant checking for SPS and PPS types) is
correct... I'll apply it during the weekend.


More information about the ffmpeg-devel mailing list