kmssink0: failed to configure video mode

Víctor Jáquez vjaquez at igalia.com
Wed Jan 9 10:53:10 UTC 2019


On Tue, 08 Jan 2019 at 16:45, bubbab315 wrote:
> I have a mpsoc from Xilinx, and am having a hard time replicating a video
> output to a display. I can connect to it and run •	gst-launch-1.0
> videotestsrc ! video/x-raw, width=1920, height=1080 ! ximagesink and that
> works. 
> However I get the following error when I try to run 
> *gst-launch-1.0 filesrc location=/home/root/sd/test2.mp4 ! qtdemux
> name=demux demux.video_0 ! h264parse ! avdec_h264 ! queue max-size-bytes=0 !
> kmssink bus-id=fd4a0000.zynqmp-display fullscreen-overlay=1 *

1. perhaps you should need a videoconvert before the kmsssink

> 
> Error:
> /root at uz3eg-iocc-2018-2:~# gst-launch-1.0 filesrc
> location=/home/root/sd/test2.mp4 ! qtdemux name=demux demux.video_0 !
> h264parse ! avdec_h264 ! queue max-size-bytes=0 ! kmssink
> bus-id=fd4a0000.zynqmp-display fullscreen-overlay=1
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Redistribute latency...
> ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer
> error: negotiation problem.
> Additional debug info:
> ../../../git/sys/kms/gstkmssink.c(1218): gst_kms_sink_set_caps ():
> /GstPipeline:pipeline0/GstKMSSink:kmssink0:
> failed to configure video mode

Do you have X running? I would expect not having it running if kmssink is used.

> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
> [2]+  Done(1)                 /usr/bin/Xorg -depth 16
> root at uz3eg-iocc-2018-2:~# GstKMSSink:kmssink0:
> -sh: GstKMSSink:kmssink0:: command not found
> root at uz3eg-iocc-2018-2:~# failed to configure video mode[ 4965.084940] PLL:
> shutdown/
> 
> Any tips on diagnosing this error so that I can output my video?
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list