Movatterモバイル変換


[0]ホーム

URL:


CN101547369A - Fault tolerance method for removing mosaic phenomenon in playing network video - Google Patents

Fault tolerance method for removing mosaic phenomenon in playing network video
Download PDF

Info

Publication number
CN101547369A
CN101547369ACN200810043195ACN200810043195ACN101547369ACN 101547369 ACN101547369 ACN 101547369ACN 200810043195 ACN200810043195 ACN 200810043195ACN 200810043195 ACN200810043195 ACN 200810043195ACN 101547369 ACN101547369 ACN 101547369A
Authority
CN
China
Prior art keywords
frame
idr
playing
data frame
network video
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.)
Granted
Application number
CN200810043195A
Other languages
Chinese (zh)
Other versions
CN101547369B (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.)
Shanda Computer Shanghai Co Ltd
Original Assignee
Shanda Computer Shanghai 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 Shanda Computer Shanghai Co LtdfiledCriticalShanda Computer Shanghai Co Ltd
Priority to CN2008100431952ApriorityCriticalpatent/CN101547369B/en
Publication of CN101547369ApublicationCriticalpatent/CN101547369A/en
Application grantedgrantedCritical
Publication of CN101547369BpublicationCriticalpatent/CN101547369B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses a fault tolerance method for removing a mosaic phenomenon in playing network video, which comprises the following steps: 1, detecting that a data frame in a buffering region of a client playing end has an error; 2, judging the error kind of the data frame and making corresponding measures; 3, judging whether a subsequent data frame contains a synchronous sign, and if so, judging whether the subsequent data frame is an IDR frame; and 4, if the subsequent data frame is the IDR frame, clearing up the data frame in the buffering region of the client playing end, removing the needed synchronous sign and carrying out the normal playing flow; and if the subsequent data frame is not the IDR frame, discharging the data frame, reading the next data frame, judging whether the next data frame is the IDR frame and repeating the step four. The method carries out detection on the data in the buffering region of the client playing end, when a wrong frame or a lost frame is detected, and a subsequent non-IDR frame is discarded to effectively remove the mosaic phenomenon.

Description

Remove the fault-tolerance approach of mosaic phenomenon in playing network video
Technical field
The present invention relates to the video playback fault-toleranr technique of Computer Multimedia Technology, particularly a kind of fault-tolerance approach of removing mosaic phenomenon in playing network video.
Background technology
The network program request is a technological means commonly used in the network, can cause all mistakes but the programme content of network program request is subjected to the influence of network environment, thereby it is unclear that user side is shown, occurs mosaic phenomenon especially easily.For example, program request impacts to network for data packet loss that may exist in the Network Transmission and time-delay arrival meeting, the user drags progress bar and also can cause link down in on-demand process, the display device of player is lost, and the Frame of decoder decode failure and player is made mistakes and can be influenced the video effect of network program request.
According to the definition of MPEG, frame is divided into the IDR frame, B frame and P frame.Wherein, the IDR frame is a key frame, adopts the reference frame pattern, and compression in the frame only is provided, and when promptly two field picture being compressed to the IDR frame, has only considered the image in the frame.The compression of IDR frame can not be removed interframe redundancy.Compression is based on discrete cosine transform in the frame, is similar to JPEG and the compression standard of use discrete cosine transform in the image H.261.The compression of IDR frame can obtain the 6:1 ratio and not produce any noticeable blooming.The B frame is two-way interframe encode.It extracts data from the IDR frame of front and back or P frame.The B frame compresses based on the difference between present frame and former frame and back one two field picture.B frame compression can reach the 200:1 compression ratio, and its document size is generally 15% of IDR frame reduced size, less than half of P frame reduced size.The P frame has adopted forward prediction, and promptly the P frame is to get according to the P frame of front or the prediction of I frame.The P frame adopts predictive coding, utilizes the general statistical information of consecutive frame to predict.That is to say that it considers kinetic characteristic, and interframe encode is provided.The IDR frame that P frame prediction present frame and front are nearest or the difference of P frame.
When video be with H.264 the coding the ASF file format time, owing to H.264 have flexible macro-block order, by being set, macro-block order shine upon at random the assignment macro block to different sheet groups, but this flexible macro-block order pattern has been upset former macro block order, reduced code efficiency, increase time-delay, but strengthened the performance of anti-error code.When the loss of data of a sheet group, can carry out error concealment with the data of another sheet group.Although the encoder that has is exactly a sheet as the frame of X264, it still can make error concealment with consecutive frame. using the topmost discomfort of fault-toleranr technique of error concealment is to cause mosaic phenomenon, and this can the very big user experience that influences.
Summary of the invention
Technical problem to be solved by this invention provides a kind of fault-tolerance approach of removing mosaic phenomenon in playing network video, can realize the filtering of optimization in the video decode reduction, avoids blank screen and mosaic phenomenon, satisfies user's demand for experience preferably.
For solving the problems of the technologies described above, a kind of technical scheme of removing the fault-tolerance approach of mosaic phenomenon in playing network video of the present invention is may further comprise the steps:
The first step, the Frame that detects in the buffering area of client playing end is wrong;
In second step, judgment data frame error kind if the reconstruction filter link mistake of link down appears then in Frame, and is provided with and needs synchronous mark, if Frame the mistake of the asynchronous or decoding failure of data occurs then directly be provided with needing synchronous mark;
The 3rd step, judge whether subsequent data frame comprises synchronous mark, if do not comprise synchronous mark, then carry out normal playing flow, if comprise synchronous mark, judge that then subsequent data frame is the IDR frame;
The 4th step, if subsequent data frame is the IDR frame, then empty the Frame in the buffering area of client playing end, removing needs synchronous mark, and carries out normal playing flow, if subsequent data frame is not the IDR frame, then abandon this Frame, read next Frame, and judge that this next one Frame is the IDR frame, and repeated for the 4th step.
The present invention is by to the detection of client playing end buffer data, when having detected when makeing mistakes frame or lost frames, abandons follow-up non-IDR frame, up to new IDR frame, so effective removal mosaic phenomenon occurring.
Description of drawings
The present invention is further detailed explanation below in conjunction with drawings and Examples:
Fig. 1 is a schematic flow sheet of the present invention;
Fig. 2 is a client playing end buffer data schematic diagram of the present invention.
Embodiment
As shown in Figure 1, adopt based on DirectShow (DirectShow be Microsoft provide one be enclosed within and carry out the kit that Streaming Media is handled on the windows platform, its supports the seizure and the playback of media stream.) mechanism the player plays Internet video time, need carry out judgment processing to Frame, whether the Frame that at first detects in the buffering area of client playing end is wrong, if there is not mistake, then carry out normal playing program, if the Frame that detects in the buffering area of client playing end is wrong, and judges its error kind.
When the judgment data frame is made mistakes classification, generally be divided into following three kinds of error category: a, the link down mistake appears in Frame; B, the decoder decode failure; C, the data of Frame are asynchronous.When the user dragged progress bar or packet loss occurs, the link down mistake appearred in Frame, needed the reconstruction filter link, and was provided with on the played data frame and needs synchronous mark; When decoder decode failure wrong occurring, mean that data may make mistakes, this is this Frame need be abandoned, and needs directly be provided with on Frame to need synchronous mark; When the nonsynchronous mistake of the data that Frame occurs, then being provided with on Frame needs synchronous mark.If when the Frame mistake not occurring, then not being provided with on Frame needs synchronous mark.
Whether need synchronous mark, if if do not comprise synchronous mark, then carry out normal playing flow, if comprise synchronous mark, judge that then subsequent data frame is the IDR frame if detecting to be provided with on the Frame.In the present invention, IDR is set to 50 to 100 frames coding once, and an IDR frame refresh sequence also can be got 80 frames among the present invention.
In the present invention, the buffering area of client playing end has 20 seconds played data at least, and as shown in Figure 2, the data of the buffering area of client playing end comprise IDR frame and P frame.Wherein, the I frame of IDR frame for refreshing immediately, the image after the IDR frame can be not reference with the image before the IDR frame more, it adopts the reference frame pattern, and compression in the frame only is provided, and the P frame is a forward reference frame, next for referencial use with the frame of front when encoding and decoding, it considers kinetic characteristic, and interframe encode is provided.P1 frame among Fig. 2, P2 frame and P3 frame are frame or the lost frames of makeing mistakes, if play these frames, can cause mosaic phenomenon, and therefore, the present invention abandons this frame, judge that subsequent data frame is the IDR frame.
If subsequent data frame is the IDR frame, then empty the Frame in the buffering area of client playing end, removal needs synchronous mark, and carry out normal playing flow, if subsequent data frame is not the IDR frame, then abandon this Frame, read next Frame, and judge that this next one Frame is the IDR frame, and repeated for the 4th step.
The present invention detects by the data to the client playing end buffering area, in time find the mistake of Frame, and the various mistakes that Frame occurs are done corresponding processing, and abandon follow-up non-IDR frame and play new IDR frame, realize removing the technical goal of Internet video mosaic phenomenon.

