CN113365137A - Video advertisement display method and device, electronic equipment and readable storage medium - Google Patents

Video advertisement display method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113365137A
CN113365137A CN202110626864.4A CN202110626864A CN113365137A CN 113365137 A CN113365137 A CN 113365137A CN 202110626864 A CN202110626864 A CN 202110626864A CN 113365137 A CN113365137 A CN 113365137A
Authority
CN
China
Prior art keywords
video frame
frame image
image data
advertisement
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110626864.4A
Other languages
Chinese (zh)
Other versions
CN113365137B (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110626864.4A priority Critical patent/CN113365137B/en
Publication of CN113365137A publication Critical patent/CN113365137A/en
Application granted granted Critical
Publication of CN113365137B publication Critical patent/CN113365137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • 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 or rendering scenes according to encoded video stream 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a display method, a display device, electronic equipment and a readable storage medium of a video advertisement, wherein the method comprises the following steps: the method comprises the steps of obtaining image data of a target video frame image of the video advertisement before obtaining decoded image data of the video advertisement, drawing the target video frame image according to the image data of the target video frame image, and displaying the target video frame image, drawing the video frame image according to the decoded image data of the video advertisement under the condition of obtaining the decoded image data of the video advertisement, and displaying the video frame image.

Description

Video advertisement display method and device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method and an apparatus for displaying a video advertisement, an electronic device, and a readable storage medium.
Background
Currently, when a video type Application (APP) is started, a picture advertisement, a World Wide Web (Web) advertisement, a video advertisement, and the like may need to be presented. Under the condition that the video advertisements need to be displayed, the video advertisements need to be decoded, so that the video advertisements cannot be displayed on the screen of the electronic equipment in time, and a transient white screen phenomenon occurs.
In order to solve the transient screen white phenomenon caused by the fact that the video advertisements cannot be displayed in time, a server is adopted to send a default image to electronic equipment at present, and the electronic equipment loads and displays the default image so as to display the default image on a screen before the video advertisements are decoded, so that the transient screen white phenomenon caused by the fact that the video advertisements cannot be displayed in time is avoided. However, this solution has a problem of high implementation cost.
Disclosure of Invention
The embodiment of the invention aims to provide a video advertisement display method, a video advertisement display device, electronic equipment and a readable storage medium, and aims to solve the problem that the implementation cost of the scheme for issuing a default picture to the electronic equipment through a server and avoiding the phenomenon of short-time white screen on a screen is high at present. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a method for displaying a video advertisement, executed on an electronic device, including:
before acquiring decoded image data of a video advertisement, acquiring image data of a target video frame image of the video advertisement;
drawing the target video frame image according to the image data of the target video frame image, and displaying the target video frame image;
and under the condition that the decoded image data of the video advertisement is obtained, drawing a video frame image according to the decoded image data, and displaying the video frame image.
In a second aspect of the present invention, there is provided a display device for video advertisements, disposed in an electronic device, including:
the acquisition module is used for acquiring image data of a target video frame image of the video advertisement before acquiring decoded image data of the video advertisement;
the first drawing module is used for drawing the target video frame image according to the image data of the target video frame image and displaying the target video frame image;
and the second drawing module is used for drawing the video frame image according to the decoded image data and displaying the video frame image under the condition of acquiring the decoded image data of the video advertisement.
In another aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of the method when executing the program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method described above.
In the method for displaying a video advertisement provided in this embodiment, before the decoded image data of the video advertisement is obtained, the image data of the target video frame image of the video advertisement is obtained, drawing the target video frame image based on the image data of the target video frame image and displaying the target video frame image, drawing a video frame image according to the decoded image data and displaying the video frame image in the case of acquiring the decoded image data of the video advertisement, because the target video frame image is displayed before the decoded image data for the video advertisement is acquired, the white screen problem that occurs prior to acquiring the decoded image data for the video advertisement can thus be avoided, in addition, the embodiment of the invention does not need the electronic equipment to request the server to issue the default image, thereby reducing the implementation cost for avoiding the white screen problem to a certain extent.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a flowchart illustrating steps of a method for displaying video advertisements according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of another method for displaying video advertisements according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a display device for video advertisements provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another electronic device provided in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
For a clearer understanding of the embodiments of the present invention, the related knowledge of video playing will be described first. The basic flow of video playing is as follows: acquiring a data stream of a video; separating audio data and video data in the data stream; decoding the audio data by an audio decoder and the video data by a video decoder; and realizing the synchronization of the audio and the video based on the decoded audio data and the decoded video data, and outputting the audio and the video. After recording a video, the original video data occupies a large amount of storage space and is data with high redundancy, so the original video data usually needs to be compressed, which is to remove redundant information in the original video data. And the video decoder is used for restoring the compressed video data into the original video data so as to realize the sequential playing of each frame of video image. Since it takes time to separate audio data and video data in a data stream and decode the audio data and the video data, a white screen problem may occur when a video APP is started.
At present, a server is adopted to send a default image to electronic equipment, and the electronic equipment loads and displays the default image so as to display the default image on a screen before the video advertisement is decoded, thereby avoiding the phenomenon of short-time screen white caused by the fact that the video advertisement cannot be displayed in time. Since this scheme requires communication interaction of the server and the electronic device, development costs and labor costs between the electronic device and the server are increased.
In order to reduce implementation cost for avoiding the problem of short-time white screen on a screen, the embodiment of the invention provides a display method of a video advertisement. Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a method for displaying a video advertisement according to an embodiment of the present invention. The method can be executed by electronic equipment, wherein the electronic equipment comprises electronic equipment such as a smart phone and a tablet computer. The method comprises the following steps:
step 101, before the decoded image data of the video advertisement is obtained, obtaining the image data of the target video frame image of the video advertisement.
The method for acquiring the image data of the target video frame image of the video advertisement stored in the electronic equipment can be realized by the following steps:
acquiring the video advertisement according to the storage path of the video advertisement;
acquiring image data of a video frame image corresponding to a preset time point from image data of a video advertisement according to the preset time point;
the image data of the target video frame image is the image data of the video frame image corresponding to the preset time point, and the preset time point is the time point corresponding to any video frame image of the video advertisement.
For example, the electronic device is an iPhone, which is a smartphone series developed by apple, usa, and is equipped with an iPhone Operating System (IOS for short) developed by apple, and may call an Application Programming Interface (API) of the IOS to obtain image data of a target video frame image. Specifically, the image data of the target video frame image can be acquired by calling two APIs, the first API is AVURLAsset of the IOS, the API can acquire a resource object according to a storage path of the video advertisement, the resource object includes all video frame images in the video advertisement, and the storage path refers to a path of the video advertisement stored in the electronic device. Then, by calling a second API, image data of a video frame image corresponding to a preset time point is obtained from image data of all video frame images of the video advertisement, where the preset time point may be a time point corresponding to any video frame image of the video advertisement, for example, when the preset time point is 0 second, image data of a video frame image corresponding to the 0 second time of the video advertisement is obtained, and the video frame image corresponding to the 0 second time is a first frame video frame image displayed when the video advertisement is played. The second API may be the AVAssetImageGenerator of IOS.
And 102, drawing the target video frame image according to the image data of the target video frame image, and displaying the target video frame image.
The method comprises the following steps of drawing a target video frame image according to image data of the target video frame image, and displaying the target video frame image, and can be realized through the following steps:
and assigning the image data of the target video frame image to the container content of the player of the electronic equipment so as to draw the target video frame image and display the target video frame image.
In this embodiment, the container content of the player refers to the content (contents) of the container (layer) of the player, and the image data of the obtained target video frame image may be assigned to the contents of the layer, so that the target video frame image is drawn by the player, and after the target video frame image is drawn, the target video frame image is displayed.
It should be noted that after assigning the image data of the acquired target video frame image to the contents of the layer, the masks to blocks of the layer of the player can be assigned as YES, so that the drawn target video frame image can be prevented from exceeding the playing area of the player.
Through the step 101 and the step 102, under the condition of starting the video APP, before the decoded image data of the video advertisement is acquired, the target video frame image can be displayed on the screen, so that the situation that under the condition of starting the video APP, the video advertisement cannot be displayed on the screen of the electronic device in time due to the time required for decoding the video advertisement, and the phenomenon of short-time white screen occurs can be avoided.
And 103, drawing a video frame image according to the decoded image data and displaying the video frame image under the condition of acquiring the decoded image data of the video advertisement.
When the decoded image data of the video advertisement is obtained, drawing a video frame image according to the decoded image data and displaying the video frame image in step 103, which can be implemented by the following steps:
and under the condition that the decoded image data of the video advertisement is acquired, assigning the decoded image data to the content of a container of a player of the electronic equipment so as to draw the video frame image and display the video frame image.
In this embodiment, when the decoded image data of the video advertisement is obtained, all the video frame images of the video advertisement may be sequentially drawn and displayed in sequence from the first frame video image of the video advertisement according to the existing technology.
When the target video frame image is a video frame image corresponding to the 0 th second time of the video advertisement, the video frame image corresponding to the 0 th second time of the video advertisement is displayed before the decoded image data of the video advertisement is acquired. And under the condition that the decoded image data of the video advertisement is acquired, rendering the decoded image data on a container of the player so as to display the video advertisement. The video frame image corresponding to the 0 th second displayed on the screen before the decoded image data of the video advertisement is acquired belongs to the first frame image of the video advertisement, so that the problem of short-time white screen on the screen is solved. And under the condition of acquiring the decoded image data of the video advertisement, playing the video advertisement, realizing the seamless connection between the video advertisement and the video frame image corresponding to the 0 th second time, and realizing the smooth transition of the content of the video advertisement. For example, if the video advertisement includes 100 frames of video frame images, before the decoded data of the video advertisement is acquired, a first frame of video frame image in the 100 frames of video frame images is displayed, and in the case that the decoded data of the video advertisement is acquired, the first frame of video frame image in the 100 frames of video frame images is used to replace the first frame of video frame image displayed on the screen, and then the n +1 th frame of video frame image in the starting 100 frames of video frame images is used to replace the n th frame of video frame image in the 100 frames of video frame images, so that the 100 frames of video frame images of the video advertisement are sequentially displayed, wherein n is greater than or equal to 1 and less than or equal to 99.
In the prior art, a server is adopted to send a default image to electronic equipment, and the electronic equipment loads and displays the default image so as to display the default image on a screen before the video advertisement is decoded, thereby avoiding the phenomenon of short-time screen white caused by the fact that the video advertisement cannot be displayed in time. Since this scheme requires communication interaction of the server and the electronic device, development costs and labor costs between the electronic device and the server are increased.
The method for displaying the video advertisement provided by the embodiment of the invention acquires the image data of the target video frame image of the video advertisement before acquiring the decoded image data of the video advertisement, drawing the target video frame image based on the image data of the target video frame image and displaying the target video frame image, drawing a video frame image according to the decoded image data and displaying the video frame image in the case of acquiring the decoded image data of the video advertisement, because the target video frame image is displayed before the decoded image data for the video advertisement is acquired, the white screen problem that occurs prior to acquiring the decoded image data for the video advertisement can thus be avoided, in addition, the embodiment of the invention does not need the electronic equipment to request the server to issue the default image, thereby reducing the implementation cost for avoiding the white screen problem to a certain extent.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of another method for displaying a video advertisement according to an embodiment of the present invention, where the method includes the following steps:
step 201, judging whether the electronic device locally stores the startup advertisement.
Executing step 202 under the condition that the electronic equipment locally stores the starting-up advertisement; in the case that the electronic device does not locally store the power-on advertisement, step 208 is executed.
Step 202, judging whether the starting-up advertisement is a video advertisement.
In case the boot advertisement is a video advertisement, performing step 203; in the event that the power-on advertisement is not a video advertisement, step 204 is performed.
Step 203, before the decoded image data of the video advertisement is obtained, obtaining the image data of the target video frame image of the video advertisement.
After the execution of step 203 is completed, step 205 is executed next.
And step 204, displaying other types of starting advertisements.
The boot advertisement in this step is other types of advertisements besides the video advertisement, and the other types of advertisements include, for example, a picture, a World Wide Web (Web) advertisement, and the like. By executing step 204, the display of other types of boot advertisements is ended. And under the condition that the display of other types of boot advertisements is finished, the main page of the target application program on the electronic equipment can be displayed.
Step 205, drawing the target video frame image according to the image data of the target video frame image, and displaying the target video frame image.
And step 206, under the condition that the decoded image data of the video advertisement is obtained, drawing a video frame image according to the decoded image data, and displaying the video frame image.
By executing step 206, each frame of image of the video advertisement is sequentially displayed to execute the displaying process of the video advertisement, after the displaying of the last frame of image of the video advertisement is completed, the displaying of the video advertisement is finished, and under the condition that the displaying of the video advertisement is finished, the main page of the target application program on the electronic device can be displayed.
And step 207, finishing the display of the boot advertisements.
The starting-up advertisement in this step is pointed
And step 208, displaying the main page of the target application program on the electronic equipment.
The target application is a video type application installed on the electronic device.
In the method for displaying the video advertisement, the target video frame image is displayed before the decoded image data of the video advertisement is acquired, so that the problem of white screen before the decoded image data of the video advertisement is acquired can be avoided.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a display device for video advertisements according to an embodiment of the present invention, where the device 300 is disposed in an electronic device, and includes:
an obtaining module 310, configured to obtain image data of a target video frame image of a video advertisement before obtaining decoded image data of the video advertisement;
a first drawing module 320, configured to draw the target video frame image according to the image data of the target video frame image, and display the target video frame image;
the second drawing module 330 is configured to draw a video frame image according to the decoded image data and display the video frame image when the decoded image data of the video advertisement is obtained.
The display device of the video advertisement provided by the embodiment of the invention acquires the image data of the target video frame image of the video advertisement before acquiring the decoded image data of the video advertisement, drawing the target video frame image based on the image data of the target video frame image and displaying the target video frame image, drawing a video frame image according to the decoded image data and displaying the video frame image in the case of acquiring the decoded image data of the video advertisement, because the target video frame image is displayed before the decoded image data for the video advertisement is acquired, the white screen problem that occurs prior to acquiring the decoded image data for the video advertisement can thus be avoided, in addition, the embodiment of the invention does not need the electronic equipment to request the server to issue the default image, thereby reducing the implementation cost for avoiding the white screen problem to a certain extent.
Optionally, the obtaining module 310 is specifically configured to obtain the video advertisement according to a storage path of the video advertisement;
acquiring image data of a video frame image corresponding to a preset time point from image data of the video advertisement according to the preset time point;
the image data of the target video frame image is the image data of the video frame image corresponding to the preset time point, and the preset time point is the time point corresponding to any video frame image of the video advertisement.
Optionally, the first drawing module 320 is specifically configured to assign the image data of the target video frame image to container content of a player of the electronic device, so as to draw the target video frame image and display the target video frame image.
Optionally, the second drawing module 330 is specifically configured to, in a case that decoded image data of the video advertisement is obtained, assign the decoded image data to container content of a player of the electronic device to draw the video frame image, and display the video frame image.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, and fig. 4 is a schematic structural diagram of the electronic device provided in the embodiment of the present invention. Comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 are communicated with each other through the communication bus 404,
a memory 403 for storing a computer program;
the processor 401, when executing the program stored in the memory 403, implements the following steps:
before acquiring decoded image data of a video advertisement, acquiring image data of a target video frame image of the video advertisement;
drawing the target video frame image according to the image data of the target video frame image, and displaying the target video frame image;
and under the condition that the decoded image data of the video advertisement is obtained, drawing a video frame image according to the decoded image data, and displaying the video frame image.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to perform the method for displaying a video advertisement as described in any of the above embodiments.
In yet another embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of displaying a video advertisement as described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for displaying a video advertisement, executed on an electronic device, includes:
before acquiring decoded image data of a video advertisement, acquiring image data of a target video frame image of the video advertisement;
drawing the target video frame image according to the image data of the target video frame image, and displaying the target video frame image;
and under the condition that the decoded image data of the video advertisement is obtained, drawing a video frame image according to the decoded image data, and displaying the video frame image.
2. The method of claim 1, wherein obtaining image data of a target video frame image of a video advertisement prior to obtaining decoded image data of the video advertisement comprises:
acquiring the video advertisement according to the storage path of the video advertisement;
acquiring image data of a video frame image corresponding to a preset time point from image data of the video advertisement according to the preset time point;
the image data of the target video frame image is the image data of the video frame image corresponding to the preset time point, and the preset time point is the time point corresponding to any video frame image of the video advertisement.
3. The method of claim 1, wherein said rendering the target video frame image and displaying the target video frame image based on the image data of the target video frame image comprises:
and assigning the image data of the target video frame image to the container content of a player of the electronic equipment so as to draw the target video frame image and display the target video frame image.
4. The method according to claim 1, wherein the, in the case of acquiring the decoded image data of the video advertisement, drawing a video frame image according to the decoded image data, and displaying the video frame image, comprises:
and under the condition that the decoded image data of the video advertisement is obtained, assigning the decoded image data to the content of a container of a player of the electronic equipment so as to draw the video frame image and display the video frame image.
5. The method of any of claims 1-4, wherein the video advertisement is an advertisement pre-stored locally on the electronic device.
6. A display device for video advertisement, which is provided in an electronic device, includes:
the acquisition module is used for acquiring image data of a target video frame image of the video advertisement before acquiring decoded image data of the video advertisement;
the first drawing module is used for drawing the target video frame image according to the image data of the target video frame image and displaying the target video frame image;
and the second drawing module is used for drawing the video frame image according to the decoded image data and displaying the video frame image under the condition of acquiring the decoded image data of the video advertisement.
7. The apparatus according to claim 6, wherein the first rendering module is specifically configured to assign image data of the target video frame image to container content of a player of the electronic device, so as to render the target video frame image and display the target video frame image.
8. The apparatus according to claim 6, wherein the second rendering module is specifically configured to, in a case where decoded image data of the video advertisement is obtained, assign the decoded image data to container content of a player of the electronic device to render the video frame image, and display the video frame image.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202110626864.4A 2021-06-04 2021-06-04 Video advertisement display method and device, electronic equipment and readable storage medium Active CN113365137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110626864.4A CN113365137B (en) 2021-06-04 2021-06-04 Video advertisement display method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110626864.4A CN113365137B (en) 2021-06-04 2021-06-04 Video advertisement display method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113365137A true CN113365137A (en) 2021-09-07
CN113365137B CN113365137B (en) 2023-01-03

Family

ID=77532470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110626864.4A Active CN113365137B (en) 2021-06-04 2021-06-04 Video advertisement display method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113365137B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869005A (en) * 2015-11-23 2016-08-17 乐视网信息技术(北京)股份有限公司 APP startup advertisement pre-loading method, apparatus and system
CN105898395A (en) * 2015-06-30 2016-08-24 乐视致新电子科技(天津)有限公司 Network video playing method, device and system
CN108108207A (en) * 2017-12-13 2018-06-01 北京奇虎科技有限公司 Showing advertisement method and device
CN108171536A (en) * 2017-12-13 2018-06-15 北京奇艺世纪科技有限公司 Startup advertisement methods of exhibiting and device, startup advertisement put-on method and system
CN109547851A (en) * 2018-12-06 2019-03-29 北京微播视界科技有限公司 Video broadcasting method, device and electronic equipment
CN109547837A (en) * 2018-12-05 2019-03-29 未来电视有限公司 A kind of startup advertisement playback method, device, LCD TV and storage medium
CN109947317A (en) * 2019-03-11 2019-06-28 北京字节跳动网络技术有限公司 Application program page display method and device
CN111245853A (en) * 2020-01-16 2020-06-05 平安银行股份有限公司 Multimedia advertisement playing method and related product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898395A (en) * 2015-06-30 2016-08-24 乐视致新电子科技(天津)有限公司 Network video playing method, device and system
CN105869005A (en) * 2015-11-23 2016-08-17 乐视网信息技术(北京)股份有限公司 APP startup advertisement pre-loading method, apparatus and system
CN108108207A (en) * 2017-12-13 2018-06-01 北京奇虎科技有限公司 Showing advertisement method and device
CN108171536A (en) * 2017-12-13 2018-06-15 北京奇艺世纪科技有限公司 Startup advertisement methods of exhibiting and device, startup advertisement put-on method and system
CN109547837A (en) * 2018-12-05 2019-03-29 未来电视有限公司 A kind of startup advertisement playback method, device, LCD TV and storage medium
CN109547851A (en) * 2018-12-06 2019-03-29 北京微播视界科技有限公司 Video broadcasting method, device and electronic equipment
CN109947317A (en) * 2019-03-11 2019-06-28 北京字节跳动网络技术有限公司 Application program page display method and device
CN111245853A (en) * 2020-01-16 2020-06-05 平安银行股份有限公司 Multimedia advertisement playing method and related product

Also Published As

Publication number Publication date
CN113365137B (en) 2023-01-03

Similar Documents

Publication Publication Date Title
CN109194960B (en) Image frame rendering method and device and electronic equipment
CN110427094B (en) Display method, display device, electronic equipment and computer readable medium
CN108495185B (en) Video title generation method and device
CN110166810B (en) Video rendering engine switching method, device and equipment and readable storage medium
CN112770188B (en) Video playing method and device
CN107515759B (en) Screen capture method and device, electronic equipment and readable storage medium
CN111625214B (en) Audio control method, device, equipment and storage medium
US20100083098A1 (en) Streaming Information that Describes a Webpage
CN111163345A (en) Image rendering method and device
CN109901836B (en) Information flow display method and device and client device
CN112153459A (en) Method and device for screen projection display
CN112954431A (en) Video playing method and device, video playing equipment and readable storage medium
CN103514924A (en) Method and device for playing videos in mobile terminal Widget, and player
CN106940722B (en) Picture display method and device
WO2017219872A1 (en) Set top box upgrading and channel changing methods and systems
CN108052575A (en) File scanning method, equipment and storage medium
CN108958831B (en) Viewgroup dynamic layout method and device and electronic equipment
CN108769806B (en) Media content display method and device
CN113365137B (en) Video advertisement display method and device, electronic equipment and readable storage medium
CN112714341B (en) Information acquisition method, cloud set top box system, entity set top box and storage medium
CN113986161A (en) Method and device for real-time word extraction in audio and video communication
CN107566904B (en) Resource data updating method and set top box equipment
CN107329654B (en) Method and device for drawing element floating layer and computer readable storage medium
CN114968158A (en) Application screen projection method and device, electronic equipment and storage medium
CN114567806A (en) Cross-page switching method and system

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