Comments (5)
@1c7 hello, I'm studying a way to implement this, but due to lack of time, I'm just going to work on this weekend
from javascriptsubtitlesoctopus.
In case you're looking how to expose more APIs from libass:
- Here is ASS_Track from libass: https://github.com/Dador/JavascriptSubtitlesOctopus/blob/master/src/subtitles-octopus-worker.c#L13
- And info about ASS_Track: https://github.com/libass/libass/blob/master/libass/ass_types.h#L176 (I guess you can use ASS_Track->events array to modify events) (info about ASS_Event and ASS_Style located in the same file)
- If you add function to file https://github.com/Dador/JavascriptSubtitlesOctopus/blob/master/src/subtitles-octopus-worker.c you can mark it as exported in file https://github.com/Dador/JavascriptSubtitlesOctopus/blob/master/Makefile#L297 and after that access it in JavaScript https://github.com/Dador/JavascriptSubtitlesOctopus/blob/master/src/pre-worker.js#L51
This is just some tips in case you want to play around with it.
Lately mostly @TFSThiagoBR98 maintains this library (thank you! π), so I think he's more suitable person to ask about new features.
from javascriptsubtitlesoctopus.
@Dador Thank you for the very detailed answer!
@TFSThiagoBR98 Would you mind taking a look at this Github issue?
I have very limited C, C++, Makefile, Web assembly knowledge,
so it would probably take me a lot of time to understand how this library works and change it.
(and then send a Pull Requests)
if @TFSThiagoBR98 can add this feature it would awesome~
(or maybe write a short guide on how this library works? so I would have a better clue where to start)
Thank you in advance
from javascriptsubtitlesoctopus.
THANK YOU!
from javascriptsubtitlesoctopus.
Thanks again!
from javascriptsubtitlesoctopus.
Related Issues (20)
- Brotli: "Uncaught Corrupted reserve bit" HOT 6
- I wish you will make a online demo HOT 1
- Feature request: Support effect in subtitles ass file HOT 1
- Drop custom brotli decompression HOT 7
- JSO never performs VSFilter colour mangling HOT 14
- JSO doesnβt nor enables users to set storage size HOT 1
- Failure to build HarfBuzz 5.3.1 with emscripten >=3.1.25 (libharfbuzz_la-hb-ft.lo) HOT 1
- HTML5 Native player Multi Track
- Resize makes subtitle disappear HOT 1
- SubtitlesOctopus Nextjs Runtime Error HOT 4
- how to use directly with CDN? HOT 6
- Failed to construct 'Worker': Script at 'https://libass.github.io/JavascriptSubtitlesOctopus/assets/js/subtitles-octopus-worker.js' cannot be accessed from origin ''. HOT 11
- How to get the bounding box of the subtitle? HOT 2
- Unable to Set Caching Policy for Remote Fonts
- There is a problem with subtitles jumping when using Arabic HOT 2
- need custom wasm url config
- The onReady function was triggered before the font had finished loading.
- If the subtitle is empty or all spaces, the rendering fails
- Inconsistency in Font Size Between Chinese and English Characters in Mixed Subtitles
- Custom Fonts are not working. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascriptsubtitlesoctopus.