Pipeline freezing with Tee to Display and encode

Robin Aproskie raproskie at tellumat.com
Wed Apr 23 07:39:18 PDT 2014


Hi Please can someone confirm and help  clarify why this freezes

Thanks
Robin

On Windows 7 "1.2.3"
i7 2.8Ghz CPU

If I run the following pipline It saves the file fine and I can play it using VLC and it diplays without using encoder and using d3dvideosink

gst-launch-1.0.exe videotestsrc ! video/x-raw , format="I420", height=720, width=1280 ! videoconvert !
cairooverlay ! clockoverlay ! tee name = t ! queue ! d3dvideosink t. ! queue ! videoconvert ! video/x-raw, format="I420" ! x264enc ! video/x-h264 ! h264parse ! avimux ! filesink location="c:\\gstreamer\\file.avi" -v

If I put a Tee in, so I can view the video as well it freezes on the first frame which I see.
The cairooverlay is there to simulate my cairo overlay videoformat and changing the caps as it parses through the pipeline.

gst-launch-1.0.exe videotestsrc ! video/x-raw , format="I420", height=720 , width=1280 ! videoconvert !
cairooverlay ! clockoverlay ! tee name = t ! queue ! d3dvideosink t. ! queue ! videoconvert !
video/x-raw, format="I420" ! x264enc ! video/x-h264 ! h264parse ! avimux ! filesink location="c:\\gstreamer\\file.avi" -v

My output is thus

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-
raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)
30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw,
format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)30/1
, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-
raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ra
tio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstCairoOverlay:cairooverlay0.GstPad:src: caps = video/x-
raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ra
tio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstClockOverlay:clockoverlay0.GstPad:src: caps = video/x-
raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ra
tio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstTee:t.GstTeePad:src_0: caps = video/x-raw, width=(int)
1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/
1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, width=(i
nt)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction
)1/1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, width=(i
nt)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction
)1/1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstTee:t.GstTeePad:src_1: caps = video/x-raw, width=(int)
1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/
1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-raw, width=(i
nt)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction
)1/1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-raw, width=(i
nt)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction
)1/1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstTee:t.GstPad:sink: caps = video/x-raw, width=(int)1280
, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, i
nterlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstTee:t.GstPad:sink: caps = video/x-raw, width=(int)1280
, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, i
nterlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstClockOverlay:clockoverlay0.GstPad:video_sink: caps = v
ideo/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-as
pect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGR
x
/GstPipeline:pipeline0/GstClockOverlay:clockoverlay0.GstPad:video_sink: caps = v
ideo/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-as
pect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGR
x
/GstPipeline:pipeline0/GstClockOverlay:clockoverlay0.GstPad:video_sink: caps = v
ideo/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-as
pect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGR
x
/GstPipeline:pipeline0/GstCairoOverlay:cairooverlay0.GstPad:sink: caps = video/x
-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-r
atio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x
-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction
)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw
, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)30/
1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw
, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)30/
1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
Redistribute latency...

 

 
**********************************************************************
Relevant company disclaimers are available at the following addresses:
  Tellumat (Pty) Ltd e-mail:  mailto:disclaimer at tellumat.com?Subject=Tellumat_Disclaimer
  Web:   http://www.tellumat.com/email.aspx
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140423/a17e04d5/attachment-0001.html>


More information about the gstreamer-devel mailing list