Skip to content

SCC Reader should support start_tc or similar to reverse writer offset #511

Description

@powelli

The SCC Writer supports a start_tc parameter that offsets all output timestamps by a given timecode, e.g. 01:00:00;00, to avoid negative times when events start at t=0s (see #473/#474). However, the SCC Reader has no corresponding parameter to reverse this offset when reading such files back.

Without this, reading an SCC file produced with start_tc applied means that all timestamps are shifted forward by the offset, breaking round-trips (e.g. TTML --> SCC --> TTML ) and producing incorrect output when the reader is used downstream.

Propose to add an equivalent start_tc parameter to SccReaderConfiguration that subtracts the specified timecode from all parsed timestamps, matching the inverse of the writer's behavior.

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