[FFmpeg-user] Correct syntax for -vf "color ..." ?

Clément Bœsch ubitux at gmail.com
Fri Aug 31 12:31:59 CEST 2012


On Fri, Aug 31, 2012 at 02:59:43AM -0700, pandy wrote:
> At first Hi to All and Big Thanks to developers for FFMpeg.
> 
> I have issue with newer builds of ffmpeg and syntax for -vf "color=..."
> 
> My command is:
> 
> *ffmpeg -y -i %1 -vf "scale=960:540 [xxx]; color=0x33669955:960x64 [yyy] ;
> [xxx] [yyy] overlay=0:476,
> drawtext=textfile=mkvm2vpcm:fontfile=Orbitron.ttf:x=32:y=492:fontsize=24:fontcolor=white
> [xxx] ; movie=lgi.png [yyy]; [xxx] [yyy] overlay=W-w-16:H-h-64" -q:v 4 -bf 1
> -vcodec mpeg2video -b:a 640k -acodec ac3 "MP4_M2V_PCM.mp4"*
> 
> 
> and it works on *older* build without problems - only info "/[Parsed_color_1
> @ 02d8a1a0] Flat options syntax is deprecated, use key=value pairs./" is
> displayed,
> 

then you have to use key=value pairs...

> on *newer* ffmpeg build, i've receive error like this:
> 
> "/[color @ 02491f20] Missing key or no key/value separator found after key
> '0x33669955:960x64'
> [AVFilterGraph @ 02de1840] Error initializing filter 'color' with args
> '0x33669955:960x64'
> Error opening filters!/"
> 

such as color=c=0x33669955:s=960x64, or color=color=0x33669955:size=960x64

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120831/16297830/attachment.asc>


More information about the ffmpeg-user mailing list