Hi all, long time listener, first time caller...
I've been downloading some shows from CBC (Canada), using youtube-dlg. But they end up with the sound drifting.
I found that using XMedia Recode, if I copy the audio & video to separate files, then copy them back into a single mp4, it fixes it all up.
So... I've been looking into command-line options, so I can build a batch file. Something I can feed a URL to, and get a finished product with no more user involvement.
It looks like with youtube-dl, I can download the audio & video as separate files?
I think I read that XMedia Recode uses ffmpeg - should I be using this to merge the streams?
How do I do this from command line?
I also saw that youtube-dl uses ffmpeg - would there be a parameter that I can change, that will fix the merge ytdl does, instead?
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 3 of 3
			
		- 
	
- 
	see here - https://github.com/ytdl-org/youtube-dl/blob/master/README.md#readme 
 
 & for ffmpeg - https://www.ffmpeg.org/documentation.html
- 
	Hi , 
 
 An example , on how-to .
 
 Results for previous commandCode:@echo on chcp 1252 > nul "e:\ytbe\youtube-dl.exe" -F "https://www.arte.tv/fr/videos/083261-001-A/amour-fou-1-3/" pause :fin 
 Choosed 'HTTPS_HQ_1' => New command for catching full vidCode:[info] Available formats for 083261-001-A: format code extension resolution note HLS_XQ_3 m3u8 640x360 VFAUD, Français (audiodescription) 800k HLS_XQ_4 m3u8 720x406 VA-STA, Allemand 1500k HTTPS_MQ_3 mp4 384x216 VFAUD, Français (audiodescription) 300k HTTPS_MQ_4 mp4 384x216 VA-STA, Allemand 300k HTTPS_HQ_3 mp4 640x360 VFAUD, Français (audiodescription) 800k HTTPS_HQ_4 mp4 640x360 VA-STA, Allemand 800k HTTPS_EQ_3 mp4 720x406 VFAUD, Français (audiodescription) 1500k HTTPS_EQ_4 mp4 720x406 VA-STA, Allemand 1500k HTTPS_SQ_3 mp4 1280x720 VFAUD, Français (audiodescription) 2200k HTTPS_SQ_4 mp4 1280x720 VA-STA, Allemand 2200k HLS_XQ_2 m3u8 640x360 VOF-STMF, Français (sourds et malentendants) 800k HTTPS_MQ_2 mp4 384x216 VOF-STMF, Français (sourds et malentendants) 300k HTTPS_HQ_2 mp4 640x360 VOF-STMF, Français (sourds et malentendants) 800k HTTPS_EQ_2 mp4 720x406 VOF-STMF, Français (sourds et malentendants) 1500k HTTPS_SQ_2 mp4 1280x720 VOF-STMF, Français (sourds et malentendants) 2200k HLS_XQ_1 m3u8 720x406 VOF, Français 1500k HTTPS_MQ_1 mp4 384x216 VOF, Français 300k HTTPS_HQ_1 mp4 640x360 VOF, Français 800k HTTPS_EQ_1 mp4 720x406 VOF, Français 1500k HTTPS_SQ_1 mp4 1280x720 VOF, Français 2200k (best) 
 =============================Code:@echo on chcp 1252 > nul "e:\ytbe\youtube-dl.exe" -f HTTPS_HQ_1 "https://www.arte.tv/fr/videos/083261-001-A/amour-fou-1-3/" -o Amour_fou_1sur3.mp4 pause :fin 
 
 DL streams separetly using FFMPEG
 Melting vid & aud using FFMPEGCode:@echo on chcp 1252 > nul "e:\ytbe\youtube-dl.exe" -f HTTPS_HQ_2 "https://www.arte.tv/fr/videos/083261-001-A/amour-fou-1-3/" -o AF_1sur3_vid.mp4 ping localhost -n 5 >nul "e:\ytbe\youtube-dl.exe" -f HTTPS_HQ_3 "https://www.arte.tv/fr/videos/083261-001-A/amour-fou-1-3/" -o AF_1sur3_aud.mp4 pause :fin 
 =============================Code:@echo on chcp 1252 > nul rem === melting vid & aud ; if no problem with aud "e:\ytbe\ffmpeg.exe" -i "AF_1sur3_vid.mp4" -i "AF_1sur3_aud.mp4" -map 0:0 -vcodec copy -map 1:0 -acodec copy "AF_1sur3_ASS1.mp4" ping localhost -n 5 >nul rem === melting vid & aud ; if problem with aud "e:\ytbe\ffmpeg.exe" -i "AF_1sur3_vid.mp4" -i "AF_1sur3_aud.mp4" -map 0:0 -vcodec copy -map 1:0 -bsf:a aac_adtstoasc "AF_1sur3_ASS2.mp4" pause :fin 
 
 Cheers .JE SUIS CHARLIE !!!
Similar Threads
- 
  Need a command line for ffmpegBy NTradd in forum Video ConversionReplies: 11Last Post: 14th Oct 2019, 12:25
- 
  ffmpeg command line helpBy njscorpion in forum Newbie / General discussionsReplies: 2Last Post: 12th Jul 2019, 13:42
- 
  FFmpeg does not convert file through command lineBy Vidikon in forum Newbie / General discussionsReplies: 2Last Post: 5th Jun 2019, 03:13
- 
  Command Line instruction for non-YouTube sitesBy pooksahib in forum Video Streaming DownloadingReplies: 7Last Post: 23rd Jun 2018, 08:16
- 
  ffmpeg command line syntaxBy sambat in forum Newbie / General discussionsReplies: 2Last Post: 14th Dec 2016, 21:01


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