[go: nahoru, domu]

CN114630181A - Video processing method, system, electronic device and medium - Google Patents

Video processing method, system, electronic device and medium Download PDF

Info

Publication number
CN114630181A
CN114630181A CN202210173704.3A CN202210173704A CN114630181A CN 114630181 A CN114630181 A CN 114630181A CN 202210173704 A CN202210173704 A CN 202210173704A CN 114630181 A CN114630181 A CN 114630181A
Authority
CN
China
Prior art keywords
video
special effect
frame
image
basic parameters
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
CN202210173704.3A
Other languages
Chinese (zh)
Other versions
CN114630181B (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.)
Shenzhen Million Curtain Mdt Infotech Ltd
Original Assignee
Shenzhen Million Curtain Mdt Infotech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Million Curtain Mdt Infotech Ltd filed Critical Shenzhen Million Curtain Mdt Infotech Ltd
Priority to CN202210173704.3A priority Critical patent/CN114630181B/en
Publication of CN114630181A publication Critical patent/CN114630181A/en
Application granted granted Critical
Publication of CN114630181B publication Critical patent/CN114630181B/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/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
    • H04N21/44012Processing 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 involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/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
    • H04N21/44016Processing 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 involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • 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
    • H04N21/4402Processing 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 involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing 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 involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to the technical field of video processing, and aims to provide a video processing method, a video processing system, electronic equipment and a video processing medium. The method comprises the following steps: acquiring an original video to be subjected to frame packing processing; acquiring a special effect template of the frame-wrapped advertisement; acquiring basic parameters required by generating a target video; performing special effect rendering on the special effect template according to the basic parameters to obtain a special effect image; decoding the original video to obtain multi-frame video images, and then carrying out scaling processing on the multi-frame video images according to the basic parameters to obtain multi-frame processed video images; fusing the special effect image and the processed video image to obtain a plurality of frames of target images; and transcoding the multi-frame target image to obtain a target video. The invention can realize the templating and automatic generation of the video frame advertisement.

Description

Video processing method, system, electronic device and medium
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a video processing method, a video processing system, an electronic device, and a medium.
Background
At present, with the rapid development of the technology, the frame-packed advertisement putting technology develops rapidly, a user needs to ensure that the sizes of advertisement materials and advertisement positions are matched in the advertisement putting process, and when the proportions of the advertisement materials and the advertisement positions are not compatible, a part of the advertisement materials need to be cut or a large amount of blank leaves appear.
In order to avoid the problem of cutting or leaving white of the finished advertisement product, in the prior art, a method for generating a video frame advertisement has appeared, which generally uses video editing tools like AE (After Effects, nonlinear special Effects making software) or PR (Premiere, video editing software) to perform special effect editing, and then transcodes the video frame advertisement to output the video frame advertisement.
However, in the process of using the prior art, the inventor finds that at least the following problems exist in the prior art:
the software usually needs manual operation and video editing, cannot automatically generate animation videos, cannot meet the requirement of quick output, and has a higher threshold for special effect making; meanwhile, the above method cannot use the custom template special effect for the video, and is difficult to realize the templating.
Disclosure of Invention
The present invention is directed to solving at least some of the above problems and provides a video processing method, system, electronic device, and medium.
The technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a video processing method, including:
acquiring an original video to be subjected to frame packing processing;
acquiring a special effect template of the frame-wrapped advertisement;
acquiring basic parameters required by generating a target video;
performing special effect rendering on the special effect template according to the basic parameters to obtain a special effect image;
decoding the original video to obtain multi-frame video images, and then carrying out zooming processing on the multi-frame video images according to the basic parameters to obtain multi-frame processed video images;
fusing the special effect image and the processed video image to obtain a multi-frame target image;
and transcoding the multi-frame target image to obtain a target video.
The invention can realize the template and automatic generation of the video package frame advertisement without local editing by a user. Specifically, in the implementation process, after receiving an original video input by a user, a custom or generated special effect template and basic parameters, the method can perform special effect rendering on the special effect template according to the basic parameters to obtain a special effect image; subsequently, decoding the original video to obtain multi-frame video images, and then carrying out scaling processing on the multi-frame video images according to the basic parameters to obtain multi-frame processed video images; and finally, fusing the special effect image and the processed video image to obtain a multi-frame target image, and transcoding the multi-frame target image to obtain a target video, namely a video frame advertisement, so that the templated and automatic generation of the video frame advertisement is realized. From the perspective of the user, the user only needs to select the corresponding template, the original video and the basic parameters, and then the corresponding advertisement package frame video can be generated by one key, so that the user experience is good.
In one possible design, after obtaining an original video to be subjected to frame packing, the video processing method further includes:
and transcoding the original video so as to convert the original video into a format which can be played by a browser.
In one possible design, performing special effect rendering on the special effect template according to the basic parameters to obtain a special effect image, including: generating an HTML file by the special effect template; rendering the HTML file according to the basic parameters to obtain a special effect image.
In one possible design, rendering the HTML file according to the basic parameters to obtain a special effect image, including: and calling a Wekit module in the FFmpeg so that the Wekit module can render the HTML file according to the basic parameters and the specified time stamp during transcoding of the original video to obtain a special effect image with the specified time stamp.
In one possible design, the original video is decoded by calling a decoder of the FFmpeg; when transcoding processing is carried out on multi-frame target images, the method is realized by calling an FFmpeg encoder.
In one possible design, the basic parameters include a zoom-out video timestamp and a zoom-in video timestamp; carrying out scaling processing on the multi-frame video image according to the basic parameters to obtain a multi-frame processed video image, which comprises the following steps: and when the time stamp corresponding to the video image reaches the reduced video time stamp in the basic parameters, reducing the appointed time stamp and the video image corresponding to the appointed time stamp, and when the time stamp corresponding to the video image reaches the enlarged video time stamp in the basic parameters, amplifying the appointed time stamp and the video image corresponding to the appointed time stamp to finally obtain the multi-frame processed video image.
In one possible design, the fusing the special effect image with the processed video image includes: and fusing the special effect image and the processed video image by adopting a transparency superposition algorithm.
In one possible design of the system,
in a second aspect, the present invention provides a video processing system, configured to implement the video processing method described in any one of the foregoing embodiments; the video processing system includes:
the original video acquisition module is used for acquiring an original video to be subjected to framing processing;
the special effect template acquisition module is used for acquiring a special effect template of the frame-wrapped advertisement;
the basic parameter acquisition module is used for acquiring basic parameters required by generating a target video;
the special effect rendering module is respectively in communication connection with the special effect template acquisition module and the basic parameter acquisition module and is used for performing special effect rendering on the special effect template according to the basic parameters to obtain a special effect image;
the zooming processing module is respectively in communication connection with the original video acquiring module and the basic parameter acquiring module and is used for decoding the original video to obtain multi-frame video images, and then zooming the multi-frame video images according to the basic parameters to obtain multi-frame processed video images;
the fusion processing module is respectively in communication connection with the special effect rendering module and the zooming processing module, is in communication connection with the basic parameter acquisition module, and is used for fusing the special effect image and the processed video image to obtain a multi-frame target image;
and the target video generation module is in communication connection with the fusion processing module and is used for transcoding the multi-frame target image to obtain the target video.
In a third aspect, the present invention provides an electronic device, characterized in that: the method comprises the following steps:
a memory for storing computer program instructions; and the number of the first and second groups,
a processor for executing the computer program instructions to perform the operations of any of the video processing methods described above.
In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-readable computer program instructions, characterized in that: the computer program instructions are configured to perform the operations of any of the video processing methods described above when executed.
Drawings
FIG. 1 is a flow chart of a video processing method of the present invention;
FIG. 2 is a block diagram of a video processing system of the present invention;
fig. 3 is a block diagram of an electronic device according to the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another.
It should be understood that, for the term "and/or" as may appear herein, it is merely an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
Example 1:
the present embodiment provides a video processing method, which may be, but is not limited to, executed by a computer device or a virtual machine with certain computing resources, for example, an electronic device such as a personal computer, a smart phone, a personal digital assistant, or a wearable device, or executed by a virtual machine, so as to implement templated and automated generation of video frame advertisement.
As shown in fig. 1, a video processing method may include, but is not limited to, the following steps:
s1, obtaining an original video to be subjected to frame packing processing.
And S2, transcoding the original video so as to convert the original video into a format which can be played by a browser. The format may be, but is not limited to, MP4 format, and is not limited herein.
S3, acquiring a special effect template of the frame-wrapped advertisement; in this embodiment, the special effect template includes an advertisement file and an advertisement image.
S4, acquiring basic parameters required by generating a target video; in this embodiment, the basic parameters include a video start time, a video end time, special effect template adjustment data, a video reduction speed, and a video enlargement speed.
And S5, performing special effect rendering on the special effect template according to the basic parameters to obtain a special effect image.
Specifically, performing special effect rendering on the special effect template according to the basic parameters to obtain a special effect image, including: generating an HTML (HyperText Markup Language) file by using the special effect template; rendering the HTML file according to the basic parameters to obtain a special effect image. It should be noted that the HTML file can be read by various web browsers, which facilitates the rendering operation of the special effect template in the web browser, so that the software development difficulty is lower and the versatility is high.
Further, rendering the HTML file according to the basic parameters to obtain a special effect image, including: and calling a Wekit module in the FFmpeg to render the HTML file according to the basic parameters and the specified time stamp during transcoding of the original video by the Wekit module so as to obtain the special effect image with the specified time stamp.
It should be noted that FFmpeg is a set of open source computer programs that can be used to record and convert digital audio and video, and can convert them into streams, and it contains a very advanced audio/video codec library to ensure high portability and codec quality, and at the same time it can be applied to multiple operating systems, and is beneficial to improve the generality of the image codec in the application in different platform operation processes.
And S6, decoding the original video to obtain a plurality of frames of video images, and then carrying out zooming processing on the plurality of frames of video images according to the basic parameters to obtain a plurality of frames of processed video images.
It should be noted that the execution sequence of steps S5 and S6 is not particularly limited.
In this embodiment, the basic parameters further include a zoom-out video timestamp and a zoom-in video timestamp; carrying out scaling processing on the multi-frame video image according to the basic parameters to obtain a multi-frame processed video image, which comprises the following steps: when the timestamp corresponding to the video image reaches the reduced video timestamp in the basic parameter, the specified timestamp and the video image corresponding to the specified timestamp are reduced so that the special effect template of the framed advertisement is highlighted in a key mode in the target video obtained after fusion, and therefore the advertisement is displayed.
In this embodiment, the original video is decoded by calling a decoder of FFmpeg.
And S7, fusing the special effect image and the processed video image to obtain a plurality of frames of target images.
In this embodiment, fusing the special effect image with the processed video image includes: and fusing the special effect image and the processed video image by adopting a transparency Blending Algorithm (Alpha), so that the special effect image of each frame in the target video and the processed video image can be combined more naturally, and the user experience when watching the target video is promoted. In this embodiment, the special effect image and the processed video image are fused by an Alpha overlay algorithm, where the Alpha overlay algorithm can combine an image with a background, that is, combine the special effect image and the processed video image in the present application to create a partially or completely transparent image, and the processing process is simple and efficient.
And S8, transcoding the multi-frame target image to obtain a target video. It should be noted that the target video is represented by a special effect template surrounding the original video, that is, a frame advertisement pattern.
In this embodiment, when transcoding multiple frames of target images, the method is implemented by calling an FFmpeg encoder, so as to obtain a target video, and finally, the video is returned to the front end.
The embodiment can realize the templating and automatic generation of the video package frame advertisement without local editing by a user. Specifically, in the implementation process of the embodiment, after receiving an original video input by a user, a custom or generated special effect template and basic parameters, the special effect template may be subjected to special effect rendering according to the basic parameters to obtain a special effect image; subsequently, decoding the original video to obtain multi-frame video images, and then carrying out scaling processing on the multi-frame video images according to the basic parameters to obtain multi-frame processed video images; and finally, fusing the special effect image and the processed video image to obtain a multi-frame target image, and transcoding the multi-frame target image to obtain a target video, namely the video frame advertisement, so that the templating and automatic generation of the video frame advertisement are realized. From the perspective of the user, the user only needs to select the corresponding template, the original video and the basic parameters, and then the corresponding advertisement package frame video can be generated by one key, so that the user experience is good.
Example 2:
the present embodiment provides a video processing system, which is configured to implement the video processing method in embodiment 1; as shown in fig. 2, the video processing system includes:
the original video acquisition module is used for acquiring an original video to be subjected to frame packing processing;
the special effect template acquisition module is used for acquiring a special effect template of the frame-wrapped advertisement;
the basic parameter acquisition module is used for acquiring basic parameters required by generating a target video;
the special effect rendering module is respectively in communication connection with the special effect template acquisition module and the basic parameter acquisition module and is used for performing special effect rendering on the special effect template according to the basic parameters to obtain a special effect image;
the zooming processing module is respectively in communication connection with the original video acquiring module and the basic parameter acquiring module and is used for decoding the original video to obtain multi-frame video images, and then zooming the multi-frame video images according to the basic parameters to obtain multi-frame processed video images;
the fusion processing module is respectively in communication connection with the special effect rendering module and the zooming processing module, is in communication connection with the basic parameter acquisition module, and is used for fusing the special effect image and the processed video image to obtain a multi-frame target image;
and the target video generation module is in communication connection with the fusion processing module and is used for transcoding the multi-frame target image to obtain the target video.
Example 3:
on the basis of embodiment 1 or 2, this embodiment discloses an electronic device, and this device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like. The electronic device may be referred to as a device for a terminal, a portable terminal, a desktop terminal, or the like, and as shown in fig. 3, the electronic device includes:
a memory for storing computer program instructions; and the number of the first and second groups,
a processor for executing the computer program instructions to perform the operations of the video processing method as in any of embodiment 1.
In particular, the processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 302 is used to store at least one instruction for execution by the processor 801 to implement the video processing method provided by embodiment 1 in the present application.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof.
The power supply 306 is used to power various components in the electronic device.
Example 4:
on the basis of any embodiment of embodiments 1 to 3, the present embodiment discloses a computer-readable storage medium for storing computer-readable computer program instructions configured to, when executed, perform the operations of the video processing method according to embodiment 1.
It should be noted that the functions described herein, if implemented in software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: modifications of the technical solutions described in the embodiments or equivalent replacements of some technical features may still be made. And such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Finally, it should be noted that the present invention is not limited to the above alternative embodiments, and that various other forms of products can be obtained by anyone in light of the present invention. The above detailed description should not be taken as limiting the scope of the invention, which is defined in the claims, and which the description is intended to be interpreted accordingly.

Claims (10)

1. A video processing method, characterized by: the method comprises the following steps:
acquiring an original video to be subjected to frame packing processing;
acquiring a special effect template of the frame-wrapped advertisement;
acquiring basic parameters required by generating a target video;
performing special effect rendering on the special effect template according to the basic parameters to obtain a special effect image;
decoding the original video to obtain multi-frame video images, and then carrying out scaling processing on the multi-frame video images according to the basic parameters to obtain multi-frame processed video images;
fusing the special effect image and the processed video image to obtain a plurality of frames of target images;
and transcoding the multi-frame target image to obtain a target video.
2. A video processing method according to claim 1, characterized in that: after obtaining the original video to be subjected to frame packing processing, the video processing method further comprises the following steps:
and transcoding the original video so as to convert the original video into a format which can be played by a browser.
3. A video processing method according to claim 2, characterized by: performing special effect rendering on the special effect template according to the basic parameters to obtain a special effect image, including: generating an HTML file by the special effect template; rendering the HTML file according to the basic parameters to obtain a special effect image.
4. A video processing method according to claim 3, characterized by: rendering the HTML file according to the basic parameters to obtain a special effect image, wherein the rendering comprises the following steps: and calling a Wekit module in the FFmpeg to render the HTML file according to the basic parameters and the specified time stamp during transcoding of the original video by the Wekit module so as to obtain the special effect image with the specified time stamp.
5. A video processing method according to claim 1, characterized by: when the original video is decoded, the decoding is realized by calling a FFmpeg decoder; when transcoding processing is carried out on multi-frame target images, the method is realized by calling an FFmpeg encoder.
6. A video processing method according to claim 1, characterized by: the basic parameters comprise a zoom-out video timestamp and a zoom-in video timestamp; carrying out scaling processing on the multi-frame video image according to the basic parameters to obtain a multi-frame processed video image, which comprises the following steps: and when the time stamp corresponding to the video image reaches the reduced video time stamp in the basic parameters, reducing the appointed time stamp and the video image corresponding to the appointed time stamp, and when the time stamp corresponding to the video image reaches the enlarged video time stamp in the basic parameters, amplifying the appointed time stamp and the video image corresponding to the appointed time stamp to finally obtain the multi-frame processed video image.
7. A video processing method according to claim 1, characterized by: fusing the special effect image with the processed video image, including: and fusing the special effect image and the processed video image by adopting a transparency superposition algorithm.
8. A video processing system, characterized by: for implementing a video processing method according to any one of claims 1 to 7; the video processing system includes:
the original video acquisition module is used for acquiring an original video to be subjected to framing processing;
the special effect template acquisition module is used for acquiring a special effect template of the frame-wrapped advertisement;
the basic parameter acquisition module is used for acquiring basic parameters required by generating a target video;
the special effect rendering module is respectively in communication connection with the special effect template acquisition module and the basic parameter acquisition module and is used for carrying out special effect rendering on the special effect template according to the basic parameters to obtain a special effect image;
the zooming processing module is respectively in communication connection with the original video acquiring module and the basic parameter acquiring module and is used for decoding the original video to obtain multi-frame video images, and then zooming the multi-frame video images according to the basic parameters to obtain multi-frame processed video images;
the fusion processing module is respectively in communication connection with the special effect rendering module and the zooming processing module, is in communication connection with the basic parameter acquisition module, and is used for fusing the special effect image and the processed video image to obtain a multi-frame target image;
and the target video generation module is in communication connection with the fusion processing module and is used for transcoding the multi-frame target image to obtain the target video.
9. An electronic device, characterized in that: the method comprises the following steps:
a memory for storing computer program instructions; and the number of the first and second groups,
a processor for executing the computer program instructions to carry out the operations of the video processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing computer-readable computer program instructions, characterized in that: the computer program instructions are configured to perform the operations of the video processing method of any of claims 1 to 7 when executed.
CN202210173704.3A 2022-02-24 2022-02-24 Video processing method, system, electronic device and medium Active CN114630181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210173704.3A CN114630181B (en) 2022-02-24 2022-02-24 Video processing method, system, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210173704.3A CN114630181B (en) 2022-02-24 2022-02-24 Video processing method, system, electronic device and medium

