PSA, Logitech has removed Hardware H.264 Encoder from some WebCams : linux
Recently obtained a Logitech C920 at work for working remotely, with Linux. When making an attempt to arrange a distant streaming answer, i shocked to search out that the newer ones not have H.264 encoder.
This is the official Logitech wbepage declaring the removing of this function from C920, C922 and BRIO fashions: SAY GOODBYE TO IN-CAMERA HARDWARE ENCODING
For comparability, under are the output from my “v4l2-ctl”, which exhibits the digicam having solely 2 pixel codecs: RAW (YCbCr four:2:2) and MJPEG
$ v4l2-ctl --info --list-formats
Driver Info (not utilizing libv4l2):
Driver title : uvcvideo
Card sort : HD Pro Webcam C920
Bus data : usb-0000:00:14.Zero-11
Driver model: 5.Zero.21
Capabilities : 0x84A00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
ioctl: VIDIOC_ENUM_FMT
Index : Zero
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV four:2:2
Index : 1
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
From an previous web page (archive.org hyperlink simply in case), this was another person’s output with the C920 WebCam. It confirmed three codecs: RAW (YCbCr four:2:2), H.264 and MJPEG
# v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Index : Zero
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUV four:2:2 (YUYV)
Index : 1
Type : Video Capture
Pixel Format: 'H264' (compressed)
Name : H.264
Index : 2
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : MJPEG
With numerous pages, you see directions about specifying the pixel format to be “h264” for benefiting from its HW encoder for streaming. Those directions wouldn’t work with the newer variations of this WebCam.
TL;DR, should you’re searching for a WebCam with HW video encoder, the once-popular-model Logitech C920 (and C922) would not be an possibility. (particularly necessary for Raspberry Pis, routers, or no matter system with restricted sources for libx264)