I have a need to play .wmv and .avi files in my software.
I am trying to use the video playback feature of ImageEn (ImageEnView1.IO.DShowParams). For this I am currently testing this feature in the demo (VideoPlayer) provided.
But what is happening is that on some PC the video starts to play a few frames and sort of hangs and then plays rest of the frames as expected.
What is happening is that on most PCs that we tried it is not able to play .avi video but is able to play .wmv video. But this also stops working after we open various video files a few times.
What must be the problem?
How can we get this feature to work seamlessly on all PCs?
To get our users to install extra filters for DirectShow would be nightmare for us.
In case of Win10 playing .avi and .wmv files should not be a problem I think because both these types of files play well in the default Windows Media Player.
Instead asking our users to install something extra just to play videos I will have to find some other way to play videos.