Monday, March 10, 2008

Ubuntu/XP: Streaming Sopcast to your mobile devices

Sopcast is an amazing application which gives you access to a lot of unique and entertaining channel listings. Here I'll show you how we can broadcast your sopcast streams onto your other devices on your home network.

Let us see how it is done..

My setup:

  • 1 laptop running ubuntu with 2 network interfaces (or WinXp)

    • eth0 - LAN, (public ip -- internet)

    • eh1- WLAN (

  • 1 Nokia N80 cell phone (any device with wifi)
  • Ad-hoc wireless dorm network (or any other network)


1. Start gsopcast and let it buffer the channel of your choice. The video soon starts playing.

2. Find the port in which sopcast is playing. Copy the last port no. displayed in the sp-pc command
ps -ef | grep sp

anoj 17567 17549 7 04:09 pts/2 00:00:16 sp-sc sop:// 42205 57700

For folks on winXP, right click on the media player window that appears when the streaming starts and look at its properties. It should have a localhost address of the stream. Copy that

3. Open Vlc player, click on open network stream. Specify http address :
http://localhost:[port no]


4. Select on Advanced Option section on stream/save and click on settings.

5. In the settings dialog, check on http and select port 1234.

6. Select the enapsulation method supported by your other devices. I have chosen MPEG TS

7. In the transcoding section, select the video and audio codec that your device supports. I am choosing mp4v Bitrate 1024 kb/s, scale .5 Also select the desired audio codec and click ok.

8. In the open dialog, click ok and let vlc start streaming and broadcasting.


1. In your mobile devices, open your media player (eg. Core media player) and play this url
http://[ip-adr of eth1]:1234

2. Viola!! The device is now streaming a sopcast feed off your server.


Anonymous said...

Bro awesome work...can you please make a tutorial with windows vista ? ? please ...i would love to watch cricket matches on my N81..

thanks in advance

Anonymous said...

I really enjoyed this post. You write about this topic very well. There are many cherished moments in life, why not wear a beautiful dress! When looking back on special memories of your child wearing a gorgeous dress, it will make a fond memory.

online pharmacy

Anonymous said...

Pretty nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again soon!

aroma therapy

Anonymous said...

Super-Duper site! I am loving it!! Will come back again – taking your RSS feeds also, Thanks.

cheap clomid

Anonymous said...

Thank you for sharing the info. I found the details very helpful.

cheap nolvadex

DaveMac said...

This looks awesome... would it also work off a FreeNAS server?

Any pointers on installing whats required?

Binggo said...

PAPISLOT adalah situs judi online yang terpercaya di Indonesia. Dimana kami adalah salah satu situs judi bola online, casino online dan situs judi slot online terbaik yang mencakup seluruh bidang permainan game online. PAPISLOT kini hadir sebagai salah satu judi slot online Indonesia yang didukung oleh customer service profesional online 24 jam dan anda bisa menghubungi kami via livechat , SMS maupun telepon.