eEcho blog

A journey of a thousand miles starts with a single step.

swf converter

vnc2swf edit.py script is goed om swf files te converteren in mpeg of verkleinen, geluid toevoegen ezv.

zie ook vnc2swf

usage: edit.py
[-d] [-c] [-t type] [-V] [-f|-F frames] [-a mp3file] [-r framerate]
[-S mp3sampleskip] [-C WxH+X+Y] [-B blocksize] [-K keyframe]
[-R framestep] [-s scaling]
-o outfile.swf file1 file2 …

Specify one output filename from the following:
*.swf: generate a SWF movie.
*.flv: generate a FLV movie.
*.mpg: generate a MPEG movie.
*.png|*.bmp: save snapshots of given frames as “X-nnn.png”

-d: debug mode.
-c: compression.
-t {shape,video,mpeg,png,bmp}: specify the output movie type.
-V: equivalent to -t video. (Flash version7 or above only)
-f(-F) frames: frames to extract. e.g. 1-2,100-300,310,500-
-F disables seeking audio.
-R framestep: frame resampling step (default: 1)
-s scaling: scale factor (default: 1.0)
-a filename: attach MP3 file(s). (multiple files can be specified)
-r framerate: override framerate.
-B blocksize: (Video mode only) blocksize of video packet (must be a multiple of 16)
-K keyframe: keyframe interval
-S N[s]: skip the first N samples (or N seconds) of the sound when the movie starts.
-C WxH+X+Y: crop a specific area of the movie.
-b: disable seekbar.
-l: disable loop.
-z: make the movie scalable.

python /usr/share/pyvnc2swf/edit.py -o wxSHAPED_MINISIZE.mpg -s 0.50 wxSaped_wxAjust_minisize.swf

Comments are closed.