VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Member
    Join Date
    May 2024
    Location
    France
    Search Comp PM
    Hello from France everyone !

    As a newbie, I'm trying to download a video, using command lines and yt-dlp.
    I think I'm not far from a result, but there are still errors...

    Could please someone help on that ?

    C:\>C:\YT\yt-dlp.exe https://58vod-adaptive.akamaized.net/exp=1715236067~acl=%2Fd39afaaa-7fe4-4a18-aeff-d8b...?base64_init=1
    [generic] Extracting URL: https://58vod-adaptive.akamaized.net/exp=1715236067~acl=%2Fd39afaaa-7fe4-4a18-aeff-d8b...?base64_init=1
    [generic] master: Downloading webpage
    WARNING: [generic] Falling back on generic information extractor
    [generic] master: Extracting information
    [info] master: Downloading 1 format(s): video-4405be40+audio-d8ba47bc
    WARNING: You have requested merging of multiple formats but ffmpeg is not installed. The formats won't be merged
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].fvideo-4405be40.mp4.part'. Retrying (1/3)...
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].fvideo-4405be40.mp4.part'. Retrying (2/3)...
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].fvideo-4405be40.mp4.part'. Retrying (3/3)...
    ERROR: unable to open for writing: [Errno 13] Permission denied: 'master [master].fvideo-4405be40.mp4.part'

    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].faudio-d8ba47bc.m4a.part'. Retrying (1/3)...
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].faudio-d8ba47bc.m4a.part'. Retrying (2/3)...
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].faudio-d8ba47bc.m4a.part'. Retrying (3/3)...
    ERROR: unable to open for writing: [Errno 13] Permission denied: 'master [master].faudio-d8ba47bc.m4a.part'
    Greetings ! Steph
    Quote Quote  
  2. use N_m3u8DL-RE and put also ffmpeg on same folder

    then run:
    Code:
    N_m3u8DL-RE "your_mpd_link" -M format=mkv --save-name xxx
    (use arrow key to choose res and space for X, then press enter to start download)
    Quote Quote  
  3. Bonjour eska78,

    There is no written convention (I am no aware of it) where to keep EXEcutable files that are
    not part of Installation package.

    I prefer to keep them in the HOME DIRectory callled "bin" for BINARY

    There are few that are usefull when messing around with Streaming services.

    Windows has Windows Terminal that you can use Command Prompt = CMD or PowerShell = PS

    IMHO PS is better simmilar to BASH in Linux so below commands are for PS.



    # To open up Windows PowerShell (PS) press:
    Code:
    WinKey+x + i
    # or
    # WinKey + R:
    # type:
    Code:
    powershell
    #or
    Code:
    wt
    # [pres ENTER]


    # To maximise the "window" press:
    Code:
    WinKey + "arrow up"

    # ALL THE BELOW COMMANDS HAVE BEEN TESTED AND ARE WORKING IF USED IN PowwerShell


    # Create a "bin" in your HOME dir from PS:
    Code:
    mkdir $home\bin

    # Lets get Aria2 as a downloader and FFMpeg installed (It's missing on your system):
    Code:
    winget install --id aria2.aria2
    winget install --id Gyan.FFmpeg

    #Now download all needed EXEcutable files:
    # YT-DLP
    Code:
    aria2c https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_x86.exe --dir  $home\bin\ -o yt-dlp.exe
    # Cross-Platform, modern and powerful stream downloader for MPD/M3U8/ISM - N_m3u8DL-RE:
    Code:
    aria2c https://github.com/stabbedbybrick/N_m3u8DL-RE/releases/download/20240304/N_m3u8DL-RE_Beta_win-x64.zip --dir $home\Downloads\
    tar -tzf $home\Downloads\N_m3u8DL-RE_Beta_win-x64.zip | findstr N_m3u8DL-RE.exe
    tar -xzvf $home\Downloads\N_m3u8DL-RE_Beta_win-x64.zip -C $home\bin\
    # Shaka Packager
    Code:
    aria2c https://github.com/shaka-project/shaka-packager/releases/download/v3.0.4/packager-win-x64.exe --dir $home\bin\ -o shaka-packager.exe
    # Bento4 MP4 tools:
    Code:
    aria2c https://www.bok.net/Bento4/binaries/Bento4-SDK-1-6-0-641.x86_64-microsoft-win32.zip --dir $home\Downloads\
    tar -tzf $home\Downloads\Bento4-SDK-1-6-0-641.x86_64-microsoft-win32.zip | findstr .exe
    tar --verbose --directory=/Bento4-SDK-1-6-0-641.x86_64-microsoft-win32/bin/ --extract --file=$home\Downloads\Bento4-SDK-1-6-0-641.x86_64-microsoft-win32.zip --strip-components=2 -C $home\bin\ *.exe


    # Add the BIN DIR to Windows PATH you need elevated PS:
    Code:
    WinKey+x + a
    # And "Alt + Y" when "User Account Cotnrol" pop-up window appears.

    # Not sure what your username is? Enter this command into your PS:
    Code:
    $env:UserName

    # And ENTER the below command without the "#" at the start and change your username from "user" to what ever it is on your PC in the PATH.
    Code:
    #setx /M path "%PATH%;c:\Users\user\bin\"
    So if your username was "eska78" the command would look like this:
    Code:
    setx /M path "%PATH%;c:\Users\eska78\bin\"

    # Close all the PowerShell WIndows and open up NEW one and your EXEcutable files will be available in the Windows PATH.
    (Now you can call/execute the below packages from any PATH on your system).
    Code:
    ffprobe -version
    yt-dlp --version
    N_m3u8DL-RE --version
    shaka-packager --version
    mp4decrypt
    Now you are ready to go:


    #Check what is avaiable
    Code:
    yt-dlp --allow-u -F --no-warnings <mpd|m3u8 url>
    yt-dlp --allow-u -f "ID of VIDEO stream+ID of AUDIO stream" --no-warnings <mpd|m3u8 url>

    #N_m3u8DL-RE allows you to select what ever you want to download
    in terms of specific VIDEO/AUDIO/SUBTITELS or ALL


    #To see what is available:
    Code:
    PS D:\PyScript> yt-dlp -F "https://58vod-adaptive.akamaized.net/exp=1715236067~acl=%2Fd39afaaa-7fe4-4a18-aeff-d8b56b458ff9%2F%2A~hmac=312a1d44c8ed15b0ae5142ca71241645ddb5b7417f43251dba3ff2cb0fdfe4c3/d39afaaa-7fe4-4a18-aeff-d8b56b458ff9/sep/video/4405be40,7024d266,850cc45b,b21fea59,c6771780/audio/d8ba47bc,de71a3b0/master.mpd?base64_init=1"
    [generic] Extracting URL: https://58vod-adaptive.akamaized.net/exp=1715236067~acl=%2Fd39afaaa-7fe4-4a18-aeff-d8b56b458ff9%2...er.mpd?base64_init=1
    [generic] master: Downloading webpage
    WARNING: [generic] Falling back on generic information extractor
    [generic] master: Extracting information
    [info] Available formats for master:
    ID             EXT RESOLUTION FPS │   TBR PROTO │ VCODEC        VBR ACODEC      ABR ASR MORE INFO
    ────────────────────────────────────────────────────────────────────────────────────────────────────────────
    audio-de71a3b0 m4a audio only     │  137k https │ audio only        mp4a.40.2  137k 48k DASH audio, m4a_dash
    audio-d8ba47bc m4a audio only     │  268k https │ audio only        mp4a.40.2  268k 48k DASH audio, m4a_dash
    video-7024d266 mp4 426x240     30 │  379k https │ avc1.640015  379k video only          DASH video, mp4_dash
    video-c6771780 mp4 640x360     30 │  630k https │ avc1.64001E  630k video only          DASH video, mp4_dash
    video-b21fea59 mp4 960x540     30 │ 1881k https │ avc1.64001F 1881k video only          DASH video, mp4_dash
    video-850cc45b mp4 1280x720    30 │ 3120k https │ avc1.640020 3120k video only          DASH video, mp4_dash
    video-4405be40 mp4 1920x1080   30 │ 6208k https │ avc1.64002A 6208k video only          DASH video, mp4_dash

    # To download specific resolution/audio "video-7024d266" for 240p and "audio-d8ba47bc" best audio
    Code:
    yt-dlp -f "video-7024d266+audio-d8ba47bc" -o Vimeo.Video.%(ext)s "https://58vod-adaptive.akamaized.net/exp=1715236067~acl=%2Fd39afaaa-7fe4-4a18-aeff-d8b56b458ff9%2F%2A~hmac=312a1d44c8ed15b0ae5142ca71241645ddb5b7417f43251dba3ff2cb0fdfe4c3/d39afaaa-7fe4-4a18-aeff-d8b56b458ff9/sep/video/4405be40,7024d266,850cc45b,b21fea59,c6771780/audio/d8ba47bc,de71a3b0/master.mpd?base64_init=1"

    # And here for N_m3u8DL-RE:
    Code:
    N_m3u8DL-RE -M mp4 -mt --save-name Vimeo.Video "https://58vod-adaptive.akamaized.net/exp=1715236067~acl=%2Fd39afaaa-7fe4-4a18-aeff-d8b56b458ff9%2F%2A~hmac=312a1d44c8ed15b0ae5142ca71241645ddb5b7417f43251dba3ff2cb0fdfe4c3/d39afaaa-7fe4-4a18-aeff-d8b56b458ff9/sep/video/4405be40,7024d266,850cc45b,b21fea59,c6771780/audio/d8ba47bc,de71a3b0/master.mpd?base64_init=1"

    You may also find useful filters for FF/Chrome:
    #FF:
    Code:
    regexp:master.json
    #Ch:
    Code:
    /master.json/
    Last edited by pssh; 7th May 2024 at 18:08.
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  
  4. @pssh
    your post is useless. look better my post#2 written 1 hour before your ...

    @eska78
    yt-dlp work fine. add only ffmpeg on same folder with yt-dlp

    Image
    [Attachment 78936 - Click to enlarge]
    Quote Quote  
  5. Member
    Join Date
    May 2024
    Location
    France
    Search Comp PM
    Originally Posted by LZAA View Post
    Url?
    Thank you everyone, I'm trying to understand all that you sent me.
    Quote Quote  
  6. Member
    Join Date
    May 2024
    Location
    France
    Search Comp PM
    Originally Posted by lomero View Post
    @pssh
    your post is useless. look better my post#2 written 1 hour before your ...

    @eska78
    yt-dlp work fine. add only ffmpeg on same folder with yt-dlp

    Image
    [Attachment 78936 - Click to enlarge]
    Hello and thank you to help me !
    Should I drop the "ffmpeg-7.0-full_build" folder in the same on than yt-dlp ?

    I did but I still have errors :
    C:\>C:\YT\yt-dlp.exe https://58vod-adaptive.akamaized.net/exp=1715236067~acl=%2Fd39afaaa-7fe4-4a18-aeff-d8b...?base64_init=1
    [generic] Extracting URL: https://58vod-adaptive.akamaized.net/exp=1715236067~acl=%2Fd39afaaa-7fe4-4a18-aeff-d8b...?base64_init=1
    [generic] master: Downloading webpage
    WARNING: [generic] Falling back on generic information extractor
    [generic] master: Extracting information
    [info] master: Downloading 1 format(s): video-4405be40+audio-d8ba47bc
    WARNING: You have requested merging of multiple formats but ffmpeg is not installed. The formats won't be merged
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].fvideo-4405be40.mp4.part'. Retrying (1/3)...
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].fvideo-4405be40.mp4.part'. Retrying (2/3)...
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].fvideo-4405be40.mp4.part'. Retrying (3/3)...
    ERROR: unable to open for writing: [Errno 13] Permission denied: 'master [master].fvideo-4405be40.mp4.part'

    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].faudio-d8ba47bc.m4a.part'. Retrying (1/3)...
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].faudio-d8ba47bc.m4a.part'. Retrying (2/3)...
    [download] Unable to open file: [Errno 13] Permission denied: 'master [master].faudio-d8ba47bc.m4a.part'. Retrying (3/3)...
    ERROR: unable to open for writing: [Errno 13] Permission denied: 'master [master].faudio-d8ba47bc.m4a.part'
    Quote Quote  
  7. for me yt-dlp can download, also without ffmpeg
    maybe your version is outdated

    download latest version from here: https://github.com/yt-dlp/yt-dlp/releases/download/2024.04.09/yt-dlp.exe

    and if you want also ffmpeg https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z
    Quote Quote  
  8. Member
    Join Date
    May 2024
    Location
    France
    Search Comp PM
    Originally Posted by lomero View Post
    for me yt-dlp can download, also without ffmpeg
    maybe your version is outdated

    download latest version from here: https://github.com/yt-dlp/yt-dlp/releases/download/2024.04.09/yt-dlp.exe

    and if you want also ffmpeg https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z
    Still had both latest versions, still doesn't work :///
    Quote Quote  
  9. Originally Posted by eska78 View Post
    Still had both latest versions, still doesn't work :///
    Give this a try
    https://forum.videohelp.com/threads/414487-Video-guide-to-get-your-Win-system-set-up-for
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  
  10. Originally Posted by eska78 View Post
    Originally Posted by lomero View Post
    for me yt-dlp can download, also without ffmpeg
    maybe your version is outdated

    download latest version from here: https://github.com/yt-dlp/yt-dlp/releases/download/2024.04.09/yt-dlp.exe

    and if you want also ffmpeg https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z
    Still had both latest versions, still doesn't work :///
    If you want a solution for your problem, then please provide error message you got or screenshots of it to understand more about it.
    Quote Quote  



Similar Threads

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