VLC "enabler" for webdav, https, proxies, credentials

Just have a drink and chat
gegefr
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Feb 2013 22:28

VLC "enabler" for webdav, https, proxies, credentials

Postby gegefr » 05 Feb 2013 23:36

Hi !

This post to communicate around a small app i made recently (for my own needs). Just thought i should share it because it might help some other people that have issues with progressive download from web sites or webdavs.

As i said, VLC has some issues with HTTPS (does not accept any certs, and even less if self-signed),it also seems to have issues with websites that need authentication. I could not make it work with authenticated proxies either (not sure about normal proxies). And with owncloud (started playing with it), ajaxplorer, or other alternatives, webdav is somehow becoming a little bit popular.

So i made this small program, published at : http://code.google.com/p/gp-vlc/

Image

1rst "feature" webdav (only tested against owncloud's sabredav):
This program allows to list all files in a webdav (you need URL and password) and filter the files in order to find the one you want.
Ex: if you enter the following text "word1 word2 word3", only the file whose path contain "word1" AND "word2" AND "word3" will show.
First:scan, then:filter.
I think it's efficient enough not to need a full file explorer with directories...

2nd "feature" progressive download :
For playback, the program will act as a (reverse) proxy. It will handle SSL and server or proxy authentication and present to VLC a "local" (127.0.0.1:xxxx) http resource : no ssl, no authentication, no proxy for VLC.

Warning : The SSL handling is "dirty", i accept any cert from anyone.

The software is in java (>1.6) because that's the language that i know the best, so it was a lot faster to code than any native software, or trying to fix VLC.
It's open-sourced, feel free to do whatever you want, of courses suggestions, patches, or bug reports are welcome.

Yes, i "played" with the GUI to make it skype-like :roll:

Hope it'll be usefull to some people that would like to play their media directly from their owncloud (or other) webdavs !

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: VLC "enabler" for webdav, https, proxies, credentials

Postby Jean-Baptiste Kempf » 06 Feb 2013 17:16

You should try VLC 2.1 :)
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.

gegefr
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Feb 2013 22:28

Re: VLC "enabler" for webdav, https, proxies, credentials

Postby gegefr » 06 Feb 2013 18:22

Oh, are some fixes regarding those aspects included ?

Where to get it ? ;-)
Nightly builds or pre-releases somewhere ?

gegefr
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Feb 2013 22:28

Re: VLC "enabler" for webdav, https, proxies, credentials

Postby gegefr » 06 Feb 2013 18:46


gegefr
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Feb 2013 22:28

Re: VLC "enabler" for webdav, https, proxies, credentials

Postby gegefr » 06 Feb 2013 19:01

After a quick test
http with password seems ok, with proxy too (did'nt test a proxy with password)
however i had no success with https

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: VLC "enabler" for webdav, https, proxies, credentials

Postby Jean-Baptiste Kempf » 06 Feb 2013 23:04

https with signed cert should display a warning, not fail.
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.

gegefr
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Feb 2013 22:28

Re: VLC "enabler" for webdav, https, proxies, credentials

Postby gegefr » 07 Feb 2013 00:33

I'm using a properly signed StartSSL certificate for my domaine name.

As far as i can tell it's recognized by IE and Chrome.

You might want to try : https://wxcv.eu/big_buck_bunny_480p_surround-fix.avi

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: VLC "enabler" for webdav, https, proxies, credentials

Postby Jean-Baptiste Kempf » 07 Feb 2013 12:24

Ok, so this is weird and is a bug.

And we have a patch for this.
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.

gegefr
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Feb 2013 22:28

Re: VLC "enabler" for webdav, https, proxies, credentials

Postby gegefr » 07 Feb 2013 17:47

OK

Nice to see VLC is improving even if it's making my small application almost useless :shock:

So i guess the plugin will now work better in a browser too. Just click and it should play the media :wink:

I had another questions on this topic :
* as a browser plugin, is it possible to make VLC re-use the credentials already inputed in the browser ?
* idem for proxy settings (if the browser's using them, then vlc should probably use the same)

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: VLC "enabler" for webdav, https, proxies, credentials

Postby Jean-Baptiste Kempf » 08 Feb 2013 13:30

The wxcv.eu bug is fixed for VLC 2.1.0-git (tomorrow nightly build). Same for self-signed cert.

For the webplugin, no for both.
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.

gegefr
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Feb 2013 22:28

Re: VLC "enabler" for webdav, https, proxies, credentials

Postby gegefr » 08 Feb 2013 18:42

Okay, thanks !


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 36 guests