azrael_11 0 Posted March 2, 2019 Hello ... Try to add video files with TMediaPlayer and TMediaPlayerControl and always get "unsupported media file" for any video file type like *.avi, *.wmv or *.mp4. I install the latest K-Full media codecs and the problem remains the same. Anyone has some experience about TMediaPlayer? P.S. Even the MediaPlayerHD example provided from delphi not working. Thank you.. Share this post Link to post
pcplayer99 11 Posted March 2, 2019 what kind of video file can supported, depends on system, not by FMX. Cause FMX just use default mediaplayer of system. Share this post Link to post
azrael_11 0 Posted March 3, 2019 20 hours ago, pcplayer99 said: what kind of video file can supported, depends on system, not by FMX. Cause FMX just use default mediaplayer of system. That i know, but mediaplayer from windows plays just fine. So something else create the problem. Share this post Link to post
M.Joos 30 Posted March 4, 2019 (edited) Be aware that there is a bug in the TMediaPlayer component that reports an "unsupported media file" error when it should have reported a "file not found" error. So first check if the file you are pointing to actually exists. Edited March 4, 2019 by M.Joos 1 Share this post Link to post
azrael_11 0 Posted March 5, 2019 On 3/4/2019 at 10:25 AM, M.Joos said: Be aware that there is a bug in the TMediaPlayer component that reports an "unsupported media file" error when it should have reported a "file not found" error. So first check if the file you are pointing to actually exists. No i double check that the .mp3 files plays just fine. Thank you. Share this post Link to post
stacker_liew 5 Posted April 25, 2019 Verify your path in Android/IOS platform, since it different from Windows. Share this post Link to post
pcplayer99 11 Posted May 12, 2019 What is your system? Windows? Android? iOS? Share this post Link to post
pcplayer99 11 Posted May 25, 2019 In Windows,I play video by using Dspack to write my own mediaplayer. Share this post Link to post
azrael_11 0 Posted May 25, 2019 9 hours ago, pcplayer99 said: In Windows,I play video by using Dspack to write my own mediaplayer. Is DsPack support fmx native o have a popup window when play a video file? Share this post Link to post
pcplayer99 11 Posted May 26, 2019 17 hours ago, azrael_11 said: Is DsPack support fmx native o have a popup window when play a video file? Dspack is a set of VCL control, so, you can use it to write a mediaplayer you self in VCL mode. And then, you can embed a VCL form into your FMX project. Dspack wrapped DirectShow9 as pascal code and you can use it in Delphi. The MediaPlayer in FMX under Windows is Windows mediaplayer that using DirectShow9 and wrapped by pascal. So, essentially these two is wrapped the same Windows component. By using Dspack, you have more degree of freedom, using TMediaPlayer by FMX, you have extremely few public method and property to use. Share this post Link to post
Hobo 0 Posted May 1, 2021 Download K_Lite_Codec pack and install. Either of the three variants will work. Be certain you have: OpenDialog1->Filter = TMediaCodecManager::GetFilterString(); included. Share this post Link to post
azrael_11 0 Posted May 2, 2021 On 5/1/2021 at 8:32 PM, Hobo said: Download K_Lite_Codec pack and install. Either of the three variants will work. Be certain you have: OpenDialog1->Filter = TMediaCodecManager::GetFilterString(); included. After 2 year ago and i have found no solution ... always get " unsupported media file " Share this post Link to post