How to watch a movie that needs to be vodplayer on Linux __linux

Source: Internet
Author: User

This can also be seen as a solution for downloading online movies that need to be vodplayer or called the Po litong player.

The Polaroid video on demand service is used in many broadband services. Faster, but must use its specific player vodplayer to play. This software only has a version on the Windows platform. Not available on Linux or Mac. Unless you install a virtual machine. That's too much trouble.

Now provide a solution, the principle is as follows:

First analysis, why can only use Vodplayer player to play it. This must be the server on the video request to make a decision, an HTTP address format multimedia address, as long as the analysis of the specific data packets will be able to understand. The sniffer is able to tell that the agent in the packet indicates that the requester is vodplayer, and that it should be based on whether the server responds to the request. Reject the response if it is not a request made by the player. Exactly so, we are limited to vodplayer players only to play. So we can just pretend to be the player and make a request.

Thanks to our powerful Linux wget, we can easily get video content, which means we can download it locally and then watch it. Wget can disguise itself as a variety of clients through the parameters. The parameter is –U.

Therefore, we complete the download task in three steps.

The first step, through the network sniffer analysis of the Vodplayer agent is "Novasoft netplayer/3.8", the second step, get the movie's HTTP address. Here's a bit of a trick to play with, in general browsers, by using an IFRAME to invoke an ActiveX code nested with Vodplayer. Otherwise you can't play it, but it doesn't matter, we didn't intend to play it online. Just analyze the HTML page's source code to find the movie's HTTP address. You can use the Firefox browser, install a Firebug plug-in, it is quite convenient to get the address.

The third step, in the console input command call wget can be downloaded. The format is as follows:
wget-u= "Novasoft netplayer/3.8" "The HTTP address of the video"
It's OK.

Of course, it can be implemented under the Windows platform. Because wget can also be used under Windows platforms. In fact, the installation of a bash running environment, this is the same very sharp Cygwin .

Of course, if you can find other downloads that can specify the agent, that's also true, not necessarily using wget.

This is still very useful at home, after all, many services can only be in Windows under the corresponding software. One can avoid being confined to windows and providing a convenience for friends who like Linux . Secondly, the network speed is not very stable, sometimes online look very card, inconvenient. A movie just 5 minutes or so to download down, on this machine look very comfortable. Of course, it's important to note that if everyone downloads the bandwidth in this way. Do not use indiscriminately, do not remember.

Turn from: http://www.alexadaman.cn/program/how-to-linux-under-the-watch-of-the-film-to-be-broadcast-vodplayer.html

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.