VideoHelp Forum
+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. 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:

    Code:
    zsh: permission denied: N_m3u8DL-RE
    Anyone can help me?
    Quote Quote  
  2. Code:
    chmod +x N_m3u8DL-RE
    Quote Quote  
  3. Originally Posted by cedric8528 View Post
    Code:
    chmod +x N_m3u8DL-RE
    I get this warning:
    Code:
    chmod: N_m3u8DL-RE: No such file or directory
    Quote Quote  
  4. edit
    Last edited by lomero; 22nd Dec 2022 at 15:49.
    Quote Quote  
  5. Any key for
    Code:
    https://streamcdnr13-b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRM_Qatar2022/18682802_3600/manifest_mvnumber.mpd
    or for

    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.
    Quote Quote  
  6. Member
    Join Date
    Aug 2006
    Location
    off the purple line
    Search Comp PM
    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?
    Quote Quote  
  7. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Did you download and placed in the same folder:
    - N_m3u8DL-RE
    - ffmpeg
    - mp4decrypt
    - mkvmerge
    ?
    --[----->+<]>.++++++++++++.---.--------.
    [*Have questions about widefrog? You can find all your answers here*]
    Quote Quote  
  8. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by danielmak View Post
    Any recommendations to get the N_m3u8DL-RE to work with Terminal?
    You have to paste this but only one time :
    Code:
    chmod +x N_m3u8DL-RE
    After just run :
    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
    Quote Quote  
  9. Originally Posted by danielmak View Post
    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?

    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 MacOS once 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
    3] Make it executable by the osX
    Code:
    chmod --help
    Should produce an helpful information for you.

    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
    Last edited by pssh; 13th Jun 2024 at 05:42.
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy.
    Quote Quote  
  10. Member
    Join Date
    Aug 2006
    Location
    off the purple line
    Search Comp PM
    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
    Quote Quote  
  11. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by danielmak View Post
    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).
    If you are not updating to keep this tool I can suggest you others tools. There is handbrake for compression, encoding and converting. For muxing take a look at ffmpeg and mkvmerge !
    Quote Quote  
  12. Originally Posted by danielmak View Post
    I'm running 10.14
    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/
    Last edited by pssh; 14th Jun 2024 at 10:26.
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy.
    Quote Quote  
  13. Member
    Join Date
    Aug 2006
    Location
    off the purple line
    Search Comp PM
    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.
    Quote Quote  
  14. Originally Posted by danielmak View Post
    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

    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!
    Quote Quote  
  15. 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.
    Quote Quote  
  16. Member
    Join Date
    Aug 2006
    Location
    off the purple line
    Search Comp PM
    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.
    Quote Quote  
  17. 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
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy.
    Quote Quote  



Similar Threads

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