[Bug 645152] New: encodebin fails when "x-ac3" stream inside "video/mpegts" container
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Mar 18 08:40:17 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=645152
GStreamer | gst-plugins-base | git
Summary: encodebin fails when "x-ac3" stream inside
"video/mpegts" container
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: luis at debethencourt.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME target: ---
GNOME version: ---
Hi,
So I have the following code:
var cont_format = Caps.from_string ("video/mpegts,"
+ "systemstream=True,"
+ "packetsize=188");
var video_format = Caps.from_string ("video/mpeg,mpegversion=(int)2,"
+ "systemstream=(boolean)false,"
+ "framerate=25/1");
var audio_format = Caps.from_string ("audio/x-ac3");
var enc_container_profile = new EncodingContainerProfile("container",
null,
cont_format,
null);
var enc_video_profile = new EncodingVideoProfile (video_format,
null,
video_restriction,
1);
var enc_audio_profile = new EncodingAudioProfile (audio_format,
null,
null,
1);
enc_container_profile.add_profile (enc_video_profile);
enc_container_profile.add_profile (enc_audio_profile);
but when I try to play the pipeline I get...
GStreamer-CRITICAL **: gst_element_get_compatible_pad: assertion `GST_PAD_PEER
(pad) == NULL' failed
it does work nicely when audio_format = Caps.from_string ("audio/mpeg");
why aren't the pads compatible? how to fix this?
--
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