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

Michael Niedermayer michaelni at gmx.at
Thu Jul 10 22:26:29 CEST 2014


On Thu, Jul 10, 2014 at 01:12:20PM -0700, Vignesh Venkatasubramanian wrote:
> On Thu, Jul 10, 2014 at 12:58 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Mon, Jul 07, 2014 at 01:41:34PM -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>
> >
> > what if the input is not webm but lets say mpeg-ts ?
> 
> not sure what you mean here, the muxer is only for generating DASH
> Manifest for WebM files.

well, i mean that if you feed it from mpeg-ts it would generate
webm files and a manifest
similar to what our hls muxer would do
i understand it doesnt do that but i dont understand why

would it have a disadvantage if it worked that way ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- 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/20140710/b921a1e4/attachment.asc>


More information about the ffmpeg-devel mailing list