CN113438538A - Short video preview method, device, equipment and storage medium - Google Patents

Short video preview method, device, equipment and storage medium Download PDF

Info

Publication number
CN113438538A
CN113438538A CN202110720542.6A CN202110720542A CN113438538A CN 113438538 A CN113438538 A CN 113438538A CN 202110720542 A CN202110720542 A CN 202110720542A CN 113438538 A CN113438538 A CN 113438538A
Authority
CN
China
Prior art keywords
short video
frame
picture
folder
pictures
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
CN202110720542.6A
Other languages
Chinese (zh)
Other versions
CN113438538B (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.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen 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 Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202110720542.6A priority Critical patent/CN113438538B/en
Publication of CN113438538A publication Critical patent/CN113438538A/en
Application granted granted Critical
Publication of CN113438538B publication Critical patent/CN113438538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The invention relates to the field of artificial intelligence and discloses a short video preview method, a device, equipment and a storage medium. The method comprises the following steps: dividing a target short video on a short video platform into a plurality of short video partitions according to the playing time length; according to a preset compression ratio, a plurality of threads are adopted to carry out frame extraction processing on each short video frequency area to obtain a plurality of frames of pictures, the frames of pictures are stored in corresponding folders, similarity detection is carried out respectively, and a similarity score of each frame of picture in each folder is obtained; respectively calculating the switching duration of each frame of picture in each folder according to each similarity score, and generating a dynamic image by adopting each frame of picture in each folder according to the switching duration; and displaying the dynamic image in a preview area in the short video platform. The invention also relates to a blockchain technique, the marked short video being stored in a blockchain. The invention realizes the preview of the short video, reduces the data amount of the preview of the short video and simultaneously reserves the complete content of the short video.

Description

Short video preview method, device, equipment and storage medium
Technical Field
The invention relates to the field of artificial intelligence, in particular to a short video preview method, a device, equipment and a storage medium.
Background
Along with the explosion of the self-media, the demand of people for the short video is increased explosively, the self-timer and sharing enthusiasm of people for the short video is also increased, and the people enter the era that the people can self-media. Each large platform also pays attention to the short video part, the use time of mobile end users on the short video is increased day by day, and the number of video sharing in the social field is increased dramatically.
With the rapid development of science and technology, the social information volume is huge, the crowd playing at double speed is increased when a long video is received, the short video has short duration and no function of playing at double speed, and the relative demand is small, but the information maximization leads to that the user has low tolerance to the information reception, and the short video platform only displays a first frame picture of the short video on a first page due to the data volume problem, and cannot provide preview of the video brief introduction with low data volume according to the video content.
Disclosure of Invention
The invention mainly aims to solve the technical problem that a short video platform cannot provide previewing of video brief introduction according to video content.
The invention provides a short video preview method in a first aspect, which comprises the following steps: acquiring a target short video, and dividing the target short video into a plurality of short video partitions according to the playing duration of the target short video; adopting a plurality of threads corresponding to the number of the short video partitions, and respectively performing frame extraction processing on each short video partition according to a preset compression ratio to obtain a multi-frame picture; respectively storing multiple frames of pictures into preset folders corresponding to the video partitions, and respectively carrying out similarity detection on the frames of pictures in the folders to obtain similarity scores of the frames of pictures in the folders; respectively calculating the switching time length of each frame of picture in each folder according to each similarity score, and generating a dynamic image by adopting each frame of picture in each folder according to the switching time length; and displaying the dynamic image in a preview area in a short video platform.
Optionally, in a first implementation manner of the first aspect of the present invention, the performing frame extraction processing on each short video partition according to a preset compression ratio by using multiple threads corresponding to the number of the short video partitions to obtain a multi-frame picture includes: selecting a corresponding number of threads from a preset thread pool according to the number of the short video partitions and distributing the threads to each short video partition; respectively analyzing the corresponding short video partitions by adopting the threads to obtain multi-frame initial pictures, and determining the extraction time interval of the initial pictures corresponding to each short video partition according to a preset compression ratio; and respectively extracting the initial pictures corresponding to the short video partitions at intervals of the extraction time interval to obtain multi-frame pictures subjected to frame extraction processing of the short video partitions.
Optionally, in a second implementation manner of the first aspect of the present invention, the performing similarity detection on each frame of picture in each folder respectively to obtain a similarity score of each frame of picture in each folder includes: respectively extracting the pixel characteristics of each frame of picture in each folder, and constructing a histogram of the corresponding frame of picture according to the pixel characteristics; sequentially calculating the intersection distance between corresponding histograms of two frames of pictures which are played in the same folder in sequence, and calculating the distance mean value between the intersection distances; and respectively calculating the similarity score of each frame of picture in each folder by adopting a preset transformation formula according to the distance mean value.
Optionally, in a third implementation manner of the first aspect of the present invention, the generating a dynamic image by using each frame of picture in each folder according to the switching duration includes: merging the frames of pictures in the folders according to the switching duration of the frames of pictures in the folders to obtain initial dynamic images; and according to a preset playing speed, carrying out geometric reduction on the switching time of each frame of picture in the initial dynamic image to obtain the dynamic image.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the merging, according to the switching duration of each frame of picture in each folder, to obtain an initial dynamic image includes: according to the switching duration of each frame of picture in the front folder and the back folder which are played in sequence, the playing interval of the picture between the front folder and the back folder is calculated; determining the switching time length between the last frame of picture in the front folder and the first frame of picture in the rear folder according to the playing interval between the front folder and the rear folder; and combining the last frame picture in the front folder and the first frame picture in the rear folder according to the switching time length of each frame picture in each folder to obtain an initial dynamic image.
Optionally, in a fifth implementation manner of the first aspect of the present invention, after the generating a dynamic image by using each frame picture in each folder according to the switching duration, the method further includes: detecting key areas of each frame of picture in the dynamic image according to the type of the target short video, and detecting reference areas corresponding to the key areas by adopting a preset image template; and aligning the key area of each frame of picture in the dynamic image with the corresponding reference area according to the key area and the reference area, and transferring the reference area to the key area of each frame of picture in the corresponding dynamic image to obtain a new dynamic image.
A second aspect of the present invention provides a short video preview apparatus, including: the segmentation module is used for acquiring a target short video and dividing the target short video into a plurality of short video partitions according to the playing time length of the target short video; the frame extracting module is used for adopting a plurality of threads corresponding to the number of the short video partitions, and respectively performing frame extracting processing on each short video partition according to a preset compression ratio to obtain a multi-frame picture; the detection module is used for respectively storing multiple frames of pictures into preset folders corresponding to the video partitions and respectively detecting the similarity of the pictures in the folders to obtain similarity scores of the pictures in the folders; the generating module is used for respectively calculating the switching time length of each frame of picture in each folder according to each similarity score, and generating a dynamic image by adopting each frame of picture in each folder according to the switching time length; and the deployment module is used for displaying the dynamic image in a preview area in the short video platform.
Optionally, in a first implementation manner of the second aspect of the present invention, the frame extracting module includes: the distribution unit is used for selecting a corresponding number of threads from a preset thread pool according to the number of the short video partitions and distributing the threads to each short video partition; the determining unit is used for respectively analyzing the corresponding short video frequency partitions by adopting the threads to obtain multi-frame initial pictures and determining the extraction time interval of the initial pictures corresponding to each short video frequency partition according to a preset compression ratio; and the extracting unit is used for respectively extracting the initial pictures corresponding to the short video partitions at intervals of the extracting time to obtain the multi-frame pictures subjected to frame extraction processing of the short video partitions.
Optionally, in a second implementation manner of the second aspect of the present invention, the detection module includes: the construction unit is used for respectively extracting the pixel characteristics of each frame of picture in each folder and constructing a histogram of the corresponding frame of picture according to the pixel characteristics; the calculation unit is used for sequentially calculating the intersection distance between the corresponding histograms of the front and rear frames of pictures which are sequentially played in the same folder and calculating the distance mean value between the intersection distances; and the transformation unit is used for respectively calculating the similarity score of each frame of picture in each folder by adopting a preset transformation formula according to the distance mean value.
Optionally, in a third implementation manner of the second aspect of the present invention, the generating module includes: the merging unit is used for merging the frames of pictures in the folders according to the switching duration of the frames of pictures in the folders to obtain initial dynamic images; and the zooming unit is used for carrying out geometric reduction on the switching time of each frame of picture in the initial dynamic image according to a preset playing speed to obtain the dynamic image.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the merging unit is further configured to: according to the switching duration of each frame of picture in the front folder and the back folder which are played in sequence, the playing interval of the picture between the front folder and the back folder is calculated; determining the switching time length between the last frame of picture in the front folder and the first frame of picture in the rear folder according to the playing interval between the front folder and the rear folder; and combining the last frame picture in the front folder and the first frame picture in the rear folder according to the switching time length of each frame picture in each folder to obtain an initial dynamic image.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the short video preview apparatus further includes an update module, where the update module is configured to: detecting key areas of each frame of picture in the dynamic image according to the type of the target short video, and detecting reference areas corresponding to the key areas by adopting a preset image template; and aligning the key area of each frame of picture in the dynamic image with the corresponding reference area according to the key area and the reference area, and transferring the reference area to the key area of each frame of picture in the corresponding dynamic image to obtain a new dynamic image.
A third aspect of the present invention provides a short video preview device, including: a memory and at least one processor, the memory having instructions stored therein; the at least one processor invokes the instructions in the memory to cause the short video preview device to perform the short video preview method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-described short video preview method.
According to the technical scheme provided by the invention, the video can be converted into a simplified dynamic image and played, such as a GIF (graphic interchange format) picture, so that a user can acquire key information of the video more quickly; in addition, the video frame extraction time is prolonged for the short video, the image compression is quickly carried out and written into the corresponding folder of the dynamic image, the short video conversion rate is increased, and the data volume of the short video is reduced; finally, the time for switching pictures is shortened according to a certain proportion during the playing parameters of the dynamic images, the pause and frustration of the dynamic images are reduced, and meanwhile, the interestingness of the dynamic images can be increased in certain scenes.
Drawings
FIG. 1 is a diagram of a short video preview method according to a first embodiment of the present invention;
FIG. 2 is a diagram of a second embodiment of a short video preview method according to the embodiment of the present invention;
FIG. 3 is a diagram of a short video preview method according to a third embodiment of the present invention;
FIG. 4 is a diagram of an embodiment of a short video preview device in an embodiment of the present invention;
FIG. 5 is a diagram of another embodiment of a short video preview device in accordance with the present invention;
fig. 6 is a schematic diagram of an embodiment of a short video preview device in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a short video preview method, a device, equipment and a storage medium, which are used for acquiring a target short video and dividing the target short video into a plurality of short video partitions according to playing time; adopting a plurality of threads, and respectively performing frame extraction processing on each short video frequency division area according to a preset compression ratio to obtain a plurality of frame pictures; respectively storing multiple frames of pictures into corresponding folders, and respectively carrying out similarity detection to obtain similarity scores of the pictures in the folders; respectively calculating the switching duration of each frame of picture in each folder according to each similarity score, and generating a dynamic image by adopting each frame of picture in each folder according to the switching duration; and displaying the dynamic image in a preview area in the short video platform. The method and the device realize the preview of the short video, reduce the data volume of the short video preview and simultaneously reserve the complete short video content.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a detailed flow of an embodiment of the present invention is described below, and referring to fig. 1, a first embodiment of a short video preview method according to an embodiment of the present invention includes:
101. acquiring a target short video, and dividing the target short video into a plurality of short video partitions according to the playing time length of the target short video;
it is to be understood that the execution subject of the present invention may be a short video preview device, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject. It is emphasized that, to further ensure the privacy and security of the target short video, the target short video may also be stored in a node of a blockchain.
In the embodiment, a target short video needing to be displayed on a home page is acquired from a short video platform storage database, wherein the playing time of the short video is usually 15 seconds to 15 minutes, and the longest time is not more than 30 minutes; firstly, according to the playing time length of a target short video, the target short video is cut into a plurality of parts, each part is a video partition, and the time length is tnThe short video of (2) may be partitioned into a plurality of short video partitions: {0-t1,t1-t2,……,tn-1-tnAnd fourthly, the longer the playing time is, the more the segmented short video frequency division areas are.
Specifically, the duration of the short video partitions with different playing durations is preset according to specific requirements, for example:
target short video within 30 seconds: the time length of each short video partition is 5 seconds;
target short video between 30 seconds and 3 minutes: the duration of each short video partition is 30 seconds;
target short video between 3 minutes and 10 minutes: the time length of each short video partition is 1 minute;
target short video between 10 minutes and 15 minutes: the time length of each short video partition is 1.5 minutes;
……
and by analogy, the other remaining target short video playing length which is less than the time length of one short video partition becomes one short video partition. For example, if the duration of the target short video is 13 minutes, the target short video can be divided into the following 9 short video partitions: {0-1.5 min, 1.5 min-3 min, 3 min-4.5 min, 4.5 min-6 min, 6 min-7.5 min, 7.5 min-9 min, 9 min-10.5 min, 10.5 min-12 min, 12 min-13 min }.
102. Adopting a plurality of threads corresponding to the number of the short video frequency division areas, and respectively carrying out frame extraction processing on each short video frequency division area according to a preset compression ratio to obtain a multi-frame picture;
in this embodiment, after the target is divided into a plurality of short video partitions in a short time, a plurality of threads with the same number as the number of the short video partitions are simultaneously started to process each short video partition. Firstly, according to a preset compression ratio, combining the original video frame rate of each short video frequency division area, determining the video frame rate of each compressed short video frequency division area, and then extracting each frame of picture in the short video from each short video frequency division area according to the video frame rate of each compressed short video frequency division area.
103. Respectively storing multiple frames of pictures into preset folders corresponding to the video partitions, and respectively carrying out similarity detection on the frames of pictures in the folders to obtain similarity scores of the frames of pictures in the folders;
in this embodiment, after obtaining multiple frames of pictures from each short video partition, the extracted pictures corresponding to each short video partition are stored in a preset folder through different threads, and then the extracted pictures in each folder are processed according to different threads, so as to improve the processing efficiency of target short video preview.
In this embodiment, in the same folder, the similarity of each frame of image obtained by frame extraction is analyzed to determine the playing duration of the still image or the similar image, for example, for short videos of the self-description type, usually, a user only shoots the face range of the user in the whole short video recording, matches the description text, or matches different images to switch every other period, at this time, the similarity of each frame of image obtained after frame extraction processing in the short video is higher, the similarity score is also higher, and the switching duration obtained subsequently is shorter.
104. Respectively calculating the switching duration of each frame of picture in each folder according to each similarity score, and generating a dynamic image by adopting each frame of picture in each folder according to the switching duration;
in this embodiment, for the folder with a higher similarity score, the similarity between the stored frames of pictures is higher, so the switching time of the frames of pictures stored in the folder is shorter, and the preview of the complete content can be realized, and for the folder with a lower similarity score, the similarity between the stored frames of pictures is lower, so the switching time of the frames of pictures stored in the folder is longer, and the preview of the complete content can be realized.
After the switching duration of each frame of picture in each folder is determined, each frame of picture in each folder is combined to generate a dynamic image, and particularly, a Graphic Interchange Format (GIF) can be adopted, each frame of picture in each folder is switched according to the switching duration to generate the dynamic image, and particularly, if a dynamic image generation method developed based on Swift is adopted, a CGImageDestinationRef image target class can be directly stored in a folder of a specified path, the switching length and the number of pictures of each frame of picture are set, and a file suffix name is changed to be ". GIF", so that the dynamic image in the GIF Format can be obtained.
105. And displaying the dynamic image in a preview area in the short video platform.
In this embodiment, the dynamic image is deployed on the home page of the short video platform for the user to preview, a storage path of the merged file corresponding to the dynamic image is specifically output here, and the user enters the short video platform and loads the dynamic image according to the storage path after browsing the target short video.
In the embodiment of the invention, the video can be converted into the simplified dynamic image and played, such as a GIF (graphic interchange format) picture, so that a user can acquire key information of the video more quickly; in addition, the video frame extraction time is prolonged for the short video, the image compression is quickly carried out and written into the corresponding folder of the dynamic image, the short video conversion rate is increased, and the data volume of the short video is reduced; finally, the time for switching pictures is shortened according to a certain proportion during the playing parameters of the dynamic images, the pause and frustration of the dynamic images are reduced, and meanwhile, the interestingness of the dynamic images can be increased in certain scenes.
Referring to fig. 2, a second embodiment of the short video preview method according to the embodiment of the present invention includes:
201. acquiring a target short video, and dividing the target short video into a plurality of short video partitions according to the playing time length of the target short video;
202. adopting a plurality of threads corresponding to the number of the short video frequency division areas, and respectively carrying out frame extraction processing on each short video frequency division area according to a preset compression ratio to obtain a multi-frame picture;
203. respectively storing multiple frames of pictures into preset folders corresponding to the video partitions;
204. respectively extracting the pixel characteristics of each frame of picture in each folder, and constructing a histogram of the corresponding frame of picture according to the pixel characteristics;
in this embodiment, the pixel characteristics are expressed by encoding the basic original pixels and the gray levels of each frame of picture, and then, each frame of picture is characterized by a histogram, and the method is implemented by a 1-D discrete function: h (r)k)=nkThen, the histogram is normalized: p (r)k)=nkN, where k is 0, 1, … …, L-1, rkRepresenting the coded value of a pixel characteristic of a picture, L being the number of pixels characteristic of which it is advisable, nkIs that the image has a code value of rkN is the total number of pixel features, and in general r iskRepresenting the k-th gray level, nkRepresenting a grey level r in the imagekThe number of pixel features of (1). The histogram may include a statistical histogram and a cumulative histogram, among others.
205. Sequentially calculating the intersection distance between corresponding histograms of two frames of pictures which are played in the same folder in sequence, and calculating the distance mean value between the intersection distances;
206. according to the distance average value, respectively calculating the similarity score of each frame of picture in each folder by adopting a preset transformation formula;
after the histogram corresponding to each frame of picture is obtained, the similarity between the two corresponding frames of pictures can be measured by the intersection distance between the two histograms, and specifically, the similarity can be calculated by adopting any one of the following two formulas:
the formula I is as follows: distance of intersection
Figure BDA0003136337510000091
The formula II is as follows: distance of intersection
Figure BDA0003136337510000092
Wherein HQ(k) And HD(k) Respectively, the k-th histogram of the two histograms.
Finally, a mean value is calculated by intersecting distances, and a similarity score of each folder is further calculated, wherein the similarity score is inversely proportional to the size of the distance mean value and can be calculated by a formula score (k) ═ a × P (Q, D) or score (k) ═ a × P (Q, D).
207. Respectively calculating the switching duration of each frame of picture in each folder according to each similarity score, and generating a dynamic image by adopting each frame of picture in each folder according to the switching duration;
208. displaying the dynamic image in a preview area in a short video platform;
209. detecting key areas of each frame of picture in the dynamic image according to the type of the target short video, and detecting reference areas corresponding to the key areas by adopting a preset image template;
in this embodiment, according to the type of the target short video, for example, a short video of a type described by the user, a face key region detection algorithm library may be used to detect a face key region in each frame of picture. The face key region detection algorithm library can be a Dlib library or an OpenCV library, and the face key region can include a face contour feature region, an eye feature region, a nose feature region, a mouth feature region and the like.
The facial movements refer to facial expression movements, including mouth movements and eye movements, such as mouth opening, mouth closing, eye opening, eye closing, and the like. The head movement refers to a movement of the head, such as upward movement, downward movement, leftward movement, rightward movement, and the like.
210. And aligning the key area of each frame of picture in the dynamic image with the corresponding reference area according to the key area and the reference area, and transferring the reference area to the key area of each frame of picture in the corresponding dynamic image to obtain a new dynamic image.
In this embodiment, according to the key region and the reference region, a conversion parameter required for aligning the reference region detected by the preset image template to the corresponding key region is determined, and conversion is performed based on the reference region of each frame of image in the image template, so that the key region of each frame of image in the dynamic image is aligned to and migrated from the corresponding reference region.
In the embodiment of the invention, the similarity of the front and rear two frames of pictures in each folder is measured through the histogram and the intersecting distance, the similarity scores are used for quantification, the switching time between different frames of pictures is set according to different similarity scores, the same pictures can be quickly switched, different pictures can be slowly switched, the click and pause feeling of a subsequently generated dynamic image can not be caused, the playing time of the dynamic image can be reduced, and meanwhile, the comprehensive display of information is ensured.
Referring to fig. 3, a third embodiment of the short video preview method according to the embodiment of the present invention includes:
301. acquiring a target short video, and dividing the target short video into a plurality of short video partitions according to the playing time length of the target short video;
302. selecting a corresponding number of threads from a preset thread pool according to the number of the short video partitions and distributing the threads to each short video partition;
303. respectively analyzing the corresponding short video frequency division areas by adopting threads to obtain multi-frame initial pictures, and determining extraction time intervals of the initial pictures corresponding to the short video frequency division areas according to a preset compression ratio;
304. respectively extracting initial pictures corresponding to each short video frequency division area at intervals of extraction time to obtain multi-frame pictures subjected to frame extraction processing of each short video frequency division area;
comparing the video frame rate of each short video partition with a video frame rate of 30FPS (Frames per Second), namely, each short-time broken partition contains 1800 Frames of initial pictures, if the compression ratio is 1:10, the video frame rate of each compressed short video partition is 3FPS, namely, the extraction time interval is 20 ms/frame, extracting a plurality of Frames of pictures from the initial pictures according to the extraction time interval of 20 ms/frame, and after performing frame extraction processing on each short video partition, obtaining 180 Frames of pictures, specifically, AVAssetImageGenerator in Swift is adopted to extract the Frames of the pictures according to time.
305. Respectively storing multiple frames of pictures into preset folders corresponding to the video partitions, and respectively carrying out similarity detection on the frames of pictures in the folders to obtain similarity scores of the frames of pictures in the folders;
306. respectively calculating the switching duration of each frame of picture in each folder according to each similarity score, and merging each frame of picture in each folder according to the switching duration of each frame of picture in each folder to obtain an initial dynamic image;
in this embodiment, the initial dynamic image can be obtained by setting the playing parameters of the dynamic image according to the switching time and the frame number of each frame of image in each file, and at this time, the initial dynamic image is sequentially played according to the playing parameters, that is, the switching time and the frame number, wherein the playing sequence of each folder image is performed according to the division sequence of the earliest short video playing, that is, the folders corresponding to the short video partitions are sequentially played: {0-t1,t1-t2,……,tn-1-tn}。
307. According to a preset playing speed, carrying out geometric reduction on the switching time of each frame of picture in the initial dynamic image to obtain a dynamic image;
in addition, the switching time is scaled proportionally according to the preset playing rate, for example, if the double-speed playing is performed, the switching time length of each folder picture in the initial dynamic image is [0.1s, 0.2s, 0.1s, 0.3s ], then the double-speed playing is put down, the switching time length of each folder picture in the dynamic image is [0.05s, 0.1s, 0.05s, 0.15s ], respectively, and under the condition of the multiple playing, the number of picture frames in the dynamic image is unchanged, that is, the data size of the dynamic image is also kept unchanged.
Further, the merging process of each frame of picture in each folder is as follows:
(1) according to the switching duration of each frame of picture in the front folder and the back folder which are played in sequence, the playing interval of the picture between the front folder and the back folder is calculated;
(2) determining the switching time length between the last frame of picture in the front folder and the first frame of picture in the rear folder according to the playing interval between the front folder and the rear folder;
(3) and merging the last frame picture in the front folder and the first frame picture in the rear folder according to the switching duration of the last frame picture in the front folder and the first frame picture in the rear folder to obtain the initial dynamic image.
In this embodiment, the switching duration of each frame of picture in each folder herein includes the switching duration of each frame of picture in the same folder and the switching duration of pictures in different folders, where the switching duration of pictures in different folders refers to the switching duration of the last frame of picture and the first frame of picture of the subsequent folder that are sequentially played, and the switching duration of each frame of picture in the same folder is the same.
Specifically, the play interval in the two folders can be calculated according to the switching duration of each frame of picture in the two foldersFor example, the switching duration of each frame of picture in the previous folder is T1The switching time length of each frame of picture in the later folder is T2The playing interval (T) between the two folders1+T2) And/2, namely the switching time length between the last frame picture in the front folder and the first frame picture in the rear folder.
308. And displaying the dynamic image in a preview area in the short video platform.
In the embodiment of the invention, asynchronous processing of different video partitions in different short videos through multi-thread processing is introduced in detail, so that the time for converting the short videos into dynamic pictures is reduced, the short video compression efficiency is improved, and the memory occupation is reduced.
With reference to fig. 4, the short video preview method in the embodiment of the present invention is described above, and a short video preview device in the embodiment of the present invention is described below, where an embodiment of the short video preview device in the embodiment of the present invention includes:
the segmentation module 401 is configured to obtain a target short video, and divide the target short video into a plurality of short video partitions according to a playing duration of the target short video;
a frame extracting module 402, configured to perform frame extraction processing on each short video partition according to a preset compression ratio by using multiple threads corresponding to the number of the short video partitions, so as to obtain multiple frames of pictures;
the detection module 403 is configured to store multiple frames of pictures into preset folders corresponding to the video partitions, and perform similarity detection on the frames of pictures in each folder to obtain similarity scores of the frames of pictures in each folder;
a generating module 404, configured to calculate a switching duration of each frame of picture in each folder according to each similarity score, and generate a dynamic image by using each frame of picture in each folder according to the switching duration;
and the deployment module 405 is configured to display the dynamic image in a preview area in the short video platform.
In the embodiment of the invention, the video can be converted into the simplified dynamic image and played, such as a GIF (graphic interchange format) picture, so that a user can acquire key information of the video more quickly; in addition, the video frame extraction time is prolonged for the short video, the image compression is quickly carried out and written into the corresponding folder of the dynamic image, the short video conversion rate is increased, and the data volume of the short video is reduced; finally, the time for switching pictures is shortened according to a certain proportion during the playing parameters of the dynamic images, the pause and frustration of the dynamic images are reduced, and meanwhile, the interestingness of the dynamic images can be increased in certain scenes.
Referring to fig. 5, another embodiment of the short video preview apparatus according to the embodiment of the present invention includes:
the segmentation module 401 is configured to obtain a target short video, and divide the target short video into a plurality of short video partitions according to a playing duration of the target short video;
a frame extracting module 402, configured to perform frame extraction processing on each short video partition according to a preset compression ratio by using multiple threads corresponding to the number of the short video partitions, so as to obtain multiple frames of pictures;
the detection module 403 is configured to store multiple frames of pictures into preset folders corresponding to the video partitions, and perform similarity detection on the frames of pictures in each folder to obtain similarity scores of the frames of pictures in each folder;
a generating module 404, configured to calculate a switching duration of each frame of picture in each folder according to each similarity score, and generate a dynamic image by using each frame of picture in each folder according to the switching duration;
and the deployment module 405 is configured to display the dynamic image in a preview area in the short video platform.
Specifically, the frame extracting module 402 includes:
the allocating unit 4021 is configured to select a corresponding number of threads from a preset thread pool according to the number of the short video partitions, and allocate the threads to each short video partition;
a determining unit 4022, configured to analyze the corresponding short video partitions by using the threads respectively to obtain multiple frames of initial pictures, and determine an extraction time interval of the initial pictures corresponding to each short video partition according to a preset compression ratio;
the extracting unit 4023 is configured to extract the initial picture corresponding to each short video partition at intervals of the extraction time interval, to obtain a multi-frame picture after frame extraction processing of each short video partition.
Specifically, the detection module 403 includes:
a construction unit 4031, configured to extract pixel features of each frame of picture in each folder, respectively, and construct a histogram of a corresponding frame of picture according to the pixel features;
a calculating unit 4032, configured to sequentially calculate intersection distances between histograms corresponding to two frames of pictures that are sequentially played in the same folder, and calculate a distance average between the intersection distances;
a transforming unit 4033, configured to respectively calculate, according to the distance mean value, a similarity score of each frame of picture in each folder by using a preset transformation formula.
Specifically, the generating module 404 includes:
a merging unit 4041, configured to merge, according to the switching duration of each frame of picture in each folder, so as to obtain an initial dynamic image;
the scaling unit 4042 is configured to perform geometric reduction on the switching time of each frame of picture in the initial dynamic image according to a preset playing rate, so as to obtain a dynamic image.
Specifically, the merging unit 4041 is further configured to:
according to the switching duration of each frame of picture in the front folder and the back folder which are played in sequence, the playing interval of the picture between the front folder and the back folder is calculated;
determining the switching time length between the last frame of picture in the front folder and the first frame of picture in the rear folder according to the playing interval between the front folder and the rear folder;
and combining the last frame picture in the front folder and the first frame picture in the rear folder according to the switching time length of each frame picture in each folder to obtain an initial dynamic image.
Specifically, the short video preview apparatus further includes an updating module 406, where the updating module 406 is configured to:
detecting key areas of each frame of picture in the dynamic image according to the type of the target short video, and detecting reference areas corresponding to the key areas by adopting a preset image template;
and aligning the key area of each frame of picture in the dynamic image with the corresponding reference area according to the key area and the reference area, and transferring the reference area to the key area of each frame of picture in the corresponding dynamic image to obtain a new dynamic image.
In the embodiment of the invention, the similarity of front and back two frames of pictures in each folder is measured by a histogram and an intersecting distance, the similarity scores are used for quantization, the switching time between different frames of pictures is set according to different similarity scores, the same pictures can be quickly switched, different pictures can be slowly switched, the click feeling of a subsequently generated dynamic image cannot be caused, the playing time of the dynamic image can be reduced, and meanwhile, the comprehensive display of information is ensured; in addition, asynchronous processing of different video partitions in different short videos through multi-thread processing is further introduced in detail, so that the time for converting the short videos into dynamic pictures is shortened, the short video compression efficiency is improved, and the memory occupation is reduced.
Fig. 4 and 5 describe the short video preview apparatus in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the short video preview device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 6 is a schematic structural diagram of a short video preview device according to an embodiment of the present invention, where the short video preview device 600 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 610 (e.g., one or more processors) and a memory 620, one or more storage media 630 (e.g., one or more mass storage devices) storing applications 633 or data 632. Memory 620 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in storage medium 630 may include one or more modules (not shown), each of which may include a sequence of instruction operations for short video preview device 600. Still further, the processor 610 may be configured to communicate with the storage medium 630 to execute a series of instruction operations in the storage medium 630 on the short video preview device 600.
The short video preview device 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input-output interfaces 660, and/or one or more operating systems 631, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the short video preview device structure shown in fig. 6 does not constitute a limitation of the short video preview device and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
The present invention further provides a short video preview device, where the computer device includes a memory and a processor, and the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, cause the processor to execute the steps of the short video preview method in the foregoing embodiments.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the short video preview method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. 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: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; 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: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; 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.

Claims (10)

1. A short video preview method, the short video preview method comprising:
acquiring a target short video, and dividing the target short video into a plurality of short video partitions according to the playing duration of the target short video;
adopting a plurality of threads corresponding to the number of the short video partitions, and respectively performing frame extraction processing on each short video partition according to a preset compression ratio to obtain a multi-frame picture;
respectively storing multiple frames of pictures into preset folders corresponding to the video partitions, and respectively carrying out similarity detection on the frames of pictures in the folders to obtain similarity scores of the frames of pictures in the folders;
respectively calculating the switching time length of each frame of picture in each folder according to each similarity score, and generating a dynamic image by adopting each frame of picture in each folder according to the switching time length;
and displaying the dynamic image in a preview area in a short video platform.
2. The short video preview method of claim 1, wherein the performing frame extraction processing on each short video partition according to a preset compression ratio by using the plurality of threads corresponding to the number of the short video partitions to obtain a multi-frame picture comprises:
selecting a corresponding number of threads from a preset thread pool according to the number of the short video partitions and distributing the threads to each short video partition;
respectively analyzing the corresponding short video partitions by adopting the threads to obtain multi-frame initial pictures, and determining the extraction time interval of the initial pictures corresponding to each short video partition according to a preset compression ratio;
and respectively extracting the initial pictures corresponding to the short video partitions at intervals of the extraction time interval to obtain multi-frame pictures subjected to frame extraction processing of the short video partitions.
3. The short video preview method of claim 1, wherein the performing similarity detection on each frame of picture in each folder respectively to obtain the similarity score of each frame of picture in each folder comprises:
respectively extracting the pixel characteristics of each frame of picture in each folder, and constructing a histogram of the corresponding frame of picture according to the pixel characteristics;
sequentially calculating the intersection distance between corresponding histograms of two frames of pictures which are played in the same folder in sequence, and calculating the distance mean value between the intersection distances;
and respectively calculating the similarity score of each frame of picture in each folder by adopting a preset transformation formula according to the distance mean value.
4. The short video preview method of claim 1, wherein the generating a dynamic image by using each frame picture in each folder according to the switching duration comprises:
merging the frames of pictures in the folders according to the switching duration of the frames of pictures in the folders to obtain initial dynamic images;
and according to a preset playing speed, carrying out geometric reduction on the switching time of each frame of picture in the initial dynamic image to obtain the dynamic image.
5. The short video preview method of claim 4, wherein the merging the frames of pictures in each folder according to the switching duration of the frames of pictures in each folder to obtain the initial dynamic image comprises:
according to the switching duration of each frame of picture in the front folder and the back folder which are played in sequence, the playing interval of the picture between the front folder and the back folder is calculated;
determining the switching time length between the last frame of picture in the front folder and the first frame of picture in the rear folder according to the playing interval between the front folder and the rear folder;
and combining the last frame picture in the front folder and the first frame picture in the rear folder according to the switching time length of each frame picture in each folder to obtain an initial dynamic image.
6. The short video preview method according to any of claims 1 to 5, further comprising, after the generating a dynamic image by using each frame picture in each folder according to the switching duration, the step of:
detecting key areas of each frame of picture in the dynamic image according to the type of the target short video, and detecting reference areas corresponding to the key areas by adopting a preset image template;
and aligning the key area of each frame of picture in the dynamic image with the corresponding reference area according to the key area and the reference area, and transferring the reference area to the key area of each frame of picture in the corresponding dynamic image to obtain a new dynamic image.
7. A short video preview device, the short video preview device comprising:
the segmentation module is used for acquiring a target short video and dividing the target short video into a plurality of short video partitions according to the playing time length of the target short video;
the frame extracting module is used for adopting a plurality of threads corresponding to the number of the short video partitions, and respectively performing frame extracting processing on each short video partition according to a preset compression ratio to obtain a multi-frame picture;
the detection module is used for respectively storing multiple frames of pictures into preset folders corresponding to the video partitions and respectively detecting the similarity of the pictures in the folders to obtain similarity scores of the pictures in the folders;
the generating module is used for respectively calculating the switching time length of each frame of picture in each folder according to each similarity score, and generating a dynamic image by adopting each frame of picture in each folder according to the switching time length;
and the deployment module is used for displaying the dynamic image in a preview area in the short video platform.
8. The short video preview method of claim 7, wherein the frame extraction module comprises:
the distribution unit is used for selecting a corresponding number of threads from a preset thread pool according to the number of the short video partitions and distributing the threads to each short video partition;
the determining unit is used for respectively analyzing the corresponding short video frequency partitions by adopting the threads to obtain multi-frame initial pictures and determining the extraction time interval of the initial pictures corresponding to each short video frequency partition according to a preset compression ratio;
and the extracting unit is used for respectively extracting the initial pictures corresponding to the short video partitions at intervals of the extracting time to obtain the multi-frame pictures subjected to frame extraction processing of the short video partitions.
9. A short video preview device, characterized in that the short video preview device comprises: a memory and at least one processor, the memory having instructions stored therein;
the at least one processor invokes the instructions in the memory to cause the short video preview device to perform the short video preview method of any of claims 1-6.
10. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the short video preview method of any of claims 1-6.
CN202110720542.6A 2021-06-28 2021-06-28 Short video preview method, device, equipment and storage medium Active CN113438538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110720542.6A CN113438538B (en) 2021-06-28 2021-06-28 Short video preview method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110720542.6A CN113438538B (en) 2021-06-28 2021-06-28 Short video preview method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113438538A true CN113438538A (en) 2021-09-24
CN113438538B CN113438538B (en) 2023-02-10

Family

ID=77754995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110720542.6A Active CN113438538B (en) 2021-06-28 2021-06-28 Short video preview method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113438538B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09261570A (en) * 1996-03-19 1997-10-03 Oki Electric Ind Co Ltd Method and device for displaying summary of moving image
CN101065050A (en) * 2004-11-29 2007-10-31 奥林巴斯株式会社 Image display device
CN101600107A (en) * 2009-07-08 2009-12-09 杭州华三通信技术有限公司 Adjust the method, system and device of video record broadcasting speed
JP2011244328A (en) * 2010-05-20 2011-12-01 Canon Inc Video reproduction apparatus and video reproduction apparatus control method
CN102823265A (en) * 2010-04-09 2012-12-12 索尼公司 Content processing device, method, and program
TW201519649A (en) * 2013-11-01 2015-05-16 Alpha Networks Inc Method to accelerate history playback and event locking for network video recorder
CN104717457A (en) * 2013-12-13 2015-06-17 华为技术有限公司 Video condensing method and device
CN105376658A (en) * 2014-08-26 2016-03-02 无锡天脉聚源传媒科技有限公司 Device and method for generating video file overview
CN106686451A (en) * 2016-12-28 2017-05-17 努比亚技术有限公司 Terminal and video playing control method
CN106686452A (en) * 2016-12-29 2017-05-17 北京奇艺世纪科技有限公司 Dynamic picture generation method and device
CN108322831A (en) * 2018-02-28 2018-07-24 广东美晨通讯有限公司 video playing control method, mobile terminal and computer readable storage medium
CN109803180A (en) * 2019-03-08 2019-05-24 腾讯科技(深圳)有限公司 Video preview drawing generating method, device, computer equipment and storage medium
CN110225390A (en) * 2019-06-20 2019-09-10 广州酷狗计算机科技有限公司 Method, apparatus, terminal and the computer readable storage medium of video preview
CN110996183A (en) * 2019-07-12 2020-04-10 北京达佳互联信息技术有限公司 Video abstract generation method, device, terminal and storage medium
CN112153462A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Video processing method, device, terminal and storage medium
CN112565875A (en) * 2020-11-30 2021-03-26 北京百度网讯科技有限公司 Method, device, equipment and computer readable storage medium for automatically generating video
CN112672149A (en) * 2020-12-15 2021-04-16 广州博冠信息科技有限公司 Video processing method and device, storage medium and server

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09261570A (en) * 1996-03-19 1997-10-03 Oki Electric Ind Co Ltd Method and device for displaying summary of moving image
CN101065050A (en) * 2004-11-29 2007-10-31 奥林巴斯株式会社 Image display device
CN101600107A (en) * 2009-07-08 2009-12-09 杭州华三通信技术有限公司 Adjust the method, system and device of video record broadcasting speed
CN102823265A (en) * 2010-04-09 2012-12-12 索尼公司 Content processing device, method, and program
JP2011244328A (en) * 2010-05-20 2011-12-01 Canon Inc Video reproduction apparatus and video reproduction apparatus control method
TW201519649A (en) * 2013-11-01 2015-05-16 Alpha Networks Inc Method to accelerate history playback and event locking for network video recorder
CN104717457A (en) * 2013-12-13 2015-06-17 华为技术有限公司 Video condensing method and device
CN105376658A (en) * 2014-08-26 2016-03-02 无锡天脉聚源传媒科技有限公司 Device and method for generating video file overview
CN106686451A (en) * 2016-12-28 2017-05-17 努比亚技术有限公司 Terminal and video playing control method
CN106686452A (en) * 2016-12-29 2017-05-17 北京奇艺世纪科技有限公司 Dynamic picture generation method and device
CN108322831A (en) * 2018-02-28 2018-07-24 广东美晨通讯有限公司 video playing control method, mobile terminal and computer readable storage medium
CN109803180A (en) * 2019-03-08 2019-05-24 腾讯科技(深圳)有限公司 Video preview drawing generating method, device, computer equipment and storage medium
CN110225390A (en) * 2019-06-20 2019-09-10 广州酷狗计算机科技有限公司 Method, apparatus, terminal and the computer readable storage medium of video preview
CN112153462A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Video processing method, device, terminal and storage medium
CN110996183A (en) * 2019-07-12 2020-04-10 北京达佳互联信息技术有限公司 Video abstract generation method, device, terminal and storage medium
CN112565875A (en) * 2020-11-30 2021-03-26 北京百度网讯科技有限公司 Method, device, equipment and computer readable storage medium for automatically generating video
CN112672149A (en) * 2020-12-15 2021-04-16 广州博冠信息科技有限公司 Video processing method and device, storage medium and server

Also Published As

Publication number Publication date
CN113438538B (en) 2023-02-10

Similar Documents

Publication Publication Date Title
US10424341B2 (en) Dynamic video summarization
CN111062871A (en) Image processing method and device, computer equipment and readable storage medium
CN111464834B (en) Video frame processing method and device, computing equipment and storage medium
JP2003525504A (en) System and method for locating an object in an image using a model
US8447128B2 (en) Image processing system
US7003140B2 (en) System and method of searching for image data in a storage medium
CN104915634A (en) Image generation method based on face recognition technology and apparatus
CN109740004A (en) A kind of archiving method and device
WO2023093851A1 (en) Image cropping method and apparatus, and electronic device
WO2019112616A1 (en) Modifying digital video content
CN114222179B (en) Virtual image video synthesis method and equipment
CN113221983A (en) Training method and device for transfer learning model, and image processing method and device
CN115494987A (en) Video-based interaction method and device, computer equipment and storage medium
KR20160134883A (en) Digital actor managing method for image contents
CN112131431B (en) Data processing method, device and computer readable storage medium
CN113438538B (en) Short video preview method, device, equipment and storage medium
CN114973349A (en) Face image processing method and training method of face image processing model
CN112669244A (en) Face image enhancement method and device, computer equipment and readable storage medium
US11361189B2 (en) Image generation method and computing device
JP2018206292A (en) Video summary creation device and program
WO2018123202A1 (en) Moving-image processing device, display device, moving-image processing method, and control program
CN114627211A (en) Video business card generation method and device, computer equipment and storage medium
CN116385597B (en) Text mapping method and device
CN112686908B (en) Image processing method, information display method, electronic device and storage medium
US11974013B2 (en) Modifying digital video content

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