Hello would anyone know if this device could work as a HDMI video grabber with passthrough? https://www.amazon.com/EZ-Cap-ezcap261-Capture-Streaming/dp/B074M85LH4 Its shows its compatible with linux..
At least the V4L2 API for Linux is mentioned in the product description. Hyperion uses this api for the "normal" av grabbers. So I think if the device will show up in /dev it will work. But if the card will work out of the box (will show up as a device) I can't tell you. Maybe you have to figure out right drivers. I think you will have to try it.
Ok well got this device sooner then expected, hopefully its plug and play... Maybe a dev can chime in to guide me on how to see if we can make it work.. i got this from HyperCon ssh in: hyperion-v4l2: ssh in: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225 ssh in: build time: Apr 5 2018 01:57:25 ssh out: VIDIOC_S_STD ERROR 25, Inappropriate ioctl for device sftp getFile(./screenshot.png, java.awt.Image) and from putty [email protected]:~ $ v4l2-ctl --list-devices ezcap U3 capture (usb-20980000.usb-1.3): /dev/video0
try it this way https://hyperion-project.org/wiki/II-V42L-Grabber-USB-Grabber it is also a video0...try to make a screenhsot
this is the output? [email protected]:~ $ sudo hyperion-v4l2 --width 320 --height 180 --screenshot hyperion-v4l2: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225 build time: Apr 5 2018 01:57:25 V4L2GRABBER INFO: width=640 height=480 V4L2GRABBER ERROR: Only pixel formats UYVY, YUYV, and RGB32 are supported ERROR this is -lshw output *-usb:1 description: Video product: ezcap U3 capture vendor: VXIS Inc physical id: 3 bus info: [email protected]:1.3 version: 1.00 capabilities: usb-2.10 configuration: driver=snd-usb-audio maxpower=500mA speed=480Mbit/s This is what -v4l2-ctl --all outputs. [email protected]:~ $ v4l2-ctl --all Driver Info (not using libv4l2): Driver name : uvcvideo Card type : ezcap U3 capture Bus info : usb-20980000.usb-1.3 Driver version: 4.9.35 Capabilities : 0x84200001 Video Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Priority: 2 Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 640/480 Pixel Format : 'MJPG' Field : None Bytes per Line: 0 Size Image : 614400 Colorspace : SRGB Flags : Crop Capability Video Capture: Bounds : Left 0, Top 0, Width 640, Height 480 Default : Left 0, Top 0, Width 640, Height 480 Pixel Aspect: 1/1 Selection: crop_default, Left 0, Top 0, Width 640, Height 480 Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480 Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 30.000 (30/1) Read buffers : 0 brightness (int) : min=0 max=255 step=1 default=-8193 value=128 contrast (int) : min=0 max=255 step=1 default=57343 value=128 saturation (int) : min=0 max=255 step=1 default=57343 value=128 hue (int) : min=-32 max=31 step=1 default=-8193 value=0 brightness (int) : min=0 max=255 step=1 default=-8193 value=128 contrast (int) : min=0 max=255 step=1 default=57343 value=128 saturation (int) : min=0 max=255 step=1 default=57343 value=128 hue (int) : min=-32 max=31 step=1 default=-8193 value=0
I guess MJPG isnt a supported format.. well i guess thats $100 wasted.. but was worth the try... if anyone has any other way to get this to work please chime in..
https://elinux.org/Thread:Talk:Jetson/Cameras/How_to_do_I_change_the_USB_camera_resolution?/reply can you try to set another pixel format?
[email protected]:~ $ v4l2-ctl -v width=1280,height=720,pixelformat=BGR32 [email protected]:~ $ sudo hyperion-v4l2 --width 320 --height 180 --screenshot hyperion-v4l2: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225 build time: Apr 5 2018 01:57:25 V4L2GRABBER INFO: width=640 height=480 V4L2GRABBER ERROR: Only pixel formats UYVY, YUYV, and RGB32 are supported ERROR [email protected]:~ $ v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=YUYV [email protected]:~ $ sudo hyperion-v4l2 --width 320 --height 180 --screenshot hyperion-v4l2: version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225 build time: Apr 5 2018 01:57:25 V4L2GRABBER INFO: width=640 height=480 V4L2GRABBER ERROR: Only pixel formats UYVY, YUYV, and RGB32 are supported ERROR this is the problem for sure, when i do a v4l2-ctl --list-formats 'MJPG' is the only supported pixel format, like I said I guess this means I'am out of luck [email protected]:~ $ v4l2-ctl --list-formats ioctl: VIDIOC_ENUM_FMT Index : 0 Type : Video Capture Pixel Format: 'MJPG' (compressed) Name : Motion-JPEG
Hm I don't know exactly how it works but I took a quick look in the sourcecode. Perhabs it is possible to implement it for hyperion. But I don't how different & difficult the implementation would be. @Paulchen-Panther do you have an idea?
I'm willing to try anything with some guidance, I have some linux experience but nothing crazy to the standards of a developer..
I'm willing to try anything with some guidance, I have some linux experience but nothing crazy to the standards of a developer..
Please excuse me for contacting you so late. I had a look last weekend and i think it is possible to implement the MJPEG encoding. I will come to programming this Sunday. I have no V4L2 device what MJPEG outputs, so I will try to use a virtual device. I will not forget you, I promise.
Could you test my branch? I added some debug output in case it did not work. So please start Hyperion with the debug switch. (hyperion -d) If any questions, please do not be shy. Note: Please install the additional dependency libjpeg-dev (sudo apt-get install libjpeg-dev)