Comments (2)
Judging by the compiled code loaded in your Demo, an old variant of JSO not even supporting wasm-blending is used. Also it doesn't lag for me.
I suggest, you test with a more recent (basically current git master eb0ba03) variant with the links below (same subtitles as Other ASS
in your demo):
- WASM-Blend: https://libass.github.io/JavascriptSubtitlesOctopus/brotliSubTest.html?renderMode=wasm-blend
- Lossy: https://libass.github.io/JavascriptSubtitlesOctopus/brotliSubTest.html?renderMode=lossy
If the issue only manifests with the preloaded subs from your demo, download the at the time of writing newest nightly build here (you might need to be logged into GitHub) and try it locally with this build instead of whatever is hosted by Artplayer.
If the first doesn't cause video lag for you, update the assets for Artplayer and any issues then showing up in Artplayer but not the above are likely related to Artplayer.
If only the second doesn't make the video lag (but might drop subtitle frames), I'm afraid you won't be able to get a better result right now β possibly in the future with renderAhead
and tiled blending.
If the second still makes the video (not subtitles!) lag, then your issue is unlikely to be caused by JSO.
For future reference, please be more precise, about which part, at what time and with which subtitles the lag occurs and how exactly it shows itself.
from javascriptsubtitlesoctopus.
thank you this is more fix than the previous severe lag. but still a bit lag
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.