I am starting to learn how to batch load with yt-dlp. So far I am getting a grasp on making a .txt file in notepad. I know to put a list of urls in the notepad file. I know how to do this much:
yt-dlp --batch-download name of text document.txt
This selects the best quality and depending on what you are downloading and what is available that can be 720p and higher. I have tended to be satisfied with 360p but now I am starting to like 480p as long as it isn't much bigger in file size.
How to do I set about instructing yt-dlp to go for 480p resolution if the file has higher resolutions that I don't want to download to save hard drive space and since I don't have super fast internet to get things done quicker?
Thank you in advance. I also have other things I want to learn about batch downloading but I want to be able to jump this hurdle first.
+ Reply to Thread
Results 1 to 24 of 24
-
-
Code:
yt-dlp --batch-download -f "bestvideo[height<=480]+bestaudio" "name of text document.txt"
-
jagabo: I will give that a try and report on how it works out. Thank you for the help you have given me and other posters here at videohelp.
-
You can also use the -S option:
Code:yt-dlp --batch-download -S 'res:480' "name of text document.txt"
-
jagabo: I don't know why but I made an error it should be
yt-dlp --batch-file name of text document.txt
I did give it a try what you wrote and substituted batch file for batch download and I am getting:
error: batch file -f could not be read
I will keep trying different combinations to try to figure it out. -
Sorry, I didn't notice you had the wrong command for batches. And the name of the batchfile must immediately follow "--batch-file". Here's a bath file I used this morning to download some videos:
Code:yt-dlp -f "bestvideo[width<1280]+audio-English" --batch-file batchlist.txt
-
jagabo: I am sorry I couldn't get either method to work. Is there perhaps an different way of achieving this. For example could one have a list of videos, having figured out what to type after looking at the -F command for a video url. Have a line written for each video, then somehow instruct yt-dlp to do the next video without needing a .txt file?
Thankfully videodownloadhelper can get me what I want; but with my computer easily getting bogged down with such programs I prefer yt-dlp because it doesn't seem to take as much resources by bypassing the browser. -
-
Sure. Just create a batch file with a yt-dlp command for each video:
Code:yt-dlp -f "bestvideo[height<-480]+bestaudio" "first URL" yt-dlp -f "bestvideo[height<-480]+bestaudio" "second URL" yt-dlp -f "bestvideo[height<-480]+bestaudio" "third URL"
Code:yt-dlp -f videoname+audioname "first URL" yt-dlp -f videoname+audioname "second URL" yt-dlp -f videoname+audioname "third URL"
Last edited by jagabo; 22nd Nov 2021 at 19:00.
-
I made out a list and it worked. I just copy and pasted the lines all at once and I waited to see if the second download would start after the first and it did. It is not so hard to make up a list as other than the url it is just knowing a certain number and that number sometimes is quite similar to the previous number so it doesn't take long to change. Thank you this will make a big difference for me not having to input them one at a time. yt-dlp doesn't run up my system resources as much as a browser addon such as videodownloadhelper. My old Windows 7 computer has been wonderful all these years but it seems web browsing is more taxing as time goes on. Other things can bog down a computer to the point you have to press the power button because things have froze but quite often it is some script or something akin to that which just won't let go.
Last edited by Tom Saurus; 22nd Nov 2021 at 19:55.
-
hi everybody,
i have a txt file with list of various link from soundcloud like this:
https://soundcloud.com/dj-serginho-ptc/kate-perry-dark-horse-funk-dj
https://soundcloud.com/teamrcklss/katy-perry-black-horse-stevie
i want download batch all mp3 audio file. how to?
i have try with:
yt-dlp --download-archive "filename.txt"
yt-dlp --batch-download "filename.txt"
and also other string but nothing work for me -
wow very fast reply! thanks so much. it work fine
and you know how rip live audio from here? it's a free web radio. i need to download about 20-30 minutes ...
https://www.radiomontecarlo.net/sezioni/11020/rmc-buddha-bar-monte-carlo-radio -
-
Last edited by jagabo; 14th Jul 2022 at 11:59.
-
Last edited by lomero; 15th Jul 2022 at 02:19.
-
wow, another way ...! thanks lomero
it seems that this site has many methods for downloading the stream, only i could not find any!
thank you very much to all guys here -
hi there,
i've rip some audio track with ffmpeg, follow jagabo post
now i need to join this tracks to one file only
with ffmpeg i have used
Code:ffmpeg -f concat -i file.txt -c copy full.mp3
but i have this error:
Code:[concat @ 0000000000474880] Line 1: unknown keyword 'C:\webradio\rip' file.txt: Invalid data found when processing input
but seem nothing work ... suggestion? -
I think you also need to surround the filenames with ' marks:
Code:file 'audio-01.mp3' file 'audio-02.mp3'
-
for the guys here that i want to listen to this wonderful radio, i want to post here 2 simple soltions that discovered:
1) with VLC: open VLC - media - open network stream - add link https://icy.unitedradio.it/rmcweb020
then from Media save playlist to file. now with simply double click start VLC and play the stream. wonderful
2) with mpv (now my preferred player): make a new txt file. open it and add https://icy.unitedradio.it/rmcweb020
save. rename as plist.m3u
make a shortcut to mpv.exe - right click and go to property. on destination field add path to file plist.m3u
like C:\mpv_folder\mpv.exe C:\plist.m3u
now with simply double click start mpv and play the stream
a special thanks to lomero for help to find these tricks
i hope this guide may be useful to someone! enjoy guysLast edited by whs912km; 19th Jul 2022 at 01:27.
Similar Threads
-
Need help for download with yt-dlp
By sibhus in forum Video Streaming DownloadingReplies: 26Last Post: 19th Feb 2024, 15:02 -
How to fix the download failure with yt-dlp command for some live M3U8 link
By zydjohn in forum Video Streaming DownloadingReplies: 12Last Post: 26th Nov 2021, 14:35 -
yt-dlp will not download in ts format
By Skaperen in forum Video Streaming DownloadingReplies: 21Last Post: 19th Nov 2021, 19:45 -
403 Forbidden Error from yt-dlp on mpd file download?
By influx in forum Video Streaming DownloadingReplies: 12Last Post: 5th Oct 2021, 14:48 -
Anyway to batch download these videos
By messageryan in forum Video Streaming DownloadingReplies: 1Last Post: 1st Jul 2020, 03:38