Adjusting the videorate for an mjpeg stream

Severin Kacianka severin.kacianka at aau.at
Wed Nov 13 04:25:53 PST 2013


Dear Andrey,

thank you for the quick reply!

On 11/13/2013 12:54 PM, Andrey Nikitin wrote:
> $ v4l2-ctl --list-formats-ext -d /dev/videoX

I attach the output to this e-mail.

Thank you,
Severin

-------------- next part --------------
ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'YUYV'
	Name        : YUV 4:2:2 (YUYV)
		Size: Discrete 640x480
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 160x90
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 160x120
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 176x144
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 320x180
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 320x240
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 352x288
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 432x240
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 800x448
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 800x600
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 864x480
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 960x720
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1024x576
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1600x896
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 2304x1296
			Interval: Discrete 0.500 s (2.000 fps)
		Size: Discrete 2304x1536
			Interval: Discrete 0.500 s (2.000 fps)

	Index       : 1
	Type        : Video Capture
	Pixel Format: 'H264' (compressed)
	Name        : H.264
		Size: Discrete 640x480
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 160x90
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 160x120
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 176x144
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 320x180
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 320x240
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 352x288
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 432x240
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 800x448
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 800x600
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 864x480
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 960x720
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1024x576
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1600x896
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)

	Index       : 2
	Type        : Video Capture
	Pixel Format: 'MJPG' (compressed)
	Name        : MJPEG
		Size: Discrete 640x480
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 160x90
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 160x120
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 176x144
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 320x180
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 320x240
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 352x288
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 432x240
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 800x448
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 800x600
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 864x480
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 960x720
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1024x576
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1600x896
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.033 s (30.000 fps)
			Interval: Discrete 0.042 s (24.000 fps)
			Interval: Discrete 0.050 s (20.000 fps)
			Interval: Discrete 0.067 s (15.000 fps)
			Interval: Discrete 0.100 s (10.000 fps)
			Interval: Discrete 0.133 s (7.500 fps)
			Interval: Discrete 0.200 s (5.000 fps)


More information about the gstreamer-devel mailing list