GNOME Bugzilla – Bug 598126
ffdec_ffvhuff produce Internal GStreamer error: negotiation problem
Last modified: 2009-10-14 17:28:53 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 ...
That's not a bug, you must provide the caps before passing random data to ffdec_ffvhuff.
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 ! ... ?
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
avimux doesn't support huffyuv and IIRC no other container format supports it either
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
Then again (possibly stating the obvious), the more official ffenc_huffyuv should fit into avimux.