Coda: imx53 plays video with incorrect colors
Fabio Estevam
festevam at gmail.com
Mon Jan 18 18:36:54 UTC 2021
Hi Philipp,
On Mon, Jan 18, 2021 at 12:29 PM Philipp Zabel <p.zabel at pengutronix.de> wrote:
> Please try forcing decoder output to NV12 instead of I420.
Your suggestion works, thank you. After applying your IPU patch and
using this Gstreamer pipeline:
gst-launch-1.0 filesrc location=/media/clip.mp4 ! qtdemux ! h264parse
! v4l2h264dec ! video/x-raw,format=NV12 ! kmssink
The video is played with correct colors.
Can we make the NV12 format be used automatically so that a simple
'gst-play-1.0 /media/clip.mp4' works?
> Yes. Please try if the following patch makes it work:
With this Gstreamer patch, I don't see the segfault anymore, but it
plays in black-and-white.
Thanks
More information about the gstreamer-devel
mailing list