Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ridiculous avi export

57 views
Skip to first unread message

Chris Chiasson

unread,
May 27, 2006, 9:40:11 PM5/27/06
to

Why is it that the avi version is about 75 times the size of the the
3.5 MB animated gif file below? Is Mathematica just dumping the pixel
data without compression? Both were created by using the Export
function on a set of Graphics objects (not containing any raster
data).

http://chris.chiasson.name/temp/test.gif

http://chris.chiasson.name/temp/test.avi

Also, both exports take "forever"... what's going on?

Mathematica 5.2 on Winodws XP,
--
http://chris.chiasson.name/


--
http://chris.chiasson.name/

David Bailey

unread,
May 29, 2006, 6:36:28 AM5/29/06
to
Chris,

Have you thought of exporting this as an animated GIF (feeding a list of
Graphics objects to Export, and possibly adding a few ConversionOptions
to control the timing.

David Bailey
http://www.dbaileyconsultancy.co.uk

Peter Pein

unread,
May 30, 2006, 6:10:47 AM5/30/06
to
Chris Chiasson schrieb:
Hi Chris,

unfortunately, Mathematica doesn't allow to select a codec for compression (or missed something).
If you are using Windows, VirtualDub [1] helps to commpress this raw AVI-file.
For other systems, mmencode [2] is a good choice (IMHO).

I imported your test.gif into Mathematica and exported the 268MB-Monster-AVI. Using the H264-codec, I got a 402.516-Byte avi [3] with reasonable quality.

hth,
Peter

[1]: http://virtualdub.sourceforge.net/
[2]: http://mplayerhq.hu/design7/news.html
[3]: http://people.freenet.de/Peter_Berlin/Mathe/test-h264.avi

0 new messages