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 5 of 5
Thread
  1. Good morning,
    I created a batch file to download the automation or manual video but problem decrypting the video error (see photo)
    Image
    [Attachment 78117 - Click to enlarge]

    Image
    [Attachment 78118 - Click to enlarge]


    My code batch :
    Code:
    N_m3u8DL-RE "%MPD%" --key %Keys% -M format=mp4 --save-dir "./Downloads" --save-name "%Noms%"
    can you tell me where the problem comes from?
    Quote Quote  
  2. maybe wrong key ?

    test it manually. download and decrypt. if all work, issue is on your script. but isn't work, you have get wrong key. simply
    Quote Quote  
  3. Hello lomero,

    I found the solution to my problem while saving the key to a text file with WKS-KEYS, I had saved the key:kid like this to a text file. to decrypt the video with mp4decrypt. you must use KID:KEY to decrypt the video.
    Quote Quote  
  4. here is my batch cmd in French:
    @ECHO OFF
    Title Download Video M6 Replay
    mode 200,100 & color 0A
    if not exist "Downloads" md "Downloads"
    if not exist N_m3u8DL-RE.exe goto nothere
    goto Name
    :nothere
    echo Attention il vous manque le executable N_m3u8DL-RE. Veuillez le laisser dans le meme dossier que ce fichier batch
    pause
    exit
    :Name
    color A
    cls
    echo. _____ __ _ _
    echo. ^|_ _^| / _^| ^| ^| ^(_^)
    echo. ^| ^| _ __ ^| ^|_ ___ _ __ _ __ ___ __ _^| ^|_ _ ___ _ __
    echo. ^| ^| ^| '_ \^| _/ _ \^| '__^| '_ ` _ \ / _` ^| __^| ^|/ _ \^| '_ \
    echo. _^| ^|_^| ^| ^| ^| ^|^| ^(_^) ^| ^| ^| ^| ^| ^| ^| ^| ^(_^| ^| ^|_^| ^| ^(_^) ^| ^| ^| ^|_ _ _
    echo. ^|_____^|_^| ^|_^|_^| \___/^|_^| ^|_^| ^|_^| ^|_^|\__,_^|\__^|_^|\___/^|_^| ^|_^(_^|_^|_^)
    echo.
    echo.
    echo Downloader Video M6 Replay
    echo.
    echo --------------------------------------------------------------------
    echo Caracteres sont interdits dans le nom du fichier : \ / : * ? " < > |
    echo --------------------------------------------------------------------
    SET /P Noms="Veuillez entrer un noms de la video : "
    if "%Noms%" == "" Goto Name
    tart
    SET /P MPD="Entrer le lien MPD de la video : "
    IF "%MPD%" == "" GOTO start
    if exist "Key.txt" (
    goto Download
    ) else (
    goto key
    )
    :Key
    SET /P Keys="Entrer la cle de decryptage (Kid:Key): "
    IF "%Keys%" == "" GOTO Key
    cls
    ECHO __ _____ ____ _____ ___
    echo \ \ / /_ _^| _ \^| ____/ _ \
    echo \ \ / / ^| ^|^| ^| ^| ^| _^|^| ^| ^| ^|
    echo \ V / ^| ^|^| ^|_^| ^| ^|__^| ^|_^| ^|
    echo \_/ ^|___^|____/^|_____\___/
    echo.
    ECHO Telechargement de la video.
    ECHO.
    echo la cle decryptage : %Keys%
    echo.
    echo.
    N_m3u8DL-RE -M format=mp4 "%MPD%" --key "%Keys%" --save-dir "./Downloads" --save-name "%Noms%"
    color 6
    cls
    echo ____ ___ __ __ ____ _ _____ _____ _____
    echo / ___/ _ \^| \/ ^| _ \^| ^| ^| ____^|_ _^| ____^|
    echo ^| ^| ^| ^| ^| ^| ^|\/^| ^| ^|_) ^| ^| ^| _^| ^| ^| ^| _^|
    echo ^| ^|__^| ^|_^| ^| ^| ^| ^| __/^| ^|___^| ^|___ ^| ^| ^| ^|___
    echo \____\___/^|_^| ^|_^|_^| ^|_____^|_____^| ^|_^| ^|_____^|
    echo.
    rd /s /q "Logs"
    pause
    goto Name
    ownload
    cls
    ECHO __ _____ ____ _____ ___
    echo \ \ / /_ _^| _ \^| ____/ _ \
    echo \ \ / / ^| ^|^| ^| ^| ^| _^|^| ^| ^| ^|
    echo \ V / ^| ^|^| ^|_^| ^| ^|__^| ^|_^| ^|
    echo \_/ ^|___^|____/^|_____\___/
    echo.
    ECHO Telechargement de la video.
    ECHO.
    for /f "delims=: tokens=1,2" %%a in (Key.txt) do set $Fichier=%%a:%%b
    if %%~za neq 1 (
    echo la cle decryptage : %$Fichier%
    echo.
    echo.
    N_m3u8DL-RE -M format=mp4 "%MPD%" --key "%$Fichier%" --save-dir "./Downloads" --save-name "%Noms%"
    ) else (
    color 4
    echo Attention le fichier Key.txt est vide.
    )
    color 6
    cls
    echo.
    echo ____ ___ __ __ ____ _ _____ _____ _____
    echo / ___/ _ \^| \/ ^| _ \^| ^| ^| ____^|_ _^| ____^|
    echo ^| ^| ^| ^| ^| ^| ^|\/^| ^| ^|_) ^| ^| ^| _^| ^| ^| ^| _^|
    echo ^| ^|__^| ^|_^| ^| ^| ^| ^| __/^| ^|___^| ^|___ ^| ^| ^| ^|___
    echo \____\___/^|_^| ^|_^|_^| ^|_____^|_____^| ^|_^| ^|_____^|
    echo.
    rd /s /q "Logs"
    del Key.txt
    pause
    goto Name
    Quote Quote  
  5. Originally Posted by sesamap159 View Post
    Hello lomero,

    I found the solution to my problem while saving the key to a text file with WKS-KEYS, I had saved the key:kid like this to a text file. to decrypt the video with mp4decrypt. you must use KID:KEY to decrypt the video
    nice
    Quote Quote  



Similar Threads

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