You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.
My use case is I use torrent-stream, which creates readable streams of torrent files. You can start watching video files, before they are fully transferred. I can also feed a mkv video file stream into ffmpeg to create a ASS file stream. It would be neat if libjass could support rendering the currently parsed dialogue.
I looked around and it seems like I could create my own versions of ASS.fromURL & ASS.fromStream to return the minimalAss promise instead. I didn't see if using that would work yet and the renderer was too complex to figure out for me for now.
Anyways, if libjass could support this use case that would be super. If modified ASS.fromURL & ASS.fromStream is all that's needed for it to work, I'll send a pull request.
The text was updated successfully, but these errors were encountered:
ASS.from* are simple wrappers around the corresponding Stream implementation that is then parsed to StreamParser. If you want to use StreamParser.minimalASS, you can create this construct yourself:
I haven't given convenience wrappers similar to ASS.from* for minimalASS mostly because I don't want to bake this API in yet. Basically I'm not sure I like its API design - something like a single ASS object with events "scriptInfoLoaded", "stylesLoaded", "eventsLoaded" may be better.
My use case is I use torrent-stream, which creates readable streams of torrent files. You can start watching video files, before they are fully transferred. I can also feed a mkv video file stream into ffmpeg to create a ASS file stream. It would be neat if libjass could support rendering the currently parsed dialogue.
I looked around and it seems like I could create my own versions of
ASS.fromURL
&ASS.fromStream
to return theminimalAss
promise instead. I didn't see if using that would work yet and the renderer was too complex to figure out for me for now.Anyways, if libjass could support this use case that would be super. If modified
ASS.fromURL
&ASS.fromStream
is all that's needed for it to work, I'll send a pull request.The text was updated successfully, but these errors were encountered: