[Bug 667217] resindvd: use decodebin2 so needed parsers are plugged

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 4 06:40:04 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=667217
  GStreamer | gst-plugins-bad | git

--- Comment #7 from Sebastian Dröge <slomo at circular-chaos.org> 2012-01-04 14:39:59 UTC ---
(In reply to comment #6)
> (In reply to comment #4)
> > Or you implement renegotiation in decodebin2 but that will be almost impossible
> > in 0.10 and quite some work in 0.11. But by this the autoplug-* signals of
> > decodebin2 could be proxied by resndvd and could then be used by uridecodebin
> > and playbin2 to allow better selection of the correct decoders.
> 
> That sounds like the more correct solution, although not sure how feasible it
> is in the short term (0.10)..
> 
> I wonder about a simpler hack.. just detect caps changing and re-create the
> decodebin2 within resndvd?

You will still have the same problem in 0.10, i.e. you need to make sure to get
the correct segments configured in all elements inside decodebin2. That's the
hard part, just recreating everything inside decodebin2 could be done quite
fast.

> > You'll probably need parsers for the audio and video case though...
> 
> it would be a good thing to allow for parsers on audio side too..  although cpu
> and neon are good enough these days that the overhead of dealing with a dsp
> usually outweighs the benefit of offload.  And just sticking with the sw decode
> elements (I guess gst-ffmpeg ends up handling most of the audio) seems to work
> for now without parsers.

Not all software decoders can handle unparsed input

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list