CN114286175A - Method for playing video mosaic advertisement - Google Patents

Method for playing video mosaic advertisement Download PDF

Info

Publication number
CN114286175A
CN114286175A CN202111588452.2A CN202111588452A CN114286175A CN 114286175 A CN114286175 A CN 114286175A CN 202111588452 A CN202111588452 A CN 202111588452A CN 114286175 A CN114286175 A CN 114286175A
Authority
CN
China
Prior art keywords
advertisement
playing
video content
played
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.)
Pending
Application number
CN202111588452.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.)
E Surfing Video Media Co Ltd
Original Assignee
E Surfing Video Media 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 E Surfing Video Media Co Ltd filed Critical E Surfing Video Media Co Ltd
Priority to CN202111588452.2A priority Critical patent/CN114286175A/en
Publication of CN114286175A publication Critical patent/CN114286175A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a playing method of a video mosaic advertisement, which is characterized in that the existing video advertisement displaying technology is to directly play the advertisement before, after or in the process of video playing, or display the advertisement by being superposed above the video content in the playing process. The invention adopts a mode of fusing and displaying with the video content, the advertisement content is superposed on the video content after projection deformation processing, and is fused with the original video content into a whole, thus being more friendly to the user experience and not easy to cause the conflict of the user on the advertisement. In the existing video advertisement technology, different advertisements are added in a mode of embedding the advertisements before and after video playing or in the process of video playing, and advertisement contents need to be inserted into a video content file. The invention processes the video content and the advertisement into metadata independent of the video medium, and dynamically issues the metadata through the platform, so that the same video content can correspond to different customized advertisement contents.

Description

Method for playing video mosaic advertisement
Technical Field
The invention relates to a method for playing advertisement while playing video.
Background
Video playback, as a typical internet application, has a huge user base and a huge market space. With the development of the internet and multimedia, the traditional media marketing mode can not meet the demand of the times, and the replaced video advertisement becomes a popular popularization mode for merchants and enterprises due to the characteristics of accurate propagation and high conversion rate.
Traditional advertising industries, such as the live broadcast or movie industry, have incorporated different advertisements by embedding the advertisements before, after, or during the video playback. The advertisement playing method needs to insert advertisement content into the video content file, which consumes a lot of resources. And once the advertisement content of the same video medium needs to be replaced, only the original medium is deleted, and then the new advertisement content is inserted again. Thus wasting space and not reusing resources.
Meanwhile, in the existing video advertisement display technology, the advertisement is directly played before, after or in the process of playing the video, or the advertisement is displayed by being superposed above the content of the video in the playing process, and the displayed advertisement can shield the video or influence the playing of the video. The display mode can generate certain negative influence on a video watching user and easily cause the user to be conflicted.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the conventional video advertisement display technology can influence the normal playing of a video and reduce the user experience.
In order to solve the above technical problem, the technical solution of the present invention is to provide a method for playing a video mosaic advertisement, which is characterized by comprising the following steps:
step 1, on a playing platform, according to user information of a current user bound with a current playing terminal, N advertisement raw materials which are interesting to the current user are selected from all the advertisement raw materials, wherein N is larger than or equal to 1, and the N advertisement raw materials are defined as advertisement materials to be played.
Step 2, the playing platform performs the following processing on any video content which can be pulled and played by the current playing terminal:
for each frame of image of the video content, selecting image space data and advertisement time data which can be fused with the current advertisement material to be played from the corresponding image frame according to the original size of each advertisement material to be played, wherein:
approximating each image space to a quadrilateral space, wherein each image space data is four corner coordinates of the corresponding quadrilateral space in each image frame; the advertisement time data is the playing time corresponding to the first image frame and the playing time corresponding to the last image frame in a section of continuous image frames displaying the same quadrilateral space, the playing time corresponding to the first image frame is defined as the advertisement playing starting time, and the playing time corresponding to the last image frame is defined as the advertisement playing ending time;
step 3, according to the image space data and the advertisement time data obtained in the step 2, combining the N advertisement materials to be played in the step 1, and constructing at least one advertisement metadata data associated with the video content for each advertisement material to be played by the playing platform; each advertisement material to be played corresponds to an advertisement metadata data in different playing time periods in the same video content;
step 4, the playing platform distributes the video content and all the associated advertisement metadata data to the playing terminal;
step 5, the playing terminal pulls the video content which is interested by the current user according to the operation of the user who finishes the registration on the playing platform, and the playing terminal also obtains all advertisement metadata data which are related to the current video content while pulling the video content;
and 6, rendering the advertisement content to the corresponding image space position of the corresponding continuous image frame of the video content by the playing terminal according to the advertisement metadata data, so as to realize the fusion display of the advertisement content and the video content.
Preferably, in step 3, the data structure of any one of the advertisement metadata includes:
an ID field, the value of the ID field being an advertisement ID;
the value of the addr field is an advertisement URL pointing to the playing address of the advertisement material to be played;
a start _ pts field, the value of which is the advertisement playing start time;
an end _ pts field, the value of which is the advertisement playing termination time;
a frames field, the value of the frames field is an array, one item in the array corresponds to the display time and position data of one frame of advertisement image, and the frame comprises a pts field and a pos field:
the value of the pts field is the starting display time of the frame advertisement image, namely the frame advertisement image is started to be displayed when the video is played to pts;
a pos field having a value of (x'0,y′0)、(x′1,y′1)、(x′2,y′2)、(x′,y′3)。
Preferably, in step 6, the rendering operation includes the following steps:
601, calculating a projection transformation matrix M by using OpenCV through a mapping relation between a vertex of an advertisement material to be played and a vertex of a video target position;
the vertexes of the advertisement material to be played are the coordinates of four corner pixel points of the image corresponding to the advertisement material to be played, and the coordinates are respectively (x)0,y0)、(x1,y1)、(x2,y2)、(x3,y3) Then call the perspective transformation function getterspctive transform in OpenCV to obtain the transformation matrix M, as shown in the following formula:
M=getPerspectiveTransform(X′,X)
X′=((x′0,y′0),(x′1,y′1),(x′2,y′2),(x′3,y′3))
X=((x0,y0),(x1,y1),(x2,y2),(x3,y3))
step 601, calling a perspective transformation function warp perspective () in OpenCV to perform projection transformation on each pixel point in the advertisement material to be played, and then displaying the pixel point on a corresponding image frame of the video content, as shown in the following formula:
(x′,y′)=warpPerspective((x,y),M)
in the formula, (x, y) represents the coordinate of any pixel point in the advertisement material to be played, and (x ', y') represents the coordinate of the projection point of (x, y) on the image frame.
Preferably, the rendering operation in step 6 comprises the steps of:
after target vertexes are set by using OpenGL, the advertisement textures are rendered to the target position of video content directly, wherein the target vertexes are four corner coordinates of a quadrilateral space.
The invention changes the advertisement playing mode of the traditional media industry, integrates the advertisement into the video and breaks through the traditional advertisement display mode on the video. When the video is played, the advertisement content which is completely fused with the video content is displayed, and the advertisement content is superposed on the video content after projection deformation processing and is fused with the original video content, so that the conflict of a video watching user on the traditional pop-up video is reduced. In addition, the invention dynamically issues the advertisement content customized for different users in real time through the real-time connection of the terminal and the service platform.
Compared with the prior art, the invention has the following advantages:
1) the existing video advertisement display technology is to directly play advertisements before, after or during the playing of videos, or to display advertisements by superimposing the advertisements on the video contents during the playing process. The invention adopts a mode of fusing and displaying with the video content, the advertisement content is superposed on the video content after projection deformation processing, and is fused with the original video content into a whole, thus being more friendly to the user experience and not easy to cause the conflict of the user on the advertisement.
2) In the existing video advertisement technology, different advertisements are added in a mode of embedding the advertisements before and after video playing or in the process of video playing, and advertisement contents need to be inserted into a video content file. The invention processes the video content and the advertisement into metadata independent of the video medium, and dynamically issues the metadata through the platform, so that the same video content can correspond to different customized advertisement contents.
Drawings
FIG. 1 illustrates an advertisement processing playback flow;
FIG. 2 illustrates a fusion display method.
Detailed Description
The invention will be further illustrated with reference to the following specific examples. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and such equivalents may fall within the scope of the present invention as defined in the appended claims.
As shown in fig. 1, the method for playing a video mosaic advertisement provided by the present invention includes the following steps:
step 1, on a playing platform, according to user information of a current user bound with a current playing terminal, N advertisement raw materials which are interesting to the current user are selected from all advertisement raw materials, wherein N is larger than or equal to 1, and the N advertisement raw materials are defined as advertisement materials to be played.
Step 2, the playing platform performs the following processing on any video content which can be pulled and played by the current playing terminal: and performing AI or manual processing on each frame of image of the video content, and selecting image space data and advertisement time data which can be fused with the current advertisement material to be played from the corresponding image frame according to the original size of each advertisement material to be played.
In the invention, each image space is approximated to be a quadrilateral space, and each image space data is four corner coordinates of the corresponding quadrilateral space in each image frame. And the advertisement time data is the playing time corresponding to the first image frame and the playing time corresponding to the last image frame in a section of continuous image frames displaying the same quadrilateral space. In the invention, the playing time corresponding to the first image frame is defined as the advertisement playing starting time, and the playing time corresponding to the last image frame is defined as the advertisement playing ending time.
And 3, combining the N advertisement materials to be played in the step 1 according to the image space data and the advertisement time data obtained in the step 2, and constructing at least one advertisement metadata data associated with the video content for each advertisement material to be played by the playing platform. Each advertisement material to be played corresponds to an advertisement metadata data in different playing time periods in the same video content.
In this embodiment, the data structure of any advertisement metadata includes:
an ID field, the value of the ID field being an advertisement ID;
the value of the addr field is an advertisement URL pointing to the playing address of the advertisement material to be played;
a frames field, the value of the frames field is an array, one item in the array corresponds to the display time and position data of one frame of advertisement image, and the frame comprises a pts field and a pos field
The value of the pts field is the starting display time of the frame advertisement image, namely the frame advertisement image is started to be displayed when the video is played to pts;
pos field whose value is spatial data of the display position of the frame advertisement image, in this embodiment, four corner coordinates of the quadrangular space are (x'0,y′0)、(x′1,y′1)、(x′2,y′2)、(x′3,y′3)。
And 4, the playing platform distributes the video content and all the advertisement metadata data related to the video content to the playing terminal through a traditional video/file distribution network.
And step 5, the playing terminal pulls the video content which is interested by the current user according to the operation of the user who finishes the registration on the playing platform, and the playing terminal also obtains all advertisement metadata data associated with the current video content while pulling the video content.
And 6, rendering the advertisement content to the corresponding image space position of the corresponding continuous image frame of the video content by the playing terminal according to the advertisement metadata data to realize the fusion display of the advertisement content and the video content, as shown in fig. 2.
The rendering operation in step 6 can be implemented in any one of the following two ways:
a first rendering operation: and after setting target vertexes by using OpenGL, directly rendering the advertisement textures to the target positions of the video content, wherein the target vertexes are four corner coordinates of a quadrilateral space in the advertisement metadata.
The second rendering operation comprises the steps of:
step 601, calculating a projection transformation matrix M through a mapping relation between a vertex of the advertisement material to be played and a vertex of a video target position by using OpenCV.
The vertexes of the advertisement material to be played are the coordinates of four corner pixel points of the image corresponding to the advertisement material to be played, and the coordinates are respectively (x)0,y0)、(x1,y1)、(x2,y2)、(x3,y3) Then call the perspective transformation function getterspctive transform in OpenCV to obtain the transformation matrix M, as shown in the following formula:
M=getPerspectiveTransform(X′,X)
X′=((x′0,y′0),(x′1,y′1),(x′2,y′2),(x′3,y′3))
X=((x0,y0),(x1,y1),(x2,y2),(x3,y3))
step 601, calling a perspective transformation function warp perspective () in OpenCV to perform projection transformation on each pixel point in the advertisement material to be played, and then displaying the pixel point on a corresponding image frame of the video content, as shown in the following formula:
(x′,y′)=warpPerspective((x,y),M)
in the formula, (x, y) represents the coordinate of any pixel point in the advertisement material to be played, and (x ', y') represents the coordinate of the projection point of (x, y) on the image frame.

Claims (4)

1. A playing method of a video mosaic advertisement is characterized by comprising the following steps:
step 1, on a playing platform, according to user information of a current user bound with a current playing terminal, N advertisement raw materials which are interesting to the current user are selected from all the advertisement raw materials, wherein N is larger than or equal to 1, and the N advertisement raw materials are defined as advertisement materials to be played.
Step 2, the playing platform performs the following processing on any video content which can be pulled and played by the current playing terminal:
for each frame of image of the video content, selecting image space data and advertisement time data which can be fused with the current advertisement material to be played from the corresponding image frame according to the original size of each advertisement material to be played, wherein:
approximating each image space to a quadrilateral space, wherein each image space data is four corner coordinates of the corresponding quadrilateral space in each image frame; the advertisement time data is the playing time corresponding to the first image frame and the playing time corresponding to the last image frame in a section of continuous image frames displaying the same quadrilateral space, the playing time corresponding to the first image frame is defined as the advertisement playing starting time, and the playing time corresponding to the last image frame is defined as the advertisement playing ending time;
step 3, according to the image space data and the advertisement time data obtained in the step 2, combining the N advertisement materials to be played in the step 1, and constructing at least one advertisement metadata data associated with the video content for each advertisement material to be played by the playing platform; each advertisement material to be played corresponds to an advertisement metadata data in different playing time periods in the same video content;
step 4, the playing platform distributes the video content and all the associated advertisement metadata data to the playing terminal;
step 5, the playing terminal pulls the video content which is interested by the current user according to the operation of the user who finishes the registration on the playing platform, and the playing terminal also obtains all advertisement metadata data which are related to the current video content while pulling the video content;
and 6, rendering the advertisement content to the corresponding image space position of the corresponding continuous image frame of the video content by the playing terminal according to the advertisement metadata data, so as to realize the fusion display of the advertisement content and the video content.
2. The method as claimed in claim 1, wherein in step 3, the data structure of the meta data of any one of the advertisements includes:
an ID field, the value of the ID field being an advertisement ID;
the value of the addr field is an advertisement URL pointing to the playing address of the advertisement material to be played;
a start _ pts field, the value of which is the advertisement playing start time;
an end _ pts field, the value of which is the advertisement playing termination time;
a frames field, the value of the frames field is an array, one item in the array corresponds to the display time and position data of one frame of advertisement image, and the frame comprises a pts field and a pos field:
the value of the pts field is the starting display time of the frame advertisement image, namely the frame advertisement image is started to be displayed when the video is played to pts;
a pos field having a value of (x'0,y′0)、(x′1,y′1)、(x′2,y′2)、(x′3,y′3)。
3. The method as claimed in claim 2, wherein in step 6, the rendering operation includes the following steps:
601, calculating a projection transformation matrix M by using OpenCV through a mapping relation between a vertex of an advertisement material to be played and a vertex of a video target position;
the vertexes of the advertisement material to be played are the coordinates of four corner pixel points of the image corresponding to the advertisement material to be played, and the coordinates are respectively (x)0,y0)、(x1,y1)、(x2,y2)、(x3,y3) Then call the perspective transformation function getterspctive transform in OpenCV to obtain the transformation matrix M, as shown in the following formula:
M=getPerspectiveTransform(X′,X)
X′=((x′0,y′0),(x′1,y′1),(x′2,y′2),(x′3,y′3))
X=((x0,y0),(x1,y1),(x2,y2),(x3,y3))
step 601, calling a perspective transformation function warp perspective () in OpenCV to perform projection transformation on each pixel point in the advertisement material to be played, and then displaying the pixel point on a corresponding image frame of the video content, as shown in the following formula:
(x′,y′)=warpPerspective((x,y),M)
in the formula, (x, y) represents the coordinate of any pixel point in the advertisement material to be played, and (x ', y') represents the coordinate of the projection point of (x, y) on the image frame.
4. The method as claimed in claim 1, wherein the rendering operation in step 6 includes the following steps:
after target vertexes are set by using OpenGL, the advertisement textures are rendered to the target position of video content directly, wherein the target vertexes are four corner coordinates of a quadrilateral space.
CN202111588452.2A 2021-12-23 2021-12-23 Method for playing video mosaic advertisement Pending CN114286175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111588452.2A CN114286175A (en) 2021-12-23 2021-12-23 Method for playing video mosaic advertisement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111588452.2A CN114286175A (en) 2021-12-23 2021-12-23 Method for playing video mosaic advertisement

