[gstreamer-bugs] [Bug 550613] [mpegtsmux] Add support for ac3/dts/lpcm

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Dec 12 14:24:35 PST 2008

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:

  GStreamer | gst-plugins-bad | Ver: HEAD CVS

------- Comment #18 from vanista  2008-12-12 22:24 UTC -------
Created an attachment (id=124557)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=124557&action=view)
Implementation of ac3_stream_descriptor

Finally found the specifications! It's all in ATSC A/52-2001, Annex A : AC-3
Elementary Streams in the MPEG-2 Multiplex

I've hardcoded a few values to simplify the implementation based on what FFMPEG
uses as default encoding parameters. I set the proper or most compatible values
for the given caps. Additionally the bitrate is required in this descriptor, so
we need to pass the parameter through filtered caps. Maybe this whole structure
should be provided by the encoder as codec-data, but I'm not sure if the
structure is standard in other containers (AVI, 3gpp...)

gst-launch-0.10 mpegtsmux name=mux m2ts-mode=true ! filesink
location=output.m2ts audiotestsrc num-buffers=10 ! audio/x-raw-int, rate=48000
! audioconvert ! audio/x-raw-int, channels=2 ! ffenc_ac3 bitrate=256000 !
audio/x-ac3, bitrate=256 ! mux. videotestsrc num-buffers=10 ! x264enc
cabac=false ! mux.



See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=550613.

More information about the gstreamer-bugs mailing list