jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.28k stars 323 forks source link

Opus Direct Codec Audio not playing #764

Closed veerpandya closed 1 month ago

veerpandya commented 2 months ago

Describe the bug Videos with opus audio do not have any sound when played through the media player client and when the audio is not transcoded. Other videos work fine, and the same video will work as expected when the audio is transcoded (tested via web client and android client). This same exact video file will also play properly when downloaded to the computer and played via VLC.

To Reproduce Steps to reproduce the behavior:

  1. Play video with audio using the opus codec
  2. Allow video to direct play opus audio codec
  3. Hear no audio being played

Expected behavior The opus audio track should play properly through direct play, or it should be transcoded if direct play for opus is not supported.

Screenshots

Screenshot 2024-09-16 at 9 22 03 AM

Desktop (please complete the following information):

I checked that this same behavior is occurring on my Arch Linux computer.

Additional context Logs attached here: jellyfin_client.log

Something I'm unsure about is why complete direct play (for both video and audio) is not working. The playback info just says there was an error starting direct play. I don't know if this is related to the main opus audio issue but I just wanted to point it out.

Also, I would love to help out as much as I can on this issue. Please let me know where I can dig further to provide more information.

hildeka commented 2 months ago

I'm facing the same issue with OPUS, yet additionally videos with Dolby TrueHD codec also don't play any audio. Otherwise everything is the same.

I have encountered this in both native (NixOS, OpenSUSE and Arch Linux) and flatpak packages.

hildeka commented 1 month ago

It's embarrassing to admit, yet the issue got resolved after I updated jellyfin on the server (automatic updates stopped working and I didn't realize).

veerpandya commented 1 month ago

Yep, same thing for me. I simply updated my server and now everything is fixed. I'll close this issue out. Thanks!