Hi,
I am taking several mp4 clips and trying to merge them into one mp4 using Losslesscut. However, a handful of the files have slightly different metadata and won't merge together. Is there a way to match the metadata between files?
Below is a copy from Losslesscut of the mismatches. I'm unsure if this occurs because the files are comprised of 2 two tracks (audio/video) and they are reversed between the two files? Any help would be greatly appreciated.
Mismatches detected
Track 1 mismatch: codec_name aac != h264
Track 1 mismatch: width none != 1920
Track 1 mismatch: height none != 1080
Track 1 mismatch: pix_fmt none != yuv420p
Track 1 mismatch: level none != 40
Track 1 mismatch: profile LC != High
Track 1 mismatch: sample_fmt fltp != none
Track 1 mismatch: r_frame_rate 0/0 != 30/1
Track 1 mismatch: time_base 1/44100 != 1/90000
Track 2 mismatch: codec_name h264 != aac
Track 2 mismatch: width 1920 != none
Track 2 mismatch: height 1080 != none
Track 2 mismatch: pix_fmt yuv420p != none
Track 2 mismatch: level 40 != none
Track 2 mismatch: profile High != LC
Track 2 mismatch: sample_fmt none != fltp
Track 2 mismatch: r_frame_rate 30000/1001 != 0/0
Track 2 mismatch: time_base 1/90000 != 1/44100
Thanks in advance
+ Reply to Thread
Results 1 to 7 of 7
-
-
Every time your issue has been posted in the past, the answer proved elusive and the files had to be re-encoded in the end
to achieve the join.
If you like, you can post some samples and somebody will take a look -
It looks like the stream order in one/more of the mp4 files is different (e.g. video=1, audio=0, instead of video=0, audio=1).
-
@ awbowden
you could use LosslessCut to re-order the tracks, or clever FFmpeg-GUI. -
Last edited by awbowden; 28th Feb 2025 at 08:04.
-
-
I'm not very savvy at any of this...
I used handbrake to batch re-encode my clips. Then merged them in Losslesscut. It did pop up a few errors still but only about framerate being slightly different. The merged video works! Thanks for the assistance folks!
Similar Threads
-
Copying Adobe Premiere XMP Metadata from one MP4 file to another in place?
By seanmcnally in forum Video ConversionReplies: 3Last Post: 19th Feb 2025, 18:02 -
ffmpg MTS to MP4 - no metadata :(
By fabrizio.medici in forum Video ConversionReplies: 5Last Post: 19th Aug 2024, 13:23 -
Strange metadata on videoredo exported mp4 that prevent upload on Twitter
By origliante in forum Newbie / General discussionsReplies: 3Last Post: 12th Feb 2023, 05:42 -
ffmpeg: Remove any dimension -aspect -noautorotate from MP4 Video metadata
By Tom4 in forum EditingReplies: 0Last Post: 10th May 2022, 18:20 -
No Metadata in MP4?
By mlitty in forum Video ConversionReplies: 7Last Post: 28th Mar 2021, 04:46