Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/jellyfin/JavascriptSubtitlesOctopus

Display Subtitles via JavaScript
https://github.com/jellyfin/JavascriptSubtitlesOctopus

Merge branch 'new/smart-blend' into new-master

Add splitted rendering (3x3 grid). This reduces memory
footprint and blending time for subtitles...

f84d813a70b85090cc1be715fdc5c0475952d4fb authored over 2 years ago by Dmitry Lyzo <[email protected]>
Fix issues found in review

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/a87c702b72a87d...

e6f1ee323c68194b0a30630b9f5f30138c52e5cf authored over 2 years ago by Vasily <[email protected]>
Stop oneshot render on dispose

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/9eac714a26d6d5...

2fd9b73de69cf452dad81a7d044851a7ddeb4c9f authored over 2 years ago by Dmitry Lyzo <[email protected]>
Implement splitting by 3x3 grid

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/efed8543c1bd60...

dda54812f3f5ca85b0f1ca6ac73880bcdfec945e authored over 2 years ago by Vasily <[email protected]>
Fix prerender cache not clearing upon track switch

Also prepare to handle resize more gracefully

Cherry-picked from: https://github.com/jellyfin/Ja...

2f9357dd090cac4a7a7aff9c6281fddfc205aa0f authored over 2 years ago by Vasily <[email protected]>
Reduce spam in logs when worker is not yet initialized

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/595d0e20e58634...

7f9e161556e2ab9dee960b1e62655f460143b118 authored over 2 years ago by Vasily <[email protected]>
Handle resize better - leave leftmost items be upon resizing

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/93f4d0f4a77f60...

4cf2b47a0f6ea2da1dfd3d43d598c9ed013679a0 authored over 2 years ago by Vasily <[email protected]>
Add option to client-facing API to drop all animations, pass it down to C++ level

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/a66e79768b00b5...

b5c2154959c7856f99bd9558a15082c7081062e6 authored over 2 years ago by Vasily <[email protected]>
Make octopus.setDropAnimations(true) mean something

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/971a9979517738...

2ed7b0016cd39709730dcd7e4daad0a077dde495 authored over 2 years ago by Vasily <[email protected]>
Change SubtitleOctopus class API - added a few methods to be used in lite mode

Also marked some methods as const

Cherry-picked from: https://github.com/jellyfin/JavascriptSubt...

e6732ddb3016cc43f35043a3804c1a5103a15d93 authored over 2 years ago by Vasily <[email protected]>
Event time findings are now proper members (but not exported yet)

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/7fc34cf5873799...

38eae79b13be28e9b5824d2e718ff5a45c0c2663 authored over 2 years ago by Vasily <[email protected]>
Reduce blinking of subs when in lite mode

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/a8d670eb0955c8...

918652604d5757a512fa113cedc223a851f93b28 authored over 2 years ago by Vasily <[email protected]>
Add detection of animated tags

part of [Less zealous logging]
Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitl...

eacc5a040a9d8e7e6becc2a6bdb46ef934fe540f authored over 2 years ago by Vasily <[email protected]>
Fix some issues caused by moving to C++ bindings

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/67947f395d9c60...

8464e8ec913eb625cf0964d552c28c706463d706 authored over 2 years ago by Vasily <[email protected]>
Use properly bound APIs

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/88d2df42553846...

190992f683adf5d55756da35f342c8a9864a6da7 authored over 2 years ago by Vasily <[email protected]>
Try fix holes in rendering

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/a1666065e4980a...

17f303d87e6c7f4cdeb2a18bd54254fcfe930cba authored over 2 years ago by Vasily <[email protected]>
Reduce logging

part of [Less zealous logging]
Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitl...

8401f88e80f1bfa74cc331eca608e098e78d1b3b authored over 2 years ago by Vasily <[email protected]>
Try to fix animations flickering

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/e1604cb133ef99...

7e7fe8ad06df42e205e2a24eb1dbc3c30d27a47e authored over 2 years ago by Vasily <[email protected]>
Expose findEventStopTimes and findNextEventStart properly

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/cea2dc9dee3d6c...

faa32d5d971f68e974c0b5d9f023b2b482c3316f authored over 2 years ago by Vasily <[email protected]>
Handle resizing more efficiently

[Handle resizing more efficiently - if video changed less than 20% keep using old size]
Cherry-p...

cc91cc4ff54bb2a326a92e10a951300774870626 authored over 2 years ago by Vasily <[email protected]>
Merge branch 'new/refactor-buffer' into new-master

Rework buffer into C++ class

569b5be7c3c9e55f613cff6f2fd8d7f4f5b3b08d authored over 2 years ago by Dmitry Lyzo <[email protected]>
Change return type of renderBlend()

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/65fbfecfce503b...

315f2950b2c3365c91d51f0ab9dfd312286ad119 authored over 2 years ago by Vasily <[email protected]>
Begin implementing render on demand

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/848a686d8ca80d...

601567c0e2dc1535b3bea735b378783370acda86 authored over 2 years ago by Vasily <[email protected]>
* Start rendering only when video size is determined (e.g. video loaded or resized)

* Add bogus events covering timeline where there is no subtitles displayed
* Fix seeking support
...

5a064049eea1640a5d295d83d97ed5443284118f authored over 2 years ago by Vasily <[email protected]>
Reset render cache when target size changes

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/5430cc9823ca45...

060903ba8be237a50474530a1d931c2481e46a3a authored over 2 years ago by Vasily <[email protected]>
Rework buffer into C++ class

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/6d3a5c731f52ea...

33f982fed52673887f3b963ccde17a52408af25a authored over 2 years ago by Vasily <[email protected]>
Trying to handle seek better

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/90910bdef6e4da...

e82c550beb5991371790b58f17a21f8bdc90f8e1 authored over 2 years ago by Vasily <[email protected]>
Add lots of debug logging, limit render fps of events

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/4e4250204dd9b9...

1e4f31310f5e5fe452e8c2ad581ecb807dc3d575 authored over 2 years ago by Vasily <[email protected]>
Bump libass to newest master

Relevant improvements:
- Fix a violation of FreeType API which caused issues
in newer FreeTy...

a89dcd446d9fae8254edd887f767de5508efd19c authored almost 3 years ago by Oneric <[email protected]>
Bump FriBidi

1829aaaf4a15b57d1cddc4a3f2fed61dfcb79416 authored almost 3 years ago by Oneric <[email protected]>
Bump expat

New releases contain documented security fixes

83afbf195be0d3a37c09db56dac78c4886a656b4 authored almost 3 years ago by Oneric <[email protected]>
editorconfig: fix syntax error

449669aec82b36684c526d6680d2df7d92fe8bf9 authored almost 3 years ago by Thiago França da Silva <[email protected]>
ci/gha: limit push events to master and ci branch

To avoid superfluous runs from PRs using branches in the main repo.

ba9b770659a52d2dce954824af4ec18c53c32273 authored almost 3 years ago by Oneric <[email protected]>
Allow to compile CPP-file alone

Serves no purposes but to quickly check
for compiler warnings and errors.

[part of] Rework buff...

c7cb74bbb7b3720e3512427f1164d2f87050829a authored almost 3 years ago by Vasily <[email protected]>
add .editorconfig

fd1dc8fb3ab5b46a9f72d3f01a8ee51ec157e326 authored almost 3 years ago by Thiago França da Silva <[email protected]>
ci/gha: add workflow to cancel previous runs

4f768a5747480aef567bf7428e3551357c7325d4 authored almost 3 years ago by Thiago França da Silva <[email protected]>
update package.json with new links

c9c0f86a5cb2ceaf24df94135b502d438b60f605 authored almost 3 years ago by Thiago França da Silva <[email protected]>
fix brotli repo url in .gitmodules

dd9927ec89af8828216444b80681ab0fdeacfc8a authored almost 3 years ago by Thiago França da Silva <[email protected]>
Merge pull request #122 from TFSThiagoBR98/fix-77

Fix Events and Styles String Mutation, closes #77

0b75fa2dbcdbc92b2159ad026123552dbee35f97 authored almost 3 years ago by Thiago França da Silva <[email protected]>
Add webidl_binder patches for future reference

3102398eeac18b49ab750c0313c3fb8f8262bad3 authored almost 3 years ago by Thiago França da Silva <[email protected]>
WebIDL: Implement Owner Extended Attribute, fix #77

Currently the ensureCache create a temporary pointer that will
transfer the value to the WASM/C ...

af1dc9ac94cc057e8f63641fcb7e0dbe1c320c54 authored almost 3 years ago by Thiago França da Silva <[email protected]>
Refactor getStyles and getEvents

