[FFmpeg-devel] [PATCH 0/1] avformat/mpegts: fix first NAL start code splited in two different packets

Nicolas Gaullier nicolas.gaullier at cji.paris
Tue Feb 20 18:58:13 EET 2024


>> Personally, I have not found a better solution as an mpegts fix, but if anyone has a better code, of course my version can be dropped.
>> (I have not looked for a possible fix in the upper ffmpeg demux/parser layers, but it would be certainly even more ugly, if possible at all).
>
>I don't quite see why this can't be the job of the parser. After all, that is what is codec specific, and that is what usually splits unaligned packets... Could you please elaborate on that?
>
>Thanks,
>Marton

So here it is, I digged in the demux/parsers layers and come to a new patch as you may have noticed:
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=10843

Nicolas


More information about the ffmpeg-devel mailing list