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 Name | Description | Allowed Values | Default Values |
---|---|---|---|
keep_aspect_ratio | Whether to keep width to height ratio of the original frame size | yes, no | yes |
Additional watermarking options
Logo fields
Format Name | Description | Allowed Values | Default 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_x | left offset of logo image | non-negative integer | 10 |
logo_y | top offset of logo image | non-negative integer | 10 |
logo_mode | video and watermarking picture mixing mode | 0, 1 | 1 |
logo_threshold | Threshold color mask | 6-digits hexadecimal 000000-FFFFFF | 000000 |
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.