CN104113778B - A kind of method for decoding video stream and device - Google Patents

A kind of method for decoding video stream and device Download PDF

Info

Publication number
CN104113778B
CN104113778B CN201410377484.1A CN201410377484A CN104113778B CN 104113778 B CN104113778 B CN 104113778B CN 201410377484 A CN201410377484 A CN 201410377484A CN 104113778 B CN104113778 B CN 104113778B
Authority
CN
China
Prior art keywords
video
buffering areas
dsp buffering
dsp
detection
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
CN201410377484.1A
Other languages
Chinese (zh)
Other versions
CN104113778A (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.)
Guangzhou Cheetah Network Technology Co Ltd
Original Assignee
Guangzhou Cheetah Network 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 Guangzhou Cheetah Network Technology Co Ltd filed Critical Guangzhou Cheetah Network Technology Co Ltd
Priority to CN201410377484.1A priority Critical patent/CN104113778B/en
Publication of CN104113778A publication Critical patent/CN104113778A/en
Priority to PCT/CN2015/085602 priority patent/WO2016015667A1/en
Application granted granted Critical
Publication of CN104113778B publication Critical patent/CN104113778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • 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, rendering scenes according to MPEG-4 scene graphs
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk

Abstract

The embodiment of the invention discloses a kind of method for decoding video stream and device, a kind of method for decoding video stream, including:Whether detection digital signal processor DSP buffering area is in undersaturated condition, and the DSP buffering areas are used for buffered video frame data;If it is, blank frame EOS is inserted into DSP buffering areas, until DSP buffering areas reach saturation state;Frame data in DSP buffering areas are decoded.Using above-mentioned technical proposal, it is in DSP buffering areas in undersaturated condition, DSP buffering areas in the case that residual video stream can not be immediately decoded, the embodiment of the present invention can use the method that the blank frame for not influenceing video render effect is inserted into DSP buffering areas, the DSP buffering areas are made to be rapidly achieved saturation state, then the frame data comprising above-mentioned residual video stream are decoded, realize on the basis of the partial video stream follow-up play effect is not influenceed, the decoding immediately to above-mentioned residual video flow data.

Description

A kind of method for decoding video stream and device
Technical field
The present invention relates to stream media technology field, more particularly to a kind of method for decoding video stream and device.
Background technology
To reduce the unstable influence brought to decoding video stream of network environment, before being decoded to video flowing, tool The electronic equipment for having decoding video stream function locally would generally pre-establish video stream buffer area, such as H.264 delaying in Fig. 1 Rush area;In addition, being reasonable distribution CPU (Central Processing Unit, central processing unit) resource, the electronic equipment leads to Video flowing is solved firmly frequently with DSP (Digital Signal Processor, digital signal processor), wherein, the DSP There is input block inside, describes for convenience, it is referred to as into DSP buffering areas here.
In the prior art, video decoding process delays first as shown in figure 1, when network video stream reaches the electronic equipment The H.264 buffering area pre-established is stored to, the video flowing H.264 in buffering area is cached to DSP buffering areas afterwards, treats that DSP is buffered When video flowing is full of in area, it will be decoded immediately in the DSP decoders in the pushing video streaming in DSP buffering areas to DSP.
However, because the video flowing in DSP buffering areas can only derive from H.246 buffering area, video flowing hair in a network In the case of raw blocking, network video stream can not constantly be cached to H.246 buffering area, H.264 the video flowing in buffering area It will soon be depleted, and DSP buffering areas are it is possible to be filled, now, the video flowing remained in DSP buffering areas can not be by Decode immediately, when only waiting other video flowings in H.264 buffering area to fill up the DSP buffering areas, this part residual Video flowing can be decoded, and this results in residual video stream in DSP buffering areas and is delayed by decoding.
The content of the invention
In order to solve the above problems, the embodiment of the invention discloses a kind of method for decoding video stream and device, particular technique Scheme is as follows:
A kind of method for decoding video stream, including:
Whether detection digital signal processor DSP buffering area is in undersaturated condition, wherein, the DSP buffering areas are used for Buffered video frame data;
If it is, blank frame EOS is inserted into DSP buffering areas, until the DSP buffering areas reach saturation state;
Frame data in DSP buffering areas are decoded.
Preferably, before whether the detection digital signal processor DSP buffering area is in undersaturated condition, also wrap Include:
Whether detection currently has video stream data to be cached to the DSP buffering areas, if it is not, then performing the detection numeral Whether signal processor DSP buffering areas are in undersaturated condition, wherein, the video stream data is:The video counts pre-established According to the video requency frame data in buffering area, the video data buffer pre-established, which is used to cache, derives from webserver side Video requency frame data.
Preferably, whether the detection digital signal processor DSP buffering area is in undersaturated condition, including:
Whether detection DSP buffering areas are in undersaturated condition in real time;
Or
According to default detection cycle, periodically detect whether DSP buffering areas are in undersaturated condition.
Preferably, whether the detection digital signal processor DSP buffering area is in undersaturated condition, including:
Whether the duration that detection DSP buffering areas are in undersaturated condition exceedes default threshold value.
Preferably, whether the detection digital signal processor DSP buffering area is in undersaturated condition, including:
Detect with the presence or absence of the video requency frame data in the video data buffer pre-established in DSP buffering areas, and It is not full of by video requency frame data.
Preferably, the frame data in DSP buffering areas decode, including:
The frame of video for carrying network identity in DSP buffering areas is decoded, it is described to carry regarding for network identity Frequency frame is the frame data from the video stream buffer area pre-established.
A kind of decoding video stream device, including:
First detection module, for detecting whether digital signal processor DSP buffering area is in undersaturated condition, wherein, The DSP buffering areas are used for buffered video frame data;
Blank frame fills module, in the case of being in the testing result of the first detection module, is buffered to DSP Blank frame EOS is inserted in area, until the DSP buffering areas reach saturation state;
Decoder module, for being decoded to the frame data in DSP buffering areas.
Preferably, the device also includes:
Second detection module, currently whether there is video stream data to be cached to the DSP buffering areas for detecting, and detecting As a result in the case of being no, trigger the first detection module and be operated, wherein, the video stream data is:Pre-establish Video data buffer in video requency frame data, the video data buffer pre-established be used for cache derives from network The video requency frame data of server side.
Preferably, the first detection module, is specifically used for:
Whether detection DSP buffering areas are in undersaturated condition in real time;
Or
According to default detection cycle, periodically detect whether DSP buffering areas are in undersaturated condition.
Preferably, the first detection module, is specifically used for:
Whether the duration that detection DSP buffering areas are in undersaturated condition exceedes default threshold value.
Preferably, the first detection module, is specifically used for:
Detect with the presence or absence of the video requency frame data in the video data buffer pre-established in DSP buffering areas, and It is not full of by video requency frame data.
Preferably, the decoder module, is specifically used for:
The frame of video for carrying network identity in DSP buffering areas is decoded, it is described to carry regarding for network identity Frequency frame is the frame data from the video stream buffer area pre-established.
The embodiment of the present invention is covered in frame of video to be played by introducing but not influences the video frame display to be played The blank frame of effect, and the type blank frame is inserted into the technology of DSP buffering areas, it is in not in DSP buffering areas so as to realize In the case of saturation state, the residual video stream in DSP buffering areas is decoded immediately, specific implementation step is as follows:In DSP Buffer area is in the case of undersaturated condition, blank frame can be inserted to the DSP buffering areas, until the DSP buffering areas reach full And state;Frame data in DSP buffering areas are decoded.
Compared with prior art, being in undersaturated condition, DSP buffering areas residual video stream in DSP buffering areas can not be by In the case of decoding immediately, the embodiment of the present invention, which can use to insert into DSP buffering areas, does not influence video render effect The method of blank frame, the DSP buffering areas is rapidly achieved saturation state, then the frame data comprising above-mentioned residual video stream are entered Row decoding, is realized on the basis of the partial video stream follow-up play effect is not influenceed, to above-mentioned residual video flow data Decode immediately.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the exemplary process diagram of method for decoding video stream in the prior art;
Fig. 2 a are a kind of flow chart of method for decoding video stream provided in an embodiment of the present invention;
Fig. 2 b are a kind of exemplary process diagram of method for decoding video stream provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another method for decoding video stream provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of decoding video stream device provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another decoding video stream device provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the present invention, implement below in conjunction with the present invention Accompanying drawing in example, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment Only part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the common skill in this area The every other embodiment that art personnel are obtained under the premise of creative work is not made, belong to the model that the present invention protects Enclose.
With the fast development of network multimedia technology, the network multimedia file of diversification enrich constantly people's vision and Auditory perception;The appearance of Streaming Media (such as video flowing, audio stream etc.) so that user is such not necessarily like non-stream broadcast mode, Content therein could be watched after whole multimedia file is fully downloaded to playback equipment local;And it need to only pass through several seconds or several The transmission delay of ten seconds can be decoded and played to it on playback equipment, and it is that user brings new audiovisual experience.
As a kind of existence form of video, video flowing the network transmission of the video file, the decoding of playback equipment and Play the role of in terms of broadcasting important.In order to make it easy to understand, the existing playing process to video flowing is briefly described:Receiving After the video flowing sent to webserver side, the video flowing is cached to the video stream buffer pre-established by playback equipment first Area's (such as H.264 buffering area in Fig. 1), is cached to DSP buffering areas, then to the network side video by the video flowing again afterwards Stream is decoded and played, in order to be played in real time to the webserver side video stream cached in DSP buffering areas, this Inventive embodiments provide a kind of method for decoding video stream and device.
A kind of method for decoding video stream provided in an embodiment of the present invention is introduced first below.
It should be noted that present invention method is suitable for electronic equipment, and in actual applications, the electronic equipment Can be that notebook computer, desktop computer, tablet personal computer, and smart mobile phone etc., the embodiment of the present invention are not construed as limiting to this;
Further, since in the market H.264 the Video coding mode of main flow is, and four kinds of image quality rank BP H.264 (Baseline Profile, basic image quality), EP (Extended Profile, advanced image quality), MP (Main Profile, master Flow image quality), BP is the most basic in HP (High Profile, advanced image quality), will focus in full using the BP video flowings in H.264 as Present invention method is introduced example.
As shown in Figure 2 a, a kind of method for decoding video stream, can include:
Whether S201, detection digital signal processor DSP buffering area are in undersaturated condition;If it is, go to S202.
Under normal circumstances, input buffering is included in DSP (Digital Signal Processor, digital signal processor) Area and output buffer, for the ease of description, in embodiments of the present invention, by the input block abbreviation of digital signal processor For DSP buffering areas, its main function is to carry out temporary cache to entering DSP video requency frame data.
In order to which in the situation of unstable networks, (for example network shakiness causes the H.264 video flowing of webserver side Can moment pour in playback equipment) under normal work, it will usually one piece is opened up in the driving of video playback apparatus or hardware in advance Video stream buffer area, carry out H.264 video stream data of the temporary cache from webserver side, for the ease of description, in this hair In bright embodiment, the video stream buffer area opened up is referred to as H.264 buffering area, as shown in Figure 2 b.
It is understood that the buffering area opened up is smaller, video flowing reaches the delay of DSP buffering areas with regard to smaller, the video The broadcast time-delay of stream is also just smaller, but may cause to play unsmooth;The buffering area opened up is bigger, and broadcasting is then more smooth, but regards The delay that frequency stream reaches DSP buffering areas is longer.
In embodiments of the present invention, as shown in Figure 2 b, H.264 the H.264 video flowing of webserver side is cached to first In buffering area, H.264 the video flowing in buffering area is cached in DSP buffering areas, and detection DSP buffering areas are in undersaturated condition can To be interpreted as detecting whether DSP buffering areas are not full of from the frame of video H.264 in buffering area.
Optionally, in an embodiment of the invention, it can detect whether DSP buffering areas are in unsaturated shape in real time State.
Optionally, in yet another embodiment of the present invention, can periodically be detected according to default detection cycle Whether DSP buffering areas are in undersaturated condition;For example one-time detection is carried out to DSP buffering area every 1s.
It should be noted that the default detection cycle in the present invention can be the detection week of playback equipment system default Phase, or the detection cycle of user's sets itself according to the actual requirements, the embodiment of the present invention are not construed as limiting to this.
S202, blank frame EOS is inserted into DSP buffer areas, until the DSP buffering areas reach saturation state.
Blank frame in the embodiment of the present invention can be understood as transparent frame, be covered in the frame of video with real screen content On the result of broadcast of the frame of video will not be had an impact, in H.264 coded system, the blank frame is also designated as EOS frames.
It has been mentioned hereinbefore that only when DSP buffering areas are filled, DSP decoders can be in saturation state to this The frame of video of DSP buffering areas decoded;In embodiments of the present invention, when causing DSP to buffer due to reasons such as network congestions When area is in undersaturated condition, it can be in this in DSP buffering areas of unsaturated state and insert blank frame (as shown in Figure 2 b), So that the DSP buffering areas are rapidly reached saturation state.
It should be noted that when DSP buffering areas are in saturation state, present invention method will not continue to this Blank frame is inserted in DPS buffering areas, to avoid the frame losing problem caused by frame data overfill in DSP buffering areas.
S203, the frame data in DSP buffering areas are decoded.
When DSP buffering areas reach saturation state, the frame data included including blank frame of the DSP buffering areas can be forced All overflow, the frame data remained in the DSP buffering areas are decoded so as to realize.
Using above-mentioned technical proposal, the embodiment of the present invention is covered in frame of video to be played by introducing but not influences to be somebody's turn to do The blank frame of frame of video bandwagon effect to be played, and the type blank frame is inserted into the technology of DSP buffering areas, so as to realize In the case where DSP buffering areas are in undersaturated condition, the residual video stream in DSP buffering areas is decoded immediately, specifically Realize that step is as follows:In the case of DSP buffer areas are in undersaturated condition, blank frame can be inserted to the DSP buffering areas, until The DSP buffering areas reach saturation state;Frame data in DSP buffering areas are decoded.
Compared with prior art, being in undersaturated condition, DSP buffering areas residual video stream in DSP buffering areas can not be by In the case of decoding immediately, the embodiment of the present invention, which can use to insert into DSP buffering areas, does not influence video render effect The method of blank frame, the DSP buffering areas is rapidly achieved saturation state, then the frame data comprising above-mentioned residual video stream are entered Row decoding, is realized on the basis of the partial video stream follow-up play effect is not influenceed, to above-mentioned residual video flow data Decode immediately.
Optionally, in one embodiment of the invention, above-mentioned S201, can include:
Whether the duration that detection DSP buffering areas are in undersaturated condition exceedes default threshold value.
It is understood that as shown in Figure 2 b, under normal circumstances, H.264 the H.264 video flowing in buffering area is cached to DSP buffering areas only need the extremely short time;Sometimes, the problem of temporary block occurs in network, but can recover normal quickly, now DSP buffering areas may be of short duration be in undersaturated condition, saturation state can be reached again quickly, and follow-up broadcasting will not be imitated Fruit produces large effect.
Based on the above situation, in embodiments of the present invention, the duration for not influenceing an overall viewing effect threshold can be set Value, if the duration that DSP buffering areas are in undersaturated condition exceedes duration threshold value, blank frame is inserted into the DSP buffering areas, The DSP buffering areas are made to be rapidly reached saturation state;If the duration that DSP buffering areas are in undersaturated condition is no more than duration threshold value (such as the above situation), then it can not insert blank frame into the DSP buffering areas.
Optionally, in one embodiment of the invention, above-mentioned S201, can include:
Detect with the presence or absence of the video requency frame data in the video data buffer pre-established in DSP buffering areas, and It is not full of by video requency frame data.
Optionally, in one embodiment of the invention, above-mentioned S203, can include:
The video requency frame data for carrying network identity in DSP buffering areas is decoded;Wherein, it is described to carry network The frame of video of mark is the frame data from the video stream buffer area pre-established.
It is understood that the video requency frame data that webserver side is sent all carries the network identities such as timestamp, this The video requency frame data for carrying network identity in inventive embodiments can be understood as webserver side and be sent to playback equipment In video requency frame data, because the frame data that webserver side is sent are cached in H.264 buffering area first, therefore can also manage Solve as from the video requency frame data of the H.264 buffering area pre-established.
In embodiments of the present invention, only the frame of video comprising substantive content can be decoded, is regarded so as to maintain this The original presentation effect of frequency frame.
Optionally, in another embodiment of the present invention, as shown in figure 3, before above-mentioned S201, can also include:
Whether S200, detection currently have video stream data to be cached to the DSP buffer areas.
In embodiments of the present invention, before whether detection DSP buffering areas are in undersaturated condition, can be worked as by detection It is preceding whether to there is video stream data to be cached to the DSP buffering areas, whether to determine the need for detecting DSP buffering areas in unsaturation State;The DSP buffering areas are cached to currently without video stream data if detected, can determine that current network obstruction is tighter Weight, if now residual fraction video stream data in the DSP buffering areas, can to the DSP buffering areas insert blank frame, with up to To the purpose for being decoded above-mentioned residual video flow data as early as possible.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of decoding video stream device.
As shown in figure 4, a kind of decoding video stream device, can include:
First detection module 401, for detecting whether digital signal processor DSP buffering area is in undersaturated condition, its In, the DSP buffering areas are used for buffered video frame data;
Blank frame fills module 402, in the case of being in the testing result of the first detection module 401, to Blank frame EOS is inserted in DSP buffering areas, until the DSP buffering areas reach saturation state;
Decoder module 403, for being decoded to the frame data in DSP buffering areas.
Optionally, in one embodiment of the present invention, the first detection module 401, can be used for detecting DSP in real time Whether buffering area is in undersaturated condition.
Optionally, in yet another embodiment of the present invention, the first detection module 401, can be used for according to pre- If detection cycle, periodically detect DSP buffering areas whether be in undersaturated condition.
Optionally, in an embodiment of the invention, the first detection module 401, it can be used for detection DSP and delay Rush area and be in the duration of undersaturated condition and whether exceed default threshold value.
Optionally, in one embodiment of the invention, the first detection module 401, it can be used for detection DSP and delay Rush with the presence or absence of the video requency frame data in the video data buffer pre-established in area, and do not filled by video requency frame data It is full.
In one embodiment of the invention, the pushing module 403, is specifically used for:
The frame of video for carrying network identity in DSP buffering areas is decoded, it is described to carry regarding for network identity Frequency frame is the frame data from the video stream buffer area pre-established.
Optionally, in another embodiment of the present invention, as shown in figure 5, the device also includes:
Second detection module 400, for detect it is current whether there is video stream data to be cached to the DSP buffering areas, and In the case that testing result is no, triggers the first detection module and be operated, wherein, the video stream data is:In advance Video requency frame data in the video data buffer of foundation, the video data buffer pre-established derive from for caching The video requency frame data of webserver side.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
For convenience of description, it is divided into various modules during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each module can be realized in same or multiple softwares and/or hardware during invention.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for device For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is To instruct the hardware of correlation to complete by program, described program can be stored in computer read/write memory medium, The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (12)

1. a kind of method for decoding video stream, it is characterised in that this method includes:
Whether detection digital signal processor DSP buffering area is in undersaturated condition, wherein, the DSP buffering areas are used to cache Video requency frame data;
If it is, blank frame EOS is inserted into DSP buffering areas, until the DSP buffering areas reach saturation state;
Frame data in DSP buffering areas are decoded.
2. according to the method for claim 1, it is characterised in that be in the detection digital signal processor DSP buffering area It is no to be in before undersaturated condition, in addition to:
Whether detection currently has video stream data to be cached to the DSP buffering areas, if it is not, then performing the detection data signal Whether processor DSP buffering areas are in undersaturated condition, wherein, the video stream data is:The video data pre-established delays The video requency frame data rushed in area, the video data buffer pre-established are used to cache regarding from webserver side Frequency frame data.
3. according to the method for claim 1, it is characterised in that whether the detection digital signal processor DSP buffering area In undersaturated condition, including:
Whether detection DSP buffering areas are in undersaturated condition in real time;
Or
According to default detection cycle, periodically detect whether DSP buffering areas are in undersaturated condition.
4. according to the method for claim 1, it is characterised in that whether the detection digital signal processor DSP buffering area In undersaturated condition, including:
Whether the duration that detection DSP buffering areas are in undersaturated condition exceedes default threshold value.
5. according to the method for claim 1, it is characterised in that whether the detection digital signal processor DSP buffering area In undersaturated condition, including:
Detect with the presence or absence of video requency frame data in the video data buffer pre-established in DSP buffering areas, and not by Video requency frame data is full of.
6. according to the method for claim 5, it is characterised in that the frame data in DSP buffering areas decode, bag Include:
The frame of video for carrying network identity in DSP buffering areas is decoded, the frame of video for carrying network identity For from the frame data in the video stream buffer area pre-established.
7. a kind of decoding video stream device, it is characterised in that the device includes:
First detection module, for detecting whether digital signal processor DSP buffering area is in undersaturated condition, wherein, it is described DSP buffering areas are used for buffered video frame data;
Blank frame fills module, in the case of being in the testing result of the first detection module, into DSP buffering areas Blank frame EOS is inserted, until the DSP buffering areas reach saturation state;
Decoder module, for being decoded to the frame data in DSP buffering areas.
8. device according to claim 7, it is characterised in that the device also includes:
Second detection module, currently whether there is video stream data to be cached to the DSP buffering areas for detecting, and in testing result In the case of no, trigger the first detection module and be operated, wherein, the video stream data is:What is pre-established regards Video requency frame data in frequency data buffer zone, the video data buffer pre-established, which is used to cache, derives from network service The video requency frame data of device side.
9. device according to claim 7, it is characterised in that the first detection module, be specifically used for:
Whether detection DSP buffering areas are in undersaturated condition in real time;
Or
According to default detection cycle, periodically detect whether DSP buffering areas are in undersaturated condition.
10. device according to claim 7, it is characterised in that the first detection module, be specifically used for:
Whether the duration that detection DSP buffering areas are in undersaturated condition exceedes default threshold value.
11. device according to claim 7, it is characterised in that the first detection module, be specifically used for:
Detect with the presence or absence of video requency frame data in the video data buffer pre-established in DSP buffering areas, and not by Video requency frame data is full of.
12. device according to claim 11, it is characterised in that the decoder module, be specifically used for:
The frame of video for carrying network identity in DSP buffering areas is decoded, the frame of video for carrying network identity For from the frame data in the video stream buffer area pre-established.
CN201410377484.1A 2014-08-01 2014-08-01 A kind of method for decoding video stream and device Active CN104113778B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410377484.1A CN104113778B (en) 2014-08-01 2014-08-01 A kind of method for decoding video stream and device
PCT/CN2015/085602 WO2016015667A1 (en) 2014-08-01 2015-07-30 Video stream decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410377484.1A CN104113778B (en) 2014-08-01 2014-08-01 A kind of method for decoding video stream and device

Publications (2)

Publication Number Publication Date
CN104113778A CN104113778A (en) 2014-10-22
CN104113778B true CN104113778B (en) 2018-04-03

Family

ID=51710390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410377484.1A Active CN104113778B (en) 2014-08-01 2014-08-01 A kind of method for decoding video stream and device

Country Status (2)

Country Link
CN (1) CN104113778B (en)
WO (1) WO2016015667A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113778B (en) * 2014-08-01 2018-04-03 广州猎豹网络科技有限公司 A kind of method for decoding video stream and device
CN106792269B (en) * 2016-08-16 2020-01-24 炫熵(上海)互联网科技有限公司 P2P live broadcast delay control system and method
CN111193956B (en) * 2018-11-15 2023-04-18 深圳市茁壮网络股份有限公司 Video data processing method and video playing device
CN111901666B (en) * 2020-07-01 2021-05-11 腾讯科技(深圳)有限公司 Image processing method, image processing apparatus, electronic device, and storage medium
CN112929792B (en) * 2021-01-21 2022-06-28 稿定(厦门)科技有限公司 Sox-based audio processing method, medium, device and apparatus
CN113296597B (en) * 2021-05-08 2022-08-26 展讯通信(上海)有限公司 Power consumption control method and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747317A (en) * 2013-12-27 2014-04-23 高新兴科技集团股份有限公司 A smooth playing control method of a play database in an instable network
CN103780908A (en) * 2014-02-25 2014-05-07 成都佳发安泰科技股份有限公司 Efficient H264 decoding method

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3511988B2 (en) * 2000-08-10 2004-03-29 日本電気株式会社 Frame transfer device, frame transfer method, and frame transfer system
JP2002140875A (en) * 2000-11-01 2002-05-17 Matsushita Electric Ind Co Ltd Disk player and disk reading method
US7130528B2 (en) * 2002-03-01 2006-10-31 Thomson Licensing Audio data deletion and silencing during trick mode replay
US20050048995A1 (en) * 2003-08-25 2005-03-03 Motorola, Inc. System and method for controlling the operating characteristics of a buffer
US7624021B2 (en) * 2004-07-02 2009-11-24 Apple Inc. Universal container for audio data
KR100735276B1 (en) * 2005-08-18 2007-07-03 삼성전자주식회사 Method and apparatus for decoding a mpe-fec frame in a dvb-h system
JP2009200938A (en) * 2008-02-22 2009-09-03 Toshiba Corp Buffer controller and receiver
CN101651512B (en) * 2009-09-24 2013-06-05 中兴通讯股份有限公司 Method, system and device for realizing transparent transmission of data traffic
CN102547435B (en) * 2011-12-16 2014-06-25 Tcl集团股份有限公司 System and method for playing and processing multimedia file
US20130215745A1 (en) * 2012-02-16 2013-08-22 Broadcom Corporation Dynamic buffer management in high-throughput wireless systems
CN103582147A (en) * 2012-08-03 2014-02-12 上海航天测控通信研究所 Dynamic virtual channel dispatcher based on FPGA and dispatching method thereof
MY162260A (en) * 2012-09-10 2017-05-31 Mimos Berhad Load balancing of graphics processing units in an image processing system
CN105976824B (en) * 2012-12-06 2021-06-08 华为技术有限公司 Method and apparatus for decoding a signal
CN103596037B (en) * 2013-11-19 2016-09-28 天津市亚安科技有限公司 A kind of control method of live video stream buffering
CN103945221B (en) * 2014-04-09 2018-08-07 浙江大学 Video coding-decoding method, device and the video code flow of generation
CN104113778B (en) * 2014-08-01 2018-04-03 广州猎豹网络科技有限公司 A kind of method for decoding video stream and device
CN104113777B (en) * 2014-08-01 2018-06-05 广州猎豹网络科技有限公司 A kind of stream decoding method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747317A (en) * 2013-12-27 2014-04-23 高新兴科技集团股份有限公司 A smooth playing control method of a play database in an instable network
CN103780908A (en) * 2014-02-25 2014-05-07 成都佳发安泰科技股份有限公司 Efficient H264 decoding method

Also Published As

Publication number Publication date
CN104113778A (en) 2014-10-22
WO2016015667A1 (en) 2016-02-04

Similar Documents

Publication Publication Date Title
CN104113777B (en) A kind of stream decoding method and device
CN104113778B (en) A kind of method for decoding video stream and device
CN106658133B (en) Audio and video synchronous playing method and terminal
CN103856812B (en) A kind of video broadcasting method and device
CN106713855B (en) Video playing method and device
CN102724584B (en) The online player method of Internet video, the online playing device of video and intelligent television
CN107509100A (en) Audio and video synchronization method, system, computer installation and computer-readable recording medium
CN106385620B (en) A kind of data smoothing output method based on Streaming Media
CN103200461A (en) Multiple-player-terminal synchronized playing system and playing method
WO2020001536A1 (en) Information processing method and apparatus, and system
CN102271280A (en) Method and apparatus for variable speed playing of digital audio and video
CN101478683B (en) Synchronizing audio and video frames
CN108235107A (en) Video recording method, device and electric terminal
CN108040286A (en) Video previewing method, device, electronic equipment and computer-readable recording medium
US11217279B2 (en) Method and device for adjusting video playback speed
CN103024603B (en) A kind of for solving playing network video time the device and method that pauses in short-term
CN105979347A (en) Video play method and device
CN106604064A (en) Rapid broadcasting method and device
CN107801092A (en) A kind of video speed playing method and device
CN106792154A (en) The frame-skipping synchronization system and its control method of video player
CN105791735A (en) Method and system for dynamically adjusting video call code streams
CN108337553A (en) A kind of multi-medium data pre-download method
EP2079233A3 (en) Digital broadcast receiver and digital broadcast receiving method
CN105897759A (en) Network dynamic self-adaptive audio and video caching method and system
CN107690093A (en) A kind of video broadcasting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510623 3101-31063108-3110, Huaxia Road, Guangzhou, Guangdong, Tianhe District

Applicant after: Guangzhou cheetah Network Technology Co., Ltd.

Address before: 510623 unit 01-B, Guangzhou bank building, No. 30 Zhujiang Road, Guangzhou, Guangdong, Tianhe District, China

Applicant before: Kingsoft, Guangzhou network technology Co., Ltd

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant