HI I am trying to record rtsp stream coming from camera(H264 format).
I am using following gst command to do recording in MPEG4 Format
gst-launch -e rtspsrc location=rtsp://10.17.8.136/mediainput/h264 latency=100 ! decodebin ! ffenc_mpeg4 ! avimux ! filesink location=test.mp4
and H264 format
gst-launch-0.10 -e rtspsrc location="rtsp://10.17.8.136/mediainput/h264" latency=100 ! rtph264depay byte-stream=false ! capsfilter caps="video/x-h264,width=1920,height=1080,framerate=(fraction)25/1" ! mp4mux ! filesink location=testh264.mp4
Both are doing recording but i have observed that There is RAM mermory is gradually increasing.
Does gStreamer has memory leak. or there is problem in my pipeline command?
That is not a leak, the mp4 muxer is building the index table in memory, before writing it out to disk on eos.
来源:https://stackoverflow.com/questions/8982053/gstreamer-video-recording-memory-leak