|
SOLUTIONS
|
MATHEMATICA IMPORT/EXPORT FORMAT
FLV (.flv)
Registered MIME type: video/x-flv
Adobe/Macromedia Flash video file.
Used for compositing Flash animations with Flash authoring software, or for playback through a Flash-based video player.
FLV is an acronym derived from Flash Video.
Adobe/Macromedia Flash video file.
Used for compositing Flash animations with Flash authoring software, or for playback through a Flash-based video player.
FLV is an acronym derived from Flash Video.
- Export creates FLV files compatible with Adobe Flash Player version 7.0 or later.
Import and ExportImport and Export
- Export["file.flv", {expr1, expr2, ...}] exports a list of arbitrary expressions to FLV.
- When exporting a list
, the animation is composed from frames corresponding to rasterized images of the
. - The duration of the FLV animation is determined from the number of frames and the specified frame rate.
- Export["file.flv", Manipulate[...]] exports an animated demonstration of a Manipulate object.
- The exported Flash animation will play at the same speed and will have the same size as the Manipulate object.
- If bookmarks are set in the Manipulate object, Export will create an FLV file by interpolating between the bookmarks, while preserving the speed and duration of the Manipulate.
- Export["file.flv", ListAnimate[...]] exports a ListAnimate object as a Flash animation.
- Export["file.flv", expr, elem] creates an FLV file by treating expr as specifying element elem.
- Export["file.flv", expr, opt1->val1, ...] exports expr with the specified option elements taken to have the specified values.
- See the reference pages for full general information on Export.
- ExportString supports the Flash FLV format.
OptionsOptions
- General options:
-
Background White color of area padded around the exported animation ImageSize Automatic pixel dimensions of the animated object - If ImageSize is set to Automatic, and the image size cannot be determined from the expression given, the first frame of the exported object will be rasterized and taken as the size of the resulting animation.
- Video encoding and compression settings:
-
"CompressionMethod" None whether the FLV data should be compressed "VideoEncoding" "ScreenVideo" encoding method used for animation video - Allowed settings for
are None and
. - With a setting of the form
, additional options specific to the selected encoding method can be given. - Method options for
: -
"BlockSize" 32 block size parameter of the screen video codec - "BlockSize"->n or
sets the block size parameter of the Flash inter-frame compression method. Allowed values for the pixel dimensions are of the form 16*k where k<=16. - Playback controls:
-
"AnimationDuration" Automatic length of the animation in seconds when exporting a Manipulate object "ControlAppearance" "Generic" how Manipulate control elements are rendered in the exported file "FrameRate" 15 number of frames shown per second "RepeatAnimation" True whether the animation loops indefinitely "Scalable" False whether the animation scales to fit into the window when played with a browser plug-in - The following settings can be given for
: -
Automatic captures user controls exactly as seen in the notebook interface, using the style elements of the local computer system "Generic" renders graphical controls in a generic style None excludes control elements when exporting an animation - An animation exported with the default setting
will look the same regardless of the computer system on which it was created. - With "ControlAppearance"->None, no user controls are included in the exported animation.
- Export["file.flv", Manipulate[...], "ControlAppearance"->Automatic] exports a Manipulate object to a Flash animation file, rendering user controls in the style of the local notebook interface.
- Control elements captured from a Mathematica animation cannot be manipulated when playing an animation file.
- Additional properties and settings:
-
"HTMLFile" None name of the file to which an HTML wrapper should be written "ThumbnailFile" None name of the file to which a small preview image of the first frame should be exported
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Create a Manipulate to be exported to FLV:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
| In[2]:= |
| Out[2]= |
You can export a ListAnimate object to FLV:
| In[3]:= |
| Out[3]= |
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

