[gstreamer-bugs] [Bug 164176] [jpegenc/dec] conversion bugs (wrong strides?)

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu Feb 10 09:42:35 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

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





------- Additional Comments From Tim-Philipp Müller  2005-02-10 12:42 -------
Created an attachment (id=37306)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=37306&action=view)
stride fixes for jpegdec and jpegenc

I think it makes more sense to first fix jpegdec and jpegenc to use the same
rowstrides and buffer sizes that other GStreamer elements, most notably
ffmpegcolorspace and videotestsrc, use for video/x-raw-yuv,format=I420.

Attached patch does exactly that.

gst-launch-0.8 filesrc blocksize=1000000 location=aay.jpg ! jpegdec !
ffmpegcolorspace ! video/x-raw-rgb ! ffmpegcolorspace ! jpegenc  ! filesink
location=out.jpg

now produces a picture without the bad stripes.

The picture produced still has some artifacts though, as if one of the color
planes is missing or wrong lines get passed to the encoder. I haven't found the
cause of that yet.

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