How to watch Acestreams and SopCasts without installing Ace Player or SopCast for RaspBMC

Announcements

UPDATE 22/09/15: Woah, this page is still getting views even though Wiziwig has been down for about nine months now. Some of this stuff might be outdated but I currently have no time to make any updates for the content of this page. Sorry for that but I hope that you can still get something useful information out of this!

UPDATE 24/12/14: Firstly, yes I am writing this and it’s Christmas Eve, I really have nothing else to do at the moment. And for the important part: If you haven’t tried Chromecast yet, I suggest that you do because it’s quite awesome and simple device to get your browser window to your television screen.

I’m working on to find the easiest solution to watch Acestreams on your Chromecast and so far I’ve found just some stupid tutorials of how to get Acestreams to your Chromecast with your Android device. I’m quite sure that for Windows users there should be easier way using .webm with Configuring Ace Player for streaming part of this tutorial. When I figure that out I’ll make a new page in this site for that operation.

I have to say that I’m happy to see how much this page gets views per day. I hope you can still get something useful out of this since some of the stuff might be outdated. If there is something that is just plainly broken please mention it in the comment section.

I’ve made all these things in my hometown where I visit about once in a month or two so I haven’t put much effort to check if everything still works. Now that we have Chromecast for streaming browser content and Viaplay to stream all the major sports there really isn’t much use for our RaspBMC anymore.


 

 

 

 


The Tutorial

You need a laptop or desktop PC (tested with Windows 7 & 8) with Ace Player and a decent Local Area Network to try these with your RaspBMC. If Windows Firewall suspects anything about Ace Player or Putty while you’re doing this, just allow allow everything.

 

Table of Contents

 

Checking (local) IP Address of your Raspbmc and Enabling SSH for later use

Checking streaming PC (local) IP Address

Configuring Ace Player for streaming

Optional: Adjust Ace Player’s buffering settings

Setting up Raspberry PI

Update 30/12/13: .pls playlist that helps launch the stream back on automatically if stopped while buffering

Update 26/8/14 advancedsettings.xml to increase possible buffering time before timeout and “Playback failed” message

Watching SopCast streams with RaspBMC without installing X-Sopcast

Watching SopCast streams with Raspbmc and OpenELEC installing X-Sopcast

 

 

Blue parts with your Raspberry, gray parts with your streaming PC


Checking (local) IP Address of your Raspbmc and Enabling SSH for later use

 

  1. Check IP address for later use (Programs → RaspBMC Settings → Network Settings)
  2. Enable SSH Server (Programs → RaspBMC Settings → System Configuration → SSH Server)

Checking streaming PC (local) IP Address

Open cmd → ipconfig → check your IPv4-address or Open Network and Sharing Center → Click your Ethernet connection → Details → IPv4 Address

You’ll need this later so just write it down somewhere.


Configuring Ace Player for streaming

Install Ace Player http://acestream.org/

 

Open Ace Player and make these adjustments:

Source: http://forum.wiziwig.eu/threads/81442-Tutorial-How-to-pass-on-an-AceStream-stream-to-an-external-device

aceplayersettings

1) start up the TS Player / AceStream player and go to Options > Preferences

–> Show all options (bottom left of the popup screen)

—>select Stream output

–> enter this code in the Default Stream Output Chain field

 

#duplicate{dst=”http{mux=ts,dst=:8902/tv.asf}”,dst=display}

 

Find a working Acestream (http://www.wiziwig.tv/index.php?part=sports)

or try Ace Player’s test stream

 

CTRL + T (Open Ace Stream Content ID) in Ace Player

Test stream id: 6efaec5d8be7e886cf635e5359d1be173bb299a0

 

Start playing. If nothing happens check http://info.acestream.org/#/test → Play → Right-click → Share → Copy Content ID and try again. Some Internet Service Providers block torrents so you should check that Acestreams work with your Internet. If it works you can choose one of these methods to stream to your raspbmc.
UPDATE 12/23/13: Adjusting AceStream settings, not necessary if everything works! Just keep this in mind if you have problems with buffering pauses.

 

Optional: Adjust Ace Player’s buffering settings

 

UPDATE 12/29/2013: Bloodzeed has made a tutorial video about this:

http://www.youtube.com/watch?v=X_fEF4Jdv2M

 

Source: http://forum.wiziwig.eu/threads/81617-Acestream-Settings-%28How-To-Stop-Annoying-Buffering%29

 

1) In the settings (check the picture below, in (my Windows 8.1) bottom-right there’s icons for VLC, current instance of Ace Player and rainbow-colored Ace Stream HD. Right-click the rainbow-colored and choose Options) you need to set the TS maximum upload speed to the maximum, leave the value “0” (default).

2) In the setting of TS increase buffer Live 2-3 times (20-30 seconds) or more. Live Buffer, s Default: 10

3) Then, increase number of peers in 2 times. Maximum number of connections – 400, the maximum number of connections to the stream – 100. Total max connects & Max connects per stream Defaults: 200 & 50

4) If your computer is connected through a router, you must open port 8621. Don’t have to do this unless you can’t connect at all (I think), if you don’t know how to open ports check for your router here

5) Also, the router to enable UPnP, if it is off. I have absolutely no idea how this affects.

 

CLICK APPLY BEFORE YOU CLICK OK. For some magical reason my new settings were not saved if I pressed just OK. Don’t ask me why, I haven’t got a slightest idea :)

Setting up the Raspberry PI

SSH connection with Raspberry

 

  1. Open Putty Tray with another computer
  2. Connect to (Raspberry) IP you looked up (something like 192.168.1.220)
  3. Username: pi
  4. Password: raspberry (you can’t see the letters while typing password)
  5. If you see pi@raspbmc:~$ you’re able to write following commands (see the picture below)
  6. mkdir Streams (creates new directory known as Streams)
  7. cd Streams (navigates Streams to be your current directory)
  8. nano mystream.strm (opens text editor Nano to create a new file) NOTE: I PREFER .PLS PLAYLIST FILE OVER STRM TO AVOID BUFFERING “CRASHES”, CHECK UPDATE 30/12/13
  9. http://xxx.xxx.x.xxx:8902/tv.asf (replace x:s with local ip of your stream PC  )
  10. CTRL+X, save the file (press Y and enter and you’ll return to terminal)
  11. Keep Putty/Terminal open (just in case if something doesn’t work) or close it pressing CTRL+A+D

Navigate to Videos → Files → Add videos → Browse → Home folder → Streams. Now you should see the Streams folder when opening Videos → Files

Open Streams folder and you will find your mystream.strm file. When your streaming PC has buffered everything and runs smoothly you can press mystream.strm and your RaspBMC begins to play the stream.

 

Update 30/12/13: .pls playlist that helps launch the stream back on automatically if stopped while buffering

 

You can make a .pls playlist of many instances of your stream link. The easiest way is with http://tvtvtv.ru/tools/plc_eng.php and using nano. Playlist allows you to watch the stream even though it stops for buffering once in a while.

Example what to type in for the converting: http://pastebin.com/XtzfvbEW

Example what you should get for your .pls file content: http://pastebin.com/DXAQQyhA

 

Now just

 

  1. nano mystreamplaylist.pls
  2. paste the converted .pls file content in and save it
  3. download Chorus addon remote System → Settings → Services → Webserver → Web Interface → Get More
  4. http://yourraspberryip/addons/ select Chorus
  5. Videos → Files → Add videos → Browse → Home folder
  6. Find your playlist file with Chorus (Video files folder) and start playing it
  7. Wait a moment because it loads quite many objects
  8. Enjoy your stream! It can handle buffering for about a minute without closing the stream

 

Update 26/8/14 advancedsettings.xml to increase possible buffering time before timeout and “Playback failed” message

I’ve been looking for ages for something like this and it has been right in front of me all this time:

http://wiki.xbmc.org/?title=advancedsettings.xml

Basically you just have to do the following:

  1. sudo nano /home/pi/.xbmc/userdata/advancedsettings.xml
  2. Paste the following:


<advancedsettings>
<playlistasfolders>false</playlistasfolders>
<playlistretries>1000</playlistretries>
<playlisttimeout>300</playlisttimeout>
</advancedsettings>

