flash - SVG to SWF, AVI converter -


i have animated svg using smil. need export other formats.

do know program convert animated svg swf, gif, avi (or other video format)?

this conversion easy ffmpeg in 2 steps.

step 1: generate movie screen.

  1. open animated svg in mozilla firefox or internet explorer.
  2. use command in terminal:

    ffmpeg -s 1440x640 -r 25 -f x11grab -i :0.0 -b 6000k out.avi 

    with:

    • -s specify format of animation (here 1440x640 px).
    • -r frames per seconds (here 25).
    • -f selection of screen.
    • -b quality (6000k quality).
    • out.avi name , format of file.
  3. now watch animation in full screen mode (f11). if animation looped it's better.

  4. stop recording (ctrl + c)

step 2: save interesting part

use command in terminal:

ffmpeg -i out.avi -b 6000k -r 25 -t "00:00:10" -ss "00:00:09" "final.avi" 

with:

  • -i file cut.
  • -b quality.
  • -r frame rate.
  • -t duration of recording (here 10s).
  • -ss recording start (here @ 9s).
  • final.avi output fil.

now have .avi file


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -