[FFmpeg-devel] [PATCH 2/2] lavf: Add WebM DASH Manifest Muxer

Michael Niedermayer michaelni at gmx.at
Wed Jul 16 00:08:52 CEST 2014


On Mon, Jul 14, 2014 at 09:52:23AM -0700, Vignesh Venkatasubramanian wrote:
> This patch adds the ability to generate WebM DASH manifest XML using
> ffmpeg. A sample command line would be as follows:
> 
> ffmpeg \
>   -f webm_dash_manifest -i video1.webm \
>   -f webm_dash_manifest -i video2.webm \
>   -f webm_dash_manifest -i audio1.webm \
>   -f webm_dash_manifest -i audio2.webm \
>   -map 0 -map 1 -map 2 -map 3 \
>   -c copy \
>   -f webm_dash_manifest \
>   -adaptation_sets “id=0,streams=0,1 id=1,streams=2,3” \
>   manifest.xml
> 
> It works by exporting necessary fields as metadata tags in matroskadec
> and use those values to write the appropriate XML fields as per the WebM
> DASH Specification [1]. Some ideas are adopted from webm-tools project
> [2].
> 
> [1]
> https://sites.google.com/a/webmproject.org/wiki/adaptive-streaming/webm-dash-specification
> [2]
> https://chromium.googlesource.com/webm/webm-tools/+/master/webm_dash_manifest/
> 
> Signed-off-by: Vignesh Venkatasubramanian <vigneshv at google.com>
> ---
>  Changelog                 |   1 +
>  doc/muxers.texi           |  30 +++++
>  libavformat/Makefile      |  11 +-
>  libavformat/allformats.c  |   1 +
>  libavformat/version.h     |   2 +-
>  libavformat/webmdashenc.c | 317 ++++++++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 359 insertions(+), 3 deletions(-)
>  create mode 100644 libavformat/webmdashenc.c

applied

maybe you want to send a patch which adds you to MAINTAINERs for
this

also please look into adding a fate test for this, without test id
guess it wont work for long

Thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140716/2be1fe87/attachment.asc>


More information about the ffmpeg-devel mailing list