Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Test] Run N_m3u8DL-RE on Android-arm64 with Termux #10

Open
nilaoda opened this issue Aug 20, 2022 · 19 comments
Open

[Test] Run N_m3u8DL-RE on Android-arm64 with Termux #10

nilaoda opened this issue Aug 20, 2022 · 19 comments

Comments

@nilaoda
Copy link
Owner

nilaoda commented Aug 20, 2022

Install Termux

Termux Get Storage Access

termux-setup-storage

Allow prompt, then restart Termux.

Config Ubuntu

pkg up -y
pkg install proot-distro
proot-distro install ubuntu
proot-distro login ubuntu

Get Apps

On Ubuntu:

  • mkdir
mkdir /RE
cd /RE
  • requirements
apt update
apt install wget
apt install unzip
apt-get install libicu-dev
  • ffmpeg
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-arm64-static.tar.xz
tar -xvf ffmpeg-release-arm64-static.tar.xz --wildcards '*/ffmpeg' -O > ./ffmpeg
chmod +x ./ffmpeg
  • RE
wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip
unzip N_m3u8DL-RE_Beta_linux-arm64.zip
chmod +x ./N_m3u8DL-RE

Note: replace 2905367163 with latest id (Actions)

Test

./N_m3u8DL-RE --tmp-dir /sdcard/Download --save-dir /sdcard/Download --save-name TEST "http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes.m3u8"

