Update: Please also have a look at the last post - there you can find a link to a current, working version!
Hi,
because Stage6 has been shut down, I looked for other possibilities to get high quality streaming content. Turns out Veoh hosts high quality content, but only wants to give it to their VeohTV users. No, that's not what we want.
What Veoh does is it divides the original avi, mov, etc... source into a lot of small files. Not I wrote a proxy that acts like a webserver. It listens for the requests and translates them to the small files veoh offers. It is possible to stream veoh's high quality files with this. It works okay on my PC. When I try to run it on the beloved XBox, it just crashes after buffering because of memory issues. I tried a lot to cut down memory usage, yet still can't get it to work. Could anyone help me with this? It would be so cool to finally have hq streaming back on the box without using another pc that acts as a proxy.
You can download the script (not a plugin yet!) here: http://theendofthelongestline.de/veohproxy.zip
To try it, you have to execute default.py as a script. Then go to the movies section and play the playlist in the zip. It connects to the local webserver at
http://localhost:8081/v1650118XbD3cFmX . The file part of the URL is the veoh ID. You can easily get this from the url of veoh videos.
It is only a virtual file, internally the script puts together all the file parts. Please help me debugging! Thanks a lot!
Unbehagen
Veoh High Quality Streaming Proxy - Nearly Working - Help needed!
Unbehagen
Skilled Python Coder Posts: 342 Joined: Jul 2007 Reputation: 3 Location: Bremen, Germany |
2008-05-07 16:44
Post: #1
(This post was last modified: 2008-05-09 17:56 by Unbehagen.)
|
| find quote |
Banned Joined: Mar 2008 Location: England |
2008-05-07 18:33
Post: #2
You may want to have a look at the ninja video helper. From ninja video.
I came across this when attempting a plugin for the site. It`s made in java, decompile the files and look at the classes. They do exactly what you are doing now. Also nickspoon wrote a script that acts like veoh downloader sharp usingthe jsp files from veoh, and i was recreating the ninja video helper in python for the same purpose. May come in handy. Looks like i`ll have to implement a lister class for my other problem then. No short answers, what`s the world coming to hehe. Cheers Voinage. |
| find quote |
Banned Joined: Mar 2008 Location: England |
2008-05-07 18:34
Post: #3
word=re.sub('lister','listener',above text)
|
| find quote |
Banned Joined: Mar 2008 Location: England |
2008-05-07 18:38
Post: #4
|
| find quote |
Unbehagen
Skilled Python Coder Posts: 342 Joined: Jul 2007 Reputation: 3 Location: Bremen, Germany |
2008-05-09 17:55
Post: #5
Thanks for your tips, Voinage, very helpful!
I managed to get it to work properly. It can even stream NinjaVideo.net videos now. It should work on the xbox as well. Does anyone want to try it? Grab it here: http://theendofthelongestline.de/blog.html |
| find quote |
Banned Joined: Mar 2008 Location: England |
2008-05-09 20:19
Post: #6
You are a star !
Abandoning my version. Integrating this into ninjavideo plugin and testing to capacity on veoh links in other plugins. Cheers, Sir |
| find quote |
Banned Joined: Mar 2008 Location: England |
2008-05-10 01:59
Post: #7
It really eats the memory doesn`t it. It`s difficult to run it in the background while using plugins everything becomes very sluggish.
Other than the memory issue , it works very well. It happily streams the ninja video content but after one movie you have to reset the xbox. The main thing is that it works. |
| find quote |
Unbehagen
Skilled Python Coder Posts: 342 Joined: Jul 2007 Reputation: 3 Location: Bremen, Germany |
2008-05-10 17:39
Post: #8
I guess it would be possible to cut down on memory usage using regular expressions instead of xml parsing.. Any other ideas?
Righ now, I'm talking to the JooX.net guys about making that source code their official software for Veoh content btw Just creating a windows version with installer and so on.Update: Grab the first version of the installer here: http://theendofthelongestline.de/setup.exe I guess it will be integrated into Joox pretty soon!
(This post was last modified: 2008-05-10 18:11 by Unbehagen.)
|
| find quote |
Banned Joined: Mar 2008 Location: England |
2008-05-12 00:43
Post: #9
Re seems the way to go, a loss of 30mb when running is acceptable for a pc but on the trusty xbox it`s a nightmare. If it`s memory usage was minimalised and it had a dedicated server on , server off mechanism to be called from a plugin when a veoh link is ran it would happily be the companion of choice for plugin dev. I`ve been playing with it and trying to find the best way of adding it to the ninjavideo plugin.
btw if you ever get a moment within your busy sched could you possibly pm me and offer me some guidance regarding the base64 algo for surf the channel, i`ve looked at your plugin and have created a new one but i`m having trouble finding the right split and offset to get a working link. It`s driving me mad. I know it`s a big ask. Thanks V I understand th |
| find quote |
elupus
Team-XBMC Developer Posts: 3,764 Joined: Mar 2004 Reputation: 2 |
2008-05-12 12:07
Post: #10
Were are you storing these chunks of data? if in memory there is your issue. Write them to disk as soon as you get them and serve them from there.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |

Just creating a windows version with installer and so on.![[Image: badge.gif]](http://www.ohloh.net/p/xbmc/badge.gif)
Search
Help