I'm trying to concat m4s files into an mp4 file and this is the message ffmpeg gives:
I'm using the following command:Code:[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000012a1c0] Format mov,mp4,m4a,3gp,3g2,mj2 dete cted only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000012a1c0] moov atom not found [concat @ 0000000000120500] Impossible to open 'segment-0.mp4' segments.txt: Invalid data found when processing input
The segments.txt file looks like this:Code:ffmpeg.exe -f concat -i segments.txt video.mp4
All of the segments, txt file, and ffmpeg files are in the same directory. All of the information I found regarding that error message wasn't applicable to my situation. Any help would be appreciated.Code:file 'segment-0.mp4' file 'segment-1.m4s' file 'segment-2.m4s' file 'segment-3.m4s' file 'segment-4.m4s' file 'segment-5.m4s'
+ Reply to Thread
Results 1 to 3 of 3
-
-
Are you using an old version of ffmpeg? Are you sure "segment-0.mp4" is the correct file and not broken? Can you post the download link?
P.S.: I think you are supposed to use ffmpeg's "concat protocol" and not the "concat demuxer" but it doesn't explain the error message.
Similar Threads
-
ffmpeg: Concatenating MP4 files adding chapters for each one
By Keyser in forum Video ConversionReplies: 6Last Post: 12th May 2022, 18:19 -
Concatenating Four MP4 Files
By pone44 in forum Video ConversionReplies: 2Last Post: 9th Jun 2019, 11:14 -
ffmpeg “Non-monotonous DTS in output stream” concatenating .ts files
By Wayneos in forum Video ConversionReplies: 21Last Post: 19th Jan 2019, 16:56 -
how to Concatenating two audio (wav) files with white noise between them
By yanshof in forum AudioReplies: 5Last Post: 5th Jan 2018, 18:08 -
Concatenating/Joining/Appending MKV Files?????
By thufz in forum Video ConversionReplies: 10Last Post: 22nd May 2016, 02:31