Add new function fetchFromWorker with callback to allow fetch the response from worker
Add callb...

d1072f35d58be1aad5acaa53373e2f651882118f authored almost 3 years ago by Thiago França da Silva <[email protected]>
c++: distinguish errors from other logs

Errors and normal logs are normaly logged differently in js and also
displayed differently in br...

dfada30df1ab19e68671930244542dde5be55763 authored almost 3 years ago by Dmitry Lyzo <[email protected]>
c++: add missing newline in printf message

e6eee9ea7485969db8af2260f05eba4fcba676d2 authored almost 3 years ago by Dmitry Lyzo <[email protected]>
c++: prefix log messages with jso

This makes it easier to pick them out in the browser console
and is less confusing then prefixin...

882fa5aa9c078859dc911f8e281f799593950e00 authored almost 3 years ago by Oneric <[email protected]>
WebIDL: Update webidl_binder from upstream

Use as base this files:
https://github.com/emscripten-core/emscripten/blob/f36f9fcaf83db93e6a6d0...

ed8d9a5336660fe2e5929ab0dbbce282b13df973 authored almost 3 years ago by Thiago França da Silva <[email protected]>
Add option to limit canvas size

JSO struggles with complex subtitles on HiDPI canvasses,
so limiting the size can make sense if ...

5ebf13d6c0a6e76c61b07308a03118003f62f218 authored almost 3 years ago by Vasily <[email protected]>
Add options to scale canvas relative to video

JSO struggles on complex subtitles and higher resolutions,
scaling the sub-canvas down if the ca...

e9fc7c51a74467633c9d8d6486369f8e3c3b496f authored almost 3 years ago by Vasily <[email protected]>
cosmetic: mark applicable C++ methods as const

split out of
https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/d3bc4724a0ce07f7cd021...

4584ff9630f9cf01860065bd20c23bf7d338ff59 authored almost 3 years ago by Oneric <[email protected]>
readme: link only runs on master from status badge

By default the badge displays the status only for the default branch,
but we linked to all runs ...

b37b9df286c25e665f6623aa140540715bf6b575 authored almost 3 years ago by Oneric <[email protected]>
c++: name RenderBlendResult struct

The compiler complains otherwise with -Wnon-c-typedef-for-linkage

29be5f9baa51f72399efcf211753a0f9e893cec8 authored almost 3 years ago by Oneric <[email protected]>
Reject lossy renderMode if lacking createImageBitmap

Cherry-picked from
https://github.com/WeebDataHoarder/JavascriptSubtitlesOctopus/commit/2e79d26f...

db8266795d6a2969c5fc8e182f57dd1948e569d7 authored almost 3 years ago by WeebDataHoarder <[email protected]>
cosmetic: remove whitespace at end of lines

9eb8013a5014db6972df4869e0a622a41c1405e9 authored almost 3 years ago by Oneric <[email protected]>
readme: lossy should now work in Safari

As of at least WebKit/605.1.15 createImageBitmap is
also supported in WebKit based browsers like...

0f764dbda13de39da35f61d1f7c3f9579a8efa48 authored almost 3 years ago by Oneric <[email protected]>
Overwrite invalid rendermodes with default

Supposedly[1] the fallback path is called often enough
to cause performance degradation with inv...

f3d2920017f2029cecd862a1dc8d9beec568e989 authored almost 3 years ago by Oneric <[email protected]>
refactor: use switch-case to get rendermode

a5afc8319a3e222c02ae6a19298a1754a33501df authored almost 3 years ago by Oneric <[email protected]>
Change default render mode to WASM Blend

It should perform better if WASM-support is available
and otherwise be at least not worst than J...

309077a971c02c5459b041239940942a41ae1f1e authored almost 3 years ago by Oneric <[email protected]>
Set default targetFps to 24

PAL and SÉCAM's exact 25fps and NTSC's (24000/1001)fps,
which is almost 24fps, are very common f...

1f0340a359a348cf45574984471a84d54672cbf2 authored almost 3 years ago by Oneric <[email protected]>
Fix blend render returning empty result

libass may return empty images, but browsers do not allow
creation of zero-area ImageData object...

816e1049eb7efdcff81dbff549badffd08a2466c authored almost 3 years ago by Dmitry Lyzo <[email protected]>
options: unify rendermode selection into one option

