[FFmpeg-user] Strange problem with creating chapters
Cecil Westerhof
Cecil at decebal.nl
Sat Sep 18 00:39:02 EEST 2021
Paul B Mahol <onemda at gmail.com> writes:
> On Fri, Sep 17, 2021 at 11:07 PM Cecil Westerhof via ffmpeg-user <
> ffmpeg-user at ffmpeg.org> wrote:
>
>> Paul B Mahol <onemda at gmail.com> writes:
>>
>> > On Fri, Sep 17, 2021 at 10:33 PM Cecil Westerhof via ffmpeg-user <
>> > ffmpeg-user at ffmpeg.org> wrote:
>> >
>> >> Paul B Mahol <onemda at gmail.com> writes:
>> >>
>> >> > On Fri, Sep 17, 2021 at 9:34 PM Cecil Westerhof via ffmpeg-user <
>> >> > ffmpeg-user at ffmpeg.org> wrote:
>> >> >
>> >> >> Cecil Westerhof via ffmpeg-user <ffmpeg-user at ffmpeg.org> writes:
>> >> >>
>> >> >> When I put before the first chapter:
>> >> >> [CHAPTER]
>> >> >> TIMEBASE=1/1
>> >> >> START=1
>> >> >> END=2
>> >> >> title=
>> >> >>
>> >> >>
>> >> > I think chapter metadata needs own command line option to work
>> correctly.
>> >>
>> >> What do you mean?
>> >> All chapters are correct, except the first one.
>> >>
>> >> Tried -map_chapters option?
>>
>> I used '-map_metadata 1'.
>> I can try -map_chapters, but if I would be using the wrong option, I
>> would expect everything to go wrong and not only the first chapter.
>>
>> I tried it, but it is just the same problem.
>> It looks like ffmpeg wants the first chapter to start at 0 and that
>> chapters need to be connected. (Chapter n ends where n + 1 starts. But
>> why do I have to enter the end of a chapter then?)
>>
>
> What exactly you tried?
What you suggested:
ffmpeg -i 09-Improvisaties.mp4 -i evaluaties.txt -map_chapters 1 -codec copy 09-Improvisati
esMetHoofdstukken.mp4
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
More information about the ffmpeg-user
mailing list