WebRTC
WebRTC copied to clipboard
error setting path to bin file
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:[email protected]:8899?subtype=PROFILE_001
CameraR1:
#- rtsp://ttpx:[email protected]: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:[email protected]:8899?subtype=001
GaragemCam:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
#- rtsp://admin:[email protected]/cam/realmonitor
#- rtsp://admin:[email protected]: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
Theoretically, it could be /config/cam/ffmpeg. You should also has exec rights for this file.
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?
Oh. FFmpeg should be the file, not a folder. The same user from which Home Assistant is launched.
Ok, I made the changes, but the error still remains.
I named the file "ffmpeg" and also tried "ffmpeg.bin"
I also ran "chmod 777" for the file.
What am I still doing wrong?
ffmpeg size 0KB