Reinserting edited metadata information from the FFMETADATAFILE file can be done as:

ffmpeg -i INPUT -i FFMETADATAFILE -map_metadata 1 -codec copy OUTPUT
Extracting an ffmetadata file with ffmpeg goes as follows:

ffmpeg -i INPUT -f ffmetadata FFMETADATAFILE
A ffmetadata file might look like this:

;FFMETADATA1
title=bike\\shed
;this is a comment
artist=FFmpeg troll team

[CHAPTER]
TIMEBASE=1/1000
START=0
#chapter ends at 0:01:00
END=60000
title=chapter \#1
[STREAM]
title=multi\
line

Recommend

FFMPEG ffprobe Documentation 16 Metadata

FFMPEG ffprobe Documentation 15 Demuxers 15.20 tedcaptions

FFMPEG ffprobe Documentation 15 Demuxers 15.19 sbg

FFMPEG ffprobe Documentation 15 Demuxers 15.18 rawvideo

FFMPEG ffprobe Documentation 15 Demuxers 15.15 mov/mp4/3gp 15.15.2 Audible AAX

FFMPEG ffprobe Documentation 15 Demuxers 15.11 image2 15.11.1 Examples

FFMPEG ffprobe Documentation 15 Demuxers 15.11 image2

FFMPEG ffprobe Documentation 15 Demuxers 15.9 gif

FFMPEG ffprobe Documentation 15 Demuxers 15.8 flv, live_flv, kux

FFMPEG ffprobe Documentation 15 Demuxers 15.5 concat 15.5.3 Examples

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.26 prores_metadata

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.25 pcm_rechunk

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.23 noise 13.23.1 Examples

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.22 mpeg4_unpack_bframes

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.17 mjpeg2jpeg

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.16 imxdump

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.15 hevc_mp4toannexb

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.12 h264_mp4toannexb

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.10 hapqa_extract

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.9 filter_units

FFMPEG ffprobe Documentation 13 Bitstream Filters 13.5 dump_extra

FFMPEG ffprobe Documentation 13 Bitstream Filters

FFMPEG ffprobe Documentation 8 Codec Options

FFMPEG ffprobe Documentation 7 Expression Evaluation

FFMPEG ffprobe Documentation 6 Syntax 6.3 Time duration

FFMPEG ffprobe Documentation 6 Syntax 6.2 Date

FFMPEG ffprobe Documentation 6 Syntax 6.1 Quoting and escaping 6.1.1 Examples

FFMPEG ffprobe Documentation 4 Writers 4.2 compact, csv

FFMPEG ffprobe Documentation 4 Writers 4.1 default

FFMPEG ffprobe Documentation 3 Options 3.4 Main options

FFMPEG ffprobe Documentation 3 Options 3.3 AVOptions

FFMPEG ffprobe Documentation 3 Options 3.2 Generic options

FFMPEG FFmpeg FAQ 4 Development 4.8 I’m using FFmpeg from within my C application but the linker complains about missing symbols from the libraries themselves.

FFMPEG FFmpeg FAQ 3 Usage 3.19 How do I run ffmpeg as a background task?

FFMPEG FFmpeg FAQ 3 Usage 3.18 I have a stretched video, why does scaling does not fix it?

FFMPEG FFmpeg FAQ 3 Usage 3.15 Using -f lavfi, audio becomes mono for no apparent reason.

FFMPEG FFmpeg FAQ 3 Usage 3.14 How can I concatenate video files? 3.14.4 Concatenating using raw audio and video

FFMPEG FFmpeg FAQ 3 Usage 3.14 How can I concatenate video files? 3.14.3 Concatenating using the concat protocol (file level)

FFMPEG FFmpeg FAQ 3 Usage 3.12 How can I read DirectShow files?

FFMPEG FFmpeg FAQ 3 Usage 3.3 How do I encode movie to single pictures?

FFMPEG FFmpeg FAQ 3 Usage 3.2 How do I encode single pictures into movies?

FFMPEG FFmpeg FAQ 2 Compilation 2.4 How do I use pkg-config when cross-compiling?

FFMPEG FFmpeg FAQ 2 Compilation 2.3 How do I make pkg-config find my libraries?

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.43 zmq

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.42 unix

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.41 udp 3.41.1 Examples

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.41 udp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.40 tls

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.39 tcp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.38 tee

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.37 subfile

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.35 srt

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.34 sctp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.33 sap 3.33.2 Demuxer