How to play different videos in multiple windows

Started by Ravindra, March 13, 2023, 09:36:42 AM

Previous topic - Next topic

Ravindra

Hello,

In an single standalone application, can I play say two different videos simultaneously
using Audio DJ video player ? I can mute the audio of second video which I don't want.

Very precisely I want to play first video on my PC as first monitor and second video on projector as
a second monitor ?

If it is possible I need lines of code to do it.

Thanks and Regards

Ravindra.

Administrator

Hello,

yes, this is possible: the available VideoMixer sample project does exactly this.
You can use that sample project as a reference and, due to the fact that you don't need videos to be mixed, simply avoid to create the video mixer object by removing the call to the VideoMixer.Create method and the 2 calls to attach involved players to the video mixer through the VideoPlayer.AttachToVideoMixer method.

Hope this helps

Kind Regards

Severino Delaurenti
MultiMedia Soft

Ravindra

Hello Severino,

Thanks for for solution.
I could make 2 videos (Video-1 and Video-2) played on standalone PC in two different label controls (Windows) as per the solution given by you. (I am not using videoMixer)

Now when i connect the projector to PC i can see 2 monitors available on my PC.
I want to see the video-1 in monitor-1 on PC itself as a full screen window
and the video-2 in monitor-2 (Projector window) simultaneously.

My projector window is set to extended display mode.

Is it possible ? If yes, give me some hints and may be few lines of code.

If it is not possible this way then is there any other way to do it?

Thanks and Regards,

Ravindra.

Administrator

Hello,

unfortunately this was never tried so I don't have a solution or a specific code for this purpose.

Kind regards

Severino Delaurenti
MultiMedia Soft