This is my gst-inspect element properties output
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: null Current: "mfw_gst_v4lsink_info_t0"
preroll-queue-len : Number of buffers to queue during preroll
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 0 Current: 0
sync : Sync on the clock
flags: readable, writable
Boolean. Default: true Current: true
max-lateness : Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)
flags: readable, writable
Integer64. Range: -1 - 9223372036854775807 Default: -1 Current: 20000000
qos : Generate Quality-of-Service events upstream
flags: readable, writable
Boolean. Default: false Current: true
async : Go asynchronously to PAUSED
flags: readable, writable
Boolean. Default: true Current: true
ts-offset : Timestamp offset in nanoseconds
flags: readable, writable
Integer64. Range: -9223372036854775808 - 9223372036854775807 Default: 0 Current: 0
last-buffer : The last buffer received in the sink
flags: readable
MiniObject of type "GstBuffer"
blocksize : Size in bytes to pull per buffer (0 = default)
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 4096 Current: 4096
render-delay : Additional render delay of the sink in nanoseconds
flags: readable, writable
Unsigned Integer64. Range: 0 - -1 Default: 0 Current: 0
show-preroll-frame : Whether to render video frames during preroll
flags: readable, writable
Boolean. Default: true Current: true
disp-width : gets the width of the image to be displayed
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
disp-height : gets the height of the image to be displayed
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
axis-top : gets the top co-ordinate of the origin of display
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
axis-left : gets the left co-ordinate of the origin of display
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
rotate : gets the angle at which display is to be rotated
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
crop-left-by-pixel : set the input image cropping in the left (width)
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
crop-right-by-pixel : set the input image cropping in the right (width)
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
crop-top-by-pixel : set the input image cropping in the top (height)
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
crop-bottom-by-pixel: set the input image cropping in the bottom (height)
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
tv-out : set output to TV-OUT
flags: readable, writable
Boolean. Default: false Current: false
tv-mode : set mode to TV-OUT, 0: NTSC, 1: PAL, 2: 720p
flags: readable, writable
Integer. Range: 0 - 2 Default: 0 Current: 3
dump-location : Location of the file to write cropped video YUV stream.Enable it will output image to file instead of V4L device
flags: readable, writable
String. Default: null Current: null
setpara : set parameter of V4L2, 1: Set V4L 2: Set Color
flags: readable, writable
Integer. Range: 0 - 3 Default: 0 Current: 0
force-aspect-ratio : Force Aspect Ratio
flags: readable, writable
Boolean. Default: false Current: false
rendered : Get the total rendered frames
flags: readable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
[1;32m[--->FINALIZE v4l_sink
I tried the command
gst-launch v4l2src ! mfw_v4lsink disp-width=320 disp-height=240
but my image still displays on full screen 800 *480
can you give me an example how i should edit the command to resize the image to 320*240
and also how should i use the crop elements, because when i try crop-top-by-pixel=240 i get an error in the pipeline