WO2019140651A1 - 视频处理方法及设备 - Google Patents

视频处理方法及设备 Download PDF

Info

Publication number
WO2019140651A1
WO2019140651A1 PCT/CN2018/073492 CN2018073492W WO2019140651A1 WO 2019140651 A1 WO2019140651 A1 WO 2019140651A1 CN 2018073492 W CN2018073492 W CN 2018073492W WO 2019140651 A1 WO2019140651 A1 WO 2019140651A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
preset
played
parameter
processing
Prior art date
Application number
PCT/CN2018/073492
Other languages
English (en)
French (fr)
Inventor
李欣宇
宋启恒
郭灼
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201880031567.1A priority Critical patent/CN110622517A/zh
Priority to PCT/CN2018/073492 priority patent/WO2019140651A1/zh
Publication of WO2019140651A1 publication Critical patent/WO2019140651A1/zh

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
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • 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

Definitions

  • the present invention relates to the field of video processing technologies, and in particular, to a video processing method and device.
  • the embodiment of the invention provides a video processing method and device, which are used to solve the problem that the operation is complicated when the video is processed in the prior art.
  • an embodiment of the present invention provides a video processing method, including:
  • the processed video to be played is played.
  • an embodiment of the present invention provides a video processing device, including: a processor and a display screen; the processor is configured to:
  • the processed video to be played is played through the display screen.
  • the video processing method and device provided by the embodiment of the present invention, by acquiring a video playback instruction input by a user for instructing to play a video to be played, processing the to-be-played video according to a preset processing parameter, and processing the to-be-played video after processing
  • the playback is performed to enable the user to play the processed video to be played when the user needs to play the to-be-played video, and does not require the user to use the video editing software to process the video, thereby avoiding complicated operation when processing the video using the software editing software.
  • the problem simplifies user operations and improves the user experience.
  • FIG. 1 is a flowchart of Embodiment 1 of a video processing method according to an embodiment of the present disclosure
  • Embodiment 2 is a flowchart of Embodiment 2 of a video processing method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of Embodiment 3 of a video processing method according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of Embodiment 4 of a video processing method according to an embodiment of the present disclosure
  • FIG. 5 is a flowchart of Embodiment 5 of a video processing method according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a video processing device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of Embodiment 1 of a video processing method according to an embodiment of the present invention.
  • the method of the present embodiment can be performed by any video processing device capable of playing video, such as a camera, a video camera, a mobile terminal, or the like.
  • the method in this embodiment may include:
  • Step 101 Acquire a play instruction input by a user, where the play instruction is used to indicate that a video to be played is played.
  • the to-be-played video may be a native video captured by the video processing device, or may be a video obtained by processing the captured original audio video, or may be a native video sent by another device, or It may also be a video obtained by processing a native video sent by another device, which is not limited by the present invention.
  • the playback instruction may be specifically used for the captured video. Playback instructions for playback of the original video. It should be noted that the present invention is not limited to the specific manner of obtaining the play instruction input by the user.
  • the play command input by the user may be obtained through a physical button, a virtual button, a touch button, or the like, or a play command input by the user may be acquired by a voice or a gesture.
  • Step 102 Process the to-be-played video according to preset processing parameters.
  • the preset processing parameter may be corresponding to a certain processing requirement, and after the video to be played is processed according to the preset processing parameter, the processed video to be played may meet the requirements of the preset processing parameter. Processing effect.
  • the preset processing parameter may include one or more of the following: processing the to-be-played video according to the preset processing parameter may be a duration parameter, a segmentation parameter, a variable parameter, and an acoustic parameter. , sound parameters, music parameters, filter parameters, and reverse parameters.
  • the duration parameter may indicate the target duration of the video, for example, the duration of the video to be played is 20 seconds, and the target duration is 10 seconds.
  • the duration of the video to be played needs to be compressed, and the duration is compressed from 20 seconds to 10 seconds.
  • the segmentation parameter can be used to indicate the segmentation mode of the video.
  • the shifting parameter can be used to indicate the way the video is shifted.
  • the acoustic parameters can be used to indicate whether the original sound is removed.
  • the sound effect parameter can be used to indicate whether the sound effect is increased, and when the sound effect is increased, a specific manner of increasing the sound effect can also be indicated.
  • the music parameters can be used to indicate whether to add music, and when adding music, can also indicate a specific way to add music.
  • Filter parameters can be used to indicate whether to add a filter, and when adding a filter can also indicate how to add a filter.
  • the reverse parameter can be used to indicate whether to reverse.
  • the sound effect parameter, the music parameter, the variable parameter, the reverse parameter, and the like may be specific parameters of the entire video, or may also be parameters of each video segment. Not limited.
  • each parameter in the preset processing parameter may be a fixed parameter, or may be a parameter determined according to related information of a video to be played, or may also be a parameter set by a user, etc.
  • the invention is not limited thereto.
  • Step 103 Play the processed video to be played.
  • the specific manner of playing the processed video to be played is not limited in the present invention.
  • a corresponding video may be generated, and further, the generated video is played.
  • FIG. 2 is a flowchart of Embodiment 2 of a video processing method according to an embodiment of the present invention. This embodiment mainly describes an optional implementation manner for determining preset processing parameters on the basis of the embodiment shown in FIG. 1 . As shown in FIG. 2, the method in this embodiment may include:
  • Step 201 Acquire a play instruction input by the user, where the play instruction is used to indicate that the video to be played is played.
  • step 201 is similar to step 101 and will not be described here.
  • Step 202 Determine a first pre-processing parameter according to the shooting information of the to-be-played video.
  • the shooting information may specifically be any information related to shooting.
  • the shooting information may include at least one of the following: a shooting duration, a flight trajectory, and an airplane mode.
  • the flight trajectory can be understood as a flight trajectory of a flying device equipped with a camera, a camera, or the like that can be used for photographing
  • the flight mode can be understood as a flight mode of a flying device equipped with a camera or a camera that can be used for photographing.
  • the flying device can be, for example, a drone.
  • the flight mode may include, for example, a swing mode, an asteroid mode, and the like.
  • the first pre-processing parameter matching the to-be-played video can be determined.
  • the first pre-processing parameter may include a segmentation parameter and/or a variable parameter.
  • the shifting parameter may be a shifting parameter of the entire video, or may be a shifting parameter of each video segment, which is not limited by the present invention.
  • the shifting parameter may specifically be a "fast” or “slow” qualitative description of the shifting condition, or may be a variable rate that describes the shifting condition.
  • the video to be played can be divided into two video segments of the first 10 seconds and the last 10 seconds. Further, the previous video segment can correspond to one shifting. The parameter, the latter video segment can correspond to another shifting parameter.
  • the video to be played may be taken by flying 2 meters in the first direction.
  • the obtained portion is taken as the video segment 1
  • the portion captured by flying 3 meters in the second direction is taken as the video segment 2.
  • the video segment 1 may correspond to one shifting parameter
  • the video segment 2 may correspond to another segment. A shifting parameter.
  • the video to be played may be first
  • the portion captured in the direction of 2 meters is taken as the video segment 1
  • the portion captured by the flight 3 meters in the second direction is used as the video segment 2, and further optionally, the video segmentation can be performed according to the shooting time of 20 seconds.
  • a shifting parameter is determined and another shifting parameter is determined for video segment 2.
  • the middle portion of the to-be-played video having a larger shifting speed may be used as the video segment 1, and the intermediate portion has two portions with a small forward-to-back shift rate.
  • video segment 2 and video segment 3 respectively.
  • the video to be played can be divided into two video segments of the first 5 seconds and the last 10 seconds, and further optional.
  • a shifting parameter can be determined for the previous video segment based on the asteroid mode and another shifting parameter can be determined for the latter video segment.
  • the first pre-processing parameter may be included in a preset processing parameter, and the preset processing parameter may further include a preset video compression duration.
  • the preset video compression duration may be used to indicate a target duration after the duration of compression of the video, for example, may be 10 seconds, 15 seconds, or 20 seconds, etc., may be fixedly set, or may be set by a user, and the present invention does not limited.
  • the segmentation parameter and the variable parameter may be a segmentation parameter and a variable parameter of the video determined according to the shooting information of the to-be-played video and the preset video compression duration.
  • the video to be played can be divided into two video segments of the first 10 seconds and the last 10 seconds, and the previous video is divided according to the preset video compression duration.
  • the segment determines a shifting parameter and determines another shifting parameter for the latter video segment.
  • the shooting time in the shooting information of the video to be played is 20 seconds, and the flight trajectory is to fly 2 meters in the first direction and then 3 meters in the second direction
  • the video to be played may be first
  • the part captured in the direction of 2 meters is taken as video segment 1
  • the part captured by flying 3 meters in the second direction is taken as video segment 2
  • the video segmentation is based on the preset video compression duration and the shooting time of 20 seconds. 1
  • the middle portion of the to-be-played video having a larger shifting speed may be used as the video segment 1, and the intermediate portion has two portions with a small forward-to-back shift rate.
  • the video segment 2 and the video segment 3 respectively, and determining the shifting parameters for the video segment 1, the video segment 2, and the video segment 3 according to the preset video compression duration.
  • the shifting parameter in the first pre-processing parameter may be determined according to the swing mode.
  • the shifting parameter may be slow, fast, slow, or fast, slow, fast, and the like.
  • the first pre-processing parameter further includes a reverse parameter.
  • the step 202 may specifically include: determining, according to the shooting information, that the flight mode is the asteroid mode, determining that the reverse parameter in the first pre-processing parameter is YES.
  • a transition effect ease-in that is specified to start at a slow speed, or a transition effect ease-out that ends at a slow speed may be used, or a slow start and a prescribed start may be adopted.
  • the transition effect is ease in ease out to make the transition.
  • Step 203 Process the to-be-played video according to a preset processing parameter, where the preset processing parameter includes the first pre-processing parameter.
  • the to-be-played video is processed according to the preset processing parameter, and the processed video to be played satisfies the processing effect required by the preset processing parameter.
  • the preset processing parameter includes a preset video compression duration
  • the processed video to be played satisfies the video duration required by the preset processing parameter.
  • Step 204 Play the processed video to be played.
  • step 204 is similar to step 103, and details are not described herein again.
  • the first pre-processing parameter is determined according to the shooting information of the video to be played, and the to-be-played video is processed according to the preset processing parameter including the first pre-processing parameter, thereby realizing use and waiting
  • the first pre-processing parameter matching the shooting information of the playing video is processed to process the video, so that the processing of the video to be played is more reasonable.
  • FIG. 3 is a flowchart of Embodiment 3 of a video processing method according to an embodiment of the present invention.
  • This embodiment mainly describes another alternative implementation method for determining preset processing parameters on the basis of the embodiment shown in FIG. 1.
  • the method in this embodiment may include:
  • Step 301 Acquire a play instruction input by the user, where the play instruction is used to indicate that the video to be played is played.
  • step 301 is similar to step 101, and details are not described herein again.
  • Step 302 Determine a second pre-processing parameter according to a system setting parameter and/or a parameter setting instruction input by the user.
  • the user can set parameters for processing the video through the parameter setting instruction, or the system setting parameter may be pre-existed in the video processing device, and the parameter when processing the video is determined according to the system setting parameter.
  • the present invention is not limited to the specific manner in which the user inputs the parameter setting instruction.
  • the user can input a parameter setting instruction through a parameter setting interface provided by the video playing software, or can also input a parameter setting instruction through a parameter setting interface provided by the video editing software.
  • the second pre-processing parameter includes at least one of the following: an acoustic parameter, a sound effect parameter, a music parameter, a filter parameter, and a reverse parameter.
  • the second pre-processing parameter may be stored and set as a default parameter, and the video is processed according to the second pre-processing parameter when loading a video. .
  • step 302 there is no order limitation between step 302 and step 301.
  • Step 303 Process the to-be-played video according to a preset processing parameter, where the preset processing parameter includes the second pre-processing parameter.
  • step 303 is similar to step 203, and is described in this step.
  • Step 304 Play the processed video to be played.
  • step 204 is similar to step 103, and details are not described herein again.
  • the second pre-processing parameter is determined according to the system setting parameter, and the to-be-played video is processed according to the preset processing parameter including the second pre-processing parameter, so that the user does not need to use the video. Edit the software and also process the video. Further, the second pre-processing parameter is determined according to the parameter setting instruction input by the user, so that the user can control the processing mode of the video, so that the processed video can better meet the user's needs and improve the user experience.
  • the foregoing preset processing parameters may include the foregoing first pre-processing parameters and the second pre-processing parameters.
  • FIG. 4 is a flowchart of Embodiment 4 of a video processing method according to an embodiment of the present invention.
  • the present embodiment mainly describes an optional processing manner after processing the to-be-played video according to preset processing parameters, based on the embodiments shown in FIG. As shown in FIG. 4, the method in this embodiment may include:
  • Step 401 The video to be played is processed according to a preset processing parameter, and the processed video to be played may be saved in a memory.
  • the processed video to be played is saved in the memory, which can avoid the delay caused by the corresponding video generated after the video is processed, thereby reducing the video to be played after the playback process. Delay. It should be noted that the specific manner of processing the to-be-played video according to the preset processing parameters may be referred to the foregoing embodiment, and details are not described herein again.
  • Step 402 Save the processed video to be played in the memory as a to-be-shared video according to a sharing instruction input by the user.
  • the present invention is not limited to the specific manner of obtaining the sharing instruction input by the user.
  • the sharing instruction input by the user may be obtained by pressing a button, or the sharing instruction input by the user may also be obtained by using a voice or a gesture.
  • the sharing instruction input by the user may also be used to jump to the sharing interface, so that the user selects the sharing object to share.
  • the method further includes: determining whether the presence and the to-be-played are to be played.
  • the native video corresponding to the video if there is no native video corresponding to the video to be played, the processed video to be played in the memory is saved as a video to be shared. Further, if there is a native video corresponding to the video to be played, the video obtained by processing the native video according to the preset processing parameter is used as a video to be shared.
  • the native video can be understood as an unprocessed video obtained by shooting.
  • whether the native video is processed according to the preset processing parameter or other video obtained according to the native video may be selected based on a specific condition. For example, when the CPU occupation rate of the video processing device is greater than the preset occupancy rate, other videos obtained according to the native video may be selected to be processed; when the CPU occupation rate of the video processing device is less than or equal to the preset occupancy rate, the native video may be selected to be processed. .
  • the native video when the video duration of the native video is greater than the preset duration, other videos obtained according to the native video may be selected to be processed; when the video duration of the native video is less than or equal to the preset duration, the native video may be selected to be processed.
  • the method further includes: determining whether the native video meets a preset video condition; if the preset video condition is met, using the native video as the to-be-played video; The preset video condition is processed, the native video is processed, so that the processed native video satisfies the preset video condition, and the processed native video is used as the to-be-played video.
  • the preset video condition includes at least one of the following: a frame rate condition, a code rate condition, and an I frame interval condition.
  • the code rate condition includes: the code rate is greater than or equal to the first preset code rate, and/or the code rate is less than or equal to the second preset code rate, where the first preset code rate is less than The second preset code rate.
  • the frame rate condition includes: the frame rate is greater than or equal to the first preset frame rate, and/or the frame rate is less than or equal to the second preset frame rate, where the first preset frame rate is less than The second preset frame rate.
  • the I frame interval condition includes: the I frame interval is greater than or equal to a first preset threshold, and/or the I frame interval is less than or equal to a second preset threshold, where the first preset threshold is less than The second preset threshold.
  • the video to be played is processed in the memory according to the preset processing parameters, and the processed video to be played can be saved in the memory, which can avoid the corresponding video generated by processing the video to be played.
  • the delay thereby reducing the delay of the video to be played after the playback process.
  • the user can facilitate video sharing and improve the user experience.
  • FIG. 5 is a flowchart of Embodiment 5 of a video processing method according to an embodiment of the present invention.
  • the present embodiment mainly describes an optional processing manner after processing the to-be-played video according to preset processing parameters, based on the embodiments shown in FIG. As shown in FIG. 5, the method in this embodiment may include:
  • Step 501 Acquire a sharing instruction input by a user.
  • step 402 for the specific manner of obtaining the sharing instruction input by the user, refer to the related content in step 402, and details are not described herein again.
  • Step 502 Process, according to the sharing instruction, the native video corresponding to the to-be-played video by using the preset processing parameter, to obtain a video to be shared.
  • the preset processing parameter may specifically be the preset processing parameter described in any of the foregoing embodiments.
  • the native video refer to the embodiment shown in FIG. 4, and details are not described herein again.
  • the native video to be shared video corresponding to the video to be played is processed according to the sharing instruction input by the user, and the video to be shared is obtained, which can facilitate the user to share the high-definition video and improve the video.
  • the user experience is described below.
  • FIG. 6 is a schematic structural diagram of a video processing device according to an embodiment of the present invention.
  • the video processing device 60 provided in this embodiment may include: a processor 601 and a display screen 602.
  • the processor 601 is configured to:
  • the processed video to be played is played through the display screen.
  • the processor 601 is further configured to:
  • the shooting information includes at least one of the following: a shooting duration, a flight trajectory, and an airplane mode.
  • the preset processing parameter further includes a preset video compression duration, where the first pre-processing parameter includes:
  • the processor 601 determines, according to the shooting information of the to-be-played video, the first pre-processing parameter, specifically:
  • the flight mode is the swing mode according to the shooting information, determining the shifting parameter in the first pre-processing parameter according to the swing mode.
  • the shifting parameter is slow, fast, and slow.
  • the first pre-processing parameter further includes a rewinding parameter; the processor 601 determines the first pre-processing parameter according to the shooting information of the to-be-played video, and specifically includes: determining, according to the shooting information, an airplane mode In the asteroid mode, it is determined that the reverse parameter in the first pre-processing parameter is YES.
  • the processor 601 is further configured to determine a second pre-processing parameter according to the system setting parameter and/or the parameter setting instruction input by the user, where the preset processing parameter includes the second pre-processing parameter.
  • the second pre-processing parameter includes at least one of the following:
  • the processor 601 is further configured to store and set the second pre-processing parameter as a default parameter, and process the video according to the second pre-processing parameter when loading the video.
  • the processed video to be played is saved in a memory.
  • the processor 601 is further configured to save the processed video to be played in the memory as a to-be-shared video according to a sharing instruction input by the user.
  • the processor 601 saves the processed video to be played as the to-be-shared video in the memory, and specifically includes:
  • the processed video to be played in the memory is saved as a video to be shared.
  • the processor 601 is further configured to: if the native video corresponding to the to-be-played video exists, the video obtained by processing the native video according to the preset processing parameter is used as a video to be shared.
  • the processor 601 is further configured to:
  • the native video is used as the to-be-played video
  • the native video is processed, so that the processed native video satisfies the preset video condition, and the processed native video is used as the to-be-played video. .
  • the preset video condition includes at least one of the following:
  • the code rate condition includes: the code rate is greater than or equal to the first preset code rate, and/or the code rate is less than or equal to the second preset code rate, where the first preset code rate is less than the The second preset code rate.
  • the frame rate condition includes:
  • the frame rate is greater than or equal to the first preset frame rate, and/or the frame rate is less than or equal to the second preset frame rate, and the first preset frame rate is smaller than the second preset frame rate.
  • the I frame interval condition includes:
  • the I frame interval is greater than or equal to the first preset threshold, and/or the I frame interval is less than or equal to the second preset threshold, and the first preset threshold is smaller than the second preset threshold.
  • the processor 601 is further configured to process the native video corresponding to the to-be-played video by using the preset processing parameter according to the sharing instruction input by the user, to obtain a video to be shared.
  • the video processing device of this embodiment may be used to implement the technical solution of any method embodiment of the method embodiment shown in FIG. 1 to FIG. 5.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

一种视频处理方法及设备。该方法包括:获取用户输入的播放指令,所述播放指令用于指示播放待播放视频;根据预设处理参数对所述待播放视频进行处理;对处理后的所述待播放视频进行播放。本发明简化了用户操作,提高了用户体验。

Description

视频处理方法及设备 技术领域
本发明涉及视频处理技术领域,尤其涉及一种视频处理方法及设备。
背景技术
为了提高视频的视听效果,通常需要对视频进行处理,例如,添加音效、增加滤镜、去除原声等。
现有技术中,用户需要使用视频编辑软件来对视频进行处理。具体的,用户需要将视频放到安装有视频编辑软件的设备中,再使用该设备将视频导入到视频编辑软件中,在视频编辑软件中进行裁剪、添加音效、去除原声、导出等操作。
因此,现有技术中,在对视频进行处理时,操作复杂的问题。
发明内容
本发明实施例提供一种视频处理方法及设备,用于解决现有技术中在对视频进行处理时,操作复杂的问题。
第一方面,本发明实施例提供一种视频处理方法,包括:
获取用户输入的播放指令,所述播放指令用于指示播放待播放视频;
根据预设处理参数对所述待播放视频进行处理;
对处理后的所述待播放视频进行播放。
第二方面,本发明实施例提供一种视频处理设备,包括:处理器以及显示屏幕;所述处理器用于:
获取用户输入的播放指令,所述播放指令用于指示播放待播放视频;
根据预设处理参数对所述待播放视频进行处理;
通过所述显示屏幕对处理后的所述待播放视频进行播放。
本发明实施例提供的视频处理方法及设备,通过获取用户输入的用于指示播放待播放视频播放指令,根据预设处理参数对所述待播放视频进行处理,对处理后的所述待播放视频进行播放,实现了在用户需要播放待播放 视频时,向用户播放处理后的待播放视频,不需要用户使用视频编辑软件来对视频进行处理,避免了使用软件编辑软件对视频进行处理时操作复杂的问题,简化了用户操作,提高了用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的视频处理方法实施例一的流程图;
图2为本发明实施例提供的视频处理方法实施例二的流程图;
图3为本发明实施例提供的视频处理方法实施例三的流程图;
图4为本发明实施例提供的视频处理方法实施例四的流程图;
图5为本发明实施例提供的视频处理方法实施例五的流程图;
图6为本发明实施例提供的视频处理设备的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明实施例提供的视频处理方法实施例一的流程图。本实施例的方法可以由任意能够播放视频的视频处理设备来执行,例如相机、摄像机、移动终端等。如图1所示,本实施例的方法可以包括:
步骤101、获取用户输入的播放指令,所述播放指令用于指示播放待播放视频。
本步骤中,所述待播放视频可以是由上述视频处理设备拍摄的原生视频,或者,可以是对所拍摄的原声视频进行处理后获得的视频,或者也可以是其他设备发送的原生视频,或者还可以是对其他设备发送的原生视频 进行处理后获得的视频,本发明对此并不作限定。当所述待播放视频是由上述视频处理设备拍摄的原生视频,或者是对所拍摄的原生视频进行处理后获得的视频时,可选的,所述播放指令具体可以是用于对所拍摄的原声视频进行回放的回放指令。需要说明的是,对于获取用户输入的播放指令的具体方式,本发明并不作限制。例如,可以通过实体按键、虚拟按键、触控按键等获取用户输入的播放指令,也可以语音或手势等方式获取用户输入的播放指令。
步骤102、根据预设处理参数对所述待播放视频进行处理。
本步骤中,所述预设处理参数可以对应一定的处理要求,根据预设处理参数对所述待播放视频进行处理后,处理后的所述待播放视频可以满足所述预设处理参数要求的处理效果。
可选的,所述预设处理参数可以包括下述中的一种或多种:根据预设处理参数对所述待播放视频进行处理具体可以为时长参数、分段参数、变速参数、原声参数、音效参数、音乐参数、滤镜参数、倒放参数。其中,所述时长参数可以指示视频的目标时长,例如待播放视频的时长为20秒,目标时长为10秒,需要对所述待播放视频的时长进行压缩,将时长由20秒压缩至10秒。所述分段参数可以用于指示视频的分段方式。变速参数可以用于指示视频的变速方式。所述原声参数可以用于指示是否去除原声。所述音效参数可以用于指示是否增加音效,当增加音效时,还可以指示增加音效的具体方式。音乐参数可以用于指示是否增加音乐,当增加音乐时,还可以指示增加音乐的具体方式。滤镜参数可以用于指示是否增加滤镜,当增加滤镜时还可以指示增加滤镜的具体方式。倒放参数可以用于指示是否进行倒放。
需要说明的是,当对视频进行分段后,上述音效参数、音乐参数、变速参数、倒放参数等具体可以为整个视频的参数,或者也可以为各视频分段的参数,本发明对此并不作限定。
需要说明的是,所述预设处理参数中的各参数可以为固定参数,或者也可以为根据待播放视频的相关信息所确定的参数,或者还可以为用户设定的参数,等等,本发明对此并不作限定。
步骤103、对处理后的所述待播放视频进行播放。
本步骤中,对处理后的所述待播放视频进行播放的具体方式,本发明并不作限定。例如,在对所述待播放视频进行处理之后,可以生成对应的视频,进一步的,对所生成的视频进行播放。
本实施例中,通过获取用户输入的用于指示播放待播放视频播放指令,根据预设处理参数对所述待播放视频进行处理,对处理后的所述待播放视频进行播放,实现了在用户需要播放待播放视频时,向用户播放处理后的待播放视频,不需要用户使用视频编辑软件来对视频进行处理,避免了使用软件编辑软件对视频进行处理时操作复杂的问题,简化了用户操作,提高了用户体验。
图2为本发明实施例提供的视频处理方法实施例二的流程图。本实施例在图1所示实施例的基础上,主要描述了确定预设处理参数的一种可选的实现方式。如图2所示,本实施例的方法可以包括:
步骤201、获取用户输入的播放指令,所述播放指令用于指示播放待播放视频。
需要说的是,步骤201与步骤101类似,在此不再赘述。
步骤202、根据所述待播放视频的拍摄信息,确定第一预处理参数。
本步骤中,所述拍摄信息具体可以为与拍摄相关的任意信息。可选的,所述拍摄信息可以包括下述中的至少一种:拍摄时长、飞行轨迹、飞行模式。其中,所述飞行轨迹可以理解为搭载可以用于拍摄的相机、摄像机等的飞行设备的飞行轨迹,所述飞行模式可以理解为搭载可以用于拍摄的相机、摄像机的飞行设备的飞行模式。这里,飞行设备例如可以为无人机。飞行模式例如可以包括:秋千模式、小行星模式等。
由于不同拍摄信息可以使得所拍摄的视频具有不同的特点,因此根据待播放视频的拍摄信息,可以来确定与所述待播放视频匹配的第一预处理参数。可选的,所述第一预处理参数可以包括分段参数和/或变速参数。其中,所述变速参数可以为整个视频的变速参数,也可以为各视频分段的变速参数,本发明对此并不作限定。所述变速参数具体可以为定性描述变速情况的“快”或“慢”,或者也可以为定量描述变速情况的变速速率。
例如,假设待播放视频的拍摄信息中的拍摄时长为20秒,则可以将待播放视频分为前10秒和后10秒两个视频分段,进一步的,前一个视频分段可 以对应一个变速参数,后一个视频分段可以对应另一个变速参数。
又例如,假设待播放视频的拍摄信息中的飞行轨迹为先向第一方向飞行2米,再向第二方向飞行3米,则可以将待播放视频中由向第一方向飞行2米所拍摄到的部分作为视频分段1,由向第二方向飞行3米所拍摄到的部分作为视频分段2,进一步可选的,视频分段1可以对应一个变速参数,视频分段2可以对应另一个变速参数。
又例如,假设待播放视频的拍摄信息中的拍摄时长为20秒,飞行轨迹为先向第一方向飞行2米,再向第二方向飞行3米,则可以将待播放视频中由向第一方向飞行2米所拍摄到的部分作为视频分段1,由向第二方向飞行3米所拍摄到的部分作为视频分段2,进一步可选的,可以根据拍摄时长20秒为视频分段1确定一个变速参数,并为视频分段2确定另一个变速参数。
再例如,假设待播放视频的拍摄信息中的飞行模式为秋千模式,则可以将待播放视频中变速速率较大的中间部分作为视频分段1,将该中间部分前后变速速率较小的两部分分别作为视频分段2和视频分段3。
再例如,假设待播放视频的拍摄信息中的飞行模式为小行星模式,拍摄时长为15秒,则可以将待播放视频分为前5秒和后10秒两个视频分段,进一步可选的,可以根据小行星模式为前一个视频分段确定一个变速参数,并为后一个视频分段确定另一个变速参数。
所述第一预处理参数可以包括在预设处理参数中,可选的,所述预设处理参数还可以包括预设视频压缩时长。所述预设视频压缩时长可以用于指示对视频进行时长压缩后的目标时长,例如可以为10秒、15秒或20秒等,可以固定设置,也可以由用户设置,本发明对此并不作限定。可选的,所述分段参数及变速参数具体可以为根据所述待播放视频的拍摄信息和所述预设视频压缩时长确定的视频的分段参数及变速参数。
例如,假设待播放视频的拍摄信息中的拍摄时长为20秒,则可以将待播放视频分为前10秒和后10秒两个视频分段,并根据预设视频压缩时长为前一个视频分段确定一个变速参数,并为后一个视频分段确定另一个变速参数。
又例如,假设待播放视频的拍摄信息中的拍摄时长为20秒,飞行轨迹为先向第一方向飞行2米,再向第二方向飞行3米,则可以将待播放视频中由向第一方向飞行2米所拍摄到的部分作为视频分段1,由向第二方向飞行3 米所拍摄到的部分作为视频分段2,并根据预设视频压缩时长以及拍摄时长20秒为视频分段1确定一个变速参数,并为视频分段2确定另一个变速参数。
再例如,假设待播放视频的拍摄信息中的飞行模式为秋千模式,则可以将待播放视频中变速速率较大的中间部分作为视频分段1,将该中间部分前后变速速率较小的两部分分别作为视频分段2和视频分段3,并根据预设视频压缩时长分别为视频分段1、视频分段2以及视频分段3确定变速参数。
可选的,当飞行模式为秋千模式时,由于秋千模式下飞行设备的飞行速度变化是具有特定规律的,因此可以根据秋千模式确定第一预处理参数中的变速参数。进一步可选的,所述变速参数可以为慢、快、慢,或者快、慢、快等。
可选的,所述第一预处理参数还包括倒放参数。步骤202具体可以包括:若根据所述拍摄信息确定飞行模式为小行星模式,则确定所述第一预处理参数中的倒放参数为是。
可选的,对于不同变速速率的视频分段之间可以采用会使用规定以慢速开始的过渡效果ease-in,或者规定以慢速结束的过渡效果ease-out,或者规定以慢速开始和结束的过渡效果ease in ease out,来进行过渡。
步骤203、根据预设处理参数对所述待播放视频进行处理,所述预设处理参数包括所述第一预处理参数。
本步骤中,根据所述预设处理参数对所述待播放视频进行处理,处理后的所述待播放视频满足所述预设处理参数要求的处理效果。例如,当所述预设处理参数包括预设视频压缩时长时,处理后的所述待播放视频满足所述预设处理参数要求的视频时长。
步骤204、对处理后的所述待播放视频进行播放。
需要说明的是,步骤204与步骤103类似,在此不再赘述。
本实施例中,通过根据待播放视频的拍摄信息,确定第一预处理参数,并根据包括所述第一预处理参数的预设处理参数对所述待播放视频进行处理,实现了使用与待播放视频的拍摄信息相匹配的第一预处理参数对待播放视频进行处理,使得对待播放视频的处理更加合理。
图3为本发明实施例提供的视频处理方法实施例三的流程图。本实施例在图1所示实施例的基础上,主要描述了确定预设处理参数的另一种可选的 实现方式。如图3所示,本实施例的方法可以包括:
步骤301、获取用户输入的播放指令,所述播放指令用于指示播放待播放视频。
需要说的是,步骤301与步骤101类似,在此不再赘述。
步骤302、根据系统设定参数和/或用户输入的参数设置指令,确定第二预处理参数。
本步骤中,用户可以通过参数设置指令设置对视频进行处理时的参数,或者,视频处理设备中也可以预先存在系统设定参数,根据系统设定参数确定对视频进行处理时的参数。需要说明的是,对于用户输入参数设置指令的具体方式,本发明并不作限定。例如,用户可以通过视频播放软件提供的参数设置接口,输入参数设置指令,或者也可以通过视频编辑软件提供的参数设置接口,输入参数设置指令等。可选的,所述第二预处理参数包括以下中的至少一种:原声参数、音效参数、音乐参数、滤镜参数、倒放参数。可选的,在确定所述第二预处理参数之后,可以存储并设定所述第二预处理参数为默认参数,并在加载视频时根据所述第二预处理参数对所述视频进行处理。
需要说明的是,步骤302与步骤301之间并没有先后顺序的限制。
步骤303、根据预设处理参数对所述待播放视频进行处理,所述预设处理参数包括所述第二预处理参数。
需要说明的是,步骤303与步骤203类似,在此步骤赘述。
步骤304、对处理后的所述待播放视频进行播放。
需要说明的是,步骤204与步骤103类似,在此不再赘述。
本实施例中,通过根据系统设定参数,确定第二预处理参数,并根据包括所述第二预处理参数的预设处理参数对所述待播放视频进行处理,实现了用户不需要使用视频编辑软件,也可以对视频进行处理。进一步的,通过根据用户输入的参数设置指令,确定第二预处理参数,使得用户可以对视频的处理方式进行控制,从而使得处理后的视频能够更满足用户的需求,提高了用户体验。
需要说明的是,上述预设处理参数可以包括上述第一预处理参数和上述第二预处理参数。
图4为本发明实施例提供的视频处理方法实施例四的流程图。本实施例在图1-图3所示实施例的基础上,主要描述了根据预设处理参数对所述待播放视频进行处理之后的一种可选的处理方式。如图4所示,本实施例的方法可以包括:
步骤401、根据预设处理参数对所述待播放视频进行处理,处理后的所述待播放视频可以保存在内存中。
本步骤中,通过处理后的所述待播放视频保存在内存中,可以避免由于对待播放视频进行处理后生成对应的视频所带来的时延,从而减小了播放处理后的待播放视频的时延。需要说的是,关于根据预设处理参数对所述待播放视频进行处理的具体方式可以参见上述实施例,在此不再赘述。
步骤402、根据用户输入的分享指令,将所述内存中所述处理后的所述待播放视频保存为待分享视频。
本步骤中,对于获取用户输入的分享指令的具体方式,本发明并不作限定。例如,可以通过按键获取用户输入的分享指令,或者也可以通过语音或手势等方式获取用户输入的分享指令。进一步的,还可以根据用户输入的分享指令跳转至分享界面,以便于用户选择分享对象进行分享。
为了使得所分享的视频的效果可以达到最好,可选的,将所述内存中所述处理后的所述待播放视频保存为待分享视频之前,还包括:判断是否存在与所述待播放视频对应的原生视频;若不存在与所述待播放视频对应的原生视频,则将所述内存中所述处理后的所述待播放视频保存为待分享视频。进一步的,若存在与所述待播放视频对应的原生视频,则将根据所述预设处理参数对所述原生视频进行处理后获得的视频作为待分享视频。其中,所述原生视频可以理解为通过拍摄获得的未经处理的视频。
当存在上述原生视频时,可选的,在获取到用户输入的播放指令后,可以基于特定条件来选择根据预设处理参数处理原生视频,还是处理根据原生视频获得的其他视频。例如,当视频处理设备的CPU占有率大于预设占有率时,可以选择处理根据原生视频获得的其他视频;当视频处理设备的CPU占有率小于或等于预设占有率时,可以选择处理原生视频。又例如,当原生视频的视频时长大于预设时长时,可以选择处理根据原生视频获得的其他视频;当原生视频的视频时长小于或等于预设时长时,可以选择处理原生视频。
当该特定条件可以是与视频本身相关的条件,且原生视频不满足该特定条件时,进一步的,可以考虑根据该特定条件对原生视频进行处理。具体的,步骤401之前,还可以包括:判断所述原生视频是否满足预设视频条件;若满足所述预设视频条件,则将所述原生视频作为所述待播放视频;若不满足所述预设视频条件,则对所述原生视频进行处理,使得处理后的所述原生视频满足所述预设视频条件,并将处理后的所述原生视频作为所述待播放视频。可选的,所述预设视频条件包括下述中的至少一种:帧率条件、码率条件、I帧间隔条件。
进一步的,从用户观看效果的角度考虑,码率越大越好,从视频处理设备的处理量的角度考虑,码率越小越好。因此,可选的,所述码率条件包括:码率大于或等于第一预设码率,和/或,码率小于或等于第二预设码率,所述第一预设码率小于所述第二预设码率。
进一步的,从用户观看效果的角度,帧率越大越好,从视频处理设备的处理量的角度考虑,帧率越小越好。因此,可选的,所述帧率条件包括:帧率大于或等于第一预设帧率,和/或,帧率小于或等于第二预设帧率,所述第一预设帧率小于所述第二预设帧率。
进一步的,从用户观看效果的角度,I帧间隔越小越好,从视频处理设备的处理量的角度考虑,I帧间隔越大越好。因此,可选的,所述I帧间隔条件包括:I帧间隔大于或等于第一预设阈值,和/或,I帧间隔小于或等于第二预设阈值,所述第一预设阈值小于所述第二预设阈值。
本实施例中,通过根据预设处理参数对所述待播放视频进行处理,处理后的所述待播放视频可以保存在内存中,可以避免由于对待播放视频进行处理后生成对应的视频所带来的时延,从而减小了播放处理后的待播放视频的时延。另外,通过根据用户输入的分享指令,将所述内存中所述处理后的所述待播放视频保存为待分享视频,可以便于用户进行视频分享,提高了用户体验。
图5为本发明实施例提供的视频处理方法实施例五的流程图。本实施例在图1-图3所示实施例的基础上,主要描述了根据预设处理参数对所述待播放视频进行处理之后的一种可选的处理方式。如图5所示,本实施例的方法可以包括:
步骤501、获取用户输入的分享指令。
本步骤中,对于获取用户输入的分享指令的具体方式,可以参见步骤402中相关内容,在此不再赘述。
步骤502、根据所述分享指令,使用所述预设处理参数对所述待播放视频对应的原生视频进行处理,获得待分享视频。
本步骤中,所述预设处理参数具体可以为上述任一实施例中所述的预设处理参数。关于原生视频的相关描述可以参见图4所示实施例,在此不再赘述。
本实施例中,通过根据用户输入的分享指令,使用所述预设处理参数对待播放视频对应的原生视频待分享视频进行处理,获得待分享视频,可以便于用户进行高清晰度视频的分享,提高了用户体验。
图6为本发明实施例提供的视频处理设备的结构示意图。如图6所示,本实施例提供的视频处理设备60可以包括:处理器601以及显示屏幕602。
其中,处理器601用于:
获取用户输入的播放指令,所述播放指令用于指示播放待播放视频;
根据预设处理参数对所述待播放视频进行处理;
通过所述显示屏幕对处理后的所述待播放视频进行播放。
可选的,处理器601还用于:
根据所述待播放视频的拍摄信息,确定第一预处理参数,所述预设处理参数包括所述第一预处理参数。
可选的,所述拍摄信息包括下述中的至少一种:拍摄时长、飞行轨迹、飞行模式。
可选的,所述预设处理参数还包括预设视频压缩时长,所述第一预处理参数包括:
根据所述待播放视频的拍摄信息和所述预设视频压缩时长确定的视频的分段参数及变速参数。
可选的,处理器601根据所述待播放视频的拍摄信息,确定第一预处理参数,具体包括:
若根据所述拍摄信息确定飞行模式为秋千模式,则根据所述秋千模式确定所述第一预处理参数中的变速参数。
可选的,所述变速参数为慢、快、慢。
可选的,所述第一预处理参数还包括倒放参数;处理器601根据所述待播放视频的拍摄信息,确定第一预处理参数,具体包括:若根据所述拍摄信息确定飞行模式为小行星模式,则确定所述第一预处理参数中的倒放参数为是。
可选的,处理器601,还用于根据系统设定参数和/或用户输入的参数设置指令,确定第二预处理参数,所述预设处理参数包括所述第二预处理参数。
可选的,所述第二预处理参数包括以下中的至少一种:
原声参数、音效参数、音乐参数、滤镜参数、倒放参数。
可选的,处理器601,还用于存储并设定所述第二预处理参数为默认参数,并在加载视频时根据所述第二预处理参数对所述视频进行处理。
可选的,所述处理后的所述待播放视频保存在内存中。
可选的,处理器601,还用于根据用户输入的分享指令,将所述内存中所述处理后的所述待播放视频保存为待分享视频。
可选的,处理器601将所述内存中所述处理后的所述待播放视频保存为待分享视频,具体包括:
判断是否存在与所述待播放视频对应的原生视频;
若不存在与所述待播放视频对应的原生视频,则将所述内存中所述处理后的所述待播放视频保存为待分享视频。
可选的,处理器601,还用于若存在与所述待播放视频对应的原生视频,则将根据所述预设处理参数对所述原生视频进行处理后获得的视频作为待分享视频。
可选的,处理器601,还用于:
判断所述原生视频是否满足预设视频条件;
若满足所述预设视频条件,则将所述原生视频作为所述待播放视频;
若不满足所述预设视频条件,则对所述原生视频进行处理,使得处理后的所述原生视频满足所述预设视频条件,并将处理后的所述原生视频作为所述待播放视频。
可选的,所述预设视频条件包括下述中的至少一种:
帧率条件、码率条件、I帧间隔条件。
可选的,所述码率条件包括:码率大于或等于第一预设码率,和/或,码率小于或等于第二预设码率,所述第一预设码率小于所述第二预设码率。
可选的,所述帧率条件包括:
帧率大于或等于第一预设帧率,和/或,帧率小于或等于第二预设帧率,所述第一预设帧率小于所述第二预设帧率。
可选的,所述I帧间隔条件包括:
I帧间隔大于或等于第一预设阈值,和/或,I帧间隔小于或等于第二预设阈值,所述第一预设阈值小于所述第二预设阈值。
可选的,处理器601,还用于根据用户输入的分享指令,使用所述预设处理参数对所述待播放视频对应的原生视频进行处理,获得待分享视频。
本实施例的视频处理设备,可以用于执行图1-图5所示方法实施例任意方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (40)

  1. 一种视频处理方法,其特征在于,包括:
    获取用户输入的播放指令,所述播放指令用于指示播放待播放视频;
    根据预设处理参数对所述待播放视频进行处理;
    对处理后的所述待播放视频进行播放。
  2. 根据权利要求1所述的方法,其特征在于,所述根据预设处理参数对所述待播放视频进行处理之前,还包括:
    根据所述待播放视频的拍摄信息,确定第一预处理参数,所述预设处理参数包括所述第一预处理参数。
  3. 根据权利要求2所述的方法,其特征在于,所述拍摄信息包括下述中的至少一种:
    拍摄时长、飞行轨迹、飞行模式。
  4. 根据权利要求2或3所述的方法,其特征在于,所述预设处理参数还包括预设视频压缩时长,所述第一预处理参数包括:
    根据所述待播放视频的拍摄信息和所述预设视频压缩时长确定的视频的分段参数及变速参数。
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述待播放视频的拍摄信息,确定第一预处理参数,具体包括:
    若根据所述拍摄信息确定飞行模式为秋千模式,则根据所述秋千模式确定所述第一预处理参数中的变速参数。
  6. 根据权利要求5所述的方法,其特征在于,所述变速参数为慢、快、慢。
  7. 根据权利要求4所述的方法,其特征在于,所述第一预处理参数还包括倒放参数;
    所述根据所述待播放视频的拍摄信息,确定第一预处理参数,具体包括:
    若根据所述拍摄信息确定飞行模式为小行星模式,则确定所述第一预处理参数中的倒放参数为是。
  8. 根据权利要求1所述的方法,其特征在于,所述根据预设处理参数对所述待播放视频进行处理之前,还包括:
    根据系统设定参数和/或用户输入的参数设置指令,确定第二预处理参 数,所述预设处理参数包括所述第二预处理参数。
  9. 根据权利要求8所述的方法,其特征在于,所述第二预处理参数包括以下中的至少一种:
    原声参数、音效参数、音乐参数、滤镜参数、倒放参数。
  10. 根据权利要求8或9所述的方法,其特征在于,所述方法还包括:
    存储并设定所述第二预处理参数为默认参数,并在加载视频时根据所述第二预处理参数对所述视频进行处理。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述处理后的所述待播放视频保存在内存中。
  12. 根据权利要求11所述的方法,其特征在于,所述根据预设处理参数对所述待播放视频进行处理之后,还包括:
    根据用户输入的分享指令,将所述内存中所述处理后的所述待播放视频保存为待分享视频。
  13. 根据权利要求12所述的方法,其特征在于,所述将所述内存中所述处理后的所述待播放视频保存为待分享视频,具体包括:
    判断是否存在与所述待播放视频对应的原生视频;
    若不存在与所述待播放视频对应的原生视频,则将所述内存中所述处理后的所述待播放视频保存为待分享视频。
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    若存在与所述待播放视频对应的原生视频,则将根据所述预设处理参数对所述原生视频进行处理后获得的视频作为待分享视频。
  15. 根据权利要求13或14所述的方法,其特征在于,所述根据预设处理参数对所述待播放视频进行处理之前,还包括:
    判断所述原生视频是否满足预设视频条件;
    若满足所述预设视频条件,则将所述原生视频作为所述待播放视频;
    若不满足所述预设视频条件,则对所述原生视频进行处理,使得处理后的所述原生视频满足所述预设视频条件,并将处理后的所述原生视频作为所述待播放视频。
  16. 根据权利要求15所述的方法,其特征在于,所述预设视频条件包括下述中的至少一种:
    帧率条件、码率条件、I帧间隔条件。
  17. 根据权利要求16所述的方法,其特征在于,所述码率条件包括:码率大于或等于第一预设码率,和/或,码率小于或等于第二预设码率,所述第一预设码率小于所述第二预设码率。
  18. 根据权利要求16所述的方法,其特征在于,所述帧率条件包括:
    帧率大于或等于第一预设帧率,和/或,帧率小于或等于第二预设帧率,所述第一预设帧率小于所述第二预设帧率。
  19. 根据权利要求16所述的方法,其特征在于,所述I帧间隔条件包括:
    I帧间隔大于或等于第一预设阈值,和/或,I帧间隔小于或等于第二预设阈值,所述第一预设阈值小于所述第二预设阈值。
  20. 根据权利要求1-11任一项所述的方法,其特征在于,所述根据预设处理参数对所述待播放视频进行处理之后,还包括:
    根据用户输入的分享指令,使用所述预设处理参数对所述待播放视频对应的原生视频进行处理,获得待分享视频。
  21. 一种视频处理设备,其特征在于,包括:处理器以及显示屏幕;所述处理器用于:
    获取用户输入的播放指令,所述播放指令用于指示播放待播放视频;
    根据预设处理参数对所述待播放视频进行处理;
    通过所述显示屏幕对处理后的所述待播放视频进行播放。
  22. 根据权利要求21所述的设备,其特征在于,所述处理器还用于:
    根据所述待播放视频的拍摄信息,确定第一预处理参数,所述预设处理参数包括所述第一预处理参数。
  23. 根据权利要求22所述的设备,其特征在于,所述拍摄信息包括下述中的至少一种:
    拍摄时长、飞行轨迹、飞行模式。
  24. 根据权利要求22或23所述的设备,其特征在于,所述预设处理参数还包括预设视频压缩时长,所述第一预处理参数包括:
    根据所述待播放视频的拍摄信息和所述预设视频压缩时长确定的视频的分段参数及变速参数。
  25. 根据权利要求24所述的设备,其特征在于,所述处理器根据所述待播放视频的拍摄信息,确定第一预处理参数,具体包括:
    若根据所述拍摄信息确定飞行模式为秋千模式,则根据所述秋千模式确定所述第一预处理参数中的变速参数。
  26. 根据权利要求25所述的设备,其特征在于,所述变速参数为慢、快、慢。
  27. 根据权利要求24所述的设备,其特征在于,所述第一预处理参数还包括倒放参数;
    所述处理器根据所述待播放视频的拍摄信息,确定第一预处理参数,具体包括:
    若根据所述拍摄信息确定飞行模式为小行星模式,则确定所述第一预处理参数中的倒放参数为是。
  28. 根据权利要求21所述的设备,其特征在于,所述处理器,还用于根据系统设定参数和/或用户输入的参数设置指令,确定第二预处理参数,所述预设处理参数包括所述第二预处理参数。
  29. 根据权利要求28所述的设备,其特征在于,所述第二预处理参数包括以下中的至少一种:
    原声参数、音效参数、音乐参数、滤镜参数、倒放参数。
  30. 根据权利要求28或29所述的设备,其特征在于,所述处理器,还用于存储并设定所述第二预处理参数为默认参数,并在加载视频时根据所述第二预处理参数对所述视频进行处理。
  31. 根据权利要求21-30任一项所述的设备,其特征在于,所述处理后的所述待播放视频保存在内存中。
  32. 根据权利要求31所述的设备,其特征在于,所述处理器,还用于根据用户输入的分享指令,将所述内存中所述处理后的所述待播放视频保存为待分享视频。
  33. 根据权利要求32所述的设备,其特征在于,所述处理器将所述内存中所述处理后的所述待播放视频保存为待分享视频,具体包括:
    判断是否存在与所述待播放视频对应的原生视频;
    若不存在与所述待播放视频对应的原生视频,则将所述内存中所述处理 后的所述待播放视频保存为待分享视频。
  34. 根据权利要求33所述的设备,其特征在于,所述处理器,还用于若存在与所述待播放视频对应的原生视频,则将根据所述预设处理参数对所述原生视频进行处理后获得的视频作为待分享视频。
  35. 根据权利要求33或34所述的设备,其特征在于,所述处理器,还用于:
    判断所述原生视频是否满足预设视频条件;
    若满足所述预设视频条件,则将所述原生视频作为所述待播放视频;
    若不满足所述预设视频条件,则对所述原生视频进行处理,使得处理后的所述原生视频满足所述预设视频条件,并将处理后的所述原生视频作为所述待播放视频。
  36. 根据权利要求35所述的设备,其特征在于,所述预设视频条件包括下述中的至少一种:
    帧率条件、码率条件、I帧间隔条件。
  37. 根据权利要求36所述的设备,其特征在于,所述码率条件包括:码率大于或等于第一预设码率,和/或,码率小于或等于第二预设码率,所述第一预设码率小于所述第二预设码率。
  38. 根据权利要求36所述的设备,其特征在于,所述帧率条件包括:
    帧率大于或等于第一预设帧率,和/或,帧率小于或等于第二预设帧率,所述第一预设帧率小于所述第二预设帧率。
  39. 根据权利要求36所述的设备,其特征在于,所述I帧间隔条件包括:
    I帧间隔大于或等于第一预设阈值,和/或,I帧间隔小于或等于第二预设阈值,所述第一预设阈值小于所述第二预设阈值。
  40. 根据权利要求21-31任一项所述的设备,其特征在于,所述处理器,还用于根据用户输入的分享指令,使用所述预设处理参数对所述待播放视频对应的原生视频进行处理,获得待分享视频。
PCT/CN2018/073492 2018-01-19 2018-01-19 视频处理方法及设备 WO2019140651A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880031567.1A CN110622517A (zh) 2018-01-19 2018-01-19 视频处理方法及设备
PCT/CN2018/073492 WO2019140651A1 (zh) 2018-01-19 2018-01-19 视频处理方法及设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/073492 WO2019140651A1 (zh) 2018-01-19 2018-01-19 视频处理方法及设备

Publications (1)

Publication Number Publication Date
WO2019140651A1 true WO2019140651A1 (zh) 2019-07-25

Family

ID=67301887

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/073492 WO2019140651A1 (zh) 2018-01-19 2018-01-19 视频处理方法及设备

Country Status (2)

Country Link
CN (1) CN110622517A (zh)
WO (1) WO2019140651A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800673A (zh) * 2020-07-31 2020-10-20 聚好看科技股份有限公司 视频播放方法、显示设备及服务器
CN112068771A (zh) * 2020-08-17 2020-12-11 Oppo广东移动通信有限公司 视频处理方法、视频处理装置、终端设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070028288A1 (en) * 2005-07-26 2007-02-01 Sigmon Robert B Jr System and method for providing video content associated with a source image to a television in a communication network
CN102348089A (zh) * 2010-08-06 2012-02-08 康佳集团股份有限公司 视频播放方法及系统
CN103281457A (zh) * 2013-06-03 2013-09-04 贝壳网际(北京)安全技术有限公司 一种移动终端浏览器中视频播放方法、装置及浏览器
CN105828131A (zh) * 2016-03-22 2016-08-03 广东欧珀移动通信有限公司 一种视频分享方法及通信终端
CN105847992A (zh) * 2016-04-06 2016-08-10 乐视控股(北京)有限公司 一种视频流加载方法和装置
CN106412671A (zh) * 2016-09-29 2017-02-15 维沃移动通信有限公司 一种视频播放方法及移动终端
CN107005624A (zh) * 2014-12-14 2017-08-01 深圳市大疆创新科技有限公司 视频处理的方法和系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4407549B2 (ja) * 2005-03-17 2010-02-03 カシオ計算機株式会社 撮影装置、動画再生装置、動画記録再生プログラム
EP2993895A1 (en) * 2014-09-05 2016-03-09 Canon Kabushiki Kaisha Image capturing apparatus and control method therefor
US10192583B2 (en) * 2014-10-10 2019-01-29 Samsung Electronics Co., Ltd. Video editing using contextual data and content discovery using clusters
WO2016095073A1 (zh) * 2014-12-14 2016-06-23 深圳市大疆创新科技有限公司 一种视频处理方法、装置及图像系统
CN104702919B (zh) * 2015-03-31 2019-08-06 小米科技有限责任公司 播放控制方法及装置、电子设备
CN105554516A (zh) * 2015-12-31 2016-05-04 杭州华为数字技术有限公司 播放监控视频的方法和装置
CN106067948A (zh) * 2016-07-27 2016-11-02 杨珊珊 无人机及其航拍素材处理设备、自动整合系统及整合方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070028288A1 (en) * 2005-07-26 2007-02-01 Sigmon Robert B Jr System and method for providing video content associated with a source image to a television in a communication network
CN102348089A (zh) * 2010-08-06 2012-02-08 康佳集团股份有限公司 视频播放方法及系统
CN103281457A (zh) * 2013-06-03 2013-09-04 贝壳网际(北京)安全技术有限公司 一种移动终端浏览器中视频播放方法、装置及浏览器
CN107005624A (zh) * 2014-12-14 2017-08-01 深圳市大疆创新科技有限公司 视频处理的方法和系统
CN105828131A (zh) * 2016-03-22 2016-08-03 广东欧珀移动通信有限公司 一种视频分享方法及通信终端
CN105847992A (zh) * 2016-04-06 2016-08-10 乐视控股(北京)有限公司 一种视频流加载方法和装置
CN106412671A (zh) * 2016-09-29 2017-02-15 维沃移动通信有限公司 一种视频播放方法及移动终端

Also Published As

Publication number Publication date
CN110622517A (zh) 2019-12-27

Similar Documents

Publication Publication Date Title
US10863109B2 (en) Real time video special effects system and method
US20220124258A1 (en) Real time video special effects system and method
US11727958B2 (en) Real time video special effects system and method
US11670339B2 (en) Video acquisition method and device, terminal and medium
US20140105411A1 (en) Methods and systems for karaoke on a mobile device
WO2016177296A1 (zh) 一种生成视频的方法和装置
KR102131322B1 (ko) 동영상을 처리하는 컴퓨팅 장치, 방법 및 컴퓨터 프로그램
US20220095015A1 (en) Methods, systems, and media for modifying the presentation of video content on a user device based on a consumption of the user device
CN111177453B (zh) 控制音频播放的方法、装置、设备及计算机可读存储介质
WO2022206366A1 (zh) 应用程序的视频处理方法和电子设备
US20150113408A1 (en) Automatic custom sound effects for graphical elements
WO2019140651A1 (zh) 视频处理方法及设备
WO2021052130A1 (zh) 视频处理方法、装置、设备及计算机可读存储介质
WO2022217944A1 (zh) 字幕与音源的绑定方法及装置
WO2014110055A1 (en) Mixed media communication
US9313244B2 (en) Content reproduction apparatus, content reproduction method, and computer-readable recording medium having content reproduction program recorded thereon
CN113948054A (zh) 音轨处理方法、装置、电子设备和存储介质
WO2019196258A1 (zh) 一种音频播放的控制方法及终端设备
WO2020024197A1 (zh) 视频的处理方法、装置及计算机可读存储介质
CN113767618B (zh) 实时视频特效系统和方法
US20230402068A1 (en) Voice-controlled content creation
TW201711452A (zh) 影片播放速度調整方法及其電子裝置
CN112734942A (zh) Ar内容播放修改方法、装置、计算机设备及存储介质
JP2021149683A (ja) 動画を再生するためのプログラム、システム、及び方法

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: 18900773

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: 18900773

Country of ref document: EP

Kind code of ref document: A1