How to do the rotate on i.MX8M with gstreamer when play video file?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to do the rotate on i.MX8M with gstreamer when play video file?

453 Views
m_c
Senior Contributor I

We just found both imxvideoconvert and imxcompositor are not available on i.MX8M with L4.9.88_2.0.0. How to do the rotate on i.MX8M with gstreamer when play video file?

0 Kudos
2 Replies

139 Views
diegoadrian
NXP Employee
NXP Employee

Hello

I apologize for the delay.

I was trying to find the best pipeline that could work.

As far as I have is as below:

gst-launch-1.0 filesrc location=test.mp4 ! video/quiciurdemux ! queue ! avdec_h264 ! queue ! videoflip method=clockwise ! waylandsink

This does work well but is not the best solution. The problem is that the video processing it is made with the CPU due to the lack of VPU and when you are making the rotation of the video, the video goes to slow. However, the pipeline that I placed works well, but it is not made with the correct sink.

Hope this can help you.

Best Regards,

Diego

0 Kudos

139 Views
mrsafetwice
Contributor I

Hi Diego,

You are implying that it lacks the support of the firmware to control the VPU for GStreamer? Because I'm having some problems on scaling the video in a Qt app with GStreamer, seems it is the same thing.

Are there any previsions on when this firmware / plugins will be relased?

Thanks in advance.

0 Kudos