Animation in OpenDCL

Started by altver, July 03, 2013, 12:14:44 AM

Previous topic - Next topic

altver

I want to add an animation into an ODCL.
I tried to insert an AVI file but without any success.
What is special in the "Clock.AVI" file that you gave in samples?
Why doesn't mine load? It came out 2.5.MG. Is it too big?
Is there a limit in a size of AVI file?
Does ODCL work with other animated files?
If yes, I would like to know what files can be used and what changes are needed to be done
in animation.lsp file?

Thank you for your help,
Alex

roy_043

Could this be a codec issue?

altver

I can open the file on my computer without any problem.
Apparently there are the needed codecs in it.
I may not know something and these codecs should be added.
Is there a special place in OpenDCL where they can be downloaded / added?
Thanks,
Alex

owenwengerd

The AVI file must satisfy the Windows animation control, which is pretty picky. I don't have time to research it now, but I'm pretty sure I've posted links before to the MSDN documentation describing the limitations. Here is the main link to the animation control if you want to look for it yourself:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb761881(v=vs.85).aspx
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

Here are two quotes from MSDN with the relevant information:

QuoteAn animation control can display an AVI clip originating from either an uncompressed AVI file or from an AVI file that was compressed using run-length (BI_RLE8) encoding.

QuoteThe AVI file, or resource, must not have a sound channel.
Owen Wengerd (Outside The Box) / ManuSoft

Fred Tomke

Hi, altver, I recommend you to use animated gif file or to add an activex control which supports playing an animation (like flash or anything else).

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

altver

And yet I don't understand....
I create an AVI file which I don't compress and it's much simpler than the Clock AVI.
It isn't colorful, doesn't have a sound track, its size is 300х300 pixels and has total 12 frames.
OpenDcl accepts it, i.e. I see it, but its size is 17.0 MB when the Clock AVI is only 83 KB.
What made such a small file? How can I achieve this?
Thank you,

owenwengerd

I assume that CLOCK.AVI is compressed. Please try compressing with run-length (BI_RLE8) encoding as per MSDN.
Owen Wengerd (Outside The Box) / ManuSoft

altver


Dear Owen,
Thank you for your reply, I understand it, could you please send me the link where I can download the tool which compressing and decoding in the way you talk about?
Kind regards,
Alex

owenwengerd

Sorry, I don't know anything about compressing AVI files.
Owen Wengerd (Outside The Box) / ManuSoft

BazzaCAD

altver, how or what software did you create your animation in?
Can you attach it here?
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

altver

Dear BazzaCAD!
I have tried many different programs, and only one of them gave me a file that can activate
ODCL, that program name is Atani.
This is the hyperlink to that software 
http://en.kioskea.net/download/download-9159-atani
In that program, when you save a project, an option called "codec" appears.
In that option (codec) I choose the -  24 bits per pixel position.
Later on a window named list of codecs opens, at that window
I choose an option called "full frame (uncompressed)" .
As a result I get a file that can activate ODCL , but its size is 17.0 MB that is too big.
That file contains 12 black and white frames without sound track.

BazzaCAD

Hi altver,
Yes "full frame (uncompressed)" is the option you need to use & yes it will create a large file, well ummm because it's uncompressed. You could try as Fred suggested & create an animated GIF file. I don't think the picture control will show the animation, so you'd have to use an HTML control & make a small html file to display the gif.
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom