[FFmpeg-user] Extract chapter names to a text file?

MyCraigs List mycraigsl at ymail.com
Sat Dec 10 13:04:11 EET 2022


 Sorry for the delay in replying.  Your suggestion worked perfectly.
Thanks,
Craig

    On Monday, December 5, 2022 at 04:37:31 AM EST, Laine <llee040 at sbcglobal.net> wrote:  
 
 On Dec 3, 2022, at 3:26 PM, MyCraigs List via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
> 
> What is the command to extract all of the chapter  names from a video and then have them saved in a text file?  I only want each  chapter name, one name per line, and nothing else.
> Thanks,
> Craig
> 

Hi Craig,

Because you didn’t get a response that I’m aware of, I’m sending one.

This might include the information you want in its output file, but you may need to otherwise process the output to format it as you described.
(Use “-y” if you don’t mind overwriting “chapters.txt”.)

ffmpeg -y -loglevel error -i input -f ffmetadata chapters.txt

L. Lee
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
  


More information about the ffmpeg-user mailing list