Commit Graph

114 Commits

Author SHA1 Message Date
gnattu 6195e11922 Use else if just in case safari changed behavior in future 2024-08-21 04:50:18 +08: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
nyanmisaka ecd63ac635 Fix a typo in Chrome version check
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-12-27 20:12:18 +08:00
Álvaro Fernández Rojas f04d7e6af0 Enable DTS on webOS 23
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-12-13 19:07:13 +01:00
Bill Thornton 6498758b62 Merge pull request #4938 from rafma0/fix-tizen-flac
Remove FLAC Audio in Video Support for Tizen
2023-11-09 01:18:16 -05:00
Dennis de Lange a4d3ba5d67 fix: Remove h264-10bit support from Tizen
(cherry picked from commit 0ad87f3b87026ad46421e01103a6f7c005911713)
2023-11-07 11:14:48 +03:00
rafma0 0cef9ff690 add comment about the change 2023-11-05 22:41:36 -03:00
rafma0 436847b901 remove video audio flac on tizen 2023-11-03 21:07:37 -03:00
Ranbeer e6828eeee8 remove linter errors 2023-10-14 20:35:55 +05:30
Dmitry Lyzo 491055a5ba refactor: Split and extract video range support detection 2023-09-26 23:32:42 +03:00
Dmitry Lyzo 171c381768 Add HLS direct play profile 2023-09-14 00:27:55 +03:00
nyanmisaka baf1b55a0c Add fMP4 playback support (HEVC, AV1) in HLS.js
Tested codecs:
video: h264, hevc, av1 (av1 in firefox require 1.5.0)
audio: mp3, aac, ac3, eac3 (flac and opus require 1.5.0)

Tested browsers:
Chrome, Firefox, Edge Chromium, Safari and their mobile versions

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-09-01 22:43:02 +08:00
Bill Thornton f35a8151e0 Add prefer optional chaining rule 2023-07-06 13:39:48 -04:00
Dmitry Lyzo 942926058b Backport pull request #4688 from jellyfin/release-10.8.z
Disable ALAC on MacOS in non-Safari browsers

Original-merge: 6304e27940e59d41ba9de41f9f0d5da7392cffbb

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

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-07-02 02:12:45 -04:00
nyanmisaka eb15f97955 Drop progressive transcoding in web client
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-04-25 01:03:44 -04:00