• Progressivedownload 对于文件格式的要求


    最近在做渐进下载播放,把这个规范要求copy到blog,省的老是找

    《Transparent end-to-end packet switched streaming service (PSS);3GPP file format (3GP)(Release 7)》

    5.4.5 Progressive-download profile
    The 3GP Progressive-download profile is branded ‘3gr7’. It is used to label 3GP files that are suitable for progressive download, i.e. a scenario where a file may be played during download (with some delay).

     
    The following constraints shall apply to 3GP files conforming to Progressive-download profile: 
        - the ‘moov’ box shall be placed right after the ‘ftyp’ box in the beginning of the file; 
        - all media tracks (if more than one) shall be interleaved with an interleaving depth of one second or less.

    NOTE 1: This profile functions as an aid and not a requirement for progressive download, which has been an inherent feature of the 3GPP file format since the first version in Release 4. By parsing a 3GP file, a client can always determine whether a file can be progressively downloaded, and then calculate the interleaving depth from the meta-data in the ‘moov’ box.

    NOTE 2: The ‘interleaving depth of one second or less’ means that: 
        -  Each chunk contains one or more samples, with the total duration of the samples being either: no greater than 1 second, or the duration of a single sample if that sample’s duration is greater than 1 second; 
        -  Within a track, chunks must be in decoding time order within the media-data box ‘mdat’; 
        -  It is recommended that, in ‘mdat’, regardless of media type, the chunks for all tracks are stored in ascending order by decoding time.  However, this order may be perturbed so that, when two chunks from different tracks overlap in time, the chunk of one track (e.g. audio) is stored before the chunk of the other track (e.g. video), even if the first sample in the second track has a slightly earlier timestamp than the first sample in the first track.

    -----------------------------------------

    《ISMA2.0》

    Progressive Download Guidelines:
    To enable progressive download, session information should always be put at the beginning of the file and the media tracks should be interleaved within the file. The following guidelines should be followed during the creation of ISMA 2.0 files for progressive download: 
        •  The Movie box (‘moov’) SHOULD be placed at the start of the file, right after the File Type box (‘ftyp’). 
        •  All media data SHOULD be present within the file (the data source of every Data Reference box should be ‘self-contained’); 
        •  The media tracks SHOULD be interleaved inside the file. The typical interleaving depth is 1 second.

    The meaning of interleaving depth is given as follows: Each chunk contains one or more samples, with the total duration of the samples being either: no greater than 1 second, or the duration of a single sample if that sample’s duration is greater than 1 second. Within a track, chunks must be in decoding time order within the Media Data box (‘mdat’).
    A client that does not support progressive download can always play the file once it has been completely downloaded. A progressive download client can start playing a ISMA 2.0 file that has been created along the progressive download guidelines once it has received a first chunk of all media in the session.


    下面是我的其他博客:
    博客园,写一些工作和学习的笔记: http://www.cnblogs.com/peon
    /

    博客堂,开发方面的一些文章:http://blog.joycode.com/peon/
    流媒体博客,流媒体方面的一些文章:http://blog.lmtw.com/b/peon/
  • 相关阅读:
    python 检测mobileprovision证书的过期时间
    dynamodb 分区键排序键介绍
    dynamodb 基本操作
    Python 实现一个栈
    openstack阅读链接
    mongoengine文档
    机器学习链接
    mongoengine的使用
    Timer(让函数定时执行)
    线程,进程,IO多路复用,协程的代码
  • 原文地址:https://www.cnblogs.com/peon/p/1970648.html
Copyright © 2020-2023  润新知