CN114650448A - Video recording speed and speed action adjusting method and system, storage medium and computer - Google Patents

Video recording speed and speed action adjusting method and system, storage medium and computer Download PDF

Info

Publication number
CN114650448A
CN114650448A CN202011513626.4A CN202011513626A CN114650448A CN 114650448 A CN114650448 A CN 114650448A CN 202011513626 A CN202011513626 A CN 202011513626A CN 114650448 A CN114650448 A CN 114650448A
Authority
CN
China
Prior art keywords
video
playing
frames
original video
target video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011513626.4A
Other languages
Chinese (zh)
Inventor
黄立军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century 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 Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN202011513626.4A priority Critical patent/CN114650448A/en
Publication of CN114650448A publication Critical patent/CN114650448A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations

Abstract

The invention is suitable for the technical field of multimedia, and provides a video fast-slow motion adjusting method, which comprises the steps of obtaining an original video recorded by a preset frame per second, wherein the preset frame per second is a frame threshold recorded by a slow motion mode per second; extracting a plurality of target video frames matched with the playing mode from the original video according to the playing mode adjusted by the original video; and combining the target video frames in sequence to form a target video, and playing the target video in the playing mode. A video recording fast and slow motion adjustment system, a storage medium for storing a computer program for executing the method and a computer for implementing the method are also provided. Therefore, the method and the device can simplify the video recording speed and speed action adjusting step and improve the user experience.

Description

Video recording speed and speed action adjusting method and system, storage medium and computer
Technical Field
The invention relates to the technical field of multimedia, in particular to a video recording speed and speed action adjusting method, a video recording speed and speed action adjusting system, a video recording storage medium and a computer.
Background
At present, mobile phones and cameras have more and more shooting functions, and video recording has a plurality of modes, such as a slow motion mode, a fast motion mode and the like. If the user wants to shoot slow motion or fast motion videos, the user needs to select the corresponding mode first, then carry out video shooting, and store the videos after the shooting is finished.
However, the existing shooting mode requires that a user firstly finds the mode before shooting each time and then selects the video recording mode, so that the number of steps is large, and the video after shooting is fixed to be fast-moving and slow-moving, so that the user cannot freely adjust the video. If the user slows down the playing of the video at the later stage, the playing is blocked due to the insufficient number of the video frames.
In view of the above, the conventional method has many problems, and therefore, it is necessary to improve the method.
Disclosure of Invention
In view of the above-mentioned drawbacks, the present invention provides a method, a system, a storage medium, and a computer for adjusting fast and slow actions of a video recording, which can simplify the steps of adjusting fast and slow actions of a video recording and improve user experience.
In order to achieve the above object, the present invention provides a video recording fast and slow motion adjusting method, which comprises the steps of:
acquiring an original video recorded by a preset frame per second, wherein the preset frame per second is a frame number threshold value recorded per second in a slow motion mode;
extracting a plurality of target video frames matched with the playing mode from the original video according to the playing mode adjusted by the original video;
and combining the target video frames in sequence to form a target video, and playing the target video in the playing mode.
Optionally, the extracting, according to the play mode adjusted by the original video, a plurality of target video frames matching the play mode from the original video includes:
determining the corresponding playing speed of the original video in the playing mode according to the adjustment request of the original video;
and extracting the target video frame matched with the playing speed from the original video frames recorded and stored by the original video.
Optionally, the extracting, from the original video frames recorded and stored in the original video, the target video frame matched with the play speed specifically includes:
and uniformly extracting target video frames of the number of extracted frames per second which is matched with the playing speed from the original video frames recorded and stored per second of the original video.
Optionally, the sequentially combining the target video frames to form a target video, and playing the target video in the play mode specifically includes:
and combining the target video frames in sequence according to the distribution sequence of the target video frames in the original video frames to form a target video, and playing the target video in the playing mode.
Still provide the fast slow action governing system of a video recording, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an original video recorded by a preset frame per second, and the preset frame per second is a frame number threshold value recorded by a slow motion mode per second;
the extraction unit is used for extracting a plurality of target video frames matched with the playing mode from the original video according to the playing mode adjusted by the original video;
and the playing unit is used for sequentially combining the target video frames to form a target video and playing the target video in the playing mode.
Optionally, the extracting unit includes:
the speed determining subunit is configured to determine, according to the adjustment request for the original video, a corresponding playing speed at which the original video is adjusted to the playing mode;
and the video frame extraction subunit is used for extracting the target video frame matched with the playing speed from the original video frames recorded and stored in the original video.
Optionally, the video frame extraction subunit is specifically configured to:
and uniformly extracting target video frames of the number of extracted frames per second which is matched with the playing speed from the original video frames recorded and stored per second of the original video.
Optionally, the playing unit is specifically configured to:
and combining the target video frames in sequence according to the distribution sequence of the target video frames in the original video frames to form a target video, and playing the target video in the playing mode.
In addition, a storage medium and a computer are provided, the storage medium is used for storing a computer program for executing the video recording fast and slow action adjusting method.
The computer comprises a storage medium, a processor and a computer program which is stored on the storage medium and can run on the processor, and the processor realizes the video recording fast and slow motion adjusting method when executing the computer program.
The video fast-slow motion adjusting method comprises the steps of recording an original video in a slow motion mode of which the number of frames reaches a frame number threshold value in each second in advance, extracting a plurality of target video frames matched with a playing mode from the original video according to the corresponding playing mode adjusted by the original video, and accordingly combining the obtained target video frames into a target video and playing the target video. Therefore, after the original video is obtained, the fast motion mode, the normal mode, the slow motion mode and the like of the original video can be freely adjusted, video frames matched with the original video are extracted from the original video according to the switching among different modes, and the video frames are combined to form a target video corresponding to a playing mode; the method simplifies the video recording speed and speed action adjusting steps and improves the user experience.
Drawings
Fig. 1 is a flowchart illustrating steps of a video recording fast/slow motion adjustment method according to an embodiment of the present invention;
fig. 2 is a flowchart of steps used for extracting video frames in the video recording fast/slow motion adjustment method according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a video recording fast/slow movement adjusting system according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating a structure of an extracting unit of a video recording fast/slow motion adjusting system according to an embodiment of the present invention;
fig. 5 is a flowchart of a specific application of the video fast and slow motion adjustment method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
It should be noted that references in the specification to "one embodiment," "an example embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
Moreover, where certain terms are used throughout the description and following claims to refer to particular components or features, those skilled in the art will understand that manufacturers may refer to a component or feature by different names or terms. This specification and the claims that follow do not intend to distinguish between components or features that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. In addition, the term "connected" as used herein includes any direct and indirect electrical connection. Indirect electrical connection means include connection by other means.
In normal fast motion video recording or slow motion video recording, different frame taking per second is used. Normal video is typically stored at 30 frames per second, slow motion video is stored at 60, 90 or more frames per second, and fast motion video is stored at 15, 5 or less frames per second. Therefore, when the player is used for playing, the playing is carried out at 30 frames per second, so that the slow motion video of 60 frames per second is recorded for one second, the player can complete the playing within 2 seconds, and therefore the slow motion effect is formed, the fast motion video of 15 frames per second is recorded for one second, and the player completes the playing within half second, so that the fast motion effect is formed.
Fig. 1 shows a video recording fast-slow motion adjustment method according to an embodiment of the present invention, which includes:
step S101: acquiring an original video recorded by a preset frame per second, wherein the preset frame per second is a frame number threshold value recorded per second in a slow motion mode; namely, the original video is recorded in a slow motion mode with recording per second reaching a frame number threshold, wherein the frame number threshold is a maximum frame number threshold which can be recorded per second in the slow motion mode.
Optionally, step S101 further includes: and acquiring the original video recorded and stored by the video equipment in the highest frame slow motion mode. In a specific implementation, the preset number of frames per second is 120 frames per second, that is, in this embodiment, the original video is recorded and stored by the video recording device in a slow motion mode with 120 frames per second. The video recording equipment can be equipment such as a smart phone, a smart tablet computer, a digital camera and a video recorder.
During recording, the present embodiment defaults to recording in the highest frame slow motion mode (120 frames per second), so that the recorded video is stored at 120 frames per second. If the player is playing normally, the picture will be played in 4 times slow motion.
Step S102: and extracting a plurality of target video frames matched with the playing mode from the original video according to the playing mode adjusted by the original video.
In specific implementation, a user selects a corresponding play mode, such as a normal mode, a fast motion mode, or even a 2-time slow motion mode, by adjusting the original video; because the original video is recorded and stored by the preset frame per second, and the preset frame per second is the highest frame per second threshold value recorded in the slow motion mode, no matter which play mode the user adjusts the original video to, the target video frame matched with the original video can be obtained from the original video. If the normal mode is taken as an example, the normal mode is generally played at 30 frames per second, so that the original video is adjusted to the normal mode, and corresponding 30 frames can be extracted from 120 frames recorded per second of the original video as the target video frame of the video playing in the normal mode. If the fast-motion mode is taken as an example, the fast-motion mode generally plays 15 frames per second, so that the original video is adjusted to the fast-motion mode, and corresponding 15 frames can be extracted from 120 frames recorded per second of the original video to serve as target video frames for video playing in the fast-motion mode. If the 2-fold slow motion mode is taken as an example, the 2-fold slow motion mode is usually played at 60 frames per second, so that the original video is adjusted to the 2-fold slow motion mode, and then corresponding 60 frames can be extracted from 120 frames recorded per second of the original video as the target video frames of the video playing in the 2-fold slow motion mode.
Step S103: and combining the target video frames in sequence to form a target video, and playing the target video in the playing mode.
Optionally, step S103 further includes: and continuously playing the target video frames one by one second according to the stored frame number of the target video. And playing continuously second by second according to the sequence between all target video frames stored in the target video.
A plurality of target video frames extracted from the original video are sequentially combined to form a target video corresponding to the play mode; the corresponding playing mode is adjusted for the original video, that is, the corresponding target video is played in the playing mode. Therefore, after the original video is recorded, the present embodiment can perform free adjustment of the related playing mode for the completed original video, and if the original video is adjusted to the normal mode, the fast motion mode, the slow motion playing mode with low multiple, and the like; the corresponding fast motion mode, normal mode or slow motion mode is not required to be started before video recording, and the recorded video is not fixed to a certain play mode; the user can select the free adjustment of the original video fast and slow motion playing mode, and the user experience is improved.
In an embodiment, referring to fig. 2, optionally, step S102 includes:
step S1021: and determining the corresponding playing speed of the original video in the playing mode according to the adjustment request of the original video. Wherein the playback speed is indicative of a switching rate of the frame image. In specific implementation, an adjusted playing mode is obtained by responding to an adjustment request instruction of a user to an original video, and the original video is adjusted to the corresponding playing speed in the imitation mode, such as the corresponding playing speed in a fast motion mode, a normal mode, a slow motion mode and the like, according to the playing mode; the original video of this embodiment is recorded in a slow motion mode of 4 times per second with 120 frames, and the corresponding fast motion mode, normal mode and 2 times slow motion mode are generally called multiple increase corresponding to the playing speed of the original video; therefore, adjusting the original video to the corresponding playing mode is to correspondingly adjust the playing speed of the original video, and different playing modes determine the adjusted playing speed in the playing mode according to the relationship between the number of frames per second and the original video.
Step S1022: and extracting the target video frame matched with the playing speed from the original video frames recorded and stored in the original video. Taking a segment of original video recorded for 10 seconds as an example, if the original video is recorded at 120 frames per second, 1200 frames of original video frames are recorded and stored in the original video for 10 seconds, and the original video is generally played at 30 frames per second in the player, the original video stored with 1200 frames will need to be played for 40 seconds when played at 30 frames per second in the player, which is equivalent to playing the original video recorded for 10 seconds at a speed 4 times slower. If the original video is adjusted to the 2-fold slow motion mode, the original video recorded for 10 seconds only needs to be played in 20 seconds, the player plays at 30 frames per second, and the 20 seconds multiplied by the 30 frames per second is equal to 600 frames in the 2-fold slow motion mode; the original video is adjusted to a 2-fold slow motion mode, namely the original playing speed is accelerated by 2 times, and the corresponding video frame is reduced to one half of the original video frame; half of the original video frames (1200 frames) need to be extracted from the original video as target video frames (600 frames). By analogy, adjusting the original video to the normal mode requires one-fourth of the original video frames (300 frames) to be extracted from the original video as the target video frames, and adjusting the original video to the fast-motion mode requires one-eighth of the original video frames (150 frames) to be extracted from the original video as the target video frames. In an embodiment, optionally, the playing speed in the player corresponding to the adjusted playing mode is compared with the playing speed in the player corresponding to the original video, and the target video frames to be extracted in the corresponding number can be obtained according to the multiple between the corresponding speeds. In specific implementation, corresponding target video frames can be equally extracted from original video frames according to the quantity ratio of the target video frames to be extracted to the original video frames, if 600 frames are extracted from 1200 frames of original video frames, one frame can be extracted from every two frames as a target video frame, if 300 frames are extracted from 1200 frames of original video frames, one frame can be extracted from every four frames as a target video frame, and the like.
In one embodiment, optionally, the step S1022 specifically includes: and uniformly extracting target video frames of the number of extracted frames per second which is matched with the playing speed from the original video frames recorded and stored per second of the original video. Wherein, the frame number extracted per second is the frame number extracted per second when recording in the playing mode; if in the normal mode, recording 30 frames per second; in the fast-motion mode, 15 frames per second are recorded. If 120 frames are recorded in each second of the original video, extracting the frame number per second of the playing speed in the player in the corresponding playing mode uniformly within each second of the original video, namely, uniformly extracting the frame number from the 120 frames recorded in each second of the original video as a target video frame. If the currently adjusted play mode is the normal mode, the play speed corresponding to the normal mode is 30 frames per second; and 120 frames are recorded in the original video every second, 30 frames are extracted from the original video every second uniformly to serve as target video frames. If the current adjusted playing mode is the fast-motion mode, because the fast-motion mode records 15 frames per second during recording, 15 frames of the original video are extracted from 120 frames recorded per second as target video frames. Taking a segment of original video recorded for 10 seconds as an example, 120 frames are recorded every second when the original video is recorded, so that the segment of video has 1200 frames in total; when the video is placed in a player, the default playing frame rate of the player is 30 frames per second, and then the playing needs to be finished within 40 seconds, which is equivalent to finishing the playing of the video recorded within 10 seconds in a slow motion within 40 seconds; if the original video is switched to the fast-motion mode, 15 frames are extracted from 120 frames recorded in each second in the original video, 10 seconds are extracted in total and the number of the 15 frames is equal to 150 frames in each second, the target video is taken as the target video in the fast-motion mode, the target video is only 150 frames in total, the target video is put into a player, the player plays the target video at 30 frames per second, and as a result, the playing is finished in 5 seconds, which is equivalent to the playing of the video recorded in the original 10 seconds is finished in 5 seconds, and the playing effect in the fast-motion mode is achieved. And the other play modes are analogically similar, and when the play mode can only adjust the play speed to be faster than or equal to the play speed of the original video.
Optionally, step S103 specifically includes: and combining the target video frames in sequence according to the distribution sequence of the target video frames in the original video frames to form a target video, and playing the target video in the playing mode. The formed target video comprises a plurality of target video frames, each target video frame is from the original video, therefore, each target video frame has a playing sequence corresponding to the target video frame.
In one embodiment, step S102 further comprises: and uniformly extracting a plurality of target video frames from the frame images of the original video according to the ratio of the number of frames extracted per second between the target video and the original video. In specific implementation, the target video is determined by a play mode adjusted by a user, and the corresponding play mode necessarily determines the play speed of the video, so that the play speed of the target video is determined; the original video is determined by the number of recorded frames per second, and the playing speed of the original video in the player is also determined, so how many target video frames need to be extracted from the original video will depend on the ratio of the playing speed between the target video and the original video. Taking 120 frames recorded in the original video per second as an example, if the player plays 30 frames per second, the original video will be played in the player by 4 times slower, if the original video needs to be adjusted to the normal mode, the number of frames extracted per second corresponding to the playing speed of the target video is 30 frames, and at this time, the number of frames required to be played by the target video is one fourth of the number of frames of the original video, so that one frame can be extracted from every four frames in the original video as a target video frame; if the original video needs to be adjusted to the fast action mode, that is, the number of frames extracted per second corresponding to the playing speed of the target video is 15 frames, at this time, the number of frames required to be played by the target video is one eighth of the number of frames of the original video, so that one frame can be extracted from every eight frames in the original video as the target video frame. Other play modes and so on, of course the adjusted play mode must be one in which the play speed is greater than or equal to the original video.
In an embodiment, optionally, step S103 is followed by the steps of: and saving the target video as the original video corresponding to the buffer video in the play mode. Namely, the generated target video is used as the original video and corresponds to the buffer video in one play mode, and when the user needs to adjust the play mode again next time, the buffer video (namely the target video) can be directly called to play, so that the execution operation steps are simplified.
Fig. 5 shows a specific application of the video recording fast and slow motion adjustment method of the present embodiment, which includes the following steps: when the video is started, the video is recorded and stored at the highest frame rate by adopting a slow motion mode, the fast motion playing, the normal playing or the slow motion playing of the stored original video can be adjusted, the frame image matched with the adjusted playing mode is extracted from the original video according to the multiple of the adjusted fast and slow motion for playing, and the adjusted target video is stored.
Fig. 3 shows a video recording fast-slow motion adjustment system 100 according to an embodiment of the present invention, where the system 100 may be integrated in a smart phone terminal or separately configured from a video recording device, and includes an obtaining unit 10, an extracting unit 20, and a playing unit 30, where:
the acquiring unit 10 is configured to acquire an original video recorded in a preset frame per second, where the preset frame per second is a frame number threshold recorded in a slow motion mode per second; the extracting unit 20 is configured to extract a plurality of target video frames matching the playing mode from the original video according to the playing mode adjusted by the original video; the playing unit 30 is configured to sequentially combine the target video frames to form a target video, and play the target video in the playing mode.
In specific implementation, a user selects a corresponding play mode, such as a normal mode, a fast motion mode, or even a 2-time slow motion mode, by adjusting the original video; because the original video is recorded and stored by the preset frame per second, and the preset frame per second is the highest frame per second threshold value recorded in the slow motion mode, no matter which play mode the user adjusts the original video to, the target video frame matched with the original video can be obtained from the original video. If the normal mode is taken as an example, the normal mode generally plays 30 frames per second, so that the original video is adjusted to the normal mode, and then corresponding 30 frames can be extracted from 120 frames recorded per second of the original video as the target video frame for video playing in the normal mode. If the fast-motion mode is taken as an example, the fast-motion mode is usually played at 15 frames per second, so that the original video is adjusted to the fast-motion mode, and corresponding 15 frames can be extracted from 120 frames recorded per second of the original video to be used as target video frames for video playing in the fast-motion mode. If the 2-time slow motion mode is taken as an example, the 2-time slow motion mode is generally played at 60 frames per second, so that the original video is adjusted to the 2-time slow motion mode, and corresponding 60 frames can be extracted from 120 frames recorded per second of the original video as target video frames for video playing in the 2-time slow motion mode.
Referring to fig. 4, in an embodiment, optionally, the extracting unit 20 includes a speed determining subunit 201 and a video frame extracting subunit 202, where:
the speed determining subunit 201 is configured to determine, according to the adjustment request for the original video, a corresponding playing speed at which the original video is adjusted to the playing mode; the video frame extracting subunit 202 is configured to extract the target video frame that matches the playing speed from the original video frames recorded and stored in the original video.
In an embodiment, optionally, the video frame extracting sub-unit 202 is specifically configured to: and uniformly extracting target video frames of the number of extracted frames per second which is matched with the playing speed from the original video frames recorded and stored per second of the original video.
In an embodiment, optionally, the playing unit 30 is specifically configured to: and according to the distribution sequence of the target video frames in the original video frames, sequentially combining the target video frames to form a target video, and playing the target video in the playing mode.
In an embodiment, optionally, the extracting unit 20 is further configured to: and uniformly extracting a plurality of target video frames from the frame image of the original video according to the ratio of the number of frames per second between the target video and the original video.
In an embodiment, optionally, the obtaining unit 10 is configured to: and acquiring the original video recorded and stored by the video equipment in the highest frame slow motion mode.
In an embodiment, optionally, the playing unit is further configured to: and continuously playing the target video frame by second according to the stored frame number of the target video.
Optionally, the method further includes: and the video buffer unit is used for storing the target video as the original video corresponding to the buffer video in the play mode.
The present invention also provides a storage medium for storing a computer program of the video recording fast and slow motion adjustment method as described in fig. 1 to 2. Such as computer program instructions, which when executed by a computer, may invoke or otherwise provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on fixed or removable storage media and/or transmitted via a data stream over a broadcast or other signal-bearing medium and/or stored on a storage medium of a computer device operating in accordance with the program instructions. Here, according to an embodiment of the present application, a computer including a fast and slow motion adjustment system for video recording as shown in fig. 3 optionally includes a storage medium for storing a computer program and a processor for executing the computer program, wherein when the computer program is executed by the processor, the computer device is triggered to execute the method and/or the technical solution according to the foregoing embodiments.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
The method according to the invention can be implemented on a computer as a computer-implemented method, or in dedicated hardware, or in a combination of both. Executable code for the method according to the invention or parts thereof may be stored on a computer program product. Examples of computer program products include memory devices, optical storage devices, integrated circuits, servers, online software, and so forth. Optionally, the computer program product comprises non-transitory program code means stored on a computer readable medium for performing the method according to the invention when said program product is executed on a computer.
In an alternative embodiment the computer program comprises computer program code means adapted to perform all the steps of the method according to the invention when the computer program is run on a computer. Optionally, the computer program is embodied on a computer readable medium.
In summary, the video fast-slow motion adjusting method of the present invention records the original video in the slow motion mode that the frame number threshold is reached in advance in each second, and then extracts a plurality of target video frames matching with the playing mode from the original video according to the corresponding playing mode adjusted by the original video, so as to compose the obtained target video frames into the target video and play the target video. Therefore, after the original video is obtained, the fast motion mode, the normal mode, the slow motion mode and the like of the original video can be freely adjusted, video frames matched with the original video are extracted from the original video according to the switching among different modes, and the video frames are combined to form a target video corresponding to a playing mode; the method simplifies the video recording speed and speed action adjusting steps and improves the user experience.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
A1, a video fast and slow motion adjusting method, comprising the steps of:
acquiring an original video recorded by a preset frame per second, wherein the preset frame per second is a frame number threshold value recorded per second in a slow motion mode;
extracting a plurality of target video frames matched with the playing mode from the original video according to the playing mode adjusted by the original video;
and combining the target video frames in sequence to form a target video, and playing the target video in the playing mode.
A2, according to the video recording speed and speed adjusting method described in a1, the extracting, according to the play mode adjusted by the original video, a plurality of target video frames matching the play mode from the original video includes:
determining the corresponding playing speed of the original video in the playing mode according to the adjustment request of the original video;
and extracting the target video frame matched with the playing speed from the original video frames recorded and stored by the original video.
A3, according to the video recording speed adjusting method described in a2, the extracting the target video frame matching the playing speed from the original video frames recorded and stored in the original video record specifically includes:
and uniformly extracting target video frames of the number of extracted frames per second which is matched with the playing speed from the original video frames recorded and stored per second of the original video.
A4, according to the video recording speed and speed adjusting method described in a2, the sequentially combining the target video frames to form a target video, and playing the target video in the play mode specifically includes:
and combining the target video frames in sequence according to the distribution sequence of the target video frames in the original video frames to form a target video, and playing the target video in the playing mode.
A5, the method for adjusting fast and slow motions of a video recording according to any one of A1 to A4, wherein the extracting, according to the play mode adjusted by the original video, a number of target video frames matching the play mode from the original video further comprises:
and uniformly extracting a plurality of target video frames from the frame image of the original video according to the ratio of the number of frames extracted per second between the target video and the original video.
A6, obtaining an original video recorded with a preset frame per second according to the video fast-slow motion adjusting method of a1, wherein the preset frame per second is a frame number threshold recorded per second in a slow motion mode, and the preset frame per second includes:
and acquiring the original video recorded and stored by the video equipment in the highest frame slow motion mode.
A7, according to the video recording speed and speed adjusting method of a1, the sequentially combining the target video frames to form a target video, and playing the target video in the playing mode further includes:
and continuously playing the target video frames one by one second according to the stored frame number of the target video.
A8, according to the video recording speed and speed adjusting method of a1, the sequentially combining the target video frames to form a target video, and after the target video is played in the play mode, the method includes:
and saving the target video as a buffer video of which the original video corresponds to the playing mode.
B9, a video recording speed and speed action regulating system is also provided, which comprises:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an original video recorded by a preset frame per second, and the preset frame per second is a frame number threshold value recorded by a slow motion mode per second;
the extraction unit is used for extracting a plurality of target video frames matched with the playing mode from the original video according to the playing mode adjusted by the original video;
and the playing unit is used for sequentially combining the target video frames to form a target video and playing the target video in the playing mode.
B10, the video recording speed and speed regulation system according to B9, the extraction unit includes:
the speed determining subunit is configured to determine, according to the adjustment request for the original video, a corresponding playing speed at which the original video is adjusted to the playing mode;
and the video frame extraction subunit is used for extracting the target video frame matched with the playing speed from the original video frames recorded and stored in the original video.
B11, according to the video recording speed and speed adjusting system of B10, the video frame extracting subunit is specifically configured to:
and uniformly extracting target video frames of the number of extracted frames per second which is matched with the playing speed from the original video frames recorded and stored per second of the original video.
B12, according to the video recording speed and speed adjusting system of B10, the playing unit is specifically configured to:
and according to the distribution sequence of the target video frames in the original video frames, sequentially combining the target video frames to form a target video, and playing the target video in the playing mode.
B13, the video recording fast and slow motion adjustment system according to any one of B9 to B12, the extraction unit further configured to:
and uniformly extracting a plurality of target video frames from the frame image of the original video according to the ratio of the number of frames extracted per second between the target video and the original video.
B14, according to the video recording speed and speed adjusting system of B9, the obtaining unit is specifically configured to:
and acquiring the original video recorded and stored by the video equipment in the highest frame slow motion mode.
B15, the video recording speed and speed adjusting system according to B9, the playing unit further configured to:
and continuously playing the target video frames one by one second according to the stored frame number of the target video.
B16, the video recording speed and speed regulation system according to B9, further comprising:
and the video buffer unit is used for storing the target video as a buffer video corresponding to the original video in the play mode.
C17, a storage medium for storing a computer program for executing the video recording fast and slow motion adjustment method of any one of A1-A8.
The D18 is also provided, and the computer comprises a storage medium, a processor and a computer program which is stored on the storage medium and can run on the processor, wherein the processor executes the computer program to realize the video recording fast and slow motion adjusting method of any one of A1-A8.

Claims (10)

1. A video recording fast and slow action adjusting method is characterized by comprising the following steps:
acquiring an original video recorded by a preset frame per second, wherein the preset frame per second is a frame number threshold value recorded per second in a slow motion mode;
extracting a plurality of target video frames matched with the playing mode from the original video according to the playing mode adjusted by the original video;
and combining the target video frames in sequence to form a target video, and playing the target video in the playing mode.
2. The method of claim 1, wherein the extracting, according to the play mode adjusted by the original video, a plurality of target video frames matching the play mode from the original video comprises:
determining the corresponding playing speed of the original video in the playing mode according to the adjustment request of the original video;
and extracting the target video frame matched with the playing speed from the original video frames recorded and stored by the original video.
3. The video recording fast-slow motion adjustment method according to claim 2, wherein the extracting the target video frame matching the playing speed from the original video frames recorded and stored in the original video record specifically includes:
and uniformly extracting target video frames of the number of extracted frames per second which are matched with the playing speed from the original video frames recorded and stored per second of the original video.
4. The video recording fast-slow motion adjustment method according to claim 2, wherein the sequentially combining the target video frames to form a target video, and playing the target video in the play mode specifically includes:
and combining the target video frames in sequence according to the distribution sequence of the target video frames in the original video frames to form a target video, and playing the target video in the playing mode.
5. A video recording speed and speed action regulating system is characterized by comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an original video recorded by a preset frame per second, and the preset frame per second is a frame number threshold value recorded by a slow motion mode per second;
the extraction unit is used for extracting a plurality of target video frames matched with the playing mode from the original video according to the playing mode adjusted by the original video;
and the playing unit is used for sequentially combining the target video frames to form a target video and playing the target video in the playing mode.
6. The video recording fast/slow motion adjustment system according to claim 5, wherein the extraction unit includes:
the speed determining subunit is configured to determine, according to the adjustment request for the original video, a corresponding playing speed at which the original video is adjusted to the playing mode;
and the video frame extraction subunit is used for extracting the target video frame matched with the playing speed from the original video frames recorded and stored in the original video.
7. The system for adjusting fast and slow motion of a video recording of claim 6, wherein the video frame extracting subunit is specifically configured to:
and uniformly extracting target video frames of the number of extracted frames per second which is matched with the playing speed from the original video frames recorded and stored per second of the original video.
8. The video recording fast-slow motion adjustment system according to claim 6, wherein the playing unit is specifically configured to:
and combining the target video frames in sequence according to the distribution sequence of the target video frames in the original video frames to form a target video, and playing the target video in the playing mode.
9. A storage medium storing a computer program for executing the video recording fast/slow adjustment method according to any one of claims 1 to 4.
10. A computer comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the video recording fast/slow motion adjustment method according to any one of claims 1 to 4 when executing the computer program.
CN202011513626.4A 2020-12-18 2020-12-18 Video recording speed and speed action adjusting method and system, storage medium and computer Pending CN114650448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011513626.4A CN114650448A (en) 2020-12-18 2020-12-18 Video recording speed and speed action adjusting method and system, storage medium and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011513626.4A CN114650448A (en) 2020-12-18 2020-12-18 Video recording speed and speed action adjusting method and system, storage medium and computer

Publications (1)

Publication Number Publication Date
CN114650448A true CN114650448A (en) 2022-06-21

Family

ID=81990377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011513626.4A Pending CN114650448A (en) 2020-12-18 2020-12-18 Video recording speed and speed action adjusting method and system, storage medium and computer

Country Status (1)

Country Link
CN (1) CN114650448A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665483A (en) * 2022-12-27 2023-01-31 北京蓝色星际科技股份有限公司 Video playing method and device and hard disk video recorder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665483A (en) * 2022-12-27 2023-01-31 北京蓝色星际科技股份有限公司 Video playing method and device and hard disk video recorder
CN115665483B (en) * 2022-12-27 2023-03-31 北京蓝色星际科技股份有限公司 Video playing method and device and hard disk video recorder

Similar Documents

Publication Publication Date Title
US10863109B2 (en) Real time video special effects system and method
US20200411056A1 (en) Automatic generation of video playback effects
US9426409B2 (en) Time-lapse video capture with optimal image stabilization
US11367465B2 (en) Real time video special effects system and method
CN108184165B (en) Video playing method, electronic device and computer readable storage medium
US11438510B2 (en) System and method for editing video contents automatically technical field
KR20110038312A (en) Moving-image photographing apparatus and method thereof
US8731302B2 (en) Moving image extracting apparatus, program and moving image extracting method
CN105323527B (en) For when video shift exposure metering system and method
CN110166845B (en) Video playing method and device
EP2629514B1 (en) Video playback device and video playback method
CN114650448A (en) Video recording speed and speed action adjusting method and system, storage medium and computer
US8682148B2 (en) Delta-sigma modulated video playback apparatus, method, and computer-readable medium
JP2011250095A (en) Electronic apparatus, video editing method, and program
WO2021114709A1 (en) Live video interaction method and apparatus, and computer device
WO2021052130A1 (en) Video processing method, apparatus and device, and computer-readable storage medium
US20050028213A1 (en) System and method for user-friendly fast forward and backward preview of video
WO2019140651A1 (en) Video processing method and device
CN112148113A (en) Method and device for playing eye movement multimedia information and display terminal
US20130120613A1 (en) Computer-readable storage medium storing an image capturing program, image capturing device, image capturing system, and image display method
CN106205654B (en) Audio-video data processing method and device
CN109525886A (en) Control method, device, equipment and the storage medium of video playout speed
EP3780643A1 (en) Information processing device, information processing method, and program
JP5875837B2 (en) Content reproduction apparatus, content reproduction method, program, and recording medium
CN115967842A (en) Video seek method, system, video playing server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication