Skip to main content
Lead
June 13, 2025
Question

Live streaming with Gstreamer for monitoring facilities?

  • June 13, 2025
  • 2 replies
  • 583 views

According to the datasheet of STM32MP2, it can play 1080p by using Gstreamer: GStreamer overview - stm32mpu

Questions:

1. Does that mean it can play pre-downloaded videos on STM32MP2 in 1080p?

2. Will Gstreamer be the only option to play 1080p videos?

3. If I have a webpage that streaming 1080p real time live action from a camera, e.g inside a facility. If I want to access that web page, would it be possible to watch that live session in 1080p by using Gstreamer or other software that can handle hardware acceleration? I don't know if Chromium can handle the hardware acceleration of the GPU of STM32MP2 yet. Please, let me know.

 

2 replies

PPAGE.13
ST Employee
June 13, 2025

Hi,

on STM32MP25, video can only be hardware accelerated with gstreamer usage.

 

For instance, run:

su -l weston -c "gst-launch-1.0 filesrc location=<your .mp4 file> ! qtdemux ! 
h264parse ! queue ! v4l2slh264dec ! autovideosink"

Inside a web browser, it won't be hardware accelerated. We are currently working on a solution in Chromium.

 

BR,

Philippe.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
DMårtAuthor
Lead
June 13, 2025

Thank you @PPAGE.13 for the reply.

So I guess 1080p will be present in Chromium when the solution is found?

By the way! I really admire the work ST have made for the MP-series. 

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-ComputerSTM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
July 30, 2025

Hey DMårt, I’ve worked with live streaming setups on embedded Linux boards before (including STM32MP), so I can share what I know. Yeah, GStreamer can definitely handle 1080p playback if the pipeline is built right and hardware decoding is supported — I’ve used it for both local playback and IP camera streams. As for your first question: yes, it can play pre-downloaded 1080p videos if the codecs are supported and the system isn’t overloaded. GStreamer isn’t the only option, but it’s the most flexible on STM platforms, especially when you need to customize pipelines or use hardware acceleration.

For your live-streaming scenario — if your camera stream is exposed via something like RTSP or HLS, GStreamer can pick that up and play it in 1080p assuming the GPU and VPU are enabled via the device tree and drivers. Chromium is hit or miss in this area; on STM32MP2, I haven’t seen consistent hardware acceleration with Chromium unless it’s heavily optimized. If you’re just viewing the stream, I personally had better luck using a GStreamer pipeline or even something like a livestream viewer like Taraftarium24 where decoding is kept lightweight and you avoid the overhead of a full browser.

Let me know if you're dealing with a specific camera protocol or codec, I might be able to help with a sample pipeline.

DMårtAuthor
Lead
July 31, 2025

I assume that streaming from Chromium won't be an option in STM32MP2?

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-ComputerSTM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer