Our main requirement was to playback any mp4 video from MMC at a resolution of 1024x768 @50 Hz on i.MX6-SOLO .
We tried to play the MP4 video with different resolutions.
When we played MP4 video with 720 x 480 resolution of 2 min length, the occupied memory is getting free from RAM.
So, we thought playing high resolution video is the issue, as we are playing 1280*720 resolution of 1.01 hour length video .
But when we played MP4 videos with different resolution of 1 hour length, we faced the same issue, but now the memory consumption is slow for less resolution videos.
Please find the attachment, we checked the memory consumption with free command.
$gplay Demo.MP4
is the command which we are giving to play the video
Hi Nagamahesh
for memory leaks problems recommended to use latest BSPs on:
i.MX 6 Series Software and Development Tool|NXP
for older releases, please check suggestions given on
Long running vpu task with memory leak bug on imx6
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for the reply.
I am unable to open the below link:
Long running vpu task with memory leak bug on imx6
When i tried to open the above link, it is saying as below:
Hi Igor,
I have tested on the latest Ycoto BSP with the below command, but the HD video is playing very slow and got below error:
$gst-launch-1.0 filesrc location=Demo.mp4 ! qtdemu ! h264parse ! v4l2video1dec ! videoconvert ! videoscale ! fbdevsink sync=trueux
*****************************************************************************************************************
WARNING: from element
/GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are
being dropped.
Additional debug info:
PD15.3.0/build/tmp-glibc/work/cortexa9hf-vfp-neon-phytec-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer:
There may be a timestamping problem, or this computer is too slow.
********************************************************************************************************************
Hi Nagamahesh
are you using Qt, please try without it using L4.1.15 linux from i.MX6 nxp product page
i.MX 6 Series Software and Development Tool|NXP
~igor
Hi Igor,
Thanks for the reply.
I am not using Qt, I am playing a video 1280*720 resolution of 1.01 hour length video with gst-launch.
$gst-launch-1.0 filesrc location=Demo.mp4 ! qtdemu ! h264parse ! v4l2video1dec ! videoconvert ! videoscale ! fbdevsink sync=trueux
Note:
VPU and GPU cores are enabled in the BSP
Hi Nagamahesh
please try to reproduce this issue on nxp reference board
with Demo Images
~igor