justdan96 / tsMuxer

tsMuxer is a transport stream muxer for remuxing/muxing elementary streams, EVO/VOB/MPG, MKV/MKA, MP4/MOV, TS, M2TS to TS to M2TS. Supported video codecs H.264/AVC, H.265/HEVC, VC-1, MPEG2. Supported audio codecs AAC, AC3 / E-AC3(DD+), DTS/ DTS-HD.
Apache License 2.0
861 stars 144 forks source link

HEVC: implement skipNal() for HEVC to skip EndOfSeq NAL #719

Closed moveman closed 1 year ago

moveman commented 1 year ago

This is to avoid EndOfSeq NAL appear at the beginning of AU when multiple video ES files join together. The implementation is similar to https://github.com/justdan96/tsMuxer/blob/master/tsMuxer/h264StreamReader.cpp#L884