[FFmpeg-user] Problem with -vf crop with current git

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Oct 8 09:31:29 CEST 2012


Steve Kenton <skenton <at> ou.edu> writes:

> # This gets encoded to mpeg at 720x486 - crop is ignored
> ffmpeg -threads auto -f rawvideo -vcodec rawvideo 
> -video_size 720x486 -pixel_format uyvy422 
> -framerate 30000/1001 -i clip1.raw -vf crop=320:240 
> -f s16le -acodec pcm_s16le -sample_rate 28000 
> -channels 2 -i clip1.aud -y xxx1.mpg
> 
> # This gets encoded to mpeg at 320x240 - crop is processed
> ffmpeg -threads auto -f s16le -acodec pcm_s16le 
> -sample_rate 28000 -channels 2 -i clip1.aud -f rawvideo 
> -vcodec rawvideo -video_size 720x486 -pixel_format uyvy422 
> -framerate 30000/1001 -i clip1.raw -vf crop=320:240 -y 
> xxx2.mpg

The important thing is probably that the filter should be 
inserted before the output file:
ffmpeg -i inputx -vf filter -i inputy out
vs
ffmpeg -i inputa -i inputb -vf filter out

Is this a regression (did it work with older versions)?

Carl Eugen



More information about the ffmpeg-user mailing list