Hi guys, I have created a list of files
myFileList.txt
url.m3u8
url.m3u8
url.m3u8
to download with ffmpeg this is the line:
setlocal enableelayeexpansion
set index=0
for /f "delims=" %%i in (myfilelist.txt) do (
set /a index+=1
ffmpeg.exe -i %%i -c copy "new folder%%~ni.mp4"
)
downloads the first file, but the second one is overwritten, because it doesn't change the name.
How can I do for example to get
01.mp4
02.mp4
03.mp4
etc.
thanks, for any help.
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 2 of 2
			
		Similar Threads
- 
  How to batch convert/multiplex any files with ffmpegBy Baldrick in forum User guidesReplies: 215Last Post: 1st Dec 2023, 12:38
- 
  Need help writing an ffmpeg script to batch split many video files by sizeBy manav in forum Newbie / General discussionsReplies: 11Last Post: 6th Aug 2020, 18:37
- 
  Use ffmpeg to batch screenshots of many video filesBy MC23 in forum Newbie / General discussionsReplies: 4Last Post: 11th May 2020, 02:57
- 
  FFMPEG: how to batch extract all audio streams into separate mono files?By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 14th Aug 2019, 16:21
- 
  ffmpeg - How to batch screen grab from multiple video files?By Gameshow Host in forum Newbie / General discussionsReplies: 4Last Post: 2nd May 2019, 08:04


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

 Quote
 Quote