gopro / labs

GoPro Labs
Apache License 2.0
474 stars 39 forks source link

Merge Chapters gives a DEMUXER FAILED #478

Closed gutomaia closed 1 year ago

gutomaia commented 1 year ago

I've just merged two mp4 videos recorded with GoPro MAX.

(Well, first I used the MP4 files downloaded from GoPro Cloud, then I tried using the files splitted from the gopro. Despite the extension, both files are the same, I've MD5sum then.)

Both my videos are using the default chapter size (3.7 GB), I was able to merge the file with ffmpeg with the command:

ffmpeg -y -f concat -i your_path_to/filelist.txt -c copy -map 0:0 -map 0:1 -map 0:3 -map 0:5 your_output_path/final.mp4

Then I udtacopy the data from the first mp4 file to the final video.

When I try to open the final result with the GoPro Player, I received the error:

An unexpected error has occured. Code: DEMUXER_FAILED Location: MFDemuxer.cpp:28 Message: MFCreateSourceReaderfromByteStream failed 0xc00d36e5