Re: Coda: imx53 plays video with incorrect colors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Philipp,

On Mon, Jan 18, 2021 at 12:29 PM Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> 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



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux