流化mp4文件被darwin流媒体服务器支持

为了使MP4文件被Darwin Stream Server支持,需要对其进行hint处理,即在MP4容器中添加一系列指示,指导服务器如何传输数据包。这涉及到RTP头的添加、额外数据信息及数据包大小等。通过mp4creator工具可以简单地为MP4文件创建hint轨道。经hint处理后的文件将包含媒体轨道及其对应的hint轨道。
摘要由CSDN通过智能技术生成

  正常的MP4文件应该是没有被流化,如果要被darwin stream server支持,必须hint该MP4文件。

  关于hint的解释,如下面一段英文:

  Hint tracks are a series of instructions in a mp4 container file that
tell a server how to transmit packets. Hint tracks always refer
to another track, most likely an audio or video media track.    
   This series of instructions tells the server when to send the packet,  
what type of RTP header to add, if there is any extra data in the
packet, and how much data to send in the packet. To save on space,  
a hint can contain a pointer to the media track, instead of duplicating
that data.
   It will also tell what SDP to add for the track that is referenced. 
   So a file that is hinted should have a media track, and an associated
hint track for that media track. There are some mp4 container files
that just have hint tracks - these are called "fat hints" and are
usually

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值