Skip to main content
asadullah4571
Associate III
October 10, 2024
Solved

1080 P or 720 P video play like a lagging on STM32MP1

  • October 10, 2024
  • 1 reply
  • 940 views

Hi
I try to play a video on 1080 P , and my stm32mp157f-dk2 board are connecting through the HDMI , and  whenever i play the video, video getting so many lags but sound is good,

please let me know.
i am using the same players 

With GPU
Gstreamer graph: 

playbin3 uri=file://$VIDEO video-sink=' gtkwaylandsink name=gtkwsink '


Best answer by PatrickF

Hi @asadullah4571 ,

 

STM32MP1 does not embed any video HW accelerator, so video resolution, bit rate and frame rate is limited.

Played video files should be adapted to STM32MP1 capabilities.

Dual Cortex-A7 800MHz 32-bit DDR (STM32MP157F-DK2 is 16-bit DDR, so expect lower figures) :

  • H264   : up to 720p 16/9 (1280x720) @ 24fps in full screen on a 720p (1280x720) display
  • VP8     : up to 720p 16/9 (1280x720) @ 30fps in full screen on a 720p (1280x720) display

Notes:

  • Color conversion, upscale & composition are performed with the GPU
  • Video bitrates have to be below 1.5Mbps for good performances

 

Please also have a look to https://wiki.st.com/stm32mpu/wiki/How_to_profile_video_framerate

 

Regards

 

1 reply

PatrickF
PatrickFBest answer
Technical Moderator
October 10, 2024

Hi @asadullah4571 ,

 

STM32MP1 does not embed any video HW accelerator, so video resolution, bit rate and frame rate is limited.

Played video files should be adapted to STM32MP1 capabilities.

Dual Cortex-A7 800MHz 32-bit DDR (STM32MP157F-DK2 is 16-bit DDR, so expect lower figures) :

  • H264   : up to 720p 16/9 (1280x720) @ 24fps in full screen on a 720p (1280x720) display
  • VP8     : up to 720p 16/9 (1280x720) @ 30fps in full screen on a 720p (1280x720) display

Notes:

  • Color conversion, upscale & composition are performed with the GPU
  • Video bitrates have to be below 1.5Mbps for good performances

 

Please also have a look to https://wiki.st.com/stm32mpu/wiki/How_to_profile_video_framerate

 

Regards

 

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent