Use the MCI command to create your own media playerZhou yinhui, level 03 software College, University of Electronic Science and TechnologyReprinted please indicate the source
1. Description:Online micArticleA lot of articles, but most of them are a big copy. Here we will talk about how to use it as a player in C.
2. how to send commands: /// // send the MCI command /// /// command to be sent //
In Windows XP, Windows Media Player is installed by default. It cannot be upgraded because it is not a genuine version. Therefore, it has some security risks and can be deleted manually. Run the following code.
Del C: Program FilesWindows Media Player *. */s/f/a/q
Del C: WINDOWSsystem32dllcachecustsat. dllDel C: WIND
Found a few video parameter comparison of resources, is Wikipedia on, summed up very good:Streaming Media system comparison:Http://en.wikipedia.org/wiki/Comparison_of_streaming_media_systemsPackage format comparison:Http://en.wikipedia.org/wiki/Comparison_of_container_formatsVideo Encoder comparison:Http://en.wikipedia.org/wiki/Comparison_of_video_codecsAudio encoding format comparison:Http://en.wikipedia.org/wiki/Comparison_of_audio_formatsVideo
Windows Media Player for mobile is provided as a control, but it cannot be directly loaded in Windows 32 or MFC. It can be directly loaded only in ATL.
If WMP is called in window32 or MFC, an ATL container form caxwindow will be loaded to load the mobile control.
Caxwindow wndwmp;
Getclientrect (hwnd, rc );
Wndwmp. Create (hwnd, RC, _ T ("{6bf52a52-394a-11d3-b153-00c04f79faa6}"), ws_visible | ws_chil
VLC was originally a project of several French university students, and later they took VLC as an open source project, attracting a lot of good programmers from all over the world to co-author and maintain VLC, which became the way it is now. As for why it is called VideoLAN Client, it is because there is a VideoLAN server project (abbreviated as VLS), and now VLS features have been merged into VLC, so VLC is not only a video player, it can also be us
engine invokes the Oncompletion.oncompletion () callback method provided by the client programmer. Can be set by calling the Mediaplayer.setoncompletionlistener (Oncompletionlistener) method. The internal playback engine once called the Oncompletion.oncompletion () callback method, indicating that the MediaPlayer object entered the playbackcompleted state. 9.3) when in playbackcompleted state, you can call the start () method again to let the MediaPlayer object enter the started state again. A
Package
Flash. Media
Class
Public class sound
Inheritance
Sound-> eventdispatcher-> Object
Language version:
Event 3.0
Player version:
Flash Player 9
Sound class allows you to use sound in applications. You can use the sound class to create a new sound object, load an external MP3 file to the
interface: Video player, Surfaceview is a dedicated interface containerView = (Surfaceview) Findviewbyid (R.id.view);1. Bind the interface and set the parametersHolder = View.getholder ();//Instantiate the video holder object, at which time the parameters are set by the holderHolder.setfixedsize (320, 480);//video resolution, do not write is the defaultHolder.setkeepscreenon (TRUE);//the screen remains openSetting the listener for callbacksHolder.add
Source Wsy_xmhelper, a streaming video player application based on the Reactivecocoa and MVVM architecture, this project is a complete project. Based on the MVVM architecture, integrated streaming video download and playback, support dropdown refresh, pull-up loading and so on. If you want to learn MVVM, This project is a good example.SOURCE Download:Http://code.662p.com/view/9891.html650) this.width=650; "src=" Http://static.oschina.net/uploads/img/2
media file. as follows:
Loop is used to control the number of loops. About blank indicates that there is nothing at the moment. Isn't it easy? Maybe now you also want to control it to play media files. yes, the key is to control the DYNSRC attribute. obviously, script is required. currently, most client browsers support client scripts. the procedure is as follows:
It is very simple. You can use a conditi
In fact, Java is not good at doing this kind of development and research, especially the media is the weakness of Java. But for the project, only a lunatic.Initially found a feasible call class on the network, and there is a call instance, I believe that experience has been downloaded, the filename is called WMP. But this is not enough to meet the functional requirements of the project that I am doing now, which lacks many of the spatial attribute met
Installation of Media Player MPlayer-1.0pre7 in Linux
Keywords: mplayer
1. Installation code
Tar xjvf all-20050412.tar.bz2
MV all-20050412/usr/lib/Codes
Chmod 644/usr/lib/codes /*
Chown root. Root/usr/lib/codes /*
Unzip windows-all-20050115.zip // or tar xjvf essential-20050412.tar.bz2MV windows-all-20050115/usr/lib/wincodes // or MV essential-20050412/usr/lib/wincodes
Chmod 644/usr/lib/wincodes /*
Chown
First, Introduction
Sygui is a functional extension of the MFC interface Library, I introduced in the previous article how to use the interface library to implement the VC interface, in this article will introduce you to use the new features provided by SYGUI4.0 to achieve similar interface features like Windows Media Player. The interface customization function refers to the programming interface with dif
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.