Feature request: Android Compatibility for ytarchive Using Termux
I would like to request the implementation of Android compatibility for ytarchive using Termux, similar to how yt-dlp supports Android. This would make ytarchive more versatile and accessible to users who prefer working on Android devices for live stream archiving and recording.
Benefits:
Accessibility: Enables Android users to efficiently use ytarchive without needing a desktop environment.
Flexibility: Allows users to manage stream archiving tasks on the go.
Usability: Expands ytarchive’s audience by catering to a broader demographic, including mobile-first users.
Example Documentation:
For reference, you can look into the yt-dlp’s Android support via Termux feature: (https://github.com/yt-dlp/yt-dlp/wiki/Installation).
Thank you for your incredible work on ytarchive! I've been using it every day since I discovered and have recommended it to my friends, who also appreciate its functionality. However, they requested this feature too, as some of them use Android only.
I could be mistaken, but I am 90% certain it is compatible. Just grab ffmpeg and Go from Termux and build it.
Yeah, you can use it on Termux. The only weird thing (I'm guessing it's some Go weirdness) is that the executable behaves weird when called from outside of ~/go/bin , so you have to go there and do ./ytarchive foo bar baz.
termux-setup-storage
pkg install golang
go install github.com/Kethsar/ytarchive@dev
pkg install ffmpeg
pkg update && pkg upgrade
~/go/bin/ytarchive --add-metadata -t --monitor-channel --live-from now "https://www.youtube.com/@RabbitholebdSports/live" best
This live stream downloading template is working on Termux, but I can't find the final file remuxed by FFmpeg or the downloaded TS files on my phone. I don't know what's going wrong.
termux-setup-storage pkg install golang go install github.com/Kethsar/ytarchive@dev pkg install ffmpeg pkg update && pkg upgrade ~/go/bin/ytarchive --add-metadata -t --monitor-channel --live-from now "https://www.youtube.com/@RabbitholebdSports/live" bestThis live stream downloading template is working on Termux, but I can't find the final file remuxed by FFmpeg or the downloaded TS files on my phone. I don't know what's going wrong.
HI I dont know if it is still revelant but i write it here anyway so its here if anybody finds this issue and has the same problem. So you have to cd into a folder that you want to donwload into for example: "cd storage/shared/videos" and then start ytarchive with "~/go/bin/ytarchive..." it works for me like this. i hope i could help
Thanks a ton for helping me out! Really appreciate it!
Here's an example of a working bash code for convenience:
First time setup: Install termux, then input the below lines:
termux-setup-storage cd /storage/emulated/0/Download pkg install golang go install github.com/Kethsar/ytarchive@dev pkg install ffmpeg pkg update && pkg upgrade
Sample Bash script for everytime use: ~/go/bin/ytarchive --add-metadata -t --monitor-channel --live-from 4h "https://www.youtube.com/@ALRATV/live" 720p