[FFmpeg-devel] [PATCH] Only output necessary NAL units in H.264 extradata in SDP
Fri Apr 3 18:37:36 CEST 2009
On Fri, Apr 03, 2009 at 07:25:06PM +0300, Martin Storsj? wrote:
> As noted by another user a month ago
> the SDP data generated by ffmpeg for H.264 streams doesn't work with
> QuickTime Player. I'm not sure if this is a change in recent versions of
> QuickTime or a regression in ffmpeg, though.
> QuickTime seems to dislike that the sprop-parameter-sets contains the
> version and identification output from x264 (which is a quite large chunk
> of data compared to the SPS and PPS parts). I also tested to shrink the
> amount of info output by x264 into this nal unit, but even with a minimal
> amount of data, it wouldn't play the content. Reordering the nal units (in
> x264), putting this unit as the last one, didn't help either.
> The attached patch solves this in two possible ways, please comment on
> which one you find more reasonable.
checking nal_type IMHO
but first question, what does the RFC say? is what x264 stores ok in SDP or
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel