How to watch SopCast

Source: Internet
Author: User
How to view SopCast network TV-general Linux technology-Linux technology and application information through the command line is as follows. For some reason, gsopcast cannot download the channel list. Linux users are miserable now, and the only network TV cannot be seen.

In fact, what SopCast provides for Linux users is the command line tool. As long as we find the channel list and know the parameters of a channel, we can see the TV of the channel.

Follow these steps:

1. Download the command line tool

~ $ Wget http://download.sopcast.cn/download/sp-auth.tgz

If the connection fails, add the proxy parameter temporarily:

Export http_proxy = http: // localhost: 8118/; wget http://download.sopcast.cn/download/sp-auth.tgz

The above export http_proxy =... is my proxy, You need to replace it with your own available http proxy.

Decompress:

~ $ Tar xvf sp-auth.tgz

2. Retrieve the channel list

~ $ Cd sp-auth
~ $ Export http_proxy = http: // localhost: 8118/; wget http://channel.sopcast.com/gchlxml

Note that the http proxy should be replaced with an appropriate available proxy.

3. Find the link parameters of the desired channel.

Use a text editor to open the obtained channel list file gchlxml and find the channel you want to watch, such as Shanghai Sports. Sop ://... Some are what we need.

Sop: // broker1.sopcast.com: 3912/6001

4. Run the sopcast Client

~ $ Sp-SC-auth sop: // broker1.sopcast.com: 3912/6001 5460 8286>/dev/null &

The following two parameters are the port number.

5. Run mplayer and watch TV

~ $ Mplayer http: // localhost: 8286/TV. wmv

Note that the port number is the same as the last parameter used to start the sopcast Client Command.

In fact, you can also create a script to input two parameters, namely, the proxy server and the channel name. The script will automatically find the corresponding channel for playback.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.