[FFmpeg-devel] [PATCH v3 3/5] avcodec/h264_mp4toannexb_bsf: fix missing PS before IDR frames
Zhao Zhili
quinkblack at foxmail.com
Mon Nov 20 05:09:12 EET 2023
> On Nov 18, 2023, at 01:24, Zhao Zhili <quinkblack at foxmail.com> wrote:
>
> From: Zhao Zhili <zhilizhao at tencent.com>
>
> If there is a single group of SPS/PPS before an IDR frame, but no
> SPS/PPS after that, we will miss the chance to reset
> idr_sps_seen/idr_pps_seen. No SPS/PPS are inserted afterwards.
>
> This patch saves in-band SPS/PPS and insert them before IDR frames
> when necessary.
> —
Please help upload the sample to fate h264/ directory. I have sent request
to samples-request too.
md5sum
09e56f41c2c804c3e1110bc2170aaa06 ps_prefix_first_idr.mp4

https://drive.google.com/file/d/1_jf8WmhEjiK2LKY8ZAtnCEubrHR0kJ1w/view?usp=sharing
More information about the ffmpeg-devel
mailing list