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

[GUIDE] How to use xine and yt-dlp with gtk-pipe-viewer without having to download the video #186

Open
CanYouJustWorkPlease opened this issue Oct 17, 2023 · 0 comments

Comments

@CanYouJustWorkPlease
Copy link

CanYouJustWorkPlease commented Oct 17, 2023

Hi! First of all, thank you a lot for making pipe-viewer and gtk-pipe-viewer! I've been trying to play 720p videos on a 20 year old laptop, and while the internet browsers only allowed me to play flawlessly 480p videos (on the 3 fastest browsers, tested among other browsers - starting from fastest to slowest: qutebrowser, falkon and epiphany), only xine, yt-dlp and gtk-pipe-viewer combined played 720p videos almost without a problem. I've tested VLC, mpv and other players, but they still couldn't handle 720p in a nice fashion.

This is the configuration that I used in the settings of gtk-pipe-viewer:

resolution=""

video_player_selected=> "xine"

xine => {
    arg   => "-f '[height<=720]/mp4a' -o - *URL* | \nxine stdin:// --no-splash --no-logo -f",
    audio => "",
    cmd   => "yt-dlp",
    fs    => "",
	srt   => "",
}

Maybe this will be useful to someone.

Cheers!

P.S:
I had to use at least python3.8 to be able to get yt-dlp running on its latest stable version, otherwise it wouldn't work. I also had to install yt-dlp in a python3.8 venv to avoid some issues.

Note to self:
Unlike qutebrowser (way faster than falkon; 480p runs fine) and falkon (480p runs fine), epiphany makes cloudflare checkup work, it also supports captchas, but its graphics performance is bad, even for 480p.

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

1 participant