GNOME Bugzilla – Bug 547583
[ffenc_ljpeg and ffenc_huffyuv] ERROR with FULL HD resolution
Last modified: 2008-12-06 16:10:24 UTC
Hi, - Steps to Reproduce: gst-launch-0.10 videotestsrc num_buffers=2 ! "video/x-raw-yuv, width=1920, height=1080" ! ffenc_ljpeg !fakesink or gst-launch-0.10 videotestsrc num_buffers=2 ! "video/x-raw-yuv, width=1920, height=1080" ! ffenc_huffyuv !fakesink - Actual Results: "0x821f5b0 ERROR ffmpeg :0:: encoded frame too large" "gstffmpegenc.c:629:gst_ffmpegenc_chain_video:<ffenc_ljpeg0>?[00m ffenc_ljpeg: failed to encode buffer" - Expected Results: It should work. - Other informations: It does not work with resolutions bigger than about 800x800 for ffenc_huffyuv, and about 1200x1200 for ffenc_ljpeg. Julien
more infos: line 74 : http://git.mplayerhq.hu/?p=ffmpeg;a=blob;f=libavcodec/ljpegenc.c;h=bb33abae32aba7e9345ba1a07fdd9dfb3581bfbd;hb=HEAD set the 'buffer-size' property of the encoder to something bigger (default is half a meg) the following pipeline works fine: gst-launch-0.10 videotestsrc ! video/x-raw-yuv, width=1980, height=1920 ! ffenc_ljpeg buffer-size=1800000 ! fakesink Julien
*** Bug 556825 has been marked as a duplicate of this bug. ***
Marking this as a duplicate of the "We don't expose internal ffmpeg limitations in caps" bug. *** This bug has been marked as a duplicate of 532422 ***