-
Notifications
You must be signed in to change notification settings - Fork 116
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 sound when first playing a video using InputStream.Adaptive #989
Comments
I can't replicate this, but a couple of other people have mentioned something similar but not provided any details.
Can you post a full debug log?
The default Kodi settings apply here, but there are some improvements that could be made to this in the addon.
What does this mean? There are a number of different options for subtitle language selection. Can you describe what the available options don't allow for? |
Unfortunately that affects everything I access from Kodi.
Currently there are five options in the Youtube plugin configuration (whatever you configure in Kodi subtitles). But in practice they are reduced to only one, and in fact it is the bad one.
So in practice the whole set of options is reduced to I really miss the simple option of |
Here it is. This is the log of a "play pressing" from the start of the video. That video has 2 audio streams. Both in Spanish (only the codec changes), just to get the language off the equation. I must note that the issue does not seem to happen with all videos, and I have had no success in characterizing which ones are affected. But it happens in the majority of channels I am subscribed to. And specially with english videos, the ones that use to have multiple audio streams with automated translations. I was going to post another log to show how changing audio stream selection made the audio start to play (it does), but I have noticed something that seems to make that unnecessary: If you pause the video and resume it, the audio still does not play. After that, if you play (or fast-forward) the video until the end, a later replay (obviously from the start) makes the audio fail again. (Just to note, I described a very similar behavior for subtitles in #634. When playing the video from the start, subtitles hotkey activates/deactivates the setting, but subtitles simply are not shown). |
An issue like this needs a full debug log. A partial log or a non-debug log does not have sufficient detail to investigate what the problem may be.
Yes the Kodi settings apply to everything played in Kodi, and the addon you are using is a Kodi addon that is playing a video in Kodi. Can't do anything about that and it is not a realistic expectation for addons to circumvent the normal video playback settings of the actual video player that is used. What do you actually have set for
|
There seems to be a regression in InputStream.Adaptive with handling audio in HLS streams. If you use the Setup Wizard and/or enable MPEG-DASH the sound should work. https://github.com/MoojMidge/plugin.video.youtube/archive/refs/heads/master.zip implements the following:
|
- Also correctly distinguish between original vs default audio streams
…nxdpanic#989" This reverts commit 87e2ff1. - Avoids conflict with 2b3db17
…nfo instances anxdpanic#989 anxdpanic#1036 - Only applies when Kodi language setting is media default - This is independent of language used for hl parameter used for requests
Today I reactivated InputStream.Adaptive for testing another issue, and just observed an even worse behavoir. I do not know how much time has it been happening because I do not use InputStream.Adaptive, but I think it may be somehow related to the previous.
The same thing described for the subtitles is now happening to the audio stream.
Explanation:
When a video has more than one audio stream choice, the plugin automatically selects the one in my locale language, or the first stream in the list if my locale language is not present (*).
Guess what? Nothing is heard when I first open the video. Completely silent.
Now choose manually another audio stream. It works, it is heard.
Now go manually back to the audio stream that was silent. It works, it is heard.
So both issues, subtitles and audio failing to work, seem to be something that happens only when you first open the video from the beginning. After choosing a stream manually it works, and it continues working unless you stop the playback and start the video playback again from the beginning.
(*) Very unfortunately, there is no option in the plugin or in InputStream.Adaptive to default to the original audio of the video. Same applies for subtitles, where only the locale language can be chosen. This is not related to the issue described in this thread, but in my opinion it is a great lack. Specially regarding Youtube, where translations are mostly automated by AI and provide a horrible experience.
Originally posted by @malversoft in #634 (comment)
The text was updated successfully, but these errors were encountered: