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

Jellyfin Windows Client no audio when original audio codec was FLAC and when the video is transcoded #423

Closed
SandboChang opened this issue Apr 17, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@SandboChang
Copy link

Log file:
JellyfinMediaPlayer.log

Description:
When a video with an audio codec being FLAC, and when the video is transcoded (due to a lower set bitrate by the client),
there is no audio output in the client.

This does not happen if:

  • The video is direct play
  • The original audio codec of the video is not FLAC, e.g. an AAC video can be transcoded while keeping audio working
  • Web client does not have the same issue, only Windows client so far shows the issue

To Reproduce
Play a video with original audio codec being FLAC under Windows Jellyfin client 1.9.0 x64 on Windows 11.
Make sure there is audio to begin with.
Try to lower the bit rate such that it must transcode the video.
No audio is heard from the video when watching the video with transcoding.

Expected behavior
The audio of the video should work with video transcoding in the Windows Jellyfin client.

Desktop (please complete the following information):

  • OS: Windows 11 x64
  • Version 22621.1555, 2H22
  • Installation Method : windows installer using client downloaded from official Jellyfin github
  • Client version is 1.9.0 x64

Additional context
I also tried different settings in the Client setting --> Audio, changing device type and device did not do anything to solve this problem.

@SandboChang SandboChang added the bug Something isn't working label Apr 17, 2023
@live4ever
Copy link

Also FLAC isn’t working on Jellyfin for Kodi for me. Both force transcode and direct play. Kodi gets an “undefined” audio stream.

@iwalton3
Copy link
Member

I removed flac from allowed codecs for video transcoding. Let me know if there are still issues. Honestly even if we could direct stream flac while transcoding, since the main reason to transcode is to reduce bitrate, that seems silly.

@SandboChang
Copy link
Author

I removed flac from allowed codecs for video transcoding. Let me know if there are still issues. Honestly even if we could direct stream flac while transcoding, since the main reason to transcode is to reduce bitrate, that seems silly.

Thanks for the follow-up, it sounds like this change mostly just avoid the problem? Was there any reason transcoding flac will disable audio (just for Windows client)?

@iwalton3
Copy link
Member

I don't think HLS supports FLAC. That's likely why it is broken.

zjeffer pushed a commit to zjeffer/jellyfin-media-player that referenced this issue Jun 14, 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

3 participants