mov-cli icon indicating copy to clipboard operation
mov-cli copied to clipboard

[Bash version] Please add a way to limit or select the resolution

Open pitsi opened this issue 3 years ago • 4 comments

The bash version of mov-cli, running on debian testing/unstable x64 and mpv (with vdpau as video output) as the player.

I am watching a series this week and today I noticed that the episode was too laggy from the start. Mpv's stats (the on screen info that comes up when pressing "i") showed that the video was an 4k (3840*2160, or 2160p) h265. Similar info was also displayed in the terminal like so

Video link fetched https://urlhere.com/Something-S01E01-HDR.2160p.WEB.h265-blablabla

Sadly, I have neither the bandwith, nor the hardware for such a stream, so a way to select the resolution (either via a switch or from some config file) is more than desirable. The same applies for the codec and hdr.

Thank you in advance :)

pitsi avatar Jun 01 '22 14:06 pitsi

On second thought, I just checked the stream I mentione above by visiting the page via the web browser and it still offers that one 4k h265 rip and nothing more, so maybe the above is not doable at all. Maybe a dev can enlighten me more.

pitsi avatar Jun 01 '22 16:06 pitsi

Sadly the sh version is limited the one provider for now, we are planning to add more providers: yes the website has only one resolution

Poseidon444 avatar Jun 05 '22 10:06 Poseidon444

You can limit FPS and resolution in MPV config file. Same on VLC

brianalvarezv avatar Jun 22 '22 02:06 brianalvarezv

Can you please show me how? This is (part of) my mpv.conf if it helps

$ cat .config/mpv/mpv.conf 
vo=vdpau,xv
hwdec=vdpau
ao=alsa
sub-codepage=iso-8859-7
sub-font=Tahoma
sub-font-size=48
#sub-bold=yes
stop-screensaver=yes
cache=auto
audio-display=no

#ytdl-format=bestvideo[height<=?720]+bestaudio/best
ytdl-format=bestvideo[height<=?720][vcodec!=vp9]+bestaudio/best

pitsi avatar Jun 22 '22 04:06 pitsi