Log in

View Full Version : One quick question, how to crop XviD using FFMPEG


NiGHTsC
4th October 2008, 22:39
ffmpeg.exe -i avi.avi -croptop 60 -cropbottom 60 -vcodec copy -acodec copy avi-2.avi
That's what I want, crop without re-encode my XviD AVI.

I just realized that FFMPEG can't read AVS and it's not using the same crop function as AVS,
cause I got these "60""60" numbers from AVS and it's not working with FFMPEG, nothing change after.

my AVI is 720x480, aiming to 720x360

Thank you.

dotBL0t
12th October 2008, 11:01
No way. But you can crop it with post-processing filters with mplayer or other players when you play it.

buzzqw
12th October 2008, 12:50
at least you can use -sameq for using "same" quality as orginal

BHH

dotBL0t
15th October 2008, 11:57
at least you can use -sameq for using "same" quality as orginal

BHH
Won't it lead to a (quite) bigger filesize?

buzzqw
15th October 2008, 12:19
it will use the same quantitizer as original... so the size will be very similar (difference could be due to bframes..)

BHH

fbgd
17th October 2008, 17:10
I just realized that FFMPEG can't read AVS and it's not using the same crop function as AVS,
cause I got these "60""60" numbers from AVS and it's not working with FFMPEG, nothing change after.

I'm pretty sure that ffmpeg can open avisynth scripts. Assuming that your ffmpeg build was compiled with avisynth support that is.