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

Incorrect audio playback #21

Open
Effectimminent opened this issue Nov 14, 2024 · 6 comments
Open

Incorrect audio playback #21

Effectimminent opened this issue Nov 14, 2024 · 6 comments

Comments

@Effectimminent
Copy link

Effectimminent commented Nov 14, 2024

Portuguese audio plays back despite English being the default

URL: https://www.youtube.com/watch?v=yWBzsBaU-Os

Works with just mpv + yt-dlp

[INFO] (mov_cli) - Using 'youtube.DEFAULT' scraper...
[INFO] (mov_cli) - Searching for 'potato pc'...
[INFO] (mov_cli) - Scraping 'It CAN be done - The Potato PC ~ Linus Tech Tips'...
[WARNING] (mov_cli) - [YTDlpScraper] Couldn't find the right audio for your currently selected language so audio localisation will be disabled and the first audio from the YouTube video will be selected.
[INFO] (mov_cli) - Playing 'It CAN be done - The Potato PC ~ Linus Tech Tips' with MPV...

ive tried

rebooting
resetting ytdlp , mpv and mov-cli configs
changing mpv.conf to use a specific audio stream although mov-cli seems to not respect those settings (i suspect this is the issue)
tried it on different hardware and a different distro

@THEGOLDENPRO
Copy link
Member

It states it failed to find the localized version of the audio (english), did you change the language in mov-cli's config by any chance?

@r3tr0ananas I think it's possible that this exact video has a different language tag for English, if you're free I would insist having a look.

When v4.5 of mov-cli releases this will definitely be fixed as in v4.5 you are allowed to pass multiple audio streams and switch between them in the video editor.

We'll try and fix this for v4.4 though, thanks for reporting.

@Effectimminent
Copy link
Author

No. other than to add the YouTube scraper when i first installed it. ive also reset the config and that did not resolve the issue. probably should add that in my original comment.

@Effectimminent
Copy link
Author

fixed the issue should i go ahead and make a pr?

@r3tr0ananas
Copy link
Member

Sure

@r3tr0ananas
Copy link
Member

I can't reproduce this issue, even with the same video.

@THEGOLDENPRO
Copy link
Member

THEGOLDENPRO commented Nov 15, 2024

I can't reproduce this issue, even with the same video.

huh, I could when I tried it. Maybe we have different versions of yt-dlp. (I haven't updated mine in a while.)

EDIT: just updated to yt-dlp-2024.11.4 and same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants