GNOME Bugzilla – Bug 160318
[ff[dec|enc]_mjpeg] should support image/jpeg
Last modified: 2004-12-22 21:47:04 UTC
gst-inspect ffdec_mjpeg gst-inspect ffenc_mjpeg PATCH: in gstffmpegcodecmap.c, case CODEC_ID_MJPEG: add gst_caps_append (caps, GST_FF_VID_CAPS_NEW ("image/jpeg", NULL));
JPEG is not Motion JPEG. Do you have evidence that ffmpeg decodes actual JPEG images?
Yes, i've tried it. It works also better than jpegdec that fails on some images with "unsupported marker type" error. You can try it with: gst-launch filesrc location="file.jpg" blocksize=999999 ! image/ jpeg,framerate=1.0 ! ffdec_jpeg ! ffcolorspace ! ximagesink you can also go to: http://ffmpeg.sourceforge.net/ffmpeg-doc.html#SEC18
I think it supports it. Anyway, we're currently using image/jpeg everywhere in qtdemux/avidemux, and the separation between video and image makes no sense in practice (even though I'd love to) because most apps just decode plain JPEG anyway, of which MJPEG is just a subset. Let's just change it. Those marker messages need to be hidden under GST_DEBUG, but then I first need to find out how to wrap the libjpeg stdout messages.
Changed.