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

Is it possible to use ffmpeg instead for video playback? #1265

Open
barracuda156 opened this issue Jan 14, 2024 · 3 comments
Open

Is it possible to use ffmpeg instead for video playback? #1265

barracuda156 opened this issue Jan 14, 2024 · 3 comments

Comments

@barracuda156
Copy link

The issue is that all the rest are broken for older macOS, while ffmpeg works fine (something got broken in v. 6, but hopefully will be fixed; 4 and 5 are known to work).

@iamtalhaasghar
Copy link
Contributor

Please drop details of your operating system & yewtube version info.

@barracuda156
Copy link
Author

@iamtalhaasghar Thank you for responding!

I use 10.6 on PowerPC myself and consider supporting 10.5–10.6 on ppc and x86 (in MacPorts).
Ideally we would want to have the latest release of yewtube working on every supported OS. If that is unfeasible at some point, older systems can be pegged to some specific legacy version.

I have seen that in players section there are support files for mpv, mplayer and VLC, which is what I referred to in the issue. Since then I have kinda fixed VLC, but it is not really reliable at the moment. Latests mpv and mplayer are hopelessly broken and respective upstreams not really interested to fix them. Some more or less old versions should work, but I am not sure if those will be compatible.
I have noticed there is a generic player template: https://github.com/mps-youtube/yewtube/blob/0c1e39d51f5d4c6e1bea25b72c00900aab991e37/mps_youtube/players/GenericPlayer.py
That might work perhaps with QMPlay2 or directly ffmpeg, both of which work fine on PowerPC.

@iamtalhaasghar
Copy link
Contributor

iamtalhaasghar commented May 19, 2024

@barracuda156 can you share bug reports what happens if you run a youtube video directly using vlc & mpv? If a youtube video runs fine directly then that would mean something is not right with yewtube and i can investigate the issue further. But if the video doesn't work directly with vlc or mpv then I am afraid I won't be able to help you out much but i will try my best to make yewtube compatible with macos 10.6.

Just open a terminal and do type:
mpv <youtube_url>

do the same with vlc as well:
vlc <youtube_url>
and share results & your observations.

edit: added code to help you out how to run youtube video directly on mpv.

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

2 participants