Re: Coda: imx53 plays video with incorrect colors

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

 



Le jeudi 14 janvier 2021 à 12:36 -0300, Fabio Estevam a écrit :
> On Thu, Jan 14, 2021 at 9:20 AM Fabio Estevam <festevam@xxxxxxxxx> wrote:
> > 
> > Hi,
> > 
> > I am testing video playback on an imx53-qsb running 5.10.6, but I am
> > not getting the correct colors in the TVE output. This is the result:
> > 
> > https://www.dropbox.com/s/a4ifivpoi663dkd/mx53.mp4?dl=0
> > 
> > The original video is this one:
> > http://cdn.clipcanvas.com/sample/clipcanvas_14348_offline.mp4
> > 
> > I resized the TVE output to 1024x576 so that scaling is not needed for now.
> > 
> > The Gstreamer pipeline I am using is:
> > 
> > # gst-launch-1.0 filesrc location=/media/clip.mp4 ! qtdemux !
> > h264parse ! v4l2h264dec ! kmssink
> > 
> > Gstreamer version is 1.18.2.
> > 
> > Any ideas on how to get the video playback with the correct colors?
> 
> I forgot to mention that this incorrect color behavior is seen with
> other video files too.
> 
> Actually, I was not able to see video playback with correct colors
> using mainline kernel on i.MX53 yet.

Perhaps you would explain in detail what isn't color correct ? To debug this,
you probably want to inspect the caps and the colorimetry negotiated between
each element (use -v in gst-launch-1.0). It's quite possible that the decoder is
ignoring upstream colors and get badly hinted by the driver, or that kmssink is
pnot passing colorimetry to the driver.

> 
> 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