51 votes
Accepted

How to prevent FFmpeg from dropping metadata?

Other answers here only work with the "known" meta keys, but for custom/arbitrary meta keys, -map_metadata 0 is not sufficient to keep them all. In my transcoder project, a lot of camera ...
Jerry Tian's user avatar
23 votes

How to prevent FFmpeg from dropping metadata?

The -metadata option is for manipulating the metadata. If you just want to copy the metadata from an input file to an output file, you should use the -map_metadata option: ffmpeg -i a.MOV -...
junkyardsparkle's user avatar
15 votes
Accepted

ffmpeg: explicitly tag h.264 as bt.601, rather than leaving unspecified?

PAL and NTSC have different color primaries, so NTSC = SMPTE 170M = BT 601 525 PAL = BT 470 BG = BT 601 625 See the rows for value 5 & 6 on the table on page 387 of the active H.264 standard. ...
Gyan's user avatar
  • 32.6k
7 votes
Accepted

Why does AAC have two Sampling rates?

tracks show two different sampling rates. (...) Can anyone explain what this means? I always thought one audio track can only have one sampling rate. Is this just a different way of describing one ...
Jérôme Martinez's user avatar
7 votes

How to prevent FFmpeg from dropping metadata?

FFmpeg, by default, makes all metadata from the first input file available, to the output file muxer, for writing. -map_metadata allows to override that, by either pointing to a different input, or by ...
Gyan's user avatar
  • 32.6k
6 votes

Removing Metadata Title in mp4 files

You can try FFMpeg. There are examples showing how to strip all metadata and removing just a single item isn't much different. Try ffmpeg -i in.mp4 -metadata title= -c:v copy -c:a copy out.mp4 This ...
StarGeek's user avatar
  • 181
6 votes

How to prevent FFmpeg from dropping metadata?

I haven't found a way to have ffmpeg preserve the data. But I've found that for my needs I wanted the exif metadata and the exiftool was a convenient solution. You can copy metadata between video ...
Tully's user avatar
  • 161
3 votes
Accepted

Video metadata: What is "Video delay" used for?

Streaming formats maintain timestamps for each frame, whether audio or video, which govern when the player ought to present them. Those non-zero big start times usually occur when a snippet is cut out ...
Gyan's user avatar
  • 32.6k
2 votes

Mi Sphere 360, where is stored the gyro data?

The data are stored within the file disregarding of the .mp4 file standard. the chunk containing those per frame data starts with: #¿Ttlyd or 23C05474 6C7964in hex Each frame has 36 bytes of data, ...
Flavien Volken's user avatar
2 votes
Accepted

How do I find out about the shutter speed of frames in a video?

If the data was recorded by the camera as EXIF MetaData, Adobe Bridge would reveal the camera settings under the Metadata Panel. You may have to customize within Bridge WHICH metadata you want to look ...
McFlySoHigh's user avatar
  • 2,477
2 votes
Accepted

Why "mat2" show over 90 lines of metadata for video file

I see no need to worry about those meta data or why you should remove them. Pantry and Ingredients tags refer to asset tracking. In fact most of this data are production related and not relevant in ...
Matt's user avatar
  • 1,401
2 votes
Accepted

How can I get timecode start times and chapter names as plain text from a video which has chapter markers?

LosslessCut (GUI for ffmpeg and ffprobe, multi-platform, free) Open video file with video markers. A dialog opens: This file has embedded chapters. Do you want to import the chapters as cut-segments?...
porg's user avatar
  • 151
2 votes
Accepted

Why does ffmpeg flip upside-down the video when concatenating with -f concat?

The concat demuxer amalgamates all its inputs and presents them as a single input. It takes the properties of the first input as representing the properties of the amalgam. Since the 1st input has a ...
Gyan's user avatar
  • 32.6k
1 vote

How to copy the file name to the video metadata title?

For MP4/Mov files (not Mkv), you could use exiftool on the command line. Your command would be along these lines exiftool "-Title<Basename" /path/to/files/ This command creates backup ...
StarGeek's user avatar
  • 181
1 vote
Accepted

Filtering video and adding metadata in one step failed

Yes, the rotate tag is ignored for encoded video streams. Should be patched in git master within a couple of days.
Gyan's user avatar
  • 32.6k
1 vote

GoPro creation metadata on Google Photos different for photos and videos (timezone offset?)

Assuming that the timestamp shows the exact same value for both the images and video, then that is the source of the problem. Video timestamps in MP4/Mov files is supposed to be set to UTC. Image ...
StarGeek's user avatar
  • 181
1 vote

get metadata for video start time with ffmpeg

You can use the companion ffprobe tool, which really is meant for machine-parseable text. ffprobe -v 0 -show_entries format=start_time -of compact=p=0:nk=1 "input" This will print a value ...
Gyan's user avatar
  • 32.6k
1 vote

How can I remove ENCODE İNFORMATİON from mediainfo for H265 HEVC .mkv?

Use -x265-params log-level=0 Reference: https://x265.readthedocs.io/en/3.1/cli.html#cmdoption-log-level
Qhan's user avatar
  • 11
1 vote

How can I remove ENCODE İNFORMATİON from mediainfo for H265 HEVC .mkv?

-x265-params no-info=1 !ffmpeg -y -i http://mirrors.standaloneinstaller.com/video-sample/Panasonic_HDC_TM_700_P_50i.mkv -c:v libx265 -x265-params no-info=1 output.mp4 would generate MediaInfo as ...
xer-rex's user avatar
  • 754
1 vote

Permanent metadata for videos

Containers don't support encryption of metadata, and without encryption everyone may change what he wants (even damaging by his action the whole multimedia file). There is a possibility to make a ...
MarianD's user avatar
  • 1,494
1 vote

Removing Metadata Title in mp4 files

In Windows, you can right click on an MP4 file, ensure it's not set as read only (uncheck Read Only->apply if it's set), then click the details tab. At the bottom of the details tab there is a ...
jcanker's user avatar
  • 111
1 vote

Do I really need to keep CPI file from AVCHD container?

None of the editing tools I know of uses any files other than MTS/M2TS. Supposedly, these CPI files can be used by a Blu-ray player when it plays the content of a card - which is why the structure of ...
Rusty Core's user avatar
1 vote

Software for marking AND describing places in video

I don't know of any sports video shot logging tools designed for personal use. Most are part of MAM systems. This site compares logging tools for cinematic production, but you can extrapolate from ...
Michael Liebman's user avatar
1 vote

How to prevent FFmpeg from dropping metadata?

Looking at the ffmpeg source Which metadata is written is hard-coded. There isn't a normal way to write all metadata --- for mov, mp4, etc. Whereas I can see that a mkv file gets all its metadata. I ...
Alex TD's user avatar
  • 11
1 vote

How to prevent FFmpeg from dropping metadata?

From the comment in the answer https://superuser.com/questions/523286/how-to-make-handbrake-preserve-capture-time-creation-time/523696#comment2528176_523696 A full command line adding the option to ...
julian-alarcon's user avatar
1 vote
Accepted

How to cutting a video and keep all format and metadata

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 ...
Gyan's user avatar
  • 32.6k
1 vote

Mi Sphere 360, where is stored the gyro data?

There is a madv box in the udta atom that is not normally seen in MP4s type:'madv' parent:'udta' sz: 3145728 115 3145835 It has sufficient size for it to be a candidate. This is a dump of the first ...
Gyan's user avatar
  • 32.6k
1 vote

Why does AAC have two Sampling rates?

I suspect that your MediaInfo parser is mis-reporting. Sampling rates are usually described both in terms of frequency and bit depth. It is quite common to have 48kHz at 24 bits. I suspect that ...
Michael Tiemann's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible