Skip to content

Feature request: Support streaming input data #89

Open
@rcombs

Description

@rcombs

This would allow for a number of additional use-cases. Basically:

  • If neither subUrl nor subContent is set, create an empty track using ass_new_track
  • Expose an API to pass in a string to call ass_process_data on (for streaming raw text)
  • Expose an API to pass in a string to call ass_process_codec_private on, and one to pass in a string + timestamp + duration to call ass_process_chunk on
    • Alternately, you could have a member in the options object called e.g. subHeader that ass_process_codec_private is called on at startup, though I don't see a reason not to allow deferring it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions