Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error setting path to bin file #790

Open
aguiarfpmr opened this issue Jan 12, 2025 · 2 comments
Open

error setting path to bin file #790

aguiarfpmr opened this issue Jan 12, 2025 · 2 comments
Labels
question Further information is requested

Comments

@aguiarfpmr
Copy link

aguiarfpmr commented Jan 12, 2025

First, I would like to thank you for developing this integration.

I'm trying to set the path to the bin file, however, the following error appears:

MSE: streams: fork/exec /homeassistant/cam/ffmpeg: no such file or directory

my configuration file:

streams:
  CameraCajueiro:
    #- rtsp://192.168.68.191:554/user=admin_password=Alw1YI3t_channel=0_stream=0&onvif=0.sdp?real_stream
    - rtsp://192.168.68.191:554/user=admin_password=Alw1YI3t_channel=0_stream=1&onvif=0.sdp?real_stream
    #- onvif://user:admin@192.168.68.191:8899?subtype=PROFILE_001
  CameraR1:
    #- rtsp://ttpx:ym4h46@192.168.68.190:554/cam/realmonitor?channel=1&subtype=1
    #- rtsp://192.168.68.190:554/user=ttpx_password=kR3vMMqi_channel=0_stream=0&onvif=0.sdp?real_stream
    - ffmpeg:rtsp://192.168.68.190:554/user=ttpx_password=kR3vMMqi_channel=0_stream=1&onvif=0.sdp?real_stream#video=h264
    #- onvif://user:ttpx@192.168.68.190:8899?subtype=001
  GaragemCam:
    - rtsp://admin:WPAEXA@192.168.68.193:554/cam/realmonitor?channel=1&subtype=0
    #- rtsp://admin:WPAEXA@192.168.68.193/cam/realmonitor
    #- rtsp://admin:WPAEXA@192.168.68.193:554/cam/realmonitor?channel=0&subtype=00
  teste:
  - rtsp://192.168.68.190:554/user=ttpx_password=kR3vMMqi_channel=0_stream=0&onvif=0.sdp?real_stream
log:
  level: trace # default level
ffmpeg:
    #bin: /home/swex/bin/ffmpeg-6.1-amd64-static/ffmpeg
    bin: /homeassistant/cam/ffmpeg

image
image

@AlexxIT AlexxIT added the question Further information is requested label Jan 12, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 12, 2025

Theoretically, it could be /config/cam/ffmpeg. You should also has exec rights for this file.

@aguiarfpmr
Copy link
Author

Sorry for my lack of knowledge, but which user do I need to provide read and write permission to?

Do I need to create a file inside the ffmpeg folder or just enter the path /cam/ffmpeg in the go2rtc.yaml file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants