CN108965705B - Video processing method and device, terminal equipment and storage medium - Google Patents

Video processing method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN108965705B
CN108965705B CN201810798782.6A CN201810798782A CN108965705B CN 108965705 B CN108965705 B CN 108965705B CN 201810798782 A CN201810798782 A CN 201810798782A CN 108965705 B CN108965705 B CN 108965705B
Authority
CN
China
Prior art keywords
video
shooting
instruction
frame rate
control
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.)
Active
Application number
CN201810798782.6A
Other languages
Chinese (zh)
Other versions
CN108965705A (en
Inventor
郝一鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201810798782.6A priority Critical patent/CN108965705B/en
Publication of CN108965705A publication Critical patent/CN108965705A/en
Application granted granted Critical
Publication of CN108965705B publication Critical patent/CN108965705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure discloses a video processing method, a video processing device, terminal equipment and a storage medium. The method comprises the following steps: acquiring a video shooting instruction, wherein the video shooting instruction comprises the relative proportion of a playing frame rate and a shooting frame rate; performing video shooting on a target scene according to the video shooting instruction until a video shooting pause instruction is obtained, and obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment; judging whether a video generation instruction is obtained or not; if the video generation instruction is not obtained, repeatedly obtaining a video shooting instruction and a video pause instruction to obtain a corresponding video segment and a corresponding relative proportion until the video generation instruction is obtained; and after the corresponding video clips are adjusted according to the relative proportion, combining the existing video clips to obtain the target video. When the video is shot, the video is adjusted according to the relative proportion of the playing frame rate and the shooting frame rate, so that the videos corresponding to different playing frame rates are obtained, and the method is simple, convenient and efficient to realize.

Description

Video processing method and device, terminal equipment and storage medium
Technical Field
The present disclosure relates to communication technologies, and in particular, to a video processing method and apparatus, a terminal device, and a storage medium.
Background
With the development of communication technology and terminal devices, various terminal devices such as mobile phones and tablet computers have become an indispensable part of people's work and middle-school, and with the increasing popularization of terminal devices, the video shooting function provided by the terminal devices also brings great convenience to users.
At present, a terminal device is utilized to shoot a video, the video obtained by one-time shooting is a complete video, if the videos shot for multiple times are spliced or clipped, special video processing software is needed to process the videos, and further, during playing, if a fast playing effect is desired to be watched, the fast playing effect generally needs to be realized in a fast forward mode, and a slow playing effect cannot be watched.
Disclosure of Invention
The embodiment of the disclosure provides a video processing method and device, a terminal device and a storage medium, wherein when a video is shot, a storage parameter is adjusted according to a video playing speed, so that videos corresponding to different playing speeds are obtained on the basis of not changing the video, and the method is simple and efficient to implement.
In a first aspect, an embodiment of the present disclosure provides a video processing method, where the method includes:
acquiring a video shooting instruction, wherein the video shooting instruction comprises the relative proportion of a playing frame rate and a shooting frame rate;
performing video shooting on a target scene according to the video shooting instruction until a video shooting pause instruction is obtained, and obtaining a video segment between the video shooting instruction and the video shooting pause instruction and relative proportions of a playing frame rate and a shooting frame rate corresponding to the video segment;
judging whether a video generation instruction is obtained or not;
if the video generation instruction is not obtained, repeatedly obtaining the video shooting instruction and the video pause instruction to obtain a corresponding video segment and a corresponding relative proportion until the video generation instruction is obtained;
and after the corresponding video clips are adjusted according to the relative proportion, combining the existing video clips to obtain the target video.
Further, the shooting frame rates corresponding to different video shooting instructions are the same.
Further, the adjusting the corresponding video segments according to the relative proportions includes:
if the relative proportion is not equal to 1, adjusting the corresponding video segment according to the relative proportion; alternatively, the first and second electrodes may be,
if the relative proportion is equal to 1, the video segment corresponding to the relative proportion is not adjusted.
Further, the video shooting pause instruction is triggered by a user or by judging whether the shooting time length reaches a preset shooting time threshold value.
Further, the determining whether the shooting time length reaches the predetermined shooting time threshold trigger includes:
and judging whether the length of the shot video reaches the preset shooting time threshold value or not, and if so, triggering the video shooting pause instruction, wherein the length of the shot video comprises the length of one section of shot video or the total length of a plurality of sections of shot video.
Further, before the obtaining of the video shooting instruction, the method further includes:
judging whether a special effect instruction is obtained or not;
correspondingly, the video shooting the target scene according to the video shooting instruction until the video shooting pause instruction is obtained, and then obtaining a video segment between the video shooting instruction and the video shooting pause instruction and relative proportions of the playing frame rate and the shooting frame rate corresponding to the video segment, include:
if the special effect instruction is obtained, video shooting is carried out on the target scene according to the special effect instruction and the video shooting instruction until a video shooting pause instruction is obtained, and then a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment are obtained.
In a second aspect, an embodiment of the present disclosure further provides a video processing method, where the method includes:
detecting the selection operation of a user on a video shooting mode control on a target interface and the trigger operation of the video shooting control;
displaying an object scene on the object interface until a release operation of a user on the video shooting control is detected, obtaining a corresponding video segment and a relative proportion of a playing frame rate and a shooting frame rate corresponding to the video segment determined according to a selection operation of the video shooting mode control, and displaying the video shooting mode control and the video shooting control on the object interface;
judging whether the triggering operation of the user on the next control on the target interface is detected;
if the triggering operation of the user on the next control on the target interface is not detected, repeatedly detecting the selection operation of the user on the video shooting mode control, the triggering operation of the video shooting control and the releasing operation of the video shooting control to obtain corresponding video segments and relative proportions until the triggering operation of the user on the next control on the target interface is detected;
and jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying a result of synthesizing the existing video segments to obtain the target video.
Further, while displaying the target scene on the target interface, the method further includes:
displaying a progress bar;
and if the progress bar is detected to be displayed completely, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and then displaying the result of synthesizing the existing video segments to obtain the target video.
Further, before the detecting of the triggering operation of the video shooting control by the user, the method further includes:
detecting the selection operation of a user on a special effect control on a target interface;
correspondingly, the displaying the target scene on the target interface includes:
and displaying a target scene superposed with the special effect control selected by the user on the target interface.
In a third aspect, an embodiment of the present disclosure further provides a video processing apparatus, where the apparatus includes:
the video shooting instruction acquisition module is used for acquiring a video shooting instruction, and the video shooting instruction comprises the relative proportion of a playing frame rate and a shooting frame rate;
a video segment and relative proportion generation module, configured to perform video shooting on a target scene according to the video shooting instruction until a video shooting pause instruction is obtained, and obtain a video segment between the video shooting instruction and the video shooting pause instruction and relative proportions of a play frame rate and a shooting frame rate corresponding to the video segment;
the video generation instruction judging module is used for judging whether a video generation instruction is obtained or not;
the video generation instruction obtaining module is used for repeatedly obtaining the video shooting instruction and the video pause instruction to obtain a corresponding video segment and a corresponding relative proportion if the video generation instruction is not obtained until the video generation instruction is obtained;
and the target video generation module is used for combining the existing video clips to obtain the target video after adjusting the corresponding video clips according to the relative proportion.
Further, the shooting frame rates corresponding to different video shooting instructions are the same.
Further, the adjusting the corresponding video segments according to the relative proportions includes:
if the relative proportion is not equal to 1, adjusting the corresponding video segment according to the relative proportion; alternatively, the first and second electrodes may be,
if the relative proportion is equal to 1, the video segment corresponding to the relative proportion is not adjusted.
Further, the video shooting pause instruction is triggered by a user or by judging whether the shooting time length reaches a preset shooting time threshold value.
Further, the determining whether the shooting time length reaches the predetermined shooting time threshold trigger includes:
and judging whether the length of the shot video reaches the preset shooting time threshold value or not, and if so, triggering the video shooting pause instruction, wherein the length of the shot video comprises the length of one section of shot video or the total length of a plurality of sections of shot video.
Further, the apparatus further comprises:
the special effect instruction judging module is used for judging whether a special effect instruction is obtained or not;
accordingly, the video segment and relative proportion generation module comprises:
and the video segment and relative proportion generating unit is used for carrying out video shooting on a target scene according to the special effect instruction and the video shooting instruction if the special effect instruction is obtained, and obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment until the video shooting pause instruction is obtained.
In a fourth aspect, an embodiment of the present disclosure further provides a video processing apparatus, where the apparatus includes:
the selection and trigger operation detection module is used for detecting the selection operation of a video shooting mode control on a target interface and the trigger operation of the video shooting control by a user;
a video segment and relative proportion generating module, configured to display a target scene on the target interface until a release operation of a user on the video shooting control is detected, obtain a corresponding video segment and a relative proportion of a play frame rate and a shooting frame rate corresponding to the video segment determined according to a selection operation of the video shooting mode control, and display the video shooting mode control and the video shooting control on the target interface;
a next control triggering judgment module for judging whether the triggering operation of the user on the next control on the target interface is detected;
a next control trigger detection module, configured to repeatedly detect, if no user trigger operation on a next control on the target interface is detected, a selection operation of the user on the video shooting mode control, a trigger operation of the video shooting control, and a release operation of the video shooting control, and obtain corresponding video segments and relative proportions until the user trigger operation on the next control on the target interface is detected;
and the target video generation module is used for jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion and then displaying the result of synthesizing the existing video segments to obtain the target video.
Further, the video segment and relative proportion generating module is further configured to:
displaying a progress bar;
and if the progress bar is detected to be displayed completely, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and then displaying the result of synthesizing the existing video segments to obtain the target video.
Further, the apparatus further comprises:
the special effect control selection operation detection module is used for detecting the selection operation of a user on the special effect control on the target interface;
accordingly, the video segment and relative proportion generation module is further configured to:
and displaying a target scene superposed with the special effect control selected by the user on the target interface.
In a fifth aspect, an embodiment of the present disclosure further provides a terminal device, where the terminal device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method as described in embodiments of the disclosure.
In a sixth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method according to the disclosed embodiments.
The method includes the steps of obtaining a video shooting instruction including the relative proportion of a playing frame rate and a shooting frame rate, carrying out video shooting on a target scene according to the video shooting instruction until a video shooting pause instruction is obtained, obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment, judging whether a video generation instruction is obtained or not, if the video generation instruction is not obtained, repeatedly obtaining the video shooting instruction and the video pause instruction to obtain the corresponding video segment and the relative proportion until the video generation instruction is obtained, and combining the existing video segments to obtain a target video after the corresponding video segments are adjusted according to the relative proportion. By adopting the technical scheme, when the video is shot, the video is adjusted according to the relative proportion of the playing frame rate and the shooting frame rate, so that the videos corresponding to different playing frame rates are obtained on the basis of not changing the video, and the realization is simple, convenient and efficient; when the corresponding video clip is obtained in the actual shooting, the shooting itself is not treated differently, so that the performance of hardware equipment for executing the shooting is not required; and after the video clip is obtained, the corresponding video clip is played according to the playing frame rate, so that the realization scheme is low in cost, quick, simple and convenient, the flexibility of shooting and processing videos by users is improved, and the user experience is improved.
Drawings
Fig. 1 is a flow chart of a video processing method in an embodiment of the present disclosure;
FIG. 2 is a flow diagram of another video processing method in an embodiment of the disclosure;
FIG. 3 is a flow chart of yet another video processing method in an embodiment of the present disclosure;
FIG. 4a is a flow chart of yet another video processing method in an embodiment of the present disclosure;
FIG. 4b is a schematic diagram of an initial target interface in an embodiment of the present disclosure;
FIG. 4c is a schematic diagram of an initial target interface in an embodiment of the present disclosure;
FIG. 4d is a schematic diagram of an initial target interface in an embodiment of the present disclosure;
FIG. 4e is a schematic structural diagram of a special effects selection interface in an embodiment of the present disclosure;
FIG. 4f is a schematic diagram of a special effects selection interface in an embodiment of the present disclosure;
FIG. 4g is a schematic diagram of a special effects selection interface in an embodiment of the disclosure;
FIG. 4h is a schematic diagram illustrating a structure of a special effects selection interface in an embodiment of the disclosure;
FIG. 4i is a schematic structural diagram of a special effects selection interface in an embodiment of the present disclosure;
FIG. 4j is a schematic structural diagram of a capture interface in an embodiment of the present disclosure;
FIG. 4k is a schematic structural diagram of a capture interface in an embodiment of the disclosure;
FIG. 4l is a schematic diagram of a delete interface in an embodiment of the present disclosure;
FIG. 4m is a schematic diagram of a delete interface in an embodiment of the present disclosure;
FIG. 4n is a schematic structural diagram of a capture interface in an embodiment of the present disclosure;
FIG. 4o is a schematic diagram of a target interface in an embodiment of the present disclosure;
FIG. 4p is a schematic diagram of a target interface in an embodiment of the present disclosure;
FIG. 4q is a schematic structural diagram of a video storage interface in an embodiment of the present disclosure;
FIG. 4r is a schematic structural diagram of a video storage mode interface in an embodiment of the present disclosure;
FIG. 4s is a schematic diagram of a user home interface in an embodiment of the disclosure;
fig. 4t is a schematic structural diagram of a video playing interface in the embodiment of the present disclosure;
FIG. 4u is a schematic diagram of a target interface according to an embodiment of the disclosure;
FIG. 4v is a schematic structural diagram of a video storage interface in an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a video processing apparatus in an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another video processing apparatus in the embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal device in an embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
Examples
Fig. 1 is a flowchart of a video processing method according to an embodiment of the present disclosure, where the present embodiment is applicable to a situation where difficulty of video processing is reduced, the method may be executed by a video processing apparatus, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in a terminal device, such as a typical mobile phone and/or a tablet computer. As shown in fig. 1, the method specifically includes the following steps:
step 110, obtaining a video shooting instruction, where the video shooting instruction includes a relative ratio of a play frame rate and a shooting frame rate.
And 120, performing video shooting on the target scene according to the video shooting instruction until the video shooting pause instruction is obtained, and obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment.
In the embodiment of the disclosure, since the video shooting instruction may specifically include the relative proportion of the play frame rate and the shooting frame rate, the video shooting instruction may be used to start the current video shooting process, and also determine the corresponding relative proportion of the play frame rate and the shooting frame rate for the video segment obtained by the subsequent shooting. The frame rate may be a measure for measuring the number of display Frames in units of Frames Per Second (FPS). The shooting frame rate can be used for video shooting of the target scene at the shooting frame rate in the video shooting stage. The play frame rate may be used to indicate that the video segment is played at the play frame rate in the video playing stage. For the relative ratio of the play frame rate and the shooting frame rate, there are three cases: firstly, the relative proportion is equal to 1, namely the playing frame rate is equal to the shooting frame rate; secondly, the relative proportion is less than 1, namely the playing frame rate is less than the shooting frame rate; thirdly, the relative proportion is larger than 1, namely the playing frame rate is larger than the shooting frame rate. In order to realize that the corresponding video segment can be played according to the playing frame rate at the video playing stage, the following problems need to be considered: since the video segment is obtained by shooting according to the shooting frame rate, if the playing frame rate is not equal to the shooting frame rate, that is, the relative ratio of the playing frame rate to the shooting frame rate is not equal to 1, the video segment needs to be adjusted to play the corresponding video segment at the set playing frame rate. Correspondingly, if the playing frame rate is equal to the shooting frame rate, that is, the relative ratio of the playing frame rate to the shooting frame rate is equal to 1, the corresponding video clip can be played at the set playing frame rate without adjusting the video clip, and at this time, the corresponding video clip can be played according to the shooting frame rate. In short, if the relative ratio of the frame rate of playing and the frame rate of shooting is not equal to 1, the video segment needs to be adjusted according to the relative ratio; if the relative ratio of the frame rate of playing and the frame rate of shooting is equal to 1, no further adjustment is needed for the video segment.
It should be noted that, the frame rate greater than the shooting frame rate may correspond to fast playing, that is, the relative ratio of the frame rate greater than 1 may correspond to fast playing; the playing frame rate is equal to the shooting frame rate, that is, the relative ratio of the playing frame rate to the shooting frame rate is equal to 1, which can correspond to normal speed playing; the frame rate of playing is less than the frame rate of shooting, i.e. the relative ratio of the frame rate of playing to the frame rate of shooting is less than 1, which may correspond to slow playing. The fast playing and the slow playing are relative to the normal speed playing, and the corresponding playing frame rate when the normal speed playing is taken as the shooting frame rate. Based on the above, it can be understood that, for a certain video segment, if fast playing needs to be realized, the relative proportion of the playing frame rate and the shooting frame rate can be set to be greater than 1; if the normal speed playing needs to be realized, the relative proportion of the playing frame rate and the shooting frame rate can be set to be equal to 1; if slow play is required, the relative ratio of the play frame rate and the shooting frame rate can be set to be less than 1. Illustratively, if the video segment 1 is required to be played at 1/2 slow speed, then the relative ratio of the play frame rate and the shooting frame rate can be set to 1/2, since 1/2 slow speed play is relative to normal speed play, 1/2 slow speed play is 1/2 of normal speed play, that is, 1/2 slow speed play is 1/2 relative to normal speed play, and the normal speed play corresponds to a shooting frame rate, based on which 1/2 slow speed play corresponds to a play frame rate 1/2 relative to the shooting frame rate.
And determining to start a shooting process for shooting the video of the target scene according to the obtained video shooting instruction until the video shooting pause instruction is obtained, and ending the shooting of the current video clip to obtain the video clip between the video shooting instruction and the video pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video clip. The target scene may refer to an object desired to be photographed by a user and an environment around the object. The video capture pause instruction may be used to end capture of the current video segment.
Step 130, judging whether a video generation instruction is obtained; if yes, go to step 140; if not, go to step 150.
And 140, acquiring a video shooting instruction and a video pause instruction to obtain a corresponding video segment and a corresponding relative proportion, and returning to execute the step 130 after a video generation instruction is acquired.
And 150, after the corresponding video segments are adjusted according to the relative proportion, combining the existing video segments to obtain the target video.
In the embodiment of the disclosure, the video generation instruction may be used to adjust the video segment according to the relative proportion of the play frame rate and the shooting frame rate corresponding to the video segment, so as to play the video segment according to the play frame rate, and after the adjustment of the video segment is completed, the existing video segment is generated into the target video. If a video generation instruction is obtained, the current whole video shooting process can be ended, the shooting of the next video segment is not carried out any more, and the existing video segments can be combined to obtain the target video after the corresponding video segments are adjusted according to the relative proportion; if the video generation instruction is not obtained, it indicates that the current whole video shooting process is not finished, shooting of the next video segment is required, namely, the video shooting instruction and the video shooting pause instruction are repeatedly obtained to obtain the corresponding target video segment and relative proportion until the video generation instruction is obtained, the existing video segments are combined to obtain the target video after the corresponding video segments are adjusted according to the relative proportion, namely, each time step 140 is executed, the corresponding video segment and relative proportion can be obtained, and if the video generation instruction is obtained, the existing video segments are combined to obtain the target video after the corresponding video segments are adjusted according to the relative proportion.
As can be seen from the foregoing, adjusting the corresponding video segments according to the relative proportions of the play frame rate and the capture frame rate may be specifically classified into the following two cases: firstly, if the relative proportion of the playing frame rate and the shooting frame rate is not equal to 1, the video clip is required to be adjusted according to the relative proportion; secondly, if the relative ratio of the play frame rate and the shooting frame rate is equal to 1, the video segment does not need to be adjusted. It should be noted that, in the technical solution of the present disclosure, the shooting frame rate is fixed, in this case, how to adjust the video clip according to the relative proportion, so as to play the corresponding video clip according to the play frame rate that can be determined according to the relative proportion, for the reason that the ratio of the play frame rate to the shooting frame rate is not equal to 1. Specifically, the following method can be adopted: on the basis of keeping the shooting frame rate unchanged, if the relative proportion is less than 1, the corresponding video clip can be played at a slow speed at the play frame rate determined by the relative proportion by prolonging the play time; if the relative proportion is greater than 1, the corresponding video segment can be played quickly at the play frame rate determined by the relative proportion by shortening the play time length. In short, since the shooting frame rate is determined, after the relative proportion between the playing frame rate and the shooting frame rate is obtained, whether the playing time length is prolonged or shortened can be determined according to the relative proportion, and then the corresponding video clip is played at the playing frame rate determined by the relative proportion. Illustratively, the shooting frame rate is 240fps, the relative ratio of the play frame rate and the shooting frame rate is 1/8, and the play frame rate is 30fps according to the shooting frame rate and the relative ratio. Since the relative proportion is smaller than 1, slow playing of the corresponding video segment at the play frame rate of 30fps is achieved by extending the play duration. Namely, 240 frames are played in the original 1s, and 30 frames are played in the original 1s, and correspondingly, when the video clip is played at the playing frame rate of 30fps, the frame number of the original 1s can be played in 8 s.
It should be noted that, a video segment obtained by adjusting a video segment according to a relative proportion may be referred to as a target video segment, and it can be understood that, if the video segment is determined to be adjusted according to the relative proportion, the adjusted video segment is referred to as the target video segment; and if the video segment is determined not to be adjusted according to the relative proportion, taking the obtained video segment as the target video segment.
It should be further noted that, each video segment in the target video is a video segment that is adjusted according to a relative proportion, wherein each video segment can be played according to a play frame rate determined by the relative proportion, and therefore, the target video can be played according to the play frame rate determined by the relative proportion. In other words, if the target video is played, the target video is played at the already set play frame rate. In addition, each adjusted video segment can present different playing effects, such as fast playing, normal speed playing or slow playing, so that the target video can correspondingly present the playing effects of fast playing, normal speed playing or slow playing when being played. Because the relative proportions of the playing frame rate and the shooting frame rate set when each video clip is obtained may be the same or different, the playing frame rates corresponding to the video clips obtained after the corresponding video clips are adjusted according to the relative proportions may be the same or different, and if the relative proportions of the playing frame rate and the shooting frame rate are the same, the playing frame rates corresponding to different video clips are the same; if the relative proportion of the set playing frame rate and the shooting frame rate is different, the playing frame rates corresponding to different video clips are different. In addition, the target scene corresponding to each video clip may be the same or different, and may be determined according to actual situations, which is not specifically limited herein. It should be further noted that the number of the existing video segments may be one or at least two, and the number of the specific video segments is related to the acquisition time of the video generation instruction, that is, if the video generation instruction is obtained after the first video segment is obtained, the current whole video shooting process may be ended, and after the corresponding video segment is adjusted according to the relative proportion, the existing video segments are generated into the target video, where the number of the video segments is one. If the video generation instruction is not obtained after the first video segment is obtained, it indicates that the current whole video shooting process is not finished, and shooting of the next video segment is required, and at this time, the number of the video segments is at least two. It should be noted that the target video may be obtained by splicing and synthesizing existing video segments according to the sequence of generation. Illustratively, if the existing video segment 1, the existing video segment 2, and the existing video segment 3 are sequentially generated according to a time sequence, if a video generation instruction is obtained after the video segment 3 is obtained, it indicates that the current whole video shooting process can be ended, and after the corresponding video segment is adjusted according to a relative proportion, the existing video segment 1, the existing video segment 2, and the existing video segment 3 are synthesized to obtain a target video.
It should be further noted that the target video may be stored locally or uploaded to the server, and may be specifically set according to an actual situation, which is not specifically limited herein. No matter the target video is stored locally or uploaded to the server, when the target video needs to be played, the target video can be automatically played according to the play frame rate determined by the relative proportion, and then different play effects are presented. In the video playing stage, it is not necessary to provide a play frame rate option to the user, so that the user can select a corresponding play frame rate as required to play the corresponding video segment at the play frame rate.
It should be noted that, since each video clip does not perform any processing in the video capturing stage, no additional requirements are made on the performance of the hardware device for performing capturing, including but not limited to a video camera or a video camera.
In addition, it should be noted that the video shooting instruction may be generated by a user triggering or selecting a corresponding control on a shooting interface of the terminal; the video shooting pause instruction and the video generation instruction can be generated by releasing or triggering corresponding controls on a shooting interface of the terminal by a user, and the video shooting pause instruction and the video generation instruction can also be generated by detecting that the shooting time length reaches a preset shooting time threshold. The specific setting may be performed according to actual conditions, and is not particularly limited herein. Illustratively, the video shooting command is generated by a user selecting operation of the video shooting mode control and a user triggering operation of the video shooting control, the video shooting pause command is generated by a user releasing operation of the video shooting control, and the video generation command is generated by a user triggering operation of the video generation control.
In order to better understand the technical solution of the embodiments of the present disclosure, a detailed description is given below by taking a certain application program on a terminal as an example. Specifically, the method comprises the following steps: when a user needs to shoot a video, the user starts the application program by clicking the icon of the application program on the display screen of the terminal and enters an initial shooting interface, a video shooting mode control and a video shooting control are arranged on the initial shooting interface, and when a video clip is shot, a video generation control is displayed on the shooting interface besides the video shooting mode control and the video shooting control. The number of the video shooting mode controls is at least one, each video shooting mode control corresponds to the relative proportion of the playing frame rate and the shooting frame rate, and correspondingly, the relative proportion of the playing frame rate and the shooting frame rate can be determined according to the video shooting mode controls. The video shooting mode control may specifically include a normal speed play control, a fast play control, and a slow play control. And presetting that all video clips are shot at a normal shooting frame rate. Specifically, the method comprises the following steps:
example one: and the video shooting instruction, the video shooting pause instruction and the video generation instruction are generated by triggering, selecting or releasing corresponding controls on a shooting interface of the terminal by a user. The method comprises the steps that a video shooting mode control and a video shooting control are displayed on a current initial shooting interface, a user triggers a normal speed playing control according to actual conditions so as to determine that the relative proportion of a playing frame rate and a shooting frame rate is equal to 1, and triggers the video shooting control, under the condition, a camera starts to shoot a target scene until the user releases the video shooting control, shooting of a current video segment is finished to obtain a video segment 1 and the relative proportion 1, wherein the relative proportion 1 is equal to 1, meanwhile, the video shooting mode control and the video shooting control are displayed on the shooting interface at the same time, and a video generation control is displayed. And triggering the quick playing control by the user according to the actual situation again so as to determine that the relative proportion of the playing frame rate and the shooting frame rate is larger than 1, triggering the video shooting control again, starting video shooting on the target scene by the camera again under the situation until the user releases the video shooting control again, finishing shooting of the current video segment to obtain a video segment 2 and a relative proportion 2, wherein the relative proportion 2 is larger than 1, simultaneously displaying the video shooting mode control and the video shooting control for the third time on the shooting interface, and generating the control by displaying the video for the second time. And triggering the slow playing control by the user for the third time according to the actual situation so as to determine that the relative proportion of the playing frame rate and the shooting frame rate is less than 1, and triggering the video shooting control for the third time, wherein in the situation, the camera starts to shoot the video of the target scene for the third time until the user releases the video shooting control for the third time, shooting of the current video segment is finished to obtain a video segment 3 and a relative proportion 3, wherein the relative proportion 3 is less than 1, simultaneously, the video shooting mode control and the video shooting control are simultaneously displayed for the fourth time on the shooting interface, the video generation control is displayed for the third time, and the user triggers the video generation control so as to finish the current whole video shooting. Since the relative ratio 1 is equal to 1, there is no need to adjust the video segment 1 according to the relative ratio 1; because the relative proportion 2 is greater than 1, the video clip 2 needs to be adjusted according to the relative proportion 2, and the adjustment of the video clip 2 can be realized by shortening the playing time; since the relative proportion 3 is smaller than 1, the video segment 3 needs to be adjusted according to the relative proportion 3, specifically, the adjustment of the video segment 3 can be realized by prolonging the playing time, and after the adjustment of the video segment 2 and the video segment 3 is completed, the existing video segment 1, the adjusted video segment 2 and the adjusted video segment 3 are synthesized to obtain the target video.
Example two: the video shooting instruction is generated by triggering or selecting a corresponding control on a shooting interface of the terminal by a user, the video shooting pause instruction before the shooting time length reaches the preset shooting time threshold is generated by triggering the corresponding control on the shooting interface of the terminal by the user, and when the shooting time length reaches the preset shooting time threshold, the video shooting pause instruction is automatically generated without releasing the corresponding control on the shooting interface of the terminal by the user, and in addition, the video generation instruction is generated without triggering the corresponding control on the shooting interface of the terminal by the user, and the video generation instruction is simultaneously and automatically generated. The method is the same as the process of obtaining the video segment 1, the video segment 2 and the video segment 3, the relative proportion 1, the relative proportion 2 and the relative proportion 3 in the example, except that after the video segment 3 is obtained through shooting, the sum of the shooting time lengths of the video segment 1, the video segment 2 and the video segment 3 is equal to the preset shooting time threshold, at this time, the user does not need to release the video shooting control to finish shooting of the current video segment, the video segment 3 can be obtained, meanwhile, the user does not need to trigger the video generation control to finish shooting of the current whole video, and after the adjustment of the video segment 2 and the video segment 3 is finished, the existing video segment 1, the adjusted video segment 2 and the adjusted video segment 3 can be automatically synthesized to obtain the target video.
It should be noted that triggering the video shooting control described herein may refer to pressing the video shooting control for a long time, and when the video shooting control is released, it is determined that the shooting of the current video segment is finished.
According to the technical scheme of the embodiment, a video shooting instruction is obtained, wherein the video shooting instruction comprises the relative proportion of the playing frame rate and the shooting frame rate, video shooting is conducted on a target scene according to the video shooting instruction until a video shooting pause instruction is obtained, a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment are obtained, whether a video generation instruction is obtained or not is judged, if the video generation instruction is not obtained, the video shooting instruction and the video pause instruction are repeatedly obtained to obtain the corresponding video segment and the relative proportion until the video generation instruction is obtained, and after the corresponding video segment is adjusted according to the relative proportion, the existing video segments are combined to obtain a target video. By adopting the technical scheme, when the video is shot, the video is adjusted according to the relative proportion of the playing frame rate and the shooting frame rate, so that the videos corresponding to different playing frame rates are obtained on the basis of not changing the video, and the realization is simple, convenient and efficient; when the corresponding video clip is obtained in the actual shooting, the shooting itself is not treated differently, so that the performance of hardware equipment for executing the shooting is not required; and after the video clip is obtained, the corresponding video clip is played according to the playing frame rate, so that the realization scheme is low in cost, quick, simple and convenient, the flexibility of shooting and processing videos by users is improved, and the user experience is improved.
Optionally, on the basis of the above technical solution, the shooting frame rates corresponding to different video shooting instructions are the same.
In the embodiment of the disclosure, the shooting frame rates corresponding to different video shooting instructions are the same, that is, it indicates that each video clip is shot at the same shooting frame rate. In other words, the shooting frame rate does not need to be adjusted during video shooting. The advantage of the above arrangement is that no additional requirements need to be made on the performance of the hardware device performing the photographing, including but not limited to the camera or the like.
It should be noted that the shooting frame rate may be determined by a preset setting of a user or by a shooting mode set by the video shooting device itself, and a specific setting manner may be selected according to an actual situation, which is not limited herein. However, in view of reducing the adjustment of the video shooting apparatus as much as possible, it is preferable to adopt a mode determined by the shooting apparatus itself, for example, a mode determined according to the video shooting mode set by the camera, in which the normal shooting frame rate mode is the normal shooting frame rate mode, and the corresponding shooting frame rate is the normal shooting frame rate. Based on the above, under the condition that the preset shooting speed is the normal shooting frame rate, all video segments will be shot at the normal shooting frame rate.
Optionally, on the basis of the above technical solution, adjusting the corresponding video segment according to the relative proportion may specifically include: if the relative proportion is not equal to 1, the corresponding video segment is adjusted according to the relative proportion. Or, if the relative proportion is equal to 1, the video segment corresponding to the relative proportion is not adjusted.
In the embodiment of the present disclosure, the relative ratio of the play frame rate and the shooting frame rate may be as follows: first, the relative proportion is equal to 1 (i.e., the play frame rate is equal to the capture frame rate); secondly, the relative proportion is not equal to 1 (that is, the relative proportion is greater than 1 (that is, the play frame rate is greater than the shooting frame rate) or the relative proportion is less than 1 (that is, the play frame rate is less than the shooting frame rate)), wherein, for the first case, as the play frame rate is equal to the shooting frame rate, the corresponding video clip does not need to be adjusted according to the relative proportion, and the corresponding video clip can be played at the play frame rate determined by the relative proportion when played; for the second case, since the playing frame rate is not equal to the shooting frame rate, the corresponding video segment needs to be adjusted according to the relative proportion, and more specifically, if the playing frame rate is less than the shooting frame rate, the corresponding video segment can be played at the playing frame rate determined by the relative proportion by prolonging the playing duration; if the playing frame rate is greater than the shooting frame rate, the corresponding video segment can be quickly played at the playing frame rate determined by the relative proportion by shortening the playing time length.
Optionally, on the basis of the above technical solution, the video shooting pause instruction may be triggered by a user, or may be triggered by judging whether the shooting time length reaches a predetermined shooting time threshold.
In the embodiment of the disclosure, the video capture pause instruction may be generated by user triggering or by determining whether the capture time length reaches the predetermined capture time threshold, where the video capture pause instruction is generated by user triggering and is applicable to the situation that the capture time length does not reach the predetermined capture time threshold, and the video capture pause instruction is generated by determining whether the capture time length reaches the predetermined capture time threshold and is applicable to the situation that the capture time length reaches the predetermined capture time threshold. For example, if the predetermined shooting time threshold may be 15 seconds, the video segment 1 and the video segment 2 are currently obtained, where the shooting time length of the video segment 1 is 3 seconds, and the shooting time length of the video segment 2 is 8 seconds. Since the shooting time length for shooting the video clip 1 is 3 seconds and does not reach 15 seconds set by the preset shooting time threshold, the video shooting pause instruction corresponding to the video clip 1 is obtained and generated through the triggering of the user. Since the shooting time length for shooting the video clip 2 is 8 seconds, the sum of the shooting time length for shooting the video clip 1 and the shooting time length for shooting the video clip 1 is 11 seconds, and the shooting time length does not reach the 15 seconds set by the preset shooting time threshold value, the video shooting pause instruction corresponding to the video clip 2 is generated by the trigger of the user. When the shooting time length of the video clip reaches 4 seconds, the sum of the shooting time length of the video clip and the shooting time lengths of the video clip 1 and the video clip 2 is equal to 15 seconds, and the shooting time reaches 15 seconds set by the preset shooting time threshold, so that a video shooting pause instruction can be automatically generated without being triggered by a user, and the video clip 3 is correspondingly obtained.
The video generation instruction may be generated by user triggering or by determining whether the shooting time length reaches a predetermined shooting time threshold, where the video generation instruction is generated by user triggering and is applicable to a case where the shooting time length does not reach the predetermined shooting time threshold, and the video generation instruction is generated by determining whether the shooting time length reaches the predetermined shooting time threshold. For example, if the predetermined shooting time threshold may be 15 seconds, the video segment 1 and the video segment 2 are currently obtained, where the shooting time length of the video segment 1 is 3 seconds, and the shooting time length of the video segment 2 is 8 seconds. At this time, a video generation instruction is obtained, the video generation instruction being generated by being triggered by a user. This is because the sum of the shooting time length for shooting the video segment 1 and the shooting time length for shooting the video segment 2 is 11 seconds, and 15 seconds set by the predetermined shooting time threshold value are not reached. When the shooting time length of the video clip reaches 4 seconds, the sum of the shooting time length of the video clip and the shooting time lengths of the video clip 1 and the video clip 2 is equal to 15 seconds, and the shooting time reaches 15 seconds set by the preset shooting time threshold, so that the video generation instruction is automatically generated without being triggered by a user while the video shooting pause instruction is automatically generated.
Based on the above, when it is determined that the shooting time length reaches the predetermined shooting time threshold, the video generation instruction may be generated at the same time as the video shooting pause instruction without being triggered by the user.
Optionally, on the basis of the above technical solution, by determining whether the shooting time length reaches the predetermined shooting time threshold, specifically, the method may include: judging whether the length of the shot video reaches a preset shooting time threshold value or not, if so, triggering a video shooting pause instruction, wherein the length of the shot video specifically comprises the length of one section of shot video or the total length of a plurality of sections of shot video.
In an embodiment of the disclosure, the video capturing pause instruction is triggered by determining whether the time length reaches a predetermined capturing time threshold, which may specifically include: judging whether the length of the shot video reaches a preset shooting time threshold value or not, wherein if the length of the shot video reaches the preset shooting time threshold value, a video shooting pause instruction can be triggered without being triggered by a user; and if the length of the shot video does not reach the preset shooting time threshold value, triggering a video shooting pause instruction by the user. It should be noted that the length of the captured video may specifically include the length of a segment of captured video or the total length of multiple segments of captured video, and it is understood that when the length of the captured video includes the length of a segment of captured video, it indicates that the length of the segment of captured video reaches the predetermined capture time threshold; when the length of the photographed video includes the total length of the plurality of pieces of photographed video, it is described that the total length of the plurality of pieces of photographed video reaches the predetermined photographing time threshold value.
Illustratively, if the predetermined capture time threshold is 15 seconds, it is now assumed that there is a video segment 1, wherein the length of the video segment 1 is 15 seconds. Since the length of the video segment 1 is 15 seconds, the 15 seconds set by the predetermined shooting time threshold have been reached, and therefore, the length of the shot video is the length of the video segment 1. Now, assume that there are video segment 1 and video segment 2, where the video of video segment 1 is 7 seconds long and the video of video segment 2 is 8 seconds long. Since the total length of the videos of the video clip 1 and the video clip 2 is 15 seconds, the length of the captured video is the total length of the videos of the video clip 1 and the video clip 2.
It should be noted that the video generation instruction is triggered by determining whether the shooting time length reaches a predetermined shooting time threshold, and specifically may include: judging whether the length of the shot video reaches a preset shooting time threshold value or not, if so, triggering a video generation instruction, wherein the length of the shot video specifically comprises the length of one section of shot video or the total length of a plurality of sections of shot video.
Based on the above two different ways of triggering the video shooting pause instruction and the video generation instruction, the technical solution of the embodiment of the present disclosure is explained as follows:
the first condition is as follows: and judging that the shooting time length does not reach the preset shooting time threshold value. Accordingly, both the video shooting pause instruction and the video generation instruction can be generated only by user triggering, that is, the user cannot generate the video shooting pause instruction and the video generation instruction if the user does not trigger the video shooting pause instruction and the video generation instruction. Specifically, the method comprises the following steps:
the method comprises the steps of obtaining video shooting instructions, wherein the video shooting instructions comprise relative proportions of a playing frame rate and a shooting frame rate, the shooting frame rates corresponding to different video shooting instructions are the same, carrying out video shooting on a target scene according to the video shooting instructions until a video shooting pause instruction is obtained through user triggering, and obtaining video segments between the video shooting instructions and the video shooting pause instruction and relative proportions of the playing frame rate and the shooting frame rate corresponding to the video segments. Judging whether a video generation instruction generated by user triggering is obtained or not, if the video shooting pause instruction generated by user triggering is not obtained, repeatedly obtaining the video shooting instruction and repeatedly obtaining the video shooting pause instruction obtained by user triggering to obtain corresponding video segments and relative proportions until the video generation instruction generated by user triggering is obtained, adjusting the corresponding video segments according to the relative proportions, and then synthesizing the existing video segments to obtain the target video.
Case two: and judging that the shooting time length reaches a preset shooting time threshold value. It is specifically described that the target video includes only one target video segment and the target video includes at least two target video segments, respectively:
1. the target video only comprises one target video segment, namely, the shooting time length of the shot video segment reaches the preset shooting time threshold value. More specifically: and acquiring a video shooting instruction, wherein the video shooting instruction comprises the relative proportion of the playing frame rate and the shooting frame rate, and the shooting frame rates corresponding to different video shooting instructions are the same. And carrying out video shooting on a target scene according to the video shooting instruction until a video shooting pause instruction generated by triggering the shooting time length to reach a preset shooting time threshold is obtained, obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment, meanwhile, obtaining a video generation instruction generated by triggering the shooting time length to reach the preset shooting time threshold, and synthesizing the existing video segments to obtain the target video after adjusting the corresponding video segments according to the relative proportion.
2. The target video comprises at least two target video segments, namely the sum of the shooting time lengths of the plurality of video segments obtained through shooting reaches a preset shooting time threshold, and the video shooting pause instruction and the video generation instruction corresponding to the last video segment in the plurality of video segments are generated when the shooting time length reaches the preset shooting time threshold. More specifically: acquiring a video shooting instruction, wherein the video shooting instruction comprises the relative proportion of a playing frame rate and a shooting frame rate, the shooting frame rates corresponding to different video shooting instructions are the same, video shooting is carried out on a target scene according to the video shooting instruction until a video shooting pause instruction generated by user triggering is acquired, the playing frame rate and the shooting frame rate corresponding to a video segment and the video segment between the video shooting instruction and the video shooting pause instruction are acquired, whether the video shooting pause instruction generated when the shooting time length reaches a preset shooting time threshold is acquired is judged, if no video shooting pause instruction generated when the shooting time length reaches the preset shooting time threshold is acquired, the video shooting instruction is repeatedly acquired, and the video shooting pause instruction generated by user triggering is repeatedly acquired to acquire the corresponding video segment and the relative proportion, and synthesizing the existing video segments to obtain the target video after adjusting the corresponding video segments according to the relative proportion until obtaining a video shooting pause instruction generated when the shooting time length reaches a preset shooting time threshold value to obtain the last video segment and the relative proportion and simultaneously obtaining a video generation instruction generated when the shooting time length reaches the preset shooting time threshold value. It should be noted that the video capture pause instruction corresponding to the last video segment is generated when the capture time length reaches the predetermined capture time threshold, and the video generation instruction is also generated when the capture time length reaches the predetermined capture time threshold.
Optionally, on the basis of the above technical solution, before the video shooting instruction is obtained, the method may further include: and judging whether a special effect instruction is obtained or not. Correspondingly, video shooting is performed on the target scene according to the video shooting instruction until the video shooting pause instruction is obtained, and then a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment are obtained, which specifically includes: and if the special effect instruction is obtained, video shooting is carried out on the target scene according to the special effect instruction and the video shooting instruction until the video shooting pause instruction is obtained, and a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment are obtained.
In the embodiment of the disclosure, in order to present a better video shooting effect, a shooting special effect may be set before video shooting is performed on a target scene. Based on the above, before a video shooting instruction is acquired, whether a special effect instruction is acquired or not is judged, wherein the special effect instruction may specifically include at least one of a beautifying instruction, a prop instruction or a countdown instruction, and the beautifying instruction may specifically include at least one of a filter instruction, a buffing instruction or a large-eye face thinning instruction; the prop instruction can specifically comprise a plurality of props; the filter command may specifically include normal, day, year or trueness, and the buffing command and the large-eye face-thinning command are specifically represented by numerical values, such as 0, 1 or 2.
If the special effect instruction is obtained, video shooting can be performed on the target scene according to the special effect instruction and the video shooting instruction, namely, the special effect corresponding to the special effect instruction is added into the video shooting process, and therefore a better video shooting effect can be presented. In the video shooting process, the shooting of the current video clip can be finished until the video shooting pause instruction is obtained, so that the corresponding video clip and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video clip can be obtained.
For example, before the video shooting instruction is obtained, it is determined that a special effect instruction is obtained, where the special effect instruction specifically includes a beautification instruction and a prop instruction, a shooting process for starting video shooting of a target scene is determined according to the obtained video shooting instruction, video shooting is performed on the current target scene according to the special effect instruction and the video shooting instruction until a video shooting pause instruction is obtained, and shooting of the current video segment can be ended to obtain a video segment between the video shooting instruction and the video shooting pause instruction and a relative proportion of a play frame rate and a shooting frame rate corresponding to the video segment. Accordingly, the corresponding video segment is obtained, which includes the effect that can be achieved by the special effect instruction.
It should be noted that, in the process of shooting the video clip, the deletion operation may be performed on the obtained video clip, and specifically, the deletion operation may be: it is determined whether a delete instruction is obtained. And if the deleting instruction is obtained, deleting the corresponding obtained video clip according to the deleting instruction. The method is suitable for the situation that the user is not satisfied with the shot certain video clip, and the corresponding video clip can be deleted through the deletion instruction. The video segment to be deleted may be the last video segment of the current video segment, or may also be several last video segments of the current video segment, which may be determined specifically according to the actual situation, and is not limited specifically herein.
It should be further noted that, in addition to the video shooting instruction, the video shooting pause instruction, and the video generation instruction described above, which may be generated by triggering, selecting, or releasing the corresponding control on the shooting interface of the terminal, the special effect instruction and the delete instruction may also be generated by selecting the corresponding control on the target interface.
Fig. 2 is a flowchart of another video processing method provided in the embodiment of the present disclosure, which may be applied to a situation where video processing difficulty is reduced, where the method may be executed by a video processing apparatus, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in a terminal device, such as a typical mobile phone and/or a tablet computer. As shown in fig. 2, the method specifically includes the following steps:
step 201, obtaining a special effect instruction and a video shooting instruction, where the video shooting instruction includes a relative ratio of a playing frame rate and a shooting frame rate, and the shooting frame rates corresponding to different video shooting instructions are the same, and go to step 203.
Step 202, obtaining a video shooting instruction, wherein the video shooting instruction includes the relative proportion of the playing frame rate and the shooting frame rate, the shooting frame rates corresponding to different video shooting instructions are the same, and the step 204 is executed.
Step 203, performing video shooting on the target scene according to the special effect instruction and the video shooting instruction until the video shooting pause instruction is obtained, obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment, and proceeding to execute step 205.
Step 204, performing video shooting on the target scene according to the video shooting instruction until the video shooting pause instruction is obtained, obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment, and turning to step 205.
Step 205, judging whether a video generation instruction is obtained; if yes, go to step 207; if not, go to step 206.
And step 206, repeatedly acquiring the video shooting instruction and the video shooting pause instruction to obtain corresponding video segments and relative proportions, and then returning to the step 205.
And step 207, after the corresponding video segments are adjusted according to the relative proportion, combining the existing video segments to obtain the target video.
In the embodiment of the present disclosure, it should be noted that the special effect instruction may specifically include at least one of a beautification instruction, a prop instruction, or a countdown instruction.
According to the technical scheme of the embodiment, a video shooting instruction is obtained, wherein the video shooting instruction comprises the relative proportion of the playing frame rate and the shooting frame rate, video shooting is conducted on a target scene according to the video shooting instruction until a video shooting pause instruction is obtained, a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment are obtained, whether a video generation instruction is obtained or not is judged, if the video generation instruction is not obtained, the video shooting instruction and the video pause instruction are repeatedly obtained to obtain the corresponding video segment and the relative proportion until the video generation instruction is obtained, and after the corresponding video segment is adjusted according to the relative proportion, the existing video segments are combined to obtain a target video. By adopting the technical scheme, when the video is shot, the video is adjusted according to the relative proportion of the playing frame rate and the shooting frame rate, so that the videos corresponding to different playing frame rates are obtained on the basis of not changing the video, and the realization is simple, convenient and efficient; when the corresponding video clip is obtained in the actual shooting, the shooting itself is not treated differently, so that the performance of hardware equipment for executing the shooting is not required; and after the video clip is obtained, the corresponding video clip is played according to the playing frame rate, so that the realization scheme is low in cost, quick, simple and convenient, the flexibility of shooting and processing videos by users is improved, and the user experience is improved.
Fig. 3 is a flowchart of another video processing method provided in the embodiment of the present disclosure, which is applicable to a situation of reducing video processing difficulty. As shown in fig. 3, the method specifically includes the following steps:
and 310, detecting the selection operation of the video shooting mode control on the target interface and the trigger operation of the video shooting control by the user.
And 320, displaying the target scene on the target interface until the release operation of the user on the video shooting control is detected, obtaining the corresponding video segment and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment determined according to the selection operation of the video shooting mode control, and displaying the video shooting mode control and the video shooting control on the target interface.
Step 330, judging whether the triggering operation of the user on the next control on the target interface is detected; if yes, go to step 350; if not, go to step 340.
And 340, obtaining corresponding video segments and relative proportions when detecting the selection operation of the user on the video shooting mode control, the triggering operation of the video shooting control and the releasing operation of the video shooting control, and returning to execute the step 330.
And 350, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying the result of synthesizing the existing video segments to obtain the target video.
In an embodiment of the present disclosure, the video shooting process may be implemented by a user operating a related control on a target interface, where the target interface may refer to a shooting interface operable by the user. Specifically, the method comprises the following steps: detecting a selection operation of a user on a video shooting mode control on a target interface and a trigger operation of the video shooting control, wherein the selection operation of the user on the video shooting mode control on the target interface can be used for determining the relative proportion of a playing frame rate and a shooting frame rate corresponding to a video clip; the triggering operation of the user on the video shooting control on the target interface can be used for indicating the starting of the current video shooting process; the user's release operation of the video shooting control on the target interface can be used for indicating that the shooting of the current video clip is ended; the triggering operation of the user on the next control on the target interface can be used for indicating that the current video shooting is finished, triggering the existing video clips to be synthesized to obtain the target video and generating the storage parameters according to the existing clip frame rate. It should be noted that the number of the video shooting mode controls is at least two. The video shooting mode control may specifically include a fast lens control, a normal control, and a slow lens control, and accordingly, if the user selects the fast lens control in the video shooting mode control, it may be indicated that the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video clip is greater than 1, and after adjusting the corresponding video clip according to the relative proportion, the video clip may be played at the playing frame rate determined by the relative proportion; if the user selects a normal control in the video shooting mode controls, it can be shown that the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video clip is equal to 1, and the corresponding video clip does not need to be adjusted according to the relative proportion, and the video clip can be played at the playing frame rate determined by the relative proportion; if the user selects a slow-shot control in the video shooting mode control, it can be shown that the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video clip is less than 1, and after the corresponding video clip is adjusted according to the relative proportion, the video clip can be played at the playing frame rate determined by the relative proportion. In order to further meet the requirements of the user so as to present a better video playing effect, more video shooting mode controls, such as a 2-time fast shot control or an 1/2 slow shot control, may be set on the target interface, and may be specifically set according to the actual situation, which is not specifically limited herein.
The method comprises the steps of determining the relative proportion of a playing frame rate and a shooting frame rate by detecting the selection operation of a user on a video shooting mode control on a target interface, determining to start a shooting process for video shooting of a target scene displayed in the target interface by detecting the triggering operation of the user on the video shooting control on the target interface, and shooting the video of the target scene until the release operation of the user on the video shooting control is detected, so that the shooting of the current video clip can be finished to obtain a corresponding video clip and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video clip determined according to the selection operation of the video shooting mode control. Meanwhile, the video shooting mode control and the video shooting control are displayed on the target interface again so as to be convenient for shooting the next video clip. Judging whether the triggering operation of the user on the next control on the target interface is detected, if the triggering operation of the user on the next control on the target interface is not detected, repeatedly detecting the selection operation of the user on the video shooting mode control on the target interface and the triggering operation of the video shooting control, determining the relative proportion of the playing frame rate and the shooting frame rate according to the selection operation of the user on the video shooting mode control on the target interface, determining and starting the shooting process of video shooting the target scene displayed in the target interface according to the triggering operation of the user on the video shooting control on the target interface, carrying out video shooting on the target scene until the releasing operation of the user on the shooting control is detected, finishing the shooting of the current video segment to obtain the corresponding video segment and the relative proportion and storing the video segment and the video shooting control on the target interface, so as to facilitate the taking of the next video segment. It will be appreciated that, if no user-triggered action on the next control on the target interface is detected, each time step 340 is executed, a corresponding video segment and relative scale may be obtained, with each video segment corresponding to a respective relative scale. And ending the whole current video shooting process until the triggering operation of the user on the next control on the target interface is detected, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying the result of synthesizing the existing video segments to obtain the target video.
According to the technical scheme of the embodiment, by detecting the selection operation of a user on a video shooting mode control on a target interface and the trigger operation of the video shooting control, a target scene is displayed on the target interface until the release operation of the user on the video shooting control is detected, the corresponding video segment and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment determined according to the selection operation of the video shooting mode control are obtained, the video shooting mode control and the video shooting control are displayed on the target interface, whether the trigger operation of the user on the next control on the target interface is detected or not is judged, if the trigger operation of the user on the next control on the target interface is not detected, the corresponding video segment and the relative proportion are obtained when the selection operation of the user on the video shooting mode control, the trigger operation of the video shooting and the release operation of the video shooting control are repeatedly detected, and until the triggering operation of the user on the next control on the target interface is detected, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying the result of synthesizing the existing video segments to obtain the target video. By adopting the technical scheme, when the video is shot, the video is adjusted according to the relative proportion of the playing frame rate and the shooting frame rate, so that the videos corresponding to different playing frame rates are obtained on the basis of not changing the video, and the realization is simple, convenient and efficient; when the corresponding video clip is obtained in the actual shooting, the shooting itself is not treated differently, so that the performance of hardware equipment for executing the shooting is not required; and after the video clip is obtained, the corresponding video clip is played according to the playing frame rate, so that the realization scheme is low in cost, quick, simple and convenient, the flexibility of shooting and processing videos by users is improved, and the user experience is improved.
Optionally, on the basis of the above technical solution, while displaying the target scene on the target interface, the method may specifically further include: and displaying the progress bar. And if the progress bar is detected to be displayed completely, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying the result of synthesizing the existing video segments to obtain the target video.
In the embodiment of the disclosure, while the target scene is displayed on the target interface, the progress bar is also displayed, and the progress bar can represent the shooting time length, that is, as the video shooting is performed, the length of the progress bar is correspondingly prolonged. If the progress bar display is complete, it may indicate that the length of the shot time reaches a predetermined shot time threshold. The method comprises the steps that a user releases a video shooting control to generate a video shooting pause instruction, and the user triggers the next control to generate a video generation instruction, so that the video shooting pause instruction can be automatically generated, the video generation instruction can be automatically generated at the same time, a video storage interface is skipped, corresponding video segments are adjusted according to relative proportions, and then the result of synthesizing the existing video segments to obtain the target video is displayed.
It should be noted that, it can be understood that, if the video shooting pause instruction is generated in a manner that the user releases the video shooting control, and meanwhile, the video generation instruction is generated in a manner that the user triggers the next control, it can be said that the progress bar is not completely displayed, so that, correspondingly, the video shooting pause instruction and the video generation instruction are not automatically generated, and then, the video shooting pause instruction and the video generation instruction are skipped to the video storage interface, and after the corresponding video segment is adjusted according to the relative proportion, the result of synthesizing the existing video segments to obtain the target video is displayed. If the progress bar is displayed completely, the mode of the video shooting pause instruction obtained corresponding to the last target video clip is different from the mode of the video shooting pause instruction obtained corresponding to the previous target video clip, and meanwhile, the mode of the video generation instruction is different from the condition that the progress bar is not displayed completely. For the complete display condition of the progress bar, the following is specific: and detecting the selection operation of a user on the video shooting mode control and the triggering operation of the video shooting control on the target interface, displaying the target scene on the target interface until the release operation of the user on the video shooting control is detected, obtaining the corresponding video clip and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video clip determined according to the selection operation of the video shooting mode control, and displaying the video shooting mode control and the video shooting control on the target interface. Continuously detecting the selection operation of the user on the video shooting mode control on the target interface, the triggering operation of the video shooting control and the releasing operation of the video shooting control to obtain the corresponding video segment and segment frame rate (aiming at all target video segments before the last target video segment); or after the last selection operation of the video shooting mode control on the target interface and the triggering operation of the video shooting control by the user are detected, jumping to a video storage interface when the progress bar is detected to be completely displayed (a video pause instruction is obtained at the moment), and displaying a result of synthesizing the existing video segments to obtain the target video after the corresponding video segments are adjusted according to relative proportions.
Optionally, on the basis of the above technical solution, before the triggering operation of the video shooting control by the user is detected, the method may specifically further include: and detecting the selection operation of the user on the special effect control on the target interface. Correspondingly, displaying the target scene on the target interface may specifically include: and displaying a target scene overlapped with the special effect control selected by the user on a target interface.
In the embodiment of the disclosure, in order to present a better video shooting effect, a shooting special effect may be set before video shooting is performed on a target scene. Specifically, the method can be implemented by a user triggering a special effect control on a target interface. Based on the above, before detecting the triggering operation of the user on the video shooting control, the selection operation of the user on the special effect control on the target interface needs to be detected, where the special effect control may specifically include at least two of a beautification control, a prop control, or a countdown control, and the beautification control may specifically include at least one of a filter control, a buffing control, or a large-eye face-thinning control; the prop control can specifically comprise a plurality of props; the filter controls may include normal, day, year or trueness controls, buffing controls and large-eye face-thinning controls. It can be understood that, if a selection operation of the user on the special effect control on the target interface is detected, a corresponding special effect is superimposed in the process of shooting the video clip of the target scene, and the obtained corresponding video clip contains the corresponding special effect. It should be noted that, when a target scene is displayed on the target interface until a release operation of the user on the video shooting control is detected, a corresponding video clip is obtained, and a special effect control is also displayed on the target interface in addition to the video shooting mode control and the video shooting control.
Optionally, on the basis of the above technical solution, the shooting frame rates corresponding to different video shooting modes are the same.
Optionally, on the basis of the above technical solution, adjusting the corresponding video segment according to the relative proportion may specifically include: if the relative proportion is not equal to 1, the corresponding video segment is adjusted according to the relative proportion. Or, if the relative proportion is equal to 1, the video segment corresponding to the relative proportion is not adjusted.
It should be noted that, after the first video segment is obtained, a deletion control may also be displayed while the video shooting mode control and the video shooting control are displayed on the target interface, and the trigger deletion control may be used to delete the obtained video segment, where the video segment to be deleted may be a last video segment of the current video segment or may be last video segments of the current video segment, and the deletion may be specifically determined according to an actual situation, and is not limited herein. The method is suitable for the situation that the user is not satisfied with the shot certain video clip, and the corresponding video clip can be deleted by triggering the deletion control on the target interface.
Fig. 4a is a flowchart of another video processing method provided in the embodiment of the present disclosure, which is applicable to a situation of reducing video processing difficulty. As shown in fig. 4a, the method specifically includes the following steps:
step 401, detecting the selection operation of the video shooting mode control, the selection operation of the special effect control and the triggering operation of the video shooting control on the target interface by the user, and proceeding to execute step 403.
Step 402, detecting the selection operation of the video shooting mode control and the triggering operation of the video shooting control on the target interface by the user, and turning to step 403.
And step 403, displaying a target scene and a progress bar on a target interface.
Step 404, judging whether the progress bar is completely displayed; if yes, go to step 408; if not, go to step 405.
And 405, until the release operation of the user on the video shooting control is detected, obtaining the relative proportion of the playing frame rate and the shooting frame rate corresponding to the corresponding video segment and the video segment determined according to the selection operation of the video shooting mode control, and displaying the video shooting mode control, the video shooting control and the special effect control on a target interface, wherein the shooting frame rates corresponding to different video shooting modes are the same.
Step 406, judging whether the triggering operation of the user on the next control on the target interface is detected; if yes, go to step 408; if not, go to step 407.
Step 407, obtaining corresponding video segments and relative proportions when detecting the selection operation of the user on the video shooting mode control, the selection operation of the special effect control, the triggering operation of the video shooting control and the releasing operation of the video shooting control; or, after the corresponding video segment and the relative proportion are obtained when the selection operation of the user on the video shooting mode control, the triggering operation of the video shooting control and the releasing operation of the video shooting control are detected, the step 406 is executed again.
And step 408, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying the result of synthesizing the existing video segments to obtain the target video.
In the embodiment of the present disclosure, in order to better understand the technical solution of the embodiment of the present disclosure, a specific application program on a terminal is taken as an example for detailed description, specifically:
as shown in fig. 4b, a schematic structural diagram of an initial target interface is given, that is, no video shooting is performed currently, and the initial target interface may specifically include: the video shooting mode control 1, the video shooting control 2, the special effect control 3 (not shown in the figure), the next step control 4, and the return control 5, wherein the video shooting mode control 1 specifically may include: the fast lens control 11, the normal control 12 and the slow lens control 13, it should be noted that the number of the video shooting mode controls 1 is more than one, and is not limited to the one shown in fig. 4 a. The special effect control 3 may specifically include: beautification control 31, prop control 32, and countdown control 33. When a user needs to shoot a video of a target scene, the video shooting method can be realized by operating related controls on an initial target interface. It will of course be appreciated that during video capture, the initial target interface will change accordingly. The following describes the video capture process in detail in a manner that the user manipulates the controls on the target interface.
Firstly, a user completes the selection operation of the shooting mode and the special effect form through the control of the related control on the initial target interface. Specifically, the method comprises the following steps: as shown in fig. 4c, the user selects the fast shot control 11 by a selection operation of the video shooting mode control 1 on the initial target interface; as shown in fig. 4d, the user jumps to the beautifying interface shown in fig. 4e by the triggering operation of the beautifying control 31 on the initial target interface, at the same time, a filter control, a peeling control and a large-eye face-thinning control are displayed on the beautifying interface, the year is selected by the triggering operation of the filter control, the skin-thinning selection interface shown in fig. 4f is jumped to by the triggering operation of the peeling control, and a value 1 is selected, and the large-eye face-thinning selection interface shown in fig. 4g is jumped to by the triggering operation of the large-eye face-thinning control, and a value 1 is selected. As shown in fig. 4h, the user jumps to the prop interface shown in fig. 4i by the triggering operation of prop control 32 on the initial target interface, and selects the entrance exam to add oil. Furthermore, the countdown control 33 is not triggered, i.e., the special effect is not selected. At this point, the selection operation of the video shooting mode and the special effect form is completed.
As shown in fig. 4j, the user triggers the video shooting control 2 to jump to the shooting interface shown in fig. 4k, and at this time, the user needs to press the video shooting control 2 for a long time to shoot the video of the target scene, and a progress bar is displayed at the upper left corner of the shooting interface. When the user releases the video shooting control 2, shooting of the current video clip is completed, the corresponding current video clip and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video clip determined according to the quick shot control 11 are obtained, the target interface shown in fig. 4l is skipped, the target interface further comprises a cancel control 6, and the cancel control 6 is triggered to be used for deleting the stored previous video clip. As shown in fig. 4m, the user jumps to the revocation interface shown in fig. 4n by the triggering operation of the revocation control 6 on the target interface, and displays a dialog box on the revocation interface, as shown in the figure, jumps to the target interface shown in fig. 4o by the triggering operation of the determination control on the revocation interface, and the target interface is different from the target interface before revocation, in that the progress bar is located at the upper left corner of the figure, and after deleting the corresponding target video segment, the length of the corresponding position of the progress bar is also deleted. In addition, in order to obtain the next video segment, the user may repeatedly perform the above-described selection operation of the video shooting mode control 1 and the special effect control 3, the trigger operation of the video shooting control 2, and the subsequent shooting operation. It should be noted that, when the progress bar is not completely displayed, the user finishes shooting each video clip by releasing the video shooting control 2.
As shown in fig. 4p, the user jumps to the video storage interface shown in fig. 4q by the trigger operation of the next step control 4 on the target interface, after adjusting the corresponding video segments according to the relative proportions, displaying the result of synthesizing the obtained video segments to obtain the target video, jumping to a video storage mode interface as shown in fig. 4r, where the video storage mode interface may specifically include a storage mode control 7 (not shown in the figure), the storage mode control 7 may specifically include a draft box control 71 and a publishing control 72, and the user jumps to a user homepage interface as shown in fig. 4s by triggering the publishing control 72, where the user homepage interface may specifically include a work control 8, and jumping to a video playing interface shown in fig. 4t by triggering the work control 8, and playing the target video according to the playing frame rate corresponding to each video segment. The video playing interface specifically includes a sharing control, a like control, a comment control, and the like.
It should be noted that, after the last selection operation of the video shooting mode control and the triggering operation of the video shooting control on the target interface by the user are detected, the video storage interface is skipped to without detecting the triggering operation of the user on the next control on the target interface until the progress bar is completely displayed. Illustratively, as shown in fig. 4u, when it is detected that the progress bar is displayed completely, the user jumps to the video storage interface shown in fig. 4v, and after adjusting the corresponding video segment according to the relative proportion, the result of synthesizing the obtained video segment to obtain the target video is displayed, and at this time, the user may still keep the triggering operation on the video shooting control 2. When the target video is synthesized, the user jumps to a video storage mode interface shown in fig. 4 r.
According to the technical scheme of the embodiment, by detecting the selection operation of a user on a video shooting mode control on a target interface and the trigger operation of the video shooting control, a target scene is displayed on the target interface until the release operation of the user on the video shooting control is detected, the corresponding video segment and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment determined according to the selection operation of the video shooting mode control are obtained, the video shooting mode control and the video shooting control are displayed on the target interface, whether the trigger operation of the user on the next control on the target interface is detected or not is judged, if the trigger operation of the user on the next control on the target interface is not detected, the corresponding video segment and the relative proportion are obtained when the selection operation of the user on the video shooting mode control, the trigger operation of the video shooting and the release operation of the video shooting control are repeatedly detected, and until the triggering operation of the user on the next control on the target interface is detected, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying the result of synthesizing the existing video segments to obtain the target video. By adopting the technical scheme, when the video is shot, the video is adjusted according to the relative proportion of the playing frame rate and the shooting frame rate, so that the videos corresponding to different playing frame rates are obtained on the basis of not changing the video, and the realization is simple, convenient and efficient; when the corresponding video clip is obtained in the actual shooting, the shooting itself is not treated differently, so that the performance of hardware equipment for executing the shooting is not required; and after the video clip is obtained, the corresponding video clip is played according to the playing frame rate, so that the realization scheme is low in cost, quick, simple and convenient, the flexibility of shooting and processing videos by users is improved, and the user experience is improved.
Fig. 5 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present disclosure, where the present embodiment is applicable to a situation where video processing difficulty is reduced, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in a terminal device, for example, a typical mobile phone and/or a tablet computer. As shown in fig. 5, the apparatus specifically includes: a video shooting instruction obtaining module 510, a video segment and relative proportion generating module 520, a video generation instruction judging module 530, a video generation instruction obtaining module 540 and a target video generating module 550, wherein:
a video shooting instruction obtaining module 510, configured to obtain a video shooting instruction, where the video shooting instruction includes a relative ratio of a play frame rate and a shooting frame rate.
A video segment and relative proportion generating module 520, configured to perform video shooting on the target scene according to the video shooting instruction until the video shooting pause instruction is obtained, and obtain a video segment between the video shooting instruction and the video shooting pause instruction, and a relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment.
A video generation instruction determining module 530, configured to determine whether a video generation instruction is obtained.
The video generation instruction obtaining module 540 is configured to repeatedly obtain the video shooting instruction and the video pause instruction to obtain a corresponding video segment and a corresponding relative proportion until the video generation instruction is obtained if the video generation instruction is not obtained.
And a target video generating module 550, configured to adjust the corresponding video segments according to the relative proportions, and then merge the existing video segments to obtain a target video.
In the technical solution of this embodiment, a video shooting instruction is obtained by a video shooting instruction obtaining module 510, the video shooting instruction includes a relative proportion of a play frame rate and a shooting frame rate, a video segment and relative proportion generating module 520 performs video shooting on a target scene according to the video shooting instruction until a video shooting pause instruction is obtained, a video segment between the video shooting instruction and the video shooting pause instruction and a relative proportion of a play frame rate and a shooting frame rate corresponding to the video segment are obtained, a video generation instruction judging module 530 judges whether a video generation instruction is obtained, if the video generation instruction obtaining module 540 does not obtain the video generation instruction, the video shooting instruction and the video pause instruction are repeatedly obtained to obtain the corresponding video segment and relative proportion until the video generation instruction is obtained, after the target video generating module 550 adjusts the corresponding video segment according to the relative proportion, and merging the existing video clips to obtain the target video. By adopting the technical scheme, when the video is shot, the video is adjusted according to the relative proportion of the playing frame rate and the shooting frame rate, so that the videos corresponding to different playing frame rates are obtained on the basis of not changing the video, and the realization is simple, convenient and efficient; when the corresponding video clip is obtained in the actual shooting, the shooting itself is not treated differently, so that the performance of hardware equipment for executing the shooting is not required; and after the video clip is obtained, the corresponding video clip is played according to the playing frame rate, so that the realization scheme is low in cost, quick, simple and convenient, the flexibility of shooting and processing videos by users is improved, and the user experience is improved.
Optionally, on the basis of the above technical solution, the shooting frame rates corresponding to different video shooting instructions are the same.
Optionally, on the basis of the above technical solution, adjusting the corresponding video segment according to the relative proportion may specifically include:
if the relative proportion is not equal to 1, the corresponding video segment is adjusted according to the relative proportion. Alternatively, the first and second electrodes may be,
if the relative proportion is equal to 1, the video segment corresponding to the relative proportion is not adjusted.
Optionally, on the basis of the above technical solution, the video shooting pause instruction may be triggered by a user, or may be triggered by judging whether the shooting time length reaches a predetermined shooting time threshold.
Optionally, on the basis of the above technical solution, by determining whether the shooting time length reaches the predetermined shooting time threshold, specifically, the method may include:
and judging whether the length of the shot video reaches the preset shooting time threshold value or not, if so, triggering a video shooting pause instruction, wherein the length of the shot video comprises the length of one section of shot video or the total length of a plurality of sections of shot video.
Optionally, on the basis of the above technical solution, the apparatus may further include:
and the special effect instruction judging module is used for judging whether a special effect instruction is obtained or not.
Accordingly, the video segment and relative proportion generating module 520 may specifically include:
and the video segment and relative proportion generating unit is used for carrying out video shooting on the target scene according to the special effect instruction and the video shooting instruction if the special effect instruction is obtained, and obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment until the video shooting pause instruction is obtained.
The video processing device provided by the embodiment of the disclosure can execute the video processing method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 6 is a schematic structural diagram of another video processing apparatus provided in the embodiment of the present disclosure, which is applicable to a situation where video processing difficulty is reduced, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in a terminal device, for example, a typical mobile phone and/or a tablet computer. As shown in fig. 6, the apparatus specifically includes: a selection and trigger operation detection module 610, a video segment and relative proportion generation module 620, a next step control trigger judgment module 630, a next step control trigger detection module 640 and a target video generation module 650, wherein:
and the selecting and triggering operation detecting module 610 is configured to detect a selecting operation of the video shooting mode control and a triggering operation of the video shooting control on the target interface by the user.
A video segment and relative proportion generating module 620, configured to display a target scene on the target interface until a release operation of the user on the video shooting control is detected, obtain a corresponding video segment and a relative proportion of the play frame rate and the shooting frame rate corresponding to the video segment determined according to the selection operation of the video shooting mode control, and display the video shooting mode control and the video shooting control on the target interface.
And a next control triggering judgment module 630, configured to judge whether a triggering operation of the user on a next control on the target interface is detected.
And a next control triggering detection module 640, configured to repeatedly detect, if the user does not detect a triggering operation on a next control on the target interface, a selection operation of the user on the video shooting mode control, a triggering operation of the video shooting control, and a release operation of the video shooting control, and obtain a corresponding video segment and a corresponding relative proportion until the user detects a triggering operation on the next control on the target interface.
And the target video generation module 650 is configured to jump to the video storage interface, adjust the corresponding video segments according to the relative proportions, and then display a result of synthesizing the existing video segments to obtain the target video.
In the technical solution of this embodiment, a selection operation of a user on a video shooting mode control and a trigger operation of the video shooting control on a target interface are detected by a selection and trigger operation detection module 610, a video segment and relative proportion generation module 620 displays a target scene on the target interface until a release operation of the user on the video shooting control is detected, and obtains a corresponding video segment and a relative proportion of a playing frame rate and a shooting frame rate corresponding to the video segment determined according to the selection operation of the video shooting mode control, and displays the video shooting mode control and the video shooting control on the target interface, a next control trigger judgment module 630 judges whether a trigger operation of the user on a next control on the target interface is detected, and if the next control trigger detection module 640 does not detect the trigger operation of the user on the next control on the target interface, the corresponding video segment and the relative proportion are obtained when the selection operation of the user on the video shooting mode control, the triggering operation of the video shooting control and the releasing operation of the video shooting control are repeatedly detected until the triggering operation of the user on the next control on the target interface is detected, and after the target video generation module 650 jumps to the video storage interface and adjusts the corresponding video segment according to the relative proportion, the result of synthesizing the existing video segments to obtain the target video is displayed. By adopting the technical scheme, when the video is shot, the video is adjusted according to the relative proportion of the playing frame rate and the shooting frame rate, so that the videos corresponding to different playing frame rates are obtained on the basis of not changing the video, and the realization is simple, convenient and efficient; when the corresponding video clip is obtained in the actual shooting, the shooting itself is not treated differently, so that the performance of hardware equipment for executing the shooting is not required; and after the video clip is obtained, the corresponding video clip is played according to the playing frame rate, so that the realization scheme is low in cost, quick, simple and convenient, the flexibility of shooting and processing videos by users is improved, and the user experience is improved.
Optionally, on the basis of the above technical solution, the video segment and relative proportion generating module 620 may be specifically configured to:
and displaying the progress bar.
And if the progress bar is detected to be displayed completely, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying the result of synthesizing the existing video segments to obtain the target video.
Optionally, on the basis of the above technical solution, the apparatus may further include:
and the special effect control selection operation detection module is used for detecting the selection operation of the user on the special effect control on the target interface.
Accordingly, the video segment and relative proportion generating module 620 may be further configured to:
and displaying a target scene overlapped with the special effect control selected by the user on a target interface.
The video processing device provided by the embodiment of the disclosure can execute the video processing method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 7 is a diagram illustrating a hardware structure of a terminal device according to an embodiment of the present disclosure. The terminal device may be implemented in various forms, and the terminal device in the present disclosure may include, but is not limited to, mobile terminal devices such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rear view mirror, and the like, and fixed terminal devices such as a digital TV, a desktop computer, and the like.
As shown in fig. 7, the terminal device 100 may include a wireless communication unit 61, an a/V (audio/video) input unit 62, a user input unit 63, a sensing unit 64, an output unit 65, a memory 66, an interface unit 67, a processor 68, a power supply unit 69, and the like. Fig. 7 shows a terminal device having various components, but it is to be understood that not all of the illustrated components are required to be implemented. More or fewer components may alternatively be implemented.
Among them, the wireless communication unit 61 allows radio communication between the terminal device 100 and a wireless communication system or network. The a/V input unit 62 is for receiving an audio or video signal. The user input unit 63 may generate key input data to control various operations of the terminal device according to a command input by a user. The sensing unit 64 detects a current state of the terminal device 100, a position of the terminal device 100, presence or absence of a touch input of the user to the terminal device 100, an orientation of the terminal device 100, acceleration or deceleration movement and direction of the terminal device 100, and the like, and generates a command or signal for controlling an operation of the terminal device 100. The interface unit 67 serves as an interface through which at least one external device can be connected to the terminal apparatus 100. The output unit 65 is configured to provide output signals in a visual, audio, and/or tactile manner. The memory 66 may store software programs or the like for processing and controlling operations performed by the processor 68, or may temporarily store data that has been or will be output. The memory 66 may include at least one type of storage medium. Also, the terminal device 100 may cooperate with a network storage that performs a storage function of the memory 66 through a network connection. The processor 68 generally controls the overall operation of the terminal device. In addition, the processor 68 may include a multimedia module for reproducing or playing back multimedia data. The processor 68 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image. The power supply unit 69 receives external power or internal power and supplies appropriate power required to operate the respective elements and components under the control of the processor 68.
The processor 68 executes programs stored in the memory 66 to execute various functional applications and data processing, for example, to implement a video processing method provided by the embodiment of the present disclosure, including:
and acquiring a video shooting instruction, wherein the video shooting instruction comprises the relative proportion of the playing frame rate and the shooting frame rate.
And performing video shooting on the target scene according to the video shooting instruction until the video shooting pause instruction is obtained, and obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment.
And judging whether a video generation instruction is obtained or not.
If the video generation instruction is not obtained, the video shooting instruction and the video pause instruction are repeatedly obtained to obtain the corresponding video segment and the relative proportion until the video generation instruction is obtained.
And after the corresponding video clips are adjusted according to the relative proportion, combining the existing video clips to obtain the target video.
A video processing method provided in the embodiment of the present disclosure may also be implemented, that is, when the processor 68 executes the program, the following steps are implemented:
and detecting the selection operation of the user on the video shooting mode control on the target interface and the triggering operation of the video shooting control.
And displaying the target scene on the target interface until the release operation of the user on the video shooting control is detected, obtaining the corresponding video segment and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment determined according to the selection operation of the video shooting mode control, and displaying the video shooting mode control and the video shooting control on the target interface.
And judging whether the triggering operation of the user on the next control on the target interface is detected.
If the triggering operation of the user on the next control on the target interface is not detected, the corresponding video segments and relative proportions are obtained when the selection operation of the user on the video shooting mode control, the triggering operation of the video shooting control and the releasing operation of the video shooting control are repeatedly detected until the triggering operation of the user on the next control on the target interface is detected.
And jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying the result of synthesizing the existing video segments to obtain the target video.
The disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements a video processing method as provided by the disclosed embodiments, that is, implements when executed:
and acquiring a video shooting instruction, wherein the video shooting instruction comprises the relative proportion of the playing frame rate and the shooting frame rate.
And performing video shooting on the target scene according to the video shooting instruction until the video shooting pause instruction is obtained, and obtaining a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment.
And judging whether a video generation instruction is obtained or not.
If the video generation instruction is not obtained, the video shooting instruction and the video pause instruction are repeatedly obtained to obtain the corresponding video segment and the relative proportion until the video generation instruction is obtained.
And after the corresponding video clips are adjusted according to the relative proportion, combining the existing video clips to obtain the target video.
The video processing method provided by the embodiment of the present disclosure can also be implemented, that is, when executed, the following is implemented:
and detecting the selection operation of the user on the video shooting mode control on the target interface and the triggering operation of the video shooting control.
And displaying the target scene on the target interface until the release operation of the user on the video shooting control is detected, obtaining the corresponding video segment and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment determined according to the selection operation of the video shooting mode control, and displaying the video shooting mode control and the video shooting control on the target interface.
And judging whether the triggering operation of the user on the next control on the target interface is detected.
If the triggering operation of the user on the next control on the target interface is not detected, the corresponding video segments and relative proportions are obtained when the selection operation of the user on the video shooting mode control, the triggering operation of the video shooting control and the releasing operation of the video shooting control are repeatedly detected until the triggering operation of the user on the next control on the target interface is detected.
And jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying the result of synthesizing the existing video segments to obtain the target video.
The computer storage media of the disclosed embodiments may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, Ruby, Go, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present disclosure and the technical principles employed. Those skilled in the art will appreciate that the present disclosure is not limited to the particular embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the present disclosure. Therefore, although the present disclosure has been described in greater detail with reference to the above embodiments, the present disclosure is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present disclosure, the scope of which is determined by the scope of the appended claims.

Claims (12)

1. A video processing method, comprising:
acquiring a video shooting instruction, wherein the video shooting instruction comprises the relative proportion of a playing frame rate and a shooting frame rate; shooting frame rates corresponding to different video shooting instructions are the same;
performing video shooting on a target scene according to the video shooting instruction until a video shooting pause instruction is obtained, and ending the shooting of the current video clip to obtain the video clip between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video clip;
judging whether a video generation instruction is obtained or not;
if the video generation instruction is not obtained, repeatedly obtaining the video shooting instruction and the video pause instruction to obtain a corresponding video segment and a corresponding relative proportion until the video generation instruction is obtained;
and after the corresponding video clips are adjusted according to the relative proportion, combining the existing video clips to obtain the target video.
2. The method of claim 1, wherein said adjusting the corresponding video segments according to the relative proportions comprises:
if the relative proportion is not equal to 1, adjusting the corresponding video segment according to the relative proportion; alternatively, the first and second electrodes may be,
if the relative proportion is equal to 1, the video segment corresponding to the relative proportion is not adjusted.
3. The method of claim 1, wherein the video capture pause instruction is triggered by a user or by determining whether a capture time length reaches a predetermined capture time threshold.
4. The method of claim 3, wherein the triggering by determining whether the length of the shot time reaches a predetermined shot time threshold comprises:
and judging whether the length of the shot video reaches the preset shooting time threshold value or not, and if so, triggering the video shooting pause instruction, wherein the length of the shot video comprises the length of one section of shot video or the total length of a plurality of sections of shot video.
5. The method of claim 1, wherein before the obtaining the video capture instruction, further comprising:
judging whether a special effect instruction is obtained or not;
correspondingly, the video shooting the target scene according to the video shooting instruction until the video shooting pause instruction is obtained, and then obtaining a video segment between the video shooting instruction and the video shooting pause instruction and relative proportions of the playing frame rate and the shooting frame rate corresponding to the video segment, include:
if the special effect instruction is obtained, video shooting is carried out on the target scene according to the special effect instruction and the video shooting instruction until a video shooting pause instruction is obtained, and then a video segment between the video shooting instruction and the video shooting pause instruction and the relative proportion of the playing frame rate and the shooting frame rate corresponding to the video segment are obtained.
6. A video processing method, comprising:
detecting the selection operation of a user on a video shooting mode control on a target interface and the trigger operation of the video shooting control;
displaying a target scene on the target interface until a release operation of a user on the video shooting control is detected, finishing shooting of a current video clip to obtain a corresponding video clip and a relative proportion of a playing frame rate and a shooting frame rate corresponding to the video clip determined according to a selection operation of the video shooting mode control, and displaying the video shooting mode control and the video shooting control on the target interface; shooting frame rates corresponding to different video shooting mode controls are the same;
judging whether the triggering operation of the user on the next control on the target interface is detected;
if the triggering operation of the user on the next control on the target interface is not detected, repeatedly detecting the selection operation of the user on the video shooting mode control, the triggering operation of the video shooting control and the releasing operation of the video shooting control to obtain corresponding video segments and relative proportions until the triggering operation of the user on the next control on the target interface is detected;
and jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and displaying a result of synthesizing the existing video segments to obtain the target video.
7. The method of claim 6, further comprising, while displaying a target scene on the target interface:
displaying a progress bar, the progress bar comprising: a total time progress bar of the photographed section and the current section;
and if the progress bar is detected to be displayed completely, jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion, and then displaying the result of synthesizing the existing video segments to obtain the target video.
8. The method of claim 6, wherein before detecting the user's triggering of the video capture control, further comprising:
detecting the selection operation of a user on a special effect control on a target interface;
correspondingly, the displaying the target scene on the target interface includes:
and displaying a target scene superposed with the special effect control selected by the user on the target interface.
9. A video processing apparatus, comprising:
the video shooting instruction acquisition module is used for acquiring a video shooting instruction, and the video shooting instruction comprises the relative proportion of a playing frame rate and a shooting frame rate; shooting frame rates corresponding to different video shooting instructions are the same;
a video segment and relative proportion generation module, configured to perform video shooting on a target scene according to the video shooting instruction until a video shooting pause instruction is obtained, and then end shooting of a current video segment to obtain a video segment between the video shooting instruction and the video shooting pause instruction and a relative proportion of a play frame rate and a shooting frame rate corresponding to the video segment;
the video generation instruction judging module is used for judging whether a video generation instruction is obtained or not;
the video generation instruction obtaining module is used for repeatedly obtaining the video shooting instruction and the video pause instruction to obtain a corresponding video segment and a corresponding relative proportion if the video generation instruction is not obtained until the video generation instruction is obtained;
and the target video generation module is used for combining the existing video clips to obtain the target video after adjusting the corresponding video clips according to the relative proportion.
10. A video processing apparatus, comprising:
the selection and trigger operation detection module is used for detecting the selection operation of a video shooting mode control on a target interface and the trigger operation of the video shooting control by a user;
a video segment and relative proportion generating module, configured to display a target scene on the target interface until a release operation of a user on the video shooting control is detected, end shooting of a current video segment to obtain a corresponding video segment and a relative proportion of a play frame rate and a shooting frame rate corresponding to the video segment determined according to a selection operation of the video shooting mode control, and display the video shooting mode control and the video shooting control on the target interface; shooting frame rates corresponding to different video shooting mode controls are the same;
a next control triggering judgment module for judging whether the triggering operation of the user on the next control on the target interface is detected;
a next control trigger detection module, configured to repeatedly detect, if no user trigger operation on a next control on the target interface is detected, a selection operation of the user on the video shooting mode control, a trigger operation of the video shooting control, and a release operation of the video shooting control, and obtain corresponding video segments and relative proportions until the user trigger operation on the next control on the target interface is detected;
and the target video generation module is used for jumping to a video storage interface, adjusting the corresponding video segments according to the relative proportion and then displaying the result of synthesizing the existing video segments to obtain the target video.
11. A terminal device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
CN201810798782.6A 2018-07-19 2018-07-19 Video processing method and device, terminal equipment and storage medium Active CN108965705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810798782.6A CN108965705B (en) 2018-07-19 2018-07-19 Video processing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810798782.6A CN108965705B (en) 2018-07-19 2018-07-19 Video processing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108965705A CN108965705A (en) 2018-12-07
CN108965705B true CN108965705B (en) 2020-04-10

Family

ID=64481931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810798782.6A Active CN108965705B (en) 2018-07-19 2018-07-19 Video processing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108965705B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312077B (en) 2019-07-25 2021-01-12 北京达佳互联信息技术有限公司 Video shooting method and device, electronic equipment and storage medium
CN110784652A (en) 2019-11-15 2020-02-11 北京达佳互联信息技术有限公司 Video shooting method and device, electronic equipment and storage medium
CN114125528B (en) * 2020-08-28 2022-11-11 北京达佳互联信息技术有限公司 Video special effect processing method and device, electronic equipment and storage medium
CN112135059B (en) 2020-09-30 2021-09-28 北京字跳网络技术有限公司 Shooting method, shooting device, electronic equipment and storage medium
CN112230812A (en) * 2020-10-16 2021-01-15 北京字节跳动网络技术有限公司 Multimedia data processing method and device, electronic equipment and storage medium
CN114827695B (en) 2021-01-21 2023-05-30 北京字节跳动网络技术有限公司 Video recording method, device, electronic device and storage medium
CN113099132B (en) * 2021-04-19 2023-03-21 深圳市帧彩影视科技有限公司 Video processing method, video processing apparatus, electronic device, storage medium, and program product

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702041A (en) * 2013-12-30 2014-04-02 乐视网信息技术(北京)股份有限公司 Method and device for realizing pause continuation shooting of video
CN106303238B (en) * 2016-08-16 2019-10-25 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
JP6652039B2 (en) * 2016-12-05 2020-02-19 カシオ計算機株式会社 Imaging device, imaging method, and program
US11317028B2 (en) * 2017-01-06 2022-04-26 Appsure Inc. Capture and display device
CN107155068A (en) * 2017-07-11 2017-09-12 上海青橙实业有限公司 Mobile terminal and the method and apparatus for video capture
CN107734269B (en) * 2017-10-16 2020-09-22 维沃移动通信有限公司 Image processing method and mobile terminal
CN108184165B (en) * 2017-12-28 2020-08-07 Oppo广东移动通信有限公司 Video playing method, electronic device and computer readable storage medium

Also Published As

Publication number Publication date
CN108965705A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108616696B (en) Video shooting method and device, terminal equipment and storage medium
CN108965705B (en) Video processing method and device, terminal equipment and storage medium
CN108900771B (en) Video processing method and device, terminal equipment and storage medium
US11030987B2 (en) Method for selecting background music and capturing video, device, terminal apparatus, and medium
CN108900902B (en) Method, device, terminal equipment and storage medium for determining video background music
US11696021B2 (en) Video recording device and camera function control program
CN108965706B (en) Video shooting method and device, terminal equipment and storage medium
US10447874B2 (en) Display control device and display control method for automatic display of an image
GB2589506A (en) Method and apparatus for selecting background music for video capture, terminal device, and medium
CN107277628B (en) video preview display method and device
CN111182213B (en) Video production method, electronic device, and medium
WO2022127839A1 (en) Video processing method and apparatus, device, storage medium, and computer program product
GB2590213A (en) Video publishing method and apparatus, device, and storage medium
WO2022161268A1 (en) Video photographing method and apparatus
CN115379105A (en) Video shooting method and device, electronic equipment and storage medium
CN116188343A (en) Image fusion method and device, electronic equipment, chip and medium
CN114745505A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN116156077A (en) Method, device, equipment and storage medium for multimedia resource clipping scene
JP2004207842A (en) Image processor and program
CN114285988B (en) Display method, display device, electronic equipment and storage medium
CN114745506A (en) Video processing method and electronic equipment
CN116389665A (en) Video recording method and device, electronic equipment and readable storage medium
CN117395462A (en) Method and device for generating media content, electronic equipment and readable storage medium

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
GR01 Patent grant
GR01 Patent grant