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
849 stars 144 forks source link

Demuxing HEVC stream from MKV results in truncated output #649

Closed FlaTechNole21 closed 1 year ago

FlaTechNole21 commented 1 year ago

Here are results from a demux I recently did with three different release versions (latest, first with issue, last without issue):

Nightly build from 2022-10-24-03-55-50: tsMuxeR version git-1d46cb6. github.com/justdan96/tsMuxer HEVC muxing fps is not set. Get fps from stream. Value: 23.976 B-pyramid level 1 detected. Shift DTS to 2 frames Processed 157426 video frames Flushing write buffer Demux complete. Demuxing time: 20 sec

Nightly build from 2022-05-25-03-00-55: tsMuxeR version git-748f442. github.com/justdan96/tsMuxer HEVC muxing fps is not set. Get fps from stream. Value: 23.976 B-pyramid level 1 detected. Shift DTS to 2 frames Processed 157426 video frames Flushing write buffer Demux complete. Demuxing time: 20 sec

Nightly build from 2022-05-16-02-41-35: tsMuxeR version git-24ae935. github.com/justdan96/tsMuxer HEVC muxing fps is not set. Get fps from stream. Value: 23.976 B-pyramid level 1 detected. Shift DTS to 2 frames Processed 157445 video frames Flushing write buffer Demux complete. Demuxing time: 20 sec

157445 frames is correct and what ffmpeg and MediaInfo report.

jcdr428 commented 1 year ago

@FlaTechNole21 Please try tomorrow's release, thanks.

Edit: or try now Linux https://github.com/justdan96/tsMuxer/suites/9125737677/artifacts/423799921 W64 https://github.com/justdan96/tsMuxer/suites/9125737673/artifacts/423799626

FlaTechNole21 commented 1 year ago

Tested the W64 version and it no longer truncates, thanks!