jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.09k stars 309 forks source link

DTS-HD MA crackling #322

Open jameskimmel opened 1 year ago

jameskimmel commented 1 year ago

Describe the bug DTS-HD MA files have a small crackling sound that comes up randomly

To Reproduce Steps to reproduce the behavior:

  1. Play a file with DTS-HD sound

Expected behavior No crackling :)

Desktop (please complete the following information):

Additional context I don't think it affects only Jellyfin Media Player on macOS. This sounds very similar: https://github.com/jellyfin/jellyfin-androidtv/issues/281#issuecomment-1121284874 Playing it on the same device with VLC does not have this issue.

Here are my server logs.

[2022-10-20 08:05:57.480 +02:00] [INF] User policy for "Username". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-10-20 08:05:57.480 +02:00] [INF] StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="/path_to_the_File.mkv", AudioStreamIndex=1, SubtitleStreamIndex=3 ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/08bb/stream.mkv?MediaSourceId=08b&Static=true&VideoCodec=h264&AudioCodec=dts&AudioStreamIndex=1&SubtitleStreamIndex=3&api_key=<token>&SubtitleMethod=Embed&Tag=c0f1"

Audio format:

Audio #1
ID                                       : 2
Format                                   : DTS ES XXCH XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 4 h 23 min
Bit rate mode                            : Variable
Channel(s)                               : 6 channels
Channel(s)_Original                      : 7 channels
ChannelLayout_Original                   : C L R Ls Rs LFE Cb
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossless
Title                                    : Deutsch DTS-HD-MA 6.1 @ 2663Kbps
Language                                 : German
Default                                  : Yes
Forced                                   : No
InjectedPie commented 1 year ago

Had the same bug. Is still there in the current release. Both in 7.1 and 5.1 audio but forcing the Playback to Stereo fixes the crackling if you can work with that