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 556825 - ffenc_huffyuv fails to encode large resolutions
ffenc_huffyuv fails to encode large resolutions
Status: RESOLVED DUPLICATE of bug 547583
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-18 10:53 UTC by Fredrik Persson
Modified: 2008-10-18 11:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fredrik Persson 2008-10-18 10:53:06 UTC
Try this:

gst-launch videotestsrc num-buffers=500 ! capsfilter caps="video/x-raw-rgb,width=1000,height=800" ! videorate ! ffmpegcolorspace ! timeoverlay ! ffmpegcolorspace ! ffenc_huffyuv ! avimux ! filesink location="test.avi"

You will get this:

0:00:01.039154423 25249  0x80934b0 ERROR               ffmpeg :0:: encoded frame too large
0:00:01.039178527 25249  0x80934b0 ERROR               ffmpeg :0:: encoded frame too large
0:00:01.039202958 25249  0x80934b0 ERROR               ffmpeg :0:: encoded frame too large
0:00:01.039227194 25249  0x80934b0 ERROR               ffmpeg :0:: encoded frame too large
0:00:01.039251448 25249  0x80934b0 ERROR               ffmpeg :0:: encoded frame too large
0:00:01.039275572 25249  0x80934b0 ERROR               ffmpeg :0:: encoded frame too large
0:00:01.039299877 25249  0x80934b0 ERROR               ffmpeg :0:: encoded frame too large
....

The resulting file (test.avi) will be corrupt. (At least no media player I've tried can play it back.)

Lower resultions, for example 640x480, is OK. 

Since the only available lossless video encoders are ffenc_ffv1, ffenc_huffyuv and ffenc_ffvhuff where ffenc_ffv1 and ffenc_ffvhuff seems totally broken, gstreamer effectively has NO lossless encoder for HDTV resolutions.
Comment 1 Edward Hervey 2008-10-18 11:04:13 UTC

*** This bug has been marked as a duplicate of 547583 ***