Vorbis audio tracks crashes transcode and requires user action to switch #1791

Closed
opened 2026-02-06 21:21:51 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @lgrn on GitHub (Jun 14, 2020).

Describe the bug
When selecting one of many possible audio tracks for playing a movie, Jellyfin fails with the following message:

There was an issue with the client profiling and the server isn't sending a compatible media format.

In the case where EN is the system default, this breaks the default play action for this movie until the audio track is changed back to one of the audio tracks that do work (and the change doesn't stick).

This is the mediainfo output for the file in question. Since the issue pertains to certain audio tracks I have not included the full output but only what difference there is between the audio (titles redacted):

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 2 h 42 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 4 channels
Channel layout                           : L R C Cb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 745 MiB (3%)
Language                                 : Japanese
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 6
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 2 h 42 min
Bit rate                                 : 99.4 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 9 ms
Stream size                              : 116 MiB (0%)

Language                                 : Japanese
Default                                  : No
Forced                                   : No

Audio #3
ID                                       : 7
Format                                   : Vorbis
Format settings, Floor                   : 1
Codec ID                                 : A_VORBIS
Duration                                 : 2 h 40 min
Bit rate mode                            : Variable
Bit rate                                 : 80.0 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 kHz
Frame rate                               : 58.435 FPS (755 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 23 s 167 ms
Stream size                              : 77.2 MiB (0%)

Writing library                          : libVorbis (Omnipresent) (20120203 (Omnipresent))
Language                                 : English
Default                                  : No
Forced                                   : No

Audio #4
ID                                       : 8
Format                                   : Vorbis
Format settings, Floor                   : 1
Codec ID                                 : A_VORBIS
Duration                                 : 2 h 40 min
Bit rate mode                            : Variable
Bit rate                                 : 80.0 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 kHz
Frame rate                               : 52.340 FPS (843 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 23 s 167 ms
Stream size                              : 75.8 MiB (0%)

Writing library                          : libVorbis (Omnipresent) (20120203 (Omnipresent))
Language                                 : English
Default                                  : No
Forced                                   : No

Audio #5
ID                                       : 9
Format                                   : Vorbis
Format settings, Floor                   : 1
Codec ID                                 : A_VORBIS
Duration                                 : 2 h 42 min
Bit rate mode                            : Variable
Bit rate                                 : 80.0 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Frame rate                               : 63.594 FPS (755 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 21 s 296 ms
Stream size                              : 81.1 MiB (0%)

Writing library                          : libVorbis (Omnipresent) (20120203 (Omnipresent))
Language                                 : English
Default                                  : No
Forced                                   : No
  • Audio #1 (Default, Dolby Digital) works.
  • Audio #2 (AAC) works.
  • Audio #3,4,5 (Vorbis) does not work and crashes the playback.

Note that Audio #1 is not used as the default in my Jellyfin instance since I default to EN audio, making this playback broken without any user action.

The end of the most recent ffmpeg log on failure looks like this:

Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:7 -> #0:1 (vorbis (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x5560cdc02f40] using SAR=1035/1036
[libx264 @ 0x5560cdc02f40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x5560cdc02f40] profile Main, level 4.1
[libx264 @ 0x5560cdc02f40] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=72 keyint_min=37 scenecut=0 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=3808 vbv_bufsize=7616 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
frame=   62 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame=  129 fps=128 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
Too many packets buffered for output stream 0:0.
[libx264 @ 0x5560cdc02f40] frame I:2     Avg QP:14.49  size: 14738
[libx264 @ 0x5560cdc02f40] frame P:44    Avg QP:21.80  size: 14783
[libx264 @ 0x5560cdc02f40] frame B:83    Avg QP:22.67  size:  5884
[libx264 @ 0x5560cdc02f40] consecutive B-frames:  9.3%  9.3% 16.3% 65.1%
[libx264 @ 0x5560cdc02f40] mb I  I16..4: 73.0%  0.0% 27.0%
[libx264 @ 0x5560cdc02f40] mb P  I16..4: 48.5%  0.0%  0.0%  P16..4: 21.0%  0.0%  0.0%  0.0%  0.0%    skip:30.5%
[libx264 @ 0x5560cdc02f40] mb B  I16..4:  7.5%  0.0%  0.0%  B16..8: 19.8%  0.0%  0.0%  direct: 8.8%  skip:63.8%  L0:44.1% L1:39.8% BI:16.2%
[libx264 @ 0x5560cdc02f40] coded y,uvDC,uvAC intra: 28.2% 28.8% 3.6% inter: 10.8% 6.6% 0.0%
[libx264 @ 0x5560cdc02f40] i16 v,h,dc,p: 31% 30% 17% 22%
[libx264 @ 0x5560cdc02f40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 23% 16% 10%  6%  7%  6%  4%  5%
[libx264 @ 0x5560cdc02f40] i8c dc,h,v,p: 50% 24% 20%  6%
[libx264 @ 0x5560cdc02f40] Weighted P-Frames: Y:18.2% UV:9.1%
[libx264 @ 0x5560cdc02f40] kb/s:1737.07
Conversion failed!

System (please complete the following information):

  • OS: Debian GNU/Linux 10 (buster)
  • Virtualization: N/A
  • Clients: Firefox Browser
  • Browser: Firefox 77.0.1
  • Jellyfin Version: 10.5.5-1
  • Playback: Transcode
  • Installed Plugins: Fanart
  • Reverse Proxy: None
  • Base URL: None
  • Networking: No NAT
  • Storage: Cloud

To Reproduce

  1. I'm unsure what exactly about this file breaks Jellyfin, but if you have one it should be as simple as choosing the erroneous audio track from the Web GUI
  2. Play it, and it fails
  3. Your "Play" button is broken for this movie if your preferred language is EN and it's non-obvious that it's due to the audio change.

Expected behavior

  • It would be helpful if the error message indicated that the problem was specifically audio conversion, and what to do about it (if anything)
  • It seems reasonable to expect that this file should be able to play. It plays fine in Plex and locally.
  • Perhaps the Jellyfin behavior should change in cases where the default audio track leads to a failed play: make the next attempt with the file-default audio track instead of jellyfin-default?

Screenshots
image

Originally created by @lgrn on GitHub (Jun 14, 2020). **Describe the bug** When selecting one of many possible audio tracks for playing a movie, Jellyfin fails with the following message: > There was an issue with the client profiling and the server isn't sending a compatible media format. In the case where EN is the system default, this breaks the default play action for this movie until the audio track is changed back to one of the audio tracks that do work (and the change doesn't stick). This is the mediainfo output for the file in question. Since the issue pertains to certain audio tracks I have not included the full output but only what difference there is between the audio (titles redacted): ``` Audio #1 ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 2 h 42 min Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 4 channels Channel layout : L R C Cb Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 745 MiB (3%) Language : Japanese Service kind : Complete Main Default : Yes Forced : No Audio #2 ID : 6 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 2 h 42 min Bit rate : 99.4 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Delay relative to video : 9 ms Stream size : 116 MiB (0%) Language : Japanese Default : No Forced : No Audio #3 ID : 7 Format : Vorbis Format settings, Floor : 1 Codec ID : A_VORBIS Duration : 2 h 40 min Bit rate mode : Variable Bit rate : 80.0 kb/s Channel(s) : 2 channels Sampling rate : 44.1 kHz Frame rate : 58.435 FPS (755 SPF) Compression mode : Lossy Delay relative to video : 23 s 167 ms Stream size : 77.2 MiB (0%) Writing library : libVorbis (Omnipresent) (20120203 (Omnipresent)) Language : English Default : No Forced : No Audio #4 ID : 8 Format : Vorbis Format settings, Floor : 1 Codec ID : A_VORBIS Duration : 2 h 40 min Bit rate mode : Variable Bit rate : 80.0 kb/s Channel(s) : 2 channels Sampling rate : 44.1 kHz Frame rate : 52.340 FPS (843 SPF) Compression mode : Lossy Delay relative to video : 23 s 167 ms Stream size : 75.8 MiB (0%) Writing library : libVorbis (Omnipresent) (20120203 (Omnipresent)) Language : English Default : No Forced : No Audio #5 ID : 9 Format : Vorbis Format settings, Floor : 1 Codec ID : A_VORBIS Duration : 2 h 42 min Bit rate mode : Variable Bit rate : 80.0 kb/s Channel(s) : 2 channels Sampling rate : 48.0 kHz Frame rate : 63.594 FPS (755 SPF) Compression mode : Lossy Delay relative to video : 21 s 296 ms Stream size : 81.1 MiB (0%) Writing library : libVorbis (Omnipresent) (20120203 (Omnipresent)) Language : English Default : No Forced : No ``` - Audio #1 (Default, Dolby Digital) works. - Audio #2 (AAC) works. - Audio #3,4,5 (Vorbis) does not work and crashes the playback. Note that Audio #1 is not used as the default in my Jellyfin instance since I default to EN audio, making this playback broken without any user action. The end of the most recent ffmpeg log on failure looks like this: ``` Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:7 -> #0:1 (vorbis (native) -> aac (native)) Press [q] to stop, [?] for help [libx264 @ 0x5560cdc02f40] using SAR=1035/1036 [libx264 @ 0x5560cdc02f40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x5560cdc02f40] profile Main, level 4.1 [libx264 @ 0x5560cdc02f40] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=72 keyint_min=37 scenecut=0 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=3808 vbv_bufsize=7616 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00 frame= 62 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A frame= 129 fps=128 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A Too many packets buffered for output stream 0:0. [libx264 @ 0x5560cdc02f40] frame I:2 Avg QP:14.49 size: 14738 [libx264 @ 0x5560cdc02f40] frame P:44 Avg QP:21.80 size: 14783 [libx264 @ 0x5560cdc02f40] frame B:83 Avg QP:22.67 size: 5884 [libx264 @ 0x5560cdc02f40] consecutive B-frames: 9.3% 9.3% 16.3% 65.1% [libx264 @ 0x5560cdc02f40] mb I I16..4: 73.0% 0.0% 27.0% [libx264 @ 0x5560cdc02f40] mb P I16..4: 48.5% 0.0% 0.0% P16..4: 21.0% 0.0% 0.0% 0.0% 0.0% skip:30.5% [libx264 @ 0x5560cdc02f40] mb B I16..4: 7.5% 0.0% 0.0% B16..8: 19.8% 0.0% 0.0% direct: 8.8% skip:63.8% L0:44.1% L1:39.8% BI:16.2% [libx264 @ 0x5560cdc02f40] coded y,uvDC,uvAC intra: 28.2% 28.8% 3.6% inter: 10.8% 6.6% 0.0% [libx264 @ 0x5560cdc02f40] i16 v,h,dc,p: 31% 30% 17% 22% [libx264 @ 0x5560cdc02f40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 23% 16% 10% 6% 7% 6% 4% 5% [libx264 @ 0x5560cdc02f40] i8c dc,h,v,p: 50% 24% 20% 6% [libx264 @ 0x5560cdc02f40] Weighted P-Frames: Y:18.2% UV:9.1% [libx264 @ 0x5560cdc02f40] kb/s:1737.07 Conversion failed! ``` **System (please complete the following information):** - OS: Debian GNU/Linux 10 (buster) - Virtualization: N/A - Clients: Firefox Browser - Browser: Firefox 77.0.1 - Jellyfin Version: 10.5.5-1 - Playback: Transcode - Installed Plugins: Fanart - Reverse Proxy: None - Base URL: None - Networking: No NAT - Storage: Cloud **To Reproduce** 1. I'm unsure what exactly about this file breaks Jellyfin, but if you have one it should be as simple as choosing the erroneous audio track from the Web GUI 2. Play it, and it fails 3. Your "Play" button is broken for this movie if your preferred language is EN and it's non-obvious that it's due to the audio change. **Expected behavior** - It would be helpful if the error message indicated that the problem was specifically audio conversion, and what to do about it (if anything) - It seems reasonable to expect that this file should be able to play. It plays fine in Plex and locally. - Perhaps the Jellyfin behavior should change in cases where the default audio track leads to a failed play: make the next attempt with the file-default audio track instead of jellyfin-default? **Screenshots** ![image](https://user-images.githubusercontent.com/735192/84589322-01ca8680-ae2e-11ea-921b-2c753d367c73.png)
OVERLORD added the bugstale labels 2026-02-06 21:21:51 +03:00
Author
Owner

@stale[bot] commented on GitHub (Oct 12, 2020):

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 nightlies, 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.

@stale[bot] commented on GitHub (Oct 12, 2020): 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 nightlies, 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#1791