kmssink0: failed to configure video mode

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

kmssink0: failed to configure video mode

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

Error:
/root@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
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
[2]+  Done(1)                 /usr/bin/Xorg -depth 16
root@uz3eg-iocc-2018-2:~# GstKMSSink:kmssink0:
-sh: GstKMSSink:kmssink0:: command not found
root@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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: kmssink0: failed to configure video mode

Victor Jaquez
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@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@uz3eg-iocc-2018-2:~# GstKMSSink:kmssink0:
> -sh: GstKMSSink:kmssink0:: command not found
> root@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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: kmssink0: failed to configure video mode

bubbab315
*Good news! I was able to output the video to the monitor using your
suggestion of video convert and ximagesink!
I suppose i might not have the hardware needed to use kmssink in this
display? Anyway, the full command I used was:*
/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 !
videoconvert! ximagesink /
*
I am now trying to get the video to use the whole screen, so far it is only
using a portion of it. So any tips there are welcome, but hopefully it is an
easy endeavor.*



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: kmssink0: failed to configure video mode

Nicolas Dufresne-5
Le mercredi 09 janvier 2019 à 09:29 -0600, bubbab315 a écrit :
> *Good news! I was able to output the video to the monitor using your
> suggestion of video convert and ximagesink!
> I suppose i might not have the hardware needed to use kmssink in this

If X11 works, kmssink should work too. Though, though I420 might not be
supported. It really depends what you want.

> display? Anyway, the full command I used was:*
> /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 !
> videoconvert! ximagesink /
> *
> I am now trying to get the video to use the whole screen, so far it is only
> using a portion of it. So any tips there are welcome, but hopefully it is an
> easy endeavor.*

Just add videoscale, and you'll get software scaling on top of all
this.

>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: kmssink0: failed to configure video mode

bubbab315
Worked! thank you very much!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel