Open kerryland opened 1 year ago
See also Bug #108
Wow thats a real Sherlock Holmes investigation that you've conducted, thanks!
The Jetson Nano version will stay at 4.2.2 since it is installed from apt
.
The other containers have FFmpeg 5.1.2.
Will make sure to fix this in a coming release. Thanks again!
tldr;
ffmpeg version n4.2.2-15-g6878ea5a44
contains this bug which means it dies with rtsp streams if-timeout
is used. Viseron uses-timeout
:-)If you Google this you will find advice to replace
-timeout <seconds>
with-stimeout <microseconds>
, which works up until 5.x when the ffmpeg devs decided to rename-timeout
to-listen_timeout
, and-stimeout
to-timeout
.option 1: Upgrade to ffmpeg 5.x option 2: Replace the use of
-timeout 5000000
with-stimeout 5000000
, worry about ffmpeg 5 later.Note that -timeout is measured in seconds, so, if it worked, the timeout would be 58 days :-)
Here are some logs:
The full ffmpeg information:
Also, an explanation of the 'timeout' renaming saga.
I have a work-around. Add the following to the ffmpeg config for your camera:
It's been a tonne of work, and I've learned a lot. Now it's time to try out Viseron and see if I like -- I sure hope so!
Finally, I just noticed here, that "The Jetson Nano support is very limited in FFmpeg. If you have a Nano i suggest looking at the gstreamer component instead."
Ooops.