CN106817588B - Transcoding control method and device, net cast method and system - Google Patents
Transcoding control method and device, net cast method and system Download PDFInfo
- Publication number
- CN106817588B CN106817588B CN201710065863.0A CN201710065863A CN106817588B CN 106817588 B CN106817588 B CN 106817588B CN 201710065863 A CN201710065863 A CN 201710065863A CN 106817588 B CN106817588 B CN 106817588B
- Authority
- CN
- China
- Prior art keywords
- frame rate
- transcoding
- video
- video frame
- time segment
- 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
Links
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
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/02—Diagnosis, testing or measuring for television systems or their details for colour television signals
-
- 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/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234309—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
-
- 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)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本发明公开了一种转码控制方法及装置、视频直播方法及系统,属于互联网流媒体技术领域。其中,转码控制方法包括如下步骤:对视频流当前探测时间片段的视频帧率进行探测,得出当前视频帧率,并设置所述当前视频帧率为转码帧率,按照所述转码帧率对所述视频流进行转码;根据所述当前视频帧率与之前视频帧率,确定所述视频流下一探测时间片段;对所述视频流所述下一探测时间片段的视频帧率进行探测,得出下一视频帧率,并将所述转码帧率更新为所述下一视频帧率,按照更新后的所述转码帧率对所述视频流进行转码。本发明通过对视频流帧率的实时探测,保证了视频流转码过程中转码帧率的准确性。
The invention discloses a transcoding control method and device, a video live broadcast method and system, and belongs to the technical field of Internet streaming media. The transcoding control method includes the following steps: detecting the video frame rate of the current detection time segment of the video stream, obtaining the current video frame rate, and setting the current video frame rate to the transcoding frame rate, according to the transcoding frame rate The frame rate is used to transcode the video stream; the next detection time segment of the video stream is determined according to the current video frame rate and the previous video frame rate; the video frame rate of the next detection time segment of the video stream is determined The detection is performed to obtain the next video frame rate, the transcoding frame rate is updated to the next video frame rate, and the video stream is transcoded according to the updated transcoding frame rate. The present invention ensures the accuracy of the transcoding frame rate in the video stream transcoding process by detecting the frame rate of the video stream in real time.
Description
技术领域technical field
本发明涉及互联网流媒体技术领域,尤其涉及一种转码控制方法及装置、视频直播方法及系统。The present invention relates to the technical field of Internet streaming media, and in particular, to a transcoding control method and device, and a video live broadcast method and system.
背景技术Background technique
随着互联网技术的发展以及我国带宽不断提速,互联网的主导内容从文字、图片逐步发展为以音视频为主导内容。近几年移动互联网的爆炸性发展,使得互联网与人们的生活联系的更加密切,人们越来越期望从互联网获取多媒体信息来满足自己的各种需求。于是催生了大批的音视频内容提供商,并极大的促进了内容分发网络(Content DeliveryNetwork,CDN)行业的发展。简单的音视频不再满足人们的需求,人们需求的是不管是在PC端还是在各种各样的移动端,不管是网络质量优良的情况下还是网络质量差的情况下,都能享受到高品质高质量的音视频内容。With the development of Internet technology and the continuous acceleration of my country's bandwidth, the dominant content of the Internet has gradually developed from text and pictures to audio and video-based content. The explosive development of the mobile Internet in recent years has made the Internet more closely related to people's lives. People increasingly expect to obtain multimedia information from the Internet to meet their various needs. As a result, a large number of audio and video content providers have been born, and the development of the Content Delivery Network (CDN) industry has been greatly promoted. Simple audio and video no longer meet people's needs. What people need is whether they are on the PC side or on a variety of mobile terminals, whether the network quality is good or the network quality is poor. High-quality high-quality audio and video content.
对于互联网流媒体领域,由于存在大大小小很多的视频源提供商,这些视频源提供商并不能保证提供的音视频格式的准确性,例如视频的帧率信息。同时,在视频转码过程中视频源还可能会对视频流的帧率信息进行实时改变。这就导致不能按照准确的视频帧率对视频流进行转码,按照不准确的帧率转码会导致:In the field of Internet streaming media, due to the existence of video source providers of many sizes, these video source providers cannot guarantee the accuracy of the audio and video formats provided, such as video frame rate information. At the same time, the video source may also change the frame rate information of the video stream in real time during the video transcoding process. As a result, the video stream cannot be transcoded according to the accurate video frame rate. Transcoding according to the inaccurate frame rate will result in:
1.转码后的码率无法控制,错误的过大的帧率设置可能导致转码后的码率过大,导致带宽浪费。1. The bit rate after transcoding is uncontrollable. An incorrect frame rate setting that is too large may cause the bit rate after transcoding to be too large, resulting in wasted bandwidth.
2.转码时的帧率与转码前的视频真实帧率不一致,转码过程中根据错误的帧率进行视频转码,会对视频做抽帧或复制一些帧的操作,影响视频的播放效果。2. The frame rate during transcoding is inconsistent with the real frame rate of the video before transcoding. During the transcoding process, video transcoding is performed according to the wrong frame rate, which will extract or copy some frames of the video, which will affect the playback of the video. Effect.
发明内容SUMMARY OF THE INVENTION
为了解决现有技术的问题,本发明实施例提供了一种转码控制方法及装置、视频直播方法及系统。所述技术方案如下:In order to solve the problems in the prior art, the embodiments of the present invention provide a transcoding control method and device, and a video live broadcast method and system. The technical solution is as follows:
一方面,提供了一种转码控制方法,包括如下步骤:In one aspect, a transcoding control method is provided, comprising the following steps:
对视频流当前探测时间片段的视频帧率进行探测,得出当前视频帧率,并设置所述当前视频帧率为转码帧率,按照所述转码帧率对所述视频流进行转码;Detect the video frame rate of the current detection time segment of the video stream, obtain the current video frame rate, set the current video frame rate to the transcoding frame rate, and transcode the video stream according to the transcoding frame rate ;
根据所述当前视频帧率与之前视频帧率,确定所述视频流下一探测时间片段;Determine the next detection time segment of the video stream according to the current video frame rate and the previous video frame rate;
对所述视频流所述下一探测时间片段的视频帧率进行探测,得出下一视频帧率,并将所述转码帧率更新为所述下一视频帧率,按照更新后的所述转码帧率对所述视频流进行转码。Detect the video frame rate of the next detection time segment of the video stream, obtain the next video frame rate, and update the transcoding frame rate to the next video frame rate, according to the updated The video stream is transcoded at the transcoding frame rate.
进一步的,所述对视频流当前探测时间片段的视频帧率进行探测,得出当前视频帧率,并设置所述当前视频帧率为转码帧率,按照所述转码帧率对所述视频流进行转码的步骤具体包括:Further, the video frame rate of the current detection time segment of the video stream is detected, the current video frame rate is obtained, the current video frame rate is set, and the transcoding frame rate is set, and the transcoding frame rate is The steps of transcoding the video stream specifically include:
根据帧率探测算法探测所述当前探测时间片段的视频帧率,得出所述当前视频帧率;Detect the video frame rate of the current detection time segment according to the frame rate detection algorithm, and obtain the current video frame rate;
将所述当前视频帧率设置为转码帧率,按照所述转码帧率对所述当前探测时间片段及所述当前探测时间片段至所述下一探测时间片段之间的所述视频流进行转码。The current video frame rate is set as the transcoding frame rate, and the current detection time segment and the video stream between the current detection time segment and the next detection time segment are analyzed according to the transcoding frame rate. Transcode.
进一步的,所述根据所述当前视频帧率与之前视频帧率,确定所述视频流下一探测时间片段的步骤具体包括:Further, the step of determining the next detection time segment of the video stream according to the current video frame rate and the previous video frame rate specifically includes:
计算所述当前视频帧率与所述之前视频帧率的差值;Calculate the difference between the current video frame rate and the previous video frame rate;
如果所述差值大于设定差值,则缩短所述当前探测时间片段与所述下一探测时间片段的时间间隔;If the difference is greater than the set difference, shortening the time interval between the current detection time segment and the next detection time segment;
如果所述差值小于等于设定差值,则延长所述当前探测时间片段与所述下一探测时间片段的时间间隔。If the difference is less than or equal to the set difference, the time interval between the current detection time segment and the next detection time segment is extended.
进一步的,所述对所述视频流所述下一探测时间片段的视频帧率进行探测,得出下一视频帧率,并将所述转码帧率更新为所述下一视频帧率,按照更新后的所述转码帧率对所述视频流进行转码的步骤具体包括:Further, detecting the video frame rate of the next detection time segment of the video stream, obtaining the next video frame rate, and updating the transcoding frame rate to the next video frame rate, The step of transcoding the video stream according to the updated transcoding frame rate specifically includes:
根据所述帧率探测算法探测所述下一探测时间片段的视频帧率,得出所述下一视频帧率;Detect the video frame rate of the next detection time segment according to the frame rate detection algorithm, and obtain the next video frame rate;
将所述转码帧率更新为所述下一视频帧率,按照更新后的所述转码帧率对所述下一探测时间片段及所述下一探测时间片段至再次探测前的所述视频流进行转码。The transcoding frame rate is updated to the next video frame rate, and the next detection time segment and the next detection time segment are compared to the next detection time segment according to the updated transcoding frame rate. The video stream is transcoded.
另一方面,提供了一种视频直播方法,包括所述的转码控制方法。In another aspect, a video live broadcast method is provided, including the transcoding control method.
再一方面,提供了一种转码控制装置,包括:In yet another aspect, a transcoding control device is provided, comprising:
第一探测模块,用于对视频流当前探测时间片段的视频帧率进行探测,得出当前视频帧率,并设置所述当前视频帧率为转码帧率,按照所述转码帧率对所述视频流进行转码;The first detection module is used to detect the video frame rate of the current detection time segment of the video stream, obtain the current video frame rate, and set the current video frame rate to the transcoding frame rate, and set the transcoding frame rate according to the transcoding frame rate. the video stream is transcoded;
控制模块,用于根据所述当前视频帧率与之前视频帧率,确定所述视频流下一探测时间片段;a control module, configured to determine the next detection time segment of the video stream according to the current video frame rate and the previous video frame rate;
第二探测模块,用于对所述视频流所述下一探测时间片段的视频帧率进行探测,得出下一视频帧率,并将所述转码帧率更新为所述下一视频帧率,按照更新后的所述转码帧率对所述视频流进行转码。The second detection module is configured to detect the video frame rate of the next detection time segment of the video stream, obtain the next video frame rate, and update the transcoding frame rate to the next video frame rate, and transcode the video stream according to the updated transcoding frame rate.
进一步的,所述第一探测模块包括第一探测子模块和第一设置子模块;Further, the first detection module includes a first detection sub-module and a first setting sub-module;
所述第一探测子模块,用于根据帧率探测算法探测所述当前探测时间片段的视频帧率,得出所述当前视频帧率;The first detection sub-module is configured to detect the video frame rate of the current detection time segment according to a frame rate detection algorithm, and obtain the current video frame rate;
所述第一设置子模块,用于将所述当前视频帧率设置为转码帧率,按照所述转码帧率对所述当前探测时间片段及所述当前探测时间片段至所述下一探测时间片段之间的所述视频流进行转码。The first setting sub-module is used to set the current video frame rate to the transcoding frame rate, and set the current detection time segment and the current detection time segment to the next detection time segment according to the transcoding frame rate. The video stream between probe time segments is transcoded.
进一步的,所述控制模块包括计算子模块和判断子模块;Further, the control module includes a calculation submodule and a judgment submodule;
所述计算子模块,用于计算所述当前视频帧率与所述之前视频帧率的差值;The calculation submodule is used to calculate the difference between the current video frame rate and the previous video frame rate;
所述判断子模块,用于判断:The judging submodule is used to judge:
如果所述差值大于设定差值,则缩短所述当前探测时间片段与所述下一探测时间片段的时间间隔;或者If the difference is greater than the set difference, shorten the time interval between the current detection time segment and the next detection time segment; or
如果所述差值小于等于设定差值,则延长所述当前探测时间片段与所述下一探测时间片段的时间间隔。If the difference is less than or equal to the set difference, the time interval between the current detection time segment and the next detection time segment is extended.
进一步的,所述第二探测模块包括第二探测子模块和第二设置子模块;Further, the second detection module includes a second detection sub-module and a second setting sub-module;
所述第二探测子模块,用于根据所述帧率探测算法探测所述下一探测时间片段的视频帧率,得出所述下一视频帧率;The second detection submodule is configured to detect the video frame rate of the next detection time segment according to the frame rate detection algorithm, and obtain the next video frame rate;
所述第二设置子模块,用于将所述转码帧率更新为所述下一视频帧率,按照更新后的所述转码帧率对所述下一探测时间片段及所述下一探测时间片段至再次探测前的所述视频流进行转码。The second setting submodule is configured to update the transcoding frame rate to the next video frame rate, and set the next detection time segment and the next video frame rate according to the updated transcoding frame rate. Transcoding is performed on the video stream before the detection time segment to the detection again.
再一方面,提供了一种视频直播系统,包括所述的转码控制装置。In another aspect, a live video system is provided, including the transcoding control device.
本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided in the embodiments of the present invention are:
通过对视频流帧率的实时探测,保证了视频流转码过程中转码帧率的准确性,避免错误的过大的帧率导致的带宽浪费,以及错误的过小的帧率导致画面质量的下降,保证转码前后画面质量和码率的一致性。进而保证了视频流转码的质量和效果。Through real-time detection of the frame rate of the video stream, the accuracy of the transcoding frame rate during the video stream transcoding process is ensured, avoiding the waste of bandwidth caused by the wrong frame rate that is too large, and the degradation of the picture quality caused by the wrong frame rate that is too small. , to ensure the consistency of picture quality and bit rate before and after transcoding. This ensures the quality and effect of video stream transcoding.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本发明实施例一提供的转码控制方法流程图;1 is a flowchart of a transcoding control method provided in Embodiment 1 of the present invention;
图2是本发明实施例一提供的转码控制方法流程图;2 is a flowchart of a transcoding control method provided in Embodiment 1 of the present invention;
图3是本发明实施例一提供的转码控制方法流程图;3 is a flowchart of a transcoding control method provided in Embodiment 1 of the present invention;
图4是本发明实施例一提供的转码控制方法流程图;4 is a flowchart of a transcoding control method provided in Embodiment 1 of the present invention;
图5是本发明实施例一提供的转码流程图;5 is a transcoding flow chart provided by Embodiment 1 of the present invention;
图6是本发明实施例二提供的转码控制装置的结构示意图;6 is a schematic structural diagram of a transcoding control device provided in Embodiment 2 of the present invention;
图7是本发明实施例二提供的第一探测模块的结构示意图;7 is a schematic structural diagram of a first detection module provided in Embodiment 2 of the present invention;
图8是本发明实施例二提供的控制模块的结构示意图;8 is a schematic structural diagram of a control module provided by Embodiment 2 of the present invention;
图9是本发明实施例二提供的第二探测模块的结构示意图。FIG. 9 is a schematic structural diagram of a second detection module according to Embodiment 2 of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
实施例一Example 1
本发明实施例提供了一种转码控制方法,参见图1,包括如下步骤:An embodiment of the present invention provides a transcoding control method. Referring to FIG. 1 , the method includes the following steps:
S101:对视频流当前探测时间片段的视频帧率进行探测,得出当前视频帧率,并设置所述当前视频帧率为转码帧率,按照所述转码帧率对所述视频流进行转码。S101: Detect the video frame rate of the current detection time segment of the video stream, obtain the current video frame rate, set the current video frame rate to a transcoding frame rate, and perform a transcoding frame rate on the video stream according to the transcoding frame rate Transcode.
在直播场景中,视频源提供商提供视频流并决定所提供视频流的格式,由于这些视频源的格式各不相同,因而需要对视频源进行实时转码,再将转码处理后的视频流输出至用户终端。由于转码过程中,因不同原因,例如视频流所携带的视频帧率信息不准确或者未携带视频帧率信息,将导致直接解析视频流获取的视频帧率不准确,进而导致转码不正常或者转码后的视频无法正常显示。In the live broadcast scenario, the video source provider provides the video stream and decides the format of the provided video stream. Since the formats of these video sources are different, the video source needs to be transcoded in real time, and then the transcoded video stream needs to be transcoded. output to the user terminal. During the transcoding process, due to different reasons, such as inaccurate video frame rate information carried by the video stream or no video frame rate information, the video frame rate obtained by directly parsing the video stream will be inaccurate, resulting in abnormal transcoding. Or the transcoded video cannot be displayed normally.
本方法通过对视频流的视频帧率进行实时探测,并根据实时探测得知的视频帧率对视频流进行转码,保证了转码质量。The method ensures the quality of the transcoding by detecting the video frame rate of the video stream in real time, and transcoding the video stream according to the video frame rate obtained by the real-time detection.
在本实施例中,所述对视频流当前探测时间片段的视频帧率进行探测,得出当前视频帧率,并设置所述当前视频帧率为转码帧率,按照所述转码帧率对所述视频流进行转码的步骤S101具体包括S1011-S1012两个子步骤,如图2所示。In this embodiment, the video frame rate of the current detection time segment of the video stream is detected to obtain the current video frame rate, and the current video frame rate is set to the transcoding frame rate, according to the transcoding frame rate The step S101 of transcoding the video stream specifically includes two sub-steps S1011-S1012, as shown in FIG. 2 .
S1011:根据帧率探测算法探测所述当前探测时间片段的视频帧率,得出所述当前视频帧率。S1011: Detect the video frame rate of the current detection time segment according to a frame rate detection algorithm, and obtain the current video frame rate.
帧率(Frame rate)是用于测量显示帧数的量度,其测量单位为每秒显示帧数(Frames per Second,FPS),例如一秒钟显示30帧,则帧率为30FPS。对于帧率的探测,其探测算法多种多样,探测的精度越高则算法的计算复杂度也越高,因而在选用时综合考虑精度和计算复杂度来选用不同的探测算法。Frame rate is a measure used to measure the number of displayed frames, and its measurement unit is the number of displayed frames per second (Frames per Second, FPS). For example, if 30 frames are displayed in one second, the frame rate is 30FPS. For the detection of frame rate, there are various detection algorithms. The higher the detection accuracy, the higher the computational complexity of the algorithm. Therefore, different detection algorithms are selected in consideration of the accuracy and computational complexity.
由于在直播场景中,要考虑到时延,对视频流的处理是极其迅速的,同时还要考虑到设备性能,因而,选取的探测时间片段都很短,在几百毫秒的范围内进行选取,尽管探测时间片段都很短,但是选取的探测时间片段长短决定了对本时间片段帧率探测的准确程度,由于较长的探测时间片段内数据更多,因而得出的探测结果更准确。In the live broadcast scenario, the processing of the video stream is extremely fast due to the consideration of the delay and the device performance. Therefore, the selected detection time segments are very short, and the selection is made within the range of several hundred milliseconds. , although the detection time segment is very short, the length of the selected detection time segment determines the accuracy of the frame rate detection of this time segment. Since there is more data in the longer detection time segment, the detection result is more accurate.
在本实施例中,在接收并处理视频流的最初,上述当前探测时间片段为第一个选取的探测时间片段,通过帧率探测算法对该探测时间片段进行视频帧率探测,得出当前视频帧率。In this embodiment, at the beginning of receiving and processing the video stream, the above-mentioned current detection time segment is the first selected detection time segment, and the video frame rate detection is performed on the detection time segment through the frame rate detection algorithm to obtain the current video frame rate.
S1012:将所述当前视频帧率设置为转码帧率,按照所述转码帧率对所述当前探测时间片段及所述当前探测时间片段至所述下一探测时间片段之间的所述视频流进行转码。S1012: Set the current video frame rate as a transcoding frame rate, and perform a comparison between the current detection time segment and the time period between the current detection time segment and the next detection time segment according to the transcoding frame rate. The video stream is transcoded.
在本实施例中,探测到的当前视频帧率将作为转码的转码帧率,通过将该当前视频帧率设置至转码装置中,例如设置到解码器的上下文参数和编码器的上下文参数中,转码装置按照转码帧率,即探测到的当前视频帧率,对当前探测时间片段,以及当前探测时间片段至所述下一探测时间片段之间的视频流进行转码。In this embodiment, the detected current video frame rate is used as the transcoding frame rate for transcoding. By setting the current video frame rate in the transcoding device, for example, setting the context parameters of the decoder and the context of the encoder Among the parameters, the transcoding device transcodes the current detection time segment and the video stream between the current detection time segment and the next detection time segment according to the transcoding frame rate, that is, the detected current video frame rate.
可以看出,探测到的当前视频帧率是有局限性的,其只作为特定时间片段内的视频流的转码帧率,这是因为,对视频流的探测过程是实时的,通过实时探测视频流的视频帧率,很好的克服了因网络不稳定导致视频流抖动而造成的视频帧率改变的问题。It can be seen that the detected current video frame rate is limited, and it is only used as the transcoding frame rate of the video stream in a specific time segment. This is because the detection process of the video stream is real-time. The video frame rate of the video stream can well overcome the problem of changing the video frame rate caused by the jitter of the video stream caused by the unstable network.
S102:根据所述当前视频帧率与之前视频帧率,确定所述视频流下一探测时间片段。S102: Determine the next detection time segment of the video stream according to the current video frame rate and the previous video frame rate.
在本实施例中,每次探测完成后,还会进行下一次探测,直至转码过程结束。在转码过程中,探测视频帧率会占用系统资源,如果频繁的进行探测会极大增加系统负担,因而要对探测的时机进行恰当的设置,平衡转码质量和系统性能。In this embodiment, after each detection is completed, the next detection will be performed until the transcoding process ends. During the transcoding process, detecting the video frame rate will occupy system resources. Frequent detection will greatly increase the system burden. Therefore, it is necessary to properly set the detection timing to balance the transcoding quality and system performance.
在本实施例中,所述根据所述当前视频帧率与之前视频帧率,确定所述视频流下一探测时间片段的步骤S102具体包括S1021-S1022两个子步骤,如图3所示。In this embodiment, the step S102 of determining the next detection time segment of the video stream according to the current video frame rate and the previous video frame rate specifically includes two sub-steps S1021-S1022, as shown in FIG. 3 .
S1021:计算所述当前视频帧率与所述之前视频帧率的差值。S1021: Calculate the difference between the current video frame rate and the previous video frame rate.
在视频流转码初期,当前视频帧率为第一次探测得出的视频帧率,因而不存在之前视频帧率,在这种情况下,提前设定好当前探测时间片段和下一探测时间片段。In the early stage of video stream transcoding, the current video frame rate is the video frame rate obtained by the first detection, so there is no previous video frame rate. In this case, the current detection time segment and the next detection time segment are set in advance. .
第二次视频帧率探测完成时,当前视频帧率为第二次探测得出的视频帧率,此时,之前视频帧率为第一次探测得出的视频帧率。When the second video frame rate detection is completed, the current video frame rate is the video frame rate obtained by the second detection, and at this time, the previous video frame rate is the video frame rate obtained by the first detection.
第三次视频帧率探测完成时,当前视频帧率为第三次探测得出的视频帧率,此时,之前视频帧率有多种设定方式。When the third video frame rate detection is completed, the current video frame rate is the video frame rate obtained by the third detection. At this time, there are multiple ways to set the previous video frame rate.
之前视频帧率的一种设定方式为,之前视频帧率为第二次探测得出的视频帧率,即之前视频帧率为当前探测的前一次探测得出的视频帧率,这种设定方式下,之前视频帧率不需要统计历次探测得出的视频帧率,能够实时反映当前视频流的帧率变化情况。A setting method of the previous video frame rate is that the previous video frame rate is the video frame rate obtained by the second detection, that is, the previous video frame rate is the video frame rate obtained by the previous detection of the current detection. In the fixed mode, the previous video frame rate does not need to count the video frame rate obtained from previous detections, and can reflect the frame rate change of the current video stream in real time.
之前视频帧率的另一种设定方式为,之前视频帧率为综合第一次探测得出的视频帧率和第二次探测得出的视频帧率而得出的参考视频帧率,即之前视频帧率为综合当前探测的之前历次探测的视频帧率而得出的参考视频帧率,例如对第一次探测值和第二次探测值设定权重,假设第一次探测值的权重为40%,第二次探测值的权重为60%,按照权重计算方式计算得出参考视频帧率。这种设定方式下,之前视频帧率参考了历次探测数据,更接近视频流的实际帧率。Another way of setting the previous video frame rate is that the previous video frame rate is the reference video frame rate obtained by synthesizing the video frame rate obtained by the first detection and the video frame rate obtained by the second detection, that is, The previous video frame rate is the reference video frame rate obtained by synthesizing the video frame rates of the previous detections of the current detection. For example, the weight of the first detection value and the second detection value is set, and the weight of the first detection value is assumed. is 40%, the weight of the second detection value is 60%, and the reference video frame rate is calculated according to the weight calculation method. In this setting mode, the previous video frame rate refers to the previous detection data, which is closer to the actual frame rate of the video stream.
在已经进行过两次视频帧率探测的情况下,通过计算当前视频帧率与之前视频帧率的差值,确定下一探测时间片段。In the case that two video frame rate detections have been performed, the next detection time segment is determined by calculating the difference between the current video frame rate and the previous video frame rate.
S1022:如果所述差值大于设定差值,则缩短所述当前探测时间片段与所述下一探测时间片段的时间间隔;如果所述差值小于等于设定差值,则延长所述当前探测时间片段与所述下一探测时间片段的时间间隔。S1022: If the difference is greater than a set difference, shorten the time interval between the current detection time segment and the next detection time segment; if the difference is less than or equal to a set difference, lengthen the current detection time segment The time interval between the probe time segment and the next probe time segment.
在本实施例中,当前视频帧率与之前视频帧率的差值越小,说明当前视频流的稳定程度越好,可以延长当前视频帧率作为转码帧率的适用时间,此时,需要适当延长进行下一探测的时间间隔。如果当前视频帧率与之前视频帧率的差值越大,说明当前视频流的稳定程度较差,此时,需要适当缩短进行下一探测的时间间隔,增加探测次数,按照探测得到的视频帧率作为转码帧率。In this embodiment, the smaller the difference between the current video frame rate and the previous video frame rate, the better the stability of the current video stream, and the applicable time of the current video frame rate as the transcoding frame rate can be extended. Properly extend the time interval for the next probe. If the difference between the current video frame rate and the previous video frame rate is larger, the stability of the current video stream is poor. At this time, it is necessary to appropriately shorten the time interval for the next detection and increase the number of detections. rate as the transcoding frame rate.
需要说明的是,上述设定差值反映了转码后视频流稳定程度的可接受度,例如当设定差值较小时,得到的视频流稳定程度较高,此时可接受度较高;当设定差值较大时,得到的视频流稳定程度较低,此时可接受度较低。It should be noted that the above-mentioned set difference reflects the acceptability of the stability of the video stream after transcoding. For example, when the set difference is small, the obtained video stream has a higher degree of stability, and the acceptability is higher at this time; When the set difference value is large, the obtained video stream has a low degree of stability and a low degree of acceptability.
S103:对所述视频流所述下一探测时间片段的视频帧率进行探测,得出下一视频帧率,并将所述转码帧率更新为所述下一视频帧率,按照更新后的所述转码帧率对所述视频流进行转码。S103: Detect the video frame rate of the next detection time segment of the video stream, obtain the next video frame rate, and update the transcoding frame rate to the next video frame rate, according to the updated The transcoding frame rate of the video stream is transcoded.
由于视频帧率的探测过程是不断进行的,因而需要不断地调整转码帧率,进而更好地对视频流进行转码。Since the detection process of the video frame rate is carried out continuously, it is necessary to continuously adjust the transcoding frame rate to better transcode the video stream.
在本实施例中,所述对所述视频流所述下一探测时间片段的视频帧率进行探测,得出下一视频帧率,并将所述转码帧率更新为所述下一视频帧率,按照更新后的所述转码帧率对所述视频流进行转码的步骤S103具体包括S1031-S1032两个子步骤,如图4所示。In this embodiment, the video frame rate of the next detection time segment of the video stream is detected to obtain the next video frame rate, and the transcoding frame rate is updated to the next video frame rate, the step S103 of transcoding the video stream according to the updated transcoding frame rate specifically includes two sub-steps S1031-S1032, as shown in FIG. 4 .
S1031:根据所述帧率探测算法探测所述下一探测时间片段的视频帧率,得出所述下一视频帧率。S1031: Detect the video frame rate of the next detection time segment according to the frame rate detection algorithm, and obtain the next video frame rate.
在本实施例中,整个转码过程中采用的帧率探测算法是相同的,根据帧率探测算法探测下一探测时间片段的视频帧率,得出下一视频帧率。需要说明的是,进行下一探测时间片段的视频帧率探测时,其过程与步骤S101一样,并且在对下一探测时间片段进行探测时,该下一探测时间片段即为当前时间片段。本方法中的当前探测时间片段与下一探测时间片段的命名,其命名目的是为了区分帧率探测的前后顺序。In this embodiment, the frame rate detection algorithm used in the entire transcoding process is the same, and the next video frame rate is obtained by detecting the video frame rate of the next detection time segment according to the frame rate detection algorithm. It should be noted that when detecting the video frame rate of the next detection time segment, the process is the same as step S101, and when detecting the next detection time segment, the next detection time segment is the current time segment. The naming of the current detection time segment and the next detection time segment in this method is for the purpose of distinguishing the sequence of frame rate detection.
S1032:将所述转码帧率更新为所述下一视频帧率,按照更新后的所述转码帧率对所述下一探测时间片段及所述下一探测时间片段至再次探测前的所述视频流进行转码。S1032: Update the transcoding frame rate to the next video frame rate, and analyze the next detection time segment and the next detection time segment to the time before re-detection according to the updated transcoding frame rate The video stream is transcoded.
当探测到下一视频帧率后,之前的转码帧率停止使用,将转码帧率更新为下一视频帧率,按照更新后的转码帧率,对下一探测时间片段以及下一探测时间片段至再次探测前的时间间隔内的视频流进行转码。When the next video frame rate is detected, the previous transcoding frame rate is stopped, and the transcoding frame rate is updated to the next video frame rate. According to the updated transcoding frame rate, the next detection time segment and the next Transcoding is performed on the video stream in the time interval from the detection of the time segment to the time before re-detection.
需要说明的是,当前的视频帧率和之前的视频帧率共同决定下一次视频探测的时机,即对视频流的视频帧率探测是循环进行的,直至视频流转码结束。It should be noted that the current video frame rate and the previous video frame rate jointly determine the timing of the next video detection, that is, the video frame rate detection of the video stream is performed cyclically until the video stream transcoding ends.
通过对视频流帧率的实时探测,保证了视频流转码过程中转码帧率的准确性,避免错误的过大的帧率导致的带宽浪费,以及错误的过小的帧率导致画面质量的下降,保证转码前后画面质量和码率的一致性。进而保证了视频流转码的质量和效果。Through real-time detection of the frame rate of the video stream, the accuracy of the transcoding frame rate during the video stream transcoding process is ensured, avoiding the waste of bandwidth caused by the wrong frame rate that is too large, and the degradation of the picture quality caused by the wrong frame rate that is too small. , to ensure the consistency of picture quality and bit rate before and after transcoding. This ensures the quality and effect of video stream transcoding.
可以看出,本实施例所述的转码控制方法是通过实时探测的转码帧率来对转码过程进行控制。参见图5,图5示出了应用本转码控制方法的转码具体流程图。It can be seen that the transcoding control method described in this embodiment controls the transcoding process through the real-time detection of the transcoding frame rate. Referring to Fig. 5, Fig. 5 shows a specific flowchart of transcoding applying the present transcoding control method.
首先,读取输入的音视频流,并获取音视频流的封装格式、音视频参数以及编解码参数信息。First, read the input audio and video stream, and obtain the encapsulation format, audio and video parameters, and codec parameter information of the audio and video stream.
之后,对音视频流解封装,分离音视频数据。After that, the audio and video streams are decapsulated to separate the audio and video data.
对于视频数据,通过本实施例的转码控制方法获取视频帧率后,将视频帧率设置至解码器上下文参数和编码器上下文参数中,进而解码视频数据,对视频滤镜处理,并编码滤镜处理后的视频数据。For video data, after obtaining the video frame rate through the transcoding control method of this embodiment, the video frame rate is set to the decoder context parameter and the encoder context parameter, and then the video data is decoded, the video filter is processed, and the encoding filter is performed. mirrored video data.
对于音频数据,解码音频数据,对音频数据滤镜处理,并编码滤镜处理后的音频数据。For audio data, decode the audio data, filter the audio data, and encode the filtered audio data.
最后,按照输出文件类型对音视频数据封装,输出转码后的音视频。Finally, encapsulate the audio and video data according to the output file type, and output the transcoded audio and video.
图5所示的是该转码控制方法在视频直播过程中对视频流进行转码处理的一种实施方式,不作为对该转码控制方法的其他实施方式的限定。FIG. 5 shows an implementation of the transcoding control method for transcoding a video stream during a live video broadcast, which is not a limitation of other implementations of the transcoding control method.
实施例二Embodiment 2
参见图6,本发明实施例提供了一种转码控制装置,可以执行实施例一中提供的转码控制方法,包括:Referring to FIG. 6 , an embodiment of the present invention provides a transcoding control apparatus, which can execute the transcoding control method provided in Embodiment 1, including:
第一探测模块210,用于对视频流当前探测时间片段的视频帧率进行探测,得出当前视频帧率,并设置当前视频帧率为转码帧率,按照转码帧率对视频流进行转码;The first detection module 210 is configured to detect the video frame rate of the current detection time segment of the video stream, obtain the current video frame rate, set the current video frame rate to the transcoding frame rate, and perform the video stream processing according to the transcoding frame rate. transcoding;
控制模块220,用于根据当前视频帧率与之前视频帧率,确定视频流下一探测时间片段;The control module 220 is used to determine the next detection time segment of the video stream according to the current video frame rate and the previous video frame rate;
第二探测模块230,用于对视频流下一探测时间片段的视频帧率进行探测,得出下一视频帧率,并将转码帧率更新为下一视频帧率,按照更新后的转码帧率对视频流进行转码。The second detection module 230 is configured to detect the video frame rate of the next detection time segment of the video stream, obtain the next video frame rate, and update the transcoding frame rate to the next video frame rate, according to the updated transcoding frame rate. Frame rate to transcode the video stream.
在本实施例中,上述转码控制装置在探测视频流的视频帧率时,还需要其它装置的配合,例如视频流封装模式的获取装置、解封装处理装置、编码器、解码器等,这些装置完成了现有视频流的转码流程,该转码控制装置是在现有转码流程的基础上中添加的一个探测视频流视频帧率的装置。In this embodiment, when the above-mentioned transcoding control device detects the video frame rate of the video stream, it also needs the cooperation of other devices, such as a device for obtaining the encapsulation mode of a video stream, a device for decapsulating processing, an encoder, a decoder, and the like. The device completes the transcoding process of the existing video stream, and the transcoding control device is a device for detecting the video frame rate of the video stream added on the basis of the existing transcoding process.
参见图7,在本实施例中,第一探测模块210包括第一探测子模块211和第一设置子模块212。Referring to FIG. 7 , in this embodiment, the first detection module 210 includes a first detection sub-module 211 and a first setting sub-module 212 .
第一探测子模块211,用于根据帧率探测算法探测当前探测时间片段的视频帧率,得出当前视频帧率。The first detection sub-module 211 is configured to detect the video frame rate of the current detection time segment according to the frame rate detection algorithm, and obtain the current video frame rate.
第一设置子模块212,用于将当前视频帧率设置为转码帧率,按照转码帧率对当前探测时间片段及当前探测时间片段至下一探测时间片段之间的视频流进行转码。The first setting submodule 212 is used to set the current video frame rate as the transcoding frame rate, and transcode the current detection time segment and the video stream between the current detection time segment and the next detection time segment according to the transcoding frame rate .
参见图8,在本实施例中,控制模块220包括计算子模块221和判断子模块222。Referring to FIG. 8 , in this embodiment, the control module 220 includes a calculation sub-module 221 and a judgment sub-module 222 .
计算子模块221,用于计算当前视频帧率与之前视频帧率的差值。The calculation sub-module 221 is configured to calculate the difference between the current video frame rate and the previous video frame rate.
判断子模块222,用于判断:Judging sub-module 222, for judging:
如果差值大于设定差值,则缩短当前探测时间片段与下一探测时间片段的时间间隔;或者If the difference is greater than the set difference, shorten the time interval between the current detection time segment and the next detection time segment; or
如果差值小于等于设定差值,则延长当前探测时间片段与下一探测时间片段的时间间隔。If the difference is less than or equal to the set difference, the time interval between the current detection time segment and the next detection time segment is extended.
参见图9,在本实施例中,第二探测模块230包括第二探测子模块231和第二设置子模块232。Referring to FIG. 9 , in this embodiment, the second detection module 230 includes a second detection sub-module 231 and a second setting sub-module 232 .
第二探测子模块231,用于根据帧率探测算法探测下一探测时间片段的视频帧率,得出下一视频帧率。The second detection sub-module 231 is configured to detect the video frame rate of the next detection time segment according to the frame rate detection algorithm, and obtain the next video frame rate.
第二设置子模块232,用于将转码帧率更新为下一视频帧率,按照更新后的转码帧率对下一探测时间片段及下一探测时间片段至再次探测前的视频流进行转码。The second setting sub-module 232 is used to update the transcoding frame rate to the next video frame rate, and perform the next detection time segment and the next detection time segment to the video stream before re-detection according to the updated transcoding frame rate. Transcode.
实施例三Embodiment 3
本发明实施例提供了一种视频直播方法,包括实施例一中提供的转码控制方法。An embodiment of the present invention provides a video live broadcast method, including the transcoding control method provided in the first embodiment.
现有的视频直播方法中,对视频流的转码是依靠视频源提供商提供的视频格式信息,包括视频分辨率、码率、帧率,在对视频流的转码过程中,如果直接按照上述视频格式信息进行转码,当上述视频格式信息不准确时,会造成转码质量不佳,影响直播效果。In the existing video live broadcast method, the transcoding of the video stream relies on the video format information provided by the video source provider, including the video resolution, bit rate, and frame rate. The above video format information is transcoded. When the above video format information is inaccurate, the transcoding quality will be poor and the live broadcast effect will be affected.
在本实施例中,再次参加图5,在直播过程中,首先,读取输入的直播音视频流,并获取音视频流的封装格式、音视频参数以及编解码参数信息。In this embodiment, referring to FIG. 5 again, in the live broadcast process, first, read the input live audio and video stream, and obtain the encapsulation format, audio and video parameters, and codec parameter information of the audio and video stream.
之后,对音视频流解封装,分离音视频数据。After that, the audio and video streams are decapsulated to separate the audio and video data.
对于视频数据,通过实施例一的转码控制方法获取视频帧率后,将视频帧率设置至解码器上下文参数和编码器上下文参数中,进而解码视频数据,对视频滤镜处理,并编码滤镜处理后的视频数据。For video data, after obtaining the video frame rate through the transcoding control method of the first embodiment, the video frame rate is set to the decoder context parameter and the encoder context parameter, and then the video data is decoded, the video filter is processed, and the encoding filter is performed. mirrored video data.
对于音频数据,解码音频数据,对音频数据滤镜处理,并编码滤镜处理后的音频数据。For audio data, decode the audio data, filter the audio data, and encode the filtered audio data.
最后,按照输出文件类型对音视频数据封装,将转码后的音视频输出至接收直播的各种接收终端,例如用户手机、个人电脑等。Finally, encapsulate the audio and video data according to the output file type, and output the transcoded audio and video to various receiving terminals that receive the live broadcast, such as the user's mobile phone, personal computer, etc.
通过在该直播方法中实施实施例一提供的转码控制方法,得到了视频流准确的视频帧率,更好地改善了直播效果。By implementing the transcoding control method provided in the first embodiment in the live broadcast method, an accurate video frame rate of the video stream is obtained, and the live broadcast effect is better improved.
实施例四Embodiment 4
本发明实施例提供了一种视频直播系统,包括实施例二中提供的转码控制装置。An embodiment of the present invention provides a live video system, including the transcoding control device provided in the second embodiment.
在本实施例中,该视频直播系统包括:In this embodiment, the live video system includes:
封装模式获取装置,用于从音视频流中获取封装格式信息、音视频参数以及编解码参数信息。The encapsulation mode acquiring device is used for acquiring encapsulation format information, audio and video parameters and codec parameter information from the audio and video stream.
解封装处理装置,用于解封装分离音视频。The decapsulation processing device is used to decapsulate and separate audio and video.
转码控制装置,用于探测视频帧率。Transcoding control device for detecting video frame rate.
音视频解码装置,用于将视频解码为YUV数据,音频解码为PCM数据。The audio and video decoding device is used to decode video into YUV data and audio into PCM data.
滤镜处理装置,用于音视频的滤镜处理。The filter processing device is used for audio and video filter processing.
音视频编码装置,用于将滤镜处理后的音视频数据进行编码。The audio and video encoding device is used for encoding the audio and video data processed by the filter.
封装处理装置,用于将编码后的音视频数据按照要求的封装格式进行封装。The encapsulation processing device is used to encapsulate the encoded audio and video data according to the required encapsulation format.
该视频直播系统将封装处理后的音视频输出至接收直播的各种接收终端。The video live broadcast system outputs the encapsulated audio and video to various receiving terminals that receive the live broadcast.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710065863.0A CN106817588B (en) | 2017-02-06 | 2017-02-06 | Transcoding control method and device, net cast method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710065863.0A CN106817588B (en) | 2017-02-06 | 2017-02-06 | Transcoding control method and device, net cast method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106817588A CN106817588A (en) | 2017-06-09 |
CN106817588B true CN106817588B (en) | 2019-07-05 |
Family
ID=59112369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710065863.0A Active CN106817588B (en) | 2017-02-06 | 2017-02-06 | Transcoding control method and device, net cast method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106817588B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108174290B (en) * | 2018-01-25 | 2019-05-24 | 北京百度网讯科技有限公司 | Method and apparatus for handling video |
CN110278459A (en) * | 2018-03-16 | 2019-09-24 | 上海小麦互动企业发展有限公司 | Content control system and its control method |
CN108712422B (en) * | 2018-05-18 | 2021-05-25 | 网宿科技股份有限公司 | A method and apparatus for creating a transcoding task |
CN110798738B (en) * | 2018-08-01 | 2022-01-28 | Oppo广东移动通信有限公司 | Frame rate control method, device, terminal and storage medium |
CN110401850B (en) * | 2019-07-30 | 2021-10-22 | 网宿科技股份有限公司 | A method and device for transparently transmitting custom SEI |
CN111866533B (en) * | 2020-07-13 | 2022-03-08 | 网宿科技股份有限公司 | Live broadcast transcoding method and device |
CN114363303B (en) * | 2021-12-31 | 2023-06-02 | 上海网达软件股份有限公司 | Streaming media transcoding method for realizing rapid playing of surveillance video |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8897370B1 (en) * | 2009-11-30 | 2014-11-25 | Google Inc. | Bitrate video transcoding based on video coding complexity estimation |
CN101888513B (en) * | 2010-06-29 | 2012-09-05 | 深圳市融创天下科技股份有限公司 | Method for converting video frame rate |
CA2871917C (en) * | 2013-05-02 | 2022-06-21 | This Technology, Inc. | Server side adaptive bit rate reporting |
CN103916679B (en) * | 2014-03-10 | 2018-04-10 | 百度在线网络技术(北京)有限公司 | A kind of method, equipment and system for being used to provide video information |
US9374604B2 (en) * | 2014-03-31 | 2016-06-21 | Arris Enterprises, Inc. | Adaptive streaming transcoder synchronization |
CN105491461B (en) * | 2014-10-11 | 2018-11-20 | 成都鼎桥通信技术有限公司 | A kind of video transmission method |
-
2017
- 2017-02-06 CN CN201710065863.0A patent/CN106817588B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106817588A (en) | 2017-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106817588B (en) | Transcoding control method and device, net cast method and system | |
US10187668B2 (en) | Method, system and server for live streaming audio-video file | |
US9271003B2 (en) | Real-time audio or video transcoding | |
JP6064251B2 (en) | Signaling and transport of metadata information in dynamic adaptive hypertext transfer protocol streaming | |
CN110996160B (en) | Video processing method and device, electronic equipment and computer readable storage medium | |
CN103200425B (en) | A kind of multimedia processing apparatus and method | |
CN107634930B (en) | A kind of acquisition method and device of media data | |
US11882323B2 (en) | Audio splicing concept | |
US10476928B2 (en) | Network video playback method and apparatus | |
CN105721811A (en) | Live video recording method and system | |
CN108810657B (en) | A method and system for setting video cover | |
CN106792154B (en) | Frame skipping synchronization system of video player and control method thereof | |
CN103430535B (en) | The long-range trans-coding system of enhancing and method dissected using content | |
CN112261377B (en) | Web edition monitoring video playing method, electronic equipment and storage medium | |
EP2974323A1 (en) | Method for decreasing the bit rate needed to transmit videos over a network by dropping video frames | |
CN107659819A (en) | A kind of method and apparatus of video code conversion | |
WO2017186036A1 (en) | Playing processing method, terminal device, and computer storage medium | |
CN106878290B (en) | Audio and video playing method and device | |
CN109587517B (en) | Multimedia file playing method and device, server and storage medium | |
CN114339267B (en) | File carousel push method and device and live push server | |
CN115209198A (en) | Video data processing method and device, terminal equipment and storage medium | |
CN112653922B (en) | Audio and video file processing method and device, terminal and storage medium | |
CN109495793B (en) | Bullet screen writing method, device, equipment and medium | |
CN110855619A (en) | Processing method and device for playing audio and video data, storage medium and terminal equipment | |
US10484725B2 (en) | Information processing apparatus and information processing method for reproducing media based on edit file |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |