EDIT: Arkmicro EasyCAP didnt work for us, just ordered a USBTV007 chipset Easycap.
hello all, firstly id like to wish a happy new year!
I am aware that i already have another thread opened, didnt want to open up another one but that thread was mostly focused on multiple subjects from non-rpi boards to spi driving ws2812b to arduino sketch support. Moderators please move the board to Software support if it fits the situation more
i have recently hit a bump with hyperion systemctl service.
My setup is an RPI-3 with a easycap device, trying to use hyperion v4l2-grabber.
I had ordered an advertized 'UTV007'; but instead got shipped an ARKmicro grabber (18ec:5555)
I also had another one of these arkmicro grabbers already (dev-id: 5850 instead) and i was hoping to try either one or the other that i got, but they both gave the same errors in the Hyperion SystemCTL Service
Hyperion Service just crashes for 5 times in a row until linux gives up and continues with boot.
journalctl gives an inappropriate ioctl for device
ZitatAlles anzeigen
Dec 31 13:05:12 raspberrypi hyperiond[1339]: started
Dec 31 13:05:12 raspberrypi hyperiond[1339]: INFO: Json server created and started on port 19444
Dec 31 13:05:12 raspberrypi hyperiond[1339]: INFO: Proto server created and started on port 19445
Dec 31 13:05:12 raspberrypi hyperiond[1339]: terminate called after throwing an instance of 'std::runtime_error'
Dec 31 13:05:12 raspberrypi hyperiond[1339]: what(): VIDIOC_S_STD ERROR 25, Inappropriate ioctl for device
Dec 31 13:05:12 raspberrypi systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT
dmesg gives an uvc non-compliant device
ZitatAlles anzeigen
[ 163.959982] usb 1-1.3: new high-speed USB device number 8 using dwc_otg
[ 164.238902] usb 1-1.3: New USB device found, idVendor=18ec, idProduct=5555
[ 164.238924] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 164.238937] usb 1-1.3: Product: USB2.0 PC CAMERA
[ 164.238949] usb 1-1.3: Manufacturer: ARKMICRO
[ 164.240170] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (18ec:5555)
[ 164.248890] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 164.249821] input: USB2.0 PC CAMERA as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input4
[ 164.253176] usb 1-1.3: 3:1: cannot get freq at ep 0x82
[ 164.258030] usb 1-1.3: Warning! Unlikely big volume range (=11903), cval->res is probably wrong.
[ 164.258047] usb 1-1.3: [2] FU [Mic Capture Volume] ch = 2, val = 384/12287/1
at first i thought that the card was not supported in linux; but i get a '/dev/video0/' when i plug in easycap device.
So i decided to try and use mplayer
mplayer does give an image, but has various glitches and incorrect colour, figured out at least the colour must be from an incorrect hue setting , but mplayer does not let me tune this
Refer Attached Image : multiple cscrot crops of mplayer with mentioned glitches and incorrect colours
changing resolutions/framerates didnt work with the glitches
then i read luvcview has a better success rate with these cards; still same glitches but at least colour is fixed and can be corrected with luvcview.cfg (didnt try to change resolutions from luvcview [actually tried but i must be getting something wrong because it defaults to 640x480@30] )
ps : These glitches happen from both a PAL or NTSC Source; and are both the same glitches. Under Windows colour and glitches are non existant (because of the supplied driver of course)
is there anyway i can use these USB Capture cards or would i need another one (which is actually a UTV007 this time round)?
<some configs>
Hyperion Grabber Config
// V4L2 GRABBER CONFIG
"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 0,
"standard" : "PAL",
"width" : -1,
"height" : -1,
"frameDecimation" : 2,
"sizeDecimation" : 8,
"priority" : 900,
"mode" : "2D",
"cropLeft" : 0,
"cropRight" : 0,
"cropTop" : 0,
"cropBottom" : 0,
"redSignalThreshold" : 0.0,
"greenSignalThreshold" : 0.0,
"blueSignalThreshold" : 0.0
},
Alles anzeigen