CN113641853A - Dynamic cover generation method, device, electronic equipment, medium and program product - Google Patents

Dynamic cover generation method, device, electronic equipment, medium and program product Download PDF

Info

Publication number
CN113641853A
CN113641853A CN202110968924.0A CN202110968924A CN113641853A CN 113641853 A CN113641853 A CN 113641853A CN 202110968924 A CN202110968924 A CN 202110968924A CN 113641853 A CN113641853 A CN 113641853A
Authority
CN
China
Prior art keywords
video frame
video
video file
preset number
dynamic cover
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
CN202110968924.0A
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202110968924.0A priority Critical patent/CN113641853A/en
Publication of CN113641853A publication Critical patent/CN113641853A/en
Priority to PCT/CN2022/108072 priority patent/WO2023024803A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/738Presentation of query results
    • G06F16/739Presentation of query results in form of a video summary, e.g. the video summary being a video sequence, a composite still image or having synthesized frames

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application relates to a dynamic cover generation method, a dynamic cover generation device, an electronic device, a medium and a program product, which are applied to the technical field of short videos, wherein the method comprises the following steps: acquiring continuous video frame pictures with preset quantity in a video file; and according to the time sequence of the preset number of video frame images, performing reciprocating circular playing on the preset number of video frame images to generate a dynamic cover of the video file. The application can improve the smoothness of the dynamic cover and reduce the storage space occupied by the dynamic cover.

Description

Dynamic cover generation method, device, electronic equipment, medium and program product
Technical Field
The present application relates to the field of short video technologies, and in particular, to a method, an apparatus, an electronic device, a medium, and a program product for generating a dynamic cover page.
Background
The video covers are universally present in various list scenes of the short videos and used for displaying relevant information of the videos, so that a user can conveniently select interested videos to watch. The video cover includes: video developments front cover and video static front cover, video developments front cover compare with video static front cover, because can show more information, the interactive sense is stronger, consequently receives the user to like widely.
In the related technology, a plurality of video frame pictures can be played in sequence to form a motion picture effect, and a plurality of repeated video frame pictures can be added in reverse order for the smoothness of visual experience, so that the generation of a sharp feeling is avoided. However, this method consumes more bandwidth traffic and occupies more memory space.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present application provides a dynamic cover generation method, apparatus, electronic device, medium, and program product.
According to a first aspect of the present application, there is provided a video dynamic cover generation method, including:
acquiring continuous video frame pictures with preset quantity in a video file;
and according to the time sequence of the preset number of video frame images, performing reciprocating circular playing on the preset number of video frame images to generate a dynamic cover of the video file.
Optionally, before obtaining a preset number of consecutive video frame pictures in the video file, the method further includes:
displaying a plurality of video frame pictures in the video file in response to a display operation for each video frame picture in the video file;
the acquiring of the continuous preset number of video frame pictures in the video file comprises:
and responding to the selection operation aiming at the plurality of video frame pictures, and acquiring a continuous preset number of video frame pictures.
Optionally, the obtaining of a preset number of consecutive video frame pictures in the video file includes:
scene recognition is carried out on each video frame picture in the video file, and a key video frame picture in the video file is determined based on a scene recognition result;
and acquiring a preset number of continuous video frame pictures containing the key video frame pictures from the video file.
Optionally, the method includes:
after generating the dynamic cover of the video file, carrying out scene recognition on the preset number of video frame pictures to obtain a scene recognition result;
determining one or more text messages matched with the scene recognition result, and displaying the one or more text messages;
and responding to the selection operation aiming at the one or more text messages, acquiring target text messages, and displaying the target text messages in the dynamic cover page.
Optionally, the method further includes:
after a dynamic cover of the video file is generated, if the preset number of video frame pictures contain characters, performing expression recognition on the characters to obtain an expression recognition result;
determining one or more expression images matched with the expression recognition result, and displaying the one or more expression images;
and responding to the selection operation aiming at the one or more expression images, acquiring a target expression image, and displaying the target expression image in the dynamic cover.
Optionally, before obtaining a preset number of consecutive video frame pictures in the video file, the method further includes:
generating the video file in response to a shooting operation for a target object; alternatively, the first and second electrodes may be,
retrieving the locally stored video file, or,
and acquiring an original video file stored locally, and editing the original video file to obtain the video file.
According to a second aspect of the present application, there is provided a video motion cover generation apparatus comprising:
the video frame image acquisition module is used for acquiring continuous preset number of video frame images in the video file;
and the dynamic cover generation module is used for performing reciprocating circular playing on the preset number of video frame pictures according to the time sequence of the preset number of video frame pictures so as to generate the dynamic cover of the video file.
Optionally, the apparatus further comprises:
a video frame picture display module for displaying a plurality of video frame pictures in the video file in response to a display operation for each video frame picture in the video file;
the video frame picture acquiring module is specifically configured to respond to a selection operation for the plurality of video frame pictures to acquire a preset number of consecutive video frame pictures.
Optionally, the video frame image obtaining module is specifically configured to perform scene recognition on each video frame image in the video file, and determine a key video frame image in the video file based on a scene recognition result; and acquiring a preset number of continuous video frame pictures containing the key video frame pictures from the video file.
Optionally, the apparatus includes:
the scene recognition module is used for carrying out scene recognition on the preset number of video frame pictures after the dynamic cover of the video file is generated to obtain a scene recognition result;
the text information matching module is used for determining one or more text information matched with the scene recognition result and displaying the one or more text information;
and the target text information display module is used for responding to the selection operation aiming at the one or more text information, acquiring the target text information and displaying the target text information in the dynamic cover page.
Optionally, the apparatus further comprises:
the expression recognition module is used for performing expression recognition on the characters to obtain an expression recognition result if the preset number of video frame pictures contain the characters after the dynamic cover of the video file is generated;
the expression image matching module is used for determining one or more expression images matched with the expression recognition result and displaying the one or more expression images;
and the target expression image display module is used for responding to the selection operation aiming at the one or more expression images, acquiring a target expression image and displaying the target expression image in the dynamic cover.
Optionally, the apparatus further comprises:
the first video file acquisition module is used for responding to shooting operation aiming at a target object and generating the video file; alternatively, the first and second electrodes may be,
a second video file obtaining module, configured to obtain the locally stored video file, or,
and the third video file acquisition module is used for acquiring the locally stored original video file and editing the original video file to obtain the video file.
According to a third aspect of the present application, there is provided an electronic device comprising: a processor for executing a computer program stored in a memory, the computer program, when executed by the processor, implementing the method of the first aspect.
According to a fourth aspect of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
According to a fifth aspect of the present application, there is provided a computer program product which, when run on a computer, causes the computer to perform the method of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
after a preset number of video frame pictures in a video file are acquired, the preset number of video frame pictures are played in a reciprocating circulating manner, namely, after the first video frame picture of the preset number of video frame pictures is played to the last video frame picture in sequence, the last video frame picture is played to the first video frame picture in a reverse sequence, then the first video frame picture is played to the last video frame picture in sequence, and so on, and the video frame pictures are played in a reciprocating circulating manner according to the mode. On one hand, because adjacent video frame pictures are continuous in the playing process, the smoothness of a dynamic front cover of the video can be ensured, and the problem of picture flashing cannot occur; on the other hand, because the repeated video frame pictures are not added, namely the repeated video frame pictures are reduced, the storage space occupied by the dynamic cover can be smaller, the flow consumed by network transmission can be effectively reduced, and meanwhile, a smaller memory can be occupied when the dynamic cover is displayed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a diagram illustrating a video frame included in a video motion cover in the related art;
FIG. 2 is a schematic diagram illustrating a system architecture of an exemplary application environment to which the video dynamic cover generation method of the present application may be applied;
FIG. 3 is a flowchart of a method for generating video dynamic covers in an embodiment of the present application;
FIG. 4 is a diagram illustrating a video frame included in a video motion cover according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a predetermined number of video frames being played back and forth in a reciprocating manner according to an embodiment of the present application;
FIG. 6 is a flowchart of another method for generating video dynamic covers in an embodiment of the present application;
FIG. 7 is a schematic diagram of a video dynamic cover generation apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order that the above-mentioned objects, features and advantages of the present application may be more clearly understood, the solution of the present application will be further described below. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, but the present application may be practiced in other ways than those described herein; it is to be understood that the embodiments described in this specification are only some embodiments of the present application and not all embodiments.
At present, in order to keep the fluency of the video dynamic cover, a plurality of repeated video frame pictures can be added in a reverse order and played in sequence to form a motion picture effect. Assume that the resource file used to generate the video motion cover includes 6 video frame pictures, with indices of 0, 1, 2, 3, 4, 5, respectively. In the related art, a plurality of repeated video frame pictures may be added in reverse order after the 6 th video frame picture. For example, the 5 th video frame picture, the 4 th video frame picture and the 3 rd video frame picture may be added in sequence after the 6 th video frame picture to form 9 video frame pictures.
As shown in fig. 1, the 7 th video frame picture (video frame picture with subscript 6) and the 5 th video frame picture (video frame picture with subscript 4) are the same video frame picture, the 8 th video frame picture (video frame picture with subscript 7) and the 4 th video frame picture (video frame picture with subscript 3) are the same video frame picture, and the 9 th video frame picture (video frame picture with subscript 8) and the 3 rd video frame picture (video frame picture with subscript 2) are the same video frame picture.
When generating the video dynamic surface, the 9 video frame pictures can be played circularly according to the sequence from subscript 0 to subscript 8, and then from 0 to 8. Due to the existence of repeated video frame pictures, the video dynamic cover occupies more storage space, consumes more bandwidth flow and occupies larger device memory when the video dynamic cover is displayed, and the problem is more prominent for low-end mobile devices.
In order to solve the problem, embodiments of the present application provide a dynamic cover generation method, an apparatus, an electronic device, a medium, and a program product, which can reduce a storage space occupied by a video dynamic cover on the premise of ensuring smooth visual experience of the video dynamic cover, and reduce occupied memory and traffic consumption when playing the video dynamic cover.
Fig. 2 is a schematic diagram showing a system architecture of an exemplary application environment to which the video dynamic cover generation method of the embodiment of the present application can be applied.
As shown in fig. 2, system architecture 100 may include terminal device 101, terminal device 102, one or more of terminal devices 103, network 104, and server 105. Network 104 is the medium used to provide communication links between terminal device 101, terminal device 102, terminal device 103, and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The video dynamic cover generation method provided by the embodiment of the present application may be executed by a terminal device, and after the terminal device 101, the terminal device 102, and the terminal device 103 generate a video dynamic cover according to the video dynamic cover generation method provided by the embodiment of the present application, a video file and a video dynamic cover of the video file may be uploaded to the server 105.
Referring to fig. 3, fig. 3 is a flowchart of a method for generating a video dynamic cover page in an embodiment of the present application, which may include the following steps:
s310, obtaining a preset number of continuous video frame pictures in the video file.
The video file is composed of a plurality of video frame pictures, and a preset number of video frame pictures can be acquired from the video file to generate a video dynamic cover. The preset number may be the same as the number of resource files used by the aforementioned "reverse addition method", and may be, for example, 5, 6, 7, or the like. Therefore, the content displayed by the video dynamic cover can not be reduced while the video dynamic cover is realized.
For example, the video dynamic cover in fig. 1 is composed of 9 video frame pictures, including 6 original video frame pictures and 3 repeated video frame pictures. In the embodiment of the present application, duplicate video frame pictures (video frame pictures with subscripts of 6, 7, and 8) can be removed, and as shown in fig. 4, 6 original video frame pictures are used for generating a video dynamic cover.
And S320, performing reciprocating circular playing on the preset number of video frame images according to the time sequence of the preset number of video frame images to generate a dynamic cover of the video file.
In the embodiment of the application, because the preset number of video frame pictures do not contain repeated video frame pictures, if the video frames are played according to the existing sequential playing mode, an obvious abrupt feeling can be generated. Therefore, the playing mode is changed from sequential playing to reciprocating playing to keep smooth visual effect. Referring to fig. 5, fig. 5 is a schematic diagram of performing a reciprocating circular playing on a preset number of video frame pictures in the embodiment of the present application, where the number of the video frame pictures is 6, and after playing from a video frame picture with a subscript of 0 to a video frame picture with a subscript of 5, the video frame pictures are played in a reverse order to the video frame picture with a subscript of 0, and the above process is repeated, so as to implement the reciprocating circular playing.
It should be noted that, since the video frame picture with the subscript of 8 in fig. 1 is the same as the video frame picture with the subscript of 2, when the video frame picture with the subscript of 0 is returned from the video frame picture with the subscript of 8 for playing, that is, when the video frame picture with the subscript of 2 jumps directly to the video frame picture with the subscript of 0, the video frame picture with the subscript of 1 jumps. Compared with the playing mode shown in fig. 1, in the above-mentioned reciprocating playing process, the adjacent video frame pictures are all continuous, so that the problem of picture skipping does not occur, and the smooth effect can be better realized.
According to the method for generating the dynamic cover of the video, after the preset number of video frame pictures in the video file are obtained, the preset number of video frame pictures are played in a reciprocating circulating mode, namely, after the first video frame picture of the preset number of video frame pictures is played to the last video frame picture in sequence, the last video frame picture is played to the first video frame picture in a reverse sequence, the first video frame picture is played to the last video frame picture in sequence, and the like, and the video is played in a reciprocating circulating mode according to the mode. On one hand, because adjacent video frame pictures are continuous in the playing process, the smoothness of a dynamic front cover of the video can be ensured, and the problem of picture flashing cannot occur; on the other hand, because the repeated video frame pictures are not added, namely the repeated video frame pictures are reduced, the storage space occupied by the dynamic cover can be smaller, the flow consumed by network transmission can be effectively reduced, and meanwhile, a smaller memory can be occupied when the dynamic cover is displayed. Taking a single video file as an example, about 1.5M of memory can be saved, and the memory occupation is effectively reduced.
Referring to fig. 6, fig. 6 is a flowchart of another method for generating a video dynamic cover page in the embodiment of the present application, which may include the following steps:
s610, obtaining a preset number of continuous video frame pictures in the video file.
In the embodiment of the application, the video file can be a video file shot by a user in real time, and the user can shoot a target object through the terminal equipment. Accordingly, the terminal device generates a video file in response to a shooting operation for a target object. The video file may also be a locally pre-stored video file, and the locally stored video file may be directly obtained, or the locally stored original video file may also be obtained, and the original video file is edited to obtain the video file.
In an alternative embodiment, the user may be provided with an interface for selecting video frame pictures, and the user may select the video frame picture of interest in the interface as the resource file of the video dynamic cover. Specifically, the user may first click a button for displaying a video frame picture, and the terminal device displays a plurality of video frame pictures in the video file in response to a display operation for each video frame picture in the video file. And then, the user selects the video frame picture of interest from the plurality of video frame pictures and carries out click operation, and the terminal equipment responds to the selection operation aiming at the plurality of video frame pictures to obtain a continuous preset number of video frame pictures.
In yet another alternative embodiment, a preset number of video frame pictures may also be automatically acquired. For example, scene recognition may be performed on each video frame picture in the video file, and a key video frame picture in the video file may be determined based on the scene recognition result. The key video frame picture generally refers to a video frame picture containing important content, and may be one or a plurality of pictures. For example, for a person video, a video frame picture containing a key action of the person may be taken as a key video frame picture.
And then, acquiring a preset number of continuous video frame pictures containing the key video frame pictures from the video file. For example, one or more frames of video frames are selected before and/or after the key video frame to obtain a preset number of consecutive video frames.
And S620, performing reciprocating circular playing on the preset number of video frame images according to the time sequence of the preset number of video frame images to generate a dynamic cover of the video file.
The specific process of performing the reciprocating playing of the preset number of video frame pictures can be referred to the description in S320 in the embodiment of fig. 3, and is not described herein again.
And S630, performing scene recognition on a preset number of video frame pictures to obtain a scene recognition result, determining one or more text messages matched with the scene recognition result, and displaying the one or more text messages.
In the embodiment of the application, after the video dynamic cover is obtained, in order to better embody the content represented by the video dynamic cover, related text information can be added. For example, a mapping relationship between a scene and text information may be established in advance, and a scene recognition result may be obtained by performing scene recognition on a preset number of video frame pictures. And determining text information matched with the scene recognition result according to the mapping relation, and displaying the text information for the user to select.
For example, if a scene of classroom learning is identified, it may be determined that the textual information matching the scene may be: "good learning, upward every day"; or "carefully learned samples are truly lovely" and the like. If a scene of a birthday is identified, it may be determined that the text information matching the scene may be "happy birthday" or the like.
And S640, responding to the selection operation aiming at one or more text messages, acquiring the target text message, and displaying the target text message in the dynamic cover page.
If the number of the displayed text messages is multiple, the user can select one text message from the multiple text messages, or select two or more text messages as the target text message, and display the target text message in the dynamic cover page. For example, the target text information may be displayed in a preset area of the dynamic cover page, and of course, the user may adjust the display area of the target text information.
S650, if the preset number of video frame pictures contain characters, performing expression recognition on the characters to obtain expression recognition results, determining one or more expression images matched with the expression recognition results, and displaying the one or more expression images.
In the embodiment of the application, if the preset number of video frame pictures contain characters, after the video dynamic cover is obtained, related expression images can be added to better reflect the mood of the characters in the video dynamic cover. The character in the video frame picture can be subjected to expression recognition, and expression recognition results are obtained, for example, the expression recognition results can include anger, nausea, fear, happiness, sadness, surprise, neutrality and the like. Similarly, one or more expression images matching the representation recognition result may be determined and displayed for selection by the user.
And S660, responding to the selection operation aiming at one or more expression images, acquiring a target expression image, and displaying the target expression image in the dynamic cover.
The user may select an expression image of interest from the one or more expression images as a target expression image and display the target expression image in the dynamic cover page. In this way, the content of the video motion cover can be presented more vividly.
According to the method for generating the video dynamic cover, after the continuous preset number of video frame pictures in the video file are obtained, the video dynamic cover is generated in a reciprocating circulating playing mode, the smoothness of the dynamic cover can be guaranteed, the repeated video frame pictures are reduced, the storage space occupied by the video dynamic cover is smaller, the flow consumed by network transmission can be effectively reduced, and the occupied memory is reduced when the dynamic cover is displayed. In addition, after the video dynamic cover is generated, text information or expression images can be added into the video dynamic cover, so that a user watching the video dynamic cover can know the content of a video file more accurately, and an interested video file can be selected accurately for watching.
Corresponding to the above method embodiment, an embodiment of the present application further provides a video dynamic cover generation apparatus, and referring to fig. 7, the video dynamic cover generation apparatus 700 includes:
a video frame image obtaining module 710, configured to obtain a preset number of continuous video frame images in a video file;
and the dynamic cover generation module 720 is configured to perform reciprocating playing on the preset number of video frame images according to the time sequence of the preset number of video frame images, so as to generate a dynamic cover of the video file.
The video frame image acquisition module is used for acquiring continuous preset number of video frame images in the video file;
and the dynamic cover generation module is used for performing reciprocating circular playing on the preset number of video frame pictures according to the time sequence of the preset number of video frame pictures so as to generate a dynamic cover of the video file.
Optionally, the video dynamic cover generation apparatus 700 further includes:
the video frame picture display module is used for responding to the display operation aiming at each video frame picture in the video file and displaying a plurality of video frame pictures in the video file;
the video frame image acquisition module is specifically configured to respond to a selection operation for a plurality of video frame images, and acquire a preset number of consecutive video frame images.
Optionally, the video frame image acquisition module is specifically configured to perform scene recognition on each video frame image in the video file, and determine a key video frame image in the video file based on a scene recognition result; and acquiring a preset number of continuous video frame pictures containing the key video frame pictures from the video file.
Optionally, the video dynamic cover generation apparatus 700 further includes:
the scene recognition module is used for carrying out scene recognition on a preset number of video frame pictures after generating a dynamic cover of the video file to obtain a scene recognition result;
the text information matching module is used for determining one or more text information matched with the scene recognition result and displaying the one or more text information;
and the target text information display module is used for responding to the selection operation aiming at one or more text information, acquiring the target text information and displaying the target text information in the dynamic cover page.
Optionally, the video dynamic cover generation apparatus 700 further includes:
the expression recognition module is used for carrying out expression recognition on the characters to obtain an expression recognition result if the preset number of video frame pictures contain the characters after generating the dynamic cover of the video file;
the expression image matching module is used for determining one or more expression images matched with the expression recognition result and displaying the one or more expression images;
and the target expression image display module is used for responding to the selection operation aiming at one or more expression images, acquiring the target expression image and displaying the target expression image in the dynamic cover.
Optionally, the video dynamic cover generation apparatus 700 further includes:
the first video file acquisition module is used for responding to shooting operation aiming at a target object and generating a video file; alternatively, the first and second electrodes may be,
a second video file obtaining module, configured to obtain a locally stored video file, or,
and the third video file acquisition module is used for acquiring the locally stored original video file and editing the original video file to obtain the video file.
The details of each module or unit in the above device have been described in detail in the corresponding method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present application, there is also provided an electronic device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the video dynamic cover generation method described above in this example embodiment.
Fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present application. It should be noted that the electronic device 800 shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments.
As shown in fig. 8, the electronic apparatus 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for system operation are also stored. The central processing unit 801, ROM 802, and RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a Local Area Network (LAN) card, modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. When the computer program is executed by the central processing unit 801, various functions defined in the apparatus of the present application are executed.
In an embodiment of the present application, a computer-readable storage medium is further provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for generating a dynamic cover page of a video is implemented.
It should be noted that the computer readable storage medium shown in the present application can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, radio frequency, etc., or any suitable combination of the foregoing.
In an embodiment of the present application, a computer program product is further provided, which, when running on a computer, causes the computer to execute the video dynamic cover page generation method.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for video dynamic cover generation, the method comprising:
acquiring continuous video frame pictures with preset quantity in a video file;
and according to the time sequence of the preset number of video frame images, performing reciprocating circular playing on the preset number of video frame images to generate a dynamic cover of the video file.
2. The method of claim 1, wherein before said obtaining a preset number of consecutive video frame pictures in a video file, the method further comprises:
displaying a plurality of video frame pictures in the video file in response to a display operation for each video frame picture in the video file;
the acquiring of the continuous preset number of video frame pictures in the video file comprises:
and responding to the selection operation aiming at the plurality of video frame pictures, and acquiring a continuous preset number of video frame pictures.
3. The method of claim 1, wherein obtaining a preset number of consecutive video frame pictures in the video file comprises:
scene recognition is carried out on each video frame picture in the video file, and a key video frame picture in the video file is determined based on a scene recognition result;
and acquiring a preset number of continuous video frame pictures containing the key video frame pictures from the video file.
4. The method according to claim 1 or 2, characterized in that the method comprises:
after generating the dynamic cover of the video file, carrying out scene recognition on the preset number of video frame pictures to obtain a scene recognition result;
determining one or more text messages matched with the scene recognition result, and displaying the one or more text messages;
and responding to the selection operation aiming at the one or more text messages, acquiring target text messages, and displaying the target text messages in the dynamic cover page.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
after a dynamic cover of the video file is generated, if the preset number of video frame pictures contain characters, performing expression recognition on the characters to obtain an expression recognition result;
determining one or more expression images matched with the expression recognition result, and displaying the one or more expression images;
and responding to the selection operation aiming at the one or more expression images, acquiring a target expression image, and displaying the target expression image in the dynamic cover.
6. The method of claim 1, wherein prior to obtaining a preset number of consecutive video frame pictures in a video file, the method further comprises:
generating the video file in response to a shooting operation for a target object; alternatively, the first and second electrodes may be,
retrieving the locally stored video file, or,
and acquiring an original video file stored locally, and editing the original video file to obtain the video file.
7. A video motion cover creation apparatus, the apparatus comprising:
the video frame image acquisition module is used for acquiring continuous preset number of video frame images in the video file;
and the dynamic cover generation module is used for performing reciprocating circular playing on the preset number of video frame pictures according to the time sequence of the preset number of video frame pictures so as to generate the dynamic cover of the video file.
8. An electronic device, comprising: a processor for executing a computer program stored in a memory, the computer program, when executed by the processor, implementing the steps of the method of any of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that it causes a computer to carry out the steps of the method according to any one of claims 1 to 6, when said computer program product is run on the computer.
CN202110968924.0A 2021-08-23 2021-08-23 Dynamic cover generation method, device, electronic equipment, medium and program product Pending CN113641853A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110968924.0A CN113641853A (en) 2021-08-23 2021-08-23 Dynamic cover generation method, device, electronic equipment, medium and program product
PCT/CN2022/108072 WO2023024803A1 (en) 2021-08-23 2022-07-27 Dynamic cover generating method and apparatus, electronic device, medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110968924.0A CN113641853A (en) 2021-08-23 2021-08-23 Dynamic cover generation method, device, electronic equipment, medium and program product

