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

Only 6978908 is working properly! new version remuxing error!! #693

Closed kirscheee closed 1 year ago

kirscheee commented 1 year ago

except 6978908

af7097b / 2aac012 / f6bb8a6, these three version, if I remuxing the bd file, i couldn't get the right time

for excemple, if I use "6978908" remuxing frome 0:20:12.341 to 0:26:32.884, I can get the file is 6 min. 20 sec.

but if I use af7097b / 2aac012 / f6bb8a6, I can't get the file with 6 min. 20 sec. this duration usually becomes shorter

I don't know why, if you have the same problem, just use the version of 6978908 it's right

jcdr428 commented 1 year ago

@moveman your commit seems to need more work. I'll have to regress to previous.

jcdr428 commented 1 year ago

@kirscheee this was due to latest commits, which have now been cancelled. Closing.

moveman commented 1 year ago

Hi @kirscheee, @jcdr428, do you have files (input, meta, and even output) for us to reproduce and debug? Thanks.

jcdr428 commented 1 year ago

@kirscheee please provide a sample of the file which created the bug, thanks.

Edit: @moveman actually the bug happens when cutting the input with --cut-start and --cut-end times. The coeff in muxerManager.cpp lines 351-375 should not be in nanoseconds anymore.

moveman commented 1 year ago

@jcdr428, I see, thanks for fixing it.