![]() |
MCI - Videos abgehackt
Ich spiele mit folgendem Code kleine (1-6 Sekunden lange) Mpeg-Videos ab.
Jedoch sind die Videos dann manchmal um ne halbe Sekunde abgehackt. Mein problem ist, dass die halbe Sekunde wichtig ist. Ich lege Wert darauf, dass das ganze Video sofort abgespielt wird.
Delphi-Quellcode:
Hat jemand einen Vorschlag zur Lösung des Problems ?
try
mciErr := mciSendString(PChar('open mpegvideo!'+filename+' alias video1 parent '+IntToStr(self.Handle)),nil,0,self.Handle); if mciErr <> 0 then exit; mciErr := mciSendString(PChar('window video1 handle '+IntToStr(self.Handle)),nil,0,self.Handle); if mciErr <> 0 then exit; mciErr := mciSendString('play video1 fullscreen notify',nil,0,self.Handle); finally if mciErr <> ERROR_SUCCESS then DisplayMciError(mciErr); end; |
Re: MCI - Videos abgehackt
PUSH :oops:
Ist aber hoffentlich lange genug her. :? |
Re: MCI - Videos abgehackt
|
Re: MCI - Videos abgehackt
Danke!
Ich glaube es hingekriegt zu haben mit DSPACK. Sind noch einige kleine Makel, aber das kriege ich hin. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:38 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-2025 by Thomas Breitkreuz