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 547583 - [ffenc_ljpeg and ffenc_huffyuv] ERROR with FULL HD resolution
[ffenc_ljpeg and ffenc_huffyuv] ERROR with FULL HD resolution
Status: RESOLVED DUPLICATE of bug 532422
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 556825 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-08-13 11:44 UTC by Julien Isorce
Modified: 2008-12-06 16:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Isorce 2008-08-13 11:44:31 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
Comment 1 Julien Isorce 2008-09-18 10:56:01 UTC
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
Comment 2 Edward Hervey 2008-10-18 11:04:13 UTC
*** Bug 556825 has been marked as a duplicate of this bug. ***
Comment 3 Edward Hervey 2008-12-06 16:10:24 UTC
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 ***