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

<p>Command is </p>

<pre><code>ffmpeg -i input -ss 00:00:05 -t 100 -brand mp42 -c:v copy -c:a copy output
</code></pre>

<p><a href="https://gpac.wp.mines-telecom.fr/downloads/gpac-nightly-builds/" rel="nofollow">MP4box</a> will allow you to override both.</p>

<pre><code>mp4box -brand mp42:0 file.mp4
</code></pre>

<p>If you want to change the handler name as well, use</p>

<pre><code>mp4box -brand mp42:0 -name 2="IsoMedia File Produce by Google" file.mp4
</code></pre>

<p>(2 is the track index i.e. the 2nd track)</p>

CC BY-SA 3.0
2016-08-19T07:40:00.660Z
2016-08-19T07:59:20.223Z
2016-08-19T07:59:20.223Z
Gyan
<p>I want to cut long videos into several smaller parts without changing any format and metadata from the original video.</p>

<p><a href="https://i.sstatic.net/0y23G.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/0y23G.png" alt="Original"></a></p>

<p>I used these commands</p>

<blockquote>
  <p>ffmpeg -i input -ss 00:00:05 -t 100 -c:a copy -c:v copy output</p>
  
  <p>ffmpeg -i input -ss 00:00:05 -t 100 -metadata "major_brand=mp42, minor_version=0" -c:v copy -c:a copy output</p>
  
  <p>ffmpeg -i input -ss 00:00:05 -t 100 -map_metadata 0 -c:v copy -c:a  copy output</p>
  
  <p>ffmpeg -i input -ss 00:00:05 -t 100 -map_metadata 0 -b:v 460k -c:a  copy output</p>
</blockquote>

<p><a href="https://i.sstatic.net/PKJmd.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PKJmd.png" alt="Result"></a></p>

<p>but still get different results from the original video.</p>

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

<p>Thanks</p>

CC BY-SA 3.0
2016-08-18T06:42:22.057Z
Which metadata do you wish to preserve?
Gyan
CC BY-SA 3.0
2016-08-19T07:04:14.210Z
@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
<ffmpeg><metadata>
How to cutting a video and keep all format and metadata
MiraClee
# How to cutting a video and keep all format and metadata

(Asked by: username_0 on 2016-08-18)

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

[![Original](https://i.sstatic.net/0y23G.png)](https://i.sstatic.net/0y23G.png)

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

[![Result](https://i.sstatic.net/PKJmd.png)](https://i.sstatic.net/PKJmd.png)

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 ?

Thanks

**Tags:** ffmpeg, metadata

> **Comments:**
> **username_1**: Which metadata do you wish to preserve?  
> **username_0**: @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  

---

## 1 answers

### Answer by username_1 on 2016-08-19. Score: 1 | Accepted answer

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)


---

