i have MacOS and I tried to download N_m3u8DL-RE. Every time I try to use it I get the following message in the terminal:
Anyone can help me?Code:zsh: permission denied: N_m3u8DL-RE
+ Reply to Thread
Results 1 to 20 of 20
-
-
-
Any key for
Code:https://streamcdnr13-b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRM_Qatar2022/18682802_3600/manifest_mvnumber.mpd
Code:https://hlsazv3-dc-euwe.akamaized.net/subtl_proxy/d34ba55c-61ab-4d10-abaa-d3c2f1f2afe4/INTEGRALE-20221218202523_18682802.ism/manifest(format=m3u8-aapl)
Last edited by phineferb98; 22nd Dec 2022 at 11:58.
-
you have already another open thread about this ...
https://forum.videohelp.com/threads/407952-Can-t-find-decryption-key -
I'm revising this thread since the discussion pushed to another thread that is not about a Mac.
Another community member was kind enough to help me with links to download from FIFA+ but putting the links into Terminal does not start a download. I should add up front that I'm still running Mojave because it seems like recent updates to the OS don't run MPEGSTreamclip and I need this tool.
Anyway, if I just paste: chmod +x N_m3u8DL-RE then I get the error that was posted above: No such file or directory
If I paste this:
N_m3u8DL-RE "http://du2yfy2plnh46.cloudfront.net/out/v1/e4c092fe088f4823ac15f5b44b81401d/05f2a06e7a13432691c2af65e6f6457d/78876166b4d248c8810202367fd0b421/index.mpd?aws.manifestfilter=audio_language:eng;vi deo_codec:h264;video_height:0-1080" --key a3f1d500805d48b5930bfa84d674c6dd:77625dcc6d09df182 c78972bcf5734b9 --save-dir "media\plus_fifa_com\AFC_Qualifiers_-_Full_Match_Replays" --save-name "1_Vietnam_v_Philippines_Group_F_AFC_Qualifiers_Se cond_Round_FIFA_World_Cup_26tm" -M format=mkv:muxer=mkvmerge
Then I get this error: -bash: N_m3u8DL-RE: command not found
If I paste this:
chmod +x N_m3u8DL-RE "http://du2yfy2plnh46.cloudfront.net/out/v1/e4c092fe088f4823ac15f5b44b81401d/05f2a06e7a13432691c2af65e6f6457d/78876166b4d248c8810202367fd0b421/index.mpd?aws.manifestfilter=audio_language:eng;vi deo_codec:h264;video_height:0-1080" --key a3f1d500805d48b5930bfa84d674c6dd:77625dcc6d09df182 c78972bcf5734b9 --save-dir "media\plus_fifa_com\AFC_Qualifiers_-_Full_Match_Replays" --save-name "1_Vietnam_v_Philippines_Group_F_AFC_Qualifiers_Se cond_Round_FIFA_World_Cup_26tm" -M format=mkv:muxer=mkvmerge
Then I get this error:
No such file or directory
chmod: --key: No such file or directory
chmod: a3f1d500805d48b5930bfa84d674c6dd:77625dcc6d09df182 c78972bcf5734b9: No such file or directory
chmod: --save-dir: No such file or directory
chmod: media\plus_fifa_com\AFC_Qualifiers_-_Full_Match_Replays: No such file or directory
chmod: --save-name: No such file or directory
chmod: 1_Vietnam_v_Philippines_Group_F_AFC_Qualifiers_Sec ond_Round_FIFA_World_Cup_26tm: No such file or directory
chmod: -M: No such file or directory
chmod: format=mkv:muxer=mkvmerge: No such file or directory
Any recommendations to get the N_m3u8DL-RE to work with Terminal? -
Did you download and placed in the same folder:
- N_m3u8DL-RE
- ffmpeg
- mp4decrypt
- mkvmerge
?--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
You have to paste this but only one time :
Code:chmod +x N_m3u8DL-RE
Code:N_m3u8DL-RE "http://du2yfy2plnh46.cloudfront.net/out/v1/e4c092fe088f4823ac15f5b44b81401d/05f2a06e7a13432691c2af65e6f6457d/78876166b4d248c8810202367fd0b421/index.mpd?aws.manifestfilter=audio_language:eng;video_codec:h264;video_height:0-1080" --key a3f1d500805d48b5930bfa84d674c6dd:77625dcc6d09df182c78972bcf5734b9 --save-dir "media\plus_fifa_com\AFC_Qualifiers_-_Full_Match_Replays" --save-name "1_Vietnam_v_Philippines_Group_F_AFC_Qualifiers_Second_Round_FIFA_World_Cup_26tm" -M format=mkv:muxer=mkvmerge
-
The above tells me that you are at inception of your journey to utilize fully HW/SW on your machine
Great to see that you got the "Terminal" working
The "N_m3u8DL-RE" BINary file is missing as Apple does not ship this kind of files by default
and mainly restricts you to stuff that "THEY" deem to be ....... so you need to download it.
Before you download it, you need to know what is your machine processor "architecture"
so you get the right BINary files to work with the processor on your machine.
Code:uname -p
Once you know if it is
- "arm64 - M1, M2.."
or
- "x86_64 - Intel processor"
you can start downloading the BINarries ...
Please have a look at my Linux Guide that "may" have a commands you can utilize.....
and it would be great that you could perhaps produce for others "guide" on how to get started on MacOSonce you figured it all out ...
According to YT-DLP, you can also install the binaries in "/usr/local/bin/" on Mac osX.
Assuming that BINary files can on MacOS be placed in "/usr/local/bin/" you could get the "N_m3u8DL-RE" installed in 3 steps:
1] Download it via Terminal or any other method ... Web Browser (assuming you have arm64 - M1, M2....)
Code:cd ~/Downloads/ curl -kLO https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.0-beta/N_m3u8DL-RE_Beta_osx-arm64_20230628.tar.gz
2] Extract to "/usr/local/bin/"
Code:tar -xzvf N_m3u8DL-RE_Beta_osx-arm64_20230628.tar.gz -C /usr/local/bin/ --strip-components=1 N_m3u8DL-RE_Beta_osx-arm64/N_m3u8DL-RE
Code:chmod --help
Code:chmod +x /usr/local/bin/N_m3u8DL-RE
4] Check that all of the above have worked
Code:N_m3u8DL-RE --version
Also, maybe you want to explore the HomeBrew
(The Missing Package Manager for macOS (or Linux))
https://brew.sh/
and make it easier to install stuff on your machine.
If you want to,
you could compile Latest version of N_m3u8DL-RE on your Mac
https://github.com/nilaoda/N_m3u8DL-RE/blob/main/.github/workflows/build_latest.yml
you would need to install .NET
https://learn.microsoft.com/en-us/dotnet/core/install/macos
#Latest stable from Micro$oft
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.302-macos-arm64-installer
#Using Brew
https://formulae.brew.sh/cask/dotnet
#Check it's installed properly:
Code:dotnet publish -h
#Clone the N_m3u8DL-RE project
Code:git clone https://github.com/nilaoda/N_m3u8DL-RE.git cd N_m3u8DL-RE
#Compile (for arm64)
Code:dotnet publish src/N_m3u8DL-RE -r osx-arm64 -c Release -o artifact-arm64
#Check:
Code:./artifact/N_m3u8DL-RE --version
Ref:
https://medium.com/@donald.murillo07/how-to-check-the-processor-architecture-on-your-m...c-541829ec2d5f
https://superuser.com/questions/148500/determine-the-architecture-of-a-mac-from-the-co...line-or-script
https://discussions.apple.com/thread/253487223
https://stackoverflow.com/questions/51689294/how-to-extract-tar-file-in-mac-terminal -
Thanks for these replies. I have all of the binaries in the bin folder except MKVmerge. I have MKVTools (GUI) already and use that regularly, but my search for the binary leads me back to the GUI.
https://mkvtoolnix.download/downloads.html
There is a note about Homebrew, but I run into a circle with homebrew because I am still running an older OS.
When I run the code that AQZS posted above for the match I want to download, I receive this error:
dyld: Library not loaded: /System/Library/Frameworks/CryptoKit.framework/Versions/A/CryptoKit
Referenced from: /usr/local/bin/N_m3u8DL-RE
Reason: image not found
I found this thread about Cryptokit and assume that I am stuck since the discussion notes that the installer will only work with Mac OS 10.15 and newer. I'm running 10.14 (again because MPEGSTreamclip seems to stop working after 10.14 and it is a very useful tool for me with MP4 and MPG/DVD edits).
https://github.com/dotnet/runtime/issues/93167 -
Am I correct in thinking that this OS version is unsupported as of October 2021......
Also check this out:
Running Linux on an older iMac? (8 mo. ago)
https://www.reddittorjg6rue252oqsxryoxengawnmo46qy4kyii5wtqnwfj4ooad.onion/r/linuxques...an_older_imac/ -
Thanks for the replies. I am going to bring home a work laptop that is updated to the current OS and I will send a report since I expect that will work. I appreciate all of the advice.
-
Your Cryptokit dyld (Dynamic Library) that is being called was only placed into macOS in Ventura, and you are running on Mojave. Therefore when your software calls it - it can't locate. The solution is to run an old version of N_m3u8 (if one exists that supports it, though it would have to be extremely old). Alternatively, update macOS and ditch MPEGSTreamclip - far superior tools exist! -
Additionally, @danielmak - Mojave was fully out of support in 2021.... you have not had any security updates since then! I would really recommend upgrading, especially if you are running random scripts and stuff that you find on the internet.
-
Thanks for this info.
I love MPEGStreamclip. I collect old and new football matches. A lot of the DVDs have problems with timecode breaks or data breaks and I can easily remove those breaks (esp. when working on a project where I am syncing English audio to another video). Cutting and/or trimming is super easy and super fast (MPG and HD MP4) and all of these moves happen without re-encoding. I have tried Handbrake and it's not as easy, it re-encodes as far as I could tell last time I tried it, and not as simple. I say all of this as someone who has experience editing audio with programs like Audition, so I'm not adverse to learning more sophisticated tools. But MPEGStreamclip and MyDVDEdit have been dream programs for a DVD collector. -
I guess if you want to keep your "MPEGStreamclip"
then one other way you could get the "N_m3u8DL-RE" and utilize tools mentioned here is to use Virtual Machine with minimal Linux Distro on your Mac,
if possible at all ....maybe even headless setup would work to save space
Maybe even "docker/podman" would work
https://forum.videohelp.com/threads/414856#post2739494 -
Hello,
I bought my first Macbook Air and im trying to install the N_m3u8DL-RE following your guide here.
I get this error:
Code:MacBook-Air ~ % tar -xzvf N_m3u8DL-RE_Beta_osx-arm64_20230628.tar.gz -C /usr/local/bin/ --strip-components=1 N_m3u8DL-RE_Beta_osx-arm64/N_m3u8DL-RE tar: could not chdir to '/usr/local/bin/'
-
I guess that you have not used "sudo" in order to extract/write into system DIR "/usr/local/bin/"
#Download to "Downloads" DIRectory;
#Make sure to get the correct version
🔗 osx-arm64.tar.gz Apple Silicon(M1/M2)macOS
https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.3.0-beta/N_m3u8DL-RE_v0.3....0241203.tar.gz
Code:cd ~/Downloads curl -kLO https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.3.0-beta/N_m3u8DL-RE_v0.3.0-beta_osx-arm64_20241203.tar.gz
🔗 osx-x64.tar.gz Intel macOS
https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.3.0-beta/N_m3u8DL-RE_v0.3....0241203.tar.gz
Code:cd ~/Downloads curl -kLO https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.3.0-beta/N_m3u8DL-RE_v0.3.0-beta_osx-x64_20241203.tar.gz
REPLACE
N_m3u8DL-RE_v0.3.0-beta_osx-arm64_20241203.tar.gz
with
N_m3u8DL-RE_v0.3.0-beta_osx-x64_20241203.tar.gz
below
if you have Intel macOS in the commands ......
Method [1]
Code:# Check the TAR.GZ archive; tar -tvvf N_m3u8DL-RE_v0.3.0-beta_osx-arm64_20241203.tar.gz # Unpack directly to "/usr/local/bin/"; sudo tar xvf N_m3u8DL-RE_v0.3.0-beta_osx-arm64_20241203.tar.gz -C /usr/local/bin/ --verbose # Make the file "EXEcutable"; sudo chmod a+rx /usr/local/bin/N_m3u8DL-RE # List the file; ls -ilha /usr/local/bin/N* # Check the version; N_m3u8DL-RE --version
Code:#OR (I have noticed that new version of Debian 13/Trixie does not allow to unpack/untar directly into the "/usr/local/bin/" DIRectory, so just in case macOS does the same ...) tar -tvvf N_m3u8DL-RE_v0.3.0-beta_osx-arm64_20241203.tar.gz tar -xvf N_m3u8DL-RE_v0.3.0-beta_osx-arm64_20241203.tar.gz N_m3u8DL-RE sudo mv N_m3u8DL-RE /usr/local/bin/ sudo chmod a+rx /usr/local/bin/N_m3u8DL-RE ls -ilha /usr/local/bin/N* N_m3u8DL-RE --version
Code:#OR (Untar to local BINary DIrectory) no SUDO needed ... tar xvf N_m3u8DL-RE_v0.3.0-beta_osx-arm64_20241203.tar.gz -C ~/.local/bin/ --verbose chmod a+rx ~/.local/bin/N_m3u8DL-RE ls -ilha ~/.local/bin/ N_m3u8DL-RE --version
Similar Threads
-
N_m3u8DL-RE live output ?
By lasauce35 in forum Video Streaming DownloadingReplies: 19Last Post: 30th Nov 2024, 17:29 -
N_m3u8DL-RE subtitle
By ahmedani in forum Video Streaming DownloadingReplies: 4Last Post: 7th Dec 2022, 09:30 -
n_m3u8dl, no audio files?
By Xfinger in forum Video Streaming DownloadingReplies: 3Last Post: 14th Jan 2022, 07:15 -
N_m3u8DL-CLI Alternative?
By oknchm in forum Video Streaming DownloadingReplies: 9Last Post: 26th Dec 2021, 07:14 -
Unable to use N_m3u8DL because of | in header
By ng.newbie in forum Video Streaming DownloadingReplies: 7Last Post: 28th Sep 2021, 13:21