18 November 2009

AAC added as an option for FLV

| Format Name | Description | Allowed values: | Default values: |
| audio_codec | [optional] — Audio codec. | mp3: libmp3lameflv: libmp3lame, libfaacfl9, mp4, m4v, ipod, iphone, appletv, psp: libfaacwmv, wma, zune: wmav2, libmp3lame3gp: libamr_nb | flv, mp3: libmp3lamefl9, mp4, m4v, ipod, iphone, appletv, psp: libfaacwmv, zune: wmav23gp: libamr_nb |

Frame resizing ability added

Format NameDescriptionAllowed ValuesDefault Values
keep_aspect_ratioWhether to keep width to height ratio of the original frame sizeyes, noyes

Additional watermarking options

Logo fields

Format NameDescriptionAllowed ValuesDefault Values
logo_source[required] - The URL of the logo image. The image format can be GIF, JPG or PNG.http://[user[:password]@]hostname[:port]/[path]/[filename],ftp://[user[:password]@]hostname[:port]/[path]/[filename][?passive=yes],sftp://[user[:password]@]hostname[:port]/[path]/[filename],none
logo_xleft offset of logo imagenon-negative integer10
logo_ytop offset of logo imagenon-negative integer10
logo_modevideo and watermarking picture mixing mode0, 11
logo_thresholdThreshold color mask6-digits hexadecimal 000000-FFFFFF000000

How mode and threshold work

logo_mode 0: The watermark picture works like this (assuming color intensities 0..0xFF): Per color do this (assuming logo_threshold is '808080'): If mask color is 0x80, no change to the original frame. If mask color is < 0x80 the absolute difference is subtracted from the frame. If result < 0, result = 0. If mask color is > 0x80 the absolute difference is added to the frame. If result > 0xFF, result = 0xFF. If threshold is 000000 the color value of watermark is added to the destination.

logo_mode 1: Per color do this: If mask color > threshold color then the watermark pixel is used.