m3u playlist works on Windows not Android

VLC for Android and Chrome OS specific usage questions
drdr
New Cone
New Cone
Posts: 6
Joined: 07 Jan 2019 05:00

m3u playlist works on Windows not Android

Postby drdr » 07 Jan 2019 05:14

This simple playlist works on Windows VLC, but not Android. If I enter the rtmp URL manually in Android VLC, it works fine.
#EXTM3U

#EXTINF:-1,test
rtmp://192.168.2.117/radio/test.m4a

I've tried 0 instead of -1. I've tried different spacing... to no avail.

The goal is to have VLC kick off a CGI script do a few things and then get VLC to load the listed stream. The playlist doesn't work as a standalone file, even without the CGI creating it.

If there is a better way to get VLC to load the stream from a CGI, please let me know...
Again, the whole CGI created playlist works fine in Windows..

Thanks

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Re: m3u playlist works on Windows not Android

Postby realjobe » 07 Jan 2019 11:45

Use VLC's LUA HTTP web interface to tell VLC to do stuff, with cURL e.g..

1. Some actor invokes http calls to vlc to start doing stuff
2. material is ready to be pulled from vlc using static playlist file / direct MRL (http/rtmp/rtsp)..

drdr
New Cone
New Cone
Posts: 6
Joined: 07 Jan 2019 05:00

Re: m3u playlist works on Windows not Android

Postby drdr » 07 Jan 2019 18:07

Thanks, but I don't seem to see a LUA HTTP interface for the Android client.

As playlists go, shouldn't that playlist work on both the Android and Windows clients (as opposed to just the Windows client)?

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Re: m3u playlist works on Windows not Android

Postby realjobe » 07 Jan 2019 20:49

True, I guess a easy web-server in your LAN would solve this. I suggest e.g. raspberry pi 3b, it also can act as a easy OpenVPN server in order to gain easy access from your phone to your private LAN. No need to port forwarding but UDP 1194.

Apache & php7 is easy to install and creation of webUI with RestFull php services to Invoke VLC vlm is a breeze
Last edited by realjobe on 08 Jan 2019 00:45, edited 1 time in total.

drdr
New Cone
New Cone
Posts: 6
Joined: 07 Jan 2019 05:00

Re: m3u playlist works on Windows not Android

Postby drdr » 08 Jan 2019 00:09

ok, so I'll look at
https://wiki.videolan.org/Documentation ... HowTo/VLM/

It won't accept my echoing a playlist back, even though it works on Windows?
Again, I can't even get the playlist to work when opening it as a file on Android.


Thanks

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Re: m3u playlist works on Windows not Android

Postby realjobe » 08 Jan 2019 00:46

Just tell what do want to do, describe..

drdr
New Cone
New Cone
Posts: 6
Joined: 07 Jan 2019 05:00

Re: m3u playlist works on Windows not Android

Postby drdr » 08 Jan 2019 03:14

I'm trying to transcode a live Internet feed to my local network, at a much lower bandwidth. I actually want to do this for a bunch of streams, one at a time.

I'm using ffmpeg to NGINX. Unfortunately,I can't get exec_pull to work, so I'm using exec_static as a work around. (No answer from NGINX forum.. Maybe I should try another media server.)

As such, the kludge I'm using is to have VLC run a CGI to replace the nginx conf file and restart ngninx and then send the m3u (either straight out or attachment. With proper Content-Type) to VLC. It works on VLC Windows and Tune-In Radio Android, but not VLC Android.

Starting NGINX manually and just pointing VLC Android to a static m3u isn't working either.

Typing on a phone....
Thanks

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Re: m3u playlist works on Windows not Android

Postby realjobe » 08 Jan 2019 03:44

Video feed i guess? I have working solutions to hammer down http mpeg 2/4 2-10mbit into 64k-2mbit h264 ts mp3

drdr
New Cone
New Cone
Posts: 6
Joined: 07 Jan 2019 05:00

Re: m3u playlist works on Windows not Android

Postby drdr » 08 Jan 2019 04:15

Audio, actually.

drdr
New Cone
New Cone
Posts: 6
Joined: 07 Jan 2019 05:00

Re: m3u playlist works on Windows not Android

Postby drdr » 08 Jan 2019 18:15

After seeing this:

https://forum.videolan.org/viewtopic.php?f=35&t=147270
"For some reason, it thinks most .M3U or .PLS files are invalid and refuses to show them" (looking at it again, or doesn't seem to be the same issue.)

I installed 2.9.0 (just picked the latest 2.x version) and the playlist and even the CGI work just fine...
I then upgraded back to the latest version and it's still working.

On my other Android device, I uninstalled and reinstalled the latest version and it worked fine. I guess I probably just needed to clear the cache or something.

Thanks


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 8 guests