Hi, I need to admit that I'm completely wrong in the end. After spending a lot of time on a patch to solve the problem (making the MPEG-2 QSV encoder compatible with broadcasts), I discovered that this solution works:
$ ffmpeg ... -c:v mpeg2_qsv -bsf:v 'dump_extra' -f mpegts ... Using this bitstream filter every GOP includes the missing sequence headers. However, one flaw persists: - The first GOP has duplicated SEQ_START_CODE and EXT_START_CODE headers. The problem is that the dump_extra filter re-injects the headers without **verifying** their existence. Until someone fixes this, I'm commenting it here for documentation. In addition, I hope that an example will be incorporated into the Documentation as a reference. In any case, thank you for pointing out the mistake! Regards. A.H. --- _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".