Open ern2150 opened 5 months ago
Used header editor to declare width and height of smaller video to match larger video.
Warning: The codec's private data does not match (lengths: 46 and 39).
in1.mkv
has the lower resolution
in2.mkv
has the higher resolution
ffmpeg -i in1.mkv -map 0 -vf "scale=WIDTHOFIN2:HEIGHTOFIN2" -bsf:v h264_mp4toannexb,dump_extra=keyframe in1-W2H2-metakeyframes.mkv
ffmpeg -i in2.mkv -map 0 -c copy -bsf:v h264_mp4toannexb,dump_extra=keyframe in2-metakeyframes.mkv
using mkvtoolnix:
concatenating two videos with the same codecs, but different resolutions and frame rates (same audio rate).
Error: The width of the two tracks is different: 1024 and 480