[FFmpeg-devel] [PATCH 1/3] opus/matroska: Adding support for DiscardPadding in muxer

Michael Niedermayer michaelni at gmx.at
Tue Sep 10 01:47:57 CEST 2013

On Fri, Aug 30, 2013 at 11:26:37AM -0700, Vignesh Venkatasubramanian wrote:
> Support for end trimming Opus in Matroska is implemented by using
> the DiscardPadding container element in the Block data. The last
> chunk is stored as a Block instead of SimpleBlock and the
> trimming information is stored and used to discard samples that
> were padded by the Opus codec. This patch adds support for muxing
> DiscardPadding element into the container with appropriate value.
> Matroska spec for the DiscardPadding element can be found here:
> http://matroska.org/technical/specs/index.html#DiscardPadding
> Signed-off-by: Vignesh Venkatasubramanian <vigneshv at google.com>
> ---
>  libavformat/matroska.h    |  1 +
>  libavformat/matroskaenc.c | 24 ++++++++++++++++++++++--
>  2 files changed, 23 insertions(+), 2 deletions(-)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130910/9bb93290/attachment.asc>

More information about the ffmpeg-devel mailing list