Beiträge von cyptus

    I want to mix the captured audio with an Alexa input using ffmpeg and then output on the PI hdmi again
    The hdmi goes then to AVR


    this way I can talk to Alexa while watching videos and the video will get silent if Alexa is speeking

    I've got two systems running fine with hyperion-ng using WisFox and Y&H HDMI capture cards.
    But both card are only able to capture audio in stereo.


    Is there any usb hdmi capture card which does support more audio channels (at least 5.1)?


    I found the AverMedia Live Gamer 4k but it is an PCI-E device which makes it hard to use with an raspberry pi.

    As it took me a while to find the right components to support 4K HDR at 60 HZ which does nicely fit in a casing, i will share the components used here:


    Hardware 194,35 Euro
    -----------------------------------------------------------
    Pi Zero WH
    Grabber
    4k Scaler
    Converter
    Power Supply
    DC Stecker (power in, power out)
    Cinch Cable
    SD Card (max endurance, longer life-time)
    LED Strip https://www.ebay.de/itm/361662919560?var=630994738442


    Material 77,50 Euro
    -----------------------------------------------------------
    Casing
    Power Cable
    Micro-USB (cut it, use micro usb part for power to pi, other part for strip connecting to box)
    3x HDMI
    USB OTG (needed for grabber)
    USB Socket (cut it internally, used as data port for led strip)
    2x HDMI Socket



    Connectors from left to right, top to buttom:
    Power In, HDMI in, HDMI Out, LED Strip DATA Out (5V not connected), Power Out 1, Power Out 2


    I am using two Power-Outs to support power supply for two corners of the strip.
    The USB is used as data transfer (only data pins + ground connected).
    Using this successfully with 2M USB cable from Box to Strip.
    If you are using the whole LED strip, maybe a slightly bigger power supply is needed.
    For the power supply of grabber, converter and scaler i did cut the usb cabels on connect them to the power supply.


    Software running is hyperion-ng.




    ich habe nun über hyperbian die aktuellste version 2.0.0-alpha.7 installiert und mir den Y&H hdmi grabber besorgt, /dev/video0 input läuft auch soweit, allerdings kriege ich kein bild und auch kein screenshot.
    Wie habt ihr das gemacht? @xkuyax @PrimaBallarina


    pi@HyperBian:~ $ sudo hyperion-v4l2 --screenshot
    hyperion-v4l2:
    Version : 2.0.0-alpha.7 ((HEAD detached at ffa2fd45) (Paulchen-Panther-69e9fa6d/ffa2fd45-1595517126))
    build time: Jul 24 2020 16:17:02


    ...mehr output bekomme ich hier nicht


    pi@HyperBian:~ $ v4l2-ctl --all
    Driver Info:
    Driver name : uvcvideo
    Card type : ezcap U3 capture: ezcap U3 capt
    Bus info : usb-0000:01:00.0-1.2
    Driver version : 5.4.51
    Capabilities : 0x84a00001
    Video Capture
    Metadata Capture
    Streaming
    Extended Pix Format
    Device Capabilities
    Device Caps : 0x04200001
    Video Capture
    Streaming
    Extended Pix Format
    Media Driver Info:
    Driver name : uvcvideo
    Model : ezcap U3 capture: ezcap U3 capt
    Serial :
    Bus info : usb-0000:01:00.0-1.2
    Media version : 5.4.51
    Hardware revision: 0x00000100 (256)
    Driver version : 5.4.51
    Interface Info:
    ID : 0x03000002
    Type : V4L Video
    Entity Info:
    ID : 0x00000001 (1)
    Name : ezcap U3 capture: ezcap U3 capt
    Function : V4L2 I/O
    Flags : default
    Pad 0x01000007 : 0: Sink
    Link 0x02000013: from remote pad 0x100000a of entity 'Extension 4': Data, Enabled, Immutable
    Priority: 2
    Video input : 0 (Camera 1: ok)
    Format Video Capture:
    Width/Height : 640/480
    Pixel Format : 'MJPG' (Motion-JPEG)
    Field : None
    Bytes per Line : 0
    Size Image : 614400
    Colorspace : sRGB
    Transfer Function : Default (maps to sRGB)
    YCbCr/HSV Encoding: Default (maps to ITU-R 601)
    Quantization : Default (maps to Full Range)
    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, Flags:
    Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480, Flags:
    Streaming Parameters Video Capture:
    Capabilities : timeperframe
    Frames per second: 60.000 (60/1)
    Read buffers : 0
    brightness 0x00980900 (int) : min=0 max=255 step=1 default=128 value=128
    contrast 0x00980901 (int) : min=0 max=255 step=1 default=128 value=128
    saturation 0x00980902 (int) : min=0 max=255 step=1 default=128 value=128
    hue 0x00980903 (int) : min=-32 max=31 step=1 default=0 value=0

    i try to install hyperion.ng with hdmi video grabber from Y&H ()
    i am using hyperbian image for raspberry pi 4


    sudo hyperion-v4l2 --screenshot


    does not finish and outputs only:


    hyperion-v4l2:
    Version : 2.0.0-alpha.7 ((HEAD detached at ffa2fd45) (Paulchen-Panther-69e9fa6d/ffa2fd45-1595517126))
    build time: Jul 24 2020 16:17:02



    v4l2-ctl --list-formats
    lists only
    [0]: 'MJPG' (Motion-JPEG, compressed)


    how can i use and configre this grabber typ?
    i read about this grabber in this forum several times but can't find any working settings.



    v4l2-ctl --all
    delivers


    Driver Info:
    Driver name : uvcvideo
    Card type : ezcap U3 capture: ezcap U3 capt
    Bus info : usb-0000:01:00.0-1.2
    Driver version : 5.4.51
    Capabilities : 0x84a00001
    Video Capture
    Metadata Capture
    Streaming
    Extended Pix Format
    Device Capabilities
    Device Caps : 0x04200001
    Video Capture
    Streaming
    Extended Pix Format
    Media Driver Info:
    Driver name : uvcvideo
    Model : ezcap U3 capture: ezcap U3 capt
    Serial :
    Bus info : usb-0000:01:00.0-1.2
    Media version : 5.4.51
    Hardware revision: 0x00000100 (256)
    Driver version : 5.4.51
    Interface Info:
    ID : 0x03000002
    Type : V4L Video
    Entity Info:
    ID : 0x00000001 (1)
    Name : ezcap U3 capture: ezcap U3 capt
    Function : V4L2 I/O
    Flags : default
    Pad 0x01000007 : 0: Sink
    Link 0x02000013: from remote pad 0x100000a of entity 'Extension 4': Data, Enabled, Immutable
    Priority: 2
    Video input : 0 (Camera 1: ok)
    Format Video Capture:
    Width/Height : 640/480
    Pixel Format : 'MJPG' (Motion-JPEG)
    Field : None
    Bytes per Line : 0
    Size Image : 614400
    Colorspace : sRGB
    Transfer Function : Default (maps to sRGB)
    YCbCr/HSV Encoding: Default (maps to ITU-R 601)
    Quantization : Default (maps to Full Range)
    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, Flags:
    Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480, Flags:
    Streaming Parameters Video Capture:
    Capabilities : timeperframe
    Frames per second: 60.000 (60/1)
    Read buffers : 0
    brightness 0x00980900 (int) : min=0 max=255 step=1 default=128 value=128
    contrast 0x00980901 (int) : min=0 max=255 step=1 default=128 value=128
    saturation 0x00980902 (int) : min=0 max=255 step=1 default=128 value=128
    hue 0x00980903 (int) : min=-32 max=31 step=1 default=0 value=0