Tool/software:
When saving the CSI frame as an MP4 file as shown in the attached code, an error occurs if the number of files exceeds 32 because the resources are not properly released.
I would appreciate any advice on how to properly release the resources.
- CSI Reception Pipeline
GstElement* pipeline = gst_parse_launch(
"v4l2src device=/dev/video3 io-mode=5 ! "
"video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1 ! tiovxmemalloc pool-size=8 ! "
"appsink name=sink emit-signals=True sync=True max-buffers=30 drop=False",
nullptr);
2. GStreamer Pipeline (MP4 Conversion)
std::string pipeline_str = "appsrc name=mysrc ! videoconvert ! v4l2h264enc ! video/x-h264,profile=baseline ! h264parse ! mp4mux ! filesink location=" + filename;
3. Resource Release
- Please refer to the attached stop_and_cleanup() function.
# Error Code
[12148.061515] vdec 30210000.video-codec: Too many simultaneous instances: 32 (max: 32)
old Issue: e2e.ti.com/.../5364680