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

Luca Abeni lucabe72
Fri Apr 3 21:36:09 CEST 2009


Hi Martin,

On Fri, 2009-04-03 at 19:25 +0300, Martin Storsj? wrote:
> Hi,
> 
> As noted by another user a month ago 
> (https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-March/064219.html), 
> 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

Thanks for investigating this.
I am not sure, but I suspect this QT player behaviour might be a bug...
If I remember the RFC correctly, sprop-parameter-sets can contain
additional NALs respect to SPS and PPS... No?

If this is the case, I wold not modify the SDP generator only for making
QT player happy (the extradata can be filtered before invoking
avf_sdp_create()).


			Thanks,
				Luca




More information about the ffmpeg-devel mailing list