GNOME Bugzilla – Bug 338989
[ffenc_mjpeg] Creates garbled content
Last modified: 2007-12-17 16:05:33 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
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
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
Interestingly, Lossless MJPEG works well: gst-launch-0.10 videotestsrc ! ffenc_ljpeg ! ffdec_mjpeg ! xvimagesink
all combinations now work perfectly.