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

Strang BDMV and mpls #624

Open ted423 opened 2 years ago

ted423 commented 2 years ago

The BDMV name is Agatha Christie's Poirot S07 [edited]
this bdmv has two episode about e01 the m2ts is 01:47:24 the mpls is 1:43:49.222

when play the m2ts ,there are 1 minute black screen in begin and end. tsmuxer show 1:43:49.222 but extract 1:47:24 min video track(useac3to and dgdemux do same),mkvtoolnix remux direct can get 1:43:49.222 mkv(but seem the audio has some wrong ,ffmpeg show [dca @ 000001747dec8180] Residual encoded channels are present without core Error while decoding stream #0:0: Invalid argument)

I change the progress bar(show 00:05 or 00:24)when I play the m2ts,it show the begin screen(but that video track in mkv not, it has a long black screen) in vapoursynth, the video track has 1290 frame black screen in begining

e02 has same issue

here is the mpls

mpls.zip

jcdr428 commented 2 years ago

@ted423 with m2ts, the chapter information is included in the mpls. So if you read the m2ts directly and not the mpls, it will start at begining of video before start of chapter.

The solution is to enter the mpls start and end time (relative to video start time) in the "split" tab of tsMuxer.

In mkv, the chapter info is included in the mkv.

ted423 commented 2 years ago

@ted423 with m2ts, the chapter information is included in the mpls. So if you read the m2ts directly and not the mpls, it will start at begining of video before start of chapter.

The solution is to enter the mpls start and end time (relative to video start time) in the "split" tab of tsMuxer.

In mkv, the chapter info is included in the mkv.

I found dgdemux has 'strict playlist' function solve my problem.

Is there an easier way to get the cutting time?