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 ?
Greetings ! StephC:\>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'
![]()
+ Reply to Thread
Results 1 to 12 of 12
-
-
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
-
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
# WinKey + R:
# type:
Code:powershell
Code:wt
# 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
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\
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
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
# 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\"
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
#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
Code:/master.json/
-
@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
[Attachment 78936 - Click to enlarge] -
Thank you everyone, I'm trying to understand all that you sent me.
-
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' -
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 -
-
Similar Threads
-
Trying to download an embedded private Vimeo video
By ourcore in forum Video Streaming DownloadingReplies: 59Last Post: 8th Sep 2024, 15:55 -
yt-dlp error 403 from Vimeo
By jaktchor in forum Video Streaming DownloadingReplies: 7Last Post: 17th Aug 2023, 15:42 -
I cannot download this Vimeo streaming
By giampi in forum Video Streaming DownloadingReplies: 3Last Post: 2nd Sep 2022, 12:27 -
Is it possible to track who download a private video from Vimeo?
By briantv in forum Video Streaming DownloadingReplies: 7Last Post: 22nd May 2022, 12:35 -
Downloading Private/Password Video on Livestream/Vimeo
By AZSloth in forum Video Streaming DownloadingReplies: 9Last Post: 18th Aug 2019, 08:57