Publications (1)

Publication Number Publication Date
CN113641853A true CN113641853A (en) 2021-11-12

Family

ID=78423374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110968924.0A Pending CN113641853A (en) 2021-08-23 2021-08-23 Dynamic cover generation method, device, electronic equipment, medium and program product

Country Status (2)

Country Link
CN (1) CN113641853A (en)
WO (1) WO2023024803A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023024803A1 (en) * 2021-08-23 2023-03-02 北京字跳网络技术有限公司 Dynamic cover generating method and apparatus, electronic device, medium, and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509110A (en) * 2017-08-03 2017-12-22 乐蜜有限公司 A kind of loop play method and device of video file
CN108650524A (en) * 2018-05-23 2018-10-12 腾讯科技(深圳)有限公司 Video cover generation method, device, computer equipment and storage medium
CN108810657A (en) * 2018-06-15 2018-11-13 网宿科技股份有限公司 A kind of method and system of setting video cover

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872675A (en) * 2015-12-22 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for intercepting video animation
CN110058887B (en) * 2018-01-16 2022-02-18 腾讯科技(深圳)有限公司 Video processing method, video processing device, computer-readable storage medium and computer equipment
CN109996091A (en) * 2019-03-28 2019-07-09 苏州八叉树智能科技有限公司 Generate method, apparatus, electronic equipment and the computer readable storage medium of video cover
CN110324662B (en) * 2019-06-28 2022-07-22 北京奇艺世纪科技有限公司 Video cover generation method and device
CN113096218A (en) * 2019-12-20 2021-07-09 腾讯科技(深圳)有限公司 Dynamic image playing method, device, storage medium and computer equipment
CN111491173B (en) * 2020-04-15 2023-08-08 腾讯科技(深圳)有限公司 Live cover determination method and device, computer equipment and storage medium
CN113641853A (en) * 2021-08-23 2021-11-12 北京字跳网络技术有限公司 Dynamic cover generation method, device, electronic equipment, medium and program product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509110A (en) * 2017-08-03 2017-12-22 乐蜜有限公司 A kind of loop play method and device of video file
US20210029410A1 (en) * 2017-08-03 2021-01-28 Live.Me Inc. Method and apparatus for looping a video file
CN108650524A (en) * 2018-05-23 2018-10-12 腾讯科技(深圳)有限公司 Video cover generation method, device, computer equipment and storage medium
CN108810657A (en) * 2018-06-15 2018-11-13 网宿科技股份有限公司 A kind of method and system of setting video cover

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023024803A1 (en) * 2021-08-23 2023-03-02 北京字跳网络技术有限公司 Dynamic cover generating method and apparatus, electronic device, medium, and program product

Also Published As

Publication number Publication date
WO2023024803A1 (en) 2023-03-02

Similar Documents

Publication Publication Date Title
US11710510B2 (en) Video generation method and apparatus, electronic device, and computer readable medium
CN111615002B (en) Video background playing control method, device and system and electronic equipment
CN108600780B (en) Method for pushing information, electronic device and computer readable medium
CN111432282A (en) Video recommendation method and device
CN113395538B (en) Sound effect rendering method and device, computer readable medium and electronic equipment
CN113641853A (en) Dynamic cover generation method, device, electronic equipment, medium and program product
CN112492399B (en) Information display method and device and electronic equipment
CN111432142B (en) Video synthesis method, device, equipment and storage medium
CN109871465B (en) Time axis calculation method and device, electronic equipment and storage medium
CN113282770A (en) Multimedia recommendation system and method
CN112004116B (en) Method, device, electronic equipment and medium for determining object adding mode
CN115225948A (en) Live broadcast room interaction method, device, equipment and medium
CN111158826B (en) Interface skin generation method, device, equipment and storage medium
CN113760162A (en) Method, apparatus, device and storage medium for displaying information
CN108881978B (en) Resource playing method and device for intelligent equipment
CN111866548A (en) Marking method applied to medical video
CN113766255A (en) Video stream merging method and device, electronic equipment and computer medium
CN111125501A (en) Method and apparatus for processing information
CN109815408B (en) Method and device for pushing information
CN113676765B (en) Interactive animation display method and device
CN108540840B (en) Content output method and device, medium and computing equipment
CN112578916B (en) Information processing method and system
CN112949252B (en) Text display method, apparatus and computer readable medium
CN107800618B (en) Picture recommendation method and device, terminal and computer-readable storage medium
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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211112