CN107222779A - A kind of method and device of video play-reverse - Google Patents

A kind of method and device of video play-reverse Download PDF

Info

Publication number
CN107222779A
CN107222779A CN201710427777.XA CN201710427777A CN107222779A CN 107222779 A CN107222779 A CN 107222779A CN 201710427777 A CN201710427777 A CN 201710427777A CN 107222779 A CN107222779 A CN 107222779A
Authority
CN
China
Prior art keywords
bit stream
stream data
frame
video
section
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
CN201710427777.XA
Other languages
Chinese (zh)
Other versions
CN107222779B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201710427777.XA priority Critical patent/CN107222779B/en
Publication of CN107222779A publication Critical patent/CN107222779A/en
Application granted granted Critical
Publication of CN107222779B publication Critical patent/CN107222779B/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/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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
    • H04N21/44004Processing 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 involving video buffer management, e.g. video decoder buffer or video display buffer

Abstract

The present invention relates to technical field of video processing, more particularly to a kind of method and device of video play-reverse, there is the problem of EMS memory occupation is larger to solve existing video play-reverse method.The target bit stream data of acquisition is carried out segment processing and obtains multiple bit stream data sections by the embodiment of the present invention;Target bit stream data is decoded successively since I frames, and by the decoding picture of the partial video frame in the bit stream data section in multiple bit stream datas section in the range of first, and the decoding picture of the part or all of frame of video in bit stream data section in the range of second is stored in buffer area;Inversely show and discharge the decoding picture stored in buffer area.Because the embodiment of the present invention to target bit stream data when putting upside down, and in the bit stream data section that need not obtain decoding, the decoding picture of each frame of video is stored in buffer area, therefore can effectively reduce the internal memory that decoding picture takes in buffer area.

Description

A kind of method and device of video play-reverse
Technical field
The present invention relates to technical field of video processing, more particularly to a kind of method and device of video play-reverse.
Background technology
At present, the coded system of video file is mainly non-full I frame coding modes, the video text of non-full I frame coding modes In part, frame of video includes I frames, P frames.Inter-frame encoding as shown in Figure 1, i.e. I frame periods property occur, and each cycle is I1, P2, P3, P4 ... Pn are a GOP code in one GOP (Group of Pictures, picture group) bit stream data, such as Fig. 1 Flow data.Wherein I frames are referred to as intracoded frame, be a kind of independent frame for carrying full detail its just can be only without reference to other frames It is vertical to be decoded;P frames are also referred to as inter prediction encoding frame, and P frames can not be decoded independently, it is necessary to reference to I frames or P frames above It can be encoded.
I frames must be first decoded during video playback, further decoding relies on the P frames of the I frames, can be correctly decoded, it is clear to play, it is no Flower screen then occurs or can not play.In video play-reverse, because P frames can not individually decode broadcasting, it is necessary to rely on I frame solutions Code, and during the putting upside down of original video files, I frames are all the time after the P frames for relying on I frames, it is therefore desirable to found for P frames I frames, after the I frames that P frames are relied on are found, the decoding that can just carry out video is played.
At present, video play-reverse method of the prior art is mainly completed by following steps:
1st, put upside down since some frame of video of video file, the frame of video for starting to put upside down is got successively from back to front The data of I frames are used as target bit stream data, deposit buffer area A;
2nd, decoded successively since I frames, decode the picture of all frame of video in target bit stream data, deposit buffer area B;
3rd, inverted order acquisition picture is shown from caching B.
The subject matter that above-mentioned prior art exists when doing video play-reverse is:Prior art is to deposit decoded picture Storage is in caching B, and 1920*1080P picture takes about 3MB internal memories, wherein general P 2sGOP include 50 pictures, it is right The interior of caching B occupancy should be stored in and save as 150M;General N 2sGOP include 60 pictures, and correspondence is stored in what caching B took Inside save as 180M;This is for the nervous platform (such as security protection embedded device) of current internal memory, and committed memory is huge.
In summary, there is the problem of EMS memory occupation is larger in existing video play-reverse method.
The content of the invention
The present invention provides a kind of method and device of video play-reverse, and there is internal memory solving existing video play-reverse method accounts for The problem of using larger.
Based on above mentioned problem, the embodiment of the present invention proposes a kind of method of video play-reverse, including:
The target bit stream data of acquisition is subjected to segment processing, multiple bit stream data sections are obtained, wherein the object code stream Data are to start the data between the frame of video put upside down and I frames in GOP bit stream data, and every section includes m frame of video, described M is positive integer;
The target bit stream data is decoded successively since I frames, and by first in the multiple bit stream data section In the range of bit stream data section in partial video frame decoding picture, and in the range of second bit stream data section in part Or the decoding picture of all videos frame is stored in buffer area;
Inversely show and discharge the decoding picture stored in the buffer area;Wherein, showing and discharging decoding picture During, the decoding picture for the frame of video not stored according to the same bit stream data Duan Zhongyi decoding pictures stored, and deposit Store up in buffer area.
Because the embodiment of the present invention to target bit stream data when putting upside down, the target bit stream data got is carried out Segmentation, and after being decoded to target bit stream data, by the decoding of the partial video frame in the bit stream data section in the range of first The decoding picture of the part or all of frame of video in bit stream data section in the range of picture, and second is stored in buffer area, and The decoding picture of each frame of video is stored in buffer area in the bit stream data section that decoding need not be obtained, therefore can have Effect reduces the internal memory that decoding picture takes in buffer area;Also, the decoding picture in buffer area is released after the display Put, it is to avoid excessive committed memory;During decoding picture is shown, the decoding picture stored according to same bit stream data Duan Zhongyi The decoding picture for the frame of video not stored, realizes the memory sharing of the second buffer area.
Optionally, the partial video frame in the bit stream data section in the section by the multiple bit stream data in the range of first Decoding picture, and the decoding picture of part or all of frame of video in bit stream data section in the range of second is stored in caching Area, including:
By the solution of first frame of video in the bit stream data section described in the multiple bit stream data section in the range of first The decoding picture of all videos frame in bit stream data section in the range of code picture, and described second is stored in buffer area.
Optionally, the bit stream data section in the range of described first in the multiple bit stream data section except final stage it Outer all bit stream datas section;Bit stream data section in the range of described second is the final stage in the multiple bit stream data section Bit stream data section.
Because the embodiment of the present invention to target bit stream data after decoding, only by the decoding figure of every section of the first frame of video Piece, and the decoding picture of all frame of video of final stage are stored in the second buffer area, and except final stage other sections it is non- The decoding picture of first frame can effectively reduce the internal memory of the second buffer area occupancy without preserving.
Optionally, it is described during showing and discharging decoding picture, stored according to same bit stream data Duan Zhongyi The decoding picture for the video requency frame data that decoding picture is not stored, and store into buffer area, including:
During showing and discharging decoding picture, first frame of video stored according to same bit stream data Duan Zhongyi Decoding picture, to the bit stream data Duan Zhongwei store frame of video decode;
The decoding picture of frame of video that does not store described in obtaining will be decoded to store into buffer area.
Because the second cache bank memories that the video play-reverse method of the embodiment of the present invention needs are smaller, therefore it is the second caching The internal memory that area is set is also smaller.Before beginning of putting upside down, be stored with the second buffer area every section the first frame decoding picture and most The decoding picture of latter section of all frames;After beginning of putting upside down, discharged after often showing a decoding picture, second caching The internal memory of a pictures is discharged in area, the frame of video of the last period can now be decoded, by decoded decoding Picture is stored to the second buffer area, so as to realize the internal memory multiplexing of the second buffer area.
Optionally, the m values are determined according to following manner:
According to the maximum video that can decode that in the number of frame of video in a GOP bit stream data, and a GOP times Frame number, determines the m values.
Due to the embodiment of the present invention carry out video play-reverse when, it is necessary to be decoded twice to partial video frame, so as to subtract Internal memory shared by small second buffer area;But be with the upper limit, i.e., to the decoding number of times of frame of video within a GOP times In the presence of the maximum video frame number that can decode that in a GOP times, therefore, the decoding time of increase that can not be wireless to frame of video Number, so as to reduce the EMS memory occupation of the second buffer area.Therefore the embodiment of the present invention is needed according to video in a GOP bit stream data The maximum video frame number that can decode that in the number of frame, and a GOP times, it is rational to determine m values.
Optionally, it can be solved in the number according to frame of video in a GOP bit stream data, and a GOP times The maximum video frame number of code, determines the m values, specifically includes:
IfThen
IfThen
Wherein, the Gop is the number of frame of video in a GOP bit stream data, and the N is can in a GOP times The maximum video frame number of decoding,Expression rounds up operation.
It is accurate in varied situations to determine m values because the embodiment of the present invention gives the specific method for determining m values, so that In the allowed band that can decode that video frame number, reduce the EMS memory occupation of the second buffer area to greatest extent.
On the other hand, the embodiment of the present invention also provides a kind of device of video play-reverse, including:
Acquisition module, for the target bit stream data of acquisition to be carried out into segment processing, obtains multiple bit stream data sections, wherein The target bit stream data is to start the data between the frame of video put upside down and I frames in GOP bit stream data, and every section includes m Individual frame of video, the m is positive integer;
Processing module, for being decoded successively to the target bit stream data since I frames, and by the multiple code stream The decoding picture of the partial video frame in bit stream data section in the range of first in data segment, and the code stream number in the range of second Buffer area is stored according to the decoding picture of the part or all of frame of video in section;
Playing module, for inversely showing and discharging the decoding picture stored in the buffer area;Wherein, showing and releasing During putting decoding picture, the solution for the frame of video not stored according to the same bit stream data Duan Zhongyi decoding pictures stored Code picture, and store into buffer area.
Optionally, the processing module, specifically for:
By the solution of first frame of video in the bit stream data section described in the multiple bit stream data section in the range of first The decoding picture of all videos frame in bit stream data section in the range of code picture, and second is stored in buffer area.
Optionally, the bit stream data section in the range of described first in the multiple bit stream data section except final stage it Outer all bit stream datas section;Bit stream data section in the range of described second is the final stage in the multiple bit stream data section Bit stream data section.
Optionally, the processing module, specifically for:
During showing and discharging decoding picture, first frame of video stored according to same bit stream data Duan Zhongyi Decoding picture, to the bit stream data Duan Zhongwei store frame of video decode;It will decode and do not stored described in obtaining The decoding picture of frame of video is stored into buffer area.
Optionally, the acquisition module, specifically for:
The m values are determined according to following manner:
According in the number of frame of video in a GOP bit stream data, and a GOP times can decoding video frame most Big number, determines the m values.
Optionally, the acquisition module, specifically for:
IfThen
IfThen
Wherein, the Gop is the number of frame of video in a GOP bit stream data, and the N is can in a GOP times The maximum number of decoding video frame,Expression rounds up operation.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is inter-frame encoding schematic diagram in background technology;
Fig. 2 is the method flow diagram of video play-reverse of the embodiment of the present invention;
Fig. 3 is that the embodiment of the present invention stores target bit stream data to the method flow diagram of the first buffer area;
Fig. 4 is the schematic diagram of storage decoding picture in the buffer area of the embodiment of the present invention second;
Fig. 5 is the overall flow figure of video play-reverse method of the embodiment of the present invention;
Fig. 6 is the structural representation of video play-reverse device of the embodiment of the present invention.
Embodiment
The target bit stream data of acquisition is carried out segment processing by the embodiment of the present invention, obtains multiple bit stream data sections, wherein The target bit stream data is to start the data between the frame of video put upside down and I frames in GOP bit stream data, and every section includes m Individual frame of video, the m is positive integer;The target bit stream data is decoded successively since I frames, and by the multiple code The decoding picture of the partial video frame in bit stream data section in the range of first in flow data section, and the code stream in the range of second The decoding picture of part or all of frame of video in data segment is stored in buffer area;Inversely show and discharge and deposited in the buffer area The decoding picture of storage;Wherein, during showing and discharging decoding picture, the solution stored according to same bit stream data Duan Zhongyi The decoding picture for the frame of video that code picture is not stored, and store into buffer area.
Because the embodiment of the present invention to target bit stream data when putting upside down, the target bit stream data got is carried out Segmentation, and after being decoded to target bit stream data, by the decoding of the partial video frame in the bit stream data section in the range of first The decoding picture of the part or all of frame of video in bit stream data section in the range of picture, and second is stored in buffer area, and The decoding picture of each frame of video is stored in buffer area in the bit stream data section that decoding need not be obtained, therefore can have Effect reduces the internal memory that decoding picture takes in buffer area;Also, the decoding picture in buffer area is released after the display Put, it is to avoid excessive committed memory;During decoding picture is shown, the decoding picture stored according to same bit stream data Duan Zhongyi The decoding picture for the frame of video not stored, realizes the memory sharing of the second buffer area.
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into One step it is described in detail, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
The embodiment of the present invention is described in further detail with reference to Figure of description.
As shown in Fig. 2 a kind of video play-reverse method provided in an embodiment of the present invention, including:
Step 201, the target bit stream data progress segment processing by acquisition, obtain multiple bit stream datas sections, wherein described Target bit stream data is to start the data between the frame of video put upside down and I frames in GOP bit stream data, and every section includes m and regards Frequency frame, the m is positive integer;
Step 202, since I frames the target bit stream data is decoded successively, and by the multiple bit stream data The decoding picture of the partial video frame in bit stream data section in the range of first in section, and the bit stream data section in the range of second In the decoding picture of part or all of frame of video be stored in buffer area;
Step 203, inversely show and discharge the decoding picture stored in the buffer area;Wherein, showing and discharging solution During code picture, the decoding figure for the frame of video not stored according to the same bit stream data Duan Zhongyi decoding pictures stored Piece, and store into buffer area.
, it is necessary to which the video file put upside down is encoded with non-full I frame coding modes, such as in present example Coded system can be H264, H265, the form such as MPEG-4.
By taking general N video files as an example, video code flow form can be:I1-P101-P102……P159-I2- P201-P202- ... P259 ..., by taking one of GOP bit stream datas I1-P101-P102 ... P159 as an example, wherein I1 For I frames, P101~P159 represents 59 P frames respectively, in decoding, it is necessary to be first decoding I frames, according to I frame decoding P101, according to P101 frame decoding P102 frames, the like, until according to P158 frame decoding P159 frames.
Before above-mentioned steps 201, when receive put upside down instruction when, it is determined that starting the position put upside down, that is, start what is put upside down Frame of video, after instruction of putting upside down is received, determines target bit stream data.The embodiment of the present invention determines object code according to following manner Flow data:
According to instruction of putting upside down, it is determined that starting the frame of video put upside down;Since the frame of video for starting to put upside down, during according to frame of video Between order obtain frame of video successively back to front, until get I frames stop acquisition;By the I frames got, regarding of starting to put upside down Frame of video between frequency frame, and the frame of video put upside down of I frames and starting, together as the frame of video of target bit stream data.
Wherein, if starting the frame of video put upside down for the last frame of a GOP bit stream data, the object code fluxion obtained According to for a complete GOP bit stream data;The P159-I2-P201-P202- ... for example, with I1-P101-P102 ... Exemplified by P259 ..., it is determined that the frame of video for starting to put upside down is P159, then the target bit stream data obtained is I1-P101- P102……P159。
If the frame of video for starting to put upside down is the intermediate frame of a GOP bit stream data, the target bit stream data obtained is one The frame of video of first half in individual GOP bit stream datas;The P159-I2-P201- for example, with I1-P101-P102 ... Exemplified by P202- ... P259 ..., it is determined that the frame of video for starting to put upside down is P249, then the target bit stream data obtained is I2- P201-P202……P249。
Optionally, the embodiment of the present invention is after target bit stream data is got, by the target bit stream data got according to Video frame time forward direction is stored in the first buffer area;And the decoding picture for decoding obtained frame of video is stored in the second caching Area.
For example, as shown in Figure 3 stores target bit stream data to the method flow of the first buffer area, with video data Exemplified by I1-P101-P102 ... P159-I2-P201-P202- ... P259 ..., it is determined that the frame of video for starting to put upside down is P259, the target bit stream data of acquisition is I2-P201-P202 ...-P258-P259;First buffer area is buffer area A, then will Target bit stream data is stored in after buffer area A, and the data in buffer area A are:I2、P201、P202、……、P258、P259.
It should be noted that the buffer area for storing target bit stream data is referred to as the first buffer area by the embodiment of the present invention, will The buffer area of storage decoding picture is referred to as the second buffer area.
In step 201, after target bit stream data is got from the first buffer area, target bit stream data is segmented Processing, obtains multiple bit stream data sections.
By taking the target bit stream data stored in the first buffer area shown in Fig. 3 as an example, illustrate the embodiment of the present invention to target The method that bit stream data carries out segment processing.Wherein, m=10.
The target bit stream data stored in first buffer area A is I2-P201-P202 ...-P258-P259, according to every section 10 frame of video carry out segment processing, then the target bit stream data after being segmented is:
1st section:I2-P201-P202-P203-P204-P205-P206-P207-P208-P209;
2nd section:P210-P211-P212-P213-P214-P215-P216-P217-P218-P219;
3rd section:P220-P221-P222-P223-P224-P225-P226-P227-P228-P229;
4th section:P230-P231-P232-P233-P234-P235-P236-P237-P238-P239;
5th section:P240-P241-P242-P243-P244-P245-P246-P247-P248-P249;
6th section:P250-P251-P252-P253-P254-P255-P256-P257-P258-P259.
After segment processing is carried out to the target bit stream data of the first buffer area, since the I frames of target bit stream data, according to The secondary target bit stream data to after segmentation is decoded.Compiled because the bit stream data of the embodiment of the present invention uses non-full I frames Code mode is encoded, and wherein I frames can be decoded individually, it is not necessary to refer to other frame of video;And for the P in bit stream data Frame, when being decoded, it is necessary to the decoding picture of the former frame with reference to current P frames, according to the decoding picture of former frame, to current P frames are decoded.
In step 202., it is not by all solutions after being decoded successively to the target bit stream data since the I frames The obtained decoding picture of code is stored into the second buffer area, but by the first model in the multiple bit stream datas obtained after segmentation section The decoding picture of the partial video frame in bit stream data section in enclosing is stored to the second buffer area, and by the code in the range of second The decoding picture of part or all of frame of video in flow data section is stored into the second buffer area.
That is, the embodiment of the present invention is for the target bit stream data after segmentation, and the frame of video in target bit stream data is entered After row decoding, for decoding obtained decoding picture, there can be following processing mode:
1st, the decoding picture of the partial video frame in each bit stream data section is stored in the second buffer area.
2nd, first in multiple bit stream datas section in the range of bit stream data section in partial video frame decoding picture storage To the second buffer area, and by the decoding picture of the part or all of frame of video in the bit stream data section in the range of second store to In second buffer area.
For above-mentioned processing mode 1, it is assumed that the target bit stream data after segmentation is:
1st section:I2-P201-P202-P203-P204-P205-P206-P207-P208-P209;
2nd section:P210-P211-P212-P213-P214-P215-P216-P217-P218-P219;
3rd section:P220-P221-P222-P223-P224-P225-P226-P227-P228-P229;
4th section:P230-P231-P232-P233-P234-P235-P236-P237-P238-P239;
5th section:P240-P241-P242-P243-P244-P245-P246-P247-P248-P249;
6th section:P250-P251-P252-P253-P254-P255-P256-P257-P258-P259.
Then the decoding picture of the partial video frame in the 1st section, the 2nd section, the 3rd section, the 4th section, the 5th section and the 6th section is stored To the second buffer area.
It should be noted that for being stored in every section to the partial video frame of the second buffer area, in the partial video frame Include first frame of video in this section.
For above-mentioned processing mode 2, it is assumed that the target bit stream data after segmentation is:
1st section:I2-P201-P202-P203-P204-P205-P206-P207-P208-P209;
2nd section:P210-P211-P212-P213-P214-P215-P216-P217-P218-P219;
3rd section:P220-P221-P222-P223-P224-P225-P226-P227-P228-P229;
4th section:P230-P231-P232-P233-P234-P235-P236-P237-P238-P239;
5th section:P240-P241-P242-P243-P244-P245-P246-P247-P248-P249;
6th section:P250-P251-P252-P253-P254-P255-P256-P257-P258-P259.
Then can be using the 1st section, the 2nd section, the 3rd section, the 4th section as the bit stream data section in the range of first, by the 5th section and the 6 sections are used as the bit stream data section in the range of second;
The decoding picture of the partial video frame in the 1st section, the 2nd section, the 3rd section, the 4th section is stored to the second buffer area; The decoding picture of all videos frame in 5th section and the 6th section is stored to the second buffer area.
It should be noted that for being stored in the 1st section, the 2nd section, the 3rd section, the 4th section to the partial video of the second buffer area First frame of video in this section is included in frame, the partial video frame.
In order to reduce the occupancy to the second buffer area to greatest extent, it is possible to reduce store the decoding into the second buffer area The number of picture.
Optionally, by first video in the bit stream data section described in the multiple bit stream data section in the range of first The decoding picture of all videos frame in bit stream data section in the range of the decoding picture of frame, and described second is stored in caching Area.
The embodiment of the present invention is directed to the bit stream data section in the range of first in multiple bit stream datas section, only in the second buffer area The decoding picture of first frame of video in middle storage bit stream data section, in playing process, according to first in the bit stream data Other frame of video in bit stream data section are decoded, obtain the decoding picture of other frame of video by the decoding picture of individual video.
For the bit stream data section in the range of in multiple bit stream datas section second, due to being stored with this in the second buffer area The decoding picture of all videos frame in bit stream data section, can directly be played when putting upside down.
Optionally, the bit stream data section in the range of first is all in addition to final stage in multiple bit stream datas section Bit stream data section;In the range of second bit stream data section for multiple bit stream datas section in final stage bit stream data section.
Assuming that the target bit stream data after segmentation is:
1st section:I2-P201-P202-P203-P204-P205-P206-P207-P208-P209;
2nd section:P210-P211-P212-P213-P214-P215-P216-P217-P218-P219;
3rd section:P220-P221-P222-P223-P224-P225-P226-P227-P228-P229;
4th section:P230-P231-P232-P233-P234-P235-P236-P237-P238-P239;
5th section:P240-P241-P242-P243-P244-P245-P246-P247-P248-P249;
6th section:P250-P251-P252-P253-P254-P255-P256-P257-P258-P259.
Then the bit stream data section in the range of first is used as using the 1st section, the 2nd section, the 3rd section, the 4th section and the 5th section;By the 6th section It is used as the bit stream data section in the range of second;
The decoding picture of the partial video frame in the 1st section, the 2nd section, the 3rd section, the 4th section and the 5th section is stored to second Buffer area;The decoding picture of all videos frame in 6th section is stored to the second buffer area.
As preferred mode, the embodiment of the present invention is directed to the multiple bit stream datas section obtained after segmentation, by multiple code streams The decoding picture of each frame of video is stored into the second buffer area in final stage in data segment, and except final stage Outside bit stream data section, only the decoding picture of first frame of video in bit stream data section is stored to the second buffer area.
In decoding process, for the bit stream data section outside final stage, only by first in each bit stream data section The decoding picture of frame of video is stored in the second buffer area, for any one in addition to first frame of video in bit stream data section Individual frame of video, after decoding obtains decoding picture, according to the decoding picture of the frame of video, decoding obtains the decoding figure of next frame Piece, and the decoding picture of the frame of video need not be stored in the second buffer area, but directly discharge.
For example, it is assumed that the target bit stream data after segmentation is:
1st section:I2-P201-P202-P203-P204-P205-P206-P207-P208-P209;
2nd section:P210-P211-P212-P213-P214-P215-P216-P217-P218-P219;
3rd section:P220-P221-P222-P223-P224-P225-P226-P227-P228-P229;
4th section:P230-P231-P232-P233-P234-P235-P236-P237-P238-P239;
5th section:P240-P241-P242-P243-P244-P245-P246-P247-P248-P249;
6th section:P250-P251-P252-P253-P254-P255-P256-P257-P258-P259.
Since I2 frames, target bit stream data is decoded successively.Specifically, I2 is voluntarily decoded, by decoded solution Code picture is stored in the second buffer area;For P201 frames, P201 frames are decoded according to the decoding picture of I2 frames, solved Code picture;Then P202 frames are decoded according to the decoding picture of P201 frames, will after the decoding picture of P202 frames is obtained The decoding picture release of P201 frames;The data in first bit stream data section of the first buffer area are entered using the above method successively Row decoding, after decoding obtains P209 decoding picture, according to P209 decoding picture, to the in second bit stream data section One frame of video P210 is decoded, after decoding obtains P210 decoding picture, discharges P209 decoding picture, and by P210 Decoding picture be stored in the second buffer area.Similarly, to second in the first buffer area, the 3rd, the 4th, the 5th Frame of video in bit stream data section is decoded using the above method.For the 6th bit stream data section, due to being the code stream The final stage bit stream data section of data is, it is necessary to equal by the decoding picture of each frame of video in final stage bit stream data section It is stored in during the second caching goes.After then being decoded to target bit stream data, as shown in figure 4, the decoding figure that is stored with the second buffer area The frame of video of piece is:I2、P210、P220、P230、P240、P250、P251、P252、P253、P254、P255、P256、P257、 P258、P259。
The embodiment of the present invention will need to store to the decoding picture preservation of the second buffer area, inversely show and discharge The decoding picture stored in the buffer area.
Because the decoding picture of the final stage of target bit stream data of the embodiment of the present invention is all stored in the second buffer area In, therefore, the decoding picture of the final stage of target bit stream data can directly be put upside down.It is continuous in order to ensure to put upside down Property, it is necessary to be stored to the bit stream data Duan Zhongwei in addition to final stage during the decoding picture for final stage of putting upside down The frame of video of decoding picture is decoded.
Optionally, during showing and discharging decoding picture, first stored according to same bit stream data Duan Zhongyi The decoding picture of individual frame of video, is decoded to the bit stream data Duan Zhongwei frame of video stored;It will decode described in obtaining The decoding picture for the frame of video not stored is stored into buffer area.
It should be noted that the space to save the second buffer area, during putting upside down, shows being played to decoding picture Afterwards, you can discharge the decoding picture.
For example, all videos frame in the bit stream data section for the final stage that is stored with the second buffer area of the embodiment of the present invention Decoding picture, after starting to put upside down, the decoding picture of the frame of video stored in the second buffer area is directly subjected to Reverse Play, Decoding picture is after the display, you can discharged.During the decoding picture of final stage is played, in final stage of putting upside down Decoding picture during, according to the decoding picture of first frame of video of penultimate bit stream data section, decode down The decoding picture of other frame of video in second bit stream data section of number, and be stored in the second buffer area.Likewise, falling The frame of video of second bit stream data section of number is all after the completion of decoding, then the frame of video in third last bit stream data section is entered Row decoding, until the frame of video of first bit stream data section in the target bit stream data also decodes completion.
It should be noted that after the target bit stream data in the first buffer area is all decoded, release first is delayed Deposit the target bit stream data stored in area.A GOP bit stream data before target bit stream data is now obtained, and is stored in the In one buffer area.
In above-mentioned steps 201, the target bit stream data cached in the first buffer area is subjected to segment processing, obtains multiple Bit stream data section, wherein the video frame number in every section is m.
The embodiment of the present invention to target bit stream data before being divided into m sections, it is necessary to predefine m value.The present invention is implemented Example determines m values according to following manner:
Optionally, regard according to can decode that in the number of frame of video in a GOP bit stream data, and a GOP times The maximum number of frequency frame, determines the m values.
It should be noted that the number of frame of video is fixed value in GOP bit stream datas;It can decode that in one GOP time The maximum number of frame of video is the fixed value determined according to machine capability.
The method that the embodiment of the present invention determines m values is described in detail with reference to mathematical formulae.
The embodiment of the present invention is it is determined that, it is necessary to consider two factors during m values:1st, a GOP bit stream data is accounted in decoding Cache bank memories;2nd, the number of decoding video frame is needed in the GOP times.
Because the embodiment of the present invention is for a GOP bit stream data, buffer area needs the decoding picture of the frame of video stored Including:The decoding picture of all frame of video of final stage, common m;First in addition to final stage in other every section regards The decoding picture of frequency frame, altogetherIt is individual.Then the second buffer area needs the number of the decoding picture of the frame of video stored
The embodiment of the present invention is when it is determined that need the video frame number of decoding in the GOP times, due in a GOP bit stream data Once, then final stage needs the video frame number decoded to be m to the video frame decoding of final stage;Other in addition to final stage The each frame of video of section needs to decode twice, then the video frame number that other sections of needs are decoded isThen The video frame number that decoding is needed in the GOP times is B=2Gop+m.
Due to needing the video frame number of decoding to be not more than the maximum video that can decode that in a GOP times in the GOP times Frame number N, i.e. 2Gop+m≤N, then m span is m >=2Gop-N (1).
Because the embodiment of the present invention is intended to the number minimum of the decoding picture for the frame of video for causing the second buffer area to need storage, I.e. in m span so thatTake minimum value.With reference to above-mentioned relationship (1) sum Learn relational expression (2), the method that following determination m values can be obtained:
Specifically, the embodiment of the present invention determines m values according to following manner:
IfThen
IfThen
Wherein, the Gop is the number of frame of video in a GOP bit stream data, and the N is can in a GOP times The maximum video frame number of decoding,Expression rounds up operation.
The embodiment of the present invention carries out segment processing according to the m values of determination to the target bit stream data in the first buffer area, presses Mode according to every section of m frame of video is segmented.It should be noted that in a GOP bit stream data frame of video number Gop When not being m multiple, the number of frame of video is less than m in the final stage of the target bit stream data after segmentation.
Below with a specific embodiment, illustrate the method for video play-reverse of the embodiment of the present invention.
Assuming that a video data is I1-P102-P103 ... P140-I2-P202-P203 ... P240-I3-P302- 40 frames are included in P303 ... P340 ..., one of GOP bit stream datas.After instruction of putting upside down is received, the mesh got Coding flow data is I3-P302-P303 ... P340.
It is that I3-P302-P303 ... P340 forward directions are stored in caching A by target bit stream data, and to the mesh in caching A Coding flow data carries out segment processing.
It is assumed that being regarded according to can decode that in the number 40 of frame of video in a GOP bit stream data, and a GOP times The maximum number of frequency frame, it is determined that m values be 8, then target bit stream data is divided into 5 sections, be respectively:
1st section:I3-P302-P303-P304-P305-P306-P307-P308;
2nd section:P309-P310-P311-P312-P313-P314-P315-P316;
3rd section:P317-P318-P319-P320-P321-P322-P323-P324;
4th section:P325-P326-P327-P328-P329-P330-P331-P332;
5th section:P333-P334-P335-P336-P337-P338-P339-P340.
Since I3 frames, to the target bit stream data carry out first time decoding, in decoding process, by the 1st section, the 2nd section, The decoding picture of first frame of video is stored in caching B in 3rd section and the 4th segment encode flow data section, the decoding of other frame of video Picture is abandoned;The decoding picture of all videos frame in 5th segment encode flow data section is stored in caching B.Then solved in first time After code terminates, the decoding picture stored in caching B is:Picture, the picture of P309 frames, the picture of P317 frames, the P325 frames of I3 frames Picture, the picture of P333 frames, the picture of P334 frames, the picture of P335 frames, the picture of P336 frames, the picture of P337 frames, P338 Picture, the picture of P339 frames, the picture of P340 frames of frame.
Furthermore, it is desirable to can at most store 12 decoding pictures in explanation, the caching B of the embodiment of the present invention.
After the completion of first time decodes, the decoding picture in reverse display caching B.Due to the object code that is stored with caching B 5th section of all frames can be realized complete put upside down by the decoding picture of the 5th section of all frames of flow data.
Because other sections in addition to the 5th section only have the decoding picture of the first frame to be stored in caching B, therefore, putting upside down , it is necessary to which the decoding picture of the first frame according to each section, decodes this section before the decoding picture of other sections in addition to the 5th section In other frame of video decoding picture.
The number of the decoding picture of the frame of video stored is needed to be 12 because the embodiment of the present invention caches B, for maximum limit The internal memory that the reduction caching B of degree takes, then need fully multiplexing caching B memory headroom.It is most in caching of embodiment of the present invention B When the number of the decoding picture of storage is 12, in order to avoid the Caton phenomenon of video play-reverse, the embodiment of the present invention often discharges one The decoding picture of present segment a, frame of video to the last period is decoded, and decoded decoding picture is preserved to second Buffer area.
At this point it is possible to which the target bit stream data section stored in caching A is discharged, and obtain next object code fluxion According to and carry out segment processing.
That is, the picture of P340 frames in the 5th section is shown first, after showing and discharging, a pictures is had more in caching B Space, now P326 frames are decoded according to the decoding picture of P325 frames in the 4th section.By that analogy, one is often discharged The decoding picture of 5th section of frame of video, decodes the decoding picture of a 4th section of frame of video.
Similarly, during reverse the 4th section of display is the decoding picture of frame of video, according to the 3rd section of first video Other frame of video are decoded by the decoding picture of frame.By that analogy, until the 1st section of frame of video is decoded into completion.
During the 1st section of decoding picture is shown, start to carry out first time decoding to next target bit stream data.
The embodiment of the present invention is directed to any one GOP bit stream data, and step can be used to putting upside down for GOP bit stream datas 201~204 method.
As shown in figure 5, the overall flow figure of video play-reverse method of the embodiment of the present invention:
Step 501, acquisition target bit stream data, wherein, the target bit stream data is beginning in a GOP bit stream data Data between the frame of video and I frames put upside down;
Step 502, the target bit stream data by video frame time forward direction is stored in the first buffer area;
Step 503, the target bit stream data progress segment processing that will be stored in first buffer area, wherein every section Including m frame of video, m is positive integer;
Step 504, since the I frames the target bit stream data is decoded successively, and first every section is regarded The decoding picture of frequency frame, and the decoding picture of all frame of video of final stage are stored in the second buffer area;
Step 505, inversely show and discharge the decoding picture stored in second buffer area;
Step 506, the decoding picture for often discharging a present segment, determine that video frame time is most forward in described the last period The frame of video not decoded;
Step 507, the decoding picture according to the former frame of the frame of video, decode the decoding picture of the frame of video, and The decoding picture that decoding is obtained is stored to second buffer area.
Based on same inventive concept, a kind of device of video play-reverse is additionally provided in the embodiment of the present invention, due to the device The principle solved the problems, such as is similar to the method for video play-reverse of the embodiment of the present invention, therefore the implementation of the device may refer to method Implement, repeat part and repeat no more.
As shown in fig. 6, a kind of device of video play-reverse of the embodiment of the present invention, including:
Acquisition module 601, for the target bit stream data of acquisition to be carried out into segment processing, obtains multiple bit stream data sections, Wherein described object code flow data is to start the data between the frame of video put upside down and I frames, every section of bag in GOP bit stream data M frame of video is included, the m is positive integer;
Processing module 602, for being decoded successively to the target bit stream data since I frames, and will be the multiple The decoding picture of the partial video frame in bit stream data section in the range of first in bit stream data section, and the code in the range of second The decoding picture of part or all of frame of video in flow data section is stored in buffer area;
Playing module 603, for inversely showing and discharging the decoding picture stored in the buffer area;Wherein, in display And during discharging decoding picture, the frame of video not stored according to the same bit stream data Duan Zhongyi decoding pictures stored Decoding picture, and store into buffer area.
Optionally, the processing module 602, specifically for:
By the solution of first frame of video in the bit stream data section described in the multiple bit stream data section in the range of first The decoding picture of all videos frame in bit stream data section in the range of code picture, and described second is stored in buffer area.
Optionally, the bit stream data section in the range of described first in the multiple bit stream data section except final stage it Outer all bit stream datas section;Bit stream data section in the range of described second is the final stage in the multiple bit stream data section Bit stream data section.
Optionally, the processing module 602, specifically for:
During showing and discharging decoding picture, first frame of video stored according to same bit stream data Duan Zhongyi Decoding picture, to the bit stream data Duan Zhongwei store frame of video decode;It will decode and do not stored described in obtaining The decoding picture of frame of video is stored into buffer area.
Optionally, the acquisition module 601, specifically for:
The m values are determined according to following manner:
According in the number of frame of video in a GOP bit stream data, and a GOP times can decoding video frame most Big number, determines the m values.
Optionally, the acquisition module 601, specifically for:
IfThen
IfThen
Wherein, the Gop is the number of frame of video in a GOP bit stream data, and the N is can in a GOP times The maximum number of decoding video frame,Expression rounds up operation.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (12)

1. a kind of method of video play-reverse, it is characterised in that this method includes:
The target bit stream data of acquisition is subjected to segment processing, multiple bit stream data sections are obtained, wherein the object code flow data To start the data between the frame of video put upside down and I frames in a picture group GOP bit stream data, every section includes m frame of video, institute M is stated for positive integer;
The target bit stream data is decoded successively since I frames, and by the multiple bit stream data section in the first scope Part or complete in the decoding picture of partial video frame in interior bit stream data section, and bit stream data section in the range of second The decoding picture of portion's frame of video is stored in buffer area;
Inversely show and discharge the decoding picture stored in the buffer area;Wherein, showing and discharging the process of decoding picture In, the decoding picture of frame of video not stored according to the same bit stream data Duan Zhongyi decoding pictures stored, and store and arrive In buffer area.
2. the method as described in claim 1, it is characterised in that in the range of first in the section by the multiple bit stream data Bit stream data section in partial video frame decoding picture, and in the range of second bit stream data section in partly or entirely regard The decoding picture of frequency frame is stored in buffer area, including:
By the decoding figure of first frame of video in the bit stream data section described in the multiple bit stream data section in the range of first The decoding picture of all videos frame in bit stream data section in the range of piece, and described second is stored in buffer area.
3. method as claimed in claim 2, it is characterised in that the bit stream data section in the range of described first is the multiple code The section of all bit stream datas in addition to final stage in flow data section;Bit stream data section in the range of described second is described many Final stage bit stream data section in individual bit stream data section.
4. method as claimed in claim 3, it is characterised in that described during showing and discharging decoding picture, according to The decoding picture for the video requency frame data that the decoding picture of same bit stream data Duan Zhongyi storages is not stored, and store to caching Qu Zhong, including:
During showing and discharging decoding picture, according to the solution of same bit stream data Duan Zhongyi first frame of video stored Code picture, is decoded to the bit stream data Duan Zhongwei frame of video stored;
The decoding picture of frame of video that does not store described in obtaining will be decoded to store into buffer area.
5. the method as described in claim 1, it is characterised in that the m values are determined according to following manner:
According to the maximum for being capable of decoding video frame in the number of frame of video in a GOP bit stream data, and a GOP times Number, determines the m values.
6. method as claimed in claim 5, it is characterised in that the number according to frame of video in a GOP bit stream data, And it is capable of the maximum number of decoding video frame in a GOP times, the m values are determined, including:
IfThen
IfThen
Wherein, the Gop is the number of frame of video in a GOP bit stream data, and the N is that can decode that in a GOP times The maximum number of frame of video,Expression rounds up operation.
7. a kind of device of video play-reverse, it is characterised in that including:
Acquisition module, for the target bit stream data of acquisition to be carried out into segment processing, obtains multiple bit stream data sections, wherein described Target bit stream data is to start the data between the frame of video put upside down and I frames in picture group GOP bit stream data, and every section includes M frame of video, the m is positive integer;
Processing module, for being decoded successively to the target bit stream data since I frames, and by the multiple bit stream data The decoding picture of the partial video frame in bit stream data section in the range of first in section, and the bit stream data section in the range of second In the decoding picture of part or all of frame of video be stored in buffer area;
Playing module, for inversely showing and discharging the decoding picture stored in the buffer area;Wherein, showing and discharging solution During code picture, the decoding figure for the frame of video not stored according to the same bit stream data Duan Zhongyi decoding pictures stored Piece, and store into buffer area.
8. device as claimed in claim 7, it is characterised in that the processing module, specifically for:
By the decoding figure of first frame of video in the bit stream data section described in the multiple bit stream data section in the range of first The decoding picture of all videos frame in bit stream data section in the range of piece, and described second is stored in buffer area.
9. device as claimed in claim 8, it is characterised in that the bit stream data section in the range of described first is the multiple code The section of all bit stream datas in addition to final stage in flow data section;Bit stream data section in the range of described second is described many Final stage bit stream data section in individual bit stream data section.
10. device as claimed in claim 9, it is characterised in that the processing module, specifically for:
During showing and discharging decoding picture, according to the solution of same bit stream data Duan Zhongyi first frame of video stored Code picture, is decoded to the bit stream data Duan Zhongwei frame of video stored;The video that does not store described in obtaining will be decoded The decoding picture of frame is stored into buffer area.
11. device as claimed in claim 7, it is characterised in that the acquisition module, specifically for:
The m values are determined according to following manner:
According to the maximum for being capable of decoding video frame in the number of frame of video in a GOP bit stream data, and a GOP times Number, determines the m values.
12. device as claimed in claim 11, it is characterised in that the acquisition module, specifically for:
IfThen
IfThen
Wherein, the Gop is the number of frame of video in a GOP bit stream data, and the N is that can decode that in a GOP times The maximum number of frame of video,Expression rounds up operation.
CN201710427777.XA 2017-06-08 2017-06-08 A kind of method and device of video play-reverse Active CN107222779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710427777.XA CN107222779B (en) 2017-06-08 2017-06-08 A kind of method and device of video play-reverse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710427777.XA CN107222779B (en) 2017-06-08 2017-06-08 A kind of method and device of video play-reverse

Publications (2)

Publication Number Publication Date
CN107222779A true CN107222779A (en) 2017-09-29
CN107222779B CN107222779B (en) 2019-11-19

Family

ID=59948185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710427777.XA Active CN107222779B (en) 2017-06-08 2017-06-08 A kind of method and device of video play-reverse

Country Status (1)

Country Link
CN (1) CN107222779B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889895A (en) * 2019-03-13 2019-06-14 浙江大华技术股份有限公司 Video broadcasting method, device, storage medium and electronic device
CN110830838A (en) * 2018-08-10 2020-02-21 高新兴科技集团股份有限公司 Security protection high-definition video reverse broadcasting method and device
CN110856034A (en) * 2019-11-25 2020-02-28 西安奥卡云数据科技有限公司 Video file caching method and system
CN111372118A (en) * 2018-12-25 2020-07-03 深圳Tcl新技术有限公司 Screen capturing method, intelligent terminal and storage medium
CN111372117A (en) * 2018-12-25 2020-07-03 浙江大华技术股份有限公司 Video playing method and device, electronic equipment and storage medium
CN111447486A (en) * 2020-04-07 2020-07-24 上海熙菱信息技术有限公司 Reverse playing method for forward pushing of historical code stream
CN111866549A (en) * 2019-04-29 2020-10-30 腾讯科技(深圳)有限公司 Video processing method and device, terminal and storage medium
CN111866574A (en) * 2019-04-29 2020-10-30 浙江开奇科技有限公司 Real-time reverse playing method for mobile end streaming media
CN112019856A (en) * 2020-08-27 2020-12-01 上海七牛信息技术有限公司 Video reversing method and system for smart phone
CN113015003A (en) * 2021-03-08 2021-06-22 展讯通信(上海)有限公司 Video frame caching method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931808A (en) * 2010-07-26 2010-12-29 华为技术有限公司 Method and device for reversely playing file
CN103974014A (en) * 2014-05-06 2014-08-06 浙江宇视科技有限公司 Video playback method and device
CN105227884A (en) * 2014-07-03 2016-01-06 深圳中兴力维技术有限公司 Realize method that video file puts upside down and device thereof
CN105898626A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 Rewound video generating method and device and play device
CN106303379A (en) * 2015-05-20 2017-01-04 杭州海康威视数字技术股份有限公司 A kind of video file backward player method and system
CN106331718A (en) * 2016-08-31 2017-01-11 浙江大华技术股份有限公司 Video back-playing method and device
CN106507204A (en) * 2016-12-07 2017-03-15 腾讯科技(上海)有限公司 A kind of video play-reverse method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931808A (en) * 2010-07-26 2010-12-29 华为技术有限公司 Method and device for reversely playing file
CN103974014A (en) * 2014-05-06 2014-08-06 浙江宇视科技有限公司 Video playback method and device
CN105227884A (en) * 2014-07-03 2016-01-06 深圳中兴力维技术有限公司 Realize method that video file puts upside down and device thereof
CN106303379A (en) * 2015-05-20 2017-01-04 杭州海康威视数字技术股份有限公司 A kind of video file backward player method and system
CN105898626A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 Rewound video generating method and device and play device
CN106331718A (en) * 2016-08-31 2017-01-11 浙江大华技术股份有限公司 Video back-playing method and device
CN106507204A (en) * 2016-12-07 2017-03-15 腾讯科技(上海)有限公司 A kind of video play-reverse method and apparatus

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830838A (en) * 2018-08-10 2020-02-21 高新兴科技集团股份有限公司 Security protection high-definition video reverse broadcasting method and device
CN110830838B (en) * 2018-08-10 2024-01-09 高新兴科技集团股份有限公司 Security high-definition video reverse broadcasting method and device
CN111372118A (en) * 2018-12-25 2020-07-03 深圳Tcl新技术有限公司 Screen capturing method, intelligent terminal and storage medium
CN111372117A (en) * 2018-12-25 2020-07-03 浙江大华技术股份有限公司 Video playing method and device, electronic equipment and storage medium
CN109889895A (en) * 2019-03-13 2019-06-14 浙江大华技术股份有限公司 Video broadcasting method, device, storage medium and electronic device
CN111866549A (en) * 2019-04-29 2020-10-30 腾讯科技(深圳)有限公司 Video processing method and device, terminal and storage medium
CN111866574A (en) * 2019-04-29 2020-10-30 浙江开奇科技有限公司 Real-time reverse playing method for mobile end streaming media
US11600299B2 (en) 2019-04-29 2023-03-07 Tencent Technology (Shenzhen) Company Limited Video processing method and apparatus, terminal, and storage medium
CN111866549B (en) * 2019-04-29 2023-03-24 腾讯科技(深圳)有限公司 Video processing method and device, terminal and storage medium
US11922972B2 (en) 2019-04-29 2024-03-05 Tencent Technology (Shenzhen) Company Limited Method and apparatus for video coding
CN110856034A (en) * 2019-11-25 2020-02-28 西安奥卡云数据科技有限公司 Video file caching method and system
CN111447486A (en) * 2020-04-07 2020-07-24 上海熙菱信息技术有限公司 Reverse playing method for forward pushing of historical code stream
CN112019856A (en) * 2020-08-27 2020-12-01 上海七牛信息技术有限公司 Video reversing method and system for smart phone
CN113015003A (en) * 2021-03-08 2021-06-22 展讯通信(上海)有限公司 Video frame caching method and device
CN113015003B (en) * 2021-03-08 2022-11-25 展讯通信(上海)有限公司 Video frame caching method and device

Also Published As

Publication number Publication date
CN107222779B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN107222779A (en) A kind of method and device of video play-reverse
CN103310820B (en) A kind of method that multimedia player is optimized
CN104871209B (en) Method and apparatus of reducing random noise in digital video streams
CN104717513B (en) A kind of bidirectional interframe predictive method and device
CN104620578B (en) Method and apparatus for the multi-layer video coding of random access and the method and apparatus of the multi-layer video decoding for random access
CN106416251A (en) Scalable video encoding rate adaptation based on perceived quality
Duanmu et al. View direction and bandwidth adaptive 360 degree video streaming using a two-tier system
US20050147166A1 (en) Decoding device, electronic apparatus, computer, decoding method, program, and recording medium
CN106331718A (en) Video back-playing method and device
CN102959962A (en) Image compression device, image compression method, integrated circuit, program, and image display device
CN101668208A (en) Frame coding method and device
CN105472389B (en) Compression method is cached outside a kind of piece for ultra high-definition processing system for video
US9984504B2 (en) System and method for improving video encoding using content information
CN106412677A (en) Generation method and device of playback video file
CN104717509B (en) A kind of video encoding/decoding method and device
CN101836431A (en) Detecting scene transitions in digital video sequences
CN107197369A (en) A kind of video stream media parallel decoding method of many subflow collaborations
CN110490845A (en) A kind of image characteristic extracting method, device, storage medium and electronic equipment
WO2018165694A1 (en) Method, apparatus and system for encoding and decoding video data
CN110493600A (en) Image encoding method, device, computer equipment and storage medium
CN109963176A (en) Video code flow processing method, device, the network equipment and readable storage medium storing program for executing
CN104871536A (en) Method and apparatus of reducing compression noise in digital video streams
CN108200470A (en) A kind of video code rate method of adjustment and equipment
DE102022106872A1 (en) METHOD AND SYSTEM FOR LAYER VIDEO CODING
US8879629B2 (en) Method and system for intra-mode selection without using reconstructed data

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