Cecil Westerhof via ffmpeg-user <ffmpeg-user@ffmpeg.org> writes: > 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?
Found it: ffmpeg -y \ -ss ${startTime} -to ${endTime} \ -i ${inputFile} \ -map_metadata -1 \ -map_chapters -1 \ -acodec copy -vcodec copy \ -avoid_negative_ts 1 \ ${outputFile} -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".