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

Michael Koch astroelectronic at t-online.de
Tue Dec 6 07:54:13 EET 2022


Am 06.12.2022 um 01:10 schrieb Carl Zwanzig:
> On 12/5/2022 1:36 PM, Laine wrote:
>> If you are able to generate “chapters.txt” but observe an overabundance
>> of information in that file, you might try the options that I used to 
>> get
>> just the video title and a list of the chapters.
>
> 'grep' does wonders for pulling info out of files
>   grep '^title=' chapters.txt
>
> (return all lines that start with "title=")
> all *nix and the mac should have grep, windoze doesn't unless you 
> installed it yourself

In Windows you can pipe the console output to "findstr". In my book is 
an example in chapter 8:
http://www.astro-electronic.de/FFmpeg_Book.pdf

Michael


More information about the ffmpeg-user mailing list