[gstreamer-bugs] [Bug 158650] New: [videocrop] video crop is completely buggered

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu Nov 18 14:54:48 PST 2004


http://bugzilla.gnome.org/show_bug.cgi?id=158650
GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: [videocrop] video crop is completely buggered
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: High
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net


I'm trying to make the videocrop element work as part of a DVD-rip-and-encode 
pipeline, but so far even the most simple gst-launch pipelines fail. 
 
a)  gst-launch-0.8 videotestsrc ! videocrop left=8 ! xvimagesink 
 
looks like there's a row-stride issue - the line offsets are moved by a 
constant with each line => garbled picture 
 
 
b)  gst-launch-0.8 videotestsrc ! videocrop top=8 ! xvimagesink 
 
looks like the top 8 rows have been shifted to the bottom of the picture? 
 
 
c)  gst-launch-0.8 dvdreadsrc location=/dev/sr1 title=4 ! dvddemux ! 
mpeg2dec ! videocrop ! ffmpegcolorspace ! xvimagesink 
 
picture is completely unrecognizable (but it's still not white snow at least); 
size of window seems to be wrong as well (ca. 384x288 instead of the full size 
that you get without the videocrop element). 
 
 
d)  gst-launch-0.8 dvdreadsrc location=/dev/sr1 title=4 ! dvddemux ! 
mpeg2dec ! videocrop left=4 right=4 ! ffmpegcolorspace ! xvimagesink 
 
similar to (c) 
 
 
e)    gst-launch-0.8 dvdreadsrc location=/dev/sr1 title=4 ! dvddemux ! 
mpeg2dec ! ffmpegcolorspace ! videocrop ! videoscale ! 
video/x-raw-yuv,width=384,height=288 ! xvimagesink 
 
  => endless chain of assertion failures: 
** (process:2053): CRITICAL **: file gstvideoscale.c: line 547 
(gst_videoscale_chain): assertion `size == videoscale->from_buf_size' failed 
 
 
f)     gst-launch-0.8 dvdreadsrc location=/dev/sr1 title=4 ! dvddemux ! 
mpeg2dec ! ffmpegcolorspace ! videocrop left=4 right=4 ! videoscale ! 
video/x-raw-yuv,width=384,height=288 ! xvimagesink 
 
same as (e). 
 
 
Marking this as a blocker. Feel free to change this, but having a completely 
broken cropping element in gst-plugins is a bit bad IMHO. 
 
Cheers 
 -Tim

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list