Beiträge von pigbait

    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..


    pi@raspberrypi:~ $ v4l2-ctl -v width=1280,height=720,pixelformat=BGR32
    pi@raspberrypi:~ $ 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


    pi@raspberrypi:~ $ v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=YUYV
    pi@raspberrypi:~ $ 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


    pi@raspberrypi:~ $ v4l2-ctl --list-formats
    ioctl: VIDIOC_ENUM_FMT
    Index : 0
    Type : Video Capture
    Pixel Format: 'MJPG' (compressed)
    Name : Motion-JPEG

    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..

    try it this way


    https://hyperion-project.org/w…-V42L-Grabber-USB-Grabber


    it is also a video0...try to make a screenhsot



    this is the output?


    pi@raspberrypi:~ $ 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: usb@1: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.


    pi@raspberrypi:~ $ 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

    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


    pi@raspberrypi:~ $ v4l2-ctl --list-devices
    ezcap U3 capture (usb-20980000.usb-1.3):
    /dev/video0

    Hi pigbait,


    Did you manage to get this working? Planning on building an Ambilight using Hyperion. I have a Pi but use Wetek Play for my main media playback, so I think I'm trying to do the same thing as you. Basically, I want to run Hyperion on the Pi to control the lights, but receive the video data from my Wetek. Is this what you have done? Would be interested to know if you had success in getting it fully working. Thanks!


    No I have never manage to get this working unfortunately. And don't have my wetek anymore. I do have a S905 MXQPro and want to try it on that but the forwarding alway gives me an error

    no clue why this isnt working? here is a log,


    I also get this