[FFmpeg-devel] [PATCH] libavformat/qsvenc: repeat mpeg2 missing headers [v2]

Andreas HÃ¥kon andreas.hakon at protonmail.com
Tue May 28 13:48:03 EEST 2019


Hi,

This patch supersedes #13105 (https://patchwork.ffmpeg.org/patch/13105/)

A new (simpler and more robust) implementationof of the reinsertion of the
missing headers in the MPEG-2 bitstream from the HW QSV encoder.

The problem is quite simple: The bitstream generated by the MPEG-2 QSV
encoder only incorporates the SEQ_START_CODE and EXT_START_CODE
headers in the first GOP. This generates a result that is not suitable for
streaming or broadcasting.
With this patch the "mpeg2_qsv" encoder is at the same level as the
"mpeg2video", as the software implementation repeats these headers by default
in each GOP.

Regards.
A.H.

---
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-libavformat-qsvenc-repeat-mpeg2-missing-headers-v2.patch.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190528/00b12cf8/attachment.txt>


More information about the ffmpeg-devel mailing list