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. --- _______________________________________________ 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".