Claims (5)

CN2008100431952A2008-03-262008-03-26 A Fault-Tolerant Method for Removing the Mosaic Phenomenon of Network Video PlaybackExpired - Fee RelatedCN101547369B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2008100431952ACN101547369B (en)2008-03-262008-03-26 A Fault-Tolerant Method for Removing the Mosaic Phenomenon of Network Video Playback

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2008100431952ACN101547369B (en)2008-03-262008-03-26 A Fault-Tolerant Method for Removing the Mosaic Phenomenon of Network Video Playback

Publications (2)

Publication NumberPublication Date
CN101547369Atrue CN101547369A (en)2009-09-30
CN101547369B CN101547369B (en)2013-02-06

Family

ID=41194194

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2008100431952AExpired - Fee RelatedCN101547369B (en)2008-03-262008-03-26 A Fault-Tolerant Method for Removing the Mosaic Phenomenon of Network Video Playback

Country Status (1)

CountryLink
CN (1)CN101547369B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101986388A (en)*2010-09-062011-03-16建荣集成电路科技(珠海)有限公司MP3 intelligent error detection method
CN102752670A (en)*2012-06-132012-10-24广东威创视讯科技股份有限公司Method, device and system for reducing phenomena of mosaics in network video transmission
CN102883157A (en)*2011-07-122013-01-16浙江大学Video coding method and video coder
CN103167283A (en)*2011-12-192013-06-19华为技术有限公司 A video encoding method and device
US9538137B2 (en)2015-04-092017-01-03Microsoft Technology Licensing, LlcMitigating loss in inter-operability scenarios for digital video
CN106331835A (en)*2015-06-262017-01-11成都鼎桥通信技术有限公司Method of dynamically adjusting data reception cache and video decoding device
CN107302523A (en)*2017-05-262017-10-27中国科学院西安光学精密机械研究所Method for solving mosaic caused by transmission stream packet loss
CN109729380A (en)*2018-12-242019-05-07聚好看科技股份有限公司Audio and video playing method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPH02280548A (en)1989-04-211990-11-16Matsushita Electric Ind Co Ltd Error frame detection device
CN2466852Y (en)*2001-02-282001-12-19北京瑞斯康达科技发展有限公司Opto-electronic signal converter for Ethernet
CN101102485A (en)*2006-07-072008-01-09乐金电子(昆山)电脑有限公司Audio and video synchronization device and method of mobile terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101986388A (en)*2010-09-062011-03-16建荣集成电路科技(珠海)有限公司MP3 intelligent error detection method
CN102883157A (en)*2011-07-122013-01-16浙江大学Video coding method and video coder
CN102883157B (en)*2011-07-122015-09-09浙江大学Method for video coding and video encoder
CN103167283B (en)*2011-12-192016-03-02华为技术有限公司A kind of method for video coding and equipment
CN103167283A (en)*2011-12-192013-06-19华为技术有限公司 A video encoding method and device
WO2013091391A1 (en)*2011-12-192013-06-27华为技术有限公司Video encoding method and device
CN102752670B (en)*2012-06-132015-11-25广东威创视讯科技股份有限公司Reduce method, the Apparatus and system of mosaic phenomenon in Network Video Transmission
CN102752670A (en)*2012-06-132012-10-24广东威创视讯科技股份有限公司Method, device and system for reducing phenomena of mosaics in network video transmission
US9538137B2 (en)2015-04-092017-01-03Microsoft Technology Licensing, LlcMitigating loss in inter-operability scenarios for digital video
CN106331835A (en)*2015-06-262017-01-11成都鼎桥通信技术有限公司Method of dynamically adjusting data reception cache and video decoding device
CN106331835B (en)*2015-06-262019-06-07成都鼎桥通信技术有限公司A kind of dynamic adjusting data receives the method and video decoding apparatus of caching
CN107302523A (en)*2017-05-262017-10-27中国科学院西安光学精密机械研究所Method for solving mosaic caused by transmission stream packet loss
CN107302523B (en)*2017-05-262019-08-27中国科学院西安光学精密机械研究所 A Solution to Mosaic Caused by Transport Stream Packet Loss
CN109729380A (en)*2018-12-242019-05-07聚好看科技股份有限公司Audio and video playing method and apparatus
CN109729380B (en)*2018-12-242021-07-27聚好看科技股份有限公司Audio and video playing method and equipment

Also Published As

Publication numberPublication date
CN101547369B (en)2013-02-06

Similar Documents

PublicationPublication DateTitle
CN101547369A (en)Fault tolerance method for removing mosaic phenomenon in playing network video
CN101584221B (en)Video data loss recovery using low bit rate stream in an IPTV system
CN1203667C (en) System and method for creating a trick-play image stream from a compressed normal-play image bitstream
CN102264004B (en)Method and device for preventing deficiency of key frame from causing seek incapability
CN103281529A (en)Image signal decoding apparatus, image signal decoding method, image signal encoding apparatus, image signal encoding method, and program
CN106603564A (en)Unlimited high-resolution image and video playing methods and systems
CN106303379A (en)A kind of video file backward player method and system
CN101909210A (en)Network streaming media server and low-bandwidth high-quality solution thereof
CN113542804B (en)Method for detecting static frame sequence based on code stream statistical characteristics
CN116405682A (en) Dynamic Compression Coding Computer Algorithm Operating System
CN102497552A (en)Management control method of decoding buffer zone of video bit stream containing constructed images
CN105227991B (en)Reliable video storage method and its device
CN103037209B (en)The decoding processing method of frame of video and device
CN102572362B (en)Video-signal transmission method
CN100574440C (en)A kind of image and video anti-error code method based on pixel rearrangement
CN101198052A (en) A video encoding method, decoding method and device thereof
CN102342117A (en) Multi-view moving image decoding device and multi-view moving image decoding method
CN112887750A (en)Low-delay live broadcast method based on RTMP
WO2008031039A3 (en)Audio/video recording and encoding
CN101453656B (en) Video encoding, decoding method and device, and video encoding and decoding system
CN101238731A (en)Method and system for video copyright protection
CN100428799C (en) Video decoding image storage space management method
CN111212288A (en)Video data encoding and decoding method and device, computer equipment and storage medium
CN101287114B (en)Method for dynamically switching in video data stream
CN113038126A (en)Multi-description video coding method and decoding method based on frame prediction neural network

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20130206

Termination date:20200326

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp