local server that plays videos accessible offline
Hello, I need to play a series of videos one after the other inside a folder (the playback just needs to be visible on a local http server, so that there's no way to play/pause/scrub): any ideas?
Here's what I tried:
-
vlc -vvv "~/storage/shared/Download/My Project.mp4" --sout="#standard{access=http,mux=asf,url=192.164.0.64:8080}"
(tried modifying it from https://forum.videolan.org/viewtopic.php?t=70207, but when I try and connect to that url on the same device that's meant to be hosting it on firefox it said "Unable to connect": I can still access the server generated from apachectl
on Firefox though...)3 Replies
Don't mind what the protocol is, so long as it can be played offline inside a browser
VLC or MPV should work just fine for that, this really isn't a Termux specific question.
Also you are likely better off just using the dedicated Android app for either VLC or MPV.
https://f-droid.org/en/packages/org.videolan.vlc/
https://f-droid.org/en/packages/is.xyz.mpv/
VLC | F-Droid - Free and Open Source Android App Repository
The best video and music player. Fast and “just works”, plays any file
mpv-android | F-Droid - Free and Open Source Android App Repository
Listen to music and watch videos
I see, thanks: unfortunately I need to make it so that the end-user can neither see nor use any kind of video controls, which was why I thought of running a server.