Home > Archive (Community help, from old helpdesk) > Few clarification while using the Trail Version

Few clarification while using the Trail Version

Avatar image
Aug 23, 2015
Archive Agent wrote
Hi Visioforge
I am in need of a Player which plays Uncompressed Avi and Mov format files. while i am checking with Visioforge mediaplayer i could not find the direct source file playing we have to add the file in FilenamesOrURL to play. i tried to browse another file and try to play after clearing the FilenamesOrURL a PIP is playing.

i have to choose between Source_Mode for different format to play.

is there a way to play the media player in easy way like auto Source_Mode and Video_Renderer.

How to use imagesource for Source.

Thank you.

Alex on May 13, 2013 12:01
Completed
0
Vote
Reply
5 Answers
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Uncompressed AVI is still need to be splitter to video and audio streams from data, so, use normal mode. Same for MOV.

Control is not designed to show images, only for video.

on May 13, 2013 13:00
Aug 23, 2015
Archive Agent agent wrote
Alex

Hi Roman,
But how to play the video file directly by browsing using Opendialog.
where a picture in picture mode playing is there. even after i cleared
the FilenamesOrURL.

on May 13, 2013 13:20
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Sorry, I do not understood...

Where is a problem? PIP in Media Player SDK? Worked with another files like wmv?

on May 13, 2013 13:22
Aug 23, 2015
Archive Agent agent wrote
Alex

Hi Roman
var dlg = new Microsoft.Win32.OpenFileDialog();
dlg.ShowDialog();
string file = dlg.FileName;

mediaplayer1.Stop();
mediaplayer1.FilenamesOrURL.Clear();
mediaplayer1.FilenamesOrURL.Add(file);
mediaplayer1.Video_Renderer = VFVideoRendererWPF.WPF;
mediaplayer1.Source_Mode = VFMediaPlayerSource.File_FFMPEG;
mediaplayer1.Debug_Mode = true;
mediaplayer1.Video_Effects_Enabled = true;
mediaplayer1.Video_Effects_Deinterlace_CAVT(1, 0, 0, true, Convert.ToByte("20"));
mediaplayer1.Play();
mediaplayer1.Loop = true;

this is how i am using to open a video.
first i opened a mov file then i browsed and opened a wmv file this PIP mode playing

Thank you

on May 13, 2013 13:34
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Yes, it's a correct way to open video

on May 13, 2013 13:38