[FFmpeg-devel] [PATCH] h264_mp4toannexb_bsf: always set idr_sps_pps_seen when SPS/PPS is seen.

Benoit Fouet benoit.fouet at free.fr
Tue Sep 30 11:15:06 CEST 2014


Hi,

----- Mail original -----
> On Tue, Sep 30, 2014 at 09:45:47AM +0200, Benoit Fouet wrote:
> > Hi,
> > 
> > ----- Mail original -----
> > > On Mon, Sep 29, 2014 at 03:31:36PM +0200, Benoit Fouet wrote:
> > >
> > 
> > [...]
> > 
> > > does this ensure that the sps is before the pps ?
> > > if not that might be the reason for the warnings
> > > 
> > 
> > It does not. I can update this so that when the pps is seen and not
> > the sps, it prepends the sps to the pps.
> 
> please do, sps should be before the pps
> 

Done, new patch attached.
Also, it would be cool if someone had a sample with only SPS in the stream, to check that the copy of PPS from AVCC works fine too.

-- 
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-h264_mp4toannexb_bsf-add-a-case-when-only-SP.patch
Type: text/x-patch
Size: 6235 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140930/4aec9ce1/attachment.bin>


More information about the ffmpeg-devel mailing list