[FFmpeg-user] Syntax problems with different versions of FFmpeg

Stefano Sabatini stefano.sabatini-lala at poste.it
Sat Aug 13 14:47:58 CEST 2011


On date Saturday 2011-08-13 14:33:05 +0200, PyProg PyProg encoded:
> 2011/8/13 James Lu <luj125 at gmail.com>:
[...]
> ... -s 864x720 -aspect 16:9 -vf pad=1280:720:208:0:blue ...
>
> ... but how to ensure that the color bands is defined by hex color or
> rgb color ? (with the syntax: -padcolor hexColor it was nice !).
> 
> In fact it's a feature I added in EKD (EnKoDeur Mixer) software that I
> created in late 2004 and I develop.
> 
> In relation to this, see this (sorry it's in French):
> 
> http://ekdm.wordpress.com/2011/08/07/possibilites-etendues-pour-le-filtre-video-ajout-de-bandes-exterieures
> 
> ... the interface is defined by spin colors ... that's why the old
> syntax with a hexadecimal color was convenient.

>From the fine docs:

|color
|        Specify the color of the padded area, it can be the name of a
|        color (case insensitive match) or a 0xRRGGBB[AA] sequence.
|        The default value of color is "black".
-- 
ffmpeg-user random tip #9
One minute of audio silence with ffmpeg:
ffmpeg -ar 48000 -t 60 -f s16le -acodec pcm_s16le -i /dev/zero  \
    -ab 64K -f mp2 -acodec mp2 -y silence.mp2


More information about the ffmpeg-user mailing list