-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add option to specify video fps. #274
Comments
Will not add an explicit option for this, as it will unnecessarily complicate the code, since most people prefer 60 FPS anyway. (see: #67) However, adding the following player entry, will do the trick: mpv30fps => {
fs => "--fullscreen",
novideo => "--no-video",
srt => "--sub-file *SUB*",
arg => "--ytdl-raw-options='format=best[fps<=30]+bestaudio/best[height<=720]' *URL*",
cmd => "mpv",
}, By executing youtube-viewer with |
Thank you for answer. |
Provided via the `hfr` config-option. When set to "0", HFR videos will be ignored. The option is also available as a command-line argument: $ youtube-viewer --no-hfr By default, the value of `hfr` is set to "1".
youtube-dl has an option to specify fps of the video which should be downloaded.
Is it possible to add into youtube-viewer ?
Right now the yt-viewer is trying to use 60fps video on my small machine and it is unwatchable.
While youtube.dl can clearly download 30fps one.
So having an option like "preffer fps: [30 / 60]" would be nice.
https://github.com/ytdl-org/youtube-dl/blob/master/README.md#format-selection
The text was updated successfully, but these errors were encountered: