Search found 12 matches

Go to advanced search

by exebetche
20 Nov 2012 15:23
Forum: General VLC media player Troubleshooting
Topic: YouTube links no longer working
Replies: 53
Views: 37055

Re: YouTube links no longer working

Hi,

You can find my fixed extension on the videolan addons website:
http://addons.videolan.org/content/show ... ent=149909

It manage youtube video url and playlist as well.
by exebetche
18 Mar 2012 21:12
Forum: Scripting VLC in lua
Topic: how to perform non-blocking net.listen_tcp
Replies: 6
Views: 3285

Re: how to perform non-blocking net.listen_tcp

Did you try to replace vlc.net.listen_tcp by vlc.net.connect_tcp with the poll method?
Or maybe the telnet or rc interface will do the trick.
by exebetche
16 Mar 2012 20:31
Forum: Scripting VLC in lua
Topic: Remote zipped data
Replies: 1
Views: 1023

Re: Remote zipped data

BTW, that dosen't works neither: local archive_url = "http://www.website.org/download/somearchive.zip" local zipped_data = get_data(archive_url) local stream = vlc.memory_stream(zipped_data) stream:addfilter("zip") Right now I dump the zipped data in a temporary file, then use vl...
by exebetche
16 Mar 2012 20:23
Forum: Scripting VLC in lua
Topic: Remote zipped data
Replies: 1
Views: 1023

Remote zipped data

Hi I want to use vlc.stream to download data contained in a file in an remote zipped file, but it return an error if the file name containe a dash: - it seems --That works local url = "zip://http://www.example.com/download/somearchive!/somefile.txt" local stream = vlc.stream(url) local dat...
by exebetche
13 Mar 2012 20:30
Forum: Scripting VLC in lua
Topic: how to perform non-blocking net.listen_tcp
Replies: 6
Views: 3285

Re: how to perform non-blocking net.listen_tcp

This is an working example of "net.poll" that I wrote for Vlsub. It just perform a get, using "vlc.net.send(fd, request)" to send request and vlc.net.POLLIN + "vlc.net.recv(fd, 1024)" to get data from the server. If it doesn't suit you, you need to be more specific. fun...
by exebetche
09 Mar 2012 18:06
Forum: Scripting VLC in lua
Topic: zlib deflate (compress) function with vlc_object?
Replies: 7
Views: 2051

Re: zlib deflate (compress) function with vlc_object?

That's would be nice! I took a quick look at the code, the function does exist here: https://www.videolan.org/developers/vlc/modules/access/zip/unzip/ioapi.c Somethind else; I suppose it would not be possible to do something like this: os.execute("cvlc -vvv file:////home/vlc/dummy_file.txt --so...
by exebetche
08 Mar 2012 20:15
Forum: Scripting VLC in lua
Topic: [Script] Download subtitles on-the-fly
Replies: 69
Views: 258740

Re: [Script] Download subtitles on-the-fly

If I understood it correctly, the problem is there isn't an implementation of the hash function in Lua (and I don't even know if it will be fast enough). I will try to implement it and eventually post it here so others can contribute. Hi I just discovered your post and I wanted to tell you that I a...
by exebetche
08 Mar 2012 19:47
Forum: Scripting VLC in lua
Topic: zlib deflate (compress) function with vlc_object?
Replies: 7
Views: 2051

Re: zlib deflate (compress) function with vl_bject?

And beyond the weirdness, any idea to gzip data in LUA, pretty please, anybody?
by exebetche
08 Mar 2012 15:22
Forum: Scripting VLC in lua
Topic: zlib deflate (compress) function with vlc_object?
Replies: 7
Views: 2051

Re: zlib deflate (compress) function with vl_bject?

Well, it use XML-RPC protocol so binary/zipped data needs to be base64-encoded. And gzip encoding is used to speed up data transfer. It seems this format is pretty common with this protocol.
by exebetche
08 Mar 2012 14:26
Forum: Scripting VLC in lua
Topic: zlib deflate (compress) function with vlc_object?
Replies: 7
Views: 2051

Re: zlib deflate (compress) function with vl_bject?

I'd like to offer the possibility to upload data to a website. The website require the data to be gzipped + base64 encoded. Base64 encode is easy with LUA. For the deflate algorithm, I could use a library like "lua-zlib" but I'd rather not because that means compile it under each OS (it se...
by exebetche
05 Mar 2012 19:25
Forum: Scripting VLC in lua
Topic: zlib deflate (compress) function with vlc_object?
Replies: 7
Views: 2051

zlib deflate (compress) function with vlc_object?

Hi,

I noticed that vlc use the zlib library. Is that a method to gzip compress data with zlib through vlc_object in LUA scripis?
If not what would be the most portable way to achieve that in a script?

I intend to use this function for the extension VLsub.

Many thanks,

Go to advanced search