From d648ac60afbebc7a70903389a73a031490525f11 Mon Sep 17 00:00:00 2001 From: ksorim Date: Sat, 23 Mar 2002 13:13:12 +0000 Subject: Support for cropping in mencoder. New options: -x0, -y0: upper-left corner of rectangle to be cut out -xsize, -ysize: Size of rectangle to cut out Cropping is done before scaling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5271 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mencoder.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cfg-mencoder.h') diff --git a/cfg-mencoder.h b/cfg-mencoder.h index a451a99379..60e8187e47 100644 --- a/cfg-mencoder.h +++ b/cfg-mencoder.h @@ -112,6 +112,12 @@ static config_t mencoder_opts[]={ {"x", &vo_w, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL}, {"y", &vo_h, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL}, + {"x0", &crop_x0, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL}, + {"y0", &crop_y0, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL}, + + {"xsize", &crop_width, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL}, + {"ysize", &crop_height, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL}, + {"mp3file", &mp3_filename, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"ac3file", &ac3_filename, CONF_TYPE_STRING, 0, 0, 0, NULL}, -- cgit v1.2.3