GNOME Bugzilla – Bug 626210
Ximagesrc doesn't work with certain values of parameters.
Last modified: 2011-03-10 16:19:13 UTC
For example it doesn't work with startx=311 starty=433 endx=679 endy=700 and works with startx=100 starty=100 endx=200 endy=200
Both parameter combinations work probably here. What exactly is the failure you get from using the first combination?
(In reply to comment #1) > Both parameter combinations work probably here. What exactly is the failure you > get from using the first combination? I am just creating app with gstreamer pipeline: ximagesrc ! ffmpegcolorspace ! queue ! videorate ! xvidenc ! avimux ! filesink and when I used first combination gstreamer created only empty avi file. I use archlinux packages gstreamer(0.10.29-1) and base-plugins(0.10.29-1).
> I am just creating app with gstreamer pipeline: ximagesrc ! ffmpegcolorspace ! > queue ! videorate ! xvidenc ! avimux ! filesink and when I used first > combination gstreamer created only empty avi file. > > I use archlinux packages gstreamer(0.10.29-1) and base-plugins(0.10.29-1). Are you sure this is an issue with ximagesrc and not just xvidenc not supporting 'odd' widths/heights? I get this: tpm@zingle:~/gst/git/gst-plugins-good/gst/avi$ GST_DEBUG=xvid*:5 gst-launch-0.10 ximagesrc startx=311 starty=433 endx=679 endy=700 ! ffmpegcolorspace ! queue ! videorate ! xvidenc ! fakesink -v ... /GstPipeline:pipeline0/GstVideoRate:videorate0.GstPad:sink: caps = video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)369, height=(int)268, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1 xvidenc gstxvidenc.c:688:gst_xvidenc_setup:<xvidenc0> Error setting up xvid encoder: Operation failed (-1) ERROR: from element /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2569): gst_base_src_loop (): /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0: streaming task paused, reason not-negotiated (-4) While it works fine with ffenc_mpeg.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!