[gst-devel] why "jpegenc" can't encode output of "jpegdec"?

Tim Müller t.i.m at zen.co.uk
Fri Mar 24 02:00:34 CET 2006


On Fri, 2006-03-24 at 10:07 +0800, zs p wrote:

> when I run:
> $gst-launch filesrc location=test.jpg ! jpegdec !  jpegenc ! filesink
> location=temp.jpg
>  
> segment fault occurs. Why?

Obviously, this is a bug. If you find such a thing, please file a bug
report in bugzilla (at http://bugzilla.gnome.org , product: GStreamer),
if possible with a stack trace from gdb.

In this case, it's probably that the height of the input image wasn't a
multiple of 16, which made it crash. Should be fixed in gst-plugins-good
CVS now.

 
> but I run:
> $gst-launch filesrc location=test.jpg ! jpegdec !  filesink
> location=temp.tmp
>  
> it works well. How to check whether temp.tmp is correct?

Open temp.tmp in an image viewer of your choice (eog or gimp or
whatever)?

Cheers
 -Tim






More information about the gstreamer-devel mailing list