Playing and Processing External RTSP Streams or Video Files on AXIS F9111-R Mk II #1189
Replies: 3 comments 5 replies
-
|
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @tomohiro20251106 , You can explore the using-opencv example using RTSP URL: int main(void) {
syslog(LOG_INFO, "Running OpenCV example with RTSP as video source");
// Replace with your RTSP stream URL
// Format: rtsp://[username]:[password]@[ip_address]:[port]/[stream_path]
std::string rtsp_url = "rtsp://username:[email protected]:554/stream1";
// Open the RTSP stream
VideoCapture cap(rtsp_url, CAP_FFMPEG);
if (!cap.isOpened()) {
syslog(LOG_ERR, "Error: Cannot open RTSP stream");
return EXIT_FAILURE;
}Other options: I am not sure about the use case you are looking at, but I have seen various people prefer external AI boxes to process the external RTSP streams. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Vivek Kumar, Thank you for your reply. I referred to the following example when coding: Here is my code: However, even after installing the app on the camera, it results in an error: Do you have any suggestions on why it cannot open the RTSP stream from the camera app? I want to test a vehicle-detection application that I developed using external streams or external video files. Are “external AI boxes” another product from your company? |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am developing an ACAP application on an AXIS F9111-R Mk II camera. The goals are:
・Capture and process an external RTSP stream directly on the camera
・Alternatively, load and process external MP4 video files
Currently, there does not seem to be a way to directly decode external RTSP streams or MP4 files on AXIS OS,
and the ACAP SDK examples do not include any video decoding samples.
My questions are:
①Is there a supported way to fetch and decode external streams or video files directly on AXIS ACAP?
②If not currently possible, could future ACAP updates consider providing APIs for external stream/video decoding?
Camera model: AXIS F9111-R Mk II
Any advice or best practices would be greatly appreciated.
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions