HTTP embed not working ?!

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
zapzup
New Cone
New Cone
Posts: 8
Joined: 16 Sep 2014 02:04

HTTP embed not working ?!

Postby zapzup » 16 Sep 2014 02:10

Hello ,
Im testing some HTTP Links (IPTV Stream) e.g: http://user:pass@11.222.333.444:5001.
I embed the vlc code to my homepage, it works fine in some http links, but not at all. I tested the links in "Tano Player" on Windows it works fine, but not in vlc web.

I think it is an Problem with the Codecs of the Streamers, but how I can solute this Problem ?

Again... Some links are working but not all.

What can I try ?

Im waiting for your answers.. regards!

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: HTTP embed not working ?!

Postby RSATom » 16 Sep 2014 10:01

you could try FBVLC - it has debug output mode.

zapzup
New Cone
New Cone
Posts: 8
Joined: 16 Sep 2014 02:04

Re: HTTP embed not working ?!

Postby zapzup » 16 Sep 2014 12:56

fbvlc like that ?

Code: Select all

<object> <embed> <object type="application/x-fb-vlc" width="320" height="240" autoplay="yes" controls="yes" width="640" height="480" target="http://user:pass@12.3344.556:5001" > </embed> </object>
Dont play. debug mode ? How i can see the debug log or something

I added

Code: Select all

debug="true"
but where I can see the results

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: HTTP embed not working ?!

Postby RSATom » 16 Sep 2014 13:04

https://code.google.com/p/fbvlc/wiki/FBVLC_API

Code: Select all

<object type="application/x-fb-vlc" width="320" height="240" > <param name="debug" value="true" /> <param name="mrl" value="http://user:pass@11.222.333.444:5001" /> </object>
btw, what OS do you use?

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: HTTP embed not working ?!

Postby RSATom » 16 Sep 2014 13:05


zapzup
New Cone
New Cone
Posts: 8
Joined: 16 Sep 2014 02:04

Re: HTTP embed not working ?!

Postby zapzup » 16 Sep 2014 13:14

yes Windows, the debug log says:

Code: Select all

00000001 0.00000000 [2488] main libvlc debug: removing all interfaces 00000002 0.00048112 [2488] main libvlc debug: exiting 00000003 0.00083811 [2488] main libvlc debug: no exit handler 00000004 0.08782188 [2488] main libvlc debug: removing stats 00000005 0.22338313 [2488] main libvlc debug: VLC media player - 2.1.3 Rincewind 00000006 0.22400171 [2488] main libvlc debug: Copyright © 1996-2014 the VideoLAN team 00000007 0.22436793 [2488] main libvlc debug: revision 2.1.3-0-ge6a71cc 00000008 0.22489727 [2488] main libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--disable-dirac' '--host=i686-w64-mingw32' 'host_alias=i686-w64-mingw32' 00000009 0.22539890 [2488] main libvlc debug: searching plug-in modules 00000010 0.22612417 [2488] main libvlc debug: loading plugins cache file C:\Users\Ben\AppData\Roaming\RSATom\FBVLC\0.1.5\plugins\plugins.dat 00000011 0.26273012 [2488] main libvlc debug: recursively browsing `C:\Users\Ben\AppData\Roaming\RSATom\FBVLC\0.1.5\plugins' 00000012 0.37865275 [2488] main libvlc debug: saving plugins cache C:\Users\Ben\AppData\Roaming\RSATom\FBVLC\0.1.5\plugins\plugins.dat 00000013 0.41099942 [2488] main libvlc debug: plug-ins loaded: 360 modules 00000014 0.42610180 [2488] main libvlc debug: translation test: code is "C" 00000015 0.42658395 [2488] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU 00000016 0.43129766 [2488] main input debug: Creating an input for 'http://11.22.33.44:5001' 00000017 0.43584213 [2488] main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Ben\AppData\Local\Temp' 00000018 0.43594164 [2488] main input debug: `http://user:pass@11.22.33.44:5001' gives access `http' demux `' path `user:pass@11.22.33.44:5001' 00000019 0.43684745 [2488] main input debug: creating demux: access='http' demux='' location='user:pass@11.22.33.44:5001' file='\\user:pass@11.22.33.44:5001' 00000020 0.43703517 [2488] main demux debug: looking for access_demux module matching "http": 12 candidates 00000021 0.43839952 [2488] main demux debug: no access_demux modules matched 00000022 0.43857598 [2488] main input debug: creating access 'http' location='user:pass@11.22.33.44:5001', path='\\user:pass@11.22.33.44:5001' 00000023 0.43911248 [2488] main access debug: looking for access module matching "http": 20 candidates 00000024 0.44190276 [2488] access_http access debug: querying proxy for http://user:pass@11.22.33.44:5001 00000025 0.44220436 [2488] access_http access debug: no proxy 00000026 0.44250903 [2488] access_http access debug: http: server='11.22.33.44' port=5001 file='' 00000027 0.44288039 [2488] access_http access debug: user='user' 00000028 0.44519365 [2488] main access debug: net: connecting to 11.22.33.44 port 5001 00000029 0.75925666 [2488] main access debug: connection succeeded (socket = 1004) 00000030 0.77803665 [2488] access_http access debug: protocol 'HTTP' answer code 403 00000031 0.77840799 [2488] access_http access error: error: HTTP/1.1 403 Forbidden 00000032 0.77936918 [2488] access_http access debug: switching to HTTP version 1.0 00000033 0.77976310 [2488] main access debug: net: connecting to 11.22.33.44 port 5001 00000034 0.83233726 [2488] main access debug: connection succeeded (socket = 1004) 00000035 0.88634139 [2488] access_http access debug: protocol 'HTTP' answer code 403 00000036 0.88663477 [2488] access_http access error: error: HTTP/1.1 403 Forbidden 00000037 0.89154750 [2488] main access debug: net: connecting to 11.22.33.44 port 5001 00000038 0.96181017 [2488] main access debug: connection succeeded (socket = 1004) 00000039 1.01748645 [2488] access_mms access error: error: HTTP/1.1 401 Unauthorized 00000040 1.01821065 [2488] main access debug: no access modules matched 00000041 1.01891434 [2488] main input error: open of `http://user:pass@11.22.33.44:5001' failed 00000042 1.01933491 [2488] main input error: Your input can't be opened 00000043 1.01964891 [2488] main input error: VLC is unable to open the MRL 'http://user:pass@11.22.33.44:5001'. Check the log for details.
I edited the correct user pass and the IP with " user : pass" and "11.22.33.44:5001" . they are still working on tano player(windows) and mxplaxer on android

I see some 403 and 401 errors but why then they work on some other player ?

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: HTTP embed not working ?!

Postby RSATom » 16 Sep 2014 13:42

Could you make same log with Vlc player? It's possible web plugins don't understand "user:pass@" portion...

zapzup
New Cone
New Cone
Posts: 8
Joined: 16 Sep 2014 02:04

Re: HTTP embed not working ?!

Postby zapzup » 16 Sep 2014 13:55

So, the vlc media player on windows doesnt play the link too. It works on 'Tano Player, and SM Player" on Windows, and on mxplayer on android, Could be more but these I tested.
I said it on my first Post that some user:pass links works, and any of them dont.
The normal vlc media player program dont play all of them, the web plugin some of them, and e.g Tano Player all.

If vlc doesnt understand user:pass, what is the alternatives then ?

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: HTTP embed not working ?!

Postby RSATom » 16 Sep 2014 14:03

I'm already seen similar problems, but in that cases links didn't play with web plugin, but played good with Vlc player. In your case problem could be with Vlc, could you try vlc nightly build?

zapzup
New Cone
New Cone
Posts: 8
Joined: 16 Sep 2014 02:04

Re: HTTP embed not working ?!

Postby zapzup » 16 Sep 2014 14:44

Same .. not working.
I dont know how I can paste http links to my website.
I looked on the version that tano player uses. and it use vlc 2.0.5 twoflower version.
So I downloaded the old version 2.0.5 and still the same dont work.

I dont understand the logic !

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: HTTP embed not working ?!

Postby RSATom » 16 Sep 2014 14:47

I'm trying investigate the reason, it's very strange for me too...

zapzup
New Cone
New Cone
Posts: 8
Joined: 16 Sep 2014 02:04

Re: HTTP embed not working ?!

Postby zapzup » 16 Sep 2014 19:27

ok. Im waiting for a solution ..

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: HTTP embed not working ?!

Postby RSATom » 18 Sep 2014 05:03

I've found it's regression in libvlc. For example if you install FBVLC 0.0.8 (It's the last version which uses libvlc 2.0.x) - your url will work fine.

zapzup
New Cone
New Cone
Posts: 8
Joined: 16 Sep 2014 02:04

Re: HTTP embed not working ?!

Postby zapzup » 19 Sep 2014 18:55

thank you, it works, Good job ;)

And for people who want to use the local vlc media player to play those http user:pass links, can add "http-user-agent=mxplayer" (without brackets) to the advanced options on ctrl+n.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: HTTP embed not working ?!

Postby RSATom » 22 Sep 2014 08:29

so is problem on server which just reject clients with user agent other than "mxplayer"?

zapzup
New Cone
New Cone
Posts: 8
Joined: 16 Sep 2014 02:04

Re: HTTP embed not working ?!

Postby zapzup » 23 Sep 2014 15:49

yes, it seems to be like that.
But I am pleased that embed libvlc web plugin now works . It helps me a lot


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 29 guests