Closed arpitgupta closed 2 years ago
Is this issue new in 0.12 or does it also apply to 0.11?
I am not sure about that. I was not using JF regularly with 0.11 as everything was getting transcoded and i had to disabel all transcoding settings for the user.
I was facing same issue with Android version, till update the Android webview, its webwiew related with exoplayer?
In Android TV use libvlc automatically, but i will try exoplayer, because recently the TV update the webview.
I was facing same issue with Android version, till update the Android webview, its webwiew related with exoplayer?
In Android TV use libvlc automatically, but i will try exoplayer, because recently the TV update the webview.
Interesting my webview update gets stuck. Do you have the version that is installed on yours? I can see what i am running.
fyi i updated to latest android webview 92.0.4515.115 (July 23, 2021) and i still have this issue.
Some more info.
When i set the player to exoplayer, it tries to direct play and there is no sound When i set the player to libVLC then we have transcoding and the reason being audiocodec not supported. I have confirmed other audio codec's like AAC 5.1 still continue to directplay.
I've had issues playing AC3 audio tracks with Exoplayer #1029, could this be related?
Had same problem. Workaround is to use external app like vlc for videos with eac3 audio codecs. More info: https://www.reddit.com/r/jellyfin/comments/kc9f10/jellyfin_android_app_does_unnecessary_transcoding/
fyi i updated to latest android webview 92.0.4515.115 (July 23, 2021) and i still have this issue.
Some more info.
When i set the player to exoplayer, it tries to direct play and there is no sound When i set the player to libVLC then we have transcoding and the reason being audiocodec not supported. I have confirmed other audio codec's like AAC 5.1 still continue to directplay.
My bad, i was using an user with transcoded audio, in my main user (without transcode permissions) i still have this issue.
So there is a setting to enable surround sound for Chromecast with Google TV that I was unaware of, for some reason it is disabled by default. Audio and full Dolby Vision video are now working in Exoplayer for me, not sure if this has anything to do with your issue but it fixed mine.
I have surround setting enabled and i still have the issue. When i try to manually enable various surround sound formats it says my device does not support it, so i did not enable them.
I think this is a typical Android TV issue where by default exoplayer assumes that the audio capabilities are the ones from the device running Android TV. This obviously doesn't work if there are some limitations somewhere in the audio chain (e.g. the Android TV can passthrough EAC3 but the TV doesn't handle EAC3).
This is why players like Kodi or Plex allows you to fine tune the specific codecs allowed manually. I think this should be implemented in Jellyfin too.
That being said, what is the issue in your specific case? It sounds like the CCwGTv is simply connected to a stereo TV so the downmix output is the correct option.
This is why players like Kodi or Plex allows you to fine tune the specific codecs allowed manually. I think this should be implemented in Jellyfin too.
I did not specify any codec's manually in Plex and it direct stream's this file where only the audio is being converted. I am not sure if Plex provides this option. At least i could not find it in the android app.
Exactly, Plex transcodes the audio on the server side because you probably don’t have HDMI passthrough active so it’s gonna output Stereo like Jellyfin with downmix.
So I did some testing with my Chromecast.
TLDR
Testing Notes
Connected to an AV receiver:
Connected to a TV that outputs audio to a soundbar over ARC:
Connected to a different TV that outputs audio to a different soundbar over ARC:
When a 4K Fire TV Stick is connected to the TV that could not play AC3/EAC3 through the Chromecast:
The above is pretty normal except that EAC3 is not supported over ARC but eARC. In any case, it is pretty obvious that the HW chain (and its SW settings: Jellyfin app, Android device, TV, receiver) will determine what can be played or not. The jellyfin app can't do miracles.
BTW, I wouldn't say it "plays AC3" on the FireTV if the output is 2.0 PCM. This is downmix just like it can be done with the Jellyfin app.
Sorry, but I don't see where the problem is? Looks to me like this thread is a non-issue.
I think the best solution we can add for 0.12 will be to enable downmixing by default on this device.
Could someone with the Chromecast device confirm the model name is just "Chromecast"? You can check at the bottom of the settings panel in the 0.12 app. I believe it should read "Google Chromecast." Thanks!
Could someone with the Chromecast device confirm the model name is just "Chromecast"? You can check at the bottom of the settings panel in the 0.12 app. I believe it should read "Google Chromecast." Thanks!
Yep, this is it
@thornbill yes it says "Google Chromecast"
I also noticed that when i enable downmixing i get
Stream #0:0 -> #0:0 (hevc (hevc_qsv) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (eac3 (native) -> aac (native))
Where as plex will direct stream the video and only transcode the audio. Does this mean Jellyfin is transcoding both video and audio?
Also config "Bitstream Dobly Digital Audio" is selected and i am not able to un select it.
It looks like that is transcoding video and audio.
The "Bitstream" options don't appear to do much. I think they are only used to determine which player library to use when that option is left on "Automatically Choose".
It looks like that is transcoding video and audio.
Are there any config options i can play with that will be able to direct stream this content?
I think the best solution we can add for 0.12 will be to enable downmixing by default on this device.
Could someone with the Chromecast device confirm the model name is just "Chromecast"? You can check at the bottom of the settings panel in the 0.12 app. I believe it should read "Google Chromecast." Thanks!
Why should there be an exception for this device? Maybe downmix should be always be the default on any device and only people with home cinema setups would activate pass-through.
Other than that, the behavior looks to me pretty standard for an Android TV device. It is rather the FireTV that is an exception with its transcoding and something the Kodi team complains a lot about. FireTV has also a licensed Dolby encoder that allows to transcode 7.1 TrueHD to 7.1 EAC3 which FFMPEG can't do.
Can anyone write a clear problem statement?
I also noticed that when i enable downmixing i get
Stream #0:0 -> #0:0 (hevc (hevc_qsv) -> h264 (h264_qsv)) Stream #0:1 -> #0:1 (eac3 (native) -> aac (native))
Where as plex will direct stream the video and only transcode the audio. Does this mean Jellyfin is transcoding both video and audio?
Also config "Bitstream Dobly Digital Audio" is selected and i am not able to un select it.
I'm confused here. If I'm not mistaking downmix was performed locally by the Jellyfin app (at least in 0.11.X) without triggering server transcoding. Not sure this is a desired behavior in 0.12
Try to deactivate video transcoding maybe?
Media Info of the file
System (please complete the following information): CCwGTv with 0.12 latest beta JF: 10.7.6 Player: Set to choose automatically Sound: Set to Direct
Additional context When i play content with EAC3 format on my CCwGTv there is no audio. It is connected to my TV and there is no recieiver. From JF dashboard looks like the content was direct playing. The audio should have been transcoded. If i change the JF app to downmix audio to stero then it plays fine. Other audio formats such as AAC 5.1 play just fine on CCwGTv and are direct playing. When playing same through Plex it shows audio is being transcoded.
Same content direct plays fine on my nvidia shield which is connected to a reciever.
Logs