Closed ahmed-abdelrazek closed 6 years ago
What renderer do you use? VMR9 should not need to install VS C++ redistributable. The EVR may need it, compile it with lower version by yourself if you need lower version of the redistributable.
About the Stop and Pause, you are right, they are same or similar. I do not know the details. Check DirectX IMediaControl .Stop()
and IMediaControl .Pause()
.
for xp i used the default settings only the test app atleat on my test machines (xp - 7 - 8.1 - 10) needed the microsoft visual c++ 2015 or at least one dll file from it i can't recall it's name
the same settings on xp will get me an error when opening the app that some dll file from directx is missing and when i install it the app runs but it can't play anything and gives me an error for the player
Yes, this library works on most of machines, but sometimes one may found some problems. It's very hard to help you if you report "or at least one dll file from it i can't recall it's name". Also, this is a library, not player. You should have some C# programming knowledge to track down the problems.
Just try to switch to VMR9. Also check the error details in Debug.Trace output or configure logging (see Wiki) if you cannot use Debug.Trace.
i am a C# Developer any way what i am trying to say is on windows xp the test app with the source code doesn't even start without the directx and the visual c++ but after installing them the app runs but the player controller itself show an error when playing any file
i don't recall the file name because it was a month ago but i don't have time then to report the issue sorry i will test it again and i would be happy to give you the exact info about the problem
Well, if it's about .NET version I think the library may be compiled to .NET 4, but some minor changes will be necessary. Do you have some reason to use XP and not Windows 7?
nope, i rebuilt it targeting the dotnet 4.0 that why i could run the test app on XP but the player controller still give me an error when playing any video but the same dotnet 4.0 app runs ok on 7 8.1 and 10 with visual c++ 2015 installed without the need for the DirectX which was weird when the app itself ask for it on XP and wouldn't open the player controller still give me an error unable to play anything after i installed the latest DirectX on xp
no, there isn't i was just testing the library and was wondering is it a bug with the library or someting i did?
I repeat: check if the problem is in the EVR or VMR9 renderers, send the error.
Well, MF.dll
is a part of Media Foundation, I think it cannot be installed on WindowsXP. But better you check in by yourself. If not, then you have to use VMR9.
The error about the "Splitter graph" is caused by DirectX, do you have a proper codecs installed? You must choose some lower version of K-Lite codecs which supports XP.
i will try again thanks
DirectX and Visual c++ is already installed + the latest LAV filter that supports XP
Maybe because it's a VM?!
Yep, some VMs don't support DirectX, check dxdiag.exe -> Display -> Direct3D Acceleration.
yep, there is a problem with the VM i will try to test it on a real machine
the stop button on the test app work like the pause button it should return the playtime to 0 and preview image for the player
the player doesn't work on windows XP with microsoft visual c++, directx and lav filter installed also no mention in the wiki about the need for microsoft visual c++ 2015
the method to close the video doesn't dispose it from the player and it kept loaded without the ability to do anything to the file until i open another one