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
836 stars 141 forks source link

PAT PMT should better be placed in the beginning of the TS #687

Closed moveman closed 1 year ago

moveman commented 1 year ago

Player behaves better if PAT PMT are placed in the beginning of the TS. You can try playing the video here using VLC: https://drive.google.com/drive/folders/1KWFEYB2pt7ON9xRVikciioYirlQldnqI?usp=sharing

before.ts: mux-ed output before this change after.ts: mux-ed output after this change

This pull request included some changes from the another pull request... so let's consider this pull request later.