Talk:Easycap: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
These can be identified by the USB ID 534d:0021.
These can be identified by the USB ID 534d:0021.


Here are some forum posts about these not working [[https://ubuntuforums.org/showthread.php?t=2400889]], [[https://hyperion-project.org/threads/is-my-easycap-the-problem.641]] and [[https://www.amazon.com/hz/reviews-render/srp/-/RW7I3FBN6L5FY/]].
Here are some forum posts about trying to get this working with various degrees of success [[https://ubuntuforums.org/showthread.php?t=2400889]], [[https://hyperion-project.org/threads/is-my-easycap-the-problem.641]] and [[https://www.amazon.com/hz/reviews-render/srp/-/RW7I3FBN6L5FY/]].



The fix would probably involve adding a quirk to the kernel UVC driver, unfortunately I don't have the time to do that.
The device however works fine (both audio and video). Tested on kernel version <code>5.4.72</code> on an <code>x86_64</code> architecture.

To get the video working, I've followed this simple guide '''http : // dietrichschroff. blog spot .com/2020/04/using-video-capture-usb-stick-with.html''' (spam filter is preventing me from posting the actual link so you will need to remove the spaces to visit the link).

But the TLDR version is that you should issue <code>modprobe uvcvideo</code> then you should open VLC and choose ''Media -> Open Capture Device'' then in the video field select <code>/dev/video0</code>.


To get the audio working, I've simply selected the "audio device name" from VLC's dropdown menu. In my case it was <code>hw:1,0</code> (if your PC only has one audio card then that should work for you too).

If you don't want to use VLC and instead want to record the audio/video you can do something like that <code>ffmpeg -f alsa -i hw:1 -f video4linux2 -i /dev/video0 -f mpeg output.mp4</code>


==Kernel dmesg output==
==Kernel dmesg output==

Revision as of 21:09, 20 October 2020

New MS2106 Easycap

There's a new Easycap variant using the Macro Silicon M2106 chip [[1]] which is a USB video class device but as of kernel 5.1.0 it is not supported.

These can be identified by the USB ID 534d:0021.

Here are some forum posts about trying to get this working with various degrees of success [[2]], [[3]] and [[4]].


The device however works fine (both audio and video). Tested on kernel version 5.4.72 on an x86_64 architecture.

To get the video working, I've followed this simple guide http : // dietrichschroff. blog spot .com/2020/04/using-video-capture-usb-stick-with.html (spam filter is preventing me from posting the actual link so you will need to remove the spaces to visit the link).

But the TLDR version is that you should issue modprobe uvcvideo then you should open VLC and choose Media -> Open Capture Device then in the video field select /dev/video0.


To get the audio working, I've simply selected the "audio device name" from VLC's dropdown menu. In my case it was hw:1,0 (if your PC only has one audio card then that should work for you too).

If you don't want to use VLC and instead want to record the audio/video you can do something like that ffmpeg -f alsa -i hw:1 -f video4linux2 -i /dev/video0 -f mpeg output.mp4

Kernel dmesg output

[47451.958468] usb 1-2.1.2: new high-speed USB device number 46 using xhci_hcd
[47452.093453] usb 1-2.1.2: New USB device found, idVendor=534d, idProduct=0021, bcdDevice= 1.21
[47452.093455] usb 1-2.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[47452.093457] usb 1-2.1.2: Product: AV TO USB2.0
[47452.093458] usb 1-2.1.2: Manufacturer: MACROSILICON
[47452.093459] usb 1-2.1.2: SerialNumber: 20150130
[47452.098283] uvcvideo: Found UVC 1.00 device AV TO USB2.0 (534d:0021)
[47452.103222] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[47452.106292] uvcvideo 1-2.1.2:1.0: Entity type for entity Processing 2 was not initialized!
[47452.106295] uvcvideo 1-2.1.2:1.0: Entity type for entity Camera 1 was not initialized!
[47452.176245] usb 1-2.1.2: Warning! Unlikely big volume range (=8191), cval->res is probably wrong.
[47452.176248] usb 1-2.1.2: [2] FU [Mic Capture Volume] ch = 1, val = 0/8191/1
[47457.255634] hid-generic 0003:534D:0021.0015: hiddev0,hidraw1: USB HID v1.10 Device [MACROSILICON AV TO USB2.0] on usb-0000:01:00.0-2.1.2/input4
[47457.277988] systemd-udevd[10628]: Process '/usr/sbin/alsactl -E HOME=/run/alsa restore 2' failed with exit code 99.

After trying to run mplayer we get:

[47463.359411] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[47464.897428] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[47470.833473] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[47478.621602] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[47480.121688] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).