News:

--

Main Menu

How to insert/ keep chapters

Started by guju, January 06, 2019, 06:50:16 PM

Previous topic - Next topic

guju

When playing (with MPC) some of the MP4/ AVC videos have marks to indicate semantic parts (vertical lines in the timeline).
Is there a way to keep/ insert those separators with avidemux?

eumagga0x2a

I'm sorry, but chapters are not supported.

guju


guju

#3
Found out.
It's the metadata:

If one wants to avoid MB-sized GUIs its possible to insert chapters (metadata) with ffmpeg:
https://ffmpeg.org/ffmpeg-formats.html#Metadata-1

Transfer chapters works by:

ffmpeg -i INPUT -f ffmetadata FFMETADATAFILE

To get ALL the streams then:

ffmpeg -i INPUT -i FFMETADATAFILE -map_metadata 1 -vcodec copy -c:a copy -map 0 OUTPUT

However quite uncomfortable if one wants to create new chapters.