To preserve backwards compatibility, the old option names
are still evaluated, but only at a low...

bd6ee91747da74ce9bd480f5b4570fc1e50483f2 authored almost 3 years ago by Oneric <[email protected]>
readme: add missing documentation for options

Fixes oversights in commits 49d86ec6734e33d9b56a75fe00ff390b04d3b424
(targetFps and libassMemory...

37ae5bc716da336ba98b7f41db7d5fa6f71e5eb8 authored almost 3 years ago by Dmitry Lyzo <[email protected]>
refactor: rename rendermode identifiers

This better matches what the modes actually do.
Currently mostly internal apart from the lossy m...

e46db581fd32eba1c62da75789bd6ab95611c5e0 authored almost 3 years ago by Oneric <[email protected]>
readme: break overly long lines

This will make future diffs easier to read.

3e02c268d9bc7987bf8743b2d447506a48644a4d authored almost 3 years ago by Oneric <[email protected]>
readme: List licensecheck dependecy

This was an omission in commit
https://github.com/libass/JavascriptSubtitlesOctopus/commit/472c7...

c7eeea072e8e86273b8b2e4273626bbacb3240f3 authored about 3 years ago by Oneric <[email protected]>
build: remove distdir targets

We do not create dist-tarballs, and calling it first sometimes causes
build failures: https://gi...

12758c4fe7ec662719f4bc85c97f080feee8b1e1 authored about 3 years ago by Oneric <[email protected]>
readme: document all render modes

9424e8f83359e7aa1881336800df61a6580be755 authored about 3 years ago by Oneric <[email protected]>
readme: add brotli to libraries

6ec2cd134c49b2ee59e53a91f498f335772c88f9 authored about 3 years ago by Oneric <[email protected]>
Fix blend render after seek

546380dde342b4ca6fe2007ed5578c9700c68dc3 authored about 3 years ago by Dmitry Lyzo <[email protected]>
Add polyfills for Brotli

77286bd1c2487ddcea3638457f7d39bed6f260a2 authored over 3 years ago by Dmitry Lyzo <[email protected]>
Move the polyfills to a separate file

4ef6bbd9d0fb4c13a1a8950aad028afd315581b4 authored over 3 years ago by Dmitry Lyzo <[email protected]>
Strip URL params when checking Brotli

e4c3a50e227be276a23fb9458b24411050c8eb9f authored over 3 years ago by Dmitry Lyzo <[email protected]>
Merge pull request #115 from libass/fix-fc-cache

Fix Fontconfig cache not working

f045d1cf7bcda011d3306b4dd350b22c80a0c4f8 authored over 3 years ago by Thiago França da Silva <[email protected]>
fontconfig: fix cache directory not created

9df6be8ee38d73d6dc60ffc50c36fbcd40ec909a authored over 3 years ago by Thiago França da Silva <[email protected]>
build: fix invalid default container name for docker

b0e1fa99712b8e2a24ba8f1c0b04423c152be052 authored over 3 years ago by Thiago França da Silva <[email protected]>
Use newer emsdk with proper webview support, tune some options

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/82822b25340c2c...

388fe02702b26e44e9ca7ed281fc93f353bc32bc authored over 3 years ago by Vasily <[email protected]>
Drop superfluous and deprecated flags

483b282086e823ec9079598b2cf29b5918c43fe7 authored over 3 years ago by Dmitry Lyzo <[email protected]>
Add more polyfills

a763ca0935dc52de27b07bf1ea5549249f485287 authored over 3 years ago by Dmitry Lyzo <[email protected]>
Add Uin8Array.slice() polyfill

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/9299074ee500ad...

1d3d8fe62bdb362c7893073fa87cb5cc140a1894 authored over 3 years ago by Vasily <[email protected]>
Remove const usage for older browsers compat

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/64445220b42d11...

209a293b5bef170cec8f42cb4d3b289060ca4fc3 authored over 3 years ago by Vasily <[email protected]>
Bump libass

libass 0.15.2 was released and with recent libass and JSO changes
our build can now correctly se...

a4725a5150e1487241e53cd37b787bbab6ecbfa4 authored over 3 years ago by Oneric <[email protected]>
build: use a VPATH build for libass

This is necessary to fix libass' sourceversion string,
since the previous copying broke the rela...

823246b25d42d5e7f030061d6a07c59f640f82ae authored over 3 years ago by Oneric <[email protected]>
Add run-buildah-build.sh script

And expand options for the docker script.
`buildah run` requires a command to be specified;
it i...

ce08cd050f517e0c8cae4ed2f17f1263ce82d19d authored over 3 years ago by Oneric <[email protected]>
Bump HarfBuzz

HarfBuzz commit 711c241f6c7e18c5403602375a733af74df76f83 removed the
previously used mutex fallb...

9d22185464c7fb8471273609b63d8c3f29fac3dd authored over 3 years ago by Thiago França da Silva <[email protected]>
Bump dependecies and update freetype remote

Everything is now using the latests upstream release, except libass and
harfbuzz whose bump is p...

0ff2e2f7137a919141eece59ea08f3eb15f86354 authored over 3 years ago by Oneric <[email protected]>
Also add seperate COPYRIGHT to npm package

Might perhaps not be strictly required, but this makes it easier to
find the copyright attributi...

ad27f1a68472b517d910332e45dc6aa4708474d2 authored over 3 years ago by Oneric <[email protected]>
Bump copyright year

1b461fa3c2e076932fd37b8c36c31dd1cec941a1 authored over 3 years ago by Oneric <[email protected]>
package.json: fix license declaration

This now lists all licenses contained in the build by SPDX-identifiers,
using regular 'NTP' for ...

dddd9060ea0fbba8a00a97203f2ae1538e6ff51b authored over 3 years ago by Oneric <[email protected]>
Add copyright acknowledgements to distributed files

This doesn't detect the dual FTL _OR_ GPL2+ licencing of freetype since
its per file HEADERs onl...

472c7fb5584ebe8e14bbad54e1147482b1d8aa79 authored over 3 years ago by Oneric <[email protected]>
Fix Makefile dependency on patches

Previously changing patchfiles did not trigger a rebuild of the
associated projects.

b4d403dd7d7833fa636652b0ce4465372db855cb authored over 3 years ago by Oneric <[email protected]>
Remove vendored unbrotli.js in favour of submodule

The existing brotli submodule already provides an almost drop-in
replacement, though in the futu...

cb692b37c42eb99d59ff35507f9e0a7ff2effca1 authored over 3 years ago by Thiago França da Silva <[email protected]>
Merge pull request #101 from cawa-93/patch-1

Removed duplicate `timeupdate` event listener

58f906bf783a6de0254330b2e79c6b585b300ac5 authored over 3 years ago by Thiago França da Silva <[email protected]>
Remove duplicate `timeupdate` event listener

fc4700d6461da54077733edc2c208b9703dad3ca authored over 3 years ago by Alex Kozack <[email protected]>
ci/gha: allow manual runs

ce46898814ede8dee0ecfb273ce0dccb106cb2cc authored over 3 years ago by Oneric <[email protected]>
ci/gha: overhaul CI file

- Pin all uses-steps to the currently newest major version of the
action, to avoid sudden brea...

c645d26fbfa2a0ce7a10ee5944814e386f425297 authored over 3 years ago by Oneric <[email protected]>
ci/gha: also run CI on patches

But restrict artificat creation to commits on master, to prevent the
possibility of someone acci...

756dac8502a2f25e4b4bb1459a2ca35d912fc0a9 authored over 3 years ago by Oneric <[email protected]>
Merge pull request #93 from TheOneric/cleanup-minor

Minor and Cosmetic Improvements

8309002ed6948ee62eec57852690f9efbcaf258f authored over 3 years ago by Thiago França da Silva <[email protected]>
readme: corrections and clarifications

Make it clear, that JSO is not an indepentend ASS-implementation; so
there are less compatabilit...

ec287de282d9f527cd6bcef8156b3d040398cd8e authored over 3 years ago by Oneric <[email protected]>
Make docker build script more portable

This works with any shell and the directory path may contain spaces.
Also, do no longer require ...

50810322468d4692a3fe0ac9b6d9c65e9b824470 authored over 3 years ago by Oneric <[email protected]>
Fix text files not ending with a newline

a3118269a850cbf218018f819790dcebc8ae4729 authored over 3 years ago by Oneric <[email protected]>
Add run-docker-build.sh script

f5323863aa353f8d1ade2b4c348cc4937148f0fb authored over 3 years ago by rcombs <[email protected]>