Commit Graph

58 Commits

Author SHA1 Message Date
Oliver Marriott d9355ac3aa Force AAC transcode when streaming mka+opus to desktop client
Matroska audio containers (aka mka files) with Opus codec streams inside
were unplayable on the desktop client because hls.js was unable to
decode the stream, resulting in an infinitely "spinning" play button.

When configuring a stream, we now check for the opus codec and force AAC
transcoding.

Matroska containers support other codecs besides Opus, eg: mp3, which do
not require transcoding and work fine before this patch, which is why we
check for opus in codecsToForceAAC instead of AudioMimeType.MKA in
mimeTypesToForceAAC.

The AudioMimeType.OPUS mimetype is already marked as requiring
transcoding but since its inside a container this check does not
evaluate to true, we must check the codec explicitly.
2026-03-11 00:35:12 +11:00
advplyr 763d8810e3 Update Stream ac3/eac3 check 2025-11-08 17:08:43 -06:00
Finn Dittmar 3316505d1c Really makes sure nothing can break 2025-11-07 19:12:38 +01:00
Finn Dittmar 2cf6e8a5fe Support eac3 2025-11-07 19:02:32 +01:00
laxandrea 2cc6e56bd1 remove token from hls url
- following PR #4263
2025-08-19 15:29:49 +02:00
advplyr 5d1a17ffa8 Merge pull request #3794 from mikiher/fix-stream-ffmpeg-add-option
Fix ffmpeg.addOption for transcoding
2025-01-04 16:01:56 -06:00
mikiher 43d8d9b286 Fix ffmpeg.addOption for transcoding 2025-01-04 20:16:48 +02:00
advplyr c251f1899d Update PlaybackSession to use new library item model 2025-01-03 11:16:03 -06:00
advplyr 1e6dd0e3e0 Add jsdocs for Ffmpeg and tools controller 2024-07-31 17:32:51 -05:00
advplyr 1b2cf50633 Fix:Catch error with transcodes writing concat file & do not fallback to AAC encode if error message is a failure to find include file 2024-04-27 16:41:57 -05:00
advplyr 0f7c99d989 Fix:Retry transcode forcing AAC to handle the bad audible m4bs #2720 2024-04-15 15:14:30 -05:00
advplyr dcdd4bb20b Update:HLS router request validation, smooth out transcode reset logic 2023-10-14 12:50:48 -05:00
advplyr 7c9631c1b0 Update server/objects/Stream.js 2023-10-02 08:34:56 -05:00
Alistair1231 4352989242 update comment to include second issue that is adressed by change 2023-10-02 09:30:57 +02:00
Alistair Bahr 73bb73a04a make force transcode apply to all "ffmpeg error 1" 2023-10-02 09:25:34 +02:00
advplyr 5dc4606657 Add:Support for CAF audio files 2023-06-05 16:23:40 -05:00
advplyr 15aaf2863c Add:OPML Export #1260 2023-05-28 15:10:34 -05:00
advplyr 146093d81e Add:Support for .awb AMR-WB audio file #1565 2023-03-17 16:52:07 -05:00
advplyr ff10287d05 Fix:Force AAC when transcoding ALAC audio file streams #1372 2023-01-07 15:58:57 -06:00
advplyr e2af33e136 Update:Refactor socket connection management into SocketAuthority 2022-11-24 15:53:58 -06:00
advplyr f55559e9a3 Add:Support for webm and webma audio files #1079 2022-10-20 17:24:51 -05:00
advplyr b61ecefce4 Remove fluent-ffmpeg dependency 2022-07-06 17:38:19 -05:00
advplyr d0af1c3c9a Remove fs-extra dependency 2022-07-05 19:53:01 -05:00
advplyr 5d305c96ad Add support for WMA and AIFF audio files #449, add remove orphan streams, clean up audio mime type logic 2022-04-16 12:37:10 -05:00
advplyr 0e665e2091 Add playing podcast episodes, episode progress, podcast page, podcast home page shelves 2022-03-26 17:41:26 -05:00
advplyr 3150822117 New data model removing media entity for books 2022-03-26 11:59:34 -05:00
advplyr 099ae7c776 New data model play media entity, PlaybackSessionManager 2022-03-17 19:10:47 -05:00
advplyr 68b13ae45f New data model migration for users, bookmarks and playback sessions 2022-03-15 18:57:15 -05:00
advplyr 65df377a49 New model update audio player, stream, collections 2022-03-12 19:59:35 -06:00
advplyr 89f498f31a Add:Chromecast support in experimental #367, Change:Audio player model for direct play 2022-02-22 17:33:55 -06:00
advplyr 6683301106 Fix:FLAC files use mpegts segment type and force AAC transcode 2022-02-06 17:31:04 -06:00
advplyr 49fcaefd01 Fix:Open stream update with full audiobook object #255 2021-12-25 07:22:46 -06:00
advplyr 1b03af4041 Add:Api route to sync stream data for use in android native 2021-12-19 18:45:56 -06:00
advplyr 9423727f89 Fix:Size and duration sort 2021-12-03 18:30:51 -06:00
advplyr bf11d266dc New scanner updates with library scan data 2021-11-24 20:15:50 -06:00
advplyr 41f05f7a7b Fix: iOS mobile audio stream support #180 2021-11-16 17:37:49 -06:00
advplyr 72f9732b67 Fix: book id length & check duplicate ids, Change: library to lazy load book cards 2021-11-15 20:09:42 -06:00
advplyr ac72ec1317 Fix: temp fix for aac codec error by forcing aac encode #172, Change: Failed streams will close the stream and show error 2021-11-13 15:24:56 -06:00
advplyr 91e44bc2f9 Add: User listening sessions and user listening stats #167 2021-11-12 19:43:16 -06:00
advplyr 663d02e9fe Add: api endpoint for starting streams for android auto support 2021-11-11 08:39:21 -06:00
advplyr bf0893d759 Add: Experimental collections add/remove & db #151 2021-11-05 20:24:02 -05:00
advplyr 4dd9f779e2 Fix check user audiobook data exists when getting last update 2021-10-26 16:52:45 -05:00
svd 580b961c4a log modify 2021-10-26 11:36:23 +08:00
svd 8ffb4f88c9 transcoding maxSeekBackTime more; json add lastUpdate 2021-10-26 09:38:09 +08:00
advplyr 335bbac81d Add: Filter and side rail button to show books with issues #132, Add: realtime updates for audiobook progress 2021-10-24 15:53:51 -05:00
advplyr 874c910e24 Fix: hotkeys prevent default browser behavior #135, Fix: mark audiobook as read when less than 10s remaining 2021-10-24 14:02:49 -05:00
advplyr ed80e15b7d Fix: stream to use actual timestamp, update start time to tenth of second string #116 2021-10-24 11:32:52 -05:00
advplyr 97a065030e Change: ffmpeg stream avoid negative timestamp #116 2021-10-23 13:42:07 -05:00
advplyr ee1dc92898 Fix: hls fmp4 init.mp4 filename to stream flac files 2021-10-23 10:57:01 -05:00
advplyr bd336345ee Support for opus audio type, experimental features toggle, epub reader starting point 2021-10-02 13:50:39 -05:00