我如何创建Mpd [英] How Can I Create Mpd

查看:99
本文介绍了我如何创建Mpd的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建MPD(媒体呈现说明)

解决方案

参考 - 构建一个简单的MPEG-DASH流媒体播放器 [ ^ ]。

引用:

媒体演示文稿描述(MPD)文件

MPEG-DASH MPD是一个XML文件,其中包含您所有信息的描述需要播放视频文件。我们只使用MPD架构中提供的一些功能。该示例在单个文件中检索视频mime类型,宽度和高度,段持续时间以及段偏移列表(以字节为单位)。

我们使用的MPD文件是使用 MP4box命令行实用程序。 MP4Box是GPAC开源的多媒体打包工具,可以创建DASH分段MP4和相关的MPD文件。有关MP4Box和下载二进制文件的详细信息,请参阅 GPAC MP4Box 或查看 GPAC常规文档

要创建分段MP4和关联的MPD文件,请首先安装MP4Box。然后,使用以下语法在命令行上调用MP4Box:

 mp4box -dash 10000 -frag 1000 -rap path\yourfile.mp4 


how can i create MPD(Media presentation description)

解决方案

Refer - Building a simple MPEG-DASH streaming player[^].

Quote:

Media presentation description (MPD) files

The MPEG-DASH MPD is an XML file that contains a description of all the info you'll need to play a video file. We're only using a few of the features available in an MPD schema. The example retrieves the video mime type, the width and height, the segment duration, and the list of segment offsets (in bytes) in a single file.

The MPD file we're using is created with the MP4box command line utility. MP4Box is an open source multimedia packaging tool by GPAC that can create a DASH segmented MP4 and associated MPD file. For more info about MP4Box and to download binaries, see GPAC MP4Box or view the GPAC general documentation.

To create a segmented MP4 and associated MPD file, start by installing MP4Box. Then, call MP4Box on the command line with this syntax:

mp4box -dash 10000 -frag 1000 -rap path\yourfile.mp4


这篇关于我如何创建Mpd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