Coda: imx53 plays video with incorrect colors
Fabio Estevam
festevam at gmail.com
Mon Jan 18 13:28:40 UTC 2021
Hi Philipp,
Thanks for your reply.
On Mon, Jan 18, 2021 at 9:40 AM Philipp Zabel <p.zabel at pengutronix.de> wrote:
> The driver could be modified to switch the DP->DI0/DC->DI1 mapping
> around to DP->DI1/DC->DI0 when required. As a simple test, you can
> switch statically with:
It does change the colors but still does not play the video with the
correct colors. Looks like it plays in black-and-white now.
> Or, as a workaround, add a v4l2convert element and use the IC to convert
> to BGRx between decoder and kmssink.
Yes, I have tried to do this, but it says that v4l2convert does not
support bt601 colorimetry, and then a segfault occurs:
# gst-launch-1.0 filesrc location=/media/clip.mp4 ! qtdemux !
h264parse ! v4l2h264dec ! v4l2convert ! video/x-raw,format=BGRx !
kmssink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/v4l2convert:v4l2convert0:
Device '/dev/video4' does not support bt601 colorimetry
Additional debug info:
../sys/v4l2/gstv4l2object.c(4032): gst_v4l2_object_set_format_full ():
/GstPipeline:pipeline0/v4l2convert:v4l2convert0:
Device wants 2:4:5:4 colorimetry
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Caught SIGSEGV
exec gdb failed: No such file or directory
Spinning. Please run 'gdb gst-launch-1.0 217' to continue debugging,
Ctrl-C to quit, or Ctrl-\ to dump core.
Is the Gstreamer pipeline above correct?
Thanks
More information about the gstreamer-devel
mailing list