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

Feature Request: Specifying Default Resolution (240p, 360p, 480p, etc.) #1194

Closed
beh68030 opened this Issue Oct 19, 2014 · 4 comments

Comments

Projects
None yet
2 participants
@beh68030

beh68030 commented Oct 19, 2014

What do you guys think of mpv getting a video quality setting for network streams similar to what VLC has? For example, if set to 360p and it reads in a YouTube URL, it will set the quality to 360p by default. The only thing I've come across to something like this is quvi, but that only lets you pick "default" (usually 720p) and "best" (1080p), though you can't specify any resolution lower than that.

@beh68030

This comment has been minimized.

beh68030 commented Oct 20, 2014

I have a makeshift script that bypasses quvi and calls Livestreamer for now.

#!/usr/bin/perl -w
use List::Util qw/shuffle/;

my $q="360p";

open(FILE,"yt_playlist_latest.txt");

my @array;

while(<FILE>) {
  push(@array,$_);
}

close(FILE);

@array = shuffle @array;

foreach(@array) {
  chomp;

  $signal = system("livestreamer $_ $q");

  print "$signal\n";
}
@wm4

This comment has been minimized.

Contributor

wm4 commented Oct 20, 2014

At least with libquvi9, --quvi-format provides a complicated way to select the default resolution.

But since libquvi seems abandoned, we probably come up with a different solution by calling in youtube-dl from a script.

@wm4

This comment has been minimized.

Contributor

wm4 commented Oct 25, 2014

Since I just killed libquvi support, this request goes to @ChrisK2 and his new script.

@wm4

This comment has been minimized.

Contributor

wm4 commented Nov 27, 2014

Actually we have the --ytdl-format option now.

@wm4 wm4 closed this Nov 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment