CN112752150A - Video decoding method and device, electronic equipment and storage medium - Google Patents

Video decoding method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112752150A
CN112752150A CN202011593557.2A CN202011593557A CN112752150A CN 112752150 A CN112752150 A CN 112752150A CN 202011593557 A CN202011593557 A CN 202011593557A CN 112752150 A CN112752150 A CN 112752150A
Authority
CN
China
Prior art keywords
video frame
decoded
video
decoding
acquiring
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.)
Pending
Application number
CN202011593557.2A
Other languages
Chinese (zh)
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.)
Shenzhen Tianshitong Vision Co ltd
Original Assignee
Shenzhen Tianshitong Vision 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 Shenzhen Tianshitong Vision Co ltd filed Critical Shenzhen Tianshitong Vision Co ltd
Priority to CN202011593557.2A priority Critical patent/CN112752150A/en
Publication of CN112752150A publication Critical patent/CN112752150A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/44008Processing 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 operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Abstract

The invention discloses a video decoding method, a video decoding device, electronic equipment and a storage medium, and relates to the technical field of video processing, wherein the video decoding method comprises the following steps: acquiring a pause playing instruction, acquiring a video frame to be decoded according to the pause playing instruction, and sending the video frame to be decoded into a current waiting queue; acquiring an operation request; extracting the video frame to be decoded from the current waiting queue based on the operation request, and acquiring a reference video frame; and decoding target video data according to the reference video frame and the video frame to be decoded. The video decoding method can realize real-time decoding of video frames and guarantee the consistency of video display.

Description

Video decoding method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a video decoding method and apparatus, an electronic device, and a storage medium.
Background
In the process of playing the Video, the hard disk provides a Video stream to a decoder in a Network Video Recorder (NVR for short) for decoding, and then the decoded Video data is displayed on a display. At present, a decoder only has one reference frame in order to save memory, and each time a frame is decoded, the currently decoded video frame is replaced by the current reference frame, so that the decoder cannot decode the already decoded video frame. And after the playing of the video is paused, or after the video is full screen, electronically amplified and cut, the decoder can be recreated or the attributes are modified, even if the decoder still has video frames, the decoded video frames can not be decoded, so that the picture can have black screen or failure in image capture.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the embodiment of the invention provides a video decoding method, which can realize real-time decoding of video frames and ensure the continuity of video display.
The invention also provides a video decoding device.
The invention further provides the electronic equipment.
The invention also provides a computer readable storage medium.
A video decoding method according to an embodiment of a first aspect of the present invention includes:
acquiring a pause playing instruction, acquiring a video frame to be decoded according to the pause playing instruction, and sending the video frame to be decoded into a current waiting queue;
acquiring an operation request;
extracting the video frame to be decoded from the current waiting queue based on the operation request, and acquiring a reference video frame;
and decoding target video data according to the reference video frame and the video frame to be decoded.
The video decoding method according to the embodiment of the first aspect of the present invention has at least the following advantages: the method comprises the steps of obtaining a video frame to be decoded through a pause playing instruction, sending the video frame to be decoded into a current waiting queue, then extracting the video frame to be decoded from the current waiting queue based on an obtained operation request, obtaining a reference video frame, and finally decoding target video data according to the reference video frame and the video frame to be decoded, so that real-time decoding of the video frame can be realized, and the continuity of video display is guaranteed.
According to some embodiments of the present invention, the decoding target video data from the reference video frame and the video frame to be decoded comprises: and decoding the video frame to be decoded according to the reference video frame to obtain the target video frame data.
According to some embodiments of the present invention, after said decoding target video data from said reference video frame and said video frame to be decoded, further comprising: and outputting the target video data.
According to some embodiments of the invention, the method further comprises: acquiring a play resuming instruction; extracting the video frame to be decoded from the current waiting queue based on the playback resuming instruction, and acquiring the reference video frame; and decoding according to the video frame to be decoded and the reference video frame.
According to some embodiments of the invention, the decoding according to the video frame to be decoded and the reference video frame comprises: decoding the video frame to be decoded; and replacing the decoded video frame to be decoded with the reference video frame, and deleting the video frame to be decoded from the current waiting queue.
A video decoding apparatus according to a second aspect of the present invention includes:
the first acquisition module is used for acquiring a pause playing instruction, acquiring a video frame to be decoded according to the pause playing instruction and sending the video frame to be decoded into a current waiting queue;
the second acquisition module is used for acquiring the operation request;
the extracting module is used for extracting the video frame to be decoded from the current waiting queue based on the operation request and acquiring a reference video frame;
and the decoding module is used for decoding target video data according to the reference video frame and the video frame to be decoded.
The video decoding device according to the embodiment of the second aspect of the present invention has at least the following advantages: by implementing the video decoding method of the embodiment of the first aspect of the present invention, real-time decoding of video frames can be achieved, and consistency of video display can be ensured.
An electronic device according to an embodiment of the third aspect of the invention includes: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions for execution by the at least one processor to cause the at least one processor, when executing the instructions, to implement the method of pricing a product of the first aspect.
According to the electronic device of the embodiment of the third aspect of the invention, at least the following beneficial effects are achieved: by executing the product pricing method of the embodiment of the first aspect of the invention, real-time decoding of video frames can be realized, and consistency of video display is ensured.
A computer-readable storage medium according to an embodiment of the fourth aspect of the present invention, the storage medium storing computer-executable instructions for causing a computer to perform the method of pricing a product according to the first aspect.
The computer-readable storage medium according to the fourth aspect of the present invention has at least the following advantages: by executing the product pricing method of the embodiment of the first aspect of the invention, real-time decoding of video frames can be realized, and consistency of video display is ensured.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a video decoding method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a video decoding method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a video decoding apparatus according to an embodiment of the present invention;
fig. 4 is a functional block diagram of an electronic device according to an embodiment of the invention.
Reference numerals:
the device comprises a first acquisition module 300, a second acquisition module 310, an extraction module 320, a decoding module 330, a processor 400, a memory 410, a data transmission module 420, a camera 430 and a display screen 440.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
First, several terms referred to in the present application are resolved:
1. NVR: the Network Video Recorder (NVR) can decode received Video code stream data and connect the decoded Video data to be detected to a local Video acquisition card in a VGA or HDMI connection mode so as to realize transmission of the Video data to be detected between the NVR and the local.
2. VGA: video Graphics Array is a Video transmission standard developed by IBM in 1987 along with PS/2 machines, has the advantages of high resolution, high display speed, rich colors and the like, and is widely applied to the field of color displays.
3. HDMI: the High Definition Multimedia Interface is a full digital image and sound transmission Interface, belonging to digital signal, and can be used in set-top box, DVD player, personal computer, TV game machine, comprehensive amplifier, digital sound equipment and TV set.
4. Operating the hard disk: it is a tool for storing video code stream, and in the course of video playing, the video code stream can be supplied to decoder to make decoding.
5. A decoder: i.e., video decoder, refers to a program or device capable of compressing or decompressing digital video.
In the process of playing the Video, the hard disk provides a Video stream to a decoder in a Network Video Recorder (NVR for short) for decoding, and then the decoded Video data is displayed on a display. At present, a decoder only has one reference frame in order to save memory, and each time a frame is decoded, the currently decoded video frame is replaced by the current reference frame, so that the decoder cannot decode the already decoded video frame. And after the playing of the video is paused, or after the video is full screen, electronically amplified and cut, the decoder can be recreated or the attributes are modified, even if the decoder still has video frames, the decoded video frames can not be decoded, so that the picture can have black screen or failure in image capture.
Based on this, embodiments of the present invention provide a video decoding method, an apparatus, an electronic device, and a storage medium, which can implement real-time decoding of video frames and ensure continuity of video display.
Referring to fig. 1, a video decoding method according to an embodiment of the first aspect of the present invention includes:
step S100, a pause playing instruction is obtained, a video frame to be decoded is obtained according to the pause playing instruction, and the video frame to be decoded is sent to a current waiting queue.
The pause playing instruction can be a command for pausing the playing of the video; the video frame to be decoded can be a frame of video frame popped up by operating a hard disk when the video playing is paused; the current wait queue may be a preset current wait to decode queue. Optionally, the video playing may be paused according to the pause playing instruction, then a frame of video frame popped up in the operation hard disk may be acquired, the video frame may be used as a video frame to be decoded, and the video frame to be decoded is sent to the current waiting queue to wait for decoding of the video frame to be decoded. In some embodiments, the current wait queue may store a plurality of frames of video to be decoded.
Step S110, an operation request is acquired.
The operation request may be a request for operating the paused video recording screen input by the user. Optionally, the operation request may include: screen cutting, electronic amplification and image grabbing. After the video frames to be decoded are sent to the current waiting queue, the video frames to be decoded in the current waiting queue are not sent to a decoder for decoding, and the video frames to be decoded in the current waiting queue are not replaced. When the operation of the user is screen cutting, electronic amplification and image capture, the operation request can be screen cutting, electronic amplification or image capture.
And step S120, extracting the video frame to be decoded from the current waiting queue based on the operation request, and acquiring a reference video frame.
Wherein the reference video frame may be a video frame that is a reference at the time of decoding. Alternatively, the reference video frame may be set as desired. When the operation request is screen cutting, electronic amplification and image capturing, the video frame to be decoded can be extracted from the current waiting queue, and the reference video frame is obtained, and at the moment, the video frame to be decoded in the current waiting queue does not need to be replaced by the reference frame, so that the extracted video frame to be decoded and the reference video frame can be sent to a decoder for decoding.
Step S130, decoding the target video data according to the reference video frame and the video frame to be decoded.
The target video data may be video data obtained by decoding a video frame to be decoded. Optionally, decoding the target video data according to the reference video frame and the video frame to be decoded may be: and decoding the video frame to be decoded by taking the reference video frame as a reference so as to obtain target video data. In some specific embodiments, the decoded target video data can be displayed on a display in a VGA/HDMI manner, so as to avoid the situation of black screen or failed image capture during screen cutting, electronic amplification and image capture.
According to the video decoding method, the video frame to be decoded is obtained through the pause playing instruction, the video frame to be decoded is sent into the current waiting queue, then the video frame to be decoded is extracted from the current waiting queue based on the obtained operation request, the reference video frame is obtained, and finally the target video data is decoded according to the reference video frame and the video frame to be decoded, so that the real-time decoding of the video frame can be realized, and the continuity of video display is ensured.
In some embodiments of the present invention, decoding target video data from a reference video frame and a video frame to be decoded comprises:
and decoding the video frame to be decoded according to the reference video frame to obtain the target video frame data. Optionally, the reference video frame may be used as an important reference for decoding by the decoder, so that after the video frame to be decoded and the reference video frame are sent to the decoder together, the decoder may be controlled to decode the video frame to be decoded by using the reference video frame as a reference, thereby obtaining effective target video frame data.
In some embodiments of the present invention, after decoding target video data from a reference video frame and a video frame to be decoded, the method further includes:
and outputting the target video data. Optionally, after the control decoder decodes the target video data according to the reference video frame and the video frame to be decoded, the decoded target video data may be displayed on the display in a VGA/HDMI manner, that is, the target video data is VGA/HDMI outputted to the display. The pause mode of the decoder in the NVR is realized by outputting the target video data, namely under the condition that the hard disk is operated to provide only one frame of video frame, under the operations of screen cutting, electronic amplification or image capture and the like, the decoder can still decode the video frame to be decoded and the decoded target video data is displayed on the display in a VGA/HDMI mode, and the problem that the decoder cannot decode the decoded video frame to cause the picture to have black screen or image capture failure is solved.
Referring to fig. 2, in some embodiments of the present invention, a video decoding method further comprises:
step S200, a resume play instruction is obtained.
The resume playing instruction may be a command to resume playing the video. Optionally, after the playing of the video is suspended, a play resuming instruction input by the user may be obtained, and the video may be continuously played according to the play resuming instruction.
Step S210, extracting the video frame to be decoded from the current waiting queue based on the resume play instruction, and obtaining the reference video frame.
Optionally, the video recording video may be continuously played according to the playback resuming instruction, so that the video frame to be decoded may be extracted from the current waiting queue, the reference video frame may be obtained, and then the video frame to be decoded and the reference video frame are sent to the decoder together, and the decoder performs decoding according to the video frame to be decoded and the reference video frame.
Step S220, decoding is carried out according to the video frame to be decoded and the reference video frame.
Optionally, when the playing of the video is resumed according to the resume playing instruction, the video frame to be decoded and the reference video frame may be transmitted to the decoder, the video frame to be decoded is replaced with the reference video frame, and finally, the video frame to be decoded and the reference video frame are decoded by the decoder. And finally, decoding according to the video frame to be decoded and the reference video frame, so that continuous playing of video pictures can be ensured, and the consistency of video display is realized.
In some embodiments of the present invention, decoding from a video frame to be decoded and a reference video frame comprises:
and decoding the video frame to be decoded. Optionally, when the video recording video is paused according to the pause playing instruction, if the video recording video is directly resumed without performing operations of screen cutting, electronic amplification and image capture, a frame of video frame may not be decoded, so that a frame of video frame is lacked, and therefore, when the video recording video frame is continuously played according to the resume playing instruction (i.e., when the video is normally played), a screen-splash situation may occur. Therefore, in order to ensure the continuity of the picture, after the video frame to be decoded and the reference video frame are fed into the decoder together, the video frame to be decoded may be decoded first. In some specific embodiments, even if there are screen-cutting, electronic zooming and image-capturing operations, in order to reduce the number of times of determining the continuity of the picture video frame, the video frame to be decoded may be decoded first.
And replacing the decoded video frame to be decoded with the reference video frame, and deleting the video frame to be decoded from the current waiting queue. Optionally, after the video frame to be decoded is decoded, the video frame to be decoded may be replaced by a reference video, and the video frame to be decoded is cleared in the current waiting queue to wait for the next round of obtaining the pause playing instruction or the resume playing instruction. The video frame to be decoded is decoded firstly, then the decoded video frame to be decoded is replaced by the reference video frame, and the video frame to be decoded is deleted from the current waiting queue, so that the time synchronization between the video after the playing is resumed and the video before the pause is kept, and the continuity of picture playing is realized.
The following describes the procedure of a video decoding method according to an embodiment of the present invention in detail. It is to be understood that the following description is only exemplary, and not a specific limitation of the invention.
A video decoding method, performing the steps of:
firstly, when the video playing is suspended, a frame of video frame popped up by operating a hard disk is obtained. And sending the video frame serving as a video frame to be decoded into a current waiting decoding queue. The current wait queue may store a plurality of frames of video to be decoded.
And secondly, setting decoding control operation, namely only sending the video frame to be decoded into the current waiting decoding queue, not sending the video frame to be decoded into a decoder for decoding, and not replacing the reference frame.
Thirdly, judging whether the user performs screen cutting, electronic amplification or image capturing and other operations, if so, continuing to execute the third step; if not, executing the fifth step.
And generating a corresponding operation request when the user performs screen cutting, electronic amplification or image capturing operation. And sending the video frames to be decoded in the current waiting decoding queue to a decoder for decoding according to the operation request, specifically sending the video frames to be decoded and the reference video frame to the decoder together, and decoding the video frames to be decoded by taking the reference video frame as a reference to obtain decoded video data.
And fourthly, outputting the decoded video data to a display screen for displaying in a VGA/HDMI mode.
And fifthly, if the user directly resumes the playing without performing the screen cutting, electronic amplification or image capturing operation, or selects to resume the playing after performing the screen cutting, electronic amplification or image capturing operation, in order to ensure the continuity of the played image, the video frame to be decoded and the reference video frame in the current waiting decoding queue can be sent to a decoder together, the video frame to be decoded is decoded by the decoder, then the decoded video frame to be decoded is replaced by the reference video frame, and meanwhile, the video frame to be decoded in the current waiting queue is deleted, so that the next round of obtaining the paused playing or resuming the playing is waited.
The video decoding method can realize real-time decoding of video frames and guarantee the consistency of video display.
Referring to fig. 3, a video decoding apparatus according to an embodiment of the second aspect of the present invention includes:
a first obtaining module 300, configured to obtain a pause playing instruction, obtain a video frame to be decoded according to the pause playing instruction, and send the video frame to be decoded into a current waiting queue;
a second obtaining module 310, configured to obtain an operation request;
an extracting module 320, configured to extract a video frame to be decoded from the current waiting queue based on the operation request, and obtain a reference video frame;
and the decoding module 330 is configured to decode the target video data according to the reference video frame and the video frame to be decoded.
The above-mentioned video decoding apparatus, by implementing the video decoding method according to the first aspect of the present invention, can implement real-time decoding of video frames, and ensure the consistency of video display.
Referring to fig. 4, an embodiment of the third aspect of the present invention further provides a functional module diagram of an electronic device, including: at least one processor 400, and a memory 410 communicatively coupled to the at least one processor 400; and the system also comprises a data transmission module 420, a camera 430 and a display screen 440.
Wherein the processor 400 is adapted to perform a video decoding method in the first embodiment by calling a computer program stored in the memory 410.
The memory, as a non-transitory storage medium, may be used to store a non-transitory software program and a non-transitory computer-executable program, such as a video decoding method in an embodiment of the first aspect of the present invention. The processor implements a video decoding method in the above-described first embodiment by executing a non-transitory software program and instructions stored in the memory.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store a video decoding method that performs the above-described embodiments of the first aspect. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Non-transitory software programs and instructions needed to implement a video decoding method in the above-described first aspect embodiment are stored in a memory, and when executed by one or more processors, perform a video decoding method in the above-described first aspect embodiment.
Embodiments of the fourth aspect of the present invention also provide a computer-readable storage medium storing computer-executable instructions for: a video decoding method in an embodiment of the first aspect is performed.
In some embodiments, the storage medium stores computer-executable instructions, which are executed by one or more control processors, for example, by one of the processors in the electronic device of the third aspect, and may cause the one or more processors to perform a video decoding method in the first aspect.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (8)

1. A video decoding method, comprising:
acquiring a pause playing instruction, acquiring a video frame to be decoded according to the pause playing instruction, and sending the video frame to be decoded into a current waiting queue;
acquiring an operation request;
extracting the video frame to be decoded from the current waiting queue based on the operation request, and acquiring a reference video frame;
and decoding target video data according to the reference video frame and the video frame to be decoded.
2. The method of claim 1, wherein decoding target video data from the reference video frame and the video frame to be decoded comprises:
and decoding the video frame to be decoded according to the reference video frame to obtain the target video frame data.
3. The method of claim 2, further comprising, after said decoding target video data from the reference video frame and the video frame to be decoded:
and outputting the target video data.
4. A method according to any one of claims 1 to 3, characterized in that the method further comprises:
acquiring a play resuming instruction;
extracting the video frame to be decoded from the current waiting queue based on the playback resuming instruction, and acquiring the reference video frame;
and decoding according to the video frame to be decoded and the reference video frame.
5. The method of claim 4, wherein the decoding according to the video frame to be decoded and the reference video frame comprises:
decoding the video frame to be decoded;
and replacing the decoded video frame to be decoded with the reference video frame, and deleting the video frame to be decoded from the current waiting queue.
6. A video decoding apparatus, comprising:
the first acquisition module is used for acquiring a pause playing instruction, acquiring a video frame to be decoded according to the pause playing instruction and sending the video frame to be decoded into a current waiting queue;
the second acquisition module is used for acquiring the operation request;
the extracting module is used for extracting the video frame to be decoded from the current waiting queue based on the operation request and acquiring a reference video frame;
and the decoding module is used for decoding target video data according to the reference video frame and the video frame to be decoded.
7. An electronic device, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions for execution by the at least one processor to cause the at least one processor, when executing the instructions, to implement a video decoding method as claimed in any one of claims 1 to 5.
8. Computer-readable storage medium, characterized in that it stores computer-executable instructions for causing a computer to perform a video decoding method according to any one of claims 1 to 5.
CN202011593557.2A 2020-12-29 2020-12-29 Video decoding method and device, electronic equipment and storage medium Pending CN112752150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011593557.2A CN112752150A (en) 2020-12-29 2020-12-29 Video decoding method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011593557.2A CN112752150A (en) 2020-12-29 2020-12-29 Video decoding method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112752150A true CN112752150A (en) 2021-05-04

