VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Aug 2021
    Location
    Spain
    Search Comp PM
    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.
    Quote Quote  
  2. %%(title)s.%%(ext)s
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!