20-12-2008

A little known fact about blender is that you can use it as a handy little flipbook/seamless animation player by launching it with blender -a filepath/filename (where the file can be an avi or the first in series of pngs /jpgs /etc) This is the same player launched when you click “anim” from the 3D interface.

Recently, Kursad – relatively new to blender and linux but not to 3D, asked me about:

  1. a nice seamless player on linux (blender -a and djv) , and:
  2. how to change framerate on the blender player.

I searched for docs, but didn’t find any, so I asked Ton on IRC for the source file for the player ( it’s playanim.c ), and I also looked at the output of blender –help. This is what I found out:

From blender –help:

Looking through playanim.c gave me the following things you can press while the player is playing:

Another nice option is djv (  http://djv.sourceforge.net )

* these options pause the player in addition to their stated effect

6 Responses to “blender animation player”

  1. Dalai Felinto Says:

    Don’t forget the -j option, to playback stepped animations (animations rendered skipping frames):
    http://wiki.blender.org/index.php/Manual/Rendering#Step_Render_Frame

    Cheers :)

  2. Virgilio Says:

    Yep… this flipbook feature is really awesome in Blender.

    I frequently find myself using Blender for different things than the usual 3D. Will I start using it for text processing and web browsing? :D

    Cheers

  3. Pablo Vazquez Says:

    yay! I find myself really often opening video files with the BlenderPlayer instead of other players, the great frame navigation it has and the “click-n-drag on the video to seek” feature is something I can’t still find in other videoplayers on linux.

    /me hopes some kind of GSoC or something brings Audio support to the BlenderPlayer, someday…

  4. DiThi Says:

    I use mplayer (whithout gui) to play almost everything. For image sequences (i.e. for all PNGs in the current dir):

    mplayer mf://*.png -fps 30

    Default fps is 25

  5. bassam Says:

    mplayer, vlc, etc all can play image sequences, however, mplayer is not that good for an animation viewer- you can’t scrub really well for instance, while blender gives you smooth frame by frame scrubbing.

  6. manuq Says:

    nice post! the only thing i miss is sound. but blenderplayer seems very suitable for any animation project!

    another option is vlc, the first major version, vlc 1.0.0, has a frame by frame control. i also find useful this nice features:

    * loop play from A to B marks
    * video effects like rotation and ghost view of previous frames, combined with slow motion play (minus sign key)

leave a reply