-
Notifications
You must be signed in to change notification settings - Fork 39
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
Youtube videos seems to play at low bitrate #94
Comments
Which version of the bot have you tested this on? |
I'm using the image "quay.io/ydrag0n/streambot:latest". I'm assuming that is already the v1.1.6? |
Use the |
Did you try to increase the stream options, such as the stream bitrate or enabling hardware acceleration? |
I did increase the stream bitrate to 3000, but it doesn't make a difference (in YouTube videos), it's like the bot is not applying that bitrate when playing YouTube videos or are playing them in low resolution (480p or something like that). I didn't enable hardware acceleration as I thought it wasn't supported in Docker. Is it supported? Is there a way to check if it's working? Thanks! |
I think this issue is related to ytdl-core, as it is limited to fetching a maximum quality of 360p for some videos, though this limitation does not apply to live videos. |
Yt-dlp will result in the same result, there's inconsistency in the "resolution" chosen and idk why, even if you tried to use -f best/ba+bv, ( best will result in the highest available merged format, maybe 720 480 360 1080, depends, but ba+bv will give highest video resolution and audio bitrate, but needs a bit of merging on the fly ). Hope it helps! |
Yes, i will use merged formats (highest available video + highest available audio). |
This will work, but i do guess that it will need more resources? |
Yes, it will require resources depending on the parameters of each video. |
If you can make the user choose it as a default setting, or in video commands, this would be good |
I also encountered a similar issue and look forward to the latest version being fixed by you. I would like to suggest a method for retrieving the token with the following code, as it is simpler and faster |
It's already in the wiki and works perfectly! |
Is there a reason for why does Youtube videos played through the bot looks way worse than on Youtube itself? It also looks way worse than Twitch streams in the bot. I will post a few comparision:
Original video viewed in Youtube:

The bot playing that Youtube video:

The bot playing a Twitch stream:

Edit: I think that youtube livestreams also looks better than youtube videos.

The text was updated successfully, but these errors were encountered: