Commit Graph

127 Commits

Author SHA1 Message Date
gnattu e810ec3cd9 Add audio options to workaround compatability problems 2024-09-08 22:14:19 +08:00
Bill Thornton c80e0fde0c Merge pull request #5901 from gnattu/safari-hi10p 2024-09-07 21:53:01 -04:00
nyanmisaka 5eb91ea398 Backport pull request #5983 from jellyfin-web/release-10.9.z
Fix overly strict dovi level testing

Original-merge: 2ebf0c9fe42e2d60be41f048fc586c3a11c20729

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-09-07 18:07:31 -04:00
dmitrylyzo 5e33b983a5 Backport pull request #5972 from jellyfin-web/release-10.9.z
Apply Maximum Allowed Audio Channels to DirectPlay

Original-merge: 20ea6041a76bd1d6b2eee0b2ab3c16579a172984

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-09-07 18:07:30 -04:00
gnattu 79bea95557 Limit opus support to Safari 17 2024-08-29 10:24:11 +08:00
gnattu 03eb42a8cf Reorder safari hi10p profile before normal profile 2024-08-26 00:12:37 +08:00
Bill Thornton c9105dcad4 Merge pull request #5871 from gnattu/better-safari-profile
Better codec profile for Safari  with 10.10 features
2024-08-20 17:19:28 -04:00
gnattu 6195e11922 Use else if just in case safari changed behavior in future 2024-08-21 04:50:18 +08:00
gnattu 6e0ad2ed1b Override mp3 remux container (#5914)
* Override mp3 remux container

The server generally filters out invalid containers for HLS in most cases. However, MP3 is a special case because, while it is technically possible and allowed as a codec for fMP4 on the server side, most browsers do not support it. Override the remux container to force MPEG-TS for MP3. The server will still direct play MP3 in an MP3 container. This is useful for supporting universal containers like MKA.

* Fix lint

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-17 19:20:08 -04:00
gnattu fbc9719120 Merge branch 'fork/safari-hi10p' 2024-08-10 21:01:54 +08:00
gnattu 0ed16a04b2 Add user-configurable switch for hi10p on safari 2024-08-10 21:00:48 +08:00
gnattu 66e5ce330f Fix lint
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-10 17:51:44 +08:00
gnattu 62b44d218c Add support for H264 High 10 Profile on Safari 2024-08-10 17:33:59 +08:00
RaafatAkkad fa3be557c5 Backport pull request #5669 from jellyfin-web/release-10.9.z
Force DoVi on browser.xboxOne as edgeUWP says it can't play it

Original-merge: 665678d5d7b298f3a00baaad97d62dbdca82a917

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
2024-08-05 11:14:38 -04:00
gnattu 0e985c2ffe fix lint 2024-08-04 14:18:42 +08:00
gnattu a386512def Better codec profile for Safari with 10.10 features
This uses the new VP9 remuxing and audio remuxing features to reduce transcoding on Safari, also removed some problematic direct play profiles.

- Add opus profile for Safari
- Add VP9 remuxing profile for Safari
- Remove Vorbis profile on non-webm container for Safari
- Remove direct VP9 playback in mp4 container for iOS Safari
2024-08-04 13:55:05 +08:00
GeorgeH005 a3c0fb05c3 Backport pull request #5553 from jellyfin-web/release-10.9.z
Fix Dolby Vision playback on webOS

Original-merge: 86ff77924edd868c8350be3f0376bbfa8cd11d67

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
2024-07-21 01:43:53 -04:00
gnattu bc089e6b1b Backport pull request #5662 from jellyfin-web/release-10.9.z
Mark desktop Opera as AV1 and HEVC ready in fmp4

Original-merge: 52aa8ebd49d595a97184bf745c47d685fe868155

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-05 17:03:54 -04:00
dmitrylyzo 6e32ea052d Backport pull request #5452 from jellyfin-web/release-10.9.z
Limit maximum FLAC audio channels in video to 2 on webOS

Original-merge: 9d9b69edd52872086628e853c67facc4f181b1fb

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25 11:50:34 -04:00
Dmitry Lyzo 275e18457e Add TrueHD enabling option 2024-05-05 01:36:40 +03:00
Dmitry Lyzo ce15adba69 Add DTS enabling option 2024-05-05 01:36:40 +03:00
Dmitry Lyzo 58051dcd80 Extract canPlayDts function 2024-05-05 01:36:40 +03:00
gnattu 762ea7f147 Change check order to match the comment
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2024-04-30 18:46:48 +08:00
gnattu 70c8b439b1 Disable mp3 in hls-ts for ps4 2024-04-30 17:09:21 +08:00
gnattu 13b5c071b8 relax the mp3 compatability check for mp3 in hls-ts 2024-04-30 08:25:54 +08:00
gnattu adf6530650 Add options.supportsMp3InTs to allow client override 2024-04-26 22:24:05 +08:00
gnattu 7f27baf183 Fix lint 2024-04-26 06:13:15 +08:00
gnattu 193c89802e Fix MP3 audio playback capability checking with HLS
The previous check was too naive, assuming that most browsers that support playing MP3 directly in an mp4 file can support MP3 with HLS. However, this assumption is wrong. In fact, most browsers won’t play MP3 with HLS, with Safari being the only exception. Even on Safari, MP3 support with HLS is limited to the mpegts container, and it won’t play MP3 in the fmp4 container.
2024-04-26 06:00:24 +08:00
gnattu f8b5c36fef chore: reuse enableFmp4Hls for video and audio 2024-04-09 10:40:17 +08:00
gnattu 4b054caebd chore: remove leftover comment 2024-04-08 14:03:02 +08:00
gnattu be3b321ffb fix: use correct hls containers for audio
The current container setting was set 4 years ago and does not reflect current browsers. We should prioritize using fmp4 when possible and fallback to mpegts if necessary.
2024-04-08 13:49:45 +08:00
Bond_009 0a932ee756 Limit Video Level to 4.2 in fMP4 for iOS < 13 2024-03-31 23:34:05 -04:00
George Haidos e49c66f250 Readability fixes 2024-03-24 16:35:15 +02:00
George Haidos d094d0cbb7 Styling fixes 2024-03-24 16:35:15 +02:00
George Haidos 59cae8ce2f Fix annotations 2024-03-24 16:35:15 +02:00
George Haidos e4fdd3ee94 Update browserDeviceProfile with the new Dolby Vision types 2024-03-24 16:35:15 +02:00
George Haidos 49552d0c9d Report DOVIWith{HDR10,HLG} only if dvh1 is supported as the codec tag 2024-03-24 16:35:15 +02:00
George Haidos ea63120bff Styling fixes 2024-03-24 16:35:15 +02:00
George Haidos b4f912be46 Add DoVi fallback types as per pull #10469 on main repo 2024-03-24 16:35:15 +02:00
Bill Thornton 56b9096db7 Merge pull request #5289 from nyanmisaka/enable-fmp4-hls-by-default 2024-03-22 19:03:57 -04:00
nyanmisaka 6875f28c36 Increase the minimum version of Tizen that supports native fMP4 to 5
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-19 17:43:29 +08:00
viktory36 d5c940dc84 For webOS, block DOVI on non mp4 containers 2024-03-15 04:11:39 +03:00
Nyanmisaka 4a7fc0662a Merge branch 'master' into relax-hevc-safari 2024-03-07 16:13:44 +08:00
András Maróy 1d38aa1208 Lower web0s version needed for audiotracks support 2024-03-05 16:38:18 +03:00
nyanmisaka c469211e53 Only enable webm for Safari 15 and 16
webm container is currently broken on Safari 17.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-29 01:38:11 +08:00
nyanmisaka 076a5b4e2c Enable AV1 remuxing via HLS fMP4 on Safari
AV1 should be supported by Apple devices that support hardware
acceleration. Software decoding is not yet supported on Safari.

See also https://bitmovin.com/apple-av1-support

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-29 01:38:11 +08:00
Nyanmisaka 8a52518c79 Merge branch 'master' into relax-hevc-safari 2024-02-07 22:30:52 +08:00
nyanmisaka 113c59fbdc Add stricter checks for DolbyVision in HEVC
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-07 08:41:18 -05:00
nyanmisaka c7f925a9c6 Enable client side tone-mapping on EdgeChromium 121+
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-06 01:07:47 +08:00
nyanmisaka c56ba882a6 Relax HEVC on Safari for hvc1/dvh1 direct-play
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-06 01:06:34 +08:00