ximagesink error in a live streaming pipeline

Natanael Mojica neithanmo at gmail.com
Mon Dec 7 00:48:27 PST 2015


Hi

I am a little issue with my pipeline, when i use ximagesink
below is my pipeline

gst-launch-1.0 v4l2src device=/dev/video0 do-timestamp=true ! videorate !
videoconvert ! videoscale ! video/x-raw, format=BGRA,
interlace-mode=progressive, heigth=480, width=640, framerate=25/1,
pixel-aspect-ratio=1/1 ! videobalance ! videoconvert ! dicetv !
videoconvert ! tee name=t1 t1. ! queue ! x264enc threads=4 tune=zerolatency
! h264parse  ! queue ! flvmux name=mux streamable=true ! queue ! rtmpsink
location="rtmp://
a.rtmp.youtube.com/live2/x/MMMMMMM-NNNNN?videoKeyframeFrequency=1&totalDatarate=8128
app=live2 flashVer=FME/3.0%20(compatible;%20FMSc%201.0) swfUrl=rtmp://
a.rtmp.youtube.com/live2" alsasrc device=plughw:Generic do-timestamp=true !
audioconvert ! audioresample ! audio/x-raw, format=S16LE,
layout=interleaved ! volume volume=0.7 ! tee name=t2 t2. ! queue ! faac
bitrate=128000 ! aacparse ! audio/mpeg, mpegversion=4, stream-format=raw !
queue ! mux. t2. ! queue ! autoaudiosink t1. ! queue ! autovideosink

this pipeline work fine, but when i change the autovideosink element for a
ximagesink element(because i use ximagesink in my QT app for local view of
the streaming) the program crash, whit this error:

Got error message

from v4l2src

Error: Internal data flow error.

Got error message

from h264parse

Error: No valid frames found before end of stream

Got error message

from faac

Error: Codec is experimental, but settings don't allow encoders to produce
output of experimental quality

Got error message

from faac

Error: GStreamer error: negotiation problem.

Got error message

from alsasrc

Error: Internal data flow error.


But with gst-inspect i got the caps for ximagesink and autovideosink are
similars (video/x-raw)


please any suggestions..thanks !!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151207/d608e5db/attachment.html>


More information about the gstreamer-devel mailing list