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

Implemented option to pipe url directly to mpv #1284

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

thatonearchguy
Copy link

Hi!

Thanks for this project, it's been of great use on my ancient 2007 Macbook Pro - I can use mpv with --hwdec and --vo flags to get hardware accelerated video playback, which on a 17 year old CPU is a very welcome help.

However I was running into the 640x360 issue as in #942, so I decided to write this little patch to allow the URL to be piped directly to mpv and the --ytdl-format player args to be used to control the output instead (in my case limiting the resolution to 720p as the GPU runs out of VRAM)

Happy to make any changes needed (what default values would you suggest setting for the stream dict?)

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

Successfully merging this pull request may close these issues.

1 participant