[FFmpeg-user] Remove chapters when cutting a part out of a video
Cecil Westerhof
Cecil at decebal.nl
Tue Sep 6 06:18:47 EEST 2022
I need to cut a part out of a video. This video contains chapters and
I want to remove this data. I try this with:
ffmpeg -y \
-ss ${startTime} -to ${endTime} \
-i ${inputFile} \
-map_metadata -1 \
-fflags +bitexact \
-acodec copy -vcodec copy \
-avoid_negative_ts 1 \
${outputFile}
But this only removes the name of the chapters. They all become
unnamed. And the chapters are not even part of what I cut out of the
video.
What do I need to do to get a video without chapters?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
More information about the ffmpeg-user
mailing list