Save it and reboot your Raspberry Pi with command sudo reboot

What it actually does after reboot:

If you look at xbmc documentation you’ll see that default values would be True, 100 and 20 (instead of false, 1000 and 300). This was the reason you would get the annoying “Playback failed” message if Ace Player had been buffering for more than 20-40 seconds. Now it keeps trying for five minutes for every playlist object. If your stream gets buffered more than that, it’s not even worth watching.

 

Alternative (I haven’t tested this):

http://ru.man.wikia.com/wiki/Raspbmc installing AceStream to XBMC, no idea about the version. Translatable to English with Chrome.


Watching SopCast streams with RaspBMC without installing X-Sopcast

 

Do everything introduced in Configuring Ace Player and  Setting up the Raspberry Pi.

 

  1. Open SopCast
  2. Option → General → Use my own player → Should be something like C:\Users\myusername\AppData\Roaming\ACEStream\player\ace_player.exe
  3. Open your SopCast stream and wait for buffering
  4. Find your .pls or .strm file with Chorus interface and enjoy the show with your Raspberry PI!

 

Watching SopCast streams with Raspbmc and OpenELEC installing X-Sopcast

 

SSH connection with Raspberry

 

  1. Open Putty Tray with another computer
  2. Connect to (Raspberry) IP you looked up (something like 192.168.1.220)
  3. Username: pi
  4. Password: raspberry (you can’t see the letters while typing password)
  5. If you see pi@raspbmc:~$ you’re able to write following commands
  6. sudo wget https://dl.dropboxusercontent.com/u/63807698/plugin.video.xsopcast-0.2.20.zip --no-check-certificate
  7. Choose System → Settings → Addons → Install from a ZIP → Browse to your Home folder and select Home folder and plugin.video.xsopcast-0.2.20.zip
  8. Choose Videos → Addons → X-Sopcast
  9. Enter channel ID (Six numbers)


 Update 8/8/2014 Nothing too fancy or new about this, just a really useful url to get the newest SportsDevil (to watch flash streams if no AceStreams or SopCasts available) and lots of other addons http://www.xbmchub.com/blog/how-to-install-sportsdevil-or-updates-through-its-new-unofficial-repository/


 

If something troubles you please ask!

8 Responses

  1. Barry says:

    Some really nice tricks here. Thanks.

  2. Bernie says:

    Hi!

    Thank you for the good tutorial.
    I have a problem. I’ve done all till i have the mystream.strm but when i open the file on the raspberry i just get sound and no picture.
    Can you help me please!?

    thank you.

    • Kalle says:

      Sometimes the video format isn’t supported completely by Raspberry’s OMXPlayer and therefore you see only visualization of sounds. It’s important that you purchase MPEG-2 and VC-1 codecs and enter their codes in your XBMC settings.

  3. NJ says:

    Hi gaLezki,

    Thanks for making the tut. I’ve been using the p2p-streams add-on for XBMC recently, connecting my Windows PC directly to my TV.

    This week, I decided to get a RPi to perform this task, so that I do not need to move my PC every time I wish to watch live streaming – I’ve got Raspbmc up and running no problem, but only Sopcast streams currently work via p2p-streams add-on. This led me to your tutorial – however, having created the .pls file with my local IP address, I am getting a playback error:

    20:05:16 T:3036803872 ERROR: Playlist Player: skipping unplayable item: 0, path [/home/pi/Streams/myAcestream.pls]
    20:05:16 T:3036803872 DEBUG: Playlist Player: one or more items failed to play… aborting playback

    Stream is working perfectly via Ace Player on my PC, and I cannot understand what the problem is..

    Can you help me out here please?

    Many thanks, NJ

    • Kalle says:

      Can you pastebin the contents of your .pls file? Have you checked from a browser that your Ace Player is streaming the broadcast it receives?

  4. e_mortal says:

    wiziwig2 is back up

  5. nicholas says:

    #duplicate{dst=”http{mux=ts,dst=:8902/tv.asf}”,dst=display} how should i modify this , so that it creates and records stream into A file (on desktop for example) that i can watch , later when i turn OFF acestream player ?

Leave a Reply

Your email address will not be published. Required fields are marked *