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

Vignesh Venkatasubramanian vigneshv at google.com
Wed Jul 16 03:46:11 CEST 2014


On Tue, Jul 15, 2014 at 3:08 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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

thanks, will do.

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

yes. i am working on a fate test. will definitely send a patch it once i'm done.

> 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.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>



-- 
Vignesh


More information about the ffmpeg-devel mailing list