Saturday, June 19, 2010

ffmpeg examples

1. cropping from avi:
ffmpeg -i input.avi -croptop 44 -cropbottom 46 -cropleft 56 -cropright 36 -sameq -s 640x480 cropped.yuv
2. cropping yuv:
ffmpeg -s 640x360 -i source.yuv -cropleft 120 -cropright 120 -croptop 60 -cropbottom 60 target.yuv

No comments:

Post a Comment