Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, February 9, 2006 8:21:39 AM(UTC)

Groups: Registered
Posts: 8


I'm using LeadTools for a continuous playlist-based mediaplayer. The
problem I'm facing right now is that between each file the ltmmPlayer
shows a blank screen (black display area) while loading the next file, then the show resumes.

Initially I was using the ltmmPlayer.sourcefile attribute to assing the
next file ... no good, so I switched to a memory prebuffering method
using the ltmmPlayer.SourceHGlobal attribute ... no good either. Both
techniques got me the same result, it seems that the player shows the
blank screen while switching form one file to the other, no matter the file is already loaded in memory.

I need a continuous play, without the blank gap between files. Would
you give me any suggestions to solve this? could you point me to an example for a insight of solution?

Thanks in advance,
L. Rick

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, February 13, 2006 6:11:37 AM(UTC)


Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

This blank screen cannot be avoided.  The control needs time to
build the filter graph upon loading a file among other housekeeping
functions.  As a work-around, try using two controls and proceed as follows:

1) Load the first file in the playlist in the first control and the second file in the second control.
2) Make the first control visible by setting the Visible property to True and the second one invisible.
3) Play the first control and pause the second one.

4) As soon as the first control is done playing, make it invisible,
make the second one visible and play it.  At this time, load the third file in the playlist in the first control and so on.

Will this help?

#3 Posted : Tuesday, February 14, 2006 11:04:37 AM(UTC)

Groups: Registered
Posts: 8

Hi Bashar:
Thanks, works perfectly!
L. Rick.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.555 seconds.