WO2025119280A1 - 视频处理方法、装置、设备、计算机可读存储介质及产品 - Google Patents

视频处理方法、装置、设备、计算机可读存储介质及产品 Download PDF

Info

Publication number
WO2025119280A1
WO2025119280A1 PCT/CN2024/137116 CN2024137116W WO2025119280A1 WO 2025119280 A1 WO2025119280 A1 WO 2025119280A1 CN 2024137116 W CN2024137116 W CN 2024137116W WO 2025119280 A1 WO2025119280 A1 WO 2025119280A1
Authority
WO
WIPO (PCT)
Prior art keywords
video frame
video
frame
repaired
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/137116
Other languages
English (en)
French (fr)
Inventor
章琪
董航
陈凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Publication of WO2025119280A1 publication Critical patent/WO2025119280A1/zh
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream

Definitions

  • the embodiments of the present disclosure relate to a video processing method, apparatus, device, computer-readable storage medium, and product.
  • old video works may often have scratches, frame loss, discoloration and other problems when played with current playback tools, affecting the viewing experience of the video works. Therefore, how to repair the defects of old video works and present better visual effects has become an urgent problem to be solved.
  • the embodiments of the present disclosure provide a video processing method, apparatus, device, computer-readable storage medium and product for solving the technical problems of scratches, frame loss and discoloration in old videos.
  • an embodiment of the present disclosure provides a video processing method, including:
  • an embodiment of the present disclosure provides a video processing device, including:
  • An acquisition module used to acquire a video to be processed, and identify at least one defect to be repaired corresponding to a current video frame in the video to be processed;
  • a determination module configured to determine motion information corresponding to the current video frame according to the current video frame and at least one associated video frame corresponding to the current video frame;
  • a repair module configured to perform a repair operation on at least one defect to be repaired corresponding to the current video frame based on the motion information, to obtain a repaired first video frame
  • the processing module is used to perform visual effect restoration on the first video frame according to a preset restoration algorithm to obtain a target video frame, and to obtain a restored target video based on at least one target video frame.
  • an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;
  • the memory stores computer-executable instructions
  • the processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the video processing method as described in the first aspect and various possible designs of the first aspect.
  • an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored.
  • a processor executes the computer execution instructions, the video processing method described in the first aspect and various possible designs of the first aspect is implemented.
  • an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the video processing method as described in the first aspect and various possible designs of the first aspect.
  • FIG1 is a schematic diagram of a flow chart of a video processing method provided by an embodiment of the present disclosure
  • FIG2 is a schematic diagram of video frame restoration provided by an embodiment of the present disclosure.
  • FIG3 is a schematic diagram of a flow chart of a video processing method provided by yet another embodiment of the present disclosure.
  • FIG4 is a schematic diagram of a flow chart of a video processing method provided by yet another embodiment of the present disclosure.
  • FIG5 is a schematic diagram of a flow chart of a video processing method provided by yet another embodiment of the present disclosure.
  • FIG6 is a schematic diagram of the structure of a video processing device provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.
  • a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information.
  • the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
  • the prompt information in response to receiving an active request from the user, may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form.
  • the pop-up window may also carry a selection control for the user to choose "agree” or “disagree” to provide personal information to the electronic device.
  • the present disclosure provides a video processing method, device, equipment, computer-readable storage medium and product.
  • video processing method, apparatus, device, computer-readable storage medium and product provided by the present disclosure can be applied in any video restoration scenario.
  • the inventors found through research that in order to ensure the restoration effect of old movies, the scratches and noise corresponding to each video frame can be repaired based on the optical flow information corresponding to the video frame. In addition, the color and resolution of each video frame can be repaired to improve the visual effect of the video frame. In order to improve the smoothness of the restored target video, the video part with a lower frame rate can also be inserted. In this way, the old movie can be restored in all aspects and the video quality of the restored target video can be improved.
  • the system architecture based on the present disclosure includes at least a terminal device and a server.
  • the terminal device is connected to the server in communication, so that the server can obtain a repair request sent by the terminal device, and obtain a video to be processed based on the repair request.
  • the defects, color, resolution, frame rate, etc. of the video to be processed are repaired based on at least one preset repair algorithm to improve the video quality of the repaired target video.
  • FIG. 1 is a flow chart of a video processing method provided by an embodiment of the present disclosure. As shown in FIG. 1 , the method includes:
  • Step 101 Obtain a video to be processed, and identify at least one defect to be repaired corresponding to a current video frame in the video to be processed.
  • the execution subject of this embodiment is a video processing device.
  • the video processing device can be coupled to a server.
  • the server can be connected to a terminal device for communication.
  • a repair request sent by the terminal device can be obtained, and a video to be processed can be obtained based on the repair request.
  • Repair operations are performed on defects, colors, resolutions, and frame rates of the video to be processed to improve the video quality of the repaired target video.
  • the video processing device may be coupled to a terminal device, and a plurality of repair algorithms may be pre-set in the terminal device.
  • the video to be processed may be obtained in response to a video repair request triggered by a user on the terminal device. Repair operations are performed on the defects, color, resolution, frame rate, etc. of the video to be processed to improve the video quality of the repaired target video.
  • the video processing device may obtain the video repair request, and obtain the video to be processed based on the video repair request.
  • the video to be processed may be obtained by the user from a preset storage path.
  • each video frame in the video to be processed may be determined as the current video frame in turn, and at least one defect to be repaired corresponding to the current video frame may be identified, wherein the defect to be repaired includes but is not limited to scratch defects, noise defects, etc.
  • Step 102 Determine motion information corresponding to the current video frame according to the current video frame and at least one associated video frame corresponding to the current video frame.
  • the motion information corresponding to the current video frame can be determined according to the current video frame and at least one associated video frame corresponding to the current video frame.
  • the motion information includes but is not limited to any information that can characterize the motion of the displayed content in the current video frame, such as optical flow information.
  • the current video frame may be repaired based on the associated video frame.
  • the position in the associated video frame that matches the defect of the current video frame can be determined based on the motion information, and then the scratch repair operation can be performed on the current video frame based on the display content in the associated video frame, thereby improving the accuracy of video repair.
  • Step 103 Perform a repair operation on at least one defect to be repaired corresponding to the current video frame based on the motion information to obtain a repaired first video frame.
  • a repair operation can be performed on at least one defect to be repaired corresponding to the current video frame based on the motion information to obtain a repaired first video frame.
  • a defect repair model can be pre-set, and the repair operation on the current video frame is implemented through the defect repair model.
  • Step 104 Perform visual effect restoration on the first video frame according to a preset restoration algorithm to obtain a target video frame, and obtain a restored target video based on at least one target video frame.
  • visual effect restoration may be performed on the first video frame to obtain a target video frame, wherein the visual effect restoration includes but is not limited to color restoration, resolution restoration and other operations.
  • FIG2 is a schematic diagram of video frame repair provided by an embodiment of the present disclosure. As shown in FIG2 , there is at least one scratch 22 in a video frame 21. After acquiring the video frame 21, the at least one scratch 22 can be repaired based on the motion information corresponding to the video frame 21 to obtain a repaired first video frame 23. Furthermore, the color and resolution of the first video frame 23 can be adjusted to obtain a target video frame 24.
  • the video processing method provided in this embodiment improves the accuracy of defect repair by performing defect repair on the video to be processed based on the motion information corresponding to the current video frame after obtaining the video to be processed, so as to accurately perform defect repair operations based on the motion trend of the content body in the current video frame.
  • the visual effect of the first video frame can also be repaired, so that on the basis of achieving defect repair, the repaired target video can present a better visual effect and improve the video quality of the repaired target video.
  • Step 101 includes:
  • the current video frame is input into a preset defect recognition model to obtain a recognition result output by the defect recognition model, wherein the recognition result includes position information of a scratch defect and/or a noise defect.
  • the identification result is determined as the at least one defect to be repaired.
  • the defects to be repaired include but are not limited to scratch defects and noise defects.
  • a defect recognition model can be preset.
  • the defect recognition model can be obtained by iterative training based on a large amount of training data in advance.
  • the training data can include multiple training data pairs, each of which includes an image with at least one scratch and/or noise, and an image without scratches and/or noise.
  • the preset model to be trained can be iteratively trained by the training data until it meets the preset convergence condition to obtain the defect recognition model. Therefore, the defect recognition model can accurately realize the recognition operation of scratch and/or noise defects.
  • each video frame can be determined as the current video frame in turn, and the current video frame can be input into the preset defect recognition model to obtain the recognition result output by the defect recognition model, wherein the recognition result includes the location information of the scratch defect and/or the noise defect.
  • the recognition result is determined as at least one defect to be repaired.
  • the video processing method provided in this embodiment pre-sets a defect recognition model, so that after acquiring the current video frame, it can accurately identify scratches and/or noise in the current video frame based on the defect recognition model, and then can accurately perform video repair operations based on the recognition results, thereby improving the accuracy of video repair.
  • FIG3 is a flow chart of a video processing method provided by another embodiment of the present disclosure. Based on any of the above embodiments, as shown in FIG3 , step 102 includes:
  • Step 301 According to the timestamp information corresponding to the video frames in the video to be processed, at least one video frame before the current video frame and at least one video frame after the current video frame are determined as the associated video frames.
  • Step 302 Calculate optical flow information corresponding to the current video frame based on the current video frame and the at least one associated video frame, and determine the optical flow information as the motion information.
  • each video frame corresponds to timestamp information. Therefore, at least one video frame before the current video frame and at least one video frame after the current video frame can be determined as associated video frames based on the timestamp information. And based on the current video frame and at least one associated video frame, the optical flow information corresponding to the current video frame is calculated, and the optical flow information is determined as motion information.
  • any optical flow algorithm can be used to realize the calculation of the optical flow information, and the present disclosure does not limit this.
  • the video processing method provided in this embodiment calculates optical flow information based on the current video frame and at least one video frame before and at least one video frame after the current video frame, so as to accurately determine the motion information of the displayed content in the current video frame based on the optical flow information. Furthermore, the position matching the defect of the current video frame in the associated video frame can be determined based on the optical flow information, and the scratch repair operation can be performed on the current video frame based on the displayed content in the associated video frame, thereby improving the accuracy of video repair.
  • step 103 includes:
  • the aligned multiple video frames are input into a preset defect repair model to obtain the first video frame.
  • a defect repair model in order to implement the defect repair operation on the current video frame, can be preset.
  • the defect repair model can be obtained by iterative training based on preset training data until the model converges.
  • the training data can include multiple training data pairs, each of which includes multiple aligned video frames with defects and multiple aligned video frames without defects. By iterative training based on the training data, the defect repair model can accurately implement the defect repair operation.
  • the current video frame and at least one associated video frame can be aligned based on the optical flow information to obtain multiple aligned video frames, so that the content/objects in the aligned multiple video frames are in the same position.
  • the aligned multiple video frames can be input into a preset defect repair model, and the defect repair model can implement a defect repair operation to obtain a first video frame that does not include defects.
  • the video processing method provided in this embodiment can accurately perform repair operations on multiple aligned video frames based on the defect repair model by presetting the defect repair model, thereby improving the efficiency and accuracy of video repair.
  • FIG4 is a flow chart of a video processing method provided by another embodiment of the present disclosure. Based on any of the above embodiments, as shown in FIG4 , step 104 includes:
  • Step 401 Perform a color restoration operation on the first video frame to obtain a second video frame after color adjustment.
  • Step 402 Perform a resolution adjustment operation on the second video frame to obtain the target video frame.
  • the color and resolution corresponding to the video to be processed may also be repaired.
  • a color restoration operation can be performed on the first video frame to obtain a second video frame after color adjustment.
  • the second video frame can present a better quality and more beautiful color effect.
  • a resolution adjustment operation can be performed on the second video frame, so that a clear and beautifully colored target video frame can be obtained.
  • the video processing method provided in this embodiment performs a color restoration operation on the first video frame and a resolution adjustment operation on the second video frame after color restoration, so as to obtain a target video frame with beautiful colors and high resolution, thereby improving the visual effect of the target video.
  • step 401 includes:
  • the video to be processed is a color video
  • the color parameters corresponding to the first video frame are identified, and a color adjustment operation is performed on the first video frame according to the color parameters and a preset color adjustment algorithm to obtain the second video frame.
  • the repaired video frame is input into a preset coloring model to obtain a color video frame, the color parameters corresponding to the color video frame are identified, and the color adjustment operation is performed on the color video frame according to the color parameters and a preset color adjustment algorithm to obtain the second video frame.
  • the video to be processed may be a color video or a black-and-white video.
  • different color restoration methods may be used to perform restoration operations on the video to be processed.
  • the video to be processed when the video to be processed is a color video, the video to be processed may fade over time, resulting in poor visual effects of the video to be processed. Therefore, the color parameters corresponding to the first video frame can be identified, wherein the color parameters include but are not limited to parameters such as color, saturation, contrast, brightness, and light perception.
  • the first video frame can be color adjusted according to the color parameters and a preset color adjustment algorithm to obtain a second video frame.
  • the color adjustment algorithm can be a color adjustment model pre-trained based on a large amount of training data.
  • multiple groups of more aesthetically pleasing color matching information can be pre-set. After identifying the color information corresponding to the first video frame, the target color matching information closest to the color information can be determined in the preset color matching information, and the color adjustment operation can be performed on the first video frame based on the target color matching information.
  • the present disclosure does not impose any restrictions on this.
  • the black and white video to be processed can be firstly colorized. Then the color restoration operation can be performed on the color video to be processed.
  • the restored video frame can be input into a preset colorization model to obtain a color video frame, and the color parameters corresponding to the color video frame can be identified, wherein the color parameters include but are not limited to color, saturation, contrast, brightness, light sensitivity and other parameters.
  • a color adjustment operation is performed on the color video frame according to the color parameters and a preset color adjustment algorithm to obtain a second video frame. Among them, the color adjustment scheme for the color video frame is the same as the color adjustment scheme for the first video frame mentioned above, and will not be repeated here.
  • the video processing method provided in this embodiment can make the color effect of the color video more beautiful by adjusting the color of the first video frame for the color video, coloring the first video frame for the black-and-white video, and performing a color adjustment operation on the colored color video frame.
  • the color effect of the color video can be made more beautiful on the basis of adjusting the black-and-white video to the color video.
  • the second video frame is super-resolved using a preset super-resolution algorithm to obtain a third video frame.
  • a target area in the third video frame is identified, and a restoration operation is performed on the target area using a preset image restoration algorithm to obtain the target video frame.
  • the older video to be processed generally has a lower resolution, resulting in a poor viewing experience. Therefore, in order to further improve the restoration effect of the video to be processed, after obtaining the second video frame after color restoration, the second video frame can also be super-resolved using a preset super-resolution algorithm to obtain a third video frame.
  • the third video frame may include a target area, which may be a facial area, a body area, a text area, etc.
  • a targeted repair operation may be performed on the target area.
  • the target area in the third video frame can be identified.
  • different recognition algorithms can be selected to perform recognition operations.
  • a preset facial recognition model can be used to implement the recognition operation on the target area.
  • a preset image restoration algorithm may be used to perform a restoration operation on the target region to obtain a target video frame.
  • a preset facial restoration model may be used to perform a restoration operation on the facial region.
  • the video processing method provided in this embodiment can further improve the content quality of the target video by performing super-resolution processing on the second video frame and optimizing the target area on the third video frame.
  • FIG5 is a flow chart of a video processing method provided by another embodiment of the present disclosure. Based on any of the above embodiments, as shown in FIG5 , step 104 includes:
  • Step 501 Combine the at least one target video frame according to the timestamp information corresponding to the at least one target video frame to obtain a video to be processed.
  • Step 502 Determine the frame rate information corresponding to the video to be processed.
  • Step 503 If the frame rate information is lower than a preset frame rate threshold, and any two target video frames meet a preset condition, a frame insertion operation is performed on the video to be processed to obtain the target video.
  • Frame rate is the frequency (rate) at which bitmap images in units of frames appear continuously on the display.
  • a high frame rate can produce smoother and more realistic visual effects.
  • the frame rate of old movies is generally low, resulting in a poor user experience during playback.
  • a frame insertion operation may be performed to increase the frame rate of the target video.
  • At least one target video frame may be combined according to the timestamp information corresponding to the at least one target video frame to obtain the video to be processed.
  • the video to be processed has the same frame rate as the video to be processed.
  • the frame rate information corresponding to the video to be processed may be determined.
  • the frame rate information of the video to be processed may be determined in any frame rate determination method, and the present disclosure does not limit this.
  • the frame rate information is lower than a preset frame rate threshold and any two target video frames meet a preset condition, a frame insertion operation is performed on the video to be processed to obtain the target video, wherein the preset condition may be that the inter-frame change is less than a preset change threshold.
  • a frame insertion model can be pre-set, which can automatically calculate the optical flow information based on the two frames of images in the video to be processed, and then insert the video frame into the two frames based on the optical flow information to implement the frame insertion operation.
  • the frame insertion operation of the video to be processed can also be implemented by any other frame insertion method, which is not limited by the present disclosure.
  • the video processing method provided in this embodiment can improve the fluency of the target video and further improve the content quality of the target video by performing a frame insertion operation on the video to be processed.
  • FIG6 is a schematic diagram of the structure of a video processing device provided by an embodiment of the present disclosure.
  • the device includes: an acquisition module 61, a determination module 62, a repair module 63 and a processing module 64.
  • the acquisition module 61 is used to acquire a video to be processed and identify at least one defect to be repaired corresponding to a current video frame in the video to be processed.
  • the determination module 62 is used to determine the motion information corresponding to the current video frame based on the current video frame and at least one associated video frame corresponding to the current video frame.
  • the repair module 63 is used to perform a repair operation on at least one defect to be repaired corresponding to the current video frame based on the motion information to obtain a repaired first video frame.
  • the processing module 64 is used to perform a visual effect repair operation on the first video frame according to a preset repair algorithm to obtain a target video frame, and obtain a repaired target video based on at least one target video frame.
  • the defects to be repaired include scratch defects and noise defects.
  • the acquisition module is used to: input the current video frame into a preset defect recognition model, obtain a recognition result output by the defect recognition model, wherein the recognition result includes location information of the scratch defect and/or the noise defect.
  • the recognition result is determined as the at least one defect to be repaired.
  • the determination module is used to: determine at least one video frame before the current video frame and at least one video frame after the current video frame as the associated video frame according to timestamp information corresponding to the video frame in the video to be processed. Calculate optical flow information corresponding to the current video frame based on the current video frame and the at least one associated video frame, and determine the optical flow information as the motion information.
  • the repair module is used to: perform a screen alignment operation on the current video frame and the at least one associated video frame according to the optical flow information to obtain a plurality of aligned video frames. Input the plurality of aligned video frames into a preset defect repair model to obtain the first video frame.
  • the processing module is used to: perform a color restoration operation on the first video frame to obtain a second video frame after color adjustment; and perform a resolution adjustment operation on the second video frame to obtain the target video frame.
  • the processing module is used to: if the video to be processed is a color video, identify the color parameters corresponding to the first video frame, perform color adjustment on the first video frame according to the color parameters and a preset color adjustment algorithm, and obtain the second video frame. If the video to be processed is a black and white video, input the restored video frame into a preset coloring model to obtain a color video frame, identify the color parameters corresponding to the color video frame, perform color adjustment on the color video frame according to the color parameters and a preset color adjustment algorithm, and obtain the second video frame.
  • the processing module is used to: perform super-resolution processing on the second video frame using a preset super-resolution algorithm to obtain a third video frame; identify a target area in the third video frame, and perform a repair operation on the target area using a preset image repair algorithm to obtain the target video frame.
  • the processing module is used to: combine the at least one target video frame according to the timestamp information corresponding to the at least one target video frame to obtain a video to be processed. Determine the frame rate information corresponding to the video to be processed. If the frame rate information is lower than a preset frame rate threshold and any two target video frames meet a preset condition, perform a frame insertion operation on the video to be processed to obtain the target video.
  • the device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
  • the embodiments of the present disclosure further provide a computer-readable storage medium, in which computer-executable instructions are stored.
  • a processor executes the computer-executable instructions, the video processing method described in any of the above embodiments is implemented.
  • the embodiments of the present disclosure further provide a computer program product, including a computer program, and when the computer program is executed by a processor, the video processing method as described in any of the above embodiments is implemented.
  • the present disclosure also provides an electronic device, including: a processor and a memory;
  • the memory stores computer-executable instructions
  • the processor executes the computer-executable instructions stored in the memory, so that the processor executes the video processing method as described in any of the above embodiments.
  • FIG7 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure
  • the electronic device 700 may be a terminal device or a server.
  • the terminal device may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.
  • PDAs personal digital assistants
  • PADs Portable Android Devices
  • PMPs portable multimedia players
  • vehicle terminals such as vehicle navigation terminals
  • fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG7 is only an example and should not impose any restrictions on the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 to a random access memory (RAM) 703.
  • a processing device 701 e.g., a central processing unit, a graphics processing unit, etc.
  • RAM random access memory
  • Various programs and data required for the operation of the electronic device 700 are also stored in the RAM 703.
  • the processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704.
  • the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 708 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 709.
  • the communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data.
  • FIG. 7 shows an electronic device 700 having various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702.
  • the processing device 701 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • the 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 of the above.
  • Computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried.
  • This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above.
  • the computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device.
  • the program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device executes the method shown in the above embodiment.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages.
  • the program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.
  • the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
  • LAN Local Area Network
  • WAN Wide Area Network
  • each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function.
  • the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.
  • each square box in the block diagram and/or flow chart, and the combination of the square boxes in the block diagram and/or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or hardware.
  • the name of a unit does not limit the unit itself in some cases.
  • the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
  • exemplary types of hardware logic components include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOCs systems on chips
  • CPLDs complex programmable logic devices
  • 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, device, or equipment.
  • 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, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing.
  • a more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, 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 portable compact disk read-only memory
  • CD-ROM compact disk read-only memory
  • magnetic storage device or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

本公开实施例提供一种视频处理方法、装置、设备、计算机可读存储介质及产品,该视频处理方法包括:获取待处理视频,识别所述待处理视频中当前视频帧对应的至少一个待修复缺陷;根据所述当前视频帧以及所述当前视频帧对应的至少一个关联视频帧确定所述当前视频帧对应的运动信息;基于所述运动信息对所述当前视频帧对应的至少一个待修复缺陷进行修复操作,获得修复后的第一视频帧;根据预设的修复算法对所述第一视频帧进行视觉效果修复,获得目标视频帧,基于至少一个目标视频帧获得修复后的目标视频。从而使得修复后的目标视频中不包括缺陷区域,且呈现更优质的视觉效果,提升修复后的目标视频的视频质量。

Description

视频处理方法、装置、设备、计算机可读存储介质及产品
本申请要求于2023年12月7日递交的中国专利申请第202311672278.9号的优先权,在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。
技术领域
本公开实施例涉及一种视频处理方法、装置、设备、计算机可读存储介质及产品。
背景技术
随着影音技术的不断发展,年代久远的视频作品在采用当前的播放工具进行播放时,可能往往存在划痕、丢帧、脱色等问题,影响视频作品的观感。因此,如何实现对年代久远的视频作品的缺陷修复,使其呈现更优质的视觉效果成为了亟待解决的问题。
发明内容
本公开实施例提供一种视频处理方法、装置、设备、计算机可读存储介质及产品,用于解决老视频划痕、丢帧、脱色的技术问题。
第一方面,本公开实施例提供一种视频处理方法,包括:
获取待处理视频,识别所述待处理视频中当前视频帧对应的至少一个待修复缺陷;
根据所述当前视频帧以及所述当前视频帧对应的至少一个关联视频帧确定所述当前视频帧对应的运动信息;
基于所述运动信息对所述当前视频帧对应的至少一个待修复缺陷进行修复操作,获得修复后的第一视频帧;
根据预设的修复算法对所述第一视频帧进行视觉效果修复,获得目标视频帧,基于至少一个目标视频帧获得修复后的目标视频。
第二方面,本公开实施例提供一种视频处理装置,包括:
获取模块,用于获取待处理视频,识别所述待处理视频中当前视频帧对应的至少一个待修复缺陷;
确定模块,用于根据所述当前视频帧以及所述当前视频帧对应的至少一个关联视频帧确定所述当前视频帧对应的运动信息;
修复模块,用于基于所述运动信息对所述当前视频帧对应的至少一个待修复缺陷进行修复操作,获得修复后的第一视频帧;
处理模块,用于根据预设的修复算法对所述第一视频帧进行视觉效果修复,获得目标视频帧,基于至少一个目标视频帧获得修复后的目标视频。
第三方面,本公开实施例提供一种电子设备,包括:处理器和存储器;
所述存储器存储计算机执行指令;
所述处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能的设计所述的视频处理方法。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的视频处理方法。
第五方面,本公开实施例提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的视频处理方法。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的视频处理方法的流程示意图;
图2为本公开实施例提供的视频帧修复示意图;
图3为本公开又一实施例提供的视频处理方法的流程示意图;
图4为本公开又一实施例提供的视频处理方法的流程示意图;
图5为本公开又一实施例提供的视频处理方法的流程示意图;
图6为本公开实施例提供的视频处理装置的结构示意图;以及
图7为本公开实施例提供的电子设备的结构示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
可以理解的是,在使用本公开各实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。
例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,其请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。
作为一种可选的但非限定性的实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”向电子设备提供个人信息的选择控件。
可以理解的是,上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其它满足相关法律法规的方式也可应用于本公开的实现方式中。
为了解决老视频划痕、丢帧、脱色的技术问题,本公开提供了一种视频处理方法、装置、设备、计算机可读存储介质及产品。
需要说明的是,本公开提供的视频处理方法、装置、设备、计算机可读存储介质及产品可应用在任意一种视频修复的场景中。
由于年代久远,很多经典的老电影在当今的影视播放工具上放映时,存在划痕,细节差,脱色、丢帧等方面的问题,影响视觉观感。当前的老电影修复方法一般都是仅针对老电影中的划痕进行修复。但是,老电影一般都存在脱色、丢帧等问题,仅对老电影进行划痕修复则修复效果不佳,影响老电影的观看效果。
在解决上述技术问题的过程中,发明人通过研究发现,为了保证老电影的修复效果,可以基于每一视频帧对应的光流信息对该视频帧对应的划痕、噪声进行修复。此外,还可以对每一视频帧的色彩、分辨率进行修复,以提高视频帧的视觉效果。为了提高修复后的目标视频的流畅性,还可以对帧率较低的视频部分进行插帧操作。从而能够全方面地对老电影进行修复操作,提高修复后的目标视频的视频质量。
本公开所基于的系统架构至少包括终端设备以及服务器。其中,终端设备与服务器通信连接,从而服务器能够获取终端设备发送的修复请求,基于该修复请求获取待处理视频。并基于预设的至少一种修复算法对待处理视频的缺陷、色彩、分辨率以及帧率等进行修复操作,以提升修复后的目标视频的视频质量。
图1为本公开实施例提供的视频处理方法的流程示意图,如图1所示,该方法包括:
步骤101、获取待处理视频,识别所述待处理视频中当前视频帧对应的至少一个待修复缺陷。
本实施例的执行主体为视频处理装置。该视频处理装置可耦合于服务器中。该服务器能够与终端设备通信连接。从而能够获取终端设备发送的修复请求,基于该修复请求获取待处理视频。对待处理视频的缺陷、色彩、分辨率以及帧率等进行修复操作,以提升修复后的目标视频的视频质量。
或者,该视频处理装置可耦合于终端设备中,该终端设备中可以预先设置有多种修复算法。从而可以响应于用户在终端设备上触发的视频修复请求获取待处理视频。对待处理视频的缺陷、色彩、分辨率以及帧率等进行修复操作,以提升修复后的目标视频的视频质量。
实际应用中,可能存在大量视频质量不佳,需要进行修复的视频。例如,年代久远的电影作品、光线不佳场景下拍摄的视频等。为了实现对视频的修复以及优化操作,用户可以在终端设备上触发视频修复请求。
相应地,视频处理装置可以获取该视频修复请求,并基于该视频修复请求获取待处理视频。该待处理视频可以为用户从预设的存储路径中获取的。
进一步地,为了实现对待处理视频的修复操作,可以依次将待处理视频中的每一视频帧确定为当前视频帧,并识别当前视频帧对应的至少一个待修复缺陷。其中,该待修复缺陷包括但不限于划痕缺陷、噪声缺陷等。
步骤102、根据所述当前视频帧以及所述当前视频帧对应的至少一个关联视频帧确定所述当前视频帧对应的运动信息。
在本实施方式中,在识别获得至少一个待修复缺陷之后,可以根据当前视频帧以及当前视频帧对应的至少一个关联视频帧确定当前视频帧对应的运动信息。其中,该运动信息包括但不限于光流信息等任意一种能够表征当前视频帧中显示内容运动情况的信息。
实际应用中,当前视频帧存在划痕,可能与其相邻且显示内容相似的关联视频帧不存在划痕,因此,可以基于该关联视频帧实现对当前视频帧的修复操作。
通过识别当前视频帧对应的运动信息,能够基于该运动信息确定关联视频帧中与当前视频帧缺陷相匹配的位置,进而能够基于关联视频帧中的显示内容对当前视频帧进行划痕修复操作,提高了视频修复的准确性。
步骤103、基于所述运动信息对所述当前视频帧对应的至少一个待修复缺陷进行修复操作,获得修复后的第一视频帧。
在本实施方式中,在确定当前视频帧对应的运动信息之后,可以基于运动信息对当前视频帧对应的至少一个待修复缺陷进行修复操作,获得修复后的第一视频帧。其中,可以预先设置缺陷修复模型,通过该缺陷修复模型实现对当前视频帧的修复操作。
步骤104、根据预设的修复算法对所述第一视频帧进行视觉效果修复,获得目标视频帧,基于至少一个目标视频帧获得修复后的目标视频。
在本实施方式中,在完成对待处理视频中的划痕、噪声等缺陷的修复之后,为了提高待处理视频的视觉效果,还可以对待处理视频对应的色彩、分辨率进行修复操作。
可选地,在得到去除缺陷的第一视频帧之后,可以对第一视频帧进行视觉效果修复,获得目标视频帧。其中,该视觉效果恢复包括但不限于色彩修复、分辨率修复等操作。
进一步地,在得到至少一个目标视频帧之后,可以按照至少一个目标视频帧的时间戳信息组合该至少一个目标视频帧,得到修复后的目标视频。
图2为本公开实施例提供的视频帧修复示意图,如图2所示,视频帧21中存在至少一个划痕22。在获取到视频帧21之后,可以基于该视频帧21对应的运动信息对至少一个划痕22进行修复操作,得到修复后的第一视频帧23。进一步地,可以对第一视频帧23的色彩、分辨率进行调整,得到目标视频帧24。
本实施例提供的视频处理方法,通过在获取到待处理视频之后,基于当前视频帧对应的运动信息对待修复进行缺陷,从而能够准确地基于当前视频帧中内容主体的运动趋势进行缺陷修复操作,提高了缺陷修复的准确性。此外,在完成对当前视频帧的缺陷修复之后,还可以对第一视频帧进行视觉效果的修复,从而能够在实现缺陷修复的基础上,是修复后的目标视频呈现更优质的视觉效果,提升修复后的目标视频的视频质量。
可选地,在上述任一实施例的基础上,所述待修复缺陷包括划痕缺陷以及噪声缺陷。步骤101包括:
将所述当前视频帧输入至预设的缺陷识别模型,获取所述缺陷识别模型输出的识别结果,其中,所述识别结果包括划痕缺陷和/或噪声缺陷的位置信息。
将所述识别结果确定为所述至少一个待修复缺陷。
在本实施例中,该待修复缺陷包括但不限于划痕缺陷以及噪声缺陷。
为了实现对当前视频帧中待修复缺陷的识别,可以预先设置缺陷识别模型。其中,该缺陷识别模型可以为预先基于大量的训练数据迭代训练获得。该训练数据中可以包括多个训练数据对,每一训练数据对中包括存在至少一个划痕和/或噪声的图像,以及不存在划痕和/或噪声的图像。可以通过训练数据对预设的待训练模型进行迭代训练操作,直至其满足预设的收敛条件,得到该缺陷识别模型。从而该缺陷识别模型能够准确地实现对划痕和/或噪声缺陷的识别操作。
因此,在获取到待处理视频之后,可以依次将每一视频帧确定为当前视频帧,将当前视频帧输入至预设的缺陷识别模型,获取缺陷识别模型输出的识别结果,其中,识别结果包括划痕缺陷和/或噪声缺陷的位置信息。将识别结果确定为至少一个待修复缺陷。
本实施例提供的视频处理方法,通过预先设置缺陷识别模型,从而在获取到当前视频帧之后,可以准确地基于该缺陷识别模型对当前视频帧中的划痕和/或噪声进行识别操作,进而能够基于该识别结果准确地进行视频修复操作,提高了视频修复的准确性。
图3为本公开又一实施例提供的视频处理方法的流程示意图,在上述任一实施例的基础上,如图3所示,步骤102包括:
步骤301、根据所述待处理视频中视频帧对应的时间戳信息,将所述当前视频帧之前的至少一个视频帧以及所述当前视频帧之后的至少一个视频帧确定为所述关联视频帧。
步骤302、基于所述当前视频帧以及所述至少一个关联视频帧计算所述当前视频帧对应的光流信息,将所述光流信息确定为所述运动信息。
在本实施例中,为了实现对待处理视频的修复操作,针对待处理视频中的每一视频帧,需要依次将每一视频帧确定为当前视频帧,并确定当前视频帧对应的至少一个关联视频帧。
可选地,在待处理视频中,每一视频帧均对应有时间戳信息。因此,可以基于该时间戳信息将当前视频帧之前的至少一个视频帧以及当前视频帧之后的至少一个视频帧确定为关联视频帧。并基于当前视频帧以及至少一个关联视频帧计算当前视频帧对应的光流信息,将光流信息确定为运动信息。其中,可以采用任意一种光流算法实现对光流信息的计算,本公开对此不做限制。
本实施例提供的视频处理方法,通过基于当前视频帧以及其之前的至少一个视频帧以及其之后的至少一个视频帧计算光流信息,从而能够准确地基于该光流信息准确地确定当前视频帧中显示内容的运动信息。进而能够基于该光流信息确定关联视频帧中与当前视频帧缺陷相匹配的位置,进而能够基于关联视频帧中的显示内容对当前视频帧进行划痕修复操作,提高了视频修复的准确性。
进一步地,在上述任一实施例的基础上,步骤103包括:
根据所述光流信息对所述当前视频帧以及所述至少一个关联视频帧进行画面对齐操作,获得对齐后的多个视频帧。
将所述对齐后的多个视频帧输入至预设的缺陷修复模型,获得所述第一视频帧。
在本实施例中,为了实现对当前视频帧的缺陷修复操作,可以预先设置缺陷修复模型。其中,该缺陷修复模型可以为基于预设的训练数据进行迭代训练至模型收敛后获得的。其中,该训练数据中可以包括多个训练数据对,每一训练数据对中分别包括对齐后的存在缺陷的多个视频帧,以及对齐后的不存在缺陷的多个视频帧。通过基于训练数据进行迭代训练,从而该缺陷修复模型能够准确地实现缺陷修复操作。
由于待处理视频中内容的变化,连续的视频帧之间也会有轻微差异(比如物体的位移、视角的变化等),因此,在确定当前视频帧以及至少一个关联视频帧对应的光流信息之后,可以基于该光流信息对当前视频帧以及至少一个关联视频帧进行画面对齐操作,获得对齐后的多个视频帧,从而对齐后的多个视频帧中的内容/物体处于相同的位置。
进一步地,在完成对多个视频帧的对齐操作之后,可以将对齐后的多个视频帧输入至预设的缺陷修复模型,该缺陷修复模型能够实现对缺陷的修复操作,获得不包括缺陷的第一视频帧。
本实施例提供的视频处理方法,通过预先设置缺陷修复模型,从而能够基于该缺陷修复模型准确地对对齐后的多个视频帧进行修复操作。提高了视频修复的效率以及准确性。
图4为本公开又一实施例提供的视频处理方法的流程示意图,在上述任一实施例的基础上,如图4所示,步骤104包括:
步骤401、对所述第一视频帧进行色彩修复操作,获得色彩调整后的第二视频帧。
步骤402、对所述第二视频帧进行分辨率调整操作,获得所述目标视频帧。
在本实施例中,在完成对待处理视频中的划痕、噪声等缺陷的修复之后,为了提高待处理视频的视觉效果,还可以对待处理视频对应的色彩、分辨率进行修复操作。
可选地,在得到去除缺陷的第一视频帧之后,可以对第一视频帧进行色彩修复操作,获得色彩调整后的第二视频帧。从而第二视频帧能够呈现更优质、美观的色彩效果。进一步地,可以对第二视频帧进行分辨率调整操作,从而能够得到清晰、色彩美观的目标视频帧。
本实施例提供的视频处理方法,通过对第一视频帧进行色彩修复操作,并对色彩修复后的第二视频帧进行分辨率调整操作,从而能够获得色彩美观且分辨率较高的目标视频帧,进而能够提升目标视频的视觉效果。
进一步地,在上述任一实施例的基础上,步骤401包括:
若所述待处理视频为彩色视频,则识别所述第一视频帧对应的色彩参数,根据所述色彩参数以及预设的色彩调整算法对所述第一视频帧进行色彩调整操作,获得所述第二视频帧。
若所述待处理视频为黑白视频,则将所述修复后的视频帧输入至预设的上色模型,获得彩色视频帧,识别所述彩色视频帧对应的色彩参数,根据所述色彩参数以及预设的色彩调整算法对所述彩色视频帧进行色彩调整操作,获得所述第二视频帧。
在本实施例中,待处理视频可以为彩色视频,也可以为黑白视频。针对不同的视频类型,可以采用不同的色彩修复方式对待处理视频进行修复操作。
可选地,当待处理视频为彩色视频时,随着时间流逝,待处理视频可能出现褪色等情况,导致待处理视频的视觉效果不佳。因此,可以识别第一视频帧对应的色彩参数,其中,该色彩参数包括但不限于颜色、饱和度、对比度、亮度、光感等参数。在确定该色彩参数之后,可以根据色彩参数以及预设的色彩调整算法对第一视频帧进行色彩调整操作,获得第二视频帧。其中,该色彩调整算法可以为预先基于大量训练数据训练获得的色彩调整模型。
作为一种可以实施的方式,可以预先设置多组较为美观的色彩搭配信息,在识别到第一视频帧对应的色彩信息之后,可以在预设的色彩搭配信息中确定与该色彩信息最相近的目标色彩搭配信息,基于该目标色彩搭配信息对该第一视频帧进行色彩调整操作,本公开对此不做限制。
可选地,当待处理视频为黑白视频时,首先可以对黑白的待处理视频进行上色操作。在对彩色的待处理视频进行色彩修复操作。其中,可以将修复后的视频帧输入至预设的上色模型,获得彩色视频帧,识别彩色视频帧对应的色彩参数,其中,该色彩参数包括但不限于颜色、饱和度、对比度、亮度、光感等参数。根据色彩参数以及预设的色彩调整算法对彩色视频帧进行色彩调整操作,获得第二视频帧。其中,针对彩色视频帧的色彩调整方案与上述针对第一视频帧的色彩调整方案相同,在此不做赘述。
本实施例提供的视频处理方法,通过针对彩色视频,对第一视频帧进行色彩调整,针对黑白视频,对第一视频帧进行上色,对上色后的彩色视频帧进行色彩调整操作,从而能够使得彩色视频的色彩效果更加美观。且能够在实现将黑白视频调整为彩色视频的基础上,使得彩色视频的色彩效果更加美观。
进一步地,在上述任一实施例的基础上,步骤402包括:
通过预设的超分辨率算法对所述第二视频帧进行超分处理,获得第三视频帧。
识别所述第三视频帧中的目标区域,通过预设的图像修复算法对所述目标区域进行修复操作,获得所述目标视频帧。
在本实施例中,年代较久远的待处理视频一般分辨率较低,从而导致观感较差。因此,为了进一步地提高对待处理视频的修复效果,在得到色彩修复后的第二视频帧之后,还可以通过预设的超分辨率算法对第二视频帧进行超分处理,获得第三视频帧。
进一步地,第三视频帧中可以包括目标区域。其中,该目标区域可以为面部区域、肢体区域、文字区域等。为了在提高第三视频帧显示效果的基础上,降低修复过程中的计算量,可以对目标区域进行有针对性的修复操作。
可选地,可以识别第三视频帧中的目标区域。其中,针对不同的目标区域,可以选择不同的识别算法进行识别操作。例如,当目标区域为面部区域时,可以采用预设的面部识别模型实现对目标区域的识别操作。
进一步地,可以通过预设的图像修复算法对目标区域进行修复操作,获得目标视频帧。承接上例来说,在识别到面部区域之后,可以采用预设的面部修复模型实现对面部区域的修复操作。
本实施例提供的视频处理方法,通过对第二视频帧进行超分处理,对第三视频帧进行目标区域的优化操作,从而能够进一步地提高目标视频的内容质量。
图5为本公开又一实施例提供的视频处理方法的流程示意图,在上述任一实施例的基础上,如图5所述,步骤104包括:
步骤501、按照所述至少一个目标视频帧对应的时间戳信息对所述至少一个目标视频帧进行组合,获得待处理视频。
步骤502、确定所述待处理视频对应的帧率信息。
步骤503、若所述帧率信息低于预设的帧率阈值,且任意两个目标视频帧满足预设条件,则对所述待处理视频进行插帧操作,获得所述目标视频。
帧率(Frame rate)是以帧称为单位的位图图像连续出现在显示器上的频率(速率)。高的帧率可以得到更流畅、更逼真的视觉效果。
以待处理视频为老电影举例来说,老电影一般帧率较低,导致在播放时,用户观感较差。
因此,在完成对当前视频帧的缺陷修复以及视觉效果修复之后,为了进一步地提高目标视频的视频质量,还可以进行插帧操作,以提高目标视频的帧率。
可选地,在完成对待处理视频对应的每一视频帧的修复操作之后,可以按照至少一个目标视频帧对应的时间戳信息对至少一个目标视频帧进行组合,获得待处理视频。该待处理视频与待处理视频的帧率相同。
为了实现对待处理视频的修复操作,可以确定待处理视频对应的帧率信息。其中,可以采用任意一种帧率确定的方式确定待处理视频的帧率信息,本公开对此不做限制。
进一步地,若帧率信息低于预设的帧率阈值,且任意两个目标视频帧满足预设条件,则对待处理视频进行插帧操作,获得目标视频。其中,该预设条件可以为帧间变化小于预设的变化阈值。
可选地,可以预先设置插帧模型,其可以自动地基于待处理视频中前后两帧图像计算光流信息,再基于光流信息在该两帧图像中插入视频帧,实现插帧操作。或者,也可以通过其他任意一种插帧方式实现对待处理视频的插帧操作,本公开对此不做限制。
本实施例提供的视频处理方法,通过对待处理视频进行插帧操作,从而能够提高目标视频的流畅度,进一步地提高目标视频的内容质量。
图6为本公开实施例提供的视频处理装置的结构示意图,如图6所示,该装置包括:获取模块61、确定模块62、修复模块63以及处理模块64。其中,获取模块61,用于获取待处理视频,识别所述待处理视频中当前视频帧对应的至少一个待修复缺陷。确定模块62,用于根据所述当前视频帧以及所述当前视频帧对应的至少一个关联视频帧确定所述当前视频帧对应的运动信息。修复模块63,用于基于所述运动信息对所述当前视频帧对应的至少一个待修复缺陷进行修复操作,获得修复后的第一视频帧。处理模块64,用于根据预设的修复算法对所述第一视频帧进行视觉效果修复,获得目标视频帧,基于至少一个目标视频帧获得修复后的目标视频。
进一步地,在上述任一实施例的基础上,所述待修复缺陷包括划痕缺陷以及噪声缺陷。所述获取模块,用于:将所述当前视频帧输入至预设的缺陷识别模型,获取所述缺陷识别模型输出的识别结果,其中,所述识别结果包括划痕缺陷和/或噪声缺陷的位置信息。将所述识别结果确定为所述至少一个待修复缺陷。
进一步地,在上述任一实施例的基础上,所述确定模块,用于:根据所述待处理视频中视频帧对应的时间戳信息,将所述当前视频帧之前的至少一个视频帧以及所述当前视频帧之后的至少一个视频帧确定为所述关联视频帧。基于所述当前视频帧以及所述至少一个关联视频帧计算所述当前视频帧对应的光流信息,将所述光流信息确定为所述运动信息。
进一步地,在上述任一实施例的基础上,所述修复模块,用于:根据所述光流信息对所述当前视频帧以及所述至少一个关联视频帧进行画面对齐操作,获得对齐后的多个视频帧。将所述对齐后的多个视频帧输入至预设的缺陷修复模型,获得所述第一视频帧。
进一步地,在上述任一实施例的基础上,所述处理模块,用于:对所述第一视频帧进行色彩修复操作,获得色彩调整后的第二视频帧。对所述第二视频帧进行分辨率调整操作,获得所述目标视频帧。
进一步地,在上述任一实施例的基础上,所述处理模块,用于:若所述待处理视频为彩色视频,则识别所述第一视频帧对应的色彩参数,根据所述色彩参数以及预设的色彩调整算法对所述第一视频帧进行色彩调整操作,获得所述第二视频帧。若所述待处理视频为黑白视频,则将所述修复后的视频帧输入至预设的上色模型,获得彩色视频帧,识别所述彩色视频帧对应的色彩参数,根据所述色彩参数以及预设的色彩调整算法对所述彩色视频帧进行色彩调整操作,获得所述第二视频帧。
进一步地,在上述任一实施例的基础上,所述处理模块,用于:通过预设的超分辨率算法对所述第二视频帧进行超分处理,获得第三视频帧。识别所述第三视频帧中的目标区域,通过预设的图像修复算法对所述目标区域进行修复操作,获得所述目标视频帧。
进一步地,在上述任一实施例的基础上,所述处理模块,用于:按照所述至少一个目标视频帧对应的时间戳信息对所述至少一个目标视频帧进行组合,获得待处理视频。确定所述待处理视频对应的帧率信息。若所述帧率信息低于预设的帧率阈值,且任意两个目标视频帧满足预设条件,则对所述待处理视频进行插帧操作,获得所述目标视频。
本实施例提供的设备,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。
为了实现上述实施例,本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上述任一实施例所述的视频处理方法。
为了实现上述实施例,本公开实施例还提供了一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一实施例所述的视频处理方法。
为了实现上述实施例,本公开实施例还提供了一种电子设备,包括:处理器和存储器;
所述存储器存储计算机执行指令;
所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如上述任一实施例所述的视频处理方法。
图7为本公开实施例提供的电子设备的结构示意图,该电子设备700可以为终端设备或服务器。其中,终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,简称PDA)、平板电脑(Portable Android Device,简称PAD)、便携式多媒体播放器(Portable Media Player,简称PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,电子设备700可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(Read Only Memory,简称ROM)702中的程序或者从存储装置708加载到随机访问存储器(Random Access Memory,简称RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(Liquid Crystal Display,简称LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备700与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的电子设备700,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM 702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例所示的方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,简称LAN)或广域网(Wide Area Network,简称WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (11)

  1. 一种视频处理方法,包括:
    获取待处理视频,识别所述待处理视频中当前视频帧对应的至少一个待修复缺陷;
    根据所述当前视频帧以及所述当前视频帧对应的至少一个关联视频帧确定所述当前视频帧对应的运动信息;
    基于所述运动信息对所述当前视频帧对应的至少一个待修复缺陷进行修复操作,获得修复后的第一视频帧;
    根据预设的修复算法对所述第一视频帧进行视觉效果修复,获得目标视频帧,基于至少一个目标视频帧获得修复后的目标视频。
  2. 根据权利要求1所述的方法,其中,所述待修复缺陷包括划痕缺陷以及噪声缺陷;
    所述识别所述待处理视频中当前视频帧对应的至少一个待修复缺陷,包括:
    将所述当前视频帧输入至预设的缺陷识别模型,获取所述缺陷识别模型输出的识别结果,其中,所述识别结果包括划痕缺陷和/或噪声缺陷的位置信息;
    将所述识别结果确定为所述至少一个待修复缺陷。
  3. 根据权利要求1或2所述的方法,其中,所述根据所述当前视频帧以及所述当前视频帧对应的至少一个关联视频帧确定所述当前视频帧对应的运动信息,包括:
    根据所述待处理视频中视频帧对应的时间戳信息,将所述当前视频帧之前的至少一个视频帧以及所述当前视频帧之后的至少一个视频帧确定为所述关联视频帧;
    基于所述当前视频帧以及所述至少一个关联视频帧计算所述当前视频帧对应的光流信息,将所述光流信息确定为所述运动信息。
  4. 根据权利要求3所述的方法,其中,所述基于所述运动信息对所述当前视频帧对应的至少一个待修复缺陷进行修复操作,获得修复后的第一视频帧,包括:
    根据所述光流信息对所述当前视频帧以及所述至少一个关联视频帧进行画面对齐操作,获得对齐后的多个视频帧;
    将所述对齐后的多个视频帧输入至预设的缺陷修复模型,获得所述第一视频帧。
  5. 根据权利要求1-4任一项所述的方法,其中,所述根据预设的修复算法对所述第一视频帧进行视觉效果修复,获得目标视频帧,包括:
    对所述第一视频帧进行色彩修复操作,获得色彩调整后的第二视频帧;
    对所述第二视频帧进行分辨率调整操作,获得所述目标视频帧。
  6. 根据权利要求5所述的方法,其中,所述对所述修复后的视频帧进行色彩修复操作,获得色彩调整后的第二视频帧,包括:
    若所述待处理视频为彩色视频,则识别所述第一视频帧对应的色彩参数,根据所述色彩参数以及预设的色彩调整算法对所述第一视频帧进行色彩调整操作,获得所述第二视频帧;
    若所述待处理视频为黑白视频,则将所述修复后的视频帧输入至预设的上色模型,获得彩色视频帧,识别所述彩色视频帧对应的色彩参数,根据所述色彩参数以及预设的色彩调整算法对所述彩色视频帧进行色彩调整操作,获得所述第二视频帧。
  7. 根据权利要求5或6所述的方法,其中,所述对所述第二视频帧进行分辨率调整操作,获得所述目标视频帧,包括:
    通过预设的超分辨率算法对所述第二视频帧进行超分处理,获得第三视频帧;
    识别所述第三视频帧中的目标区域,通过预设的图像修复算法对所述目标区域进行修复操作,获得所述目标视频帧。
  8. 根据权利要求1-7任一项所述的方法,其中,所述基于至少一个目标视频帧获得修复后的目标视频,包括:
    按照所述至少一个目标视频帧对应的时间戳信息对所述至少一个目标视频帧进行组合,获得待处理视频;
    确定所述待处理视频对应的帧率信息;
    若所述帧率信息低于预设的帧率阈值,且任意两个目标视频帧满足预设条件,则对所述待处理视频进行插帧操作,获得所述目标视频。
  9. 一种视频处理装置,包括:
    获取模块,被配置为获取待处理视频,识别所述待处理视频中当前视频帧对应的至少一个待修复缺陷;
    确定模块,被配置为根据所述当前视频帧以及所述当前视频帧对应的至少一个关联视频帧确定所述当前视频帧对应的运动信息;
    修复模块,被配置为基于所述运动信息对所述当前视频帧对应的至少一个待修复缺陷进行修复操作,获得修复后的第一视频帧;
    处理模块,被配置为根据预设的修复算法对所述第一视频帧进行视觉效果修复,获得目标视频帧,基于至少一个目标视频帧获得修复后的目标视频。
  10. 一种电子设备,包括处理器和存储器,其中,
    所述存储器存储计算机执行指令;
    所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如权利要求1至8任一项所述的视频处理方法。
  11. 一种计算机可读存储介质,存储有计算机执行指令,其中,当处理器执行所述计算机执行指令时,实现如权利要求1至8任一项所述的视频处理方法。
PCT/CN2024/137116 2023-12-07 2024-12-05 视频处理方法、装置、设备、计算机可读存储介质及产品 Pending WO2025119280A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311672278.9A CN120128736A (zh) 2023-12-07 2023-12-07 视频处理方法、装置、设备、计算机可读存储介质及产品
CN202311672278.9 2023-12-07

Publications (1)

Publication Number Publication Date
WO2025119280A1 true WO2025119280A1 (zh) 2025-06-12

Family

ID=95916219

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/137116 Pending WO2025119280A1 (zh) 2023-12-07 2024-12-05 视频处理方法、装置、设备、计算机可读存储介质及产品

Country Status (2)

Country Link
CN (1) CN120128736A (zh)
WO (1) WO2025119280A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272311A (zh) * 2020-10-21 2021-01-26 腾讯科技(北京)有限公司 花屏修复方法、装置、终端、服务器及介质
CN114286126A (zh) * 2020-09-28 2022-04-05 阿里巴巴集团控股有限公司 视频处理方法及装置
CN115049555A (zh) * 2022-06-24 2022-09-13 北京奇艺世纪科技有限公司 视频处理方法、装置、电子设备及存储介质
CN115633210A (zh) * 2022-10-24 2023-01-20 上海哔哩哔哩科技有限公司 视频字幕去除方法及装置
CN115883933A (zh) * 2022-12-09 2023-03-31 深圳万兴软件有限公司 视频的字幕去除方法、装置、计算机设备及存储介质
US20230237625A1 (en) * 2022-01-24 2023-07-27 Lemon Inc. Video processing method, electronic device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286126A (zh) * 2020-09-28 2022-04-05 阿里巴巴集团控股有限公司 视频处理方法及装置
CN112272311A (zh) * 2020-10-21 2021-01-26 腾讯科技(北京)有限公司 花屏修复方法、装置、终端、服务器及介质
US20230237625A1 (en) * 2022-01-24 2023-07-27 Lemon Inc. Video processing method, electronic device, and storage medium
CN115049555A (zh) * 2022-06-24 2022-09-13 北京奇艺世纪科技有限公司 视频处理方法、装置、电子设备及存储介质
CN115633210A (zh) * 2022-10-24 2023-01-20 上海哔哩哔哩科技有限公司 视频字幕去除方法及装置
CN115883933A (zh) * 2022-12-09 2023-03-31 深圳万兴软件有限公司 视频的字幕去除方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
CN120128736A (zh) 2025-06-10

Similar Documents

Publication Publication Date Title
US12572337B2 (en) Method and apparatus of control editing, device, and readable storage medium
CN112258622B (zh) 图像处理方法、装置、可读介质及电子设备
WO2024125329A1 (zh) 直播特效渲染方法、装置、设备、可读存储介质及产品
WO2024104307A1 (zh) 直播视频流渲染方法、装置、设备、存储介质及产品
WO2025190221A1 (zh) 视频生成方法、装置、设备、计算机可读存储介质及产品
WO2025056026A1 (zh) 视频处理方法、装置、设备、计算机可读存储介质及产品
WO2024199011A1 (zh) 图像处理方法、装置、设备、计算机可读存储介质及产品
WO2025002075A1 (zh) 视频生成方法、装置、电子设备及存储介质
US20250386078A1 (en) Method, apparatus, device, storage medium and product for image processing
WO2024245110A1 (zh) 图像尺寸调整方法、装置、设备、可读存储介质及产品
EP4543018A1 (en) Subtitle display method and apparatus, device and medium
CN111327762A (zh) 操作轨迹的显示方法、装置、电子设备及存储介质
WO2026002162A1 (zh) 图像处理方法、装置、电子设备及存储介质
WO2025130691A1 (zh) 视频处理方法、装置、设备、计算机可读存储介质及产品
WO2025119280A1 (zh) 视频处理方法、装置、设备、计算机可读存储介质及产品
WO2025119233A1 (zh) 视频处理方法、装置、设备、计算机可读存储介质及计算机程序产品
WO2025139826A1 (zh) 视频处理方法、装置、电子设备及存储介质
WO2025056031A1 (zh) 视频处理方法、装置、设备、计算机可读存储介质及产品
WO2024198952A1 (zh) 图像超分辨率方法、设备、存储介质及程序产品
WO2025036409A1 (zh) 媒体内容处理方法、设备、存储介质及程序产品
CN113963000B (zh) 图像分割方法、装置、电子设备及程序产品
WO2024067145A1 (zh) 图像修复方法、装置、设备、计算机可读存储介质及产品
WO2022152002A1 (zh) 图像画质的调试方法、装置、系统及电子设备
WO2025098511A1 (zh) 媒体内容处理方法、装置、设备、可读存储介质及产品
CN115145410B (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: 24899914

Country of ref document: EP

Kind code of ref document: A1