ZVJRK)VM(TGE6Z1PF G12(A

@xhlove
Copy link

xhlove commented Aug 23, 2022

如果想用电脑远程操作,termux配合ttyd可以获得更好的使用体验(

ttyd -t fontSize=22 -t 'theme={"background": "#282A36", "foreground": "#F8F8F2", "cursor": "#F8F8F2", "selection": "#44475A"}' bash

image

@popsc30
Copy link

popsc30 commented Oct 24, 2022

Have tried release version of "https://github.com/nilaoda/N_m3u8DL-RE/actions/runs/3307213970"; [Version month Oct]
Neither work in "termux" nor "termux-proot-ubuntu-distro";
And here is the issue in termux:
when I exec the ./N_m3u8DL-RE, it returned nothing;
in termux-proot-ubuntu-distro
when I exec the ./N_m3u8DL-RE, it returned segment fault;

while I tried N_m3u8DL-RE (Beta version) 20220914 of "https://github.com/nilaoda/N_m3u8DL-RE/actions/runs/3052755353"
It works, but when ffmpeg merging, and the end, it showed the "Too many open files" error;

@nilaoda
Copy link
Owner Author

nilaoda commented Oct 24, 2022

@popsc30 Fixed in latest Release

@yf718
Copy link

yf718 commented Aug 14, 2023

大佬,v0.1.5.3-beta还能用,v0.2.0-beta无法使用,也没报错信息,但我改用net7.0打包就好了 @nilaoda

@nilaoda
Copy link
Owner Author

nilaoda commented Sep 12, 2023

大佬,v0.1.5.3-beta还能用,v0.2.0-beta无法使用,也没报错信息,但我改用net7.0打包就好了 @nilaoda

等有空我搞一个安卓静态编译的吧

@A-nglea
Copy link

A-nglea commented Nov 3, 2023

Followed test example precisely and not working with Latest Android V14. When run from the command line gives no response to N_m3u8DL-RE --help.
Would really value a specific build for Termux or proot-distro Ubuntu

@A-nglea
Copy link

A-nglea commented Nov 5, 2023

~ $ proot-distro login ubuntu
root@localhost:~# wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/6656210042/N_m3u8DL-RE_Beta_linux-arm64.zip
--2023-11-05 11:21:07-- https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/6656210042/N_m3u8DL-RE_Beta_linux-arm64.zip
Resolving nightly.link (nightly.link)... 2001:19f0:5001:3a1:5400:ff:fe59:31d1, 45.32.185.199
Connecting to nightly.link (nightly.link)|2001:19f0:5001:3a1:5400:ff:fe59:31d1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://pipelinesghubeus10.actions.githubusercontent.com/VxtghUz2kNT0fliRIayK9Q9TeJXB8SOy6yioO9dq8pS0r23g7d/_apis/pipelines/1/runs/140/signedartifactscontent?artifactName=N_m3u8DL-RE_Beta_linux-arm64&urlExpires=2023-11-05T11%3A22%3A06.9118961Z&urlSigningMethod=HMACV2&urlSignature=Qeq%2FHT0uYjK423Gmvu7cBBKxLf6otaCjW5ORHy7b2GI%3D [following]
--2023-11-05 11:21:08-- https://pipelinesghubeus10.actions.githubusercontent.com/VxtghUz2kNT0fliRIayK9Q9TeJXB8SOy6yioO9dq8pS0r23g7d/_apis/pipelines/1/runs/140/signedartifactscontent?artifactName=N_m3u8DL-RE_Beta_linux-arm64&urlExpires=2023-11-05T11%3A22%3A06.9118961Z&urlSigningMethod=HMACV2&urlSignature=Qeq%2FHT0uYjK423Gmvu7cBBKxLf6otaCjW5ORHy7b2GI%3D
Resolving pipelinesghubeus10.actions.githubusercontent.com (pipelinesghubeus10.actions.githubusercontent.com)... 20.102.38.122
Connecting to pipelinesghubeus10.actions.githubusercontent.com (pipelinesghubeus10.actions.githubusercontent.com)|20.102.38.122|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘N_m3u8DL-RE_Beta_linux-arm64.zip’

N_m3u8DL-RE_Beta_linux- [ <=> ] 7.87M 5.28MB/s in 1.5s

2023-11-05 11:21:10 (5.28 MB/s) - ‘N_m3u8DL-RE_Beta_linux-arm64.zip’ saved [8253983]

root@localhost:# unzip N_m3u8DL-RE_Beta_linux-arm64.zip
Archive: N_m3u8DL-RE_Beta_linux-arm64.zip
inflating: N_m3u8DL-RE
root@localhost:
# chmod +x N_m3u8DL-RE
root@localhost:# ./N_m3u8DL-RE
And later...
~ $ proot-distro login ubuntu
root@localhost:
# cd RE
root@localhost:/RE# ./N_m3u8DL-RE https://itvpnpdotcom.blue.content.itv.com/Y-1191-0021-002/34/1/VAR028-HD-s/Y-1191-0021-002_34_1_VAR028-HD-s.ism/.mpd?filter=%28%28type%3D%3D%22video%22%26%26DisplayHeight%3C%3D720%29%7C%7C%28type%21%3D%22video%22%29%29&hdnea=st%3D1699179122~exp%3D1699200722~acl%3D/Y-1191-0021-002/%2A~hmac%3Daf5acacbbaf2529635258aa0b3fc97bdcd971097862f475e7803dd05b4828d6e
[1] 2856
root@localhost:
/RE# ps -A
PID TTY TIME CMD
1493 pts/0 00:00:01 /data/data/com.termux/files/usr/bin/bash
2600 pts/1 00:00:00 proot
2845 /proc/2600/fd/2 00:00:00 /bin/bash
2860 /proc/2600/fd/2 00:00:00 ps
4596 ? 00:00:01 sshd
27334 ? 00:00:05 /data/data/com.termux/files/usr/bin/sshd
27344 /proc/2600/fd/2 00:00:00 /data/data/com.termux/files/usr/bin/bash
[1]+ Exit 255 ./N_m3u8DL-RE https://itvpnpdotcom.blue.content.itv.com/Y-1191-0021-002/34/1/VAR028-HD-s/Y-1191-0021-002_34_1_VAR028-HD-s.ism/.mpd?filter=%28%28type%3D%3D%22video%22%26%26DisplayHeight%3C%3D720%29%7C%7C%28type%21%3D%22video%22%29%29
root@localhost:~/RE#

@vigilantejustice15
Copy link

vigilantejustice15 commented Feb 19, 2024

Help, can't download it, i use the latest id.

EDIT: nevermind, i download again from different links.

@vigilantejustice15
Copy link

vigilantejustice15 commented Feb 19, 2024

wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/6851479504/N_m3u8DL-RE_Beta_linux-arm64.zip
unzip N_m3u8DL-RE_Beta_linux-arm64.zip
sudo chmod +x ./N_m3u8DL-RE
--2024-02-19 12:12:13-- https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/6851479504/N_m3u8DL-RE_Beta_linux-arm64.zip
Resolving nightly.link (nightly.link)... 2001:19f0:5001:3a1:5400:ff:fe59:31d1, 45.32.185.199
Connecting to nightly.link (nightly.link)|2001:19f0:5001:3a1:5400:ff:fe59:31d1|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-02-19 12:12:14 ERROR 404: Not Found.

unzip: cannot find or open N_m3u8DL-RE_Beta_linux-arm64.zip, N_m3u8DL-RE_Beta_linux-arm64.zip.zip or N_m3u8DL-RE_Beta_linux-arm64.zip.ZIP.
chmod: cannot access './N_m3u8DL-RE': No such file or directory

EDIT: FIXED

@LbsLightX
Copy link

Help, can't download it, i use the latest id.

EDIT: nevermind, i download again from different links.

Hey I'm having same issue mind if u tell which link you used or maybe what exactly you replaced in wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip
unzip N_m3u8DL-RE_Beta_linux-arm64.zip
chmod +x ./N_m3u8DL-RE

@LbsLightX
Copy link

wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/6851479504/N_m3u8DL-RE_Beta_linux-arm64.zip
unzip N_m3u8DL-RE_Beta_linux-arm64.zip
sudo chmod +x ./N_m3u8DL-RE
--2024-02-19 12:12:13-- https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/6851479504/N_m3u8DL-RE_Beta_linux-arm64.zip
Resolving nightly.link (nightly.link)... 2001:19f0:5001:3a1:5400:ff:fe59:31d1, 45.32.185.199
Connecting to nightly.link (nightly.link)|2001:19f0:5001:3a1:5400:ff:fe59:31d1|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-02-19 12:12:14 ERROR 404: Not Found.

unzip: cannot find or open N_m3u8DL-RE_Beta_linux-arm64.zip, N_m3u8DL-RE_Beta_linux-arm64.zip.zip or N_m3u8DL-RE_Beta_linux-arm64.zip.ZIP.
chmod: cannot access './N_m3u8DL-RE': No such file or directory

EDIT: FIXED

Having exact same problem

@vigilantejustice15
Copy link

Help, can't download it, i use the latest id.
EDIT: nevermind, i download again from different links.

Hey I'm having same issue mind if u tell which link you used or maybe what exactly you replaced in wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip unzip N_m3u8DL-RE_Beta_linux-arm64.zip chmod +x ./N_m3u8DL-RE

If i'am not wrong i tried download using this link. You can tried it.

https://github.com/nilaoda/N_m3u8DL-RE/releases

I'm using the "Beta linux arm64".

@LbsLightX
Copy link

LbsLightX commented Feb 25, 2024

Help, can't download it, i use the latest id.
EDIT: nevermind, i download again from different links.

Hey I'm having same issue mind if u tell which link you used or maybe what exactly you replaced in wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip unzip N_m3u8DL-RE_Beta_linux-arm64.zip chmod +x ./N_m3u8DL-RE

If i'am not wrong i tried download using this link. You can tried it.

https://github.com/nilaoda/N_m3u8DL-RE/releases

I'm using the "Beta linux arm64".

Hey thanks Really helped me well I'm not a tech guy i just follow the guide but I not sure what to do next

You see..

I did replace "wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip" with "wget https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.0-beta/N_m3u8DL-RE_Beta_linux-arm64_20230628.tar.gz" ignoring the ID thing they ask to update

Plus link was in "tar.gz" so I used "tar -xvf" to unzip it and it did.

But the when I tried to run "chmod +x ./N_m3u8DL-RE" it's says "cannot access './N_m3u8DL-RE': No such file or directory"Screenshot_2024-02-25-07-54-55-22_84d3000e3f4017145260f7618db1d683.jpg
It would a big help if you tell me a bit more

@vigilantejustice15
Copy link

Help, can't download it, i use the latest id.
EDIT: nevermind, i download again from different links.

Hey I'm having same issue mind if u tell which link you used or maybe what exactly you replaced in wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip unzip N_m3u8DL-RE_Beta_linux-arm64.zip chmod +x ./N_m3u8DL-RE

If i'am not wrong i tried download using this link. You can tried it.
https://github.com/nilaoda/N_m3u8DL-RE/releases
I'm using the "Beta linux arm64".

Hey thanks Really helped me well I'm not a tech guy i just follow the guide but I not sure what to do next

You see..

I did replace "wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip" with "wget https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.0-beta/N_m3u8DL-RE_Beta_linux-arm64_20230628.tar.gz" ignoring the ID thing they ask to update

Plus link was in "tar.gz" so I used "tar -xvf" to unzip it and it did.

But the when I tried to run "chmod +x ./N_m3u8DL-RE" it's says "cannot access './N_m3u8DL-RE': No such file or directory"Screenshot_2024-02-25-07-54-55-22_84d3000e3f4017145260f7618db1d683.jpg It would a big help if you tell me a bit more

there's still a folder in there you can try this command.

cd N_m3u8DL-RE_Beta_linux-arm64
chmod +x ./N_m3u8DL-RE

@LbsLightX
Copy link

Help, can't download it, i use the latest id.
EDIT: nevermind, i download again from different links.

Hey I'm having same issue mind if u tell which link you used or maybe what exactly you replaced in wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip unzip N_m3u8DL-RE_Beta_linux-arm64.zip chmod +x ./N_m3u8DL-RE

If i'am not wrong i tried download using this link. You can tried it.
https://github.com/nilaoda/N_m3u8DL-RE/releases
I'm using the "Beta linux arm64".

Hey thanks Really helped me well I'm not a tech guy i just follow the guide but I not sure what to do next

You see..

I did replace "wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip" with "wget https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.0-beta/N_m3u8DL-RE_Beta_linux-arm64_20230628.tar.gz" ignoring the ID thing they ask to update

Plus link was in "tar.gz" so I used "tar -xvf" to unzip it and it did.

But the when I tried to run "chmod +x ./N_m3u8DL-RE" it's says "cannot access './N_m3u8DL-RE': No such file or directory"Screenshot_2024-02-25-07-54-55-22_84d3000e3f4017145260f7618db1d683.jpg It would a big help if you tell me a bit more

there's still a folder in there you can try this command.

cd N_m3u8DL-RE_Beta_linux-arm64
chmod +x ./N_m3u8DL-RE

Oh Thanks mate it worked appreciated 👍

@RAGAVANM1
Copy link

Help, can't download it, i use the latest id.
EDIT: nevermind, i download again from different links.

Hey I'm having same issue mind if u tell which link you used or maybe what exactly you replaced in wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip unzip N_m3u8DL-RE_Beta_linux-arm64.zip chmod +x ./N_m3u8DL-RE

If i'am not wrong i tried download using this link. You can tried it.
https://github.com/nilaoda/N_m3u8DL-RE/releases
I'm using the "Beta linux arm64".

Hey thanks Really helped me well I'm not a tech guy i just follow the guide but I not sure what to do next
You see..
I did replace "wget https://nightly.link/nilaoda/N_m3u8DL-RE/actions/runs/2905367163/N_m3u8DL-RE_Beta_linux-arm64.zip" with "wget https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.0-beta/N_m3u8DL-RE_Beta_linux-arm64_20230628.tar.gz" ignoring the ID thing they ask to update
Plus link was in "tar.gz" so I used "tar -xvf" to unzip it and it did.
But the when I tried to run "chmod +x ./N_m3u8DL-RE" it's says "cannot access './N_m3u8DL-RE': No such file or directory"Screenshot_2024-02-25-07-54-55-22_84d3000e3f4017145260f7618db1d683.jpg It would a big help if you tell me a bit more

there's still a folder in there you can try this command.
cd N_m3u8DL-RE_Beta_linux-arm64
chmod +x ./N_m3u8DL-RE

Oh Thanks mate it worked appreciated 👍

Me Not working Why Bro?

@yffbit
Copy link

yffbit commented Apr 12, 2024

大佬,v0.1.5.3-beta还能用,v0.2.0-beta无法使用,也没报错信息,但我改用net7.0打包就好了 @nilaoda

.bashrc中添加export DOTNET_GCHeapHardLimit=1C0000000
如果不行,安装apt install -y dotnet-sdk-8.0后再试
参考
https://www.cnblogs.com/q-z-lin/p/18008593
dotnet/runtime#85556 (comment)
termux/proot#283 (comment)

@DecosSoft
Copy link

DecosSoft commented Apr 20, 2024

/data/data/com.termux/files/usr/bin » N_m3u8DL-RE
~» N_m3u8DL-RE: command not found

bash N_m3u8DL-RE
N_m3u8DL-RE: N_m3u8DL-RE: cannot execute binary file

Nothing happens. Latest build

@RevealedSoulEven
Copy link

In proot ubuntu also it's neither giving any output nor any error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests