CN112584185A - Mpeg-dash的一种提高实时性的处理方法 - Google Patents
Mpeg-dash的一种提高实时性的处理方法 Download PDFInfo
- Publication number
- CN112584185A CN112584185A CN202011357480.9A CN202011357480A CN112584185A CN 112584185 A CN112584185 A CN 112584185A CN 202011357480 A CN202011357480 A CN 202011357480A CN 112584185 A CN112584185 A CN 112584185A
- Authority
- CN
- China
- Prior art keywords
- mpeg
- dash
- file
- processing method
- time performance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 9
- 239000012634 fragment Substances 0.000 description 8
- 238000000034 method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本发明提供了MPEG‑DASH的一种提高实时性的处理方法,其特征在于,在服务器端生成多路码率,并创建对应的playlist,播放端根据网络带宽选择对应编码码率的playlist。采用本发明解决MPEG‑DASH服务的实时性问题,可降低采用MPEG‑DASH协议的直播延迟,最低延迟可以达到1秒左右。
Description
技术领域
本发明属于MPEG-DASH的一种提高实时性的优化处理方式,涉及到基于 MPEG-DASH协议的弱网环境下客户端动态码率自适应方法。
背景技术
DASH:Dynamic Adaptive Streaming over HTTP,是一种在互联网上传送动态码率的Video Streaming技术,类似苹果的HLS,通过media presentation description(MPD)将视频内容切片成很短的文件片段,每个切片都有多个不同的码率,DASH Client可以根据网络的情况选择一个码率进行播放,支持在不同码率之间无缝切换。其切换方式如图1所示。该协议优点是解决了播放端的码率自适应。其缺点是,延迟极大,根据play-list分片数量,延迟达到20秒到 30秒以上。目前dvb-dash提出了在生成第一个分片时,创建整个play-list,可以将延迟降低到一个分片的时长加网络延迟,根据正常分片时间为一个关键帧的group,大约可以降低到4秒左右(再加网络延迟)。但是该方式仍然无法解决某些低延迟需求(2秒以内)的直播场景。
发明内容
本发明目的在于克服上述现有技术的不足,解决MPEG-DASH协议为基础的流媒体直播系统的延迟过大的问题。针对现有技术的分析,其延迟较大的关键在于,生成playlist内的文件(或者其中的第一个分片文件),才生成playlist,从而带来的较大的延迟。
本发明为了解决这一问题,提出了MPEG-DASH的一种提高实时性的处理方法,是服务器端生成多路码率,并创建对应的playlist,播放端根据网络带宽选择对应编码码率的playlist。
本发明进一步降低延迟的方法是,当接收到采集端上传的第一帧数据时,就生成playlist,启动MPEG-DASH服务。
进一步的,当转编码为多路码率时,其生成的文件为内存文件,同时提供编码模块写文件,和发送模块(即转发给客户端的模块)同时对文件进行读写。
进一步的,其编码采用固定码率方式,正常的固定编码方式,其编码文件大小误差不超过5%。
以360P,编码码率为512kbps为例,单个分片文件为4秒,当写入第一帧 (关键帧)数据时,创建一个2Mb+102.4kb大小内存文件,编码模块逐帧写入数据,发送模块根据编码模块写入速度(不超过编码写入速度),逐帧读取数据提供MPEG-DASH服务。
当严格控制编码码率时,其4秒内生成的编码数据不会超过提前生成的文件大小,当生成的编码数据小于文件大小时,采用冗余数据补齐文件,而播放端收到冗余数据时,会自动跳过,不影响视音频数据的解码播放。
技术效果:
采用本发明可降低采用MPEG-DASH协议的直播延迟,最低延迟可以达到1 秒左右。
附图说明
图1是现有技术中不同码率之间无缝切换的方法示意图。
图2是本发明MPEG-DASH提高实时性处理方法的示意图。
具体实施方式
下面结合附图和具体实施方式对本发明作进一步详细的说明。
实施例1
如图2所示,MPEG-DASH服务器使用内存文件的方式生成分片文件,当生成分片文件的第一帧数据时,根据固定编码码率,生成内存文件大小(比固定编码码率对应的文件大小稍大,从而保证不会超过文件大小),启动该路直播的 MPEG-DASH服务。
MPEG-DASH服务提供的playlist中分片文件为该内存文件。
编码模块和发送模块(转发给客户端的模块)同时对文件进行读写。
编码模块每生成一帧数据,即通知发送模块,该帧可读取,从而保证发送模块不会比编码模块更快。
当一个分片文件时间段结束时,内存文件未写满,写入冗余数据到内存文件中,该冗余数据不影响播放端的播放。
以360P,编码码率为512kbps为例,单个分片文件为4秒,当写入第一帧 (关键帧)数据时,创建一个2Mb+102.4kb大小内存文件,编码模块逐帧写入数据,发送模块根据编码模块写入速度(不超过编码写入速度),逐帧读取数据提供MPEG-DASH服务。
当严格控制编码码率时,其4秒内生成的编码数据不会超过提前生成的文件大小,当生成的编码数据小于文件大小时,采用冗余数据补齐文件,而播放端收到冗余数据时,会自动跳过,不影响视音频数据的解码播放。
本发明使用内存文件方式,编码一帧即可提供MPEG-DASH服务的方式,解决 MPEG-DASH服务的实时性问题。
Claims (5)
1.MPEG-DASH的一种提高实时性的处理方法,其特征在于,在服务器端生成多路码率,并创建对应的playlist,播放端根据网络带宽选择对应编码码率的playlist。
2.根据权利要求1所述的MPEG-DASH的一种提高实时性的处理方法,其特征在于,当接收到采集端上传的第一帧数据时,就生成playlist,启动MPEG-DASH服务。
3.根据权利要求1或2所述的MPEG-DASH的一种提高实时性的处理方法,其特征在于,当转编码为多路码率时,其生成的文件为内存文件,同时提供编码模块写文件,和转发给客户端的发送模块同时对文件进行读写。
4.根据权利要求1或2所述的MPEG-DASH的一种提高实时性的处理方法,其特征在于,当一个分片文件时间段结束时,内存文件未写满,写入冗余数据到内存文件中,该冗余数据不影响播放端的播放。
5.根据权利要求3所述的MPEG-DASH的一种提高实时性的处理方法,其特征在于,其编码采用固定码率方式。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011357480.9A CN112584185A (zh) | 2020-11-26 | 2020-11-26 | Mpeg-dash的一种提高实时性的处理方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011357480.9A CN112584185A (zh) | 2020-11-26 | 2020-11-26 | Mpeg-dash的一种提高实时性的处理方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112584185A true CN112584185A (zh) | 2021-03-30 |
Family
ID=75123879
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011357480.9A Pending CN112584185A (zh) | 2020-11-26 | 2020-11-26 | Mpeg-dash的一种提高实时性的处理方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112584185A (zh) |
-
2020
- 2020-11-26 CN CN202011357480.9A patent/CN112584185A/zh active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11076187B2 (en) | Systems and methods for performing quality based streaming | |
US11638033B2 (en) | Systems and methods for performing adaptive bitrate streaming | |
US10298985B2 (en) | Systems and methods for performing quality based streaming | |
US11711551B2 (en) | Adaptive bit-rate methods for live broadcasting | |
CN101917612A (zh) | 一种流媒体视频编码方法及装置 | |
KR20150042148A (ko) | 스케일러블하고 강인한 라이브 스트리밍 시스템 | |
CN102130886A (zh) | 网络视频流媒体系统及传输处理方法、发送端和接收端 | |
US20210127146A1 (en) | Method and apparatus for automatic hls bitrate adaptation | |
KR101397551B1 (ko) | Http에 기초한 동적 적응적 스트리밍 시스템 | |
US20170347130A1 (en) | Processing system and method for live video streaming based on network coding and content distribution network | |
US20140036990A1 (en) | System and method for optimizing a video stream | |
US20160080455A1 (en) | Delivery device, reproduction device, and delivery system | |
WO2015107785A1 (ja) | 通信装置、通信データ生成方法、および通信データ処理方法 | |
CA3008096A1 (en) | Video fragment file processing | |
CN113079386A (zh) | 一种视频在线播放方法、装置、电子设备及存储介质 | |
CN112584185A (zh) | Mpeg-dash的一种提高实时性的处理方法 | |
KR102237900B1 (ko) | 클라이언트 단말에 의해 멀티미디어 콘텐츠의 콘텐츠 부분을 검색하기 위한 방법 | |
Kinoshita et al. | Low Latency Live Streaming System with Congestion Control | |
US20230291913A1 (en) | Methods, systems, and apparatuses for improved adaptation logic and content streaming | |
US20240089563A1 (en) | Methods, systems, and apparatuses for improved content delivery | |
US20230275977A1 (en) | Methods, systems, and apparatuses for signaling server-associated delays in content delivery | |
US20220408125A1 (en) | Systems, Methods, And Apparatuses For Improved Content Recording And Playback | |
Liu et al. | An intelligent video streaming delivery of SVC based on rateless UEP convolutional code | |
Luby | „Broadcast Delivery of Multimedia Content to Mobile Users‟ |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |