1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hdmi grabber?

Discussion in 'Hyperion General' started by pigbait, 30 December 2018.

  1. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
  2. b1rdhous3

    b1rdhous3 Member Developer

    Messages:
    97
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +PhilipsHue
    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.
     
    • Agree Agree x 1
  3. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    Ok ill order one up and see
     
  4. PhoenixAltar

    PhoenixAltar New Member

    Messages:
    1
    Hardware:
    RPi3, +Arduino, +nodeMCU/ESP8266
    Any updates on it working with the ezCap261
     
  5. matthew henry

    matthew henry New Member

    Messages:
    26
    Hardware:
    RPi3
    yeah this would be nice if it does work. Although I dont have any mini boards with usb 3.0
     
  6. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    Sorry for the delay.. just ordered it should see it in April..
     
  7. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    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
     
    Last edited: 20 February 2019
  8. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,372
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  9. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2

    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
     
    Last edited: 21 February 2019
  10. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    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..
     
  11. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,372
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  12. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    [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
     
    Last edited: 22 February 2019
  13. b1rdhous3

    b1rdhous3 Member Developer

    Messages:
    97
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +PhilipsHue
    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?
     
  14. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    I'm willing to try anything with some guidance, I have some linux experience but nothing crazy to the standards of a developer..
     
  15. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    I'm willing to try anything with some guidance, I have some linux experience but nothing crazy to the standards of a developer..
     
  16. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    So I guess nothing we can do?
     
  17. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    404
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    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.
     
  18. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    That awesome thanks... let me know and I'm More then willing to test and try what you need
     
  19. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    404
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    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)
     
  20. pigbait

    pigbait New Member

    Messages:
    28
    Hardware:
    RPi1/Zero, RPi2
    You might need to dumb that down for me sorry. How do I install your branch of hyperion?