rfuilrez Posted August 30, 2009 Share Posted August 30, 2009 This is a way I found to run Sopcast on a OS X computer without using Crossover, or run it inside a Virtual Machine running windows. It does however make use of VMWare and a Linux server. Let's get started. Things you will need. VMWare Fusion Installed A copy of the ubuntu server disk image http://www.ubuntu.com/getubuntu/download-server (You can use the regular version if you want. I just used server because it has no GUI) VLC http://www.videolan.org/ The first step is to install your copy of Ubuntu server in Fusion. It's pretty straight forward, so I won't go through that here. For those of you who install the 64bit version of server we're going to need to download the 32bit libraries. Log into your install and run the command sudo apt-get install ia32-libs The sudo password is the same as the user password. Answer yes to the few questions it asks. Next we need to download the linux sopcast files. wget http://download.sopcast.cn/download/sp-auth.tgz wget http://www.sopcast.com/download/libstdcpp5.tgz Now if you type the command "ls" you should see in your home dir something like this Next you'll need to unpack the files in the archives. tar -zxvf libstdcpp5.tgz tar-zxvf sp-auth.tgz The next step is to copy the libraries to the /usr/lib section. sudo cp -v ./usr/lib/* /usr/lib Get the IP Address that your VM is running with the command ifconfig and look on the line "inet addr" In my case its 172.16.218.137. Write this down we'll need it. Now we're almost ready to run Sopcast. I needed to make the binary executable. You can do this by chmod +x ./sp-auth/sp-sc-auth Now. You're going to need the server address for the sopcast stream you want to watch. I'll use MMA-TVs address sop://broker1.sopcast.com:3912/24267 Use this command to get the stream. ./sp-auth/sp-sc-auth sop://broker1.sopcast.com:3912/24267 3908 8908 If you've got a stream that's up you'll see a whole bunch of text outputting on the stream. Great we have sopcast working good. Use CTRL+C to kill the process, and fire it back up with the next command ./sp-auth/sp-sc-auth sop://broker1.sopcast.com:3912/24267 3908 8908 > /dev/null & This will hide all the output, and run the process in the background. You can now hide your virtual machine and open VLC. Inside VLC do File >> Open Network. Under HTTP / FTP / MMS / RDP put in the IP of the VM, and the port 8908 like this Hit OK and you should be good to go! I've used this method a few times now to watch UFC over sopcast. It works nice, allowing a OS X native app to run the stream, while the VM is hidden away. Let me know if you have any troubles with the tutorial. First one I wrote, and it's late. Bound to be errors somewhere. Have fun. Let me know how it works for any of you. Link to comment Share on other sites More sharing options...
Recommended Posts