[Issue]: video transcoding occurring when only audio needs transcoding. disabling video transcoding causes remuxed unsupported audio to play #4136

Closed
opened 2026-02-07 00:28:11 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @alchemyyy on GitHub (Aug 23, 2022).

Please describe your bug

==============

I'm playing back HEVC with DTS audio in a build of chromium that supports HEVC. I have found that in 10.8.4 there still seems to be the bug where video will be transcoded even if audio is the only thing requiring transcoding. I have also found that attempting the workaround of disabling video transcoding for my user's settings, jellyfin will then attempt to directly stream vis remuxing, both video and the unsupported audio.

Issues I believe are related:
https://github.com/jellyfin/jellyfin/issues/6640
https://github.com/jellyfin/jellyfin/issues/7272
https://github.com/jellyfin/jellyfin/issues/7593
https://github.com/jellyfin/jellyfin/pull/8078

Steps to reproduce:

  1. play a file with HEVC video and DTS audio on a build of Chromium that supports HEVC.
  2. disable video transcoding under user settings and play the video again.
General
Unique ID                                : 52422950985886211983259659046495237591 (0x27704B091AF6B3F039AC323E89ECB5D7)
Complete name                            : Z:\Video\Movies\Harry Potter and the Sorcerer's Stone.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 80.6 GiB
Duration                                 : 2 h 32 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 75.7 Mb/s
Movie name                               : Harry.Potter.and.the.Sorcerers.Stone.2001.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT
Encoded date                             : UTC 2017-12-27 11:37:20
Writing application                      : mkvmerge v19.0.0 ('Brave Captain') 64-bit
Writing library                          : libebml v1.3.5 + libmatroska v1.4.8
Cover                                    : Yes
Attachments                              : FrontCover.jpg

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 32 min
Bit rate                                 : 60.7 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.305
Stream size                              : 64.6 GiB (80%)
Title                                    : Harry.Potter.and.the.Sorcerers.Stone.2001.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT
Writing library                          : ATEME Titan File 3.8.3 (4.8.3.0)        
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 552 cd/m2
Maximum Frame-Average Light Level        : 190 cd/m2

Audio #1
ID                                       : 2
Format                                   : DTS XLL X
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 2 h 32 min
Bit rate mode                            : Variable
Bit rate                                 : 4 342 kb/s
Channel(s)                               : 8 channels
Channel(s)_Original                      : Object Based
ChannelLayout_Original                   : Object Based
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.62 GiB (6%)
Title                                    : Harry.Potter.and.the.Sorcerers.Stone.2001.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT
Language                                 : English
Default                                  : Yes
Forced                                   : No

Jellyfin Version

Other

if other:

10.8.4

Environment

- OS: Debian
- Virtualization: None
- Clients: Browser
- Browser: Chrome 104 & Chromium 104
- FFmpeg Version: 5.1-Jellyfin
- Playback Method: Remux, Transcode
- Hardware Acceleration: NVENC
- Plugins: None
- Reverse Proxy: Caddy
- Base URL: None
- Networking: NAT
- Storage: local SMB

Jellyfin logs

No response

FFmpeg logs

Transcoding Log: https://pastebin.com/H3bB0Haa

Remuxing Log: https://pastebin.com/yDPBT01p

Please attach any browser or client logs here

No response

Please attach any screenshots here

image
image

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @alchemyyy on GitHub (Aug 23, 2022). ### Please describe your bug ============== I'm playing back HEVC with DTS audio in a build of chromium that supports HEVC. I have found that in 10.8.4 there still seems to be the bug where video will be transcoded even if audio is the only thing requiring transcoding. I have also found that attempting the workaround of disabling video transcoding for my user's settings, jellyfin will then attempt to directly stream vis remuxing, both video and the unsupported audio. Issues I believe are related: https://github.com/jellyfin/jellyfin/issues/6640 https://github.com/jellyfin/jellyfin/issues/7272 https://github.com/jellyfin/jellyfin/issues/7593 https://github.com/jellyfin/jellyfin/pull/8078 Steps to reproduce: 1. play a file with HEVC video and DTS audio on a build of Chromium that supports HEVC. 2. disable video transcoding under user settings and play the video again. ``` General Unique ID : 52422950985886211983259659046495237591 (0x27704B091AF6B3F039AC323E89ECB5D7) Complete name : Z:\Video\Movies\Harry Potter and the Sorcerer's Stone.mkv Format : Matroska Format version : Version 4 File size : 80.6 GiB Duration : 2 h 32 min Overall bit rate mode : Variable Overall bit rate : 75.7 Mb/s Movie name : Harry.Potter.and.the.Sorcerers.Stone.2001.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT Encoded date : UTC 2017-12-27 11:37:20 Writing application : mkvmerge v19.0.0 ('Brave Captain') 64-bit Writing library : libebml v1.3.5 + libmatroska v1.4.8 Cover : Yes Attachments : FrontCover.jpg Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5.1@High HDR format : SMPTE ST 2086, HDR10 compatible Codec ID : V_MPEGH/ISO/HEVC Duration : 2 h 32 min Bit rate : 60.7 Mb/s Width : 3 840 pixels Height : 2 160 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 (Type 2) Bit depth : 10 bits Bits/(Pixel*Frame) : 0.305 Stream size : 64.6 GiB (80%) Title : Harry.Potter.and.the.Sorcerers.Stone.2001.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT Writing library : ATEME Titan File 3.8.3 (4.8.3.0) Default : Yes Forced : No Color range : Limited Color primaries : BT.2020 Transfer characteristics : PQ Matrix coefficients : BT.2020 non-constant Mastering display color primaries : Display P3 Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2 Maximum Content Light Level : 552 cd/m2 Maximum Frame-Average Light Level : 190 cd/m2 Audio #1 ID : 2 Format : DTS XLL X Format/Info : Digital Theater Systems Commercial name : DTS-HD Master Audio Codec ID : A_DTS Duration : 2 h 32 min Bit rate mode : Variable Bit rate : 4 342 kb/s Channel(s) : 8 channels Channel(s)_Original : Object Based ChannelLayout_Original : Object Based Sampling rate : 48.0 kHz Frame rate : 93.750 FPS (512 SPF) Bit depth : 24 bits Stream size : 4.62 GiB (6%) Title : Harry.Potter.and.the.Sorcerers.Stone.2001.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT Language : English Default : Yes Forced : No ``` ### Jellyfin Version Other ### if other: 10.8.4 ### Environment ```markdown - OS: Debian - Virtualization: None - Clients: Browser - Browser: Chrome 104 & Chromium 104 - FFmpeg Version: 5.1-Jellyfin - Playback Method: Remux, Transcode - Hardware Acceleration: NVENC - Plugins: None - Reverse Proxy: Caddy - Base URL: None - Networking: NAT - Storage: local SMB ``` ### Jellyfin logs _No response_ ### FFmpeg logs ```shell Transcoding Log: https://pastebin.com/H3bB0Haa Remuxing Log: https://pastebin.com/yDPBT01p ``` ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here ![image](https://user-images.githubusercontent.com/60306510/186059540-e9b6946f-fdec-4804-9f66-d6b089511cf2.png) ![image](https://user-images.githubusercontent.com/60306510/186060669-ad91fbf4-14c2-46c0-a228-69cca93f2b2d.png) ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bugstale labels 2026-02-07 00:28:11 +03:00
Author
Owner

@Shadowghost commented on GitHub (Aug 23, 2022):

Just because Chromium now supports HEVC doesn't mean we already implemented specific checks for that to not transcode if the version supports it. AFAIK it's also currently not enabled by default which makes detecting the capability quite hard too.

@Shadowghost commented on GitHub (Aug 23, 2022): Just because Chromium now supports HEVC doesn't mean we already implemented specific checks for that to not transcode if the version supports it. AFAIK it's also currently not enabled by default which makes detecting the capability quite hard too.
Author
Owner

@jellyfin-bot commented on GitHub (Dec 22, 2022):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot commented on GitHub (Dec 22, 2022): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#4136