I've been working with gstreamer in Debain Wheezy testing, I don't think ximagesink is working, although the rest of gstreamer seems to work. <br><br>For example this script:<br>gst-launch-0.10 dv1394src num-buffers=500 ! dvdemux ! dvdec ! ffmpegcolorspace ! x264enc ! matroskamux ! filesink location=video.mkv<br>
<br>Creates a file just fine, <br><br>If I want to output the stream to the screen (which is a very similar script):<br>gst-launch-0.10 -v dv1394src ! dvdemux ! dvdec ! ffmpegcolorspace ! ximagesink<br><br>I get:<br>Setting pipeline to PAUSED ...<br>
Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: dv1394clock<br>/GstPipeline:pipeline0/GstDV1394Src:dv1394src0.GstPad:src: caps = video/x-dv, format=(string)NTSC, systemstream=(boolean)true<br>
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:sink: caps = video/x-dv, format=(string)NTSC, systemstream=(boolean)true<br>/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:audio: caps = audio/x-raw-int, rate=(int)32000, depth=(int)16, width=(int)16, signed=(boolean)true, channels=(int)2, endianness=(int)1234<br>
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:video: caps = video/x-dv, systemstream=(boolean)false, width=(int)720, height=(int)480, framerate=(fraction)30000/1001, pixel-aspect-ratio=(fraction)40/33<br>/GstPipeline:pipeline0/GstDVDec:dvdec0.GstPad:sink: caps = video/x-dv, systemstream=(boolean)false, width=(int)720, height=(int)480, framerate=(fraction)30000/1001, pixel-aspect-ratio=(fraction)40/33<br>
/GstPipeline:pipeline0/GstDVDec:dvdec0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)720, height=(int)480, framerate=(fraction)30000/1001, pixel-aspect-ratio=(fraction)40/33, interlaced=(boolean)true<br>
ERROR: from element /GstPipeline:pipeline0/GstDV1394Src:dv1394src0: Internal data flow error.<br>Additional debug info:<br>gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/GstDV1394Src:dv1394src0:<br>streaming task paused, reason not-negotiated (-4)<br>
Execution ended after 79232973 ns.<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>/GstPipeline:pipeline0/GstDVDec:dvdec0.GstPad:src: caps = NULL<br>/GstPipeline:pipeline0/GstDVDec:dvdec0.GstPad:sink: caps = NULL<br>
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:video: caps = NULL<br>/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:audio: caps = NULL<br>/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:sink: caps = NULL<br>/GstPipeline:pipeline0/GstDV1394Src:dv1394src0.GstPad:src: caps = NULL<br>
Setting pipeline to NULL ...<br>Freeing pipeline ...<br><br>The almost identical:<br>gst-launch-0.10 -v dv1394src ! dvdemux ! dvdec ! ffmpegcolorspace ! fakesink<br><br>Throws no errors. <br clear="all"><br>Is this a problem with my script, or could it be a bug with Debian? Could it have been with the way I installed GStreamer (sudo apt-get install gstreamer0.10)? <br>
<br>-- <br><div><b>W.A. Garrett Weaver </b></div>
<div><a href="mailto:weaverg@email.arizona.edu" target="_blank">weaverg@email.arizona.edu</a></div><br>