1 (edited by Hood 2008-03-24 05:45:39)

Topic: Chumby media center :D

i have tryed to connect chumby with tversity media center ( http://www.tversity.com/home )
i have used this xml script in usb ( like explain here http://wiki.chumby.com/mediawiki/index. … _a_channel )

<profile>
  <widget_instances>
    <widget_instance id="1">
      <widget>
        <name>My Widget</name>
        <description>This is my widget</description>
        <version>1.0</version>
        <mode time="30" mode="timeout"/>
        <access sendable="false" deleteable="false" access="private" virtualable="false"/>
        <user username="myusername"/>
        <thumbnail href="file:////mnt/usb/rat.jpg" contenttype="image/jpeg"/>
        <movie href="http://192.168.1.2:8080/flashlib/lib.swf" contenttype="application/x-shockwave-flash"/>
      </widget>
      <access access="private"/>
      <mode time="30" mode="timeout"/>
      <widget_parameters>
        <widget_parameter>
          <name>zipcode</name>
          <value>90210</value>
        </widget_parameter>
        <widget_parameter>
          <name>phonenumber</name>
          <value>867-5309</value>
        </widget_parameter>
      </widget_parameters>
    </widget_instance>
  </widget_instances>
</profile>

where http://192.168.1.2:8080/ is my ip and /flashlib/lib.swf tversiti flash interface

IT'S WORK big_smile i can watch all my dvx with subtitle on my chumby that i have on my PC
PS: sorry for my eng

Re: Chumby media center :D

Wow!

This is BIG news. Thanks for letting us know.

Re: Chumby media center :D

Great! It worked for me too. However, video feed was very choppy, slow and after a few seconds, stopped. Do you have the same problem, Hood?

4 (edited by Hood 2008-03-24 22:42:00)

Re: Chumby media center :D

Great! It worked for me too. However, video feed was very choppy, slow and after a few seconds, stopped. Do you have the same problem, Hood?

try to set the resolution in tversity 320x240 (just a little slow,160 x 120 is fast but i can' t read sub), i can watch all video, my prob is how stop the video in the server ...

5 (edited by ApoXX 2008-03-25 17:12:30)

Re: Chumby media center :D

You rule Hood, thanks for sharing this discovery.

I tried entering the raw FLV stream URL into the Flash Video Player widget and it seemed to play a bit more smoothly compared to using the TVersity SWF client. Unfortunately you lose the ability to browse the TVersity media library on the Chumby, the advantage is that a USB drive is not needed. Just something to experiment with.

Assuming you are using the default port, you can browse your library from your computer's browser by going to http://localhost:41952 If you click on a video, it should open it as an mpeg by default. Basically all I did was restructure the URL to look like the one below:

http://192.168.1.145:41952/getres/video/flv/13463/_file_.flv

Where 192.168.1.145 is my computer's internal IP and 13463 is apparently the unique ID assigned to the video to be streamed.

My transcoder settings were:
- 320x240 resolution
- Wireless G with "Good" selected for connection quality
- "Maximum" compression
- "Decode the media as fast as possible.." is checked

Looking at the Screen Clean widget, it seems like the Chumby should be capable of full-motion video without any type of special hardware decoding. I wonder how TVersity determines the framerate in the transcoded video and if that could be the key to get it to play more smoothly.

Re: Chumby media center :D

How did you get the unique id?

Re: Chumby media center :D

I just pointed my browser to: http://localhost:41952/medialib/browse?startat=0&count=10&embed=0&pfid=&format=html

If you copy the link location on one of your videos, you should be able to find the ID.

Re: Chumby media center :D

Thanks

Re: Chumby media center :D

where http://192.168.1.2:8080/ is my ip and /flashlib/lib.swf tversiti flash interface

Which IP do I have to use? My Computers IP or the Chumby's IP? also i guess the 8080 is the port number?
How do I find out what it is for my system?

Re: Chumby media center :D

For those of you that have a Chumby device that does not support the profile.xml method (in my case the Insignia Infocast), you have to use a dummy Flash file that just loads up your TVersity Flashlib, and then load the *.swf file up as a 'Private' channel on Chumby.com.

To do this:

1. Download FlashDevelop: http://www.flashdevelop.org/
2. Download my code for a dummy flash applet, customizing for the URL to your TVersity server:

--begin LoadTVersity.as

package
{
        import flash.display.DisplayObject;
        import flash.display.Loader;
        import flash.display.MovieClip;
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
       
        import flash.net.URLRequest;


    public class LoadTVersity extends MovieClip
    {
        //public var _main:Main;
       
        function Main ():void   
        {
            var myLoader:Loader = new Loader();                     // create a new instance of the Loader class
           
            var url:URLRequest = new URLRequest("http://10.109.90.2:41952/flashlib/lib.swf"); 
            myLoader.load(url);   
           
            // load the SWF file
            addChild(myLoader); // add that instance to the display list, adding it to the Stage at 0,0
           

        }
       
        public function LoadTVersity()
        {
            addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true);
        }

        //all initialization goes in here!
        private function init(e:Event):void
        {
            removeEventListener(Event.ADDED_TO_STAGE, init);
            initMain();     
        }

        private function initMain():void
        {
            Main();
        }

    }
}

3. Build the *.swf file.
4. Upload it to Chumby.com as a 'Private' app
5. Copy the file 'C:\Users\username\AppData\Local\TVersity\Media Server\web\crossdomain.xml' to 'C:\Users\cary\AppData\Local\TVersity\Media Server\web\flashlib\crossdomain.xml'
6. Test the applet on your Chumby/Infocast.

If the Gods of Flash smile upon you, you should have the TVersity Flash Interface directly as a channel at this point.

I haven't fully tested my setup yet, so it may be that you need to turn off Authentication for TVersity, or embed the user/pass into the URL like so:

var url:URLRequest = new URLRequest("http://user:pass@10.109.90.2:41952/flashlib/lib.swf");