Publications (1)

Publication Number Publication Date
CN114286175A true CN114286175A (en) 2022-04-05

Family

ID=80874473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111588452.2A Pending CN114286175A (en) 2021-12-23 2021-12-23 Method for playing video mosaic advertisement

Country Status (1)

Country Link
CN (1) CN114286175A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915839A (en) * 2022-04-07 2022-08-16 广州方硅信息技术有限公司 Rendering processing method for inserting video support elements, electronic terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363483A (en) * 2014-12-01 2015-02-18 北京奇艺世纪科技有限公司 Advertisement pushing method and device based on video picture
CN104363484A (en) * 2014-12-01 2015-02-18 北京奇艺世纪科技有限公司 Advertisement pushing method and device based on video picture
CN106982380A (en) * 2017-04-20 2017-07-25 上海极链网络科技有限公司 The method for implantation of virtual interactive advertisement in internet video
CN113055732A (en) * 2021-03-19 2021-06-29 湖南快乐阳光互动娱乐传媒有限公司 Advertisement delivery method, advertisement delivery server, client and advertisement delivery system
CN113727166A (en) * 2021-07-30 2021-11-30 北京奇艺世纪科技有限公司 Advertisement display method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363483A (en) * 2014-12-01 2015-02-18 北京奇艺世纪科技有限公司 Advertisement pushing method and device based on video picture
CN104363484A (en) * 2014-12-01 2015-02-18 北京奇艺世纪科技有限公司 Advertisement pushing method and device based on video picture
CN106982380A (en) * 2017-04-20 2017-07-25 上海极链网络科技有限公司 The method for implantation of virtual interactive advertisement in internet video
CN113055732A (en) * 2021-03-19 2021-06-29 湖南快乐阳光互动娱乐传媒有限公司 Advertisement delivery method, advertisement delivery server, client and advertisement delivery system
CN113727166A (en) * 2021-07-30 2021-11-30 北京奇艺世纪科技有限公司 Advertisement display method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915839A (en) * 2022-04-07 2022-08-16 广州方硅信息技术有限公司 Rendering processing method for inserting video support elements, electronic terminal and storage medium
CN114915839B (en) * 2022-04-07 2024-04-16 广州方硅信息技术有限公司 Rendering processing method for inserting video support element, electronic terminal and storage medium

Similar Documents

Publication Publication Date Title
US8860803B2 (en) Dynamic replacement of cinematic stage props in program content
US9038100B2 (en) Dynamic insertion of cinematic stage props in program content
US11856271B2 (en) Symbiotic interactive video
US7444656B2 (en) Post production visual enhancement rendering
US20080304805A1 (en) Preparing and presenting a preview of video placement advertisements
US8412021B2 (en) Video player user interface
CN107197341B (en) Dazzle screen display method and device based on GPU and storage equipment
JP5458131B2 (en) Dynamic replacement and insertion method of movie stage props in program content
US20160050465A1 (en) Dynamically targeted ad augmentation in video
JPH11512902A (en) Apparatus for using media content in interactive digital media programs
US20140082209A1 (en) Personalized streaming internet video
EP1834485A2 (en) Video-on-demand embedded advertising system and method
JP2004304791A (en) Method and apparatus for modifying digital cinema frame content
CN111654727A (en) Screen projection interactive operation method for large-screen terminal
CN109982141A (en) Utilize the method for the video image region analysis and product placement of AI technology
CN114286175A (en) Method for playing video mosaic advertisement
WO2020258907A1 (en) Virtual article generation method, apparatus and device
KR101664248B1 (en) System for electronic commerce based on smart terminal and method thereof
CN111355984A (en) Advertisement insertion method
KR20090040211A (en) Playing system for showing external data banner on media video and playing method thereof
US20220109900A1 (en) System for intermediating virtual image, device for inserting virtual image, and method for operating same
CN101594479A (en) A kind of system of processing ultralong caption data
CN101594478B (en) Method for processing ultralong caption data
JP2003280565A (en) Program contents, and advertisement contents receiving method
JP2005190449A (en) Method for displaying moving image commercial during authentication process in internet connection; and advertisement system related to method for updating it

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