CN111327927A - Video advertisement generation method, device, equipment and storage medium - Google Patents

Video advertisement generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN111327927A
CN111327927A CN201811521963.0A CN201811521963A CN111327927A CN 111327927 A CN111327927 A CN 111327927A CN 201811521963 A CN201811521963 A CN 201811521963A CN 111327927 A CN111327927 A CN 111327927A
Authority
CN
China
Prior art keywords
video
request
generation
advertisement
state
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
CN201811521963.0A
Other languages
Chinese (zh)
Other versions
CN111327927B (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 Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Wodong Tianjun Information 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 Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Wodong Tianjun Information Technology Co Ltd
Priority to CN201811521963.0A priority Critical patent/CN111327927B/en
Publication of CN111327927A publication Critical patent/CN111327927A/en
Application granted granted Critical
Publication of CN111327927B publication Critical patent/CN111327927B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
    • 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
    • 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/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a video advertisement generation method, a device, equipment and a storage medium, wherein a video generation request sent by a request end is received, and the video generation request comprises video materials after being audited and video template information; and generating the video advertisement according to the video material and the video template information. The invention leads the video auditing process to be preposed, audits the content of the video material before generating the video, reduces the auditing workload, simultaneously, because the video advertisement is generated according to the video material and the video template information, the parameters of video style, code rate, resolution ratio and the like can be controlled, the video advertisement launching standard can be satisfied, the video advertisement does not need to be audited again after the generation is completed, the trouble caused by that the parameters of the video style, the code rate and the resolution ratio of the video advertisement which is generated by a user do not satisfy the video advertisement launching standard is avoided, the convenience is provided for the user, the video advertisement manufacturing efficiency is improved, the launching can be completed by butting a launching service line, and the closed loop.

Description

Video advertisement generation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a video advertisement.
Background
Video advertising has become an important trend in the next short video development. For advertisers, video advertisements are increasingly used in daily advertisement putting, and how to achieve an ideal popularization effect through high-quality video advertisements becomes an important problem.
In the prior art, a user usually makes and uploads a video advertisement by himself, the advertisement operation background is required to be audited, and hard conditions such as content, style, code rate, resolution and the like of the video are limited. In the prior art, the auditing process of the video advertisements is usually completed by auditors, so that in order to avoid the potential violation problem of the content of the video advertisements, the auditors need to watch each video advertisement from the beginning, the workload is large, time and labor are wasted, the auditing efficiency is low, and the auditing error is easy to occur.
Disclosure of Invention
The invention provides a video advertisement generation method, a video advertisement generation device, video advertisement generation equipment and a storage medium, which are used for reducing the workload of an auditing process and improving the convenience and the production efficiency of video advertisement production.
The first aspect of the present invention provides a video advertisement generating method, including:
receiving a video generation request sent by a request terminal, wherein the video generation request comprises video materials after being audited and video template information;
and generating a video advertisement according to the video material and the video template information.
A second aspect of the present invention provides a video advertisement generating apparatus, including:
the receiving module is used for receiving a video generation request sent by a request end, wherein the video generation request comprises the video material after being audited and video template information;
and the processing module is used for generating the video advertisement according to the video material and the video template information.
A third aspect of the present invention is to provide a video advertisement generating apparatus, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
A fourth aspect of the present invention is to provide a computer-readable storage medium having stored thereon a computer program;
which when executed by a processor implements the method according to the first aspect.
The video advertisement generation method, the device, the equipment and the storage medium provided by the invention receive a video generation request sent by a request end through a video generation server end, wherein the video generation request comprises video materials after being audited and video template information; and then the video generation server generates the video advertisement according to the video material and the video template information. The method of the invention leads the video auditing process to be preposition, namely, the content of the video material is audited before the video is generated, thus fundamentally controlling the possible violation risk of the video advertisement and greatly reducing the auditing workload.
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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a diagram of a system architecture according to an embodiment of the present invention;
FIG. 2 is a flowchart of a video advertisement generation method according to an embodiment of the present invention;
FIG. 3 is a flow diagram of a method for video advertisement generation according to another embodiment;
fig. 4 is a block diagram of a video advertisement generating apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a video advertisement generating apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The video advertisement generation method provided by the invention can be applied to the system shown in figure 1. As shown in fig. 1, the system includes a client 10, a request end 11, and a video generation server 12, where a user uploads video material, which may include text, pictures, music, etc., through the client 10 and selects a video template, and the client 10 sends the video material and the video template information to the request end 11; the request terminal 11 can audit the video material, or the request terminal 11 sends the video material to the audit terminal, the audit result is fed back to the request terminal 11 after the audit by the audit terminal, if the audit is passed, the request terminal 11 generates a video generation request according to the audited video material and the video template information, and sends the video generation request to the video generation server terminal 12; the video generation server 12 generates video advertisements according to the video materials and the video template information. The video advertisement generation process is described in detail below with reference to specific embodiments.
Fig. 2 is a flowchart of a video advertisement generation method according to an embodiment of the present invention. The embodiment provides a video advertisement generation method, wherein an execution subject is a video generation server, and the method comprises the following specific steps:
s101, receiving a video generation request sent by a request end, wherein the video generation request comprises the video material after being audited and video template information.
In this embodiment, a user uploads video materials through a client and selects a video template, where the video materials may include text, pictures, music, and the like, and the video template may include a sequence between the video materials, an action effect, and the like, such as a transition style between the pictures. The client sends the video material and the video template information to the request end, the request end can audit the video material, or the request end sends the video material to the audit end, the audit end feeds back the audit result to the request end after auditing, wherein the audit comprises auditing of sensitive content, and the audit process can be completed by a machine or manually. And if the verification is passed, the request terminal generates a video generation request according to the verified video material and the video template information, and sends the video generation request to the video generation server terminal.
And S102, generating a video advertisement according to the video material and the video template information.
In this embodiment, the video generation server obtains the video material and the video template information according to the video generation request, and then adds the video material to the video template according to the video template information, so as to obtain the video advertisement, and further can launch the video advertisement without reviewing the video advertisement again.
Specifically, as shown in fig. 3, the generating a video advertisement according to the video material and the video template information in S102 includes:
s1021, acquiring a first code corresponding to the video template information, and acquiring a second code according to the first code and the video material;
s1022, executing the second code to render, and acquiring a rendered image with a preset frame number in the rendering process;
and S1023, generating the video advertisement according to the rendering image and preset video coding parameters.
In this embodiment, video generation can be realized by node-canvas and ffmpeg in the prior art, wherein the video generation process in this embodiment runs under a node.js environment, node.js is a Javascript running environment, which essentially encapsulates a Chrome V8 engine and is a development platform for running Javascript on a server; canvas is a tag newly added in HTML5 for generating images in real time on a web page and can manipulate the image content, basically it is a bitmap (bitmap) that can be operated by JavaScript; ffmpeg is a set of open source computer programs that can be used to record, convert digital audio, video, and convert them into streams. Specifically, in this embodiment, a first code (canvas. js code) corresponding to a video template is first obtained, where a user uploads a video material on a client side and can preview the video after selecting the video template, and in this embodiment, in order to ensure that a video generated by a video generation server is completely consistent with what the user previews on the client side, the first code needs to be completely consistent with a code used when the client side previews; further, after a first code corresponding to the video template is obtained, a second code (a canvas. js code containing video material parameters) is obtained according to appropriate parameters spliced in the first code by the video material; performing rendering, in the embodiment, performing second code rendering by using node.js to obtain video animation, and performing screenshot by using a preset frame number in the rendering process to obtain a rendered image; and finally, taking the obtained rendering image as an input stream, calling ffmpeg, and presetting video coding parameters, such as frame rate, code rate, time and other parameters, so that the video advertisement can be generated conveniently and efficiently. In the embodiment, the preset video coding parameters are adopted to generate the video, so that the auditing and delivering standards of the video advertisement are met, and the parameters of the video, such as the style, the code rate, the resolution ratio and the like, do not need to be audited again. In addition, the video generation time is approximately equal to the video generation time, so that the user does not need to wait for too long time, and the user experience can be further improved. In this embodiment, the preset video encoding parameters may be set according to the auditing and delivering standards. Of course, other video creation tools may also be used in this embodiment, and are not described herein again.
In the video advertisement generation method provided by this embodiment, a video generation server receives a video generation request sent by a request end, where the video generation request includes video material after being audited and video template information; and then the video generation server generates the video advertisement according to the video material and the video template information. The method of the embodiment leads the video auditing process, namely audits the content of the video material before the video is generated, thus fundamentally controlling the possible violation risk of the video advertisement and greatly reducing the auditing workload.
On the basis of the above embodiment, the video generation request further includes an identifier of the video generation request. That is, when the request terminal generates the video generation request, the identifier of the video generation request is configured for the video generation request, so that the video generation request is managed and the current state of the video generation request is queried by the user.
Specifically, after receiving the video generation request sent by the request end in S101, the method may further include:
and creating a corresponding relation between the identifier of the video generation request and the request state so that the request terminal obtains the current state of the video generation request according to the corresponding relation between the identifier of the video generation request and the request state.
In this embodiment, Key/Value data may be created in a Redis database, where Key is an identifier of a video generation request, Value is a current state of the video generation request, and when a state of the video generation request changes, for example, a request fails, or video generation has started, Value may be updated in time according to Key. The request end can actively inquire the Value according to the Key, and the video generation server end can also send the Value to the request end according to the Key.
Specifically, before generating a video advertisement according to the video material and the video template information, the method further includes:
judging whether the video material and/or the video template information meet preset requirements or not;
if so, modifying the request state to be successful;
and if not, modifying the request state into request failure, acquiring the reason of the request failure and sending the reason to the request end.
In this embodiment, after the video generation server receives the video material and the video template information, it may first determine, according to a preset requirement, whether the video material and/or the video template information is accurate, for example, whether a corresponding video template exists, and then, if a requirement may be set for the video material in the video template, for example, a requirement for the number of the video material may be set, it may be determined whether the video material meets the number requirement, and the like. In addition, the preview information can be recorded when the user previews the video at the client, and if the preview is successful, the video material and the video template information can be used for making the video advertisement, so that the video generation server can judge whether the preview information is successful after receiving the video material and the video template information. In this embodiment, if it is determined that the preset requirement is met, the request state is modified to be a request success, and if it is determined that the preset requirement is not met, the request state is modified to be a request failure, and a request failure reason is obtained and sent to the request terminal. Specifically, Value-0 corresponding to modifiable Key indicates success of the request, and Value-1 corresponding to modifiable Key indicates failure of the request.
Further, the method may further include:
and acquiring a video generation state in the process of generating the video advertisement, and updating the request state according to the generation state.
In this embodiment, the video generation status may also be reflected by the request status, specifically, the video generation progress is obtained in the process of generating the video advertisement, and the request status is updated according to the video generation progress; or when the video generation is judged to fail in the process of generating the video advertisement, modifying the generation state into the video generation failure.
In this embodiment, the video generation time and the video generation duration are approximately equal, the video generation progress can be fed back to a user in real time, specifically, the video generation process can be divided into multiple stages, the current video generation progress can be obtained when one stage is completed or each stage is started, the request state can be updated according to the video generation progress, that is, Value can be modified into the video generation progress, the video generation progress can be 0-100, 100 represents that the video advertisement generation is completed, and when the Value is 100, the request end can be notified that the video advertisement generation is completed. If network problems or machine faults and other problems occur in the video advertisement generation process, the video advertisement cannot be continued, that is, when the video generation is judged to fail, the generation state can be modified to be the video generation failure, specifically, Value can be modified to be-1, and meanwhile, the request end can also be notified of the video generation failure.
On the basis of the foregoing embodiment, the generating a video advertisement according to the video material and the video template information in S102 includes:
adding the video generation request into a flow control queue;
and acquiring the video generation requests from the flow control queue according to the processing capacity, wherein each thread processes one video generation request to generate the video advertisement.
In this embodiment, multiple threads may be configured to generate video advertisements, specifically, multiple video generation servers may be configured, and each video generation server may also be configured with multiple threads. First, all video generation requests can be added into a flow control queue, each video generation server can obtain the video generation requests from the flow control queue according to the processing capacity, more specifically, the number of threads can be configured according to the processing capacity of each video generation server, the video generation server obtains the corresponding number of video generation requests from the flow control queue according to the configured number of threads, and each thread processes one video generation request. In addition, when a certain video generation server needs to be restarted or updated, the thread number of the certain video generation server can be dynamically configured to be 0, so that the video generation request is prevented from being lost when the certain video generation server is restarted or updated, the normal operation of other threads can not be influenced, and the condition that a user does not sense the video generation request is ensured.
Fig. 4 is a block diagram of a video advertisement generating apparatus according to an embodiment of the present invention. The video advertisement generating apparatus provided in this embodiment may execute the processing flow provided in the embodiment of the video advertisement generating method, as shown in fig. 4, the video advertisement generating apparatus 30 includes a receiving module 31 and a processing module 32.
The receiving module 31 is configured to receive a video generation request sent by a requesting end, where the video generation request includes video material after being audited and video template information;
and the processing module 32 is configured to generate a video advertisement according to the video material and the video template information.
Further, the video generation request further includes an identifier of the video generation request;
the apparatus further comprises a state management module 33 for:
after receiving a video generation request sent by a request end, creating a corresponding relation between an identifier of the video generation request and a request state, so that the request end obtains the current state of the video generation request according to the corresponding relation between the identifier of the video generation request and the request state.
Further, the processing module 32 is further configured to determine whether the video material and/or the video template information meet preset requirements;
the state management module 33 is further configured to, if a preset requirement is met, modify the request state to be a request success; and if the request fails to meet the preset requirement, modifying the request state into request failure, acquiring the reason of the request failure and sending the request failure to the request end.
Further, the state management module 33 is further configured to:
and acquiring a video generation state in the process of generating the video advertisement, and updating the request state according to the generation state.
Further, the state management module 33 is specifically configured to:
acquiring a video generation progress in a video advertisement generation process, and updating the request state according to the video generation progress; or
And when the video generation is judged to fail in the process of generating the video advertisement, modifying the generation state into the video generation failure.
Further, the processing module 32 is configured to:
adding the video generation request into a flow control queue;
and acquiring the video generation requests from the flow control queue according to the processing capacity, wherein each thread processes one video generation request to generate the video advertisement.
Further, the processing module 32 is configured to:
acquiring a first code corresponding to the video template information, and acquiring a second code according to the first code and the video material;
executing the second code to render, and acquiring a rendered image with a preset frame number in the rendering process;
and generating the video advertisement according to the rendering image and preset video coding parameters.
The video advertisement generating device provided in the embodiment of the present invention may be specifically configured to execute the method embodiments provided in fig. 2 and fig. 3, and specific functions are not described herein again.
The video advertisement generating device provided by the embodiment of the invention receives a video generating request sent by a request end through a video generating server end, wherein the video generating request comprises video materials after being audited and video template information; and then the video generation server generates the video advertisement according to the video material and the video template information. The embodiment leads the video auditing process to be prepositive, namely auditing the content of the video material before generating the video, thus fundamentally controlling the possible violation risk of the video advertisement and greatly reducing the auditing workload.
Fig. 5 is a schematic structural diagram of a video advertisement generating device according to an embodiment of the present invention. The video advertisement generating device provided by the embodiment of the present invention may execute the processing flow provided by the video advertisement generating method embodiment, as shown in fig. 4, the video advertisement generating device 40 includes a memory 41, a processor 42, a computer program, and a communication interface 43; wherein the computer program is stored in the memory 41 and is configured to be executed by the processor 42 for the video advertisement generation method described in the above embodiments.
The video advertisement generating device of the embodiment shown in fig. 5 may be configured to implement the technical solution of the above method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition, the present embodiment also provides a computer-readable storage medium on which a computer program is stored, the computer program being executed by a processor to implement the video advertisement generation method described in the above embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (16)

1. A method for generating a video advertisement, comprising:
receiving a video generation request sent by a request terminal, wherein the video generation request comprises video materials after being audited and video template information;
and generating a video advertisement according to the video material and the video template information.
2. The method according to claim 1, wherein the video generation request further includes an identification of the video generation request;
after receiving the video generation request sent by the request end, the method further comprises:
and creating a corresponding relation between the identifier of the video generation request and the request state so that the request terminal obtains the current state of the video generation request according to the corresponding relation between the identifier of the video generation request and the request state.
3. The method of claim 2, wherein generating a video advertisement based on the video material and the video template information further comprises:
judging whether the video material and/or the video template information meet preset requirements or not;
if so, modifying the request state to be successful;
and if not, modifying the request state into request failure, acquiring the reason of the request failure and sending the reason to the request end.
4. The method of claim 2, further comprising:
and acquiring a video generation state in the process of generating the video advertisement, and updating the request state according to the generation state.
5. The method of claim 4, wherein the obtaining a video generation status during the generation of the video advertisement and updating the request status according to the generation status comprises:
acquiring a video generation progress in a video advertisement generation process, and updating the request state according to the video generation progress; or
And when the video generation is judged to fail in the process of generating the video advertisement, modifying the generation state into the video generation failure.
6. The method of claim 1, wherein generating a video advertisement based on the video material and the video template information comprises:
adding the video generation request into a flow control queue;
and acquiring the video generation requests from the flow control queue according to the processing capacity, wherein each thread processes one video generation request to generate the video advertisement.
7. The method of any of claims 1-6, wherein generating a video advertisement based on the video material and the video template information comprises:
acquiring a first code corresponding to the video template information, and acquiring a second code according to the first code and the video material;
executing the second code to render, and acquiring a rendered image with a preset frame number in the rendering process;
and generating the video advertisement according to the rendering image and preset video coding parameters.
8. A video advertisement generation apparatus, comprising:
the receiving module is used for receiving a video generation request sent by a request end, wherein the video generation request comprises the video material after being audited and video template information;
and the processing module is used for generating the video advertisement according to the video material and the video template information.
9. The apparatus according to claim 8, wherein the video generation request further includes an identification of the video generation request;
the apparatus also includes a state management module to:
after receiving a video generation request sent by a request end, creating a corresponding relation between an identifier of the video generation request and a request state, so that the request end obtains the current state of the video generation request according to the corresponding relation between the identifier of the video generation request and the request state.
10. The apparatus of claim 9,
the processing module is further used for judging whether the video material and/or the video template information meet preset requirements or not;
the state management module is further used for modifying the request state to be successful if the preset requirement is met; and if the request fails to meet the preset requirement, modifying the request state into request failure, acquiring the reason of the request failure and sending the request failure to the request end.
11. The apparatus of claim 9, wherein the state management module is further configured to:
and acquiring a video generation state in the process of generating the video advertisement, and updating the request state according to the generation state.
12. The apparatus of claim 11, wherein the state management module is specifically configured to:
acquiring a video generation progress in a video advertisement generation process, and updating the request state according to the video generation progress; or
And when the video generation is judged to fail in the process of generating the video advertisement, modifying the generation state into the video generation failure.
13. The apparatus of claim 8, wherein the processing module is configured to:
adding the video generation request into a flow control queue;
and acquiring the video generation requests from the flow control queue according to the processing capacity, wherein each thread processes one video generation request to generate the video advertisement.
14. The apparatus of any one of claims 8-13, wherein the processing module is configured to:
acquiring a first code corresponding to the video template information, and acquiring a second code according to the first code and the video material;
executing the second code to render, and acquiring a rendered image with a preset frame number in the rendering process;
and generating the video advertisement according to the rendering image and preset video coding parameters.
15. A video advertisement generation device, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-7.
16. A computer-readable storage medium, having stored thereon a computer program;
the computer program, when executed by a processor, implementing the method of any one of claims 1-7.
CN201811521963.0A 2018-12-13 2018-12-13 Video advertisement generation method, device, equipment and storage medium Active CN111327927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811521963.0A CN111327927B (en) 2018-12-13 2018-12-13 Video advertisement generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811521963.0A CN111327927B (en) 2018-12-13 2018-12-13 Video advertisement generation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111327927A true CN111327927A (en) 2020-06-23
CN111327927B CN111327927B (en) 2023-05-02

Family

ID=71170222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811521963.0A Active CN111327927B (en) 2018-12-13 2018-12-13 Video advertisement generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111327927B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651550A (en) * 2008-08-15 2010-02-17 阿里巴巴集团控股有限公司 Method and system for advertisement generation and display and advertisement production and display client
CN105501258A (en) * 2015-11-27 2016-04-20 青岛海信网络科技股份有限公司 Information sending method and device
CN106530016A (en) * 2016-12-16 2017-03-22 上海致趣广告有限公司 System of extracting internet advertisement material for identification and checking and method thereof
WO2018107914A1 (en) * 2016-12-16 2018-06-21 中兴通讯股份有限公司 Video analysis platform, matching method, and accurate advertisement push method and system
CN108391062A (en) * 2018-02-11 2018-08-10 北京秀眼科技有限公司 Video creating method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651550A (en) * 2008-08-15 2010-02-17 阿里巴巴集团控股有限公司 Method and system for advertisement generation and display and advertisement production and display client
CN105501258A (en) * 2015-11-27 2016-04-20 青岛海信网络科技股份有限公司 Information sending method and device
CN106530016A (en) * 2016-12-16 2017-03-22 上海致趣广告有限公司 System of extracting internet advertisement material for identification and checking and method thereof
WO2018107914A1 (en) * 2016-12-16 2018-06-21 中兴通讯股份有限公司 Video analysis platform, matching method, and accurate advertisement push method and system
CN108391062A (en) * 2018-02-11 2018-08-10 北京秀眼科技有限公司 Video creating method and system

Also Published As

Publication number Publication date
CN111327927B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
US11537444B2 (en) Rendering
US9070113B2 (en) Stock keeping units for content processing
CN108989885B (en) Video file transcoding system, segmentation method, transcoding method and device
US9116746B2 (en) Workflows and presets for workflows
US10291673B2 (en) Transcoding method and system, and distributed file apparatus
CN106649164B (en) Hardware interface management method
US9152932B2 (en) Work units for content processing
US11336710B2 (en) Dynamically-generated encode settings for media content
US10893091B2 (en) Management of asynchronous content post and media file transmissions
US8781922B2 (en) Processing a bill of materials
US10908971B1 (en) Method and system for generating a customizable connector
CN110826799B (en) Service prediction method, device, server and readable storage medium
CN105740047A (en) Cloud computing based virtual machine template management system and method
US11356722B2 (en) System for distributing an audiovisual content
CN113139109A (en) Data labeling method, device, server and storage medium
CN111327927B (en) Video advertisement generation method, device, equipment and storage medium
CN111090818A (en) Resource management method, resource management system, server, and computer storage medium
CN116107710A (en) Method, apparatus, device and medium for processing offline rendering tasks
JP7336161B2 (en) Media processing method
CN114327306A (en) Cloud printing method, equipment and medium based on PaaS cloud printing service
KR101603531B1 (en) SYSTEM FOR PROVIDING CLOUD COMPUTING SaaS BASED VIDEO SERVICES AND THE METHOD THEREOF
CN115734008B (en) Method, system and medium for rapidly integrating video resources of content provider
CN116614323B (en) Cloud storage enterprise network management method and system based on Rclone
US11611635B1 (en) Content creation utilizing micro-services
CN106303587A (en) A kind of method and device downloading audio, video data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant