Closed Ninja-Spotted closed 1 year ago
try going into the folder where you have mediamtx and mediamtx.yml
example: cd /path/to/mediamtx_v0.22.2_linux_amd64 ./mediamtx
or follow the instructions to add it as a service that will auto start on boot... https://github.com/bluenviron/mediamtx#linux
Thank you so much! This resolved the issue I was having.
This issue is being locked automatically because it has been closed for more than 6 months. Please open a new issue in case you encounter a similar problem.
Which version are you using?
v0.22.2
Which operating system are you using?
Describe the issue
After I extracted the
mediamtx_v0.22.2_linux_amd64.tar.gz
in my Download folder, running the executable with./mediamtx_v0.22.2_linux_amd64/mediamtx
shows me the following message in the Logs:Not finding the configuration file. After starting the stream some more messages appeared:
The weird aspect is that this issue only showed up today. I have been running mediamtx for about 2 weeks before and never had this problem starting the streaming.
Describe how to replicate the issue
ffmpeg -f v4l2 -i /dev/video0 -profile:v high -pix_fmt yuvj420p -level:v 4.1 -preset ultrafast -tune zerolatency -vcodec libx264 -r 10 -b:v 512k -s 1920x1080 -strict -2 -ac 2 -ab 32k -ar 44100 -f mpegts -f rtsp -rtsp_transport tcp rtsp://192.168.30.232:8554/mystream
(the command I have been using)Check the configuration file located in
./mediamtx_v0.22.2_linux_amd64/mediamtx.yml
after searching on the internet for a solution I tried to edit the end of the file where paths are specified and left only:Did you attach the server logs?
no
Did you attach a network dump?
no