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

2022-12-05 Thread Michael Koch
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

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

2022-12-05 Thread Dan Harkless
On 12/5/2022 4:30 PM, Carl Zwanzig wrote: On 12/5/2022 4:20 PM, Laine wrote: > > 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’ I'm not clear you you'd use perl at all when

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

2022-12-05 Thread Carl Zwanzig
On 12/5/2022 4:20 PM, Laine wrote: 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’ I'm not clear you you'd use perl at all when sed is more common for this sort of thing (sed

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

2022-12-05 Thread Laine
On Dec 5, 2022, at 6:10 PM, Carl Zwanzig 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. > >

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

2022-12-05 Thread 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

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

2022-12-05 Thread Laine
> > 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 If

Re: [FFmpeg-user] Changing scan type (progressive<->interlaced) without reencoding.

2022-12-05 Thread Bouke (Edit 'B)
It’s no problem at all. Btw, it’s very common to store progressive as interlaced, as broadcast still requires interlaced material, no matter how it is shot. From memory, just do a -c copy and you’ll end up with the source in a progressive container. Bouke > On 05 Dec 2022, at 11:56, Steinar

[FFmpeg-user] Changing scan type (progressive<->interlaced) without reencoding.

2022-12-05 Thread Steinar Apalnes
Hi, As the title says, is this at all possible? My concern is mostly with mpeg2 and h264 that have content of one type but encoded/marked as another. Most notably content that has progressive video but stored interlaced. So I'm probably talking about a bit stream filter here because just setting

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

2022-12-05 Thread Laine
On Dec 3, 2022, at 3:26 PM, MyCraigs List via ffmpeg-user 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,