XBMC Slingbox Client - Development Status

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tolax Offline
Junior Member
Posts: 39
Joined: Jan 2010
Reputation: 0
Post: #81
Harry Muscle Wrote:Thanks for the log ... yup, the errors you are getting is cause the ffmpeg dll files have changed significantly enough to mess things up. Based on my own testing those new dll files should fix things.

Harry

Yay a picture...... Smile

some pixelation (especially with solids) and no sound. Seems it has an error decoding the audio.

Apologies for taking up your weekend.... http://pastebin.com/TG7B0xj7

Also a quick question. Should I be able to send remote controls? So as I was streaming cableTV should channel up change channel etc?

Tolax
find quote
Harry Muscle Offline
Fan
Posts: 505
Joined: Nov 2006
Reputation: 0
Post: #82
Version 4 of the patch is now up: http://trac.xbmc.org/ticket/10464 . It includes all the changes asked for by the devs so there's a good chance this is gonna make it into the actual code base.

Thanks,
Harry
find quote
Harry Muscle Offline
Fan
Posts: 505
Joined: Nov 2006
Reputation: 0
Post: #83
tolax Wrote:Yay a picture...... Smile

some pixelation (especially with solids) and no sound. Seems it has an error decoding the audio.

Apologies for taking up your weekend.... http://pastebin.com/TG7B0xj7

Also a quick question. Should I be able to send remote controls? So as I was streaming cableTV should channel up change channel etc?

Tolax

The pixelation is cause the max resolution that's not encrypted on the Slingbox is 320 by 240, which isn't exactly super high res Smile Plus it defaults to a video bit rate of 768kb/s, which again isn't too high. All these can be modified via AdvancedSettings.xml (in your precompiled version) and via SlingboxSettings.xml in the latest version based on patch 4. The sound part is interesting though. I'm wondering if maybe that's just an artificat of the fact that you are piecing together bits and pieces so as to avoid having to compile things. If you'd like, if you PM me your Slingbox ip address and the viewer username and address I could connect to it this afternoon and see what kind of results I get with the latest patch.

Thanks,
Harry
find quote
tolax Offline
Junior Member
Posts: 39
Joined: Jan 2010
Reputation: 0
Post: #84
Harry Muscle Wrote:The pixelation is cause the max resolution that's not encrypted on the Slingbox is 320 by 240, which isn't exactly super high res Smile Plus it defaults to a video bit rate of 768kb/s, which again isn't too high. All these can be modified via AdvancedSettings.xml (in your precompiled version) and via SlingboxSettings.xml in the latest version based on patch 4. The sound part is interesting though. I'm wondering if maybe that's just an artificat of the fact that you are piecing together bits and pieces so as to avoid having to compile things. If you'd like, if you PM me your Slingbox ip address and the viewer username and address I could connect to it this afternoon and see what kind of results I get with the latest patch.

Thanks,
Harry

PM sent - Smile
find quote
Harry Muscle Offline
Fan
Posts: 505
Joined: Nov 2006
Reputation: 0
Post: #85
tolax Wrote:PM sent - Smile

PM sent back Smile ... in case others are curious though, it seems that for some reason Tolax's slingbox "encrypts" all resolutions. It's the first one I've come across that does that. All the other ones I've tested so far allowed anything below 320x240 to be unencrypted and thus perfectly watchable. So for anyone who might read this and test things out, if you are seeing half a picture with a bunch of "garbage" and are hearing no audio, that's the "encryption". And if any ecryption or decoding gurus are reading this and want to help figure out a solution to this issue I'm all ears.

Thanks,
Harry
find quote
Harry Muscle Offline
Fan
Posts: 505
Joined: Nov 2006
Reputation: 0
Post: #86
More good news Smile ... I've put together a "nightly compile" of not just the exe but the full XBMC distribution with all required files, etc. It can be downloaded here: http://www.megaupload.com/?d=IPXL13WO . Simply unzip the file and run the xbmc.exe file. You'll be running the latest XBMC as of yesterday with patch version 4 compiled in. In order to add a slingbox, add a source in the following format:

Code:
sling://username:password@slingboxaddress:port/input

Where username is either administrator or viewer and slingboxaddress is either an IP address or DNS name that you can resolve locally and input is the input number you want to watch. Input is optional, if none is specified it will default to the first input. Port is also optional, it will default to 5001 (default Slingbox port) if none is specified.

