On Dec 5, 2022, at 6:10 PM, Carl Zwanzig <[email protected]> wrote: > > 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 > > Or use mediainfo, which allows you to easily specify what data you want and > how it's formatted. > > z! >
Thanks! And the following appears to remove “title=“ from lines generated by "grep '^title=‘ chapters.txt” alone. grep '^title=' chapters.txt | perl -pe 's/title=//s’ L. Lee _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
