<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
So I have received the ms2130 HDMI-USB3 capture card. <br>
The A/D AV converter & SV-HDMI/adapter is not received so far,
and I have not avialable my HDV camcorder (on service) to output
HDMI video stream with.<br>
<br>
Yet, I have initially run some verification tests on the ms2130
HDMI-USB3 UHD capture card alone, for what they are worth.<br>
<br>
As "UHD" (and/or USB3) is mostly generic used to identify this card
(while ms2130 almost not), the some output is piped and stripped
with grep "UHD".<br>
<br>
----------------<br>
<br>
<blockquote>dmesg | grep UHD<br>
[ 2.798210] usb 2-5: Product: USB3.0 UHD<br>
[ 2.827772] hid-generic 0003:345F:2130.0005: hiddev97,hidraw4:
USB HID v1.10 Device [MACROSILICON USB3.0 UHD] on
usb-0000:00:14.0-5/input4<br>
[ 4.805554] usb 2-5: Found UVC 1.00 device USB3.0 UHD
(345f:2130)<br>
<br>
<br>
udevadm info /dev/video* | egrep 'DEVNAME|ID_V4L_PRODUCT'<br>
E: DEVNAME=/dev/video0<br>
E: ID_V4L_PRODUCT=USB 2.0 Camera: HD 720P Webcam<br>
E: DEVNAME=/dev/video1<br>
E: ID_V4L_PRODUCT=USB 2.0 Camera: HD 720P Webcam<br>
E: DEVNAME=/dev/video2<br>
E: ID_V4L_PRODUCT=USB3.0 UHD: USB3.0 UHD<br>
E: DEVNAME=/dev/video3<br>
E: ID_V4L_PRODUCT=USB3.0 UHD: USB3.0 UHD<br>
<br>
<br>
udevadm info /dev/video* | egrep UHD<br>
S: v4l/by-id/usb-MACROSILICON_USB3.0_UHD_20210623-video-index0<br>
E: ID_V4L_PRODUCT=USB3.0 UHD: USB3.0 UHD<br>
E: ID_MODEL=USB3.0_UHD<br>
E: ID_MODEL_ENC=USB3.0\x20UHD<br>
E: ID_SERIAL=MACROSILICON_USB3.0_UHD_20210623<br>
E:
DEVLINKS=/dev/v4l/by-id/usb-MACROSILICON_USB3.0_UHD_20210623-video-index0
/dev/v4l/by-path/pci-0000:00:14.0-usb-0:5:1.0-video-index0<br>
S: v4l/by-id/usb-MACROSILICON_USB3.0_UHD_20210623-video-index1<br>
E: ID_V4L_PRODUCT=USB3.0 UHD: USB3.0 UHD<br>
E: ID_MODEL=USB3.0_UHD<br>
E: ID_MODEL_ENC=USB3.0\x20UHD<br>
E: ID_SERIAL=MACROSILICON_USB3.0_UHD_20210623<br>
E:
DEVLINKS=/dev/v4l/by-path/pci-0000:00:14.0-usb-0:5:1.0-video-index1
/dev/v4l/by-id/usb-MACROSILICON_USB3.0_UHD_20210623-video-index1<br>
<br>
<br>
lsusb | grep UHD<br>
Bus 002 Device 004: ID 345f:2130 MACROSILICON USB3.0 UHD<br>
<br>
cat /proc/asound/cards | grep UHD<br>
2 [UHD ]: USB-Audio - USB3.0 UHD<br>
MACROSILICON USB3.0 UHD at
usb-0000:00:14.0-5, super speed<br>
<br>
ll /dev/video*<br>
crw-rw----+ 1 root video 81, 0 feb. 25 14:15 /dev/video0<br>
crw-rw----+ 1 root video 81, 1 feb. 25 14:15 /dev/video1<br>
crw-rw----+ 1 root video 81, 2 feb. 25 14:15 /dev/video2<br>
crw-rw----+ 1 root video 81, 3 feb. 25 14:15 /dev/video3<br>
<br>
---------------------<br>
<br>
v4l2-ctl --list-devices<br>
USB 2.0 Camera: HD 720P Webcam (usb-0000:00:14.0-11):<br>
/dev/video0<br>
/dev/video1<br>
<br>
USB3.0 UHD: USB3.0 UHD (usb-0000:00:14.0-5):<br>
/dev/video2<br>
/dev/video3<br>
<br>
-----------<br>
<br>
v4l2-ctl --list-formats-ext<br>
ioctl: VIDIOC_ENUM_FMT<br>
Index : 0<br>
Type : Video Capture<br>
Pixel Format: 'YUYV'<br>
Name : YUYV 4:2:2<br>
Size: Discrete 640x480<br>
Interval: Discrete 0.030s (33.000 fps)<br>
Interval: Discrete 0.067s (15.000 fps)<br>
Size: Discrete 1280x720<br>
Interval: Discrete 0.100s (10.000 fps)<br>
Size: Discrete 640x360<br>
Interval: Discrete 0.030s (33.000 fps)<br>
Interval: Discrete 0.067s (15.000 fps)<br>
................<br>
Index : 1<br>
Type : Video Capture<br>
Pixel Format: 'MJPG' (compressed)<br>
Name : Motion-JPEG<br>
Size: Discrete 640x480<br>
Interval: Discrete 0.030s (33.000 fps)<br>
Interval: Discrete 0.067s (15.000 fps)<br>
Size: Discrete 1280x720<br>
Interval: Discrete 0.030s (33.000 fps)<br>
Interval: Discrete 0.067s (15.000 fps)<br>
Size: Discrete 640x360<br>
Interval: Discrete 0.030s (33.000 fps)<br>
Interval: Discrete 0.067s (15.000 fps)<br>
......................<br>
</blockquote>
<br>
<br>
As the above doesn't list any 1920x1080 resolution, I wonder if it
list just format for the usb2 webcam and not for ms2130 capture
card?<br>
-------------------------------------<br>
<br>
Try also ffplay to list supported formats for a video4linux2 device:<br>
<br>
<blockquote>ffplay -hide_banner -f v4l2 -list_formats all
/dev/video2<br>
[video4linux2,v4l2 @ 0x7f8280000cc0] Raw : yuyv422
: YUYV 4:2:2 : 1920x1080 1600x1200 1360x768 1280x1024
1280x960 1280x720 1024x768 800x600 720x576 720x480 640x480<br>
/dev/video2: Immediate exit requested<br>
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 <br>
<br>
<br>
ffplay -hide_banner -f v4l2 -list_formats all /dev/video3<br>
[video4linux2,v4l2 @ 0x7f3bd0000cc0] ioctl(VIDIOC_G_INPUT):
Inappropriate ioctl for device<br>
/dev/video3: Inappropriate ioctl for device<br>
</blockquote>
<br>
-------------<br>
<br>
I am not sure about what the following command really does, but it
was described to<br>
<br>
"Grab and record the input of a video4linux2 device, leave the frame
rate and size as previously set:"<br>
<br>
<blockquote>ffmpeg -hide_banner -f v4l2 -input_format yuyv422 -i
/dev/video2 out_test.mpeg<br>
<br>
[video4linux2,v4l2 @ 0x55c22212cfc0] Dequeued v4l2 buffer contains
corrupted data (0 bytes).<br>
Input #0, video4linux2,v4l2, from '/dev/video2':<br>
Duration: N/A, start: 0.000000, bitrate: 1990656 kb/s<br>
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422,
1920x1080, 1990656 kb/s, 60 fps, 60 tbr, 1000k tbn<br>
Stream mapping:<br>
Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg1video
(native))<br>
Press [q] to stop, [?] for help<br>
[video4linux2,v4l2 @ 0x55c22212cfc0] Dequeued v4l2 buffer contains
corrupted data (0 bytes).<br>
Last message repeated 30 times<br>
[mpeg @ 0x55c22214f800] VBV buffer size not set, using default
size of 230KB<br>
If you want the mpeg file to be compliant to some specification<br>
Like DVD, VCD or others, make sure you set the correct buffer size<br>
Output #0, mpeg, to 'out_test.mpeg':<br>
Metadata:<br>
encoder : Lavf59.27.100<br>
Stream #0:0: Video: mpeg1video, yuv420p(tv, progressive),
1920x1080, q=2-31, 200 kb/s, 60 fps, 90k tbn<br>
Metadata:<br>
encoder : Lavc59.37.100 mpeg1video<br>
Side data:<br>
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0
vbv_delay: N/A<br>
frame= 1628 fps= 60 q=2.0 Lsize= 4702kB time=03:13:19.68
bitrate= 3.3kbits/s speed= 427x <br>
video:4675kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.572162%<br>
Exiting normally, received signal 2.<br>
</blockquote>
<br>
<br>
<br>
<br>
</body>
</html>