If you want to change the default connection settings for connecting to your Slingbox, you can create a SlingboxSettings.xml file in the userdata folder (where the AdvancedSettings.xml file would normally be created also, for example) with the following layout:

Code:
<slingboxsettings>
  <slingbox>
    <width>320</width>
    <height>240</height>
    <videobitrate>704</videobitrate>
    <framerate>30</framerate>
    <smoothing>50</smoothing>
    <audiobitrate>64</audiobitrate>
    <iframeinterval>10</iframeinterval>
    <buttons>
      <channelup>09</channelup>
      <channeldown>0A</channeldown>
      <zero>3A</zero>
      <one>31</one>
      <eight>38</eight>
      <nine>39</nine>
    </buttons>
  </slingbox>
</slingboxsettings>

Every settings is optional, so if you only want to override the audio bitrate, then that's all you have to specify, all the other settings will keep their default values. If you need your Slingbox to send IR commands to control whatever your source is, you need to enter your button details in the button section. Currently only the channel up/down and 0-9 buttons are supported. They need a value somewhere between 00 and FF in hexadecimal notation. The problem currently is that the only two ways to find the correct values are either by trial and error (most Slingboxes I tested had values under 50 for all these buttons, if that helps), or to analize the network traffic between the Slingbox and Sling Player ... not a very user friendly act.

Hope this helps while we wait for the latest patch to make it into XBMC.

If you guys have any questions let me know. I should be around for the next couple of days.

Thanks,
Harry

P.S. If you are connecting to more than one Slingbox, you can specify settings for them seperately, by adding hostname=slingboxaddress to the slingbox entry in SlingboxSettings.xml ... so it would look something like this:

Code:
<slingboxsettings>
  <slingbox hostname=slingbox1address>
    ...
  </slingbox>
  <slingbox hostname=slingbox2address>
    ...
  </slingbox>
</slingboxsettings>

The code will try to find the first set of settings that either has no hostname specified (the settings that match all Slingboxes) or where the hostname matches the Slingbox you wanna watch.
(This post was last modified: 2011-02-18 06:24 by Harry Muscle.)
find quote
chris0147 Offline
Junior Member
Posts: 23
Joined: Jan 2011
Reputation: 0
Post: #87
Harry Muscle Wrote:I haven't had a chance to host it on my site yet, so I uploaded it here: http://www.megaupload.com/?d=FTUQOMWM . You should find this way easier to understand and use than SlingboxSDK ... then again of course I'd say that cause I wrote it Smile

Harry

Thanks Harry,

is that both documents is for c++? if yes then i will try and convert it to net. however how i can watch streams through on my form, should i drag the vlc player control and use it? Smile
find quote
tolax Offline
Junior Member
Posts: 39
Joined: Jan 2010
Reputation: 0
Post: #88
Harry Muscle Wrote:PM sent back Smile ... in case others are curious though, it seems that for some reason Tolax's slingbox "encrypts" all resolutions. It's the first one I've come across that does that. All the other ones I've tested so far allowed anything below 320x240 to be unencrypted and thus perfectly watchable. So for anyone who might read this and test things out, if you are seeing half a picture with a bunch of "garbage" and are hearing no audio, that's the "encryption". And if any ecryption or decoding gurus are reading this and want to help figure out a solution to this issue I'm all ears.

Thanks,
Harry

For reference I have a couple of Slingbox PRO-HD's (USA). HW rev 1.0, Firmware 2.1.90 (11/30/2010). If anyone with a pro-hd does not have encryption at the low resolutions I would be interested in the FW version they are using

Tolax
find quote
Harry Muscle Offline
Fan
Posts: 505
Joined: Nov 2006
Reputation: 0
Post: #89
chris0147 Wrote:Thanks Harry,

is that both documents is for c++? if yes then i will try and convert it to net. however how i can watch streams through on my form, should i drag the vlc player control and use it? Smile

Yup, both are C++ documents, one is the actual c++ source file and the other is the c++ header file. As for answering your question, sorry no idea.

Harry
find quote
astroboy2 Offline
Junior Member
Posts: 1
Joined: Feb 2011
Reputation: 0
Post: #90
I tryed http://www.megaupload.com/?d=IPXL13WO. I unziped the file then run XBMC.exe. The application started but I can't find anyting about SlingBox in program or video. I did a seach for Sling* in program file and in AppData but I have 0 result.

Are you sure this build really include the SlingBox add-on Confused

Bye the way, very nice idea to do this feature ! If yes this there a GUI in XBMC ?
find quote
Post Reply