Skip to content

It doesn't calculate timing well (solution explained) #1

@MarioMey

Description

@MarioMey

When using "Subtitles" - "Import" in VSE, all strips are incorrectly located in time. The problem is that

370        start_frame = int(start * scene.render.fps)

... should be:

370        start_frame = int(start * scene.render.fps / scene.render.fps_base)

... because "some standards require a more precise frame rate" (from Blender Manual) and it also uses .fps_base to calculate final framerate. If .fps_base is not 1, then it has to be divided by this value.

For example, the file that I'm working on, has FPS 3 and BASE 0.1 (more precisely by code: 0.10000000149011612). So, imagine what the addon does with all the subtitles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions