-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
[0.2.1] yt-dlp configuration is ignored ? #68
Comments
The resolutions and formats are selected by See the source code: https://github.com/trizen/pipe-viewer/blob/main/bin/pipe-viewer#L3465...L3474 The video part and the audio part is downloaded with the
and video/audio format with:
Example for downloading MP4 videos at 480p resolution:
See also: trizen/youtube-viewer#181 (comment) |
I would love to pass some options to yt-dlp like "-N, --concurrent-fragments N" but those are not recognized or I am doing something bad. I tried: How do I propperly pass some options to yt-dlp so they are not ignored? Many thanks |
@mrpingo The options passed to A workaround for this would be to add video_players => {
#...
yt_dlp => {
arg => "",
cmd => "yt-dlp -N 10 *URL*",
fs => "",
novideo => "",
srt => "",
},
#...
}, ...and execute
|
Many thanks for your comment! At first I thought on doing exactly that and pipe the output to mpv, but I didn't know how to put the URL variable in "args" and ended looping my thoughts and never tried, but you just gave me the insight although it looks to me very "hacky". Anyway I finally did it by changing this lines using the mpv player lines and piping the output into mpv:
It works pretty well, but I dont know if it can be done more "politely" and programatically clean. Many many thanks! |
Hi,
Thanks for adding downloading with yt-dlp to pipe-viewer. It works fine but my yt-dlp config is ignored, I tried to add it in pipe-viewer.conf like that :
but it is still ignored. Or maybe am I doing it wrong ?
Thanks
The text was updated successfully, but these errors were encountered: