-
Notifications
You must be signed in to change notification settings - Fork 88
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
problems with ffpmeg in frigate 0.15 #155
Comments
Hey, additional contex:
However, this results in the following error:
Apperently, it was working with hbiyik's fork https://github.com/hbiyik/FFmpeg. |
The logs are not helpful. Add |
Good afternoon Unfortunately my knowledge is not great. If you write in detail what needs to be done, I will provide all the necessary information |
Run these commands on your OPi5 (not in frigate):
|
root@orangepi5:~/ffmpeg_test# sudo ./ffmpeg -v trace -allowed_media_types video+audio -fflags nobuffer -flags low_delay -timeout 5000000 -rtsp_flags prefer_tcp -hwaccel -hwaccel_output_format drm_prime -afbc rga -i rtsp://192.168.201.13:8554/profile0 -c:v h264_rkmpp -g 50 -bf 0 -an test.mp4 -y -- -- [rtsp @ 0xaaaade9091e0] sdp: v='0' -- -- -- |
That command is not correct.
|
Is there anything else I can do? |
Try this
|
|
Recompile ffmpeg with |
root@orangepi5:~/ffmpeg_test# sed -i "s/,dump_extra//g" libavcodec/rkmppdec.c |
@Vladd1980 I will recompile FFmpeg, but it will last a couple of hours. I will write you once I have a new version ready. |
Thank you! |
Hey, it's finished:
|
root@orangepi5:~/ffmpeg_test# sudo ./ffmpeg -v trace -allowed_media_types video+audio -fflags nobuffer -flags low_delay -timeout 5000000 -rtsp_flags prefer_tcp -hwaccel rkmpp -hwaccel_output_format drm_prime -i rtsp://192.168.201.13:8554/profile0 -f null - -- -- [rtsp @ 0xaaab1c9ba090] sdp: v='0' -- -- -- -- |
Can I hope for a solution to the problem in the near future? I haven't been able to run frigate 0.15 for several months now and it's causing me a lot of problems. I would really not like to change equipment as it is not so simple, expensive and until recently I was completely satisfied |
I tried all locally accessible streams and was unable to reproduce. If someone could provide a publicly available RTSP stream that can be used to reproduce the problem, that would be very helpful to this issue. |
Hello! thank you for your experiences :). I can give you access to the stream. I'll need a little time. where can I send you the link? I don't want to share it publicly |
You can send one to "nst799610810 at gmail dot com" |
I sent the stream address to your email address |
I'm using frigate 0.13 on orange pi5. it has been working stably for a long time. But for a long time now I have been trying to switch to frigate 0.15 and I have a problem with two cameras. in frigate 0.13 they work like this:
go2rtc:
streams:
Facade3:
ffmpeg:rtsp://192.168.201.13:8554/profile0#video=h265/rkmpp#audio=copy#audio=aac#audio=opus
Fasad3_sub:
ffmpeg:rtsp://192.168.201.13:8554/profile1#video=h265/rkmpp#audio=copy#audio=aac#audio=opus
but in frigate 0.15 it doesn't work. Only works:
Fasad3:
ffmpeg:rtsp://192.168.201.13:8554/profile0#video=h264#audio=copy#audio=aac#audio=opus
which leads to excessive processor load. I also tried other options, all this is described in my topic here:
blakeblackshear/frigate#12713 (reply in thread)
MarcA711 advised me to write about it here. Please help!
The text was updated successfully, but these errors were encountered: