Video http dash mp4 box slice

本文介绍了DASH(Dynamic Adaptive Streaming over HTTP)流媒体技术的基本原理及其应用。DASH是一种自适应比特率流媒体技术,能够通过HTTP服务器提供高质量的互联网媒体内容。文章还详细解释了如何使用MP4Box工具进行视频切片处理,并提到了在原生应用中使用ExoPlayer及网页环境中使用dash.js播放DASH格式视频的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

There is three points introduce:

  1. dash overriew
  2. server slice video by mp4 box and ffmpeg
  3. how to use dash at native or web
Dynamic Adaptive Streaming over HTTP (DASH), also known as MPEG-DASH, is an adaptive bitrate streaming technique that enables high quality streaming of media content over the Internet delivered from conventional HTTP web servers. Similar to Apple's HTTP Live Streaming (HLS) solution

form : https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP

servlice by mp4Box

The multimedia packager available in GPAC is called MP4Box.
It can be used for performing many manipulations on multimedia files like AVI, MPG, TS, but mostly on ISO media files (e.g. MP4, 3GP). A complete documentation is available 

official website : https://gpac.wp.imt.fr/mp4box/

    how to slice video by mp4Box 
    fitstly installmp4Box
    //slice
    mp4Box -dash 10000 -out dash.mp4 {fileName.mp4} {fileName.mp4}#audio {fileName.mp4}#video
#video only uses the first video track from the source file
#audio only uses the first video track from the source file

-out filename specifies output file name for MPD. May use relative path. All segments will be produced in the same directory as the MPD. 

-dash Duration : enables DASH segmentation of input files with the given segment duration. For onDemand profile, where each media presentation is a single segment, this option sets the duration of a subsegment.

If you use in native refer google : exoPlayer what the youTuBe play approach, if web , can use dash.js

Notice

when use exoPlayer , the video slice need according the mpdFile format , you need split video and audio .

                                    Thanks  for reading . 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值