FLV (.flv)

Background & Context

    • 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.


  • Export["file.flv",{expr1,expr2,}] exports a list of arbitrary expressions to FLV.
  • When exporting a list {expr1,expr2,}, the animation is composed from frames corresponding to rasterized images of the expri.
  • 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.


  • 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 "CompressionMethod" are None and "GZ".
  • VideoEncoding can only take the following value:
  • "ScreenVideo"lossless Flash Screen Video format
  • With a setting of the form VideoEncoding->{encoding,opts}, additional options specific to the selected encoding method can be given.
  • Method options for VideoEncoding{"ScreenVideo",opts}:
  • "BlockSize"32block size parameter of the screen video codec
  • "BlockSize"->n or "BlockSize"->{n,m} sets the block size parameter of the Flash interframe 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 plugin
  • The following settings can be given for "ControlAppearance":
  • 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 "ControlAppearance"->"Generic" 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


Basic Examples  (1)

Create a Manipulate to be exported to FLV:

Export it to FLV:

You can export a ListAnimate object to FLV: