Problem playing MRL

VLC for Android and Chrome OS specific usage questions
kevin ellard
New Cone
New Cone
Posts: 7
Joined: 07 Dec 2017 12:10

Problem playing MRL

Postby kevin ellard » 07 Dec 2017 13:15

I have a device on my network that is sending out a H264 video stream. I can watch it very successfully with VLC on any windows device but when I try with VLC for android or VLC for Fire I can't get it to work. On windows I request the stream http://192.168.0.44:1101/video but trying the same as an MRL in android just gets the message that http://192.168.0.44:1101/video cannot be opened. I can tell from the device that something has tried to connect but I don't know how to troubleshoot further. Any help greatly appreciated.

Kevin.
VLC for android 2.5.12

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem playing MRL

Postby Jean-Baptiste Kempf » 12 Dec 2017 00:43

Is it RTSP?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kevin ellard
New Cone
New Cone
Posts: 7
Joined: 07 Dec 2017 12:10

Re: Problem playing MRL

Postby kevin ellard » 15 Jan 2018 13:43

(sorry for the late reply)

I don't think that it is RTSP.
1. I tried rtsp://192.168.0.44:1101/video and it didn't work.
2. If it was RTSP would http://192.168.0.44:1101/video work on a windows copy of VLC?

Kevin.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem playing MRL

Postby Jean-Baptiste Kempf » 20 Jan 2018 20:13

Does it work in VLC 3.0.0-rc7 on Windows?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kevin ellard
New Cone
New Cone
Posts: 7
Joined: 07 Dec 2017 12:10

Re: Problem playing MRL

Postby kevin ellard » 30 Jan 2018 22:26

Well that was a surprise, It doesn't work in VLC 3.0.0-rc7 on Windows. It works fine in 2.2.8 on windows which is what I had been using up until now.
Do you want me to start a thread in the Windows topic too?

chouquette
Developer
Developer
Posts: 291
Joined: 15 Apr 2010 00:54

Re: Problem playing MRL

Postby chouquette » 30 Jan 2018 22:50

Could you open a ticket with verbose logs on https://trac.videolan.org/vlc ?

kevin ellard
New Cone
New Cone
Posts: 7
Joined: 07 Dec 2017 12:10

Re: Problem playing MRL

Postby kevin ellard » 30 Jan 2018 23:14

Could you point me to a quick guide to producing a verbose log?

kevin ellard
New Cone
New Cone
Posts: 7
Joined: 07 Dec 2017 12:10

Re: Problem playing MRL

Postby kevin ellard » 30 Jan 2018 23:25

Sorry, please ignore last message. the instructions were on trac.

kevin ellard
New Cone
New Cone
Posts: 7
Joined: 07 Dec 2017 12:10

Re: Problem playing MRL - Solved

Postby kevin ellard » 15 Mar 2018 22:28

I finally got to the bottom of this problem and the solution might prove useful to anyone supporting VLC from versions 2.x to 3.x or the differences between windows and android versions.
The problem was with my source that was specifically looking for HTTP/1.1 in the request and returning 404 error if not found. The earlier versions of VLC would try HTTP/1.0 and then carry on to try HTTP/1.1
The Android version (and windows versions from 3 onwards) sees the 404 response and fails immediately.
You couldn't say that the new version is doing anything wrong but it is doing something slightly different from the old version.
Fortunately I had the source code for my source so I was able to correct it and re-compile and am now a happy man.
Many thanks to Rémi whose patience with me on trac eventually led me to the solution.

Kevin.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 14 guests