FLV (.flv)

  • Export creates FLV files compatible with Adobe Flash Player version 7.0 or later.

BackgroundBackground

    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.

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:
  • BackgroundWhitecolor of area padded around the exported animation
    ImageSizeAutomaticpixel 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"Nonewhether 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"32block 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"Automaticlength of the animation in seconds when exporting a Manipulate object
    "ControlAppearance""Generic"how Manipulate control elements are rendered in the exported file
    "FrameRate"15number of frames shown per second
    "RepeatAnimation"Truewhether the animation loops indefinitely
    "Scalable"Falsewhether the animation scales to fit into the window when played with a browser plug-in
  • The following settings can be given for :
  • Automaticcaptures 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
    Noneexcludes 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 Wolfram Language animation cannot be manipulated when playing an animation file.
  • Additional properties and settings:
  • "HTMLFile"Nonename of the file to which an HTML wrapper should be written
    "ThumbnailFile"Nonename 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:

Export it to FLV:

In[2]:=
Click for copyable input
Out[2]=

You can export a ListAnimate object to FLV:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2007
(6.0)