After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626210 - Ximagesrc doesn't work with certain values of parameters.
Ximagesrc doesn't work with certain values of parameters.
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-06 15:22 UTC by dizieg
Modified: 2011-03-10 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description dizieg 2010-08-06 15:22:18 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
Comment 1 Sebastian Dröge (slomo) 2010-08-06 16:46:40 UTC
Both parameter combinations work probably here. What exactly is the failure you get from using the first combination?
Comment 2 dizieg 2010-08-06 18:02:17 UTC
(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).
Comment 3 Tim-Philipp Müller 2010-12-29 13:21:24 UTC
> 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.
Comment 4 Tobias Mueller 2011-03-10 16:19:13 UTC
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!