I am using the VLC (version 3.0.18) command line in a batch file to combine multiple MP4 files but only the audio from the first of the files being combined makes it on to the combined file while the remainder is silent. It is possible that the remaining audio is being tagged on to the end of the combined file as I accidentally noticed in one test that some audio continues after the end of the video.
The size of the combined MP4 corresponds approximately to the sum of the component file sizes. The command I am using is:
Code: Select all
%VlcExe% 00667.mp4 00668.mp4 00669.mp4 00670.mp4 --sout "#gather:std{access=file,dst=Test1.mp4}" --sout-keep --play-and-exit --audio
The individual MP4 files were converted from MTS prior to the combine (I tried various codecs) and play OK individually with audio.
For the record I did try combining using the user interface but that was significantly less successful and I'd prefer to use a command line anyway.
Any advice would be greatly appreciated, thank you.