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 148479 - [ffenc_mpeg4] broken
[ffenc_mpeg4] broken
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: 0.8.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-07-26 09:58 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johan (not receiving bugmail) Dahlin 2004-07-26 09:58:41 UTC
A simple pipeline just fails. I'm not sure if I'm doing something (eg missing
colorspace). If so this is still a bug, since it should say something useful.
Same applies to msmpeg4v1 and v2. 

pipeline: 
  videotestsrc ! ffenc_mpeg4 ! fakesink

output: 

RUNNING pipeline ...
/pipeline0/videotestsrc0.src: active = TRUE
ERROR: pipeline doesn't want to play.
/pipeline0/videotestsrc0.src: active = FALSE

(process:14550): GLib-GObject-WARNING **: invalid uninstantiatable type
`<invalid>' in cast to `GstObject'

(process:14550): GStreamer-CRITICAL **: file gstelement.c: line 3309
(gst_element_get_scheduler): assertion `GST_IS_ELEMENT (element)' failed

(process:14550): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)'
in cast to `GstObject'

(process:14550): GStreamer-CRITICAL **: file gstelement.c: line 3309
(gst_element_get_scheduler): assertion `GST_IS_ELEMENT (element)' failed
Comment 1 Ronald Bultje 2004-07-27 11:35:06 UTC
Most ff-encoders are broken in that way. The error is correct: "ERROR: pipeline
doesn't want to play.", that's what every pipeline will tell you. The problem is
indeed that colorspace selection in the encoder is fairly broken. This worked
for the old capsnego system (because that allowed multiple _link() calls), but
fails here. The proper fix is to fake-initialize the given encoder in the
_init() function, read the element's preferred input colorspace and only
advertize that on the sinkpad.
Comment 2 Ronald Bultje 2004-11-07 12:15:32 UTC
Fixed. All of the above have been tested to work.