Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Video playback? (https://www.delphipraxis.net/216350-video-playback.html)

WojTec 15. Dez 2024 10:24

Video playback?
 
Hello! I just want to ask old question, how to play video in VCL? There is ancient TMediaPlayer visual component, it is working, but is unbelieveble slow on 4K+ and can't handle any stream properties, even frame dimensions. There is VisioForge and FFVCL, but both for $$$. Is there something nice for videaos?

himitsu 15. Dez 2024 12:45

AW: Video playback?
 
The TMediaPlayer can do more than you think.
If you have access to http://entwickler.de, you might be able to watch one of the contributions from Bei Google suchenEKON 28 (https://entwickler-konferenz.de/de/). Or you might have been there in person and watched it live.



not VCL ... VLC :zwinker:
Bei Google suchenLibVLC (Bei Google suchenVideoLAN Client)

Many media players, for example, offer an ActiveX component that can be integrated into your own program.
But you could also use the TWebBrowser to display the video there.

https://www.delphipraxis.net/150992-...hi-nutzen.html
https://wiki.videolan.org/Using_libvlc_with_Delphi/

WojTec 15. Dez 2024 14:11

Re: Video playback?
 
I don't have access to resources you wrote.


I can play videos with TMediaPlayer and add other functionality by own code, and it playing. But for 4K videos it working like network stream on poor connection and can't normally watch it (for FHD is ok). Is it some tip to force it working better?

Or maybe also advanced sample how to fully use it?

Der schöne Günther 16. Dez 2024 11:52

AW: Video playback?
 
For playing videos (and using additional features like subtitles), I took the lazy approach and just used
Delphi-Quellcode:
TEdgeBrowser
to play the movie file (.mp4 or .mov). Works like a charm.


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:28 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz