When exporting videos from Mathematica 10.0.2 on Ubuntu 12.04, I have one video codec to choose from:

(* {"Uncompressed"} *)

That means exporting 100 frames of a 512x512px grayscale video as an AVI results in an 80 Mb file.

Now, I can subsequently convert the video with FFmpeg and get it down to much, much smaller file sizes. However, is there a way to access more video codecs directly from Mathematica on Ubuntu? I've followed advice such as How to install all existing media codecs? to no avail.


1 Answer 1


Reading the answer here from Arnoud Buzing: Importing videos in Mathematica

Even on Windows, if QuickTime is installed, Mathematica uses the native QuickTime install (excluding added, third-party codecs) to import AVI files...Without an installation of QuickTime, only uncompressed AVI files are supported by Mathematica

Which suggests the answer may well be no on Ubuntu. FFmpeg it is!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.