tsMuxer icon indicating copy to clipboard operation
tsMuxer copied to clipboard

Process terminates prematurely when joining mp4 files

Open oshbo opened this issue 5 years ago • 5 comments

Using tsmuxerGUI, added (add button) the first file and joined (join button) 4 additional files... each file was approximately 1GB each in size. Started the process using the Blu-ray folder option. The process started but terminated at 19.7% with a "moov atom not found" error. Based on the percent completed, it appears that the error occurred after the first file was muxed. Please advise. Here is the meta file:

MUXOPT --no-pcr-on-video-pid --new-audio-pes --blu-ray --vbr --auto-chapters=5 --vbv-len=500
V_MPEG4/ISO/AVC, "D:\tsmuxer\Source\test (1).mp4"+"D:\tsmuxer\Source\test (2).mp4"+"D:\tsmuxer\Source\test (3).mp4"+"D:\tsmuxer\Source\test (4).mp4"+"D:\tsmuxer\Source\test (5).mp4", insertSEI, contSPS, track=1, lang=und
A_AC3, "D:\tsmuxer\Source\test (1).mp4"+"D:\tsmuxer\Source\test (2).mp4"+"D:\tsmuxer\Source\test (3).mp4"+"D:\tsmuxer\Source\test (4).mp4"+"D:\tsmuxer\Source\test (5).mp4", track=2, lang=und

oshbo avatar Apr 23 '20 18:04 oshbo

Can you reproduce the issue with smaller files (~20MB each)?

justdan96 avatar Apr 28 '20 12:04 justdan96

Sure and I had the same issue with 20MB files. I attached jpgs of the input and output windows.

I went into the BD folder to look at the m2ts file and it was 9 sec in length. Each of the 20M input files were 26 sec in length so it appears that the process terminated before the first file was fully muxed.

Input Output

oshbo avatar Apr 28 '20 15:04 oshbo

Can you share those files < 20MB? We can try to reproduce the same issue.

justdan96 avatar Jun 09 '20 21:06 justdan96

I do not have the original file but I created an AVC/AC3 file with a similar size. The audio track is null so no sound but it is there. Open the attached file and make 5 additional copies. This is how I ran the original test (above). Thanks.

test20M (1).zip

oshbo avatar Jun 09 '20 23:06 oshbo

@jcdr428 Can you have a look? The error still appears with the current master, and ffmpeg doesn't throw any errors while processing this file.

lighterowl avatar Oct 06 '20 18:10 lighterowl