FaceMorpher WE creates morphing animation in the FLV and uncompressed AVI video formats. If you specify that it should create a FLV video file, FaceMorpher WE will first create an AVI file and then convert it to FLV using the third-party ffmpeg.exe tool. FaceMorper WE can also export still images from the video file into the JPG format.
Parameters:
--outputdir <path> – the path where the resulting video file and still images will be stored.
--videofilename <filename> – the output video file name (optional). If this parameter is omitted, FaceMorpher WE will create only still images.
--videoformat <format> – the required video format. <format> can be either “flv” or “avi”.
--videosize <WIDTHxHEIGHT> – the resolution (in pixels) of the resulting video file and still images.
--videoframes <framecount> – the total number of frames in the video.
--framerate <rate> – the frame rate of the video file.
--framesformat <format> – the format of the still images (FaceMorpher WE currently supports only the jpg file format).
--jpgquality <quality> – a number between 1 and 10 specifying the quality of the still images. <quality> varies from 1 (lowest) to 10 (highest).
--frames <n1 n2 ...> – defines whether FaceMorpher WE should export the frames numbered n1, n2, … , from the video file and create the still images “<n1>.jpg”, “<n2>.jpg”, … in the output directory. This parameter should be the last in the command line.
Example:
> facemorpherwe.exe test1.jpg test2.jpg --outputdir out\ --videoformat flv --videofilename output_video.flv --videosize 256x392 --videoframes 100 --framerate 24
> facemorpherwe.exe photo.jpg pattern.jpg --dots1file test1.dots --dots2file pattern.dots --dots1recognize --outputdir out\ --videoformat avi --videofilename output_video.avi --videosize 256x392 --videoframes 200 --framerate 24 --framesformat jpg --frames 10 50 70