Solved

Jpeg movie-like Playback

Posted on 2003-11-23
4
292 Views
Last Modified: 2010-04-05
Hi all,

I want to know if there's a way to display a series of jpegs located in the same directory. It tried using this:

        for loopCounter:=0 to filelistbox1.Count-1 do
        Image1.Picture.LoadFromFile(filelistbox1.directory+'\'+filelistbox1.Items.Strings[loopCounter]);
               
BUT, i wish to display it like a movie so that it doesn't flicker. Is there a way to do it or is there a component that can speed up the job?

Thanks! :P
0
Comment
Question by:delphikit
4 Comments
 

Author Comment

by:delphikit
ID: 9808274
Its ok now, I found the answer here:
http://delphi.about.com/bltip0302.htm
0
 
LVL 3

Expert Comment

by:Mamouri
ID: 9814067
Best package that can be used is RXLib. you can find it torry.net.
In this package you can find An Animation component. Although it used for displaying an animation from a single file you can use it for displaying some seperate jpeg files too!

Othr solution:
You can use a TTimer Object too!
And use following line for preventing fliecker:
OnFormCreate:
DoubleBuffered := True;

And a suggestion.
You can convert you Jpeg files to SWF using ScriptSWF OpenSource Project (sswf.sourceforge.net) or Bukoo OpenSource Project (bukoo.sourceforge.net) and display flash animation to the user.

You can install OCX ActiveX for dispalying flash in user computer easily using regsvr32.exe utility.

If you search in delphipages.com you can find a lot of articles for dispalying flash content
It will be much better.

Let me if you have any problem regardless any solution I suggested
And Sorry for my poor english
Regards
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12900837
PAQed with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Path  to current project in Delphi. 2 94
Delphi component that can load a DLL in design time? 8 75
Delphi cmd execution 6 67
Firemonkey allowing RTL on android 6 47
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question