Failing to start html 5 video stream

This forum is about all development around libVLC.
Kasea
New Cone
New Cone
Posts: 3
Joined: 04 Jun 2017 06:05

Failing to start html 5 video stream

Postby Kasea » 23 Sep 2017 23:51

Build: Nightly win-32 bit, vlc-3.0.0-20170923-0252
Language: Python 3.5.3 32 bit
Stream/url: http://st5.anime1.com/[HorribleSubs]%20 ... 1506213180

First let me say starting the stream works fine for Edge/Chrome/Firefox, so I'm assuming there's nothing wrong with the actual stream (at least at the point of this upload). As far as I can tell it doesn't use cookies, so that shouldn't be a problem nor does it have any other way of authentication (as far as i can tell).
Steps to reproduce:
1. Create vlc instance (I used --verbose 2 to show logs)
2. Create a new media player
3. Create a instance.media_new object using the url
4. do get_mrl on new media object
5. set the player's media to the media object
6. play off the media with player.play()

Logs:

Code: Select all

>>> p.play() [05781748] core input debug: Creating an input for '[HorribleSubs] Zero no Tsukaima Final - 01 [720p]_a1.mp4?st=j38h2SSgzRi8pIQHqMsWQQ&e=1506213180' 0 >>> [05781748] core input debug: using timeshift granularity of 50 MiB [05781748] core input debug: using timeshift path: C:\Users\Tarzan\AppData\Local\Temp [05781748] core input debug: `http://st5.anime1.com/[HorribleSubs]%20Zero%20no%20Tsukaima%20Final%20-%2001%20[720p]_a1.mp4?st=j38h2SSgzRi8pIQHqMsWQQ&e=1506213180' gives access `http' demux `any' path `st5.anime1.com/[HorribleSubs]%20Zero%20no%20Tsukaima%20Final%20-%2001%20[720p]_a1.mp4?st=j38h2SSgzRi8pIQHqMsWQQ&e=1506213180' [05780ce0] core input source debug: creating demux: access='http' demux='any' location='st5.anime1.com/[HorribleSubs]%20Zero%20no%20Tsukaima%20Final%20-%2001%20[720p]_a1.mp4?st=j38h2SSgzRi8pIQHqMsWQQ&e=1506213180' file='\\st5.anime1.com\[HorribleSubs] Zero no Tsukaima Final - 01 [720p]_a1.mp4' [05784950] core demux debug: looking for access_demux module matching "http": 14 candidates [05784950] core demux debug: no access_demux modules matched [05785938] core stream debug: creating access: http://st5.anime1.com/[HorribleSubs]%20Zero%20no%20Tsukaima%20Final%20-%2001%20[720p]_a1.mp4?st=j38h2SSgzRi8pIQHqMsWQQ&e=1506213180 [05785938] core stream debug: (path: \\st5.anime1.com\[HorribleSubs] Zero no Tsukaima Final - 01 [720p]_a1.mp4) [05785938] core stream debug: looking for access module matching "http": 25 candidates [05785938] http stream error: invalid URL [05785938] core stream debug: no access modules matched [05781748] core input error: Your input can't be opened [05781748] core input error: VLC is unable to open the MRL 'http://st5.anime1.com/[HorribleSubs]%20Zero%20no%20Tsukaima%20Final%20-%2001%20[720p]_a1.mp4?st=j38h2SSgzRi8pIQHqMsWQQ&e=1506213180'. Check the log for details.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Failing to start html 5 video stream

Postby Rémi Denis-Courmont » 25 Sep 2017 17:42

As the error says, the URL is invalid. Brackets must be encoded.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests