[FFmpeg-user] Strange problem with creating chapters

Paul B Mahol onemda at gmail.com
Sat Sep 18 02:06:59 EEST 2021


On Fri, Sep 17, 2021 at 11:39 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 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
>
>
Use less brain dead container than mp4

If works fine with .nut

-- 
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
> _______________________________________________
> 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