After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338989 - [ffenc_mjpeg] Creates garbled content
[ffenc_mjpeg] Creates garbled content
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-19 10:10 UTC by Sjoerd Simons
Modified: 2007-12-17 16:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sjoerd Simons 2006-04-19 10:10:18 UTC
Hi,

  One would expect videotestsrc ! ffenc_mjpeg !  ffdec_mjpeg !  xvimagesink to display the original videotestsrc image nicely. Instead it shows a heavily distorted image. OTOH videotestsrc ! jpegenc !  ffdec_mjpeg !  xvimagesink works fine, so it seems to be a problem of ffenc_mjpeg
Comment 1 Edward Hervey 2006-04-22 16:42:59 UTC
videotestsrc ! ffenc_mjpeg ! jpegdec ! xvimagesink fails too.
But at least it displays (garbled) moving picture, whereas ffenc_mjpeg ! ffdec_mjpeg only seems to display one frame.

So I'd say there's a problem with both ffenc_mjpeg and ffdec_mjpeg
Comment 2 Edward Hervey 2006-10-07 07:15:32 UTC
Status update with latest cvs :
* videotestsrc ! ffenc_mjpeg !  ffdec_mjpeg !  xvimagesink : Displays garbled video
* videotestsrc ! ffenc_mjpeg ! jpegdec ! xvimagesink : Same as above
* videotestsrc ! jpegenc ! ffdec_mjpeg ! xvimagesink : Works like a charm
* videotestsrc ! jpegnec ! jpegdec ! xvimagesink : Works like a charm

So it seems the culprit is ffenc_mjpeg. Changing title accordingly
Comment 3 hondo 2006-10-26 12:00:43 UTC
Interestingly, Lossless MJPEG works well:
gst-launch-0.10 videotestsrc ! ffenc_ljpeg ! ffdec_mjpeg ! xvimagesink
Comment 4 Edward Hervey 2007-12-17 16:05:33 UTC
all combinations now work perfectly.