[FFmpeg-user] Error in scaling expression

Mark Himsley mark at mdsh.com
Mon Oct 24 16:19:17 CEST 2011


On 24/10/11 13:58, me at renecalles.de wrote:
> -vf "scale='320:(ih*ow)/(iw*sar)',pad='320:240:0:30',setdar=4:3"

Far too many single quotes in there, you don't need any. Try something 
like this:

-vf "scale=320:(ih*ow)/(iw*sar),pad=320:240:0:30,setdar=4:3"

Tested with a 16:9 DV .mov as a source:

ffmpeg -i ~/Videos/576i25/Clock10tone.mov -vf 
"scale=320:(ih*ow)/(iw*sar),pad=320:240:0:30,setdar=4:3" -y -f ipod 
trial.m4v

-- 
Mark


More information about the ffmpeg-user mailing list