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

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


Hi Andreas (Rheinhardt) and Reimar,

Thank you for your comments. You're right and the code needs
refactoring.
I prepared a new implementation, please review it:
https://patchwork.ffmpeg.org/patch/13316/

In any case, please note that the software encoder "mpeg2video"
every time writes the SEQ_START_CODE and EXT_START_CODE in
each GOP. So this isn't and optional functionality.

Futhermore, at least as far as I know, it's impossible to
reinsert these missing headers with the dump_extra bitstream filter.

Regards.
A.H.

---



More information about the ffmpeg-devel mailing list