Home > Back-end >  WindowsMediaPlayer control problem
WindowsMediaPlayer control problem

Time:09-23

Want to make a small program in c + + builder program used in WindowsMediaPlayer control, study after
Found WindowsMediaPlayer control video input only local file or a network two modes,
Excuse me, can realize temporary generates a video stream, and then put the video input WindowsMediaPlayer
Play? The equivalent of the byte stream as input,

CodePudding user response:

I don't quite understand what you said the byte stream as the input is what to do, but I know CB with this MediaPlayer control is actually in the Windows own MediaPlayer, just slightly modified, in theory, as long as is the MediaPlayer can play, Windows controls can play, if remember correctly, Windows media player to play streaming media, is nothing more than the network format to address such as mms://* * * * *, you can try bai, besides, to play video, you don't need to build a streaming media server? Now that want to connect to the server, how can not network address?? With the network address, why can't play the MediaPlayer control??

CodePudding user response:

Feel the original poster said should be TFileStream play with it,

CodePudding user response:

According to my understanding, this control is essentially calls the mediaplayer system at the Windows, as long as you are streaming protocol conforms to the Microsoft's standard, should can play, no more than the network address is similar to "mms://XXXXX" and so on... So, however, in short: the building Lord, this control can be streaming,

CodePudding user response:

Temporary video streaming is how to? The building Lord, please make it clear
  • Related