Avermedia easycapture analog camera quality in TX2

Hello
I am trying to use an analogue camera with Tx2. For this, I have an easy-capture device from AVerMedia DVD ezmaker7 c039p that converts analogue camera inputs into USB camera inputs. what’s occurring is the video quality drops quite a bit when compared to direct analogue input into a monitor.
I am using a very basic GStreamer pipeline as below

gst-launch-1.0 v4l2src device="/dev/video1" ! video/x-raw,width=720,height=576 ! xvimagesink

Any kind suggestion on how may I improve the image quality?

Hi,
You may get all supported formats by running:

$ v4l2-ctl -d /dev/video1 --list-formats-ext

And check the quality in different formats.

Or if your v4l2 source offers properties for quality tuning.

Hello DaneLLL

I tried your command and output

ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'UYVY'
	Name        : UYVY 4:2:2

i however also tried

v4l2-ctl -d /dev/video1 --all

this command which gives me the following output

Driver Info (not using libv4l2):
	Driver name   : stk1160
	Card type     : stk1160
	Bus info      : usb-0000:00:14.0-1.1
	Driver version: 4.15.18
	Capabilities  : 0x85200001
		Video Capture
		Read/Write
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x05200001
		Video Capture
		Read/Write
		Streaming
		Extended Pix Format
Priority: 2
Video input : 0 (Composite0: ok)
Video Standard = 0x00001000
	NTSC-M
Format Video Capture:
	Width/Height      : 720/480
	Pixel Format      : 'UYVY'
	Field             : Interlaced
	Bytes per Line    : 1440
	Size Image        : 691200
	Colorspace        : SMPTE 170M
	Transfer Function : Default
	YCbCr Encoding    : Default
	Quantization      : Default
	Flags             : 
Streaming Parameters Video Capture:
	Frames per second: 29.970 (30000/1001)
	Read buffers     : 2

User Controls

                     brightness (int)    : min=0 max=255 step=1 default=128 value=128 flags=slider
                       contrast (int)    : min=0 max=127 step=1 default=64 value=64 flags=slider
                     saturation (int)    : min=0 max=127 step=1 default=64 value=64 flags=slider
                            hue (int)    : min=-128 max=127 step=1 default=0 value=0 flags=slider
                     chroma_agc (bool)   : default=1 value=1 flags=update
                    chroma_gain (int)    : min=0 max=127 step=1 default=40 value=15 flags=inactive, slider, volatile

I am wondering if there is a way i can change

Transfer Function : Default
	YCbCr Encoding    : Default
	Quantization      : Default

these 3 parameters from default to some possible other values to see if that improves the quality problem.

Hello DaneLLL

I tried your command and output

ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'UYVY'
	Name        : UYVY 4:2:2

i however also tried

v4l2-ctl -d /dev/video1 --all

this command which gives me the following output

Driver Info (not using libv4l2):
	Driver name   : stk1160
	Card type     : stk1160
	Bus info      : usb-0000:00:14.0-1.1
	Driver version: 4.15.18
	Capabilities  : 0x85200001
		Video Capture
		Read/Write
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x05200001
		Video Capture
		Read/Write
		Streaming
		Extended Pix Format
Priority: 2
Video input : 0 (Composite0: ok)
Video Standard = 0x00001000
	NTSC-M
Format Video Capture:
	Width/Height      : 720/480
	Pixel Format      : 'UYVY'
	Field             : Interlaced
	Bytes per Line    : 1440
	Size Image        : 691200
	Colorspace        : SMPTE 170M
	Transfer Function : Default
	YCbCr Encoding    : Default
	Quantization      : Default
	Flags             : 
Streaming Parameters Video Capture:
	Frames per second: 29.970 (30000/1001)
	Read buffers     : 2

User Controls

                     brightness (int)    : min=0 max=255 step=1 default=128 value=128 flags=slider
                       contrast (int)    : min=0 max=127 step=1 default=64 value=64 flags=slider
                     saturation (int)    : min=0 max=127 step=1 default=64 value=64 flags=slider
                            hue (int)    : min=-128 max=127 step=1 default=0 value=0 flags=slider
                     chroma_agc (bool)   : default=1 value=1 flags=update
                    chroma_gain (int)    : min=0 max=127 step=1 default=40 value=15 flags=inactive, slider, volatile

I am wondering if there is a way i can change

Transfer Function : Default
	YCbCr Encoding    : Default
	Quantization      : Default

these 3 parameters from default to some possible other values to see if that improves the quality problem.

Hi ,

Have you tried to set the resolution to 720x480?


Video Standard = 0x00001000
NTSC-M
Format Video Capture:
Width/Height : 720/480
Pixel Format : ‘UYVY’
Field : Interlaced
Bytes per Line : 1440
Size Image : 691200
Colorspace : SMPTE 170M
Transfer Function : Default
YCbCr Encoding : Default
Quantization : Default
Flags :
Streaming Parameters Video Capture:
Frames per second: 29.970 (30000/1001)
Read buffers : 2