deank
This is output of my new demuxer:
../samples/ts2/PRINCE-01.ts: TS stream detected (packet length=188)
pid=4113 (0x1011), ch=1, id=1, type=0x1b (264), stream=0xe0, fps=25.00, len=88800ms (2217/
2281 frames) : =
79ms=>[@@@@@]
pid=4352 (0x1100), ch=1, id=2, type=0x81 (ac3), stream=0xfd, fps=31.25, len=88640ms (2770 frames) : [@@@@@]<=
239ms=
../samples/ts2/PRINCE-02.ts: TS stream detected (packet length=188)
pid=4113 (0x1011), ch=1, id=1, type=0x1b (264), stream=0xe0, fps=25.00, len=122400ms (3058/3058 frames) : =
111ms=>[@@@@@]
pid=4352 (0x1100), ch=1, id=2, type=0x81 (ac3), stream=0xfd, fps=31.25, len=122272ms (3821 frames) : [@@@@@]<=
239ms=
Video track in first clip have 2217 TS frames, but JVT NAL (h.264 ES) contain 2281 frames
Besides I see displacement of the beginning and the end of streams (blue highlight).
You can`t simple merge ES of this clips.
I try prepare correct MKV, then I will think
over TS.