How to use H.264 (H264) or MJPEG (MJPG) with a USB camera?

Forum for questions and support relating to the 1.24.x releases only.
Locked
JungleGeorge
Posts: 20
Joined: Mon Sep 21, 2009 10:41 pm

How to use H.264 (H264) or MJPEG (MJPG) with a USB camera?

Post by JungleGeorge »

According to

Code: Select all

zmu -d /dev/video0 -q -v
...
Video Device: /dev/video0
General Capabilities
Driver: uvcvideo
Card: HD Pro Webcam C920
Bus: usb-0000:00:1d.7-2
Version: 3.2.18
Type: 0x4000001
Supports video capture (X)
Does not support video output
Does not support frame buffer overlay
Does not support VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Does not support read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
YUV 4:2:2 (YUYV) (YUYV)
H.264 (H264)
MJPEG (MJPG)
Crop Capabilities
Bounds: 640 x 480
Default: 640 x 480
Current: Cropping is not supported
Inputs: 1
Input 0
Name: Camera 1
Type: Camera
Audioset: 00000000
Standards: 0x0
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
But how do you make the H.264 (H264) or MJPEG (MJPG) formats work with a USB camera?
It works with the YUYV format.
Locked