Publications (2)

Publication Number Publication Date
CN114630181A true CN114630181A (en) 2022-06-14
CN114630181B CN114630181B (en) 2023-03-24

Family

ID=81899345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210173704.3A Active CN114630181B (en) 2022-02-24 2022-02-24 Video processing method, system, electronic device and medium

Country Status (1)

Country Link
CN (1) CN114630181B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499684A (en) * 2022-09-14 2022-12-20 广州方硅信息技术有限公司 Video resource exporting method and device and live network broadcasting system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110008017A1 (en) * 2007-12-17 2011-01-13 Gausereide Stein Real time video inclusion system
CN109168028A (en) * 2018-11-06 2019-01-08 北京达佳互联信息技术有限公司 Video generation method, device, server and storage medium
CN110456999A (en) * 2019-08-05 2019-11-15 深圳怡化电脑股份有限公司 Program creation method, device, electronic equipment and computer readable storage medium
CN110708596A (en) * 2019-09-29 2020-01-17 北京达佳互联信息技术有限公司 Method and device for generating video, electronic equipment and readable storage medium
CN111669623A (en) * 2020-06-28 2020-09-15 腾讯科技(深圳)有限公司 Video special effect processing method and device and electronic equipment
CN112351221A (en) * 2019-08-09 2021-02-09 北京字节跳动网络技术有限公司 Image special effect processing method and device, electronic equipment and computer readable storage medium
CN112954452A (en) * 2021-02-08 2021-06-11 广州酷狗计算机科技有限公司 Video generation method, device, terminal and storage medium
WO2021189995A1 (en) * 2020-03-24 2021-09-30 北京达佳互联信息技术有限公司 Video rendering method and apparatus, electronic device, and storage medium
CN113838490A (en) * 2020-06-24 2021-12-24 华为技术有限公司 Video synthesis method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110008017A1 (en) * 2007-12-17 2011-01-13 Gausereide Stein Real time video inclusion system
CN109168028A (en) * 2018-11-06 2019-01-08 北京达佳互联信息技术有限公司 Video generation method, device, server and storage medium
CN110456999A (en) * 2019-08-05 2019-11-15 深圳怡化电脑股份有限公司 Program creation method, device, electronic equipment and computer readable storage medium
CN112351221A (en) * 2019-08-09 2021-02-09 北京字节跳动网络技术有限公司 Image special effect processing method and device, electronic equipment and computer readable storage medium
CN110708596A (en) * 2019-09-29 2020-01-17 北京达佳互联信息技术有限公司 Method and device for generating video, electronic equipment and readable storage medium
WO2021189995A1 (en) * 2020-03-24 2021-09-30 北京达佳互联信息技术有限公司 Video rendering method and apparatus, electronic device, and storage medium
CN113838490A (en) * 2020-06-24 2021-12-24 华为技术有限公司 Video synthesis method and device, electronic equipment and storage medium
CN111669623A (en) * 2020-06-28 2020-09-15 腾讯科技(深圳)有限公司 Video special effect processing method and device and electronic equipment
CN112954452A (en) * 2021-02-08 2021-06-11 广州酷狗计算机科技有限公司 Video generation method, device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499684A (en) * 2022-09-14 2022-12-20 广州方硅信息技术有限公司 Video resource exporting method and device and live network broadcasting system

Also Published As

Publication number Publication date
CN114630181B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
US20220007083A1 (en) Method and stream-pushing client for processing live stream in webrtc
KR101968977B1 (en) Cartoon providing system, cartoon providing device and cartoon providing method
CN113655999B (en) Page control rendering method, device, equipment and storage medium
CN114630181B (en) Video processing method, system, electronic device and medium
WO2022161280A1 (en) Video frame interpolation method and apparatus, and electronic device
CN112887794A (en) Video editing method and device
CN115767131A (en) Cloud director method, device, equipment and computer storage medium
CN111757177B (en) Video clipping method and device
CN113852757B (en) Video processing method, device, equipment and storage medium
CN102932607B (en) Caption graphics and text information generation method and device
KR101915792B1 (en) System and Method for Inserting an Advertisement Using Face Recognition
CN111314777B (en) Video generation method and device, computer storage medium and electronic equipment
CN110582021B (en) Information processing method and device, electronic equipment and storage medium
CN110264543B (en) Frame drawing method and device of spliced picture and storage medium
CN114253449B (en) Screen capturing method, device, equipment and medium
CN113691835B (en) Video implantation method, device, equipment and computer readable storage medium
CN111526420A (en) Video rendering method, electronic device and storage medium
CN111045576A (en) Display control method, display control device, terminal device and electronic device
CN110912750B (en) WEB-based data acquisition management method and device
CN114820318A (en) Wallpaper display method and device, electronic equipment and readable storage medium
CN113852774A (en) Screen recording method and device
CN113379768A (en) Image processing method, image processing device, storage medium and computer equipment
JP2008067389A (en) Mobile apparatus including template based flash image generation function and method for generating flash image using the same
CN114500505B (en) Text processing method and device and electronic equipment
KR20170112244A (en) System for providing real toon

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