+

CN107426630B - A kind of high-code file media data access method and system - Google Patents

A kind of high-code file media data access method and system Download PDF

Info

Publication number
CN107426630B
CN107426630B CN201710789800.XA CN201710789800A CN107426630B CN 107426630 B CN107426630 B CN 107426630B CN 201710789800 A CN201710789800 A CN 201710789800A CN 107426630 B CN107426630 B CN 107426630B
Authority
CN
China
Prior art keywords
file
slice
media data
mpd
access
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.)
Active
Application number
CN201710789800.XA
Other languages
Chinese (zh)
Other versions
CN107426630A (en
Inventor
王炜
谢超平
张金沙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Sobey Digital Technology Co Ltd
Original Assignee
Chengdu Sobey Digital Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chengdu Sobey Digital Technology Co Ltd filed Critical Chengdu Sobey Digital Technology Co Ltd
Priority to CN201710789800.XA priority Critical patent/CN107426630B/en
Publication of CN107426630A publication Critical patent/CN107426630A/en
Application granted granted Critical
Publication of CN107426630B publication Critical patent/CN107426630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4348Demultiplexing of additional data and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440236Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/85406Content authoring involving a specific file format, e.g. MP4 format

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

本发明公开了一种高码文件媒体数据访问方法和系统。所述的方法包括:S1:建立连接;S2:获取MPD/M3U8文件;S3:解析MPD/M3U8文件;S4:专业网络访问客户端访问文件。所述的系统包括媒体数据服务器和专业网络访问客户端,专业网络访问客户端与媒体数据服务器连接。本发明提高了高码文件媒体数据的访问效率,每一个切片都是相对独立的个体,切片的解析无需其他切片的辅助,一个切片形成后便能访问,实现了边采集、边回传、边访问的媒体数据访问模式,提高了生产效率,满足了专业视频网络和互联网/移动网融合发展的趋势。

Figure 201710789800

The invention discloses a high-code file media data access method and system. The method includes: S1: establishing a connection; S2: acquiring an MPD/M3U8 file; S3: parsing the MPD/M3U8 file; S4: accessing the file by a professional network access client. The system includes a media data server and a professional network access client, and the professional network access client is connected with the media data server. The invention improves the access efficiency of high-code file media data, each slice is a relatively independent individual, the parsing of the slice does not need the assistance of other slices, and a slice can be accessed after it is formed. The accessible media data access mode improves production efficiency and satisfies the trend of integrated development of professional video networks and Internet/mobile networks.

Figure 201710789800

Description

一种高码文件媒体数据访问方法和系统A kind of high-code file media data access method and system

技术领域technical field

本发明涉及媒体数据访问技术,尤其涉及一种高码文件媒体数据访问方法和系统。The present invention relates to media data access technology, in particular to a high-code file media data access method and system.

背景技术Background technique

现有的媒体数据访问技术中,包括了专业视频网络的媒体数据访问和互联网/移动网的媒体数据访问。专业视频网络的媒体数据访问主要通过文件共享的方式,通过专业链路获取媒体文件,文件的格式主要为广电专业视音频格式,如:.mxf、.avi等。互联网/移动网的媒体数据访问方式较多:RTSP/RTP等面向连接的流媒体技术、无连接的HTTP渐进式下载、以DASH/HLS为代表的基于HTTP的动态自适应的流式访问。Existing media data access technologies include media data access on professional video networks and media data access on the Internet/mobile network. The media data access of the professional video network is mainly through file sharing, and the media files are obtained through the professional link. There are many media data access methods on the Internet/mobile network: connection-oriented streaming media technologies such as RTSP/RTP, connectionless HTTP progressive download, and HTTP-based dynamic adaptive streaming access represented by DASH/HLS.

现有的媒体数据访问技术仍然存在一些不足:1)视音频文件存储方案未充分针对视频特性设计,有的视音频存储大多基于通用存储和通用文件系统构建,未针对视频特性进行考虑,如视频元数据分离、冗余的文件系统等。以至于在访问文件时,只能对整个文件进行访问,而不能就其中一部分进行访问,这无疑降低了访问的效率,也会对带宽造成较大的浪费。互联网/移动网应用的DASH等技术对视音频文件的存储和访问做了改善,但专业视频网络作为视音频来源的重要的一部分却还不能满足这样的要求;2)专业视频网络和互联网/移动网分离,不满足融合发展的趋势。There are still some deficiencies in the existing media data access technologies: 1) The video and audio file storage solutions are not fully designed for video characteristics. Metadata separation, redundant file systems, etc. As a result, when accessing a file, only the entire file can be accessed, but no part of it can be accessed, which undoubtedly reduces the efficiency of access and also causes a great waste of bandwidth. Technologies such as DASH in Internet/mobile network applications have improved the storage and access of video and audio files, but professional video networks, as an important part of video and audio sources, cannot meet such requirements; 2) Professional video networks and Internet/mobile networks Network separation does not meet the trend of integrated development.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于克服现有技术的不足,提供一种高码文件媒体数据访问方法和系统,提高了高码文件媒体数据的访问效率,有利于保障视频素材访问的流畅性和提升带宽的利用率,一方面,带宽不足时,访问低码素材以保证素材访问的流畅性,大大降低卡顿发生的频率,能够提高工作效率;另一方面,带宽富余时,尽可能地访问高码的素材,这样能够最大程度地利用带宽,同时最大程度地提升视觉体验。The purpose of the present invention is to overcome the deficiencies of the prior art, provide a method and system for accessing high-code file media data, improve the access efficiency of high-code file media data, and help ensure the smoothness of video material access and improve bandwidth utilization. On the one hand, when the bandwidth is insufficient, access low-code materials to ensure the smoothness of material access, greatly reduce the frequency of jamming, and improve work efficiency; on the other hand, when the bandwidth is abundant, try to access high-code materials as much as possible , which maximizes bandwidth utilization while maximizing the visual experience.

本发明的目的是通过以下技术方案来实现的:一种高码文件媒体数据访问系统,包括:媒体数据服务器和专业网络访问客户端;所述的专业网络访问客户端与媒体数据服务器连接;The purpose of the present invention is to achieve through the following technical solutions: a high-code file media data access system, comprising: a media data server and a professional network access client; the professional network access client is connected with the media data server;

所述的专业网络访问客户端包括:客户端控制模块、MPD/M3U8解析模块、切片解析模块、SDK访问模块和播放器;The professional network access client includes: client control module, MPD/M3U8 parsing module, slice parsing module, SDK access module and player;

所述的客户端控制模块,用于控制视频播放;The described client control module is used to control video playback;

所述的MPD/M3U8解析模块,用于解析MPD/M3U8文件,获取媒体文件及其切片文件的信息;Described MPD/M3U8 parsing module, is used for parsing MPD/M3U8 file, obtains the information of media file and its slice file;

所述的切片解析模块,用于解析收到的切片文件;The slice parsing module is used to parse the received slice file;

所述的SDK访问模块,用于通过SDK向媒体数据服务器发送访问请求;The SDK access module is used to send an access request to the media data server through the SDK;

所述的播放器,用于播放解析后的切片文件;The described player is used to play the parsed slice file;

所述的专业网络访问客户端,用于访问解析后的切片文件。The professional network access client is used to access the parsed slice file.

一种高码文件媒体数据访问方法,包括步骤:A method for accessing high-code file media data, comprising the steps of:

S1:建立连接;S1: establish a connection;

S2:获取MPD/M3U8文件;S2: Get MPD/M3U8 files;

S3:解析MPD/M3U8文件;S3: Parse MPD/M3U8 files;

S4:专业网络客户端访问文件。S4: Professional network client to access files.

进一步地,包括步骤:Further, including steps:

S5:持续获取和播放视频流,基于实时带宽情况和MPD/M3U8文件中信息延续或改变获取的切片的码率。S5: Continuously acquire and play the video stream, and continue or change the bit rate of the acquired slice based on real-time bandwidth conditions and information in the MPD/M3U8 file.

进一步地,在步骤S1中,在广电专用网络中建立与服务端的连接。Further, in step S1, a connection with the server is established in the radio and television dedicated network.

进一步地,通过文件共享,连接广电专用网络与服务端。Further, through file sharing, the radio and television dedicated network and the server are connected.

进一步地,在步骤S2中,包括步骤:Further, in step S2, including steps:

S21:建立连接后,专业网络客户端通过SDK向媒体数据服务器发出MPD/M3U8请求;S21: After the connection is established, the professional network client sends an MPD/M3U8 request to the media data server through the SDK;

S22:媒体数据服务器收到所述MPD/M3U8请求后,将MPD/M3U8文件发送给专业网络客户端。S22: After receiving the MPD/M3U8 request, the media data server sends the MPD/M3U8 file to the professional network client.

进一步地,在步骤S3中,专业网络客户端的MPD/M3U8解析模块对MPD/M3U8文件进行解析,解析出所有媒体文件及其切片文件的信息。Further, in step S3, the MPD/M3U8 parsing module of the professional network client parses the MPD/M3U8 file, and parses out the information of all media files and their slice files.

所述媒体文件的信息包括时间长度、媒体种类、切片数目和各切片时序信息;所述切片文件的信息包括起止时间、格式、大小、码率、分辨率、带宽范围和位置信息。The information of the media file includes time length, media type, number of slices and timing information of each slice; the information of the slice file includes start and end time, format, size, bit rate, resolution, bandwidth range and location information.

进一步地,在步骤S4中,包括步骤:Further, in step S4, including steps:

S41:客户端选择需要播放的媒体素材并将素材信息发送给SDK访问模块;S41: The client selects the media material to be played and sends the material information to the SDK access module;

S42:SDK访问模块通过SDK向媒体数据服务器发出媒体素材请求;S42: The SDK access module sends a media material request to the media data server through the SDK;

S43:媒体数据服务器接收到请求信息后将对应的媒体素材的切片文件发送给专业网络客户端;S43: After receiving the request information, the media data server sends the slice file of the corresponding media material to the professional network client;

S44:专业网络客户端的切片解析模块解析收到的切片文件;S44: The slice parsing module of the professional network client parses the received slice file;

S45:通过专业网络客户端的控制模块控制播放器进行播放解析的切片文件。S45: Control the player to play the parsed slice file through the control module of the professional network client.

本发明的有益效果是:The beneficial effects of the present invention are:

(1)提高了高码文件媒体数据的访问效率。(1) The access efficiency of high-code file media data is improved.

(2)每一个切片都是相对独立的个体,切片的解析无需其他切片的辅助,因此,一个切片形成后便能访问,实现了边采集、边回传、边访问的媒体数据访问模式,显著提高了生产效率。(2) Each slice is a relatively independent individual, and the parsing of the slice does not require the assistance of other slices. Therefore, a slice can be accessed after it is formed, realizing the media data access mode of collecting, returning, and accessing at the same time. Improved production efficiency.

(3)将本发明结合互联网端访问技术,可以满足专业视频网络和互联网/移动网融合发展的趋势。(3) Combining the present invention with the Internet terminal access technology, it can meet the trend of integrated development of professional video network and Internet/mobile network.

(4)有利于保障视频素材访问的流畅性和提升带宽的利用率,一方面,带宽不足时,访问低码素材以保证素材访问的流畅性,大大降低卡顿发生的频率,能够提高工作效率;另一方面,带宽富余时,尽可能地访问高码的素材,这样能够最大程度地利用带宽,同时最大程度地提升视觉体验。(4) It is beneficial to ensure the smoothness of video material access and improve the utilization rate of bandwidth. On the one hand, when the bandwidth is insufficient, low-code material is accessed to ensure the smoothness of material access, greatly reducing the frequency of freezing, which can improve work efficiency. ; On the other hand, when the bandwidth is abundant, access high-code materials as much as possible, which can maximize the use of bandwidth and maximize the visual experience.

附图说明Description of drawings

图1为本发明的系统结构图。FIG. 1 is a system structure diagram of the present invention.

图2为本发明的方法步骤流程图。FIG. 2 is a flow chart of the method steps of the present invention.

具体实施方式Detailed ways

下面结合附图进一步详细描述本发明的技术方案,但本发明的保护范围不局限于以下所述。The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings, but the protection scope of the present invention is not limited to the following.

【实施例一】[Example 1]

如图1所示,一种高码文件媒体数据访问系统,包括:媒体数据服务器和专业网络访问客户端;所述的专业网络访问客户端与媒体数据服务器连接;As shown in Figure 1, a high-code file media data access system includes: a media data server and a professional network access client; the professional network access client is connected to the media data server;

所述的专业网络访问客户端包括:客户端控制模块、MPD/M3U8解析模块、切片解析模块、SDK访问模块和播放器;The professional network access client includes: client control module, MPD/M3U8 parsing module, slice parsing module, SDK access module and player;

所述的客户端控制模块,用于控制视频播放;The described client control module is used to control video playback;

所述的MPD/M3U8解析模块,用于解析MPD/M3U8文件,获取媒体文件及其切片文件的信息;Described MPD/M3U8 parsing module, is used for parsing MPD/M3U8 file, obtains the information of media file and its slice file;

所述的切片解析模块,用于解析收到的切片文件;The slice parsing module is used to parse the received slice file;

所述的SDK访问模块,用于通过SDK向媒体数据服务器发送访问请求;The SDK access module is used to send an access request to the media data server through the SDK;

所述的播放器,用于播放解析后的切片文件;The described player is used to play the parsed slice file;

所述的专业网络访问客户端,用于访问解析后的切片文件。The professional network access client is used to access the parsed slice file.

如图2所示,一种高码文件媒体数据访问方法,包括步骤:As shown in Figure 2, a high-code file media data access method, comprising the steps:

S1:建立连接;S1: establish a connection;

S2:获取MPD/M3U8文件;S2: Get MPD/M3U8 files;

S3:解析MPD/M3U8文件;S3: Parse MPD/M3U8 files;

S4:专业网络客户端访问文件。S4: Professional network client to access files.

进一步地,包括步骤:Further, including steps:

S5:持续获取和播放视频流,基于实时带宽情况和MPD/M3U8文件中信息延续或改变获取的切片的码率。S5: Continuously acquire and play the video stream, and continue or change the bit rate of the acquired slice based on real-time bandwidth conditions and information in the MPD/M3U8 file.

进一步地,在步骤S1中,在广电专用网络中建立与服务端的连接。Further, in step S1, a connection with the server is established in the radio and television dedicated network.

进一步地,通过文件共享,连接广电专用网络与服务端。Further, through file sharing, the radio and television dedicated network and the server are connected.

进一步地,在步骤S2中,包括步骤:Further, in step S2, including steps:

S21:建立连接后,专业网络客户端通过SDK向媒体数据服务器发出MPD/M3U8请求;S21: After the connection is established, the professional network client sends an MPD/M3U8 request to the media data server through the SDK;

S22:媒体数据服务器收到所述MPD/M3U8请求后,将MPD/M3U8文件发送给专业网络客户端。S22: After receiving the MPD/M3U8 request, the media data server sends the MPD/M3U8 file to the professional network client.

进一步地,在步骤S3中,专业网络客户端的MPD/M3U8解析模块对MPD/M3U8文件进行解析,解析出所有媒体文件及其切片文件的信息。Further, in step S3, the MPD/M3U8 parsing module of the professional network client parses the MPD/M3U8 file, and parses out the information of all media files and their slice files.

所述媒体文件的信息包括时间长度、媒体种类、切片数目和各切片时序信息;所述切片文件的信息包括起止时间、格式、大小、码率、分辨率、带宽范围和位置信息。The information of the media file includes time length, media type, number of slices and timing information of each slice; the information of the slice file includes start and end time, format, size, bit rate, resolution, bandwidth range and location information.

进一步地,在步骤S4中,包括步骤:Further, in step S4, including steps:

S41:客户端选择需要播放的媒体素材并将素材信息发送给SDK访问模块;S41: The client selects the media material to be played and sends the material information to the SDK access module;

S42:SDK访问模块通过SDK向媒体数据服务器发出媒体素材请求;S42: The SDK access module sends a media material request to the media data server through the SDK;

S43:媒体数据服务器接收到请求信息后将对应的媒体素材的切片文件发送给专业网络客户端;S43: After receiving the request information, the media data server sends the slice file of the corresponding media material to the professional network client;

S44:专业网络客户端的切片解析模块解析收到的切片文件;S44: The slice parsing module of the professional network client parses the received slice file;

S45:通过专业网络客户端的控制模块控制播放器进行播放解析的切片文件。S45: Control the player to play the parsed slice file through the control module of the professional network client.

在本发明的实施例一中,文件模拟服务模块既可以部署在访问终端,也可以单独部署,系统主要由媒体数据服务器、文件模拟服务、访问终端构成,其中媒体数据服务器由媒体切片文件以及MPD/M3U8文件构成。专业网络访问客户端,包括专业网络访问客户端。In the first embodiment of the present invention, the file simulation service module can be deployed on the access terminal or separately. The system is mainly composed of a media data server, a file simulation service, and an access terminal, wherein the media data server is composed of media slice files and MPD. /M3U8 file composition. Professional Network Access Client, including Professional Network Access Client.

媒体切片文件是将媒体文件按固定时间切分的小文件,每个切片文件都存在与之对应的一个或多个不同码率的切片文件,编码格式既有H.264/H.265/VP9等编码的低码率互联网访问文件,也有DNxHD/AVC-Intra/XAVC/ProRes等专业视频编码文件。专业网络访问客户端访问媒体数据时可根据网络位置、带宽在多个不同码率的切片文件中自动调整读取的切片文件。The media slice file is a small file that divides the media file according to a fixed time. Each slice file has one or more slice files with different bit rates corresponding to it. The encoding format includes H.264/H.265/VP9. and other encoded low-bit-rate Internet access files, as well as professional video encoding files such as DNxHD/AVC-Intra/XAVC/ProRes. When professional network access clients access media data, they can automatically adjust the read slice files among multiple slice files with different bit rates according to the network location and bandwidth.

MPD/M3U8文件是媒体表示描述文件,包括专业视频网络访问信息和互联网/移动网访问信息,描述了服务器上所有媒体文件以及其切片文件的信息,媒体文件的信息包括:时间长度、媒体种类、切片数目、各切片时序、切片文件信息(包括:起止时间、格式、大小、码率、分辨率、带宽范围、位置等)等。与通用的Mpeg-DASH的MPD/M3U8文件不同的是,本申请的MPD/M3U8文件,额外记录了专业高码的文件切片信息。MPD/M3U8 files are media representation description files, including professional video network access information and Internet/mobile network access information, describing all media files on the server and information about their slice files. The information of media files includes: time length, media type, Number of slices, timing of each slice, slice file information (including: start and end time, format, size, bit rate, resolution, bandwidth range, location, etc.), etc. Different from the general MPD/M3U8 file of Mpeg-DASH, the MPD/M3U8 file of this application additionally records the file slice information of professional high code.

在本发明的实施例一中,包括对媒体数据进行特殊的存储处理,使得数据存储满足高码文件访问的技术需求,包括步骤:In the first embodiment of the present invention, special storage processing is performed on the media data, so that the data storage meets the technical requirements of high-code file access, including the steps:

(1)高码率素材入库,包括高码媒体文件和高码IP信号。(1) High-code-rate material storage, including high-code media files and high-code IP signals.

(2)入库时,对文件/信号按固定时间(如:3s)或按GOP(一个画面组)进行切片处理。(2) During storage, the file/signal is sliced for a fixed time (eg: 3s) or GOP (a group of pictures).

(3)每划分一个切片对该切片文件进行压缩转码等操作,形成能够适用于不同带宽环境的不同码率、不同幅面、不同分辨率、不同格式但内容一致的多个切片文件。(3) Each time a slice is divided, the slice file is compressed and transcoded to form multiple slice files with different bit rates, different formats, different resolutions, and different formats that can be applied to different bandwidth environments but with the same content.

(4)每划分一个切片文件需要更新MPD/M3U8的信息,如:第一个切片产生,MPD/M3U8中该媒体素材的时间长度为3s;第二个切片产生,MPD中时间长度为6s……,实现了实时信号的边采集、边回传、边访问,有利于提高生产效率。(4) The information of MPD/M3U8 needs to be updated every time a slice file is divided, such as: the first slice is generated, the time length of the media material in MPD/M3U8 is 3s; the second slice is generated, the time length in MPD is 6s… ..., realizes the acquisition, transmission and access of real-time signals at the same time, which is conducive to improving production efficiency.

(5)MPD/M3U8文件记录的信息包括媒体文件信息以及其切片文件的信息,媒体文件的信息包括:时间长度、媒体种类、切片数目、各切片时序、切片文件信息(包括:起止时间、格式、大小、码率、分辨率、带宽范围、位置等)等。(5) The information recorded in the MPD/M3U8 file includes the media file information and the information of its slice files. The information of the media file includes: time length, media type, number of slices, timing of each slice, slice file information (including: start and end time, format , size, bit rate, resolution, bandwidth range, location, etc.)

(6)MPD/M3U8文件中对于高码部分的文件进行单独描述,可以避免互联网/移动网客户端的播放器误读高码视频文件,例如MXF这类专业格式的视频文件。(6) The high-code part of the file is described separately in the MPD/M3U8 file, which can prevent the player of the Internet/mobile network client from misreading the high-code video file, such as professional format video files such as MXF.

本发明提高了高码文件媒体数据的访问效率,每一个切片都是相对独立的个体,切片的解析无需其他切片的辅助,一个切片形成后便能访问,实现了边采集、边回传、边访问的媒体数据访问模式,提高了生产效率,满足了专业视频网络和互联网/移动网融合发展的趋势。The invention improves the access efficiency of high-code file media data, each slice is a relatively independent individual, the parsing of the slice does not require the assistance of other slices, and a slice can be accessed after it is formed, realizing simultaneous collection, simultaneous return, and simultaneous The accessible media data access mode improves production efficiency and meets the trend of integrated development of professional video networks and Internet/mobile networks.

本领域技术人员可以意识到,结合本申请中所公开的实施例描述的各示例的模块及方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合的方式来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法实现所描述的功能,但是这种实现不应超出本发明的范围。Those skilled in the art can realize that the modules and method steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in the form of electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not depart from the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described system and module, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的系统、模块和方法,可以通过其它的方式实现。例如,以上所描述的实施例仅是示意性的,所述模块的划分,可以仅是一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接,可以说通过一些接口,或模块的间接耦合或通信连接,也可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed systems, modules and methods may be implemented in other manners. For example, the above-described embodiments are only illustrative, and the division of the modules may only be a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection can be said to be through some interfaces, or indirect coupling or communication connection of modules, and it can also be in electrical, mechanical or other forms.

所述分立部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described by the discrete components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。In addition, each functional module in this embodiment of the present invention may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.

所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

以上所述仅是本发明的优选实施方式,应当理解本发明并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他组合、修改和环境,并能够在本文所述构想范围内,通过上述教导或相关领域的技术或知识进行改动。而本领域人员所进行的改动和变化不脱离本发明的精神和范围,则都应在本发明所附权利要求的保护范围内。The foregoing are only preferred embodiments of the present invention, and it should be understood that the present invention is not limited to the forms disclosed herein, and should not be construed as an exclusion of other embodiments, but may be used in various other combinations, modifications, and environments, and Modifications can be made within the scope of the concepts described herein, from the above teachings or from skill or knowledge in the relevant field. However, modifications and changes made by those skilled in the art do not depart from the spirit and scope of the present invention, and should all fall within the protection scope of the appended claims of the present invention.

Claims (7)

1.一种高码文件媒体数据访问系统,其特征在于,包括:媒体数据服务器和专业网络访问客户端;所述的专业网络访问客户端与媒体数据服务器连接;1. a high-code file media data access system, is characterized in that, comprising: media data server and professional network access client; Described professional network access client is connected with media data server; 所述的专业网络访问客户端包括:客户端控制模块、MPD/M3U8解析模块、切片解析模块、SDK访问模块和播放器;The professional network access client includes: client control module, MPD/M3U8 parsing module, slice parsing module, SDK access module and player; 所述的客户端控制模块,用于控制视频播放;The described client control module is used to control video playback; 所述的MPD/M3U8解析模块,用于解析MPD/M3U8文件,获取媒体文件及其切片文件的信息,并对媒体数据进行特殊的存储处理;所述MPD/M3U8文件额外记录专业高码的文件切片信息;Described MPD/M3U8 parsing module, is used for parsing MPD/M3U8 file, obtains the information of media file and its slice file, and carries out special storage processing to media data; Described MPD/M3U8 file additionally records professional high code file slice information; 所述的切片解析模块,用于解析收到的切片文件;The slice parsing module is used to parse the received slice file; 所述的SDK访问模块,用于通过SDK向媒体数据服务器发送访问请求;The SDK access module is used to send an access request to the media data server through the SDK; 所述的播放器,用于播放解析后的切片文件;The described player is used to play the parsed slice file; 所述的专业网络访问客户端,用于访问解析后的切片文件。The professional network access client is used to access the parsed slice file. 2.一种高码文件媒体数据访问方法,其特征在于,包括步骤:2. a high code file media data access method, is characterized in that, comprises the steps: S1:建立连接;S1: establish a connection; S2:获取MPD/M3U8文件;S2: Get MPD/M3U8 files; S3:解析MPD/M3U8文件,获取媒体文件及其切片文件的信息;S3: Parse MPD/M3U8 files to obtain information about media files and their slice files; S4:专业网络客户端访问文件;S4: Professional network client to access files; S5:持续获取和播放视频流,基于实时带宽情况和MPD/M3U8文件中信息延续或改变获取的切片的码率;S5: Continuously acquire and play video streams, continue or change the bit rate of the acquired slices based on real-time bandwidth conditions and information in MPD/M3U8 files; 其中,所述的步骤S4还包括以下子步骤:Wherein, the step S4 also includes the following sub-steps: S41:客户端选择需要播放的媒体素材并将素材信息发送给SDK访问模块;S41: The client selects the media material to be played and sends the material information to the SDK access module; S42:SDK访问模块通过SDK向媒体数据服务器发出媒体素材请求;S42: The SDK access module sends a media material request to the media data server through the SDK; S43:媒体数据服务器接收到请求信息后将对应的媒体素材的切片文件发送给专业网络客户端;S43: After receiving the request information, the media data server sends the slice file of the corresponding media material to the professional network client; S44:专业网络客户端的切片解析模块解析收到的切片文件;S44: The slice parsing module of the professional network client parses the received slice file; S45:通过专业网络客户端的控制模块控制播放器进行播放解析的切片文件;S45: control the player to play the parsed slice file through the control module of the professional network client; 其中,所述步骤S3获取媒体文件及其切片文件的信息,具体包括以下子步骤:Wherein, the step S3 obtains the information of the media file and its slice file, and specifically includes the following sub-steps: S301. 高码率素材入库,包括高码媒体文件和高码IP信号;S301. High-code-rate material storage, including high-code media files and high-code IP signals; S302. 入库时,对文件信号按固定时间或按GOP进行切片处理;S302. When warehousing, the file signal is sliced at a fixed time or by GOP; S303. 每划分一个切片对该切片文件进行压缩转码操作,形成能够适用于不同带宽环境的不同码率、不同幅面、不同分辨率、不同格式但内容一致的多个切片文件;S303. Each time a slice is divided, the slice file is compressed and transcoded to form multiple slice files with different bit rates, different formats, different resolutions, and different formats that are applicable to different bandwidth environments but with the same content; S304. 每划分一个切片文件需要更新MPD/M3U8的信息。S304. The information of MPD/M3U8 needs to be updated every time a slice file is divided. 3.根据权利要求2所述的一种高码文件媒体数据访问方法,其特征在于:在步骤S1中,在广电专用网络中建立与服务端的连接。3 . The method for accessing high-code file media data according to claim 2 , wherein in step S1 , a connection with the server is established in a special network for broadcasting and television. 4 . 4.根据权利要求2所述的一种高码文件媒体数据访问方法,其特征在于:通过文件共享,连接广电专用网络与服务端。4. A method for accessing high-code file media data according to claim 2, characterized in that: a special network for broadcasting and television and a server are connected through file sharing. 5.根据权利要求2所述的一种高码文件媒体数据访问方法,其特征在于:5. a kind of high code file media data access method according to claim 2, is characterized in that: 在步骤S2中,包括步骤:In step S2, including steps: S21:建立连接后,专业网络客户端通过SDK向媒体数据服务器发出MPD/M3U8请求;S21: After the connection is established, the professional network client sends an MPD/M3U8 request to the media data server through the SDK; S22:媒体数据服务器收到所述MPD/M3U8请求后,将MPD/M3U8文件发送给专业网络客户端。S22: After receiving the MPD/M3U8 request, the media data server sends the MPD/M3U8 file to the professional network client. 6.根据权利要求2所述的一种高码文件媒体数据访问方法,其特征在于:在步骤S3中,专业网络客户端的MPD/M3U8解析模块对MPD/M3U8文件进行解析,解析出所有媒体文件及其切片文件的信息。6. a kind of high code file media data access method according to claim 2, is characterized in that: in step S3, the MPD/M3U8 parsing module of professional network client parses MPD/M3U8 file, parses out all media files and its slice file information. 7.根据权利要求6所述的一种高码文件媒体数据访问方法,其特征在于:所述媒体文件的信息包括时间长度、媒体种类、切片数目和各切片时序信息;所述切片文件的信息包括起止时间、格式、大小、码率、分辨率、带宽范围和位置信息。7. A kind of high code file media data access method according to claim 6, is characterized in that: the information of described media file comprises time length, media type, slice number and each slice timing information; The information of described slice file Including start and end time, format, size, bit rate, resolution, bandwidth range and location information.
CN201710789800.XA 2017-09-05 2017-09-05 A kind of high-code file media data access method and system Active CN107426630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710789800.XA CN107426630B (en) 2017-09-05 2017-09-05 A kind of high-code file media data access method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710789800.XA CN107426630B (en) 2017-09-05 2017-09-05 A kind of high-code file media data access method and system

Publications (2)

Publication Number Publication Date
CN107426630A CN107426630A (en) 2017-12-01
CN107426630B true CN107426630B (en) 2020-11-13

Family

ID=60434582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710789800.XA Active CN107426630B (en) 2017-09-05 2017-09-05 A kind of high-code file media data access method and system

Country Status (1)

Country Link
CN (1) CN107426630B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7818350B2 (en) * 2005-02-28 2010-10-19 Yahoo! Inc. System and method for creating a collaborative playlist
CN103702171B (en) * 2013-12-12 2017-02-08 乐视网信息技术(北京)股份有限公司 Method for downloading video stream and electronic equipment
CN105357544A (en) * 2015-10-29 2016-02-24 浪潮软件集团有限公司 HLS-based multimedia file processing method and server

Also Published As

Publication number Publication date
CN107426630A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
EP3000215B1 (en) Live media processing and streaming service
CA2986597C (en) Middleware delivery of dash client qoe metrics
JP6058677B2 (en) Signaling segment characteristics for streaming media data over a network
US9787747B2 (en) Optimizing video clarity
CN107566851B (en) A video slice storage method and system applied to media data access
US20200112753A1 (en) Service description for streaming media data
US20160337424A1 (en) Transferring media data using a websocket subprotocol
US20190069006A1 (en) Seeking in live-transcoded videos
CN103081506A (en) Method and device for providing streaming content
CN104244028B (en) A kind of content distribution method based on code stream adaptive technique, apparatus and system
CN105228001A (en) The method and system that a kind of FLV format video is play online
WO2021142246A1 (en) Multiple decoder interface for streamed media data
CN112771876A (en) Initialization set for network streaming of media data
KR101397551B1 (en) Dynamic and Adaptive Streaming System over HTTP
JPWO2014112186A1 (en) Content server and content distribution method
CN107426630B (en) A kind of high-code file media data access method and system
US12238370B2 (en) Determination of availability of chunks of data for network streaming media data
CN107547948B (en) Method and system for simultaneously providing high code and low code media data access
CN120034662A (en) Video data processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载