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

Reading buffer overflow #639

Closed Thunderbolt8 closed 1 year ago

Thunderbolt8 commented 1 year ago

Remuxing a UHD movie from .mkv to .m2ts I keep getting this error at 99.6%:

"Reading buffer overflow. Possible container streams are not syncronized. Please, verify stream fps. File name: movie.mkv"

output window shows as specs

"tsMuxeR version git-fc36229. 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 Decoding AC3 stream (track 2): Bitrate: 640Kbps Sample Rate: 48KHz Channels: 5.1 Decoding AC3 stream (track 3): Bitrate: 640Kbps Sample Rate: 48KHz Channels: 2"

meta file:

"MUXOPT --no-pcr-on-video-pid --new-audio-pes --hdmv-descriptors --vbr --vbv-len=500 V_MPEGH/ISO/HEVC, "movie.mkv", track=1, lang=eng A_AC3, "movie.mkv", track=2, lang=deu A_AC3, "movie.mkv", track=3, lang=eng"

the movie has a bitrate of 88.5mb/s and HDR/DoVi video as well.

mediainfo:

"General Complete name : movie.mkv Format : Matroska Format version : Version 4 File size : 60.2 GiB Duration : 1 h 36 min Overall bit rate : 89.8 Mb/s Movie name : movie Encoded date : UTC 2022-01-09 20:26:33 Writing application : mkvmerge v64.0.0 ('Willows') 64-bit Writing library : libebml v1.4.2 + libmatroska v1.6.4

Video ID : 1 ID in the original source medium : 4113 (0x1011) Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5.1@High HDR format : Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible Codec ID : V_MPEGH/ISO/HEVC Duration : 1 h 36 min Bit rate : 88.5 Mb/s Width : 3 840 pixels Height : 2 160 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 (Type 2) Bit depth : 10 bits Bits/(Pixel*Frame) : 0.445 Stream size : 59.3 GiB (99%) Language : English Default : Yes Forced : No Color range : Limited Color primaries : BT.2020 Transfer characteristics : PQ Matrix coefficients : BT.2020 non-constant Mastering display color primaries : BT.2020 Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2 Original source medium : Blu-ray

Audio #1 ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 1 h 35 min Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 438 MiB (1%) Title : AC3 5.1 Language : German Service kind : Complete Main Default : Yes Forced : No

Audio #2 ID : 3 Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 1 h 36 min Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 439 MiB (1%) Title : AC3 2.0 Language : English Service kind : Complete Main Default : No Forced : No"

jcdr428 commented 1 year ago

@Thunderbolt8 please give link to download movie.mkv faulty sample.