WO2017036038A1 - 视频特效处理方法、装置及终端设备 - Google Patents

视频特效处理方法、装置及终端设备 Download PDF

Info

Publication number
WO2017036038A1
WO2017036038A1 PCT/CN2015/099729 CN2015099729W WO2017036038A1 WO 2017036038 A1 WO2017036038 A1 WO 2017036038A1 CN 2015099729 W CN2015099729 W CN 2015099729W WO 2017036038 A1 WO2017036038 A1 WO 2017036038A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
effect processing
special effect
frame
preset
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
Application number
PCT/CN2015/099729
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to JP2017537008A priority Critical patent/JP6321301B2/ja
Priority to RU2016114551A priority patent/RU2640735C2/ru
Priority to KR1020167006989A priority patent/KR101756044B1/ko
Priority to MX2016003307A priority patent/MX369882B/es
Publication of WO2017036038A1 publication Critical patent/WO2017036038A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/782Television signal recording using magnetic recording on tape
    • H04N5/783Adaptations for reproducing at a rate different from the recording rate
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/005Reproducing at a different information rate from the information rate of recording
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Definitions

  • the present disclosure relates to video processing, and more particularly to a video effect processing method, apparatus, and terminal device.
  • the video editing software needs to be installed on the terminal device, and the video processing software performs special effect processing on the video, and then saves as a new video copy.
  • the video effect with the fast-release or slow-motion effect can be seen.
  • the present disclosure provides a video special effect processing method, apparatus, and terminal device.
  • a video special effect processing method including:
  • the video to be processed is subjected to fast-release or slow-release special effects according to the video special effect processing instruction.
  • a video special effect processing apparatus including:
  • a receiving unit configured to receive a video special effect processing instruction
  • the special effect processing unit is configured to perform fast-release or slow-release special effect processing on the to-be-processed video according to the video special effect processing instruction in the process of playing the to-be-processed video.
  • the technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: performing fast-release or slow-release special effects processing on the to-be-processed video in play by the received video special effect processing instruction, realizing synchronization of video playback and special effect processing, and improving video The efficiency of special effects processing and increase the fun of video playback.
  • FIG. 1 is a flowchart of a video effect processing method according to an exemplary embodiment
  • FIG. 2 is a flowchart of a video effect processing method according to an exemplary embodiment
  • FIG. 3 is a schematic diagram of a user clicking a preset special effect processing button
  • FIG. 4 is a flowchart of a video effect processing method according to an exemplary embodiment
  • FIG. 5 is a schematic diagram of a sliding operation performed by a user on an interface for playing a video to be processed on a terminal device
  • FIG. 6 is a flowchart of a video effect processing method according to an exemplary embodiment
  • FIG. 7 is a block diagram of a video effect processing apparatus according to an exemplary embodiment
  • FIG. 8 is a block diagram of a video effect processing apparatus according to an exemplary embodiment
  • FIG. 9 is a block diagram of a video effect processing apparatus according to an exemplary embodiment.
  • FIG. 10 is a block diagram of a video effect processing apparatus according to an exemplary embodiment
  • FIG. 11 is a block diagram of a video effect processing apparatus according to an exemplary embodiment
  • FIG. 12 is a block diagram of a terminal device according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a video special effect processing method according to an exemplary embodiment.
  • a video special effect processing method is used in a terminal device, for example, a smart phone, a computer, a tablet device, and a personal digital assistant.
  • Etc. which may be specifically performed by a central processing unit or other processing function component in the above device, including the following steps:
  • step 101 receiving a video special effect processing instruction
  • the video content is a rabbit flying on the grass.
  • the video only shows the picture of the rabbit flying, if it can The slow-moving part of the rabbit flies, you can clearly see every micro-action in the process of the rabbit flying, so that users can get the feeling of watching movies when watching the video; for example, monitor the large content in the video.
  • the picture is still, and there is no change for a long time. At this time, when the user watches the video, he hopes that the monitoring video can be quickly released, so that the time for watching the video can be shortened.
  • the present disclosure can directly perform special effects processing on the video in the process of video playback.
  • the terminal device decodes and plays the video at a normal rate.
  • the function of the special effect processing can be turned on before the video is played, or the video is played.
  • the special effect processing instruction is input to the terminal device in an interactive manner, and the video special effect processing instruction generated by the operation may trigger the terminal device to perform special effect processing on the video to be processed.
  • step 102 in the process of playing the video to be processed, the video to be processed is subjected to fast-release or slow-release special effects according to the video special effect processing instruction.
  • the terminal device can open the fast-release or slow-release special effect processing of the video to be processed on the one hand, and obtain the indication information for the special effect processing of the video to be processed according to the video special effect processing instruction, for example, the user.
  • the button can be processed by clicking a preset special effect, which can be a virtual button on the touch screen of the smart terminal, or a physical button of the terminal device, which can include dedicated two buttons of fast release or slow release, or There is only one button to generate a fast or slow video effect processing command by clicking or double clicking on different clicks. In this way, the terminal device can perform special effect processing corresponding to the video special effect processing instruction according to the video special effect processing instruction.
  • the received video special effect processing instruction performs fast-release or slow-release special effect processing on the to-be-processed video during playback, thereby realizing synchronization of video playback and special effect processing, thereby improving the efficiency of the video special effect processing, and Increase the fun of video playback.
  • FIG. 2 is a flowchart of a video special effect processing method according to an exemplary embodiment.
  • a video special effect processing method is used in a terminal device, for example, a smart phone, a computer, a tablet device, and a personal digital assistant.
  • Etc. which may be specifically performed by a central processing unit or other processing function component in the above device, including the following steps:
  • step 201 a video special effect processing instruction generated after the user clicks the preset special effect processing button is received, and the preset special effect processing button is used to provide a trigger for turning on the slow processing effect processing of the video to be processed;
  • the slow motion effect is added to the video to be processed.
  • the user generates a corresponding video special effect processing instruction by clicking the preset special effect processing button before the video is played, so as to trigger the terminal device to perform slow playback during the process of playing the to-be-processed video.
  • Special effects processing may be a virtual button on the touch screen of the smart terminal, or may be a physical button of the terminal device, which may include two dedicated quick-release or slow-release buttons, or only one button, click through Or double-click different click methods to generate video effects processing instructions for fast-release or slow-motion.
  • FIG. 3 is a schematic diagram of a user clicking a preset special effect processing button.
  • a quick release and a slow release start button are set on an interface for playing video on the terminal device, and the user plays the video on the terminal device after clicking the corresponding button.
  • the video of the embodiment is automatically processed to perform fast-release or slow-release special effects processing.
  • step 202 performing motion quantity detection on the to-be-processed video according to the video special effect processing instruction, and determining a video frame in the to-be-processed video that needs to perform the slow-motion special effect processing;
  • the terminal device can automatically detect the motion quantity of the to-be-processed video during playback according to the above-mentioned video special effect processing instruction, and generally, for the fast moving picture in the video, in order to see the movement process or achieve the reverse effect of running fast and slow, it is necessary to The video is slow-acting, and for the video that is almost at rest in the video, in order to shorten the viewing time or avoid the user's impatience, the video needs to be processed quickly.
  • the terminal device can use the Motion Estimate and Motion Compensation (MEMC) technology to detect the motion amount of each frame in the video to be processed, that is, according to the motion variation of the picture content of each frame in the video. Find the fast moving frame and identify it as a video frame that requires slow effect processing.
  • MEMC Motion Estimate and Motion Compensation
  • the terminal device may perform motion quantity detection on the to-be-processed video according to the video special effect processing instruction, acquire motion vector modulus values of all preset blocks on each video frame of the to-be-processed video; and determine each of the videos.
  • a first block on the frame the first block is a preset block whose motion vector modulus is greater than a preset motion vector threshold; calculating the number of the first block and the video frame to which the first block belongs a first ratio of the number of all the preset blocks; determining whether the first ratio is greater than a first preset ratio threshold; if the first ratio is greater than the first preset ratio threshold, determining
  • the video frame to which the first block belongs is the video frame that needs to perform the slow-motion effect processing.
  • the terminal device obtains motion vector modulus values of all preset blocks on each video frame of the to-be-processed video by the MEMC technology, and the video is composed of multiple consecutive video frames, and each video frame can be divided into multiple preset regions.
  • Block, corresponding to each preset block a motion vector modulus value can be calculated, and a motion vector threshold value has been set in advance, and it can be considered that the preset block corresponding to the motion vector modulus value larger than the motion vector threshold value is the screen content.
  • the proportion of the first block in the video frame to which it belongs that is, the number of the first block and all the preset blocks on the video frame to which the first block belongs.
  • the first ratio of the quantity when the first ratio is greater than the first preset ratio threshold, indicates that the picture of the video frame to which the first block belongs is in a fast motion state, and therefore the video frame needs to be subjected to slow-motion special effects processing.
  • step 203 the video frame is subjected to frame interpolation processing according to a preset interpolation frame algorithm to implement slow-motion special effect processing on the to-be-processed video.
  • the terminal device can perform frame insertion processing on the video frame that needs to be subjected to slow-motion special effect processing according to the MEMC technology, so as to implement slow-release special effect processing on the to-be-processed video
  • the preset insertion frame algorithm may include inserting a frame. The multiple, and the correspondence between the number of inserted frames and the moving speed on the video frame.
  • the terminal device automatically performs motion quantity detection on the to-be-processed video in play according to the video special effect processing instruction, determines a video frame that needs to perform slow-motion special effect processing, and performs frame insertion processing on the video frame.
  • the terminal device automatically performs motion quantity detection on the to-be-processed video in play according to the video special effect processing instruction, determines a video frame that needs to perform slow-motion special effect processing, and performs frame insertion processing on the video frame.
  • the terminal device when the terminal device receives the video special effect processing instruction generated by the user clicking the quick release button, or clicking, or double-clicking, the playback is in progress.
  • the to-be-processed video is subjected to the fast-acting effect processing, and the terminal device performs motion quantity detection on the to-be-processed video according to the video special effect processing instruction, and acquires motion vectors of all preset blocks on each video frame of the to-be-processed video.
  • a modulus value determining a second block on each of the video frames, the second block being a preset block whose motion vector modulus is less than a preset motion vector threshold; calculating the number of the second block and a second ratio of the number of all the preset blocks on the video frame to which the second block belongs; determining whether the second ratio is greater than a second preset ratio threshold; if the second ratio is greater than the second Predetermining the ratio threshold, determining that the video frame to which the second block belongs is the video frame that needs to perform the fast-play special effect processing; and performing frame drawing processing on the video frame according to a preset frame drawing algorithm to implement For the stated Fast-release effects processing of pending videos.
  • the terminal device obtains the motion vector modulus values of all the preset blocks on each video frame of the video to be processed through the MEMC technology, and can consider that the preset region corresponding to the motion vector modulus value smaller than the preset motion vector threshold value Piece That is, the picture content is the second block of slow motion, and then the proportion of the second block in the video frame to which it belongs is calculated, that is, the number of the second block and all the pre-frames on the video frame to which the second block belongs. Setting a second ratio of the number of the blocks, when the second ratio is greater than the second preset ratio threshold, indicating that the picture of the video frame to which the second block belongs is in a slow motion state, so the video frame needs to be fast-released. Special effects processing.
  • the terminal device can perform frame-drawing processing on the video frame that needs to be processed by the fast-release special effect according to the MEMC technology, so as to implement fast-release special effect processing on the to-be-processed video
  • the preset frame-splitting algorithm may include the ratio of the frame-drawing frame, and The correspondence between the number of frames to be drawn and the speed of motion on the video frame.
  • FIG. 4 is a flowchart of a video special effect processing method according to an exemplary embodiment.
  • a video special effect processing method is used in a terminal device, for example, a smart phone, a computer, a tablet device, and a personal digital assistant.
  • Etc. which may be specifically performed by a central processing unit or other processing function component in the above device, including the following steps:
  • step 301 the video special effect processing instruction generated after the user performs a sliding operation on the interface of the to-be-processed video on the terminal device, the sliding operation includes sliding to the left indicating that the slow-motion special effect processing is performed. operating;
  • the slow motion effect is added to the video to be processed.
  • the user can perform a left sliding operation on the interface of playing the video, and the left sliding operation generates a corresponding video special effect.
  • the instruction is processed to trigger the terminal device to perform slow-motion special effect processing while playing the to-be-processed video.
  • FIG. 5 is a schematic diagram of a user performing a sliding operation on an interface for playing a video to be processed on a terminal device. As shown in FIG. 5, in a process of playing a video, if the user wants to add a fast-release or slow-release effect to the video, Just swipe right or left on the playback interface with your finger.
  • step 302 according to the video special effect processing instruction and the preset interpolation frame algorithm, the video frame is frame-interpolated from the video frame corresponding to the moment when the video special effect processing instruction is received, to implement the Slow effect processing of pending video.
  • the terminal device can obtain a video special effect processing instruction indicating that the slow effect processing is performed.
  • the terminal device starts the above-mentioned interpolation frame from the video frame corresponding to the time when the video special effect processing instruction is received. Processing, so that the video frame can be added to the subsequent video to add slow effect.
  • the terminal device may perform motion detection on the video without actively processing the video, but after receiving the video special effect processing instruction generated by the user's interaction operation, start to perform corresponding special effect processing on the processed video.
  • the terminal device performs slow-motion special effect processing on the video to be processed according to the video special effect processing instruction received during the video playing process, thereby realizing synchronization of the video playing and the slow-motion special effect processing, and improving the video special effect processing.
  • the terminal device when the terminal device receives the video special effect processing instruction generated after the user performs a rightward sliding operation on the interface for playing the to-be-processed video on the terminal device, Performing fast-acting special effects processing on the to-be-processed video during playback, and the terminal device calculates the video special effect processing instruction and the preset sampling frame according to the video
  • the method starts to perform frame drawing processing on the video frame from a video frame corresponding to the moment when the video special effect processing instruction is received, so as to implement fast-release special effect processing on the to-be-processed video.
  • the terminal device can obtain a video special effect processing instruction indicating that the fast-acting special effect processing is performed, and the terminal device starts the above-mentioned frame drawing from the video frame corresponding to the moment when the video special effect processing instruction is received. Processing, so that the video frame can be added to the subsequent video to add a fast-release effect.
  • the terminal device may perform motion detection on the video without actively processing the video, but after receiving the video special effect processing instruction generated by the user's interaction operation, start to perform corresponding special effect processing on the processed video.
  • FIG. 6 is a flowchart of a video special effect processing method according to an exemplary embodiment.
  • a video special effect processing method is used in a terminal device, for example, a smart phone, a computer, a tablet device, and a personal digital assistant.
  • Etc. which may be specifically performed by a central processing unit or other processing function component in the above device, including the following steps:
  • step 401 the video special effect processing instruction generated by the user after clicking the preset special effect processing button on the interface of the to-be-processed video on the terminal device is received, where the preset special effect processing button is used to provide the opening The pending video performs triggering of the slow-motion effect processing;
  • the difference between the embodiment and the method embodiment shown in FIG. 3 is that the video special effect processing instruction received by the terminal device is generated after the user clicks the preset special effect processing button on the interface of the terminal device that plays the to-be-processed video. At this time, during the video playing process, the user triggers the terminal device to start the special effect processing on the to-be-processed video during playback by clicking the preset special effect processing button.
  • This embodiment is an example of adding a slow-motion effect to a video to be processed.
  • step 402 according to the video special effect processing instruction and the preset interpolation frame algorithm, the video frame is frame-interpolated from the video frame corresponding to the moment when the video special effect processing instruction is received, to implement the Slow effect processing of pending video.
  • the terminal device can obtain a video special effect processing instruction indicating that the slow effect processing is performed.
  • the terminal device starts the above-mentioned interpolation frame from the video frame corresponding to the time when the video special effect processing instruction is received. Processing, so that the video frame can be added to the subsequent video to add slow effect.
  • the terminal device may perform motion detection on the video without actively processing the video, but after receiving the video special effect processing instruction generated by the user's interaction operation, start to perform corresponding special effect processing on the processed video.
  • FIG. 2 is a motion quantity of the user automatically detecting the video during the process of playing the to-be-processed video by the user clicking the preset special effect processing button before the terminal device plays the video, and According to the detection result, the video to be processed is subjected to fast-release or slow-release special effects processing, and in this embodiment, in the process of video playing, the user clicks the preset special effect processing button to trigger the video frame corresponding to the time when the terminal device receives the video special effect processing instruction. Start processing the video for fast-release or slow-motion effects. That is, the former is that the terminal device actively performs special effect processing, and the latter triggers the terminal device to perform special effect processing through interaction with the user.
  • the terminal device performs slow-motion special effect processing on the video to be processed according to the video special effect processing instruction received during the video playing process, thereby realizing synchronization of the video playing and the slow-motion special effect processing. Improve the efficiency of video effects processing and increase the fun of video playback.
  • the preset special effect processing button clicked by the user is used to provide a trigger for enabling the fast-playing special effect processing on the to-be-processed video
  • the terminal device according to the The video special effect processing instruction and the preset frame drawing algorithm start to perform frame drawing processing on the video frame from a video frame corresponding to the moment when the video special effect processing instruction is received, so as to implement a fast-play effect on the to-be-processed video. deal with.
  • the terminal device can obtain a video special effect processing instruction indicating that the fast-acting special effect processing is performed, and the terminal device starts the above-mentioned frame drawing from the video frame corresponding to the moment when the video special effect processing instruction is received. Processing, so that the video frame can be added to the subsequent video to add a fast-release effect.
  • the terminal device may perform motion detection on the video without actively processing the video, but after receiving the video special effect processing instruction generated by the user's interaction operation, start to perform corresponding special effect processing on the processed video.
  • FIG. 7 is a block diagram of a video effect processing apparatus according to an exemplary embodiment.
  • the apparatus includes a receiving unit 11 and a special effect processing unit 12.
  • the receiving unit 11 is configured to receive a video special effect processing instruction
  • the effect processing unit 12 is configured to perform fast-release or slow-release special effect processing on the to-be-processed video according to the video special effect processing instruction in the process of playing the to-be-processed video.
  • the receiving unit 11 is configured to receive the video special effect processing instruction generated after the user clicks the preset special effect processing button.
  • FIG. 8 is a block diagram of a video effect processing apparatus according to an exemplary embodiment.
  • the structure of the apparatus is based on the block diagram of the apparatus shown in FIG. 7, and the effect processing unit 12 further includes: a slow motion detecting module 21 and a frame insert processing module 22.
  • the preset special effect processing button is configured to provide a trigger for performing the slow-motion special effect processing on the to-be-processed video
  • the slow-motion motion detecting module 21 is configured to perform, according to the video special effect processing instruction,
  • the to-be-processed video performs motion quantity detection, and determines a video frame in the to-be-processed video that needs to perform the slow-motion special effect processing
  • the interpolation frame processing module 22 is configured to insert the video frame according to a preset interpolation frame algorithm. Frame processing to implement slow-motion special effects processing on the to-be-processed video.
  • FIG. 9 is a block diagram of a video effect processing apparatus according to an exemplary embodiment.
  • the slow motion detection module 21 further includes: a modulus value obtaining submodule 211, a first determining submodule 212, a calculating submodule 213, and a determining submodule. 214 and slow play frame determination sub-module 215.
  • the modulus value obtaining sub-module 211 is configured to perform motion quantity detection on the to-be-processed video according to the video special effect processing instruction, and acquire all preset blocks on each video frame of the to-be-processed video.
  • a motion vector modulus configured to determine a first block on each of the video frames, the first region The block is a preset block whose motion vector modulus is greater than a preset motion vector threshold;
  • the calculation sub-module 213 is configured to calculate the number of the first block and all presets on the video frame to which the first block belongs a first ratio of the number of the blocks;
  • the determining sub-module 214 is configured to determine whether the first ratio is greater than a first preset ratio threshold;
  • the slow-motion frame determining sub-module 215 is configured to be at the first ratio When the first preset ratio threshold is greater than the threshold, the video frame to which the first block belongs is determined to be the video frame that needs to perform the slow-motion effect processing.
  • FIG. 10 is a block diagram of a video effect processing apparatus according to an exemplary embodiment.
  • the special effect processing unit 12 further includes: a fast release motion detecting module 31 and a frame drawing processing module 32.
  • the preset special effect processing button is configured to provide a trigger for performing the fast-acting special effect processing on the to-be-processed video;
  • the fast-release motion detecting module 31 is configured to perform, according to the video special effect processing instruction
  • the video to be processed is subjected to motion quantity detection, and the video frame that needs to be processed by the fast-play effect is determined in the to-be-processed video.
  • the frame-drawing processing module 32 is configured to pump the video frame according to a preset frame-plotting algorithm. Frame processing to implement fast-release effect processing on the to-be-processed video.
  • FIG. 11 is a block diagram of a video special effects processing apparatus according to an exemplary embodiment.
  • the fast-release motion detecting module 31 further includes: a modulus value obtaining sub-module 311, a second determining sub-module 312, a calculating sub-module 313, and a determining sub-module. 314 and the fast play frame determination sub-module 315.
  • the modulus value obtaining sub-module 311 is configured to perform motion quantity detection on the to-be-processed video according to the video special effect processing instruction, and acquire all preset blocks on each video frame of the to-be-processed video.
  • a motion vector modulus a second determining sub-module 312 configured to determine a second block on each of the video frames, the second block being a preset having a motion vector modulus less than a preset motion vector threshold a block; a calculation sub-module 313 configured to calculate a second ratio of the number of the second block to the number of all preset blocks on the video frame to which the second block belongs; the determining sub-module 314 The method is configured to determine whether the second ratio is greater than a second preset ratio threshold; the fast-release frame determining sub-module 315 is configured to determine, when the second ratio is greater than the second preset ratio threshold
  • the video frame to which the second block belongs is the video frame that needs to perform the fast-play special effect processing.
  • the receiving unit 11 is configured to receive the video special effect processing instruction generated after the sliding operation is performed on the interface of the user to play the video to be processed on the terminal device.
  • the sliding operation includes a leftward sliding operation indicating that the slow-motion special effect processing is performed; the special effect processing unit 12 is configured to receive the video special effect processing instruction according to the video special effect processing instruction and the preset interpolation frame algorithm.
  • the video frame corresponding to the time begins to perform frame insertion processing on the video frame to implement slow-motion special effect processing on the to-be-processed video.
  • the sliding operation includes a rightward sliding operation indicating that the fast-acting special effect processing is performed; the special effect processing unit 12 is configured to receive the video special effect processing instruction according to the video special effect processing instruction and the preset frame drawing algorithm.
  • the video frame corresponding to the time begins to perform frame drawing processing on the video frame to implement a fast-play effect on the to-be-processed video. deal with.
  • the receiving unit 11 is configured to receive the video special effect processing instruction generated after the user clicks the preset special effect processing button on the interface of the user to play the to-be-processed video on the terminal device.
  • the preset effect processing button is configured to provide a trigger for performing the slow-motion special effect processing on the to-be-processed video;
  • the special effect processing unit 12 is configured to: according to the video special effect processing instruction and the preset interpolation frame algorithm, The video frame corresponding to the time when the video effect processing instruction is received begins to perform frame insertion processing on the video frame to implement slow-motion special effect processing on the to-be-processed video.
  • the preset special effect processing button is configured to provide a trigger for performing the fast-playing special effect processing on the to-be-processed video;
  • the special effect processing unit 12 is configured to: according to the video special effect processing instruction and a preset frame drawing algorithm, The video frame corresponding to the moment when the video special effect processing instruction is received begins to perform frame drawing processing on the video frame to implement fast-release special effect processing on the to-be-processed video.
  • FIG. 12 is a block diagram of a terminal device according to an exemplary embodiment.
  • the terminal device 800 can be a smart phone, a computer, a tablet device, a personal digital assistant, or the like.
  • the terminal device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, and an input/output (I/O). Interface 812, sensor component 814, and communication component 816.
  • Processing component 802 typically controls the overall operation of terminal device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
  • processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • the memory 804 is configured to store various types of data to support operation at the terminal device 800. Examples of such data include instructions for any application or method operating on terminal device 800, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic memory, flash memory, disk or optical disk.
  • SRAM static random access memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • PROM Programmable Red-Only Memory
  • ROM Read-Only Memory
  • Power component 806 provides power to various components of terminal device 800.
  • Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal device 800.
  • the multimedia component 808 includes a screen that provides an output interface between the terminal device 800 and a user.
  • the screen may include a liquid crystal display (LCD) and a touch surface. Board (TouchPanel, referred to as: TP).
  • TP touch surface. Board
  • the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel.
  • the touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the terminal device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data.
  • Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 810 is configured to output and/or input an audio signal.
  • the audio component 810 includes a microphone (Microphone, MIC for short) that is configured to receive an external audio signal when the terminal device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
  • the audio component 810 also includes a speaker for outputting an audio signal.
  • the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 814 includes one or more sensors for providing terminal device 800 with a status assessment of various aspects.
  • sensor component 814 can detect an open/closed state of terminal device 800, a relative positioning of components, such as the display and keypad of terminal device 800, and sensor component 814 can also detect terminal device 800 or terminal device 800.
  • the position of the component changes, the presence or absence of contact of the user with the terminal device 800, the orientation or acceleration/deceleration of the terminal device 800, and the temperature change of the terminal device 800.
  • Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • the sensor component 814 can also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or a Charge-coupled Device (CCD) image sensor, for use in imaging applications.
  • CMOS Complementary Metal Oxide Semiconductor
  • CCD Charge-coupled Device
  • the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between terminal device 800 and other devices.
  • the terminal device 800 can access a wireless network based on a communication standard, such as Wireless-Fidelity (WiFi), 2G or 3G, or a combination thereof.
  • communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a Near Field Communication (NFC) module to facilitate short range communication.
  • the NFC module can be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (Bluetooth, Abbreviation: BT) technology and other technologies to achieve.
  • RFID Radio Frequency Identification
  • IrDA Infrared Data Association
  • UWB Ultra Wideband
  • Bluetooth Bluetooth, Abbreviation: BT
  • the terminal device 800 may be configured by one or more Application Specific Integrated Circuits (ASICs) and digital signal processors (Ddigital Signal Processors). Weighing: DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), A controller, microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • ASICs Application Specific Integrated Circuits
  • DSP Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • a controller, microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by the processor 820 of the terminal device 800 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, or the like. Floppy disks and optical data storage devices, etc.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform a video special effect processing method, the method comprising: receiving a video special effect processing instruction During the process of playing the video to be processed, the video to be processed is subjected to fast-release or slow-release special effects according to the video special effect processing instruction.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

本公开是关于一种视频特效处理方法、装置及终端设备。本公开的视频特效处理方法,包括:接收视频特效处理指令;在播放待处理视频的过程中,根据所述视频特效处理指令对所述待处理视频进行快放或慢放特效处理。本公开实现视频播放和特效处理的同步进行,提高视频特效处理的效率,并增加视频播放的趣味性。

Description

视频特效处理方法、装置及终端设备
本申请基于申请号为201510541656.9、申请日为2015年08月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及视频处理,尤其涉及视频特效处理方法、装置及终端设备。
背景技术
相关技术中,用户如果希望对视频增加快放或慢放的特效,需要在终端设备上安装视频编辑软件,通过视频编辑软件对视频进行特效处理的操作,然后保存为新的视频副本,此时用户在终端设备上播放该视频副本,就可以观赏到增加了快放或慢放特效的视频效果。
发明内容
为克服相关技术中存在的问题,本公开提供一种视频特效处理方法、装置及终端设备。
根据本公开实施例的第一方面,提供一种视频特效处理方法,包括:
接收视频特效处理指令;
在播放待处理视频的过程中,根据所述视频特效处理指令对所述待处理视频进行快放或慢放特效处理。
根据本公开实施例的第二方面,提供一种视频特效处理装置,包括:
接收单元,被配置为接收视频特效处理指令;
特效处理单元,被配置为在播放待处理视频的过程中,根据所述视频特效处理指令对所述待处理视频进行快放或慢放特效处理。
本公开的实施例提供的技术方案可以包括以下有益效果:通过接收的视频特效处理指令对播放中的待处理视频进行快放或慢放特效处理,实现视频播放和特效处理的同步进行,提高视频特效处理的效率,并增加视频播放的趣味性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是根据一示例性实施例示出的一种视频特效处理方法的流程图;
图2是根据一示例性实施例示出的一种视频特效处理方法的流程图;
图3为用户点击预设特效处理按键的示意图;
图4是根据一示例性实施例示出的一种视频特效处理方法的流程图;
图5为用户在终端设备上播放待处理视频的界面上进行滑动操作的示意图;
图6是根据一示例性实施例示出的一种视频特效处理方法的流程图;
图7是根据一示例性实施例示出的一种视频特效处理装置框图;
图8是根据一示例性实施例示出的一种视频特效处理装置框图;
图9是根据一示例性实施例示出的一种视频特效处理装置框图;
图10是根据一示例性实施例示出的一种视频特效处理装置框图;
图11是根据一示例性实施例示出的一种视频特效处理装置框图;
图12是根据一示例性实施例示出的一种终端设备的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
图1是根据一示例性实施例示出的一种视频特效处理方法的流程图,如图1所示,视频特效处理方法用于终端设备中,例如:智能手机,计算机,平板设备,个人数字助理等,其具体可以是上述设备中的中央处理器或其他具有处理功能的部件来执行,包括以下步骤:
在步骤101中,接收视频特效处理指令;
通常用户在终端设备上播放视频时,为了增加趣味希望可以对视频增加一些特效,例如,视频内容是一只兔子飞奔在草地上,正常情况下视频只是显示兔子飞奔的画面,如果能够对兔子飞奔的部分进行慢放,就可以清晰地看到兔子飞奔过程中的每个微动作,这样用户观赏视频就可以获取到看电影大片的感觉;又例如,监控视频中大段的内容是画面呈静止状态,长时间没有变化,此时用户在观看视频时就希望可以对监控视频进行快放,这样就可以缩短观看视频的时间。本公开可以直接在视频播放的过程中对视频进行快放或慢放的特效处理。一般情况下,终端设备是按照正常的速率解码并播放视频的,但用户如果希望对视频进行快放或慢放的特效处理,可以在播放视频之前提前打开特效处理的功能,或者在视频播放的过程中以交互方式向终端设备输入特效处理的指令,这样的操作生成的视频特效处理指令可以触发终端设备对待处理视频进行特效处理。
在步骤102中,在播放待处理视频的过程中,根据所述视频特效处理指令对所述待处理视频进行快放或慢放特效处理。
通过视频特效处理指令的触发,终端设备一方面可以开启对待处理视频的快放或慢放特效处理,另一方面可以根据视频特效处理指令获取到对待处理视频进行特效处理的指示信息,例如,用户可以通过点击预设的特效处理按键,该按键可以是智能终端的触控屏上的虚拟按键,也可以是终端设备的实体按键,其可以包括专用的快放或慢放两个按键,也可以只有一个按键,通过单击或双击的不同点击方式产生快放或慢放的视频特效处理指令。这样终端设备可以根据视频特效处理指令对待处理视频进行与视频特效处理指令对应的特效处理。
本实施例的视频特效处理方法,通过接收的视频特效处理指令对播放中的待处理视频进行快放或慢放特效处理,实现视频播放和特效处理的同步进行,提高视频特效处理的效率,并增加视频播放的趣味性。
图2是根据一示例性实施例示出的一种视频特效处理方法的流程图,如图2所示,视频特效处理方法用于终端设备中,例如:智能手机,计算机,平板设备,个人数字助理等,其具体可以是上述设备中的中央处理器或其他具有处理功能的部件来执行,包括以下步骤:
在步骤201中,接收用户点击预设特效处理按键后产生的视频特效处理指令,所述预设特效处理按键用于提供开启对待处理视频进行慢放特效处理的触发;
本实施例以对待处理视频增加慢放特效为例,用户在播放视频之前就通过点击预设特效处理按键产生相应的视频特效处理指令,以触发终端设备在播放待处理视频的过程中进行慢放特效处理。预设特效处理按键可以是智能终端的触控屏上的虚拟按键,也可以是终端设备的实体按键,其可以包括专用的快放或慢放两个按键,也可以只有一个按键,通过单击或双击的不同点击方式产生快放或慢放的视频特效处理指令。用户在做出了点击慢放按键,或单击,或双击的操作后,终端设备根据该操作接收到对应于慢放特效处理的视频特效处理指令。图3为用户点击预设特效处理按键的示意图,如图3所示,终端设备播放视频的界面上设置了快放和慢放的启动按键,用户点击相应的按键后,在终端设备播放视频的过程中,就会采用本实施例的方法自动对待处理视频进行快放或慢放特效处理。
在步骤202中,根据所述视频特效处理指令对所述待处理视频进行运动量检测,确定所述待处理视频中需要进行所述慢放特效处理的视频帧;
终端设备可以根据上述视频特效处理指令自动对播放中的待处理视频进行运动量检测,通常针对视频中快速运动的画面,为了看清楚运动的过程或达到快跑慢放的反效果,就需要对该视频做慢放特效处理,而对于视频中几乎处于静止状态的画面,为了缩短观看时间或避免用户的不耐烦情绪,就需要对该视频做快放特效处理。基于此,终端设备可以采用动估计和运动补偿(Motion Estimate and Motion Compensation,简称:MEMC)技术对待处理视频中每个帧的运动量进行检测,即根据视频中各个帧的画面内容的运动变化的快慢,找出快速运动的帧,将其确定为需要进行慢放特效处理的视频帧。
终端设备可以根据所述视频特效处理指令对所述待处理视频进行运动量检测,获取所述待处理视频的每个视频帧上的所有预设区块的运动向量模值;确定每个所述视频帧上的第一区块,所述第一区块为运动向量模值大于预设运动向量阈值的预设区块;计算所述第一区块的数量与所述第一区块所属视频帧上的所有预设区块的数量的第一比值;判断所述第一比值是否大于第一预设占比阈值;若所述第一比值大于所述第一预设占比阈值,则确定所述第一区块所属视频帧为所述需要进行所述慢放特效处理的视频帧。
终端设备通过MEMC技术获取待处理视频的每个视频帧上的所有预设区块的运动向量模值,视频由多个连续的视频帧组成,每个视频帧又可以划分成多个预设区块,对应每个预设区块可以计算出一个运动向量模值,预先已经设置好了一个运动向量阈值,可以认为凡是大于该运动向量阈值的运动向量模值对应的预设区块就是画面内容为快速运动的第一区块,然后计算该第一区块在其所属视频帧中的数量占比,即第一区块的数量与第一区块所属视频帧上的所有预设区块的数量的第一比值,当第一比值大于第一预设占比阈值,表明第一区块所属的视频帧的画面处于快速运动状态,因此就需要对该视频帧进行慢放特效处理。
在步骤203中,根据预设插帧算法对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
通过上述步骤,终端设备就可以根据MEMC技术通过对需要进行慢放特效处理的视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理,预设插帧算法可以包括插帧的倍数,以及插帧的数量与视频帧上运动速度的对应关系等。
本实施例的视频特效处理方法,终端设备通过根据视频特效处理指令自动对播放中的待处理视频进行运动量检测,以确定需要进行慢放特效处理的视频帧,并对该视频帧进行插帧处理,实现视频播放和慢放特效处理的同步进行,提高视频特效处理的效率,并增加视频播放的趣味性。
进一步的,与图2所示的方法实施例不同的是:当终端设备接收到的是用户点击快放按键,或单击,或双击的操作后产生的视频特效处理指令时,是对播放中的待处理视频进行快放特效处理,终端设备根据所述视频特效处理指令对所述待处理视频进行运动量检测,获取所述待处理视频的每个视频帧上的所有预设区块的运动向量模值;确定每个所述视频帧上的第二区块,所述第二区块为运动向量模值小于预设运动向量阈值的预设区块;计算所述第二区块的数量与所述第二区块所属视频帧上的所有预设区块的数量的第二比值;判断所述第二比值是否大于第二预设占比阈值;若所述第二比值大于所述第二预设占比阈值,则确定所述第二区块所属视频帧为所述需要进行所述快放特效处理的视频帧;根据预设抽帧算法对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
如上所述,终端设备通过MEMC技术获取待处理视频的每个视频帧上的所有预设区块的运动向量模值,可以认为凡是小于预设运动向量阈值的运动向量模值对应的预设区块 就是画面内容为慢速运动的第二区块,然后计算该第二区块在其所属视频帧中的数量占比,即第二区块的数量与第二区块所属视频帧上的所有预设区块的数量的第二比值,当第二比值大于第二预设占比阈值,表明第二区块所属的视频帧的画面处于慢速运动状态,因此就需要对该视频帧进行快放特效处理。终端设备就可以根据MEMC技术通过对需要进行快放特效处理的视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理,预设抽帧算法可以包括抽帧的比例,以及抽帧的数量与视频帧上运动速度的对应关系等。
图4是根据一示例性实施例示出的一种视频特效处理方法的流程图,如图4所示,视频特效处理方法用于终端设备中,例如:智能手机,计算机,平板设备,个人数字助理等,其具体可以是上述设备中的中央处理器或其他具有处理功能的部件来执行,包括以下步骤:
在步骤301中,接收用户在终端设备上播放所述待处理视频的界面上进行滑动操作后产生的所述视频特效处理指令,所述滑动操作包括表示进行所述慢放特效处理的向左滑动操作;
本实施例以对待处理视频增加慢放特效为例,用户在播放视频的过程中,可以用手指在播放视频的界面上做出向左的滑动操作,该向左的滑动操作产生相应的视频特效处理指令,以触发终端设备在播放待处理视频的同时进行慢放特效处理。图5为用户在终端设备上播放待处理视频的界面上进行滑动操作的示意图,如图5所示,终端设备在播放视频的过程中,用户如果希望对视频增加快放或慢放的特效,就直接用手指在播放界面上向右或向左的滑动。
在步骤302中,根据所述视频特效处理指令和预设插帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
通过视频播放过程中与用户的交互,终端设备可以获取到指示进行慢放特效处理的视频特效处理指令,此时终端设备就从接收到视频特效处理指令的时刻对应的视频帧开始进行上述插帧处理,这样就可以对所述视频帧开始往后的视频增加慢放特效。本实施例终端设备可以不用主动对待处理视频进行运动量检测,而是在接收到用户的交互操作产生的视频特效处理指令后,开始对待处理视频进行相应的特效处理。
本实施例的视频特效处理方法,终端设备通过根据在视频播放过程中接收到的视频特效处理指令对待处理视频进行慢放特效处理,实现视频播放和慢放特效处理的同步进行,提高视频特效处理的效率,并增加视频播放的趣味性。
进一步的,与图4所示的方法实施例不同的是:当终端设备接收到的是用户在终端设备上播放待处理视频的界面上进行向右滑动操作后产生的视频特效处理指令时,是对播放中的待处理视频进行快放特效处理,终端设备根据所述视频特效处理指令和预设抽帧算 法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
通过视频播放过程中与用户的交互,终端设备可以获取到指示进行快放特效处理的视频特效处理指令,此时终端设备就从接收到视频特效处理指令的时刻对应的视频帧开始进行上述抽帧处理,这样就可以对所述视频帧开始往后的视频增加快放特效。本实施例终端设备可以不用主动对待处理视频进行运动量检测,而是在接收到用户的交互操作产生的视频特效处理指令后,开始对待处理视频进行相应的特效处理。
图6是根据一示例性实施例示出的一种视频特效处理方法的流程图,如图6所示,视频特效处理方法用于终端设备中,例如:智能手机,计算机,平板设备,个人数字助理等,其具体可以是上述设备中的中央处理器或其他具有处理功能的部件来执行,包括以下步骤:
在步骤401中,接收用户在终端设备上播放所述待处理视频的界面上点击预设特效处理按键后产生的所述视频特效处理指令,所述预设特效处理按键用于提供开启对所述待处理视频进行所述慢放特效处理的触发;
本实施例与图3所示的方法实施例的区别在于,终端设备接收的视频特效处理指令,是用户在终端设备上播放所述待处理视频的界面上点击预设特效处理按键后产生的,此时正处于视频播放过程中,用户点击预设特效处理按键后触发终端设备开始对播放中的待处理视频进行特效处理。本实施例是以对待处理视频增加慢放特效为例。
在步骤402中,根据所述视频特效处理指令和预设插帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
通过视频播放过程中与用户的交互,终端设备可以获取到指示进行慢放特效处理的视频特效处理指令,此时终端设备就从接收到视频特效处理指令的时刻对应的视频帧开始进行上述插帧处理,这样就可以对所述视频帧开始往后的视频增加慢放特效。本实施例终端设备可以不用主动对待处理视频进行运动量检测,而是在接收到用户的交互操作产生的视频特效处理指令后,开始对待处理视频进行相应的特效处理。
本实施例与图2所示方法实施例的区别在于,图2是在终端设备播放视频前,用户点击预设特效处理按键触发终端设备在播放待处理视频的过程中自动检测视频的运动量,并根据检测结果对待处理视频进行快放或慢放特效处理,而本实施例是在视频播放的过程中,用户点击预设特效处理按键触发终端设备从接收到视频特效处理指令的时刻对应的视频帧开始对待处理视频进行快放或慢放特效处理。即前者是终端设备主动进行特效处理,后者是通过与用户的交互触发终端设备进行特效处理。
本实施例的视频特效处理方法,终端设备通过根据在视频播放过程中接收到的视频特效处理指令对待处理视频进行慢放特效处理,实现视频播放和慢放特效处理的同步进行, 提高视频特效处理的效率,并增加视频播放的趣味性。
进一步的,与图6所示的方法实施例不同的是:用户点击的预设特效处理按键用于提供开启对所述待处理视频进行所述快放特效处理的触发,此时终端设备根据所述视频特效处理指令和预设抽帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
通过视频播放过程中与用户的交互,终端设备可以获取到指示进行快放特效处理的视频特效处理指令,此时终端设备就从接收到视频特效处理指令的时刻对应的视频帧开始进行上述抽帧处理,这样就可以对所述视频帧开始往后的视频增加快放特效。本实施例终端设备可以不用主动对待处理视频进行运动量检测,而是在接收到用户的交互操作产生的视频特效处理指令后,开始对待处理视频进行相应的特效处理。
图7是根据一示例性实施例示出的一种视频特效处理装置框图。参照图7,该装置包括接收单元11和特效处理单元12。
该接收单元11,被配置为接收视频特效处理指令;
该特效处理单元12,被配置为在播放待处理视频的过程中,根据所述视频特效处理指令对所述待处理视频进行快放或慢放特效处理。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
进一步的,接收单元11,被配置为接收用户点击预设特效处理按键后产生的所述视频特效处理指令。
图8是根据一示例性实施例示出的一种视频特效处理装置框图。参照图8,该装置的结构在图7所示装置框图的基础上,特效处理单元12还包括:慢放运动检测模块21和插帧处理模块22。本实施例中,所述预设特效处理按键用于提供开启对所述待处理视频进行所述慢放特效处理的触发;慢放运动检测模块21,被配置为根据所述视频特效处理指令对所述待处理视频进行运动量检测,确定所述待处理视频中需要进行所述慢放特效处理的视频帧;插帧处理模块22,被配置为根据预设插帧算法对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
进一步的,图9是根据一示例性实施例示出的一种视频特效处理装置框图。参照图9,该装置的结构在图8所示装置框图的基础上,慢放运动检测模块21还包括:模值获取子模块211,第一确定子模块212,计算子模块213,判断子模块214和慢放帧确定子模块215。本实施例中,模值获取子模块211,被配置为根据所述视频特效处理指令对所述待处理视频进行运动量检测,获取所述待处理视频的每个视频帧上的所有预设区块的运动向量模值;第一确定子模块212,被配置为确定每个所述视频帧上的第一区块,所述第一区 块为运动向量模值大于预设运动向量阈值的预设区块;计算子模块213,被配置为计算所述第一区块的数量与所述第一区块所属视频帧上的所有预设区块的数量的第一比值;判断子模块214,被配置为判断所述第一比值是否大于第一预设占比阈值;慢放帧确定子模块215,被配置为在所述第一比值大于所述第一预设占比阈值时,确定所述第一区块所属视频帧为所述需要进行所述慢放特效处理的视频帧。
图10是根据一示例性实施例示出的一种视频特效处理装置框图。参照图10,该装置的结构在图7所示装置框图的基础上,特效处理单元12还包括:快放运动检测模块31和抽帧处理模块32。本实施例中,所述预设特效处理按键用于提供开启对所述待处理视频进行所述快放特效处理的触发;快放运动检测模块31,被配置为根据所述视频特效处理指令对所述待处理视频进行运动量检测,确定所述待处理视频中需要进行所述快放特效处理的视频帧;抽帧处理模块32,被配置为根据预设抽帧算法对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
进一步的,图11是根据一示例性实施例示出的一种视频特效处理装置框图。参照图11,该装置的结构在图10所示装置框图的基础上,快放运动检测模块31还包括:模值获取子模块311,第二确定子模块312,计算子模块313,判断子模块314和快放帧确定子模块315。本实施例中,模值获取子模块311,被配置为根据所述视频特效处理指令对所述待处理视频进行运动量检测,获取所述待处理视频的每个视频帧上的所有预设区块的运动向量模值;第二确定子模块312,被配置为确定每个所述视频帧上的第二区块,所述第二区块为运动向量模值小于预设运动向量阈值的预设区块;计算子模块313,被配置为计算所述第二区块的数量与所述第二区块所属视频帧上的所有预设区块的数量的第二比值;判断子模块314,被配置为判断所述第二比值是否大于第二预设占比阈值;快放帧确定子模块315,被配置为在所述第二比值大于所述第二预设占比阈值时,确定所述第二区块所属视频帧为所述需要进行所述快放特效处理的视频帧。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
进一步的,接收单元11,被配置为接收用户在终端设备上播放所述待处理视频的界面上进行滑动操作后产生的所述视频特效处理指令。
所述滑动操作包括表示进行所述慢放特效处理的向左滑动操作;特效处理单元12,被配置为根据所述视频特效处理指令和预设插帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
所述滑动操作包括表示进行所述快放特效处理的向右滑动操作;特效处理单元12,被配置为根据所述视频特效处理指令和预设抽帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效 处理。
进一步的,接收单元11,被配置为接收用户在终端设备上播放所述待处理视频的界面上点击预设特效处理按键后产生的所述视频特效处理指令。
所述预设特效处理按键用于提供开启对所述待处理视频进行所述慢放特效处理的触发;特效处理单元12,被配置为根据所述视频特效处理指令和预设插帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
所述预设特效处理按键用于提供开启对所述待处理视频进行所述快放特效处理的触发;特效处理单元12,被配置为根据所述视频特效处理指令和预设抽帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
图12是根据一示例性实施例示出的一种终端设备的框图。例如,终端设备800可以是智能手机,计算机,平板设备,个人数字助理等。
参照图12,终端设备800可以包括以下一个或多个组件:处理组件802,存储器804,电力组件806,多媒体组件808,音频组件810,输入/输出(input/output,简称:I/O)的接口812,传感器组件814,以及通信组件816。
处理组件802通常控制终端设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。
存储器804被配置为存储各种类型的数据以支持在终端设备800的操作。这些数据的示例包括用于在终端设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,简称:SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称:EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,简称:EPROM),可编程只读存储器(Programmable Red-Only Memory,简称:PROM),只读存储器(Read-Only Memory,简称:ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件806为终端设备800的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为终端设备800生成、管理和分配电力相关联的组件。
多媒体组件808包括在所述终端设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(Liquid Crystal Display,简称:LCD)和触摸面 板(TouchPanel,简称:TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当终端设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(Microphone,简称:MIC),当终端设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件814包括一个或多个传感器,用于为终端设备800提供各个方面的状态评估。例如,传感器组件814可以检测到终端设备800的打开/关闭状态,组件的相对定位,例如所述组件为终端设备800的显示器和小键盘,传感器组件814还可以检测终端设备800或终端设备800一个组件的位置改变,用户与终端设备800接触的存在或不存在,终端设备800方位或加速/减速和终端设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,简称:CMOS)或电荷耦合元件(Charge-coupled Device,简称:CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于终端设备800和其他设备之间有线或无线方式的通信。终端设备800可以接入基于通信标准的无线网络,如无线保真(WIreless-Fidelity,简称:WiFi),2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(Near Field Communication,简称:NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(Radio Frequency Identification,简称:RFID)技术,红外数据协会(Infrared Data Association,简称:IrDA)技术,超宽带(Ultra Wideband,简称:UWB)技术,蓝牙(Bluetooth,简称:BT)技术和其他技术来实现。
在示例性实施例中,终端设备800可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称:ASIC)、数字信号处理器(Ddigital Signal Processor,简 称:DSP)、数字信号处理设备(Digital Signal Processing Device,简称:DSPD)、可编程逻辑器件(Programmable Logic Device,简称:PLD)、现场可编程门阵列(Field Programmable Gate Array,简称:FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由终端设备800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(Random Access Memory,简称:RAM)、只读光盘(Compact Disc Read-Only Memory,简称:CD-ROM)、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种视频特效处理方法,所述方法包括:接收视频特效处理指令;在播放待处理视频的过程中,根据所述视频特效处理指令对所述待处理视频进行快放或慢放特效处理。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (25)

  1. 一种视频特效处理方法,其特征在于,包括:
    接收视频特效处理指令;
    在播放待处理视频的过程中,根据所述视频特效处理指令对所述待处理视频进行快放或慢放特效处理。
  2. 根据权利要求1所述的方法,其特征在于,所述接收视频特效处理指令,包括:
    接收用户点击预设特效处理按键后产生的所述视频特效处理指令。
  3. 根据权利要求2所述的方法,其特征在于,所述预设特效处理按键用于提供开启对所述待处理视频进行所述慢放特效处理的触发;
    所述根据所述视频特效处理指令对所述待处理视频进行慢放特效处理,包括:
    根据所述视频特效处理指令对所述待处理视频进行运动量检测,确定所述待处理视频中需要进行所述慢放特效处理的视频帧;
    根据预设插帧算法对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述视频特效处理指令对所述待处理视频进行运动量检测,确定所述待处理视频中需要进行所述慢放特效处理的视频帧,包括:
    根据所述视频特效处理指令对所述待处理视频进行运动量检测,获取所述待处理视频的每个视频帧上的所有预设区块的运动向量模值;
    确定每个所述视频帧上的第一区块,所述第一区块为运动向量模值大于预设运动向量阈值的预设区块;
    计算所述第一区块的数量与所述第一区块所属视频帧上的所有预设区块的数量的第一比值;
    判断所述第一比值是否大于第一预设占比阈值;
    若所述第一比值大于所述第一预设占比阈值,则确定所述第一区块所属视频帧为所述需要进行所述慢放特效处理的视频帧。
  5. 根据权利要求2所述的方法,其特征在于,所述预设特效处理按键用于提供开启对所述待处理视频进行所述快放特效处理的触发;
    所述根据所述视频特效处理指令对所述待处理视频进行快放特效处理,包括:
    根据所述视频特效处理指令对所述待处理视频进行运动量检测,确定所述待处理视频中需要进行所述快放特效处理的视频帧;
    根据预设抽帧算法对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述视频特效处理指令对所述待处理视频进行运动量检测,确定所述待处理视频中需要进行所述快放特效处理的视频 帧,包括:
    根据所述视频特效处理指令对所述待处理视频进行运动量检测,获取所述待处理视频的每个视频帧上的所有预设区块的运动向量模值;
    确定每个所述视频帧上的第二区块,所述第二区块为运动向量模值小于预设运动向量阈值的预设区块;
    计算所述第二区块的数量与所述第二区块所属视频帧上的所有预设区块的数量的第二比值;
    判断所述第二比值是否大于第二预设占比阈值;
    若所述第二比值大于所述第二预设占比阈值,则确定所述第二区块所属视频帧为所述需要进行所述快放特效处理的视频帧。
  7. 根据权利要求1所述的方法,其特征在于,所述接收视频特效处理指令,包括:
    接收用户在终端设备上播放所述待处理视频的界面上进行滑动操作后产生的所述视频特效处理指令。
  8. 根据权利要求7所述的方法,其特征在于,所述滑动操作包括表示进行所述慢放特效处理的向左滑动操作;
    所述根据所述视频特效处理指令对所述待处理视频进行慢放特效处理,包括:
    根据所述视频特效处理指令和预设插帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
  9. 根据权利要求7所述的方法,其特征在于,所述滑动操作包括表示进行所述快放特效处理的向右滑动操作;
    所述根据所述视频特效处理指令对所述待处理视频进行快放特效处理,包括:
    根据所述视频特效处理指令和预设抽帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
  10. 根据权利要求1所述的方法,其特征在于,所述接收视频特效处理指令,包括:
    接收用户在终端设备上播放所述待处理视频的界面上点击预设特效处理按键后产生的所述视频特效处理指令。
  11. 根据权利要求10所述的方法,其特征在于,所述预设特效处理按键用于提供开启对所述待处理视频进行所述慢放特效处理的触发;
    所述根据所述视频特效处理指令对所述待处理视频进行慢放特效处理,包括:
    根据所述视频特效处理指令和预设插帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
  12. 根据权利要求10所述的方法,其特征在于,所述预设特效处理按键用于提供开 启对所述待处理视频进行所述快放特效处理的触发;
    所述根据所述视频特效处理指令对所述待处理视频进行快放特效处理,包括:
    根据所述视频特效处理指令和预设抽帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
  13. 一种视频特效处理装置,其特征在于,包括:
    接收单元,被配置为接收视频特效处理指令;
    特效处理单元,被配置为在播放待处理视频的过程中,根据所述视频特效处理指令对所述待处理视频进行快放或慢放特效处理。
  14. 根据权利要求13所述的装置,其特征在于,所述接收单元,被配置为接收用户点击预设特效处理按键后产生的所述视频特效处理指令。
  15. 根据权利要求14所述的装置,其特征在于,所述预设特效处理按键用于提供开启对所述待处理视频进行所述慢放特效处理的触发;
    所述特效处理单元,包括:
    慢放运动检测模块,被配置为根据所述视频特效处理指令对所述待处理视频进行运动量检测,确定所述待处理视频中需要进行所述慢放特效处理的视频帧;
    插帧处理模块,被配置为根据预设插帧算法对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
  16. 根据权利要求15所述的装置,其特征在于,所述慢放运动检测模块,包括:
    模值获取子模块,被配置为根据所述视频特效处理指令对所述待处理视频进行运动量检测,获取所述待处理视频的每个视频帧上的所有预设区块的运动向量模值;
    第一确定子模块,被配置为确定每个所述视频帧上的第一区块,所述第一区块为运动向量模值大于预设运动向量阈值的预设区块;
    计算子模块,被配置为计算所述第一区块的数量与所述第一区块所属视频帧上的所有预设区块的数量的第一比值;
    判断子模块,被配置为判断所述第一比值是否大于第一预设占比阈值;
    慢放帧确定子模块,被配置为在所述第一比值大于所述第一预设占比阈值时,确定所述第一区块所属视频帧为所述需要进行所述慢放特效处理的视频帧。
  17. 根据权利要求14所述的装置,其特征在于,所述预设特效处理按键用于提供开启对所述待处理视频进行所述快放特效处理的触发;
    所述特效处理单元,包括:
    快放运动检测模块,被配置为根据所述视频特效处理指令对所述待处理视频进行运动量检测,确定所述待处理视频中需要进行所述快放特效处理的视频帧;
    抽帧处理模块,被配置为根据预设抽帧算法对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
  18. 根据权利要求17所述的装置,其特征在于,所述快放运动检测模块,包括:
    模值获取子模块,被配置为根据所述视频特效处理指令对所述待处理视频进行运动量检测,获取所述待处理视频的每个视频帧上的所有预设区块的运动向量模值;
    第二确定子模块,被配置为确定每个所述视频帧上的第二区块,所述第二区块为运动向量模值小于预设运动向量阈值的预设区块;
    计算子模块,被配置为计算所述第二区块的数量与所述第二区块所属视频帧上的所有预设区块的数量的第二比值;
    判断子模块,被配置为判断所述第二比值是否大于第二预设占比阈值;
    快放帧确定子模块,被配置为在所述第二比值大于所述第二预设占比阈值时,确定所述第二区块所属视频帧为所述需要进行所述快放特效处理的视频帧。
  19. 根据权利要求13所述的装置,其特征在于,所述接收单元,被配置为接收用户在终端设备上播放所述待处理视频的界面上进行滑动操作后产生的所述视频特效处理指令。
  20. 根据权利要求19所述的装置,其特征在于,所述滑动操作包括表示进行所述慢放特效处理的向左滑动操作;
    所述特效处理单元,被配置为根据所述视频特效处理指令和预设插帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
  21. 根据权利要求19所述的装置,其特征在于,所述滑动操作包括表示进行所述快放特效处理的向右滑动操作;
    所述特效处理单元,被配置为根据所述视频特效处理指令和预设抽帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行抽帧处理,以实现对所述待处理视频的快放特效处理。
  22. 根据权利要求13所述的装置,其特征在于,所述接收单元,被配置为接收用户在终端设备上播放所述待处理视频的界面上点击预设特效处理按键后产生的所述视频特效处理指令。
  23. 根据权利要求22所述的装置,其特征在于,所述预设特效处理按键用于提供开启对所述待处理视频进行所述慢放特效处理的触发;
    所述特效处理单元,被配置为根据所述视频特效处理指令和预设插帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行插帧处理,以实现对所述待处理视频的慢放特效处理。
  24. 根据权利要求22所述的装置,其特征在于,所述预设特效处理按键用于提供开启对所述待处理视频进行所述快放特效处理的触发;
    所述特效处理单元,被配置为根据所述视频特效处理指令和预设抽帧算法,从接收到所述视频特效处理指令的时刻对应的视频帧开始对所述视频帧进行抽帧处理,以实现对所 述待处理视频的快放特效处理。
  25. 一种终端设备,其特征在于,包括:处理器和用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为执行指令,以执行权利要求1~12中任一项所述的方法。
PCT/CN2015/099729 2015-08-28 2015-12-30 视频特效处理方法、装置及终端设备 Ceased WO2017036038A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2017537008A JP6321301B2 (ja) 2015-08-28 2015-12-30 ビデオ特効処理方法、装置、端末機器、プログラム、及び記録媒体
RU2016114551A RU2640735C2 (ru) 2015-08-28 2015-12-30 Способ, устройство и терминал для формирования видеоэффектов
KR1020167006989A KR101756044B1 (ko) 2015-08-28 2015-12-30 비디오 특수 효과 처리 방법, 장치, 단말 기기, 프로그램 및 기록매체
MX2016003307A MX369882B (es) 2015-08-28 2015-12-30 Metodo, dispositivo y dispositivo terminal para procesamiento de efectos de video.

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510541656.9A CN105120337A (zh) 2015-08-28 2015-08-28 视频特效处理方法、装置及终端设备
CN201510541656.9 2015-08-28

Publications (1)

Publication Number Publication Date
WO2017036038A1 true WO2017036038A1 (zh) 2017-03-09

Family

ID=54668183

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099729 Ceased WO2017036038A1 (zh) 2015-08-28 2015-12-30 视频特效处理方法、装置及终端设备

Country Status (8)

Country Link
US (1) US10212386B2 (zh)
EP (1) EP3136391B1 (zh)
JP (1) JP6321301B2 (zh)
KR (1) KR101756044B1 (zh)
CN (1) CN105120337A (zh)
MX (1) MX369882B (zh)
RU (1) RU2640735C2 (zh)
WO (1) WO2017036038A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120337A (zh) 2015-08-28 2015-12-02 小米科技有限责任公司 视频特效处理方法、装置及终端设备
CN107707930B (zh) * 2016-08-09 2021-01-15 北京奇虎科技有限公司 视频处理方法、装置及系统
CN110163043B (zh) * 2018-05-18 2023-09-26 腾讯科技(深圳)有限公司 面部检测方法、装置、存储介质及电子装置
CN109068052B (zh) * 2018-07-24 2020-11-10 努比亚技术有限公司 视频拍摄方法、移动终端及计算机可读存储介质
WO2020019212A1 (zh) * 2018-07-25 2020-01-30 深圳市大疆创新科技有限公司 视频播放速度控制方法及系统、控制终端和可移动平台
CN109040615A (zh) * 2018-08-10 2018-12-18 北京微播视界科技有限公司 视频特效添加方法、装置、终端设备及计算机存储介质
CN111385639B (zh) * 2018-12-28 2021-02-12 广州市百果园信息技术有限公司 视频特效的添加方法、装置、设备及存储介质
CN109862380B (zh) * 2019-01-10 2022-06-03 北京达佳互联信息技术有限公司 视频数据处理方法、装置及服务器、电子设备和存储介质
KR102677285B1 (ko) 2019-01-25 2024-06-24 삼성전자주식회사 슬로 모션 영상 생성 방법 및 장치
CN111260760B (zh) 2020-01-10 2023-06-20 腾讯科技(深圳)有限公司 图像处理方法、装置、电子设备及存储介质
CN111586321B (zh) * 2020-05-08 2023-05-12 Oppo广东移动通信有限公司 视频生成方法、装置、电子设备和计算机可读存储介质
CN111641829B (zh) * 2020-05-16 2022-07-22 Oppo广东移动通信有限公司 视频处理方法及装置、系统、存储介质和电子设备
US11955144B2 (en) * 2020-12-29 2024-04-09 Snap Inc. Video creation and editing and associated user interface
CN114581566A (zh) * 2022-03-10 2022-06-03 北京字跳网络技术有限公司 一种动画特效生成方法、装置、设备及介质
CN115119040B (zh) 2022-07-19 2024-01-30 北京字跳网络技术有限公司 视频处理方法、装置、电子设备以及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101573972A (zh) * 2006-12-22 2009-11-04 夏普株式会社 图像显示装置及方法、图像处理装置及方法
US20100091111A1 (en) * 2008-10-10 2010-04-15 Samsung Electronics Co., Ltd. Method for setting frame rate conversion (frc) and display apparatus using the same
CN102065320A (zh) * 2009-11-12 2011-05-18 三星电子(中国)研发中心 用于处理关于ts码流的特技播放命令的方法和设备
CN105120337A (zh) * 2015-08-28 2015-12-02 小米科技有限责任公司 视频特效处理方法、装置及终端设备

Family Cites Families (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3319678B2 (ja) 1995-08-11 2002-09-03 ケイディーディーアイ株式会社 動画像の高速ブラウジング装置
KR100303727B1 (ko) * 1998-04-28 2001-09-24 구자홍 동영상의적응적디스플레이속도자동조절장치와방법
US6424789B1 (en) 1999-08-17 2002-07-23 Koninklijke Philips Electronics N.V. System and method for performing fast forward and slow motion speed changes in a video stream based on video content
EP1331816B1 (en) 1999-11-10 2004-09-22 Thomson Licensing S.A. Method for editing source video to fast motion on the recordable media
JP2001238182A (ja) * 2000-02-23 2001-08-31 Sanyo Electric Co Ltd 画像再生装置および画像再生方法
EP1168840A3 (en) * 2000-06-30 2003-12-17 Kabushiki Kaisha Toshiba Method and apparatus for special video reproduction modes
US7003154B1 (en) 2000-11-17 2006-02-21 Mitsubishi Electric Research Laboratories, Inc. Adaptively processing a video based on content characteristics of frames in a video
KR100551952B1 (ko) 2002-10-18 2006-02-20 주식회사 모티스 영상 압축에서의 움직임 탐색 방법
JP4208595B2 (ja) * 2003-02-14 2009-01-14 キヤノン株式会社 画像変化検知システム
US7421727B2 (en) * 2003-02-14 2008-09-02 Canon Kabushiki Kaisha Motion detecting system, motion detecting method, motion detecting apparatus, and program for implementing the method
JP3800207B2 (ja) * 2003-07-18 2006-07-26 ソニー株式会社 撮像装置
KR100552077B1 (ko) 2003-08-29 2006-02-20 바로비젼(주) 컨텐츠 제공시스템과 이를 위한 이동단말
WO2005036884A1 (en) * 2003-10-07 2005-04-21 Ucentric Holdings, Inc. Digital video recording and playback system with quality of service playback from multiple locations via a home area network
US7177532B2 (en) * 2003-12-12 2007-02-13 Numark Industries, Llc Dual video player for disc jockeys
JP4727342B2 (ja) * 2004-09-15 2011-07-20 ソニー株式会社 画像処理装置、画像処理方法、画像処理プログラム及びプログラム格納媒体
CN101075949A (zh) * 2006-05-15 2007-11-21 中兴通讯股份有限公司 一种改变流媒体文件播放速度的方法
CN101611624B (zh) * 2007-02-01 2012-05-30 索尼株式会社 图像再现装置和方法、图像捕捉装置及其控制方法
US8136133B2 (en) * 2007-11-13 2012-03-13 Walker Digital, Llc Methods and systems for broadcasting modified live media
CN101448092A (zh) * 2007-11-28 2009-06-03 新奥特(北京)视频技术有限公司 一种视频快慢放的实现方法
CN101600107B (zh) * 2009-07-08 2012-01-25 杭州华三通信技术有限公司 调整视频录像播放速度的方法、系统及装置
US8699778B2 (en) * 2009-07-29 2014-04-15 Panasonic Corporation Image coding method, image coding apparatus, program, and integrated circuit
CN101815199B (zh) * 2010-04-07 2013-08-07 中兴通讯股份有限公司 一种视频处理方法及终端
EP2429192A1 (en) * 2010-08-17 2012-03-14 Streamworks International S.A. Video signal processing
US20140359447A1 (en) 2012-01-31 2014-12-04 Nokia Corporation Method, Apparatus and Computer Program Product for Generation of Motion Images
KR101366150B1 (ko) * 2013-06-21 2014-02-25 (주)티비스톰 동영상 재생속도 제어 사용자 인터페이싱 방법 및 그 방법을 실행하는 프로그램이 기록된 컴퓨터로 읽을 수 있는 기록매체
US20150221335A1 (en) 2014-02-05 2015-08-06 Here Global B.V. Retiming in a Video Sequence
CN104080006B (zh) * 2014-07-10 2017-10-27 福州瑞芯微电子股份有限公司 一种视频处理装置及方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101573972A (zh) * 2006-12-22 2009-11-04 夏普株式会社 图像显示装置及方法、图像处理装置及方法
US20100091111A1 (en) * 2008-10-10 2010-04-15 Samsung Electronics Co., Ltd. Method for setting frame rate conversion (frc) and display apparatus using the same
CN102065320A (zh) * 2009-11-12 2011-05-18 三星电子(中国)研发中心 用于处理关于ts码流的特技播放命令的方法和设备
CN105120337A (zh) * 2015-08-28 2015-12-02 小米科技有限责任公司 视频特效处理方法、装置及终端设备

Also Published As

Publication number Publication date
US10212386B2 (en) 2019-02-19
MX369882B (es) 2019-11-25
EP3136391B1 (en) 2019-10-09
KR20170036654A (ko) 2017-04-03
KR101756044B1 (ko) 2017-07-07
RU2016114551A (ru) 2017-10-19
MX2016003307A (es) 2017-12-07
JP2017536783A (ja) 2017-12-07
US20170064245A1 (en) 2017-03-02
CN105120337A (zh) 2015-12-02
EP3136391A1 (en) 2017-03-01
JP6321301B2 (ja) 2018-05-09
RU2640735C2 (ru) 2018-01-11

Similar Documents

Publication Publication Date Title
WO2017036038A1 (zh) 视频特效处理方法、装置及终端设备
CN106559712B (zh) 视频播放处理方法、装置及终端设备
CN106911961B (zh) 多媒体数据播放方法及装置
CN106375772B (zh) 视频播放方法及装置
CN106506448B (zh) 直播显示方法、装置及终端
US20170178289A1 (en) Method, device and computer-readable storage medium for video display
EP3796317B1 (en) Video processing method, video playing method, devices and storage medium
WO2017181556A1 (zh) 游戏直播方法及装置
CN107105314A (zh) 视频播放方法及装置
WO2016029641A1 (zh) 照片获取方法及装置
WO2016112699A1 (zh) 切换显示模式的方法及装置
EP2998960A1 (en) Method and device for video browsing
WO2017084183A1 (zh) 信息显示方法与装置
RU2664674C2 (ru) Способ и устройство для создания панорамы
CN106534951B (zh) 视频分割方法和装置
CN106792173A (zh) 视频播放方法及装置
RU2666626C1 (ru) Способ и устройство для управления состоянием воспроизведения
WO2018095252A1 (zh) 视频录制方法及装置
KR20180037235A (ko) 정보 처리 방법 및 장치
CN108769769B (zh) 视频的播放方法、装置及计算机可读存储介质
CN110798728A (zh) 视频播放方法、装置及存储介质
CN105791924B (zh) 视频和/或音频的撷取方法、撷取装置及电子装置
CN110809184A (zh) 视频处理方法、装置及存储介质
CN111782110B (zh) 截屏方法及装置、电子设备和存储介质
CN109803085A (zh) 控制摄像头摄像的方法及装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: MX/A/2016/003307

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 20167006989

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017537008

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016114551

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15902843

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15902843

Country of ref document: EP

Kind code of ref document: A1