CN110622517A - Video processing method and device - Google Patents

Video processing method and device Download PDF

Info

Publication number
CN110622517A
CN110622517A CN201880031567.1A CN201880031567A CN110622517A CN 110622517 A CN110622517 A CN 110622517A CN 201880031567 A CN201880031567 A CN 201880031567A CN 110622517 A CN110622517 A CN 110622517A
Authority
CN
China
Prior art keywords
video
preset
played
parameter
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201880031567.1A
Other languages
Chinese (zh)
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.)
SZ DJI Technology Co Ltd
Original Assignee
SZ DJI Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Publication of CN110622517A publication Critical patent/CN110622517A/en
Pending 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, rendering scenes according to MPEG-4 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

Abstract

A video processing method and apparatus. The method comprises the following steps: acquiring a playing instruction input by a user, wherein the playing instruction is used for indicating to play a video to be played; processing the video to be played according to preset processing parameters; and playing the processed video to be played. The invention simplifies the user operation and improves the user experience.

Description

Video processing method and device Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a video processing method and device.
Background
In order to improve the audio-visual effect of the video, it is generally necessary to process the video, for example, add sound effects, add filters, remove original sounds, and the like.
In the prior art, a user needs to use video editing software to process videos. Specifically, a user needs to put a video into a device with video editing software, and then use the device to import the video into the video editing software, and perform operations such as cutting, adding sound effects, removing original sounds, and exporting in the video editing software.
Therefore, the prior art has the problem of complex operation when processing videos.
Disclosure of Invention
The embodiment of the invention provides a video processing method and video processing equipment, which are used for solving the problem of complex operation when a video is processed in the prior art.
In a first aspect, an embodiment of the present invention provides a video processing method, including:
acquiring a playing instruction input by a user, wherein the playing instruction is used for indicating to play a video to be played;
processing the video to be played according to preset processing parameters;
and playing the processed video to be played.
In a second aspect, an embodiment of the present invention provides a video processing apparatus, including: a processor and a display screen; the processor is configured to:
acquiring a playing instruction input by a user, wherein the playing instruction is used for indicating to play a video to be played;
processing the video to be played according to preset processing parameters;
and playing the processed video to be played through the display screen.
According to the video processing method and device provided by the embodiment of the invention, the video to be played is processed according to the preset processing parameters by acquiring the playing instruction which is input by the user and used for indicating the playing of the video to be played, and the processed video to be played is played, so that the video to be played is played to the user when the user needs to play the video to be played, the user does not need to use video editing software to process the video, the problem of complex operation when the user uses the software editing software to process the video is avoided, the user operation is simplified, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a first embodiment of a video processing method according to the present invention;
fig. 2 is a flowchart of a second embodiment of a video processing method according to the present invention;
fig. 3 is a flowchart of a third embodiment of a video processing method according to the present invention;
fig. 4 is a flowchart of a fourth embodiment of a video processing method according to the present invention;
fig. 5 is a flowchart of a fifth embodiment of a video processing method according to the present invention;
fig. 6 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a video processing method according to a first embodiment of the present invention. The method of the present embodiment may be performed by any video processing device capable of playing video, such as a camera, a camcorder, a mobile terminal, etc. As shown in fig. 1, the method of this embodiment may include:
step 101, a playing instruction input by a user is obtained, and the playing instruction is used for indicating to play a video to be played.
In this step, the video to be played may be a native video captured by the video processing device, or may be a video obtained by processing the captured native sound video, or may also be a native video sent by other devices, or may also be a video obtained by processing a native video sent by other devices, which is not limited in this invention. When the video to be played is the original video shot by the video processing device or the video obtained by processing the shot original video, optionally, the playing instruction may be a playback instruction for playing back the shot original sound 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. For example, the playing instruction input by the user may be obtained through an entity key, a virtual key, a touch key, or the like, or may be obtained in a manner of voice, gesture, or the like.
And 102, processing the video to be played according to preset processing parameters.
In this step, the preset processing parameter may correspond 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 satisfy a processing effect required by the preset processing parameter.
Optionally, the preset processing parameters may include one or more of the following: the video to be played is processed according to preset processing parameters, which may be specifically a duration parameter, a segment parameter, a speed change parameter, an acoustic parameter, a sound effect parameter, a music parameter, a filter parameter, and a reverse playing parameter. The duration parameter may indicate a target duration of the video, for example, the duration of the video to be played is 20 seconds, 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 may be used to indicate the manner of segmentation of the video. The shift parameter may be used to indicate the manner of shifting of the video. The acoustic parameters may be used to indicate whether to remove acoustic sound. The sound effect parameter can be used for indicating whether to increase the sound effect, and when the sound effect is increased, the specific mode of increasing the sound effect can be indicated. The music parameter may be used to indicate whether to add music, and when adding music, may also indicate the particular manner in which to add music. The filter parameters may be used to indicate whether to add filters and, when added, the particular manner in which to add filters. The reverse parameter may be used to indicate whether to reverse.
It should be noted that, after the video is segmented, the sound effect parameter, the music parameter, the shift parameter, the rewind parameter, and the like may be parameters of the whole video, or may also be parameters of each video segment, which is not limited in the present invention.
It should be noted that each parameter in the preset processing parameters may be a fixed parameter, or may also be a parameter determined according to related information of a video to be played, or may also be a parameter set by a user, and the like, which is not limited in the present invention.
And 103, playing the processed video to be played.
In this step, the specific way of playing the processed video to be played is not limited in the present invention. For example, after processing the video to be played, a corresponding video may be generated, and further, the generated video may be played.
In the embodiment, the video to be played is processed according to the preset processing parameters by acquiring the video playing instruction which is input by the user and used for indicating playing of the video to be played, and the processed video to be played is played, so that the video to be played after being processed is played to the user when the user needs to play the video to be played, the user does not need to use video editing software to process the video, the problem of complex operation when the user uses the software editing software to process the video is avoided, the user operation is simplified, and the user experience is improved.
Fig. 2 is a flowchart of a second embodiment of a video processing method according to the present invention. The present embodiment mainly describes an alternative implementation manner of determining the preset processing parameter on the basis of the embodiment shown in fig. 1. As shown in fig. 2, the method of this embodiment may include:
step 201, a playing instruction input by a user is obtained, and the playing instruction is used for instructing to play a video to be played.
It should be noted that step 201 is similar to step 101, and is not described herein again.
Step 202, determining a first preprocessing parameter according to the shooting information of the video to be played.
In this step, the shooting information may be any information related to shooting. Optionally, the shooting information may include at least one of the following: shooting duration, flight trajectory and flight mode. The flight trajectory may be a flight trajectory of a flight device equipped with a camera or a video camera that can be used for shooting, and the flight mode may be a flight mode of a flight device equipped with a camera or a video camera that can be used for shooting. Here, the flying device may be, for example, a drone. The flight modes may include, for example: swing mode, asteroid mode, etc.
The shot video has different characteristics due to different shooting information, so that the first preprocessing parameter matched with the video to be played can be determined according to the shooting information of the video to be played. Optionally, the first preprocessing parameter may include a segmentation parameter and/or a speed change parameter. The variable speed parameter may be a variable speed parameter of the entire video, or a variable speed parameter of each video segment, which is not limited in the present invention. The shifting parameter may specifically be "fast" or "slow" describing the shifting situation qualitatively, or may also be a shifting rate describing the shifting situation quantitatively.
For example, assuming that the shooting time duration in the shooting information of the video to be played is 20 seconds, the video to be played may be divided into two video segments of the first 10 seconds and the second 10 seconds, further, the former video segment may correspond to one variable speed parameter, and the latter video segment may correspond to the other variable speed parameter.
For another example, if the flight trajectory in the shooting information of the video to be played is to fly 2 meters in the first direction and then 3 meters in the second direction, a portion of the video to be played, which is shot by flying 2 meters in the first direction, may be taken as the video segment 1, and a portion of the video to be played, which is shot by flying 3 meters in the second direction, may be taken as the video segment 2, further optionally, the video segment 1 may correspond to one speed change parameter, and the video segment 2 may correspond to another speed change parameter.
For another example, assuming that the shooting time of 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, a portion of the video to be played, which is shot by flying 2 meters in the first direction, may be taken as the video segment 1, and a portion of the video to be played, which is shot by flying 3 meters in the second direction, may be taken as the video segment 2, and further optionally, a speed change parameter may be determined for the video segment 1 according to the shooting time of 20 seconds, and another speed change parameter may be determined for the video segment 2.
For another example, assuming that the flight mode in the shooting information of the video to be played is the swing mode, the middle portion of the video to be played with a larger speed change rate may be taken as the video segment 1, and the two portions of the video to be played with a smaller front-back speed change rate and a smaller rear-back speed change rate may be taken as the video segment 2 and the video segment 3, respectively.
For another example, assuming that the flight mode in the shooting information of the video to be played is the asteroid mode, and the shooting duration is 15 seconds, the video to be played may be divided into two video segments of the first 5 seconds and the second 10 seconds, further optionally, a speed change parameter may be determined for the previous video segment according to the asteroid mode, and another speed change parameter may be determined for the next video segment.
The first preprocessing parameter may be included in preset processing parameters, and optionally, the preset processing parameter may further include a preset video compression time length. The preset video compression time length may be used to indicate a target time length after the video is subjected to time length compression, and may be set fixedly or by a user, for example, 10 seconds, 15 seconds, or 20 seconds, and the present invention is not limited thereto. Optionally, the segmentation parameter and the speed change parameter may specifically be a video segmentation parameter and a speed change parameter determined according to the shooting information of the video to be played and the preset video compression time.
For example, assuming that the shooting time duration in the shooting information of the video to be played is 20 seconds, the video to be played may be divided into two video segments of the first 10 seconds and the second 10 seconds, and one variable speed parameter is determined for the previous video segment and another variable speed parameter is determined for the next video segment according to the preset video compression time duration.
For another example, assuming that the shooting time of the shooting information of the video to be played is 20 seconds, the flight trajectory is to fly 2 meters in the first direction and then 3 meters in the second direction, a portion of the video to be played, which is shot by flying 2 meters in the first direction, may be taken as the video segment 1, a portion of the video to be played, which is shot by flying 3 meters in the second direction, may be taken as the video segment 2, and a speed change parameter is determined for the video segment 1 and another speed change parameter is determined for the video segment 2 according to the preset video compression time and the shooting time 20 seconds.
For another example, assuming that the flight mode in the shooting information of the video to be played is the swing mode, the middle portion of the video to be played with a larger speed change rate may be taken as the video segment 1, the two portions of the video to be played with a smaller front and rear speed change rate may be taken as the video segment 2 and the video segment 3, respectively, and the speed change parameters may be determined for the video segment 1, the video segment 2, and the video segment 3 according to the preset video compression time length, respectively.
Optionally, when the flight mode is the swing mode, since the flight speed variation of the flight device in the swing mode has a specific rule, the speed change parameter in the first preprocessing parameter may be determined according to the swing mode. Further alternatively, the shift parameters may be slow, fast, slow, or fast, slow, fast, etc.
Optionally, the first preprocessing parameter further includes a reverse playing parameter. Step 202 may specifically include: and if the flight mode is determined to be the asteroid mode according to the shooting information, determining that the reverse playing parameter in the first preprocessing parameters is yes.
Alternatively, the transition can be made between video segments with different shift rates by using a transition effect ease-in that specifies starting at a slow speed, or a transition effect ease-out that specifies ending at a slow speed, or a transition effect ease in ease out that specifies starting and ending at a slow speed.
Step 203, processing the video to be played according to preset processing parameters, where the preset processing parameters include the first preprocessing parameter.
In this step, the video to be played is processed according to the preset processing parameter, and the processed video to be played meets the processing effect required by the preset processing parameter. For example, when the preset processing parameter includes a preset video compression time length, the processed video to be played meets the video time length required by the preset processing parameter.
And step 204, playing the processed video to be played.
It should be noted that step 204 is similar to step 103, and is not described herein again.
In this embodiment, the first preprocessing parameter is determined according to the shooting information of the video to be played, and the video to be played is processed according to the preset processing parameter including the first preprocessing parameter, so that the video to be played is processed by using the first preprocessing parameter matched with the shooting information of the video to be played, and the video to be played is processed more reasonably.
Fig. 3 is a flowchart of a video processing method according to a third embodiment of the present invention. The present embodiment mainly describes another alternative implementation manner for determining the preset processing parameter on the basis of the embodiment shown in fig. 1. As shown in fig. 3, the method of this embodiment may include:
step 301, a playing instruction input by a user is obtained, and the playing instruction is used for instructing to play a video to be played.
It should be noted that step 301 is similar to step 101, and will not be described herein again.
Step 302, determining a second preprocessing parameter according to a system setting parameter and/or a parameter setting instruction input by a user.
In this step, the user may set parameters for processing the video through the parameter setting instruction, or the video processing device may also have system setting parameters in advance, and determine the parameters for processing the video according to the system setting parameters. The present invention is not limited to the specific manner in which the user inputs the parameter setting instruction. For example, the user may input a parameter setting instruction through a parameter setting interface provided by video playing software, or may also input a parameter setting instruction through a parameter setting interface provided by video editing software. Optionally, the second preprocessing parameter includes at least one of: acoustic parameters, sound effect parameters, music parameters, filter parameters, and inverse parameters. Optionally, after determining the second preprocessing parameter, the second preprocessing parameter may be stored and set as a default parameter, and the video is processed according to the second preprocessing parameter when the video is loaded.
It should be noted that there is no restriction on the order between step 302 and step 301.
And 303, processing the video to be played according to preset processing parameters, wherein the preset processing parameters comprise the second preprocessing parameters.
It should be noted that step 303 is similar to step 203, and is described herein in detail.
And step 304, playing the processed video to be played.
It should be noted that step 204 is similar to step 103, and is not described herein again.
In this embodiment, the second preprocessing parameter is determined according to the system setting parameter, and the video to be played is processed according to the preset processing parameter including the second preprocessing parameter, so that the user can process the video without using video editing software. Furthermore, the second preprocessing parameter is determined according to the parameter setting instruction input by the user, so that the user can control the video processing mode, the processed video can meet the requirements of the user, and the user experience is improved.
The preset processing parameters may include the first preprocessing parameter and the second preprocessing parameter.
Fig. 4 is a flowchart of a fourth embodiment of a video processing method according to the present invention. On the basis of the embodiments shown in fig. 1 to fig. 3, this embodiment mainly describes an optional processing manner after processing the video to be played according to preset processing parameters. As shown in fig. 4, the method of this embodiment may include:
step 401, processing the video to be played according to preset processing parameters, and storing the processed video to be played in a memory.
In this step, by storing the processed video to be played in the memory, the time delay caused by generating the corresponding video after processing the video to be played can be avoided, so that the time delay of playing the processed video to be played is reduced. It should be noted that, for a specific way of processing the video to be played according to the preset processing parameter, reference may be made to the above-mentioned embodiment, and details are not described herein again.
Step 402, storing the processed video to be played in the memory as a video to be shared according to a sharing instruction input by a user.
In this step, the specific manner for obtaining the sharing instruction input by the user is not limited in the present invention. For example, the sharing instruction input by the user may be obtained by pressing a key, or may also be obtained by voice or gesture. Furthermore, the user can jump to a sharing interface according to a sharing instruction input by the user, so that the user can conveniently select a sharing object to share.
In order to make the effect of the shared video best, optionally, before the processed video to be played in the memory is stored as the video to be shared, the method further includes: judging whether a native video corresponding to the video to be played exists or not; if the original video corresponding to the video to be played does not exist, storing the processed video to be played in the memory as the video to be shared. Further, if a native video corresponding to the video to be played exists, the video obtained after processing the native video according to the preset processing parameters is used as the video to be shared. The raw video may be understood as an unprocessed video obtained by shooting.
When the native video exists, optionally, after a play instruction input by a user is obtained, whether to process the native video according to preset processing parameters or to process other videos obtained according to the native video may be selected based on a specific condition. For example, when the CPU occupancy of the video processing apparatus is greater than a preset occupancy, it is possible to select to process other video obtained from the native video; when the CPU occupancy of the video processing apparatus is less than or equal to the preset occupancy, it is possible to select processing of the native video. For another example, when the video duration of the native video is longer than the preset duration, other videos obtained from the native video may be selectively processed; when the video duration of the native video is less than or equal to the preset duration, the native video can be selected to be processed.
When the specific condition may be a condition related to the video itself, and the native video does not satisfy the specific condition, further, it may be considered that the native video is processed according to the specific condition. Specifically, before step 401, the method may further include: judging whether the native video meets a preset video condition or not; if the preset video condition is met, taking the native video as the video to be played; and if the preset video condition is not met, processing the native video to enable the processed native video to meet the preset video condition, and taking the processed native video as the video to be played. Optionally, the preset video condition includes at least one of the following: frame rate condition, code rate condition, I-frame interval condition.
Further, from the viewpoint of the viewing effect of the user, the larger the code rate, the better, and from the viewpoint of the processing amount of the video processing apparatus, the smaller the code rate, the better. Therefore, optionally, the code rate condition includes: the code rate is greater than or equal to a first preset code rate, and/or the code rate is less than or equal to a second preset code rate, wherein the first preset code rate is less than the second preset code rate.
Further, from the viewpoint of the viewing effect of the user, the larger the frame rate is, the better, and from the viewpoint of the processing amount of the video processing apparatus, the smaller the frame rate is. Therefore, optionally, the frame rate condition includes: the frame rate is greater than or equal to a first preset frame rate, and/or the frame rate is less than or equal to a second preset frame rate, and the first preset frame rate is less than the second preset frame rate.
Further, from the viewpoint of the viewing effect of the user, the smaller the I-frame interval is, the better, and from the viewpoint of the processing amount of the video processing apparatus, the larger the I-frame interval is, the better. Therefore, optionally, the I-frame interval condition includes: the interval of the I frames is greater than or equal to a first preset threshold value, and/or the interval of the I frames is less than or equal to a second preset threshold value, wherein the first preset threshold value is less than the second preset threshold value.
In this embodiment, the video to be played is processed according to the preset processing parameter, and the processed video to be played can be stored in the memory, so that a time delay caused by generating a corresponding video after processing the video to be played can be avoided, and thus the time delay of playing the processed video to be played is reduced. In addition, the processed video to be played in the memory is stored as the video to be shared according to the sharing instruction input by the user, so that the video sharing by the user can be facilitated, and the user experience is improved.
Fig. 5 is a flowchart of a fifth embodiment of a video processing method according to the present invention. On the basis of the embodiments shown in fig. 1 to fig. 3, this embodiment mainly describes an optional processing manner after processing the video to be played according to preset processing parameters. As shown in fig. 5, the method of this embodiment may include:
and step 501, obtaining a sharing instruction input by a user.
In this step, for a specific manner of obtaining the sharing instruction input by the user, reference may be made to the related content in step 402, which is not described herein again.
Step 502, according to the sharing instruction, processing a native video corresponding to the video to be played by using the preset processing parameter, and obtaining the video to be shared.
In this step, the preset processing parameter may specifically be the preset processing parameter described in any of the above embodiments. For a description of the native video, reference may be made to the embodiment shown in fig. 4, which is not described herein again.
In the embodiment, the original video to be shared corresponding to the video to be played is processed by using the preset processing parameters according to the sharing instruction input by the user, so that the video to be shared is obtained, the user can conveniently share the high-definition video, and the user experience is improved.
Fig. 6 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention. As shown in fig. 6, the video processing apparatus 60 provided in the present embodiment may include: a processor 601 and a display screen 602.
Wherein, the processor 601 is configured to:
acquiring a playing instruction input by a user, wherein the playing instruction is used for indicating to play a video to be played;
processing the video to be played according to preset processing parameters;
and playing the processed video to be played through the display screen.
Optionally, the processor 601 is further configured to:
and determining a first preprocessing parameter according to the shooting information of the video to be played, wherein the preset processing parameter comprises the first preprocessing parameter.
Optionally, the shooting information includes at least one of the following: shooting duration, flight trajectory and flight mode.
Optionally, the preset processing parameter further includes a preset video compression duration, and the first preprocessing parameter includes:
and determining the segmentation parameters and the variable speed parameters of the video according to the shooting information of the video to be played and the preset video compression time length.
Optionally, the processor 601 determines a first preprocessing parameter according to the shooting information of the video to be played, and specifically includes:
and if the flight mode is determined to be the swing mode according to the shooting information, determining the speed change parameter in the first preprocessing parameter according to the swing mode.
Optionally, the speed change parameter is slow, fast or slow.
Optionally, the first preprocessing parameter further includes a reverse playing parameter; the processor 601 determines a first preprocessing parameter according to the shooting information of the video to be played, and specifically includes: and if the flight mode is determined to be the asteroid mode according to the shooting information, determining that the reverse playing parameter in the first preprocessing parameters is yes.
Optionally, the processor 601 is further configured to determine a second preprocessing parameter according to a system setting parameter and/or a parameter setting instruction input by a user, where the preset processing parameter includes the second preprocessing parameter.
Optionally, the second preprocessing parameter includes at least one of:
acoustic parameters, sound effect parameters, music parameters, filter parameters, and inverse parameters.
Optionally, the processor 601 is further configured to store and set the second preprocessing parameter as a default parameter, and process the video according to the second preprocessing parameter when the video is loaded.
Optionally, the processed video to be played is stored in a memory.
Optionally, the processor 601 is further configured to store the processed video to be played in the memory as a video to be shared according to a sharing instruction input by a user.
Optionally, the storing, by the processor 601, the processed video to be played in the memory as a video to be shared specifically includes:
judging whether a native video corresponding to the video to be played exists or not;
if the original video corresponding to the video to be played does not exist, storing the processed video to be played in the memory as the video to be shared.
Optionally, the processor 601 is further configured to, if a native video corresponding to the video to be played exists, use a video obtained by processing the native video according to the preset processing parameter as the video to be shared.
Optionally, the processor 601 is further configured to:
judging whether the native video meets a preset video condition or not;
if the preset video condition is met, taking the native video as the video to be played;
and if the preset video condition is not met, processing the native video to enable the processed native video to meet the preset video condition, and taking the processed native video as the video to be played.
Optionally, the preset video condition includes at least one of the following:
frame rate condition, code rate condition, I-frame interval condition.
Optionally, the code rate condition includes: the code rate is greater than or equal to a first preset code rate, and/or the code rate is less than or equal to a second preset code rate, wherein the first preset code rate is less than the second preset code rate.
Optionally, the frame rate condition includes:
the frame rate is greater than or equal to a first preset frame rate, and/or the frame rate is less than or equal to a second preset frame rate, and the first preset frame rate is less than the second preset frame rate.
Optionally, the I-frame interval condition includes:
the interval of the I frames is greater than or equal to a first preset threshold value, and/or the interval of the I frames is less than or equal to a second preset threshold value, wherein the first preset threshold value is less than the second preset threshold value.
Optionally, the processor 601 is further configured to process, according to a sharing instruction input by a user, the native video corresponding to the video to be played by using the preset processing parameter, so as to obtain the video to be shared.
The video processing device of this embodiment may be configured to execute the technical solutions of any method embodiments of the method embodiments shown in fig. 1 to fig. 5, and the implementation principles and technical effects are similar, and are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (40)

  1. A video processing method, comprising:
    acquiring a playing instruction input by a user, wherein the playing instruction is used for indicating to play a video to be played;
    processing the video to be played according to preset processing parameters;
    and playing the processed video to be played.
  2. The method according to claim 1, wherein before processing the video to be played according to the preset processing parameters, the method further comprises:
    and determining a first preprocessing parameter according to the shooting information of the video to be played, wherein the preset processing parameter comprises the first preprocessing parameter.
  3. The method of claim 2, wherein the photographing information comprises at least one of:
    shooting duration, flight trajectory and flight mode.
  4. The method according to claim 2 or 3, wherein the preset processing parameter further comprises a preset video compression duration, and the first preprocessing parameter comprises:
    and determining the segmentation parameters and the variable speed parameters of the video according to the shooting information of the video to be played and the preset video compression time length.
  5. The method according to claim 4, wherein the determining a first preprocessing parameter according to the shooting information of the video to be played specifically comprises:
    and if the flight mode is determined to be the swing mode according to the shooting information, determining the speed change parameter in the first preprocessing parameter according to the swing mode.
  6. The method of claim 5, wherein the shift parameters are slow, fast, and slow.
  7. The method of claim 4, wherein the first pre-processing parameters further comprise an inverse play parameter;
    the determining a first preprocessing parameter according to the shooting information of the video to be played specifically includes:
    and if the flight mode is determined to be the asteroid mode according to the shooting information, determining that the reverse playing parameter in the first preprocessing parameters is yes.
  8. The method according to claim 1, wherein before processing the video to be played according to the preset processing parameters, the method further comprises:
    and determining a second preprocessing parameter according to a system setting parameter and/or a parameter setting instruction input by a user, wherein the preset processing parameter comprises the second preprocessing parameter.
  9. The method of claim 8, wherein the second pre-processing parameter comprises at least one of:
    acoustic parameters, sound effect parameters, music parameters, filter parameters, and inverse parameters.
  10. The method according to claim 8 or 9, characterized in that the method further comprises:
    and storing and setting the second preprocessing parameter as a default parameter, and processing the video according to the second preprocessing parameter when the video is loaded.
  11. The method according to any one of claims 1-10, wherein the processed video to be played is stored in a memory.
  12. The method according to claim 11, wherein after processing the video to be played according to the preset processing parameters, the method further comprises:
    and storing the processed video to be played in the memory as a video to be shared according to a sharing instruction input by a user.
  13. The method according to claim 12, wherein the storing the processed video to be played in the memory as a video to be shared specifically comprises:
    judging whether a native video corresponding to the video to be played exists or not;
    if the original video corresponding to the video to be played does not exist, storing the processed video to be played in the memory as the video to be shared.
  14. The method of claim 13, further comprising:
    and if the original video corresponding to the video to be played exists, processing the original video according to the preset processing parameters to obtain a video serving as the video to be shared.
  15. The method according to claim 13 or 14, wherein before processing the video to be played according to the preset processing parameters, the method further comprises:
    judging whether the native video meets a preset video condition or not;
    if the preset video condition is met, taking the native video as the video to be played;
    and if the preset video condition is not met, processing the native video to enable the processed native video to meet the preset video condition, and taking the processed native video as the video to be played.
  16. The method of claim 15, wherein the preset video condition comprises at least one of:
    frame rate condition, code rate condition, I-frame interval condition.
  17. The method of claim 16, wherein the code rate condition comprises: the code rate is greater than or equal to a first preset code rate, and/or the code rate is less than or equal to a second preset code rate, wherein the first preset code rate is less than the second preset code rate.
  18. The method of claim 16, wherein the frame rate condition comprises:
    the frame rate is greater than or equal to a first preset frame rate, and/or the frame rate is less than or equal to a second preset frame rate, and the first preset frame rate is less than the second preset frame rate.
  19. The method of claim 16, wherein the I-frame spacing condition comprises:
    the interval of the I frames is greater than or equal to a first preset threshold value, and/or the interval of the I frames is less than or equal to a second preset threshold value, wherein the first preset threshold value is less than the second preset threshold value.
  20. The method according to any one of claims 1-11, wherein after processing the video to be played according to the preset processing parameters, the method further comprises:
    and processing the original video corresponding to the video to be played by using the preset processing parameters according to a sharing instruction input by a user to obtain the video to be shared.
  21. A video processing apparatus, comprising: a processor and a display screen; the processor is configured to:
    acquiring a playing instruction input by a user, wherein the playing instruction is used for indicating to play a video to be played;
    processing the video to be played according to preset processing parameters;
    and playing the processed video to be played through the display screen.
  22. The device of claim 21, wherein the processor is further configured to:
    and determining a first preprocessing parameter according to the shooting information of the video to be played, wherein the preset processing parameter comprises the first preprocessing parameter.
  23. The apparatus of claim 22, wherein the photographing information comprises at least one of:
    shooting duration, flight trajectory and flight mode.
  24. The apparatus according to claim 22 or 23, wherein the preset processing parameter further comprises a preset video compression duration, and the first preprocessing parameter comprises:
    and determining the segmentation parameters and the variable speed parameters of the video according to the shooting information of the video to be played and the preset video compression time length.
  25. The apparatus according to claim 24, wherein the processor determines a first preprocessing parameter according to the shooting information of the video to be played, and specifically includes:
    and if the flight mode is determined to be the swing mode according to the shooting information, determining the speed change parameter in the first preprocessing parameter according to the swing mode.
  26. The apparatus of claim 25, wherein the shift parameters are slow, fast, and slow.
  27. The apparatus of claim 24, wherein the first pre-processing parameters further comprise an inverse parameter;
    the processor determines a first preprocessing parameter according to the shooting information of the video to be played, and specifically includes:
    and if the flight mode is determined to be the asteroid mode according to the shooting information, determining that the reverse playing parameter in the first preprocessing parameters is yes.
  28. The apparatus of claim 21, wherein the processor is further configured to determine a second pre-processing parameter according to a system setting parameter and/or a parameter setting instruction input by a user, and the pre-processing parameter comprises the second pre-processing parameter.
  29. The apparatus of claim 28, wherein the second pre-processing parameter comprises at least one of:
    acoustic parameters, sound effect parameters, music parameters, filter parameters, and inverse parameters.
  30. The apparatus according to claim 28 or 29, wherein the processor 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 the video is loaded.
  31. The apparatus according to any of claims 21-30, wherein the processed video to be played is stored in a memory.
  32. The device according to claim 31, wherein the processor is further configured to store the processed video to be played in the memory as a video to be shared according to a sharing instruction input by a user.
  33. The apparatus according to claim 32, wherein the processor stores the processed video to be played in the memory as a video to be shared, specifically including:
    judging whether a native video corresponding to the video to be played exists or not;
    if the original video corresponding to the video to be played does not exist, storing the processed video to be played in the memory as the video to be shared.
  34. The device according to claim 33, wherein the processor is further configured to, if a native video corresponding to the video to be played exists, use a video obtained by processing the native video according to the preset processing parameter as the video to be shared.
  35. The apparatus of claim 33 or 34, wherein the processor is further configured to:
    judging whether the native video meets a preset video condition or not;
    if the preset video condition is met, taking the native video as the video to be played;
    and if the preset video condition is not met, processing the native video to enable the processed native video to meet the preset video condition, and taking the processed native video as the video to be played.
  36. The apparatus of claim 35, wherein the preset video condition comprises at least one of:
    frame rate condition, code rate condition, I-frame interval condition.
  37. The apparatus of claim 36, wherein the code rate condition comprises: the code rate is greater than or equal to a first preset code rate, and/or the code rate is less than or equal to a second preset code rate, wherein the first preset code rate is less than the second preset code rate.
  38. The apparatus of claim 36, wherein the frame rate condition comprises:
    the frame rate is greater than or equal to a first preset frame rate, and/or the frame rate is less than or equal to a second preset frame rate, and the first preset frame rate is less than the second preset frame rate.
  39. The apparatus of claim 36, wherein the I-frame spacing condition comprises:
    the interval of the I frames is greater than or equal to a first preset threshold value, and/or the interval of the I frames is less than or equal to a second preset threshold value, wherein the first preset threshold value is less than the second preset threshold value.
  40. The device according to any one of claims 21 to 31, wherein the processor is further configured to process, according to a sharing instruction input by a user, the native video corresponding to the video to be played using the preset processing parameter, so as to obtain the video to be shared.
CN201880031567.1A 2018-01-19 2018-01-19 Video processing method and device Pending CN110622517A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/073492 WO2019140651A1 (en) 2018-01-19 2018-01-19 Video processing method and device

Publications (1)

Publication Number Publication Date
CN110622517A true CN110622517A (en) 2019-12-27

Family

ID=67301887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880031567.1A Pending CN110622517A (en) 2018-01-19 2018-01-19 Video processing method and device

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800673A (en) * 2020-07-31 2020-10-20 聚好看科技股份有限公司 Video playing method, display equipment and server
CN112068771A (en) * 2020-08-17 2020-12-11 Oppo广东移动通信有限公司 Video processing method, video processing device, terminal device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262135A (en) * 2005-03-17 2006-09-28 Casio Comput Co Ltd Photographing device, moving picture reproducing device, and moving picture recording/reproduction program
CN104702919A (en) * 2015-03-31 2015-06-10 小米科技有限责任公司 Play control method and device and electronic device
CN105407266A (en) * 2014-09-05 2016-03-16 佳能株式会社 Image capturing apparatus and control method therefor
CN105493496A (en) * 2014-12-14 2016-04-13 深圳市大疆创新科技有限公司 Video processing method, and device and image system
CN105554516A (en) * 2015-12-31 2016-05-04 杭州华为数字技术有限公司 Method and device for playing monitoring video
CN106067948A (en) * 2016-07-27 2016-11-02 杨珊珊 Unmanned plane and take photo by plane material processing equipment, automatic integrated system and integration method
CN107111620A (en) * 2014-10-10 2017-08-29 三星电子株式会社 Video editing using context data and the content discovery using group

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8074248B2 (en) * 2005-07-26 2011-12-06 Activevideo Networks, Inc. System and method for providing video content associated with a source image to a television in a communication network
CN102348089A (en) * 2010-08-06 2012-02-08 康佳集团股份有限公司 Video playing method and system
CN103281457B (en) * 2013-06-03 2016-08-10 贝壳网际(北京)安全技术有限公司 Video playing method and device in mobile terminal browser
CN113766161B (en) * 2014-12-14 2023-06-20 深圳市大疆创新科技有限公司 Video processing method and system
CN105828131B (en) * 2016-03-22 2019-02-22 Oppo广东移动通信有限公司 A kind of video sharing method and communication terminal
CN105847992A (en) * 2016-04-06 2016-08-10 乐视控股(北京)有限公司 Video stream loading method and device
CN106412671B (en) * 2016-09-29 2019-03-01 维沃移动通信有限公司 A kind of video broadcasting method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262135A (en) * 2005-03-17 2006-09-28 Casio Comput Co Ltd Photographing device, moving picture reproducing device, and moving picture recording/reproduction program
CN105407266A (en) * 2014-09-05 2016-03-16 佳能株式会社 Image capturing apparatus and control method therefor
CN107111620A (en) * 2014-10-10 2017-08-29 三星电子株式会社 Video editing using context data and the content discovery using group
CN105493496A (en) * 2014-12-14 2016-04-13 深圳市大疆创新科技有限公司 Video processing method, and device and image system
CN104702919A (en) * 2015-03-31 2015-06-10 小米科技有限责任公司 Play control method and device and electronic device
CN105554516A (en) * 2015-12-31 2016-05-04 杭州华为数字技术有限公司 Method and device for playing monitoring video
CN106067948A (en) * 2016-07-27 2016-11-02 杨珊珊 Unmanned plane and take photo by plane material processing equipment, automatic integrated system and integration method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800673A (en) * 2020-07-31 2020-10-20 聚好看科技股份有限公司 Video playing method, display equipment and server
CN112068771A (en) * 2020-08-17 2020-12-11 Oppo广东移动通信有限公司 Video processing method, video processing device, terminal device and storage medium

Also Published As

Publication number Publication date
WO2019140651A1 (en) 2019-07-25

Similar Documents

Publication Publication Date Title
US10863109B2 (en) Real time video special effects system and method
KR101756044B1 (en) Method, device, terminal device, program and recording medium for video effect processing
US20220284925A1 (en) Real time video special effects system and method
US11670339B2 (en) Video acquisition method and device, terminal and medium
US11438510B2 (en) System and method for editing video contents automatically technical field
KR20160013984A (en) Touch optimized design for video editing
EP3295425B1 (en) Real-time hyper-lapse video creation via frame selection
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
CN106921883B (en) Video playing processing method and device
CN105323527B (en) For when video shift exposure metering system and method
KR20180020899A (en) Computing device, method, computer program for processing video
CN104918120A (en) Playing progress adjustment method and electronic apparatus
CN108307248B (en) Video broadcasting method, calculates equipment and storage medium at device
US9055272B2 (en) Moving image reproduction apparatus, information processing apparatus, and moving image reproduction method
CN110622517A (en) Video processing method and device
US9600160B2 (en) Image processing device, image processing method, and program
US10469794B2 (en) Information processing apparatus, information processing method, and information processing system for content management using play lists
JP2005252372A (en) Digest video image producing device and method
US9741393B2 (en) Method and method for shortening video with event preservation
US20220166939A1 (en) Information processing apparatus, method, and recording medium
CN114650448A (en) Video recording speed and speed action adjusting method and system, storage medium and computer
KR20200086569A (en) Apparatus and method for controlling sound quaulity of terminal using network
CN111866422B (en) Video data uploading method, device, equipment and computer readable storage medium
CN110786020A (en) Video processing method and device and computer readable storage medium
US11546675B2 (en) Methods, systems, and media for streaming video content using adaptive buffers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191227

WD01 Invention patent application deemed withdrawn after publication