Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No audio on some audio tracks #873

Closed
tonyd33 opened this issue Oct 10, 2023 · 1 comment
Closed

No audio on some audio tracks #873

tonyd33 opened this issue Oct 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tonyd33
Copy link
Contributor

tonyd33 commented Oct 10, 2023

Describe the bug

On some audio tracks, no there's no audio output on iOS and tvOS. I've verified that the track itself isn't broken by using the web client and playing that audio track.

Obviously, I'd rather not share the video file unless necessary, but here's the output of mediainfo <video file>. Tracks 1 and 3 are broken.

General
Unique ID                                : 121645631640861967278324192373360824147 (0x5B8418B17A702AC8BB3C5F62E7080F53)
Complete name                            : Attack on Titan - S02E03 - Southwestward Bluray-1080p.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 1.47 GiB
Duration                                 : 24 min 12 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 8 714 kb/s
Frame rate                               : 23.976 FPS
Movie name                               : Attack On Titan S02E03
Encoded date                             : 2018-02-27T00:14:28Z UTC
Writing application                      : HandBrake 20180111154242-9bd2b8e-unknown 2018011101
Writing library                          : Lavf57.7.2

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 24 min 12 s
Width                                    : 1 920 pixels
Height                                   : 1 080 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
Bit depth                                : 10 bits
Writing library                          : x265 2.6:[Linux][GCC 4.8.5][64 bit] 10bit
Encoding settings                        : cpuid=1173503 / frame-threads=3 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=6 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / analysis-reuse-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=17.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : MLP FBA
Format/Info                              : Meridian Lossless Packing FBA
Commercial name                          : Dolby TrueHD
Codec ID                                 : A_TRUEHD
Duration                                 : 24 min 12 s
Bit rate mode                            : Variable
Maximum bit rate                         : 3 861 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 1 200.000 FPS (40 SPF)
Compression mode                         : Lossless
Title                                    : Surround
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 24 min 12 s
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 77.6 MiB (5%)
Title                                    : Surround
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Audio #3
ID                                       : 4
Format                                   : MLP FBA
Format/Info                              : Meridian Lossless Packing FBA
Commercial name                          : Dolby TrueHD
Codec ID                                 : A_TRUEHD
Duration                                 : 24 min 12 s
Bit rate mode                            : Variable
Maximum bit rate                         : 1 227 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 1 200.000 FPS (40 SPF)
Compression mode                         : Lossless
Title                                    : Stereo
Language                                 : Japanese
Default                                  : No
Forced                                   : No

Audio #4
ID                                       : 5
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 24 min 12 s
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 33.2 MiB (2%)
Title                                    : Stereo
Language                                 : Japanese
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Text
ID                                       : 6
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Language                                 : English
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : Chapter 1
00:02:58.053                             : Chapter 2
00:04:28.018                             : Chapter 3
00:10:46.146                             : Chapter 4
00:22:11.163                             : Chapter 5
00:23:41.045                             : Chapter 6

Application version

commit 69ddc2f

Where did you install the app from?

None

Device information

iPhone 11 & Apple TV

OS version

iOS & tvOS 16.4

Jellyfin server version

10.8.10

@tonyd33 tonyd33 added the bug Something isn't working label Oct 10, 2023
@holow29
Copy link
Contributor

holow29 commented Oct 16, 2023

TrueHD is not supported by VLCKit or native player, so it needs to be transcoded. There is more info in other issues about this as well as #519. Right now the issue I am running into in that PR is that I can't get transcoded audio to play in VLCKit video player, and my dev environment is broken right now, so I haven't devoted much time to figuring out why. I think it might be broken in main branch, but I haven't checked.
(Basically, this is a dupe of #676)

@tonyd33 tonyd33 closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants