Command:
gst-launch-1.0 playbin uri=rtsp://192.168.1.88:556/vga
The memory of gst-launch-1.0 will increase more than 30M every hour, then the video stop, but audio soud ok。
Delete the libgstvpu.so , use the same commad. memory will not increase, but play the high resolution (1920x1080) not smooth.
Anybody has faced the same problem and resolved? Please help
karinavalencia
I do more test.
Compare playing local video file and RTSP:
1) play 1920x1080 ((MPEG4\AVC_H_L3)local files, that seems not has memory leak. (log file : gplay-test-AVC_H_L3_Schindlers.log、gplay-test-MPEG4_Schindlers.log)
2) play 1920x1080 (AVC_H) RTSP, memory increase about 16M. (log file: gplay-test-AVC_H_RTSP.log)
Compare playing RTSP(960x540 AVC_H) with vpudec and avdec_h264 lib:
a) use vpudec , memory increase about 10M in 20 mins.( log file: gplay-test-AVC_H_RTSP_with_VPU.log)
b) use avdec_h264(delete /usr/lib/gstreamer-1.0/libgstvpu.so) , memory not increase. (log file: gplay-test-AVC_H_RTSP_with_avdec_h264.log)
CPU: IMX6DL
Kernel: 4.1.15
BSP: 2.0.1 GA
vpudec: imx-gst1.0-plugin-4.1.4
avdec_h264:gst-libav-1.8.1