Skip to content

Video Player set caption delay #67762

@vanlooverenkoen

Description

@vanlooverenkoen

Use case

Right now it is not possible to use the video_player package a set a delay to a caption file. (if the caption is not in sync with the sound)

Proposal

https://pub.dev/packages/flutter_vlc_player
uses:

  /// [delay] - the amount of time in milliseconds which vlc subtitle should be delayed. (both positive & negative value appliable)
  Future<void> setSpuDelay(int delay);

I think for this package we should use something like this:

  void setCaptionOffset(Duration offset);

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions