I want to cut long videos into several smaller parts without changing any format and metadata from the original video.


I used these commands

ffmpeg -i input -ss 00:00:05 -t 100 -c:a copy -c:v copy output

ffmpeg -i input -ss 00:00:05 -t 100 -metadata "major_brand=mp42, minor_version=0" -c:v copy -c:a copy output

ffmpeg -i input -ss 00:00:05 -t 100 -map_metadata 0 -c:v copy -c:a copy output

ffmpeg -i input -ss 00:00:05 -t 100 -map_metadata 0 -b:v 460k -c:a copy output


but still get different results from the original video.

Is there another command that I can use for cutting the video with metadata results identical to the original one ?


  • Which metadata do you wish to preserve?
    – Gyan
    Aug 18, 2016 at 6:42
  • @Mulvya i want to keep Major Brand and minor brand, is that possible? and could you tell me what the meaning of handler_name :IsoMedia File Produce by Google. Thanks
    – MiraClee
    Aug 19, 2016 at 7:04

1 Answer 1


FFmpeg only allows you to alter/override the major brand, not the minor.

Command is

ffmpeg -i input -ss 00:00:05 -t 100 -brand mp42 -c:v copy -c:a copy output

MP4box will allow you to override both.

mp4box -brand mp42:0 file.mp4

If you want to change the handler name as well, use

mp4box -brand mp42:0 -name 2="IsoMedia File Produce by Google" file.mp4

(2 is the track index i.e. the 2nd track)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.