[Bug 689845] Encodebin API to handle multiple streams lacking
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Mar 28 06:54:17 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=689845
GStreamer | gst-plugins-base | 1.x
Edward Hervey <bilboed> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bilboed at gmail.com
--- Comment #4 from Edward Hervey <bilboed at gmail.com> 2013-03-28 13:54:11 UTC ---
One way to circumvent that limitation it to specify the encoded caps when
requesting a pad. Encodebin will search for a profile that can accept those
encoded caps ... even if you'll be sending it raw audio/video later on.
gst_element_request_pad(encodebin, <a template>, "audio_1",
gst_caps_new_simple("audio/x-vorbis");
or using the "request-pad" action signal
Note that this will only work if your various profiles use different caps. If
you have several profiles with *exactly* the same caps ... you can't make the
difference.
Trying to figure out a way to specify a profile another way.
--
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