[FFmpeg-devel] [PATCH v1] avcodec/h264_mp4toannexb_bsf: force sps/pps writing before the first pict
Jun Li
junli1026 at gmail.com
Sat Aug 17 02:05:33 EEST 2019
Hi,
This patch is trying to fix #6869.
The ticket has a h264 stream NOT starting with IDR, and all frames are I
frames.
And the mp4toannexb filter insert SPS/PPS before IDR, so leads to the
result that the output has no SPS/PPS.
The fix is just simply insert SPS/PPS before first picture, no matter what
type it is. Thanks.
Best Regards
-Jun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1-0001-avcodec-h264_mp4toannexb_bsf-force-sps-pps-writin.patch
Type: text/x-patch
Size: 3408 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190816/db90bca1/attachment.bin>
More information about the ffmpeg-devel
mailing list