Gstreamer not playing videos in weston/wayland

Nicolas Dufresne nicolas.dufresne at gmail.com
Thu Sep 29 15:00:21 UTC 2016


Le mercredi 28 septembre 2016 à 20:46 -0700, sudipj a écrit :
> Abin,
> 
> Do you get the issue with this pipeline ?
> 
> gst-launch-1.0 filesrc location=sample.bgra !  video/raw,
> format=BGRx,  width=352, height=288, framerate=25/1 !  waylandsink ?

Raw files need to be frames, you can't just read them from files in 4kb
chunk. Use videoparse element, or at least set the appropriate size.

> 
> Which is your wayland version and the rendering mechanism (pixman,
> EGL) ?
> 
> ,
> Sudip
> 
> On 29 September 2016 at 08:44, Abin P [via GStreamer-devel] <[hidden
> email]> wrote:
> > Dear sudipj
> > 
> > I tried to add caps in gstreamer pipeline like 
> > "gst-launch-1.0 videotestsrc !  Video/x-raw, format=BGRx ! 
> > Waylandsink".its working successfully. 
> > Then i tried with a BGRA video like 
> > "gst-launch-1.0 filesrc location=sample.bgra !  Video/raw,
> > format=BGRA,  width=352, height=288, framerate=25/1 !  Waylandsink"
> > I got a green line in display  with errors like
> > (gst-launch-1.0:442):Gstreamer-CRITICAL **:gst_buffer_fill:
> > assertion 'GST_IS_BUFFER(buffer)'  failed caught SIGENV
> > #0 0Xb6c27380 in poll() from /lib/libc.so.6
> > #1 0xb6f414c0 in?? () 
> > Spinning. Please run 'gdb gst-launch-1.0 442' to continue
> > debugging 
> > 
> > So i debugged it. That i attached with this mail. 
> > Then i used another pipeline
> > "gst-launch-1.0 filesrc location=sample.bgra !  Videoparse
> > width=352 height=288 format=8 !  Videoconvert ! Waylandsink ". 
> > I got a freeze image on the display, video not playing and showing
> > same error. 
> > I think some buffer error behind it. I am using gstreamer 1.4.1 
> > 
> > Thanks and regards 
> > Abin
> > 
> > On Tuesday, September 27, 2016, sudipj <[hidden email]> wrote:
> > > Can you try gst-launch-1.0 videotestsrc ! video/x-raw,
> > > format=BGRx ! waylandsink. If you change to format=I420, you
> > > should see the same error.
> > > 
> > > Wayland supports only RGB formats(BGRA, BGRx, RGB16) , but for
> > > some reasons other formats are also included in the caps.
> > > 
> > > Sudip
> > > 
> > > 
> > > On 27 September 2016 at 21:52, Abin P [via GStreamer-devel]
> > > <[hidden email]> wrote:
> > > > Thanks sudipj
> > > > I already checked waylandsink with wayland flower experiment
> > > > and EGLWLMOCK NAVIGATION  its works fine. 
> > > > I am here attaching debug log. Using 
> > > > Gst-launch-1.0 videotestsrc !  Videoconvert !  Waylandsink - -
> > > > gst-debug=*sink*:5
> > > > Thanks 
> > > > Abin
> > > > 
> > > > On Sep 26, 2016 1:53 PM, "sudipj" <[hidden email]> wrote:
> > > > > Can you try  gst-launch-1.0 videotestsrc ! videoconvert !
> > > > > waylandsink ?
> > > > > 
> > > > > Regards,
> > > > > Sudip
> > > > > 
> > > > > On 26 September 2016 at 11:18, Abin P [via GStreamer-devel]
> > > > > <[hidden email]> wrote:
> > > > > > Hi I am trying t build a player in R car-E2 (arm based
> > > > > > board).I already build weston /wayland ,gststreamer-1.0 and
> > > > > > waylandsink in R car-E2. I checked all the plugins using
> > > > > > gst-inspect-1.0.Then i started to test video rendering as "
> > > > > > gst-launch-1.0 videotestsrc ! waylandsink.I got plenty of
> > > > > > errors like ERROR:from element
> > > > > > /Gstpipeline:pipeline0/GstvVideoTestSrc:videotestsrc0:
> > > > > > Internal data flow error Additional debug info: gstreamer-
> > > > > > 1.4.1/libs/gst/base/gstbasesrc.c(2933):gst_base_src_loop():
> > > > > > /GstVideoTestSrc:videotestsrc0: streaming task paused,
> > > > > > reason not negotiated (-4) ERROR:pipeline doesn't want to
> > > > > > preroll." .Can anyone help me to solve this problem.I
> > > > > > debugged with GST_DEBUG=4 gst-launch-1.0 videotestsrc !
> > > > > > waylandsink.
> > > > > > regards Abin
> > > > > > 
> > > > > > _______________________________________________ 
> > > > > > gstreamer-devel mailing list 
> > > > > > [hidden email] 
> > > > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-de
> > > > > > vel
> > > > > > 
> > > > > > 
> > > > > > If you reply to this email, your message will be added to
> > > > > > the discussion below:
> > > > > > http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-p
> > > > > > laying-videos-in-weston-wayland-tp4679767.html
> > > > > > To start a new topic under GStreamer-devel, email [hidden
> > > > > > email] 
> > > > > > To unsubscribe from GStreamer-devel, click here.
> > > > > > NAML
> > > > > > 
> > > > > 
> > > > > 
> > > > > View this message in context: Re: Gstreamer not playing
> > > > > videos in weston/wayland
> > > > > Sent from the GStreamer-devel mailing list archive at
> > > > > Nabble.com.
> > > > > 
> > > > > _______________________________________________
> > > > > gstreamer-devel mailing list
> > > > > [hidden email]
> > > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-deve
> > > > > l
> > > > > 
> > > > > 
> > > > 
> > > > _______________________________________________ 
> > > > gstreamer-devel mailing list 
> > > > [hidden email] 
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > 
> > > >  log.txt (24K) Download Attachment
> > > > 
> > > > 
> > > > If you reply to this email, your message will be added to the
> > > > discussion below:
> > > > http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-playi
> > > > ng-videos-in-weston-wayland-tp4679767p4679817.html
> > > > To start a new topic under GStreamer-devel, email [hidden
> > > > email] 
> > > > To unsubscribe from GStreamer-devel, click here.
> > > > NAML
> > > > 
> > > 
> > > 
> > > View this message in context: Re: Gstreamer not playing videos in
> > > weston/wayland
> > > Sent from the GStreamer-devel mailing list archive at Nabble.com.
> > > 
> > 
> > _______________________________________________ 
> > gstreamer-devel mailing list 
> > [hidden email] 
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> >  log2.txt (5K) Download Attachment
> > 
> > 
> > If you reply to this email, your message will be added to the
> > discussion below:
> > http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-playing-v
> > ideos-in-weston-wayland-tp4679767p4679847.html
> > To start a new topic under GStreamer-devel, email [hidden email] 
> > To unsubscribe from GStreamer-devel, click here.
> > NAML
> > 
> 
> 
> View this message in context: Re: Gstreamer not playing videos in
> weston/wayland
> Sent from the GStreamer-devel mailing list archive at 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