I like youtube-dl and want to download different formats of videos.
To do this I use for example "-f 18,43" for downloading different streams.
But how do I use output template to change the output filenames of each file?
May you please help me?
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 12 of 12
			
		- 
	
- 
	Anonymous84347344GuestExample command line: 
 
 Code:youtube-dl [options] [url] -o %(autonumber)s-%(title)s-%(format_id)s.%(ext)s Code:youtube-dl -F "https://www.youtube.com/watch?v=ydBjsZnHrwM" [youtube] ydBjsZnHrwM: Downloading webpage [youtube] ydBjsZnHrwM: Extracting video information [youtube] ydBjsZnHrwM: Downloading DASH manifest [info] Available formats for ydBjsZnHrwM: format code extension resolution note 171 webm audio only DASH audio 100k , audio@128k (44100Hz), 1016.25KiB 140 m4a audio only DASH audio 127k , m4a_dash container, aac @128k (44100Hz), 1.31MiB 141 m4a audio only DASH audio 255k , m4a_dash container, aac @256k (44100Hz), 2.63MiB 278 webm 256x144 DASH video 100k , webm container, VP9, 12fps, video only, 866.29KiB 160 mp4 256x144 DASH video 110k , 12fps, video only, 1.12MiB 133 mp4 426x240 DASH video 250k , 24fps, video only, 2.53MiB 242 webm 426x240 DASH video 261k , 24fps, video only, 1.83MiB 243 webm 640x360 DASH video 477k , 24fps, video only, 3.28MiB 134 mp4 640x360 DASH video 604k , 24fps, video only, 3.80MiB 244 webm 854x480 DASH video 872k , 24fps, video only, 5.44MiB 135 mp4 854x480 DASH video 1106k , 24fps, video only, 7.26MiB 17 3gp 176x144 36 3gp 320x240 5 flv 400x240 43 webm 640x360 18 mp4 640x360 (best) Filename:Code:youtube-dl -f 18 "https://www.youtube.com/watch?v=ydBjsZnHrwM" -o %(autonumber)s-%(title)s-%(format_id)s.%(ext)s [youtube] ydBjsZnHrwM: Downloading webpage [youtube] ydBjsZnHrwM: Extracting video information [youtube] ydBjsZnHrwM: Downloading DASH manifest [download] Destination: 00001-Introducing the new Google Photos-18.mp4 
 
 Code:00001-Introducing the new Google Photos-18.mp4 
- 
	Anonymous84347344GuestCode:youtube-dl -f 18,43 "https://www.youtube.com/watch?v=ydBjsZnHrwM" -o %(autonumber)s-%(title)s-%(format_id)s.%(ext)s [youtube] ydBjsZnHrwM: Downloading webpage [youtube] ydBjsZnHrwM: Extracting video information [youtube] ydBjsZnHrwM: Downloading DASH manifest [info] ydBjsZnHrwM: downloading video in 2 formats [download] Destination: 00001-Introducing the new Google Photos-18.mp4 [download] 100% of 5.93MiB in 01:10 [download] Destination: 00002-Introducing the new Google Photos-43.webm [download] 100% of 7.34MiB in 01:40 Code:00001-Introducing the new Google Photos-18.mp4 00002-Introducing the new Google Photos-43.webm 
- 
	Is it possible to change the output filename with two or more files? 
 The following doesn't work. I need something to separate the different output names.
 
 Code:youtube-dl -f 134/140 -o %(title)1.%(ext)s <here it needs a separator> %(title)2.%(ext)s https://www.youtube.com/watch?v=video 
- 
	
- 
	it does work, but I want to specify the two filenames exactly. Is there a way to do this? 
- 
	if the problem is the size of the number you can use --autonumber-size option 
 
 Code:youtube-dl -f 134,140 "https://www.youtube.com/watch?v=video" -o "%(title)s%(autonumber)s.%(ext)s" --autonumber-size "1" 
- 
	Ok, thanks for that. 
 But is there the possibility to put in two different filenames for the two files?
- 
	
- 
	Thank you 
 So I have to put in the youtube-url two times. If you know a shorter version, please let me know.
 
 Nice.
Similar Threads
- 
  How to Demux avi with multiple video streams?By Chojun in forum Newbie / General discussionsReplies: 34Last Post: 11th Dec 2015, 15:29
- 
  Creating a Batch to Scan Multiple Video Streams for Errors with VirtualDubBy Ancalagon in forum ProgrammingReplies: 1Last Post: 20th Apr 2013, 16:06
- 
  mp4 and multiple video streamsBy hagai_sela in forum Software PlayingReplies: 24Last Post: 10th Nov 2011, 15:06
- 
  Machete 3.7 is released - edit video files with multiple audio streamsBy MacheteSoft in forum Latest Video NewsReplies: 0Last Post: 17th May 2011, 14:54
- 
  Multiple Video StreamsBy CthulhuSaves in forum EditingReplies: 7Last Post: 2nd Apr 2011, 20:28


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote