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 598126 - ffdec_ffvhuff produce Internal GStreamer error: negotiation problem
ffdec_ffvhuff produce Internal GStreamer error: negotiation problem
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.24
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-11 23:28 UTC by cedric.pinson
Modified: 2009-10-14 17:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description cedric.pinson 2009-10-11 23:28:10 UTC
FFmpeg version 0.5

the step to reproduce it:
gst-launch-0.10 -vv videotestsrc ! video/x-raw-yuv,width=800,height=600,framerate=30/1 ! ffenc_ffvhuff ! fillesink location=/tmp/test.avi

gst-launch-0.10 -vv filesrc location=/tmp/test.avi ! ffdec_ffvhuff ! ximagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/ffdec_ffvhuff:ffdec_ffvhuff0: Internal GStreamer error: negotiation problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstffmpegdec.c(2411): gst_ffmpegdec_chain (): /GstPipeline:pipeline0/ffdec_ffvhuff:ffdec_ffvhuff0:
ffdec_ffvhuff: input format was not set before data start
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 1 Sebastian Dröge (slomo) 2009-10-14 14:00:30 UTC
That's not a bug, you must provide the caps before passing random data to ffdec_ffvhuff.
Comment 2 Tim-Philipp Müller 2009-10-14 14:08:18 UTC
Also note that you are not actually creating an AVI file. Maybe you meant to do ... ! ffenc_huffyuv ! avimux ! filesink  and then    filesrc ! avidemux ! ffdec_huffyuv ! ... ?
Comment 3 cedric.pinson 2009-10-14 17:06:05 UTC
In fact i have an error when trying to put it in an mux:

gst-launch-0.10 -vv videotestsrc ! video/x-raw-yuv,width=800,height=600,framerate=30/1 ! ffenc_ffvhuff ! ffmux_avi ! filesink location=./test.avi
WARNING: erroneous pipeline: could not link ffenc_ffvhuff0 to ffmux_avi0

gst-launch-0.10 -vv videotestsrc ! video/x-raw-yuv,width=800,height=600,framerate=30/1 ! ffenc_ffvhuff ! avimux ! filesink location=./test.avi
WARNING: erroneous pipeline: could not link ffenc_ffvhuff0 to avimux0

that's why i tried without mux

any idea ?

Cheers,
Cedric
Comment 4 Sebastian Dröge (slomo) 2009-10-14 17:10:32 UTC
avimux doesn't support huffyuv and IIRC no other container format supports it either
Comment 5 cedric.pinson 2009-10-14 17:18:54 UTC
then how can i use this encoder ? I mean is it supposed to exist if i can't use it ?
if i miss something dont hesitate to kick me back to a doc ;)

Cheers,
Cedric
Comment 6 Mark Nauwelaerts 2009-10-14 17:28:53 UTC
Then again (possibly stating the obvious), the more official ffenc_huffyuv should fit into avimux.