Video no longer ingesting
Issue details
- Video is not being sent to Formant.
- My RTSP camera is not showing video in Formant, but I can connect to it.
Troubleshooting steps
First, gather Formant agent logs:
- Install the Formant agent: Retrieve agent logs
- Install the Formant agent via Docker: Retrieve agent logs
Review the agent log for the following error messages:
"media encoder exited with code -1: core dumped"
"media encoder exited with code -1: core dumped"
This may be caused by an underlying error in media encoding packages. To verify:
- Run the following command:
apt policy libproxy1v5
If you see the following output:
libproxy1v5:
Installed: 0.4.17-2
Candidate: 0.4.17-2
There is a known issue with libproxy1v5_0.4.17-2
which is resolved by upgrading to libproxy1v5_0.4.17-3
:
sudo apt install ./libproxy1v5_0.4.17-3_amd64.deb
gst_parse_error: could not set property “speed-preset” in element “x264enc0" to “fastest” (4)
gst_parse_error: could not set property “speed-preset” in element “x264enc0" to “fastest” (4)
Set the FORMANT_ENCODE_SPEED_PRESET
environment variable to a supported value: Environment variables for the agent: Media environment variables.
FORMANT_ENCODE_SPEED_PRESET values from fastest (least CPU time) to slowest (highest quality) |
---|
"ultrafast" |
"superfast" |
"veryfast" |
"faster" |
"fast" |
"medium" |
"slow" |
"slower" |
"veryslow" |
The agent defaults to ultrafast
. There is a tradeoff between video quality and lag. We typically see that, depending on the cpu between veryfast
and medium
, lag starts accumulating.
To optimize video quality and speed, experiment to find the slowest setting that doesn't accumulate lag.
See also
If you notice an issue with this page or need help, please reach out to us! Use the 'Did this page help you?' buttons below, or get in contact with our Customer Success team via the Intercom messenger in the bottom-right corner of this page, or at [email protected].
Updated 15 days ago