Skip to content
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

videoOutput Rtsp Memory leak #214

Open
D3Nd3R opened this issue Sep 4, 2024 · 2 comments
Open

videoOutput Rtsp Memory leak #214

D3Nd3R opened this issue Sep 4, 2024 · 2 comments

Comments

@D3Nd3R
Copy link

D3Nd3R commented Sep 4, 2024

ENV

jetson agx orin
jetpack 5.1
cuda 11.4.315

Description

Memory leak when calling video Output::Render. But the memory stops increasing when I connect to the stream via ffplay. After disconnecting, the memory also does not increase

Step to reproduce

start video-viewer

./video-viewer rtsp://192.168.1.149:8560/downtown rtsp://192.168.1.202:8554/front --input-codec=h264 --input-decoder=v4l2 --output-codec=h265 --output-encoder=v4l2 --headless

run jtop and watch memory usage. It will be increase

run ffplay

ffplay -fflags nobuffer -flags low_delay -framedrop -avioflags direct rtsp://192.168.1.202:8554/fron

memory increase stops.

@D3Nd3R
Copy link
Author

D3Nd3R commented Sep 4, 2024

possible work around:

   if (_videoOutput->Open())
    {
        cv::VideoCapture capture;
        capture.open(_url);
        if (capture.isOpened())
            capture.release();
    }
    ```

@lin-voxvision
Copy link

same issue, hope can be resolved soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants