WO2023142913A1 - 视频处理方法、装置、可读介质及电子设备 - Google Patents
视频处理方法、装置、可读介质及电子设备 Download PDFInfo
- Publication number
- WO2023142913A1 WO2023142913A1 PCT/CN2023/070262 CN2023070262W WO2023142913A1 WO 2023142913 A1 WO2023142913 A1 WO 2023142913A1 CN 2023070262 W CN2023070262 W CN 2023070262W WO 2023142913 A1 WO2023142913 A1 WO 2023142913A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- processed
- segment
- audio
- information
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
- G11B27/036—Insert-editing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/41—Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/49—Segmenting video sequences, i.e. computational techniques such as parsing or cutting the sequence, low-level clustering or determining units such as shots or scenes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
- G06V20/62—Text, e.g. of license plates, overlay texts or captions on TV images
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/19—Recognition using electronic means
- G06V30/19007—Matching; Proximity measures
- G06V30/19093—Proximity measures, i.e. similarity or distance measures
Definitions
- the present disclosure relates to the field of computer technology, and in particular, to a video processing method, device, readable medium, and electronic equipment.
- the present disclosure provides a video processing method, the method comprising:
- the target video segment Adding the target video segment to the position before the specified video frame in the video to be processed to obtain the target video, the specified video frame being any video frame in the previous preset number of video frames in the video to be processed .
- the present disclosure provides a video processing device, the device comprising:
- An information acquisition module configured to acquire key information corresponding to the video to be processed
- a segment extraction module configured to extract one or more target video segments from the video to be processed according to the key information
- the video processing module is used to add the target video segment to the position before the specified video frame in the video to be processed to obtain the target video, and the specified video frame is a preset number of video frames in the video to be processed Any video frame in .
- the present disclosure provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processing device, the steps of the method described in the first aspect of the present disclosure are implemented.
- an electronic device including:
- a processing device configured to execute the computer program in the storage device to implement the steps of the method described in the first aspect of the present disclosure.
- the user can quickly watch the target video segment with the highest similarity with the key information of the target video, so that the user can quickly identify whether the target video meets their own needs.
- it can improve the user's choice of video
- the efficiency on the other hand, can also make the video effectively attract users in need to watch.
- Fig. 1 is a flow chart showing a video processing method according to an exemplary embodiment.
- Fig. 2 is a flow chart showing a step of S102 according to the embodiment shown in Fig. 1 .
- Fig. 3 is a block diagram of a video processing device according to an exemplary embodiment.
- Fig. 4 is a block diagram of an electronic device according to an exemplary embodiment.
- the term “comprise” and its variations are open-ended, ie “including but not limited to”.
- the term “based on” is “based at least in part on”.
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
- the present disclosure can be applied to video processing scenarios.
- various videos are continuously emerging on the Internet. Because the content and quality of different videos vary greatly, when users search for a certain type of video according to their own needs, they need to browse a large number of videos to find them. Since the video content is played in order, the key information is in the video frame during video playback. , users need to browse a complete video or a large section of video before they can identify whether a certain video meets their own needs. It cannot effectively attract users in need to watch.
- the present disclosure provides a video processing method, device, readable medium and electronic equipment, which extract one or more target video segments from the video to be processed according to the key information corresponding to the video to be processed; and
- the target video segment is added to the position before the specified video frame in the video to be processed to obtain the target video, and the specified video frame is any video frame in the previous preset number of video frames in the video to be processed.
- the user can quickly watch the target video segment with the highest similarity with the key information of the target video, so that the user can quickly identify whether the target video meets their own needs.
- it can improve the user's choice of video The efficiency; on the other hand, it can also make the video effectively attract users in need to watch.
- Fig. 1 is a video processing method shown according to an exemplary embodiment, as shown in Fig. 1, the method includes:
- Step 101 Obtain key information corresponding to the video to be processed.
- the key information may be the selling point information of the product introduced by the video to be processed; if the video to be processed is a popular science video, the key information may be the The knowledge point information of the popular science knowledge introduced in the video.
- the video title of the video to be processed can be used as the key information, or the information input by the user for the video to be processed can be used as the key information, or the preset hot words can be used as the key information.
- the combination of the above video title, user input information and hot words can also be used as key information.
- Step 102 extract one or more target video clips from the video to be processed according to the key information.
- the similarity between each video frame of the video to be processed and the above key information may be calculated, and one or more target video clips may be obtained by combining the top N video frames with the highest similarity.
- Step 103 Add the target video segment to the position before the specified video frame in the video to be processed to obtain the target video.
- the specified video frame may be any video frame in the previous preset number of video frames in the video to be processed.
- the preset number can be a fixed value, such as 10 or 20; the preset number can also be a value determined according to the total number of video frames of the video to be processed, for example, the preset number can be five of the total number of video frames of the video to be processed One-tenth or one-tenth.
- the first frame of the video to be processed can be used as the specified video frame, so that the target video segment can be added to the front of the video to be processed.
- the video frame after the title frame can be used as the specified video frame, so that the target video segment can be added after the title frame and before the content frame of the video to be processed.
- the specified video frame is any video frame in the previous preset number of video frames in the video to be processed.
- FIG. 2 is a flow chart of a step S102 according to the embodiment shown in FIG. 1. As shown in FIG. 2, the above step 102 may include the following steps:
- Step 1021 according to the image information and audio information of the video to be processed, obtain one or more candidate video segments of the video to be processed.
- the candidate video segment includes a complete segment of semantic information in the video to be processed.
- the video to be processed can be segmented according to the image similarity between images of adjacent video frames and the audio similarity between audio frames corresponding to adjacent video frames to obtain one or more candidate video segments.
- adjacent video frames whose image similarity is less than or equal to the first preset image similarity threshold and whose audio similarity is less than or equal to the first preset audio similarity threshold can be used as segmentation frames, and the video to be processed is segmented according to a plurality of segmentation frames, Get one or more candidate video clips.
- Step 1022 obtaining the similarity between each candidate video segment and key information.
- Step 1023 taking one or more candidate video segments with the highest similarity as the target video segment.
- the similarity between each candidate video segment and key information can be determined through a pre-trained video analysis model, and the one or a preset number of candidate video segments with the highest similarity can be used as target video segments according to the similarity sorting results.
- video clips including complete semantic information can be obtained, avoiding the truncated semantic information in the video clips and making it impossible to display complete semantic information to the user, and through similarity comparison, one or more candidates with the highest similarity to key information
- the video segment is used as the target video segment, so that the target video segment can completely and accurately display the key information of the video to be processed.
- the above step 1021 may also obtain one or more candidate video segments of the video to be processed in the following manner:
- each of the pending video segments includes one or more frames of images.
- the image text in each frame image of the video to be processed may be obtained; the text similarity of the image text between adjacent frame images is calculated; and the undetermined video segment is determined according to the text similarity.
- OCR Optical Character Recognition, optical character recognition
- the pending text can be used as image text, or can be filtered out according to the text area of each pending text
- the pending text whose text area is smaller than or equal to the preset area can be used as the invalid small text, and the other texts in the pending text except the invalid small text can be used as the above image text.
- the undetermined text whose text area is larger than the preset area can also be directly used as the above-mentioned image text.
- OCR refers to the process of determining the shape of characters by detecting dark and bright patterns, and then using character recognition methods to translate the shape of characters into text.
- noise removal can be performed on each frame of image , tilt correction, character cutting and other preprocessing processes, after preprocessing, character recognition is performed to obtain the above-mentioned undetermined text.
- the video to be processed can be segmented according to the text similarity of the image text corresponding to adjacent video frames, and one or more video segments to be determined can be obtained.
- adjacent video frames whose image similarity is less than or equal to a second preset image similarity threshold may be used as segmented frames, and the video to be processed is segmented according to the plurality of segmented frames to obtain one or more undetermined video segments.
- video frames with the same or similar image text can be divided into one undetermined video segment, so that each undetermined video segment has the same or similar semantics.
- the audio text corresponding to the audio information may be acquired; sentence segmentation inference is performed on the audio text to obtain sentence segmentation information in the audio text; and one or more pending audio segments are determined according to the sentence segmentation information.
- ASR Automatic Speech Recognition, automatic speech recognition technology
- sentence segmentation can be inferred based on audio text and timestamps, for example, to obtain the time difference between adjacent text characters, and use two adjacent text characters with a time difference greater than the preset time threshold as sentence segmentation characters, and then according to the semantics before and after the sentence segmentation characters
- sentence break punctuation and the position information of the sentence break punctuation may be used as the above sentence break punctuation; the audio between two sentence break punctuation is used as the audio segment to be determined.
- the acquisition of the above-mentioned sentence segmentation characters and sentence segmentation punctuation can also be obtained by processing the audio text through a pre-trained text segmentation model.
- the structure and training method of the text segmentation model can refer to the implementation methods in the prior art. This disclosure does not limit this.
- the candidate video segment can be obtained by correcting the pending audio segment and the pending video segment in the following manner:
- the corresponding relationship between the undetermined audio segment and the undetermined video segment may be determined according to the text similarity between the audio text corresponding to the undetermined audio segment and the image text corresponding to the undetermined video segment.
- the pending audio segments are sorted according to the text similarity, and the pending audio segment with the highest text similarity is taken as the pending audio segment corresponding to the pending video segment.
- the time coincidence degree is calculated according to the start and end times of the undetermined audio segment and the pending video segment in the video to be processed, and for each video to be processed, the pending audio segment with the highest time coincidence degree is used as the corresponding to the undetermined video segment Pending audio clips for .
- integrity correction may be performed on the undetermined video segment according to the undetermined audio segment corresponding to the undetermined video segment to obtain a candidate video segment.
- an integrity correction operation may be performed on the pending video segment according to the time information of the pending audio segment, and the integrity correction operation may include correcting the start and end time of the video segment or merging adjacent video segments.
- the time of the first pending video segment is between the 15th second and the 20th second after the video starts playing, if the time of the first pending audio segment corresponding to the first pending video segment is the first pending audio segment after the video starts playing 15 seconds to the 21st second, then the time of the first pending video segment can be corrected to the 15th second to the 20th second.
- the second undetermined video segment adjacent to the first undetermined video segment can also be modified, for example, the time of the second undetermined video segment is corrected from "the 21st second to the 30th second" to "Second 22 to Second 30"
- the time of the first pending video segment is between the 15th second and the 20th second after the video starts playing
- the time of the second pending video segment adjacent to it is between the 21st second and the 25th second after the video starts playing
- the second pending video segment can be combined with the The first pending video segment is merged into a new first pending video segment.
- correcting the integrity of the video segment through the audio information can enable the obtained candidate video segment to display complete semantics, avoiding that the semantics in the candidate video segment are truncated and cannot display complete semantic information to the user.
- the above step 103 adds the target video segment to the position before the specified video frame in the video to be processed, and the method for obtaining the target video may include:
- the target video segment is updated according to preset description information.
- the preset description information is used to characterize the key information of the target video segment corresponding to the video to be processed.
- the preset description information may be the text "Video Introduction”, and the text is added to each video frame of the target video segment, so as to remind the user that the video frame is the introduction part of the video, not the main content of the video.
- the updated target video segment is added to the position before the specified video frame in the video to be processed to obtain the target video.
- the user can distinguish the target video segment displaying the key information from the main content of the video, so as to prevent the user from being unable to understand the video information due to video content jumping.
- Fig. 3 is a block diagram of a video processing device according to an exemplary embodiment. As shown in Figure 3, the video processing device includes:
- An information acquisition module 301 configured to acquire key information corresponding to the video to be processed
- the video processing module 303 is used to add the target video segment to the position before the specified video frame in the video to be processed to obtain the target video, and the specified video frame is a preset number of videos in the video to be processed Any video frame in the frame.
- the segment extraction module 302 is configured to obtain one or more candidate video segments of the video to be processed according to image information and audio information of the video to be processed; wherein, the candidate video segments include the Describe a complete semantic information in the video to be processed; obtain the similarity between each candidate video segment and the key information; use one or more candidate video segments with the highest similarity as the target video segment.
- the segment extraction module 302 is configured to acquire one or more pending video segments of the video to be processed according to the image information, each of the pending video segments includes one or more frames of images; Acquire one or more pending audio segments of the video to be processed according to the audio information; determine the candidate video segment according to the pending video segment and the pending audio segment.
- the segment extraction module 302 is configured to obtain the image text in each frame image of the video to be processed; calculate the text similarity of the image text between adjacent frame images; according to the text similarity, The pending video segment is determined.
- the segment extraction module 302 is configured to obtain the audio text corresponding to the audio information; perform sentence segmentation inference on the audio text, and obtain sentence segmentation information in the audio text; according to the sentence segmentation information, One or more of the pending audio segments are determined.
- the segment extraction module 302 is configured to determine the correspondence between pending audio segments and pending video segments; for each pending video segment, according to the pending audio segment corresponding to the pending video segment, the pending video segment Integrity correction is performed on the fragments to obtain candidate video fragments.
- the video processing module 303 is configured to update the target video segment according to preset description information; the preset description information is used to characterize key information of the target video segment corresponding to the video to be processed ; Add the updated target video segment to the position before the specified video frame in the video to be processed to obtain the target video.
- FIG. 4 it shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 900 suitable for implementing an embodiment of the present disclosure.
- the terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like.
- the electronic device shown in FIG. 4 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
- an electronic device 900 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 901, which may be randomly accessed according to a program stored in a read-only memory (ROM) 902 or loaded from a storage device 908.
- a processing device such as a central processing unit, a graphics processing unit, etc.
- RAM random access memory
- Various appropriate actions and processes are executed by programs in the memory (RAM) 903 .
- RAM 903 In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are also stored.
- the processing device 901 , ROM 902 , and RAM 903 are connected to each other via a bus 904 .
- An input/output (I/O) interface 905 is also connected to the bus 904 .
- the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration an output device 907 such as a computer; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909.
- the communication means 909 may allow the electronic device 900 to perform wireless or wired communication with other devices to exchange data. While FIG. 4 shows electronic device 900 having various means, it should be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
- the computer program may be downloaded and installed from a network via communication means 909 , or from storage means 908 , or from ROM 902 .
- the processing device 901 When the computer program is executed by the processing device 901, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
- a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
- Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
- the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium
- HTTP HyperText Transfer Protocol
- the communication eg, communication network
- Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains key information corresponding to the video to be processed; according to the key information, from the Extracting one or more target video segments from the video to be processed; adding the target video segment to the position before the specified video frame in the video to be processed to obtain the target video, and the specified video frame is in the video to be processed Any one of the previous preset number of video frames.
- Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as "C" or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connected via the Internet).
- LAN local area network
- WAN wide area network
- Internet service provider for example, using an Internet service provider to connected via the Internet.
- each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
- the modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware.
- the name of the module does not constitute a limitation of the module itself under certain circumstances, for example, the information acquisition module can also be described as "a module for acquiring key information corresponding to the video to be processed".
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSPs Application Specific Standard Products
- SOCs System on Chips
- CPLD Complex Programmable Logical device
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
- a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM compact disk read only memory
- magnetic storage or any suitable combination of the foregoing.
- Example 1 provides a video processing method, the method comprising:
- the target video segment Adding the target video segment to the position before the specified video frame in the video to be processed to obtain the target video, the specified video frame being any video frame in the previous preset number of video frames in the video to be processed .
- Example 2 provides the method described in Example 1, wherein extracting one or more target video segments from the video to be processed according to the key information includes:
- One or more candidate video segments with the highest similarity are used as the target video segment.
- Example 3 provides the method described in Example 2, the acquisition of one or more candidate video segments of the video to be processed according to the image information and audio information of the video to be processed includes :
- each of the undetermined video segments includes one or more frames of images
- the candidate video segment is determined according to the pending video segment and the pending audio segment.
- Example 4 provides the method described in Example 3, wherein the acquiring one or more pending video segments of the video to be processed according to the image information includes:
- Example 5 provides the method described in Example 3, wherein the acquiring one or more pending audio segments of the video to be processed according to the audio information includes:
- Example 6 provides the method described in Example 3, wherein determining the candidate video segment according to the pending video segment and the pending audio segment includes:
- the integrity correction is performed on the undetermined video segment to obtain a candidate video segment.
- Example 7 provides the method described in any one of Examples 1 to 6, wherein the target video segment is added to the position before the specified video frame in the video to be processed , get the target video including:
- the preset description information is used to characterize key information of the target video segment corresponding to the video to be processed;
- the updated target video segment is added to the position before the specified video frame in the video to be processed to obtain the target video.
- Example 8 provides a video processing device, the device comprising:
- An information acquisition module configured to acquire key information corresponding to the video to be processed
- a segment extraction module configured to extract one or more target video segments from the video to be processed according to the key information
- the video processing module is used to add the target video segment to the position before the specified video frame in the video to be processed to obtain the target video, and the specified video frame is a preset number of video frames in the video to be processed Any video frame in .
- Example 9 provides the device described in Example 8, the segment extraction module is configured to acquire one or more of the video to be processed according to the image information and audio information of the video to be processed.
- a plurality of candidate video clips wherein, the candidate video clips include a complete piece of semantic information in the video to be processed; obtain the similarity between each candidate video clip and the key information; the one with the highest similarity or multiple candidate video segments as the target video segment.
- Example 10 provides the device described in Example 9, the segment extraction module is configured to acquire one or more pending video segments of the video to be processed according to the image information, Each of the undetermined video clips includes one or more frames of images; one or more pending audio clips of the video to be processed are obtained according to the audio information; according to the pending video clips and the pending audio clips, determine the Describe candidate video segments.
- Example 11 provides the device described in Example 10, the segment extraction module is used to obtain the image text in each frame image of the video to be processed; The text similarity of the image text; according to the text similarity, determine the undetermined video segment.
- Example 12 provides the device described in Example 10, the segment extraction module is configured to obtain the audio text corresponding to the audio information; perform sentence inference on the audio text, and obtain Sentence information in the audio text; according to the sentence information, determine one or more audio segments to be determined.
- Example 13 provides the device described in Example 10, the segment extraction module is used to determine the correspondence between pending audio segments and pending video segments; for each pending video segment, according to Integrity correction is performed on the undetermined audio segment corresponding to the undetermined video segment to obtain a candidate video segment.
- Example 14 provides the device described in any one of Examples 8 to 13, the video processing module is configured to update the target video segment according to preset description information; the The preset description information is used to characterize the key information of the target video segment corresponding to the video to be processed; the updated target video segment is added to the position before the specified video frame in the video to be processed to obtain the target video.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
Claims (10)
- 一种视频处理方法,其中,所述方法包括:获取待处理视频对应的关键信息;根据所述关键信息,从所述待处理视频中提取一个或多个目标视频片段;将所述目标视频片段添加至所述待处理视频中指定视频帧之前的位置,得到目标视频,所述指定视频帧为所述待处理视频中前预设数量个视频帧中的任一视频帧。
- 根据权利要求1所述的方法,其中,所述根据所述关键信息,从所述待处理视频中提取一个或多个目标视频片段包括:根据待处理视频的图像信息和音频信息,获取所述待处理视频的一个或多个候选视频片段;其中,所述候选视频片段包括所述待处理视频中的一段完整的语义信息;获取每个候选视频片段与所述关键信息的相似度;将所述相似度最高的一个或多个候选视频片段作为所述目标视频片段。
- 根据权利要求2所述的方法,其中,所述根据待处理视频的图像信息和音频信息,获取所述待处理视频的一个或多个候选视频片段包括:根据所述图像信息获取所述待处理视频的一个或多个待定视频片段,每个所述待定视频片段包括一帧或多帧图像;根据所述音频信息获取所述待处理视频的一个或多个待定音频片段;根据所述待定视频片段和所述待定音频片段,确定所述候选视频片段。
- 根据权利要求3所述的方法,其中,所述根据所述图像信息获取所述待处理视频的一个或多个待定视频片段包括:获取待处理视频的每帧图像中的图像文本;计算相邻帧图像之间的图像文本的文本相似度;根据所述文本相似度,确定所述待定视频片段。
- 根据权利要求3所述的方法,其中,所述根据所述音频信息获取所述待处理视频的一个或多个待定音频片段包括:获取所述音频信息对应的音频文本;对所述音频文本进行断句推断,获取所述音频文本中的断句信息;根据所述断句信息,确定一个或多个所述待定音频片段。
- 根据权利要求3所述的方法,其中,所述根据所述待定视频片段和所述待定音频片段,确定所述候选视频片段包括:确定待定音频片段与待定视频片段的对应关系;针对每个待定视频片段,根据与该待定视频片段对应的待定音频片段,对该待定视频片段进行完整性修正,得到候选视频片段。
- 根据权利要求1至6中任一项所述的方法,其中,所述将所述目标视频片段添加至所述待处理视频中指定视频帧之前的位置,得到目标视频包括:根据预设描述信息更新所述目标视频片段;所述预设描述信息用于表征所述目标视频片段对应所述待处理视频的关键信息;将更新后的目标视频片段添加至所述待处理视频中指定视频帧之前的位置,得到目标视频。
- 一种视频处理装置,其中,所述装置包括:信息获取模块,用于获取待处理视频对应的关键信息;片段提取模块,用于根据所述关键信息,从所述待处理视频中提取一个或多个目标视频片段;视频处理模块,用于将所述目标视频片段添加至所述待处理视频中指定视频帧之前的位置,得到目标视频,所述指定视频帧为所述待处理视频中前预设数量个视频帧中的任一视频帧。
- 一种计算机可读介质,其上存储有计算机程序,其中,该程序被处理装置执行时实现权利要求1至7中任一项所述方法的步骤。
- 一种电子设备,其包括:存储装置,其上存储有计算机程序;处理装置,用于执行所述存储装置中的所述计算机程序,以实现权利要求1至7中任一项所述方法的步骤。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/832,049 US20250118338A1 (en) | 2022-01-29 | 2023-01-04 | Methods, devices, readable media and electronic devices for video processing |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210113116.0 | 2022-01-29 | ||
| CN202210113116.0A CN114445754A (zh) | 2022-01-29 | 2022-01-29 | 视频处理方法、装置、可读介质及电子设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023142913A1 true WO2023142913A1 (zh) | 2023-08-03 |
Family
ID=81371989
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/070262 Ceased WO2023142913A1 (zh) | 2022-01-29 | 2023-01-04 | 视频处理方法、装置、可读介质及电子设备 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20250118338A1 (zh) |
| CN (1) | CN114445754A (zh) |
| WO (1) | WO2023142913A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20240078807A1 (en) * | 2022-09-01 | 2024-03-07 | Douyin Vision Co., Ltd. | Method, apparatus,electronic device and storage medium for video processing |
| CN118590625A (zh) * | 2024-08-07 | 2024-09-03 | 宁德时代新能源科技股份有限公司 | 监控处理方法、装置、计算机设备、存储介质和程序产品 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114445754A (zh) * | 2022-01-29 | 2022-05-06 | 北京有竹居网络技术有限公司 | 视频处理方法、装置、可读介质及电子设备 |
| CN115881295B (zh) * | 2022-12-06 | 2024-01-23 | 首都医科大学附属北京天坛医院 | 帕金森症状信息检测方法、装置、设备和计算机可读介质 |
| CN116030380A (zh) * | 2022-12-15 | 2023-04-28 | 青岛云天励飞科技有限公司 | 视频处理方法、装置、电子设备及存储介质 |
| CN116112743B (zh) * | 2023-02-01 | 2025-09-19 | 北京有竹居网络技术有限公司 | 视频处理的方法、装置、设备和存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160070962A1 (en) * | 2014-09-08 | 2016-03-10 | Google Inc. | Selecting and Presenting Representative Frames for Video Previews |
| CN113536036A (zh) * | 2021-01-07 | 2021-10-22 | 腾讯科技(深圳)有限公司 | 视频数据显示方法、装置、电子设备及存储介质 |
| CN114445754A (zh) * | 2022-01-29 | 2022-05-06 | 北京有竹居网络技术有限公司 | 视频处理方法、装置、可读介质及电子设备 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104540044B (zh) * | 2014-12-30 | 2017-10-24 | 北京奇艺世纪科技有限公司 | 一种视频分段方法及装置 |
| CN113672765A (zh) * | 2020-05-14 | 2021-11-19 | 华为技术有限公司 | 一种视频处理方法、装置、设备及介质 |
| CN111757170B (zh) * | 2020-07-01 | 2022-09-23 | 三星电子(中国)研发中心 | 一种视频分段和标记的方法及装置 |
-
2022
- 2022-01-29 CN CN202210113116.0A patent/CN114445754A/zh active Pending
-
2023
- 2023-01-04 WO PCT/CN2023/070262 patent/WO2023142913A1/zh not_active Ceased
- 2023-01-04 US US18/832,049 patent/US20250118338A1/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160070962A1 (en) * | 2014-09-08 | 2016-03-10 | Google Inc. | Selecting and Presenting Representative Frames for Video Previews |
| CN113536036A (zh) * | 2021-01-07 | 2021-10-22 | 腾讯科技(深圳)有限公司 | 视频数据显示方法、装置、电子设备及存储介质 |
| CN114445754A (zh) * | 2022-01-29 | 2022-05-06 | 北京有竹居网络技术有限公司 | 视频处理方法、装置、可读介质及电子设备 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20240078807A1 (en) * | 2022-09-01 | 2024-03-07 | Douyin Vision Co., Ltd. | Method, apparatus,electronic device and storage medium for video processing |
| CN118590625A (zh) * | 2024-08-07 | 2024-09-03 | 宁德时代新能源科技股份有限公司 | 监控处理方法、装置、计算机设备、存储介质和程序产品 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114445754A (zh) | 2022-05-06 |
| US20250118338A1 (en) | 2025-04-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023142913A1 (zh) | 视频处理方法、装置、可读介质及电子设备 | |
| CN110969012B (zh) | 文本纠错方法、装置、存储介质及电子设备 | |
| WO2022252881A1 (zh) | 图像处理方法、装置、可读介质和电子设备 | |
| WO2022247562A1 (zh) | 多模态数据检索方法、装置、介质及电子设备 | |
| WO2023083142A1 (zh) | 分句方法、装置、存储介质及电子设备 | |
| CN115052188B (zh) | 一种视频剪辑方法、装置、设备及介质 | |
| CN112364829B (zh) | 一种人脸识别方法、装置、设备及存储介质 | |
| WO2022161122A1 (zh) | 一种会议纪要的处理方法、装置、设备及介质 | |
| WO2023279843A1 (zh) | 内容搜索方法、装置、设备和存储介质 | |
| CN114697761B (zh) | 一种处理方法、装置、终端设备及介质 | |
| CN112287206A (zh) | 信息处理方法、装置和电子设备 | |
| CN114697760A (zh) | 一种处理方法、装置、电子设备及介质 | |
| WO2022037419A1 (zh) | 音频内容识别方法、装置、设备和计算机可读介质 | |
| WO2023000782A1 (zh) | 获取视频热点的方法、装置、可读介质和电子设备 | |
| CN111767431A (zh) | 用于视频配乐的方法和装置 | |
| CN113486212A (zh) | 搜索推荐信息的生成和展示方法、装置、设备及存储介质 | |
| CN114780792A (zh) | 一种视频摘要生成方法、装置、设备及介质 | |
| CN114880458A (zh) | 书籍推荐信息的生成方法、装置、设备及介质 | |
| CN113033707B (zh) | 视频分类方法、装置、可读介质及电子设备 | |
| CN115328362A (zh) | 书籍信息显示方法、装置、设备和存储介质 | |
| CN114697763B (zh) | 一种视频处理方法、装置、电子设备及介质 | |
| WO2023195914A2 (zh) | 处理方法、装置、终端设备及介质 | |
| CN114117127B (zh) | 视频生成方法、装置、可读介质及电子设备 | |
| WO2023130925A1 (zh) | 字体识别方法、装置、可读介质及电子设备 | |
| CN115240711B (zh) | 音频质量分析方法、装置、电子设备及计算机可读存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23745798 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18832049 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23745798 Country of ref document: EP Kind code of ref document: A1 |
|
| WWP | Wipo information: published in national office |
Ref document number: 18832049 Country of ref document: US |