This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

memory usage grow with gstreamer ti plugins

Hi all,

I am using the following components

-  dvsdk_3_01_00_10

- gstreamer-ti svn 822

I see that on performing repeated playback of the video the memory usage grows and finally it causes OOM kernel error.

Just on initiating the playback, I see the memory usage (issued top and noted the SHR memory of the gstreamer application) reaches to 62M with the video file I tested. (This memory seems to depend on the video file being used)

I even tested with http://code.google.com/p/gstplayer/ code and still find the issue.

Video files were generated using ffmpeg with vbv enabled with bufsize="25000k" and follows 2 pass encoding.

"ffmpeg -i optvgabuf25M_2_5mbpschevy.mp4" provides the details of the example video file used

"stream 0 codec frame rate differs from container frame rate: 48.00 (48/1) -> 24.00 (24/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'optvgabuf25M_2_5mbpschevy.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf52.47.0
  Duration: 00:01:11.29, start: 0.000000, bitrate: 2507 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 640x480 [PAR 213:160 DAR 71:40], 2486 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
    Stream #0.1(und): Audio: aac, 24000 Hz, stereo, s16, 31 kb/s"

I can pass the ffmpeg encoding procedure followed if required, if the anything is  suspected with the video file.

Attached the log of the gstplayer performing playback of video files in a folder (it finally crashed with OOM error).

I tried other revision of gstreamer and unable to resolve the issue and neither I have the expertise to fix/debug the issue.

Kindly help us in resolving the issue ASAP..

I have already posted to tigstreamer forum with out any help.

https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?_forum_action=ForumMessageBrowse&thread_id=3954&action=ForumBrowse&forum_id=187

https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?_forum_action=ForumMessageBrowse&thread_id=3866&action=ForumBrowse&forum_id=187

Thanks and Regards,

Hari