Skip to content

[BUG] SCC and CCD output skip the final frame number at 29.97 and 23.976 fps #2525

Backlog

Description

@Pranjul-00

tested on linux at commit 2c1c1c6 from the repo root using existing tests/samples/scc_23_976.scc sample:

ccextractor --scc-framerate 29.97 --delay 590 --out=scc tests/samples/scc_23_976.scc -o result.scc

first caption timestamp is 00:00:01:28, expecting 00:00:01:29. the writer calculates frame 29 then caps it at 28 because it truncates 29.97 to 29 before subtracting 1. At 23.976 fps same calculation caps frame 23 at 22. ccd writer uses same writer and shows same behaviour.

i have a local fix and regression test for both formats.

sample used: scc_23_976.scc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions