ximagesink not working in Debian Wheezy?

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

ximagesink not working in Debian Wheezy?

garrett
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.

For example this script:
gst-launch-0.10 dv1394src num-buffers=500 ! dvdemux ! dvdec ! ffmpegcolorspace ! x264enc ! matroskamux ! filesink location=video.mkv

Creates a file just fine,

If I want to output the stream to the screen (which is a very similar script):
gst-launch-0.10 -v dv1394src ! dvdemux ! dvdec ! ffmpegcolorspace ! ximagesink

I get:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: dv1394clock
/GstPipeline:pipeline0/GstDV1394Src:dv1394src0.GstPad:src: caps = video/x-dv, format=(string)NTSC, systemstream=(boolean)true
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:sink: caps = video/x-dv, format=(string)NTSC, systemstream=(boolean)true
/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
/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
/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
/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
ERROR: from element /GstPipeline:pipeline0/GstDV1394Src:dv1394src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/GstDV1394Src:dv1394src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 79232973 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstDVDec:dvdec0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstDVDec:dvdec0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:video: caps = NULL
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:audio: caps = NULL
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDV1394Src:dv1394src0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...

The almost identical:
gst-launch-0.10 -v dv1394src ! dvdemux ! dvdec ! ffmpegcolorspace ! fakesink

Throws no errors.

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)?

--
W.A. Garrett Weaver 


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

Re: ximagesink not working in Debian Wheezy?

Emile Semmes
I'm not using wheezy, but put a videoscale before your ximagesink or try xvimagesink instead of ximagesink.

Emile

--
Emile Semmes
Software Consultant
e6 Group, LLC
Office: (630) 376-0626
www.e6group.com
LinkedIn: http://www.linkedin.com/pub/emile-semmes/3/646/570
Guru.com: http://www.guru.com/freelancers/e6group


On 6/6/2012 4:46 PM, W.A. Garrett Weaver wrote:
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.

For example this script:
gst-launch-0.10 dv1394src num-buffers=500 ! dvdemux ! dvdec ! ffmpegcolorspace ! x264enc ! matroskamux ! filesink location=video.mkv

Creates a file just fine,

If I want to output the stream to the screen (which is a very similar script):
gst-launch-0.10 -v dv1394src ! dvdemux ! dvdec ! ffmpegcolorspace ! ximagesink

I get:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: dv1394clock
/GstPipeline:pipeline0/GstDV1394Src:dv1394src0.GstPad:src: caps = video/x-dv, format=(string)NTSC, systemstream=(boolean)true
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:sink: caps = video/x-dv, format=(string)NTSC, systemstream=(boolean)true
/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
/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
/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
/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
ERROR: from element /GstPipeline:pipeline0/GstDV1394Src:dv1394src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/GstDV1394Src:dv1394src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 79232973 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstDVDec:dvdec0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstDVDec:dvdec0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:video: caps = NULL
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:audio: caps = NULL
/GstPipeline:pipeline0/GstDVDemux:dvdemux0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDV1394Src:dv1394src0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...

The almost identical:
gst-launch-0.10 -v dv1394src ! dvdemux ! dvdec ! ffmpegcolorspace ! fakesink

Throws no errors.

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)?

--
W.A. Garrett Weaver 



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



  


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel