Borewit
9f5f545136
Fix Ogg/Opus duration calculation.
...
Duration calculation requires to parse the entire Ogg/Opus file.
2025-11-15 19:24:15 +01:00
Borewit
eb17a5ce65
Fix peek Ogg radio streams
2025-07-19 22:14:35 +02:00
Borewit
1824cc1394
Implement handling multiple Ogg sub streams
2025-07-01 12:34:25 +02:00
Borewit
a9094e9829
Indicate on every media file if it contains an audio and/or video stream.
...
Introduces: `format.hasAudio` and `format.hasVideo`
2025-06-30 17:33:09 +02:00
Borewit
f16f584b0b
Fix code style issues
2025-06-26 20:24:05 +02:00
Justinas Delinda
7ff2786318
Refactor constructors to use explicit property assignments
2025-04-01 19:57:20 +02:00
Borewit
8fe9ac2057
Implement own custom Error using ADT style implementation
2024-08-29 17:48:28 +02:00
Borewit
3937085154
Enable TypeScript options strict & verbatimModuleSyntax
2024-08-12 08:54:43 +02:00
Borewit
89ff43a053
Migrate eslint to biome, fix lint errors
2024-08-08 19:15:49 +02:00
Borewit
d6c275509d
Remove remaining Buffer usages.
...
Add lint rule to prevent global Buffer usage.
2024-07-12 12:01:12 +02:00
Borewit
573c505a84
Prevent subpath imports, for Angular compatibility
2024-07-09 21:26:38 +02:00
Bjorn Stromberg
eb0f8e61b8
feat: convert most Buffer usage to Uint8Array ( #2103 )
...
Convert most Buffer usage to Uint8Array and `uint8array-extras` to fill functionality gaps
* Update `token-types` to version 6.0.0
* Update `strtok3` to version 7.1.0
* Update `file-type` to version 19.1.0
* Update dependency diagram to desired Node.js free via primary entry point
Co-authored-by: Borewit <Borewit@users.noreply.github.com >
2024-07-08 19:53:02 +02:00
Borewit
7cdebd1ca6
Migrate from CommonJS to ES Modules
2022-02-27 15:27:40 +01:00
Borewit
5ae7f3817d
Minor source code improvements
2021-12-10 17:50:09 +01:00
Borewit
770bbdf6a7
Fix Opus duration calculation ( #612 )
2020-09-08 20:59:00 +02:00
Borewit
5fe094e47a
Be able to calculate duration of Ogg file without last page not marked as such. ( #609 )
...
Handle duration calculation of Ogg file lacking last-page flag.
2020-09-07 21:53:13 +02:00
Borewit
9008262f77
Adapt to strtok3 v5: API changes: tokenizer.fileInfo
2019-12-30 11:05:55 +01:00
Borewit
9ba5abaf3c
Update to EndOfStream error
2019-12-24 17:17:42 +01:00
Borewit
72d7a8cfed
Update strtok3 & token-types
2019-12-23 19:37:10 +01:00
Borewit
9ba31fc797
Combine JavaScript & TypeScript folder in /lib
2019-09-07 18:30:20 +02:00