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

SOLVED [hyperiond V4L2:] (ERROR) Throws error nr: Cannot identify '' error code 2, No such file or director

Discussion in 'Hardware Support' started by nears, 6 April 2020.

Tags:
  1. nears

    nears New Member

    Messages:
    11
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    Hi all,

    I am facing a strange problem, my hyperion.ng setup was runing all fine.
    The setup is running as follows on a RPI3 (no +), Raspbian with Kodi and I am using internal video grabbing and the STK1160 as a external video grabber for PS4 and other HW.
    Both sources were running fine in the past, but now only internal grabbing is working, external grabbing is no longer possible. Neither I see a screen in the WebGUI-Screen-Capture-Preview nor are the LEDs active.

    Hyperion.NG log on the Webside says the follwing:


    [hyperiond EFFECTFILES] (INFO) 38 effects loaded from directory :/effects/
    [hyperiond EFFECTFILES] (INFO) 21 effect schemas loaded from directory :/effects/schema/
    [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /home/pi/.hyperion/custom-effects
    [hyperiond SettingsManager] (DEBUG) (SettingsManager.cpp:108:SettingsManager()) Settings database initialized
    [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:65:handleSettingsUpdate()) Set mode to: default
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled
    [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx'
    [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:34:setVideoMode()) Set videomode to 0
    [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 1920x1080
    [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:83:setWidthHeight()) Set new width: 480, height: 270 for capture
    [hyperiond DISPMANXGRABBER] (INFO) Cropping image: width=480 height=270; crop: left=10 right=10 top=10 bottom=10
    [hyperiond DAEMON] (INFO) DISPMANX frame grabber created
    [hyperiond V4L2:] (DEBUG) (Grabber.cpp:34:setVideoMode()) Set videomode to 0
    [hyperiond V4L2:] (DEBUG) (Grabber.cpp:83:setWidthHeight()) Set new width: 480, height: 270 for capture
    [hyperiond V4L2:] (INFO) Signal threshold set to: {12, 12, 12}
    [hyperiond V4L2:] (INFO) Cropping image: width=480 height=270; crop: left=3 right=3 top=3 bottom=3
    [hyperiond V4L2:] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:467:handleSettingsUpdate()) V4L2 grabber created
    [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:25:JsonServer()) Created instance
    [hyperiond JSONSERVER] (INFO) Started on port 19444
    [hyperiond LEDDEVICE] (INFO) LedDevice 'ws2801' found.
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled
    [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:55:eek:pen()) _baudRate_Hz 1000000, _latchTime_ns 1
    [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:56:eek:pen()) _spiDataInvert 0, _spiMode 0
    [hyperiond FLATBUFCONNECTION] (INFO) Connecting to Hyperion: 127.0.0.1:19401
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
    [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:32:initServer()) Previous line repeats 1 times
    [hyperiond V4L2:] (INFO) available V4L2 devices:
    /dev/video0 stk1160
    /dev/video10 bcm2835-codec-decode
    /dev/video11 bcm2835-codec-encode
    /dev/video12 bcm2835-codec-isp

    [hyperiond V4L2:] (ERROR) Throws error nr: Cannot identify '' error code 2, No such file or directory

    Any suggestions how I can trace down the problem?
    Thanks for any support
     
  2. nears

    nears New Member

    Messages:
    11
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    @Paulchen-Panther
    I saw you did some changes on your git repo and also saw your posts here: https://hyperion-project.org/threads/ng-hyperion-v4l2-capture-resolution-issue.3684/page-2

    I cloned you v4l2fix branch to see if it may fix my issue, but it doesn't. :-(

    But two observations I have for which I would need clarification:
    - Starting the new compiled hyperion I am still able to use my "old" password. Are there some system wide shared config files for all hyperion instances?
    - Going trough the log I do still get the same error message and the same layout of the log. But in the above mentioned post you said there shouldn't be a new line after the list of the devices. Is this still valid? Or did you undo this change on the latest branch?

    Thanks for any support.
     
  3. nears

    nears New Member

    Messages:
    11
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    Error is no longer present. Therefore I close this thread.