[gst-devel] newbie's question on image

Yan Fu yanfu_2003 at yahoo.com
Wed Oct 8 06:43:15 CEST 2003


Dear all,

How should I use the image elements? I try to decode
and display a jpeg file with:

gst-launch filesrc location=test.jpeg ! spider !
xvideosink

but it fails with:

ERROR: /pipeline0/spider0/sink_ident: Could not find
media type
execution ended after 1 iterations (sum 59579000 ns,
average 59579000 ns, min 59579000 ns, max 59579000 ns)

If I try instead with:

gst-launch filesrc location=test.jpeg ! jpegdec !
xvideosink

it fails with:

Corrupt JPEG data: 777 extraneous bytes before marker
0x64
Unsupported marker type 0x64

It doesn't work with jpegmmxdec either. There should
be no problem with test.jpeg itself.


Thanks,

- Yan

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com




More information about the gstreamer-devel mailing list