Exporting chapters in Davinci Resolve 20.2 fails during invalid chapter start

  • Vouk 13. September 2025 um 19:59

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    Please remove the first chapter:

    Code
    2025-09-13 19:47:19 (trace)	[FFmpeg:0]     Chapter #0:0: 
    2025-09-13 19:47:19 (trace)	[FFmpeg:0] start 0.000000, 
    2025-09-13 19:47:19 (trace)	[FFmpeg:0] end 0.000000
    2025-09-13 19:47:19 (trace)	[FFmpeg:0]       Metadata:
    2025-09-13 19:47:19 (trace)	[FFmpeg:0]         title           : 
    2025-09-13 19:47:19 (trace)	[FFmpeg:0] Marker 1
  • I guess, the end time with "0" is invalid, there has to be the end of video file or the start of next chapter. But zero might be invalid.


    Example:


    Actually Voukoder sets it to:

    Einmal editiert, zuletzt von mbc (13. September 2025 um 20:22)

    • Offizieller Beitrag

    The error was:

    Code
    2025-09-13 19:47:19 (trace)    [FFmpeg:0] Invalid chapter start (126280000000) or end (0).
    2025-09-13 19:47:19 (error)    [OutputNode.cpp:201] Unable to write format header.
    2025-09-13 19:47:19 (error)    [Router.cpp:161] Open phase failed: -11

    The chapter data was:

  • This might be the problem, chapter end time is zero on every marker.


    The example on my previous post shows that there must be some value greater as, at least, the start of the actual chapter.
    End time can not be lower as it`s start time.

    I think ffmpeg does not like that.

    Einmal editiert, zuletzt von mbc (13. September 2025 um 20:23)

  • Thank you!

    Another example points it out too, end time has to be be greater as start time and as maximum the start of the next chapter or video end time.

    2 Mal editiert, zuletzt von mbc (13. September 2025 um 20:29)

    • Offizieller Beitrag

    I tested it today and it seems to be working:

    and i got this:

    Log:

    And yes, I remembered the end-times were optional.

    Can you provide me more info to generate a non-working state?

  • Thank you very much for the response.
    That is strange, I just tested it again, and it definitvely crashes only with activated chapter export.

    This is my scene, anything I have to activate there?



    Just set up a different project, only with a EBU-Colorbar as video
    The same happens, I am not able to render out with activated chapters.


    Attached log is with failed export (activated chapters) and second log ist with succeded export (deactivated chapter).

    Both are from the exact same project, just with changed inclusion of chapter marks.


    Just got the problem.

    It is about containers. You tested with MOV as output container, that works fine on my side too.
    But I get problems using Matroska, this does not work at all.

    There is the issue.
    So, I am still sure, the Matroska Muxer in ffmpeg does not like endtimes with zero values, while MOV Muxer does accept it.
    I hope you can reproduce that.