Family

ID=75646717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011593557.2A Pending CN112752150A (en) 2020-12-29 2020-12-29 Video decoding method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112752150A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102160373A (en) * 2008-09-22 2011-08-17 国际商业机器公司 Method and system for playing video on mobile device
CN102883218A (en) * 2012-09-21 2013-01-16 北京君正集成电路股份有限公司 Method and equipment for decoding multiple video files
CN104185982A (en) * 2012-02-29 2014-12-03 远升科技股份有限公司 Video processing method and video appliance implementing method
CN107948735A (en) * 2017-12-06 2018-04-20 北京金山安全软件有限公司 Video playing method and device and electronic equipment
CN110366033A (en) * 2019-07-17 2019-10-22 腾讯科技(深圳)有限公司 A kind of video broadcasting method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102160373A (en) * 2008-09-22 2011-08-17 国际商业机器公司 Method and system for playing video on mobile device
CN104185982A (en) * 2012-02-29 2014-12-03 远升科技股份有限公司 Video processing method and video appliance implementing method
CN102883218A (en) * 2012-09-21 2013-01-16 北京君正集成电路股份有限公司 Method and equipment for decoding multiple video files
CN107948735A (en) * 2017-12-06 2018-04-20 北京金山安全软件有限公司 Video playing method and device and electronic equipment
CN110366033A (en) * 2019-07-17 2019-10-22 腾讯科技(深圳)有限公司 A kind of video broadcasting method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11503244B2 (en) Systems and methods to position and play content
JP6438598B2 (en) Method and device for displaying information on a video image
US8988612B2 (en) Receiver, reception method, transmitter, transmission method, program and broadcasting system
US20160261929A1 (en) Broadcast receiving apparatus and method and controller for providing summary content service
CN108989883B (en) Live broadcast advertisement method, device, equipment and medium
JPH08294083A (en) Video image digest generator and its method
JP4267649B2 (en) VIDEO PROGRAM PROCESSING METHOD, RELATED DEVICE, AND RELATED MEDIUM
US9538247B2 (en) Method and system for image alteration
WO2021129830A1 (en) Video transmission method, apparatus, device and system
US20060161854A1 (en) Method and apparatus for controlling operation of screen saver during reproduction of content
CN108322805B (en) HBBTV display processing method and device
CN114567801A (en) Method and system for sharing snapshots extracted from video transmission
US10674226B2 (en) Video content replay
CN105898398A (en) Advertisement play method and device, advertising method and device and advertisement system
CN110858910B (en) Live video display method, device, equipment and storage medium
US20020048043A1 (en) Apparatus and method for picture transmission and display
CN109922366B (en) Equipment parameter adjusting method, device, equipment and medium
US8970782B2 (en) Method and system for redisplaying text
CN112752150A (en) Video decoding method and device, electronic equipment and storage medium
CN108156515B (en) Video playing method, smart television and computer readable storage medium
CN114374869A (en) Panoramic video playing method and device and computer storage medium
US11589119B2 (en) Pseudo seamless switching method, device and media for web playing different video sources
CN112019858B (en) Video playing method and device, computer equipment and storage medium
CN113873298A (en) Method for redirecting video, electronic equipment and computer-readable storage medium
CN110662082A (en) Data processing method, device, system, mobile terminal and storage medium

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