C # Implementing a centralized approach to the player

Source: Internet
Author: User

Http://www.cnblogs.com/iskyoole/archive/2012/03/25/2417181.html (original link address)

First, use the VS bring-your-own Windows Media Play control

Advantages: easy to use;

Cons: Fixed interface, limited format support.

Second, using the Microsoft DirectX playback

Advantages: Can customize the interface, the supported playback format increased;

Cons: You must also install a decoder when playing a video.

Third, use LIBVLC play

Advantages: You can package Libvlc.dll (open source program has the Ox people have been encapsulated, can be directly used), the format of support increased;

Disadvantage: To support the playback format, you need to add the corresponding plug-in DLL files, so the DLL has about 50M.

Four, use DirectShow play

Advantages: Open source program, you can process the code yourself, support a lot of formats, but also support the picture playback;

Cons: Not yet found, in the four ways to play, I recommend this.

C # Implementing a centralized approach to the player

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.