Video variable speed playback method and device, electronic device and storage medium
The method enhances video playback by automatically adjusting speed based on object motion characteristics, addressing inefficiencies and inaccuracies in manual speed adjustment, thereby improving user experience.
Patent Information
- Application Number
- JP2025525244
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-01
- Filing Date
- 2024-03-01
- Publication Date
- 2025-12-03
AI Technical Summary
Existing video playback technologies suffer from low adjustment efficiency and precision when users manually adjust playback speed, leading to a suboptimal viewing experience, especially in live streaming and recorded video scenarios.
A method and device for video variable speed playback that automatically adjusts playback speed based on motion characteristics of identified objects in the video, such as soccer players or soccer, to enhance accuracy and efficiency.
Improves the video viewing experience by accurately matching playback speed to the content's interest level, allowing users to efficiently watch interesting content at slower speeds and uninteresting content at faster speeds.
Smart Images

Figure 2025538968000001_ABST
Abstract
Description
[Technical Field]
[0001] This application claims priority from a Chinese application having application number 202310225360.0 and filing date March 1, 2023, the disclosure of which is hereby incorporated in its entirety into this application.
[0002] TECHNICAL FIELD The embodiments of the present disclosure relate to the field of Internet technology, and in particular to a method and apparatus for video variable speed playback, an electronic device, and a storage medium. [Background technology]
[0003] Currently, live video streaming, live broadcasting and recorded broadcasting of various matches have become one of the main business contents of video platforms, providing users with high-resolution and low-latency video services to meet their match viewing needs.
[0004] In the related art, for recorded and broadcasted videos, live streaming platforms provide users with the ability to manually speed up, slow down, and skip playback, allowing users to manually locate video clips they are interested in. However, the related art solutions for manually adjusting the video playback speed have problems such as low adjustment efficiency and low adjustment precision, which affect the video viewing experience. Summary of the Invention
[0005] The embodiments of the present disclosure provide a video variable speed playback method and device, an electronic device, and a storage medium to solve the problems of low adjustment efficiency and low adjustment precision that exist when adjusting the video playback speed, which affect the video viewing experience.
[0006] In a first aspect, embodiments of the present disclosure include: A video variable speed playback method is provided, including the steps of: obtaining a target video including at least a first video clip; identifying the first video clip to obtain at least one target object; obtaining motion characteristics of the target object and obtaining a target playback speed of the target video based on the motion characteristics; and playing the target video based on the target playback speed.
[0007] In a second aspect, embodiments of the present disclosure include: an acquisition module for acquiring a target video including at least a first video clip, identifying the first video clip, and obtaining at least one target object; a processing module for obtaining motion characteristics of the target object and obtaining a target playback speed of the target video based on the motion characteristics; a playback module for playing the target video based on the target playback speed.
[0008] In a third aspect, embodiments of the present disclosure include: An electronic device including a processor and a memory communicatively connected to the processor, The memory stores computer-executable instructions, The processor executes computer-executable instructions stored in the memory to provide an electronic device that realizes the video variable speed playback method described in the first aspect and various possible designs of the first aspect.
[0009] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement the video variable speed playback method described in the first aspect and various possible designs of the first aspect.
[0010] In a fifth aspect, an embodiment of the present disclosure provides a computer program product including a computer program that, when executed by a processor, implements the video variable speed playback method described in the first aspect and various possible designs of the first aspect. [Brief explanation of the drawings]
[0011] In order to more clearly describe the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces drawings that need to be used in the description of the embodiments or related technologies. Obviously, the drawings in the following description are some embodiments of the present disclosure, and those skilled in the art can further derive other drawings based on these drawings without any creative work.
[0012] [Figure 1] 1 is a diagram illustrating an application scene of a video variable speed playback method provided by an embodiment of the present disclosure; [Figure 2] 1 is a flow diagram 1 of a video variable speed playback method provided by an embodiment of the present disclosure; [Figure 3] 3 is a flowchart of a specific implementation of step S101 in the embodiment shown in FIG. 2. [Figure 4] FIG. 10 is a schematic diagram of automatically adjusting a target playback speed based on motion characteristics provided by an embodiment of the present disclosure. [Figure 5] 3 is a flowchart of a specific implementation of step S103 in the embodiment shown in FIG. 2. [Figure 6] 1 is a schematic diagram of a process of playing a target video provided by an embodiment of the present disclosure; [Figure 7] 2 is a flow diagram 2 of a video variable speed playback method provided by an embodiment of the present disclosure; [Figure 8] 8 is a flowchart of a specific implementation of step S202 in the embodiment shown in FIG. 7. [Figure 9] 8 is a flowchart of a specific implementation of step S203 in the embodiment shown in FIG. 7. [Figure 10]10 is a flowchart of a specific implementation of step S2032 in the embodiment shown in FIG. 9. [Figure 11] FIG. 2 is a structural block diagram of a video speed-varying playback device provided by an embodiment of the present disclosure; [Figure 12] 1 is a structural schematic diagram of an electronic device provided according to an embodiment of the present disclosure; [Figure 13] FIG. 1 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0013] In order to make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described below clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only some embodiments of the present disclosure, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without any creative efforts fall within the scope of protection of the present disclosure.
[0014] It should be noted that the user information (including, but not limited to, user device information, user personal information, etc.) and data (including, but not limited to, data for analysis, stored data, displayed data, etc.) disclosed herein are all information and data authorized by the user or fully authorized by the parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entries are provided for the user to select permission or denial.
[0015] The application scenarios of the embodiments of the present disclosure will be explained below.
[0016] FIG. 1 is a diagram illustrating an application scenario of a video variable speed playback method provided by an embodiment of the present disclosure. The video variable speed playback method provided by an embodiment of the present disclosure can be applied to application scenarios of live video streaming, live video broadcasting, and recorded broadcasting based on a video platform, and can also be applied to local video playback based on a terminal device. Specifically, taking the application scenario of live video streaming based on a video platform as an example, as shown in FIG. 1, the method provided by an embodiment of the present disclosure can be applied to terminal devices such as smartphones and tablets. The terminal device performs data communication with a server, a video platform client is executed on the terminal device side, and a video platform server is executed on the server side. The server on the server side transmits video data (segmented target video) to the terminal device via a video stream. The terminal device analyzes the video data via the client and sequentially plays the target video of each segment.
[0017] In the related art, for recorded and broadcasted videos, live streaming platforms provide users with the ability to manually speed up, slow down, and skip playback, allowing them to manually locate video clips of interest. However, because users cannot know the content of the video in advance, when adjusting the playback speed, users often adjust the video playback speed based on their guesses about the video content that has not been played, which makes it easy for users to miss content of interest and require them to rewind the video playback progress and watch it again. As a result, the solutions for manually adjusting the video playback speed in the related art have problems such as low adjustment efficiency and low adjustment accuracy, which affect the video viewing experience. At the same time, for video live streaming scenes, the solutions in the related art have the problem of not being able to adjust the playback speed of live streaming videos.
[0018] To solve the above problems, an embodiment of the present disclosure provides a video variable speed playback method.
[0019] Referring to Fig. 2, Fig. 2 is a flow diagram 1 of a video variable speed playback method provided by an embodiment of the present disclosure. The method of this embodiment can be applied to a terminal device, a server, or an electronic device with similar functions, and takes a terminal device as an example. The video variable speed playback method includes steps S101 to S103.
[0020] In step S101, a target video including at least a first video clip is obtained, the target video is identified, and a target object in the target video is obtained.
[0021] Illustratively, acquiring a target video refers to a process of acquiring and loading video data corresponding to the target video. The execution body of the method provided in this embodiment is a terminal device, such as a smartphone. The target video can be stored locally on the terminal device (i.e., local video). The terminal device can read and load the video file of the target video from the local storage to achieve target video acquisition. The target video can also be stored on a server (i.e., online video). The terminal device accesses the server to acquire and load the corresponding video file to achieve target video acquisition. In different application scenarios, the target video can be a complete video, such as a movie or a complete game, or a portion of a complete video. More specifically, for example, during the process of a terminal device acquiring streaming media data from a server, the video corresponding to the video data received by the terminal device each time is referred to as the target video. Considered Good too.
[0022] In some embodiments, the target video includes at least a first video clip, and after acquiring the target video, the terminal device identifies the first video clip in the target video to obtain an object of interest in the target video, i.e., a target object. The first video clip may be a video clip corresponding to a current time in the target video playback process, and the first video clip includes at least a video clip within a first time period before the current time period in the target video and / or a video clip within a second time period after the current time period in the target video. An implementation of identifying the first video clip in the target video includes, for example, extracting pixel point features of video frames in the first video clip, and then mapping the pixel point features as corresponding objects to obtain object objects in the first video clip, and then screening the object objects according to a preset rule to determine an object object of interest therein as a target object. Specifically, for example, if the video content of the target video is a soccer match, at least one video frame from the first video clip of the target video is extracted, and then pixel point feature extraction and feature mapping are performed on the video frame to obtain object objects including, for example, "audience," "soccer," "referee," "soccer player," and "video camera." Then, based on a preset screening rule, "soccer" and "soccer player" are determined as target objects.
[0023] In one possible implementation, as shown in FIG. 3, specific implementation steps of step S101 include the following steps S1011 to S1013.
[0024] In step S1011, obtain first reference information of the target video for characterizing a video scene corresponding to the target video.
[0025] In step S1012, a corresponding target reference object is determined based on the first reference information.
[0026] In step S1013, target identification is performed on the first video clip based on the target reference object to obtain at least one target object.
[0027] For example, the target video has corresponding first reference information, and the first reference information is used to characterize the video scene corresponding to the target video. The video scene includes a content scene and an environment scene. Specifically, for example, based on the first reference information, the content scene characterized by the first reference information may be, for example, a "soccer game," a "basketball game," an "action movie," etc. environment The scenes may be, for example, "outdoors," "indoors," "beach," "morning," "night," etc. The first reference information may represent the information using a specific identifier or field. A specific implementation may be set as needed, and no further examples will be provided. The first reference information may be stored locally in the terminal device or in a server. When the server transmits the target video to the terminal device, the server transmits the first reference information simultaneously or in advance, so that the terminal device can obtain the first reference information.
[0028] In some embodiments, after obtaining the first reference information, the terminal device determines a target reference object corresponding to the first reference information based on the first reference information. Specifically, different content in the first reference information corresponds to different target reference objects. For example, if the video scene characterized by the first reference information is a "soccer game," the corresponding target reference objects may be a "soccer," a "soccer player," a "goal," etc. Based on the target reference object, target identification is performed on the video frames in the first video clip, i.e., by detecting whether the target reference object is included in the video frame, at least one target object is obtained. Image feature identification and detection of target objects are related technologies, and therefore will not be described here.
[0029] It should be noted that in this embodiment, the target object and the corresponding action features are introduced using a scene in which the content of the target video is a soccer game as an example, but the method provided by this embodiment is not limited to the application scene of the game video playback of "soccer game", and can also be applied to other application scenes of game video playback, such as basketball game, track and field game, electronic sports game, etc. Accordingly, in different application scenes, the target object and action features in the target video have corresponding implementation forms, which will not be described here one by one.
[0030] In this embodiment, the target reference object is dynamically determined by obtaining first reference information corresponding to the target video, thereby obtaining matching target objects in the target videos of different video scenes, realizing accurate identification of the target objects, and improving the identification efficiency and accuracy.
[0031] In step S102, the motion feature of the target object is obtained, and the target playback speed of the target video is obtained based on the motion feature.
[0032] Illustratively, after determining the target object, the motion characteristics of the target object are captured. Illustratively, take a scene in which the content of the target video is a "soccer match," the target object is a "soccer player," and the motion characteristics of the target object are the posture of the "soccer player," where when the "soccer player" is in a standing posture, the target object corresponds to one motion characteristic, and when the "soccer player" is in a shooting posture, the target object corresponds to another motion characteristic. The motion characteristics of the target object can be used to map the viewability level of the first video clip of the currently playing target video and the user's interest level. operation The features can be obtained by performing further feature identification on the target object, and this process can be processed by a pre-trained motion identification model, i.e., an image containing the target object can be input into the motion identification model, and an identifier, array, or matrix characterizing the motion features output from the motion identification model can be obtained, and the description of which will be omitted here.
[0033] In one possible implementation form, the target objects include a first object and a second object, and specific implementation steps of acquiring the motion characteristics of the target objects include: acquiring a positional relationship between the first object and the second object; and obtaining motion characteristics of at least one target object based on the positional relationship.
[0034] For example, at least one target object may be composed of multiple objects. For example, two target objects may be composed of a "soccer player" and a "soccer," with the "soccer player" being the first object and the "soccer" being the second object. To more accurately determine the overall motion characteristics of the multiple target objects during the process of determining the motion characteristics of the target objects, the system obtains accurate motion characteristics by adjusting the positional relationship between the first object and the second object. For example, if the spatial distance between the first object (the "soccer player") and the second object (the "soccer") is greater than a first distance, the overall motion characteristics composed of the motion characteristics corresponding to the two target objects are determined as the first motion characteristics, characterizing a "non-tackling state." If the spatial distance between the first object and the second object is less than the first distance, the overall motion characteristics composed of the motion characteristics corresponding to the two target objects are determined as the second motion characteristics, characterizing a "tackling state." This increases the realization categories of motion characteristics, further fine-tunes the distinctions between motion characteristics, and improves the accuracy of motion characteristic representation.
[0035] Of course, the above description is merely illustrative, and it should be understood that in order to further improve the accuracy of the representation of the motion features, the positional relationship between the first object and the second object can further include a directional relationship in addition to the spatial distance relationship exemplified above. The first object and the second object can also refer to other physical objects, such as soccer players from different teams, or a soccer player and a goal, and the positional relationship can be expressed by a matrix, and no examples will be given here. A method for obtaining the positional relationship between two physical objects in a video or image is known to those skilled in the art, and its description will be omitted here.
[0036] In some embodiments, after obtaining the motion features, the motion features and the viewability of the video content have a mapping relationship, where the higher the viewability of the video content, the lower the playback speed is set, and conversely, the lower the viewability of the video content, the higher the playback speed is set, and thus the motion features are mapped to corresponding target playback speeds based on the rule. Specifically, when the motion features of the target object (e.g., when a soccer player is in a shooting position) are mapped to video content with high viewability, the playback speed of the target video is slowed down, allowing the user to clearly watch the video content with high viewability. Conversely, when the motion features of the target object (e.g., when a soccer player is in a standing position) are mapped to video content with low viewability, the playback speed of the target video is accelerated, allowing the user to quickly skip the video content with low viewability, thereby realizing dynamic adjustment of the playback speed.
[0037] FIG. 4 is a schematic diagram of automatically adjusting a target playback speed based on motion characteristics provided by an embodiment of the present disclosure.
[0038] As shown in FIG. 4, the terminal device is, for example, a smartphone. In the process of the terminal device playing a target video using a video client, if a target object (shown as a "soccer player" in the figure) displayed in the target video has a first motion characteristic (e.g., a shooting motion), the currently played video content of the target video is characterized as being of high viewability, and the terminal device sets the target playback speed to 0.6 times the normal playback speed (shown as target playback speed = 0.6 in the figure) and displays the text "Slow playback" in the figure. If the target object displayed in the target video has a second motion characteristic (e.g., standing still, jogging), the currently played video content of the target video is characterized as being of low viewability, and the terminal device sets the target playback speed to 1.5 times the normal playback speed (shown as target playback speed = 1.5 in the figure) and displays the text "Fast playback" in the figure.
[0039] In step S103, the target video is played back based on the target playback speed.
[0040] For example, after determining the target playback speed, the terminal device can play the target video based on the target playback speed to achieve variable-speed playback of the target video. The target playback speed may be a speed coefficient, such as 0.8, which characterizes the target playback speed as 0.8 times the normal playback speed. The target playback speed may also be a specific value, such as 60 frames per second, which can be set as needed and is not specifically limited herein. Specifically, the target video may include multiple video clips, and playing the target video based on the target playback speed may involve playing all video clips in the target video based on the target playback speed, or may involve playing only the first video clip in the target video based on the target playback speed.
[0041] In one possible implementation, before playing the target video based on the target playback speed, the method further includes obtaining a first playback speed of the target video, which is the playback speed of the target video before playing the first video clip. Specifically, the first playback speed is the playback speed of the target video before variable-speed playback. The first playback speed may be the normal playback speed, i.e., the speed at which the target video is normally played, or may be another playback speed set by the user, such as a playback speed twice the normal playback speed. Exemplarily, the target video further includes a second video clip, which is played after the first video clip. As shown in FIG. 5, a specific implementation of step S103 includes the following steps S1031 to S1032.
[0042] In step S1031, the first video clip is played based on a target playback speed and lasts for a first time period determined based on a target motion characteristic of a target object in the first video clip.
[0043] In step S1032, after the first time period, the second video clip is played back based on the first playback speed.
[0044] For example, the implementation of playing the target video based on the target playback speed provided by this embodiment means that after a video clip with high viewability in the target video is played at the target playback speed, the playback speed returns to the previous first playback speed. Automatic slowdown playback can be realized during a user's double-speed playback process. FIG. 6 is a schematic diagram of a target video playback process provided by an embodiment of the present disclosure. Hereinafter, the process will be described with reference to FIG. 6. As shown in FIG. 6, during the process of playing the target video, the terminal device plays the target video at a first playback speed (indicated by X2 in the figure, indicating double speed) based on the user's setting before playing it to a first time. When the target video is played to the first time, the terminal device generates a video playback speed matching the current video content with high viewability, i.e., a target playback speed (indicated by X1 in the figure, indicating single speed) based on the identification of the target object and the extraction and determination of the corresponding action features, and The first video clip is played at a target playback speed, and at the same time, the terminal device continuously identifies and judges the motion characteristics of the target object appearing in the target video. If the target object in the target video disappears or the motion characteristics of the target object do not represent the interesting video content (i.e., the target motion characteristics of the target object cannot be detected and the target motion characteristics correspond to the interesting video content), the terminal device continues to play the target video based on the first playback speed, i.e., at a second time, the terminal device continues to play the second video clip based on the first playback speed. The duration for which the terminal device plays the first video clip at the target playback speed is a first time, i.e., the interval between the first time and the second time. As can be seen from the above introduction, the first time is determined based on the target motion characteristics of the target object in the target video.
[0045] In the steps of this embodiment, the first playback speed of the target video before speed change is recorded, and after the target action feature of the target object in the target video disappears, the target video (the second video clip of the target video) continues to be played at the previously set first playback speed, thereby realizing accurate speed change control for the interesting video content in the target video, meeting the user's personalized playback needs, and improving the efficiency of video speed change playback.
[0046] In this embodiment, a target video including at least a first video clip is obtained, the first video clip is identified, at least one target object is obtained, motion characteristics of the target object are obtained, a target playback speed of the target video is obtained based on the motion characteristics, and the target video is played back based on the target playback speed. By identifying the target object in the target video and playing back the currently played video content of the target video at a variable speed based on the motion characteristics of the target object, the playback speed of the target video is matched to the video content, realizing dynamic variable speed playback in which interesting video clips are played back slowly and uninteresting video clips are played back at a high speed, thereby improving the efficiency and accuracy of speed adjustment, preventing unreasonable playback speeds from affecting video viewing, and improving the video viewing experience.
[0047] Please refer to Fig. 7, which is a flow diagram 2 of a variable speed video playback method provided by an embodiment of the present disclosure. In this embodiment, based on the embodiment shown in Fig. 2, steps S102 to S103 are further subdivided, and the variable speed video playback method includes the following steps S201 to S207.
[0048] In step S201, a target video is obtained, a first video clip in the target video is identified, and a target object is obtained.
[0049] In step S202, the motion characteristics of the target object are obtained.
[0050] For example, the above embodiment introduces an implementation of acquiring the motion characteristics of the target object based on a single video frame in the first video clip, so the description thereof will be omitted here. In another possible implementation, multi-frame images of the first video clip are acquired, and more accurate motion characteristics can be acquired based on the change relationship between the multi-frame images.
[0051] Illustratively, as shown in FIG. 8, a specific implementation of step S202 includes the following steps S2021 and S2023.
[0052] In step S2021, a first video clip is obtained, which corresponds to the current playback time in the target video and includes at least a video clip within a first time period before the current playback time and / or a video clip within a second time period after the current playback time.
[0053] In step S2022, at least two static motion features of the target object are obtained based on at least two video frames in the first video clip.
[0054] In step S2023, obtain the motion feature of the target object based on at least two static motion features of the target object.
[0055] For example, based on the current time of playing the target video, a corresponding first video clip is obtained, which may be a video clip before or after the video playback position corresponding to the current time. Then, based on at least two target video frames in the first video clip, the motion features of the target object in each target video frame are captured, and corresponding features of each target video frame, i.e., static motion features, are obtained. More specifically, the static motion features are features that characterize the posture and shape of the identified object. For the method of obtaining the static motion features, please refer to the introduction of step S102 in the embodiment shown in Figure 2, and the description thereof will be omitted here.
[0056] In some embodiments, after obtaining at least two static motion features, a motion feature is generated based on a consistency feature between the at least two static motion features. For example, after capturing motion features for each of video frames P1 and P2 in a first video clip, corresponding first and second static motion features are obtained. More specifically, the first static motion feature characterizes, for example, the posture of a "dribbling motion," and the second static motion feature characterizes, for example, the posture of a "shooting motion." Then, a dynamic feature composed of the first and second static features is used as a motion feature of a target object, i.e., characterizes the consistent motion of "dribbling and shooting." In some embodiments, when the first video clip includes multiple target objects (e.g., a first object and a second object), the motion features corresponding to each target object can be determined by the above steps, and description thereof will be omitted here.
[0057] In this embodiment, multiple video frames corresponding to the current time are obtained, and features are captured respectively to obtain multiple corresponding static motion features, and then the multiple static motion features are used and aggregated to obtain motion features that can characterize consistent motion, so that the obtained motion features of the target object have time dimensions and posture dimensions, thereby allowing the obtained motion features to more accurately represent the video content.
[0058] In step S203, a target playback speed of the target video is obtained based on the motion characteristics.
[0059] For example, after obtaining the motion characteristics, in one possible implementation, a corresponding target playback speed can be obtained based on the motion characteristics and preset mapping information, and for specific implementation, refer to the introduction of related steps in the embodiment shown in Fig. 2. In another possible implementation, as shown in Fig. 9, a specific implementation of step S203 includes the following steps S2031 to S2033.
[0060] In step S2031, a video event corresponding to the first video clip is obtained based on the action characteristics.
[0061] In step S2032, a corresponding target speed factor is determined based on the video event.
[0062] In step S2033, a target playback speed is determined based on the target speed coefficient.
[0063] For example, the first video clip may include one or more target objects, such as "soccer players," in a specific scene. Each target object corresponds to a different action feature. Therefore, in the target video, the action features corresponding to all target objects can be aggregated and mapped to corresponding video events, such as "goal in," "pause," and "end of game." The video events correspond to more specific and distinct video content, so that the video event By adjusting the speed based on this, a better speed adjustment effect can be achieved and the accuracy of the speed adjustment can be improved. For example, a user's need to "fast forward to the beginning of the second half" requires accurately determining the video event "start of the second half" in the target video. A video event is jointly determined by the motion characteristics of multiple target objects. For example, when multiple soccer players (target objects) on the field are all in postures (motion characteristics) such as standing or sitting, the corresponding video event is determined to be "end of the game."
[0064] In some embodiments, after determining the video event corresponding to the current time, a corresponding target speed factor can be obtained based on the mapping relationship between the video event and the speed factor, and further, a target playback speed can be obtained based on the target speed factor and the normal playback speed of the target video.
[0065] Illustratively, as shown in FIG. 10, specific steps for implementing step S2032 include the following steps S2032A to S2032C.
[0066] In step S2032A, a first number of target objects in the first video clip at the current playback time is obtained, and a first speed coefficient is obtained based on the first number.
[0067] In step S2032B, a second speed factor is obtained based on the video event.
[0068] In step S2032C, a target speed factor is obtained based on the first speed factor and the second speed factor.
[0069] For example, in one possible scene, the number of target objects will affect the viewing experience of the target video. For example, if a scene in which multiple "soccer players" are crowded together appears in the target video, the user may need to watch the game process at a slower playback speed. Therefore, the video playback speed can be further adjusted based on the number of target objects in the first video clip. Specifically, a corresponding first speed factor is determined based on the first number of target objects in the first video clip at the current playback time, a second speed factor is obtained based on the video event obtained in the previous step, and the target playback speed is obtained based on the product of the first speed factor and the second speed factor. In this embodiment, the corresponding first speed factor is determined by detecting the first number of target objects, and the final target playback speed is fine-tuned based on the first speed factor, thereby further improving the accuracy and rationality of the target playback speed and improving the user's viewing experience.
[0070] For example, in the application scenario of live streaming or broadcasting of a game, a terminal device receives a target video transmitted by a server via streaming, caches it, and then plays each video clip of the target video in sequence according to the video playback order. During this process, when a video event such as a goal in or a shot occurs, the terminal device determines a target playback speed (e.g., playback at 0.5x speed) that does not match the normal playback speed. After playback based on the target playback speed, the terminal device slows down playback of a video clip in the target video, resulting in a problem of slowing down the overall playback progress of the target video and lengthening the overall playback time. In the application scenario of live streaming of a game, this problem causes users watching the video to learn the game results later, resulting in the problem of "game result spoilers." Therefore, in the video live streaming scenario, in order to solve the playback progress delay problem caused in the process of using the above video variable speed playback method, this embodiment provides the following solution, for example, the target video further includes a second video clip, and the second video clip is played after the first video clip, and the specific steps include the following steps S204 to S207.
[0071] In step S204, the total playing time of the target video is obtained, and a second time is obtained based on the difference between the total time and the first time, which is the duration of the first video clip.
[0072] In step S205, a second playback speed corresponding to the second video clip is obtained based on the second time.
[0073] In step S206, the first video clip is played based on the target playback speed and lasts for a first time period.
[0074] In step S207, after the first time period, the second video clip is played back based on the second playback speed.
[0075] For example, the total playback time of the target video is first obtained. The target video may refer to a complete game video in a live video broadcast scene, or may be a single clip of a game video, for example, a 5-minute or 10-minute video clip, in a live video streaming scene. After obtaining the target video, the terminal device determines the total playback time of the target video. At the same time, it performs steps S201 to S203. When an interesting and highly-viewable video content (a first video clip) appears in the target video, it obtains a corresponding target playback speed and a corresponding first time. The first time is the duration of the first video clip and is determined based on the target motion characteristics of the target object in the first video clip. The method for determining the first time has been introduced in the corresponding steps of the embodiment shown in FIG. 2, and therefore will not be described here. Then, based on the difference between the total time and the first time, a second time is obtained, which is the remaining playable time of the target video when the total playable time of the target video is ensured to remain unchanged, and is also the remaining playable time of the second video clip after the first video clip.Then, a compensation speed coefficient can be obtained based on the proportional relationship between the second time and the video length of the second video clip of the target video. Specifically, for example, the target video is composed of a first video clip and a second video clip, and the second time corresponding to the second video clip obtained based on the total playback time of the target video and the first time corresponding to the first video clip is 30 seconds. After the target video has been decelerated (played at the target playback speed) for the first time, at the end of the playback of the target video, the target video is played at normal speed throughout the entire process. When playing back a video, if it is required that there be no playback delay (i.e., there is no case where playback of the target video played at normal speed is completed but playback of the target video resulting from variable-speed playback of the first video clip is not completed), the remaining second video clip of the target video must be completed within 30 seconds. For example, if playing back the second video clip at normal playback speed takes 60 seconds, the second playback speed corresponding to the second video clip is accordingly twice the normal playback speed, i.e., the second playback speed is 2 (compensation speed factor). This is equivalent to accelerating the playback of the latter half of the target video, thereby ensuring that the overall playback time of the target video is not extended and resolving the playback delay problem.
[0076] In this embodiment, step S201 is the same as step S101 in the above embodiment, and for a detailed description, please refer to the description of step S101, and the description thereof will be omitted here.
[0077] Video speed change in the above example reproduction Corresponding to the method, Figure 11 is a structural block diagram of a video speed-varying playback device provided by an embodiment of the present disclosure. For convenience of explanation, only the parts related to the embodiment of the present disclosure are shown. Referring to Figure 11, the video speed-varying playback device 3 includes: an acquisition module 31 for acquiring a target video including at least a first video clip, identifying the first video clip, and obtaining at least one target object; a processing module 32 for obtaining motion characteristics of the target object and obtaining a target playback speed of the target video based on the motion characteristics; a playback module 33 for playing the target video based on the target playback speed.
[0078] In some embodiments of the present disclosure, when identifying a first video clip and obtaining at least one target object, the acquisition module 31 is specifically used for obtaining first reference information of the target video for characterizing a video scene corresponding to the target video, determining a corresponding target reference object based on the first reference information, and performing target identification on the first video clip based on the target reference object to obtain at least one target object.
[0079] In some embodiments of the present disclosure, when obtaining a target playback speed of a target video based on motion characteristics, the processing module 32 is specifically used for obtaining a video event corresponding to a first video clip based on motion characteristics and determining a target playback speed based on the video event.
[0080] In some embodiments of the present disclosure, when determining a target playback speed based on a video event, the processing module 32 is specifically used to obtain a first number of target objects in a first video clip at the current playback time, and obtain a first speed factor based on the first number; obtain a second speed factor based on the video event; and obtain a target speed factor based on the first speed factor and the second speed factor.
[0081] In some embodiments of the present disclosure, the target objects include a first object and a second object, and when acquiring the motion characteristics of the target objects, the processing module 32 is specifically used for acquiring the positional relationship between the first object and the second object, and obtaining the motion characteristics of at least one target object based on the positional relationship.
[0082] In some embodiments of the present disclosure, when acquiring the motion characteristics of the target object, the processing module 32 is specifically used for acquiring at least two static motion characteristics of the target object based on at least two video frames in the first video clip, and obtaining the motion characteristics of the target object based on the at least two static motion characteristics of the target object.
[0083] In some embodiments of the present disclosure, before playing the target video based on the target playback speed, the acquisition module 31 is further used to acquire a first playback speed of the target video, which is the playback speed of the target video before playing the first video clip. The playback module 33 is specifically used to play the first video clip based on the target playback speed, for a first time period determined based on the target motion characteristics of the target object in the first video clip, and to play the second video clip based on the first playback speed after the first time period.
[0084] In some embodiments of the present disclosure, the acquisition module 31 is further used to obtain a second playback speed corresponding to the second video clip based on the difference between the total playback time of the target video and a first time, which is the duration of the first video clip. The playback module 33 is specifically used to play the first video clip based on the target playback speed and last for a first time, and play the second video clip based on the second playback speed after the first time.
[0085] The acquisition module 31, the processing module 32, and the playback module 33 are connected in sequence. Device 3 can implement the technical solutions of the above method embodiments, and the realization principles and technical effects are similar, so the description of this embodiment will be omitted here.
[0086] FIG. 12 is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 12, the electronic device 4 includes: A processor 41 and a memory 42 communicatively connected to the processor 41, The memory 42 stores computer-executable instructions, The processor 41 executes computer-executable instructions stored in the memory 42 to implement the variable speed video playback method in the embodiment shown in FIGS.
[0087] In some embodiments, the processor 41 and the memory 42 are connected via a bus 43 .
[0088] The related explanations can be understood in accordance with the related explanations and effects corresponding to the steps in the embodiments corresponding to FIGS. 2 to 10, and therefore the explanations thereof will be omitted here.
[0089] An embodiment of the present disclosure provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing a video variable speed playback method provided by any one of the embodiments corresponding to Figures 2 to 10 of the present disclosure when executed by a processor.
[0090] An embodiment of the present disclosure provides a computer program product including a computer program that, when executed by a processor, implements the video variable speed playback method in the embodiment shown in FIGS.
[0091] 13 illustrates a structural schematic diagram of an electronic device 900 suitable for implementing an embodiment of the present disclosure. The electronic device 900 may be a terminal device or a server. Terminal devices may include, but are not limited to, mobile devices such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable media players (PMPs), and in-vehicle devices (e.g., in-vehicle navigation devices), as well as fixed devices such as digital TVs and desktop computers. The electronic device illustrated in FIG. 13 is merely an example and does not limit the functionality and scope of use of the embodiment of the present disclosure.
[0092] 13, electronic device 900 may include a processing unit (e.g., a central processing unit, an image processing unit, etc.) 901 capable of performing various appropriate operations and processes based on programs stored in read only memory (ROM) 902 or programs loaded from a storage device 908 into random access memory (RAM) 903. RAM 903 further stores various programs and data required for the operation of electronic device 900. The processing unit 901, ROM 902, and RAM 903 are connected to one another via a bus 904. An input / output (I / O) interface 905 is also connected to bus 904.
[0093] Typically, devices such as input devices 906 including a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 907 including a liquid crystal display (LCD), speaker, vibrator, etc., storage devices 908 including magnetic tape, hard disk, etc., and communication devices 909 can be connected to the I / O interface 905. The communication devices 909 can enable the electronic device 900 to communicate with other devices wirelessly or via wires to exchange data. Although FIG. 13 shows the electronic device 900 having various devices, it should be understood that it is not required to implement or include all of the devices shown. More or fewer devices may alternatively be implemented or included.
[0094] In particular, according to embodiments of the present disclosure, the processes described with reference to the flowcharts above may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program including program code for performing the methods shown in the flowcharts. In such embodiments, the computer program may be downloaded and installed from a network via the communication device 909, or may be installed from the storage device 908, or may be installed from the ROM 902. When the computer program is executed by the processing device 901, the functions specified in the methods of the embodiments of the present disclosure are performed.
[0095] It should be noted that the computer-readable medium described in this disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the above. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a propagated data signal, either in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code contained in a computer-readable medium may be transmitted over any suitable medium, including, but not limited to, electrical wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.
[0096] The computer-readable medium may be included in the electronic device, or may exist independently of the electronic device.
[0097] The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.
[0098] Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. When referring to a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., connected via the Internet using an Internet Service Provider).
[0099] The flowcharts and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or portion of code, including one or more executable instructions for implementing a given logical function. It should be noted that in some alternative implementations, the functions marked in the blocks may be implemented in an order different from that shown in the drawings. For example, two successively shown blocks may actually be executed essentially in parallel, or some functions may be executed in the reverse order. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a dedicated hardware-based system that performs a given function or operation, or in a combination of dedicated hardware and computer instructions.
[0100] The units described in the embodiments of the present disclosure may be implemented in the form of software or hardware. The names of the units may not necessarily be limiting, for example, the first acquisition unit may be described as "a unit for acquiring at least two Internet Protocol addresses."
[0101] The functionality described herein above may be performed, at least in part, by one or more hardware logic elements. For example, without limitation, typical types of hardware logic elements that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.
[0102] In the context of this disclosure, a machine-readable medium may be a tangible medium, capable of including or storing a program for use in or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include an electrical connection with one or more leads, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0103] In a first aspect, according to one or more embodiments of the present disclosure, A video variable speed playback method is provided, including the steps of: obtaining a target video including at least a first video clip; identifying the first video clip to obtain at least one target object; obtaining motion characteristics of the target object and obtaining a target playback speed of the target video based on the motion characteristics; and playing the target video based on the target playback speed.
[0104] According to one or more embodiments of the present disclosure, the step of identifying the first video clip and obtaining at least one target object includes the steps of obtaining first reference information of the target video for characterizing a video scene corresponding to the target video, determining a corresponding target reference object based on the first reference information, and performing target identification on the first video clip based on the target reference object to obtain at least one target object.
[0105] According to one or more embodiments of the present disclosure, obtaining a target playback speed for the target video based on the motion features includes obtaining a video event corresponding to the first video clip based on a combination of at least two of the motion features, and determining the target playback speed based on the video event.
[0106] According to one or more embodiments of the present disclosure, the step of determining the target playback speed based on the video events includes the steps of obtaining a first number of target objects in the first video clip at a current playback time and obtaining a first speed factor based on the first number; obtaining a second speed factor based on the video events; and obtaining the target playback speed based on the first speed factor and the second speed factor.
[0107] According to one or more embodiments of the present disclosure, the at least one target object includes a first object and a second object, and the step of acquiring the motion characteristics of the target object includes the step of acquiring a positional relationship between the first object and the second object, and the step of obtaining the motion characteristics of the target object based on the positional relationship.
[0108] According to one or more embodiments of the present disclosure, the step of acquiring motion characteristics of the target object includes the steps of acquiring at least two static motion characteristics of the target object based on at least two video frames in the first video clip, and obtaining motion characteristics of the target object based on the at least two static motion characteristics of the target object.
[0109] According to one or more embodiments of the present disclosure, before the step of playing the target video based on the target playback speed, the method further includes a step of obtaining a first playback speed of the target video, which is the playback speed of the target video before playing the first video clip, and the step of playing the target video based on the target playback speed includes a step of playing the first video clip based on the target playback speed for a first time period determined based on target behavior characteristics of a target object in the first video clip, and a step of playing the second video clip based on the first playback speed after the first time period.
[0110] According to one or more embodiments of the present disclosure, the method further includes a step of obtaining a second playback speed corresponding to the second video clip based on a difference between a total playback time of the target video and a first time which is the duration of the first video clip, and the step of playing the target video based on the target playback speed includes a step of playing the first video clip based on the target playback speed and lasting for the first time, and a step of playing the second video clip based on the second playback speed after the first time.
[0111] In a second aspect, according to one or more embodiments of the present disclosure, an acquisition module for acquiring a target video including at least a first video clip, identifying the first video clip, and obtaining at least one target object; a processing module for obtaining motion characteristics of the target object and obtaining a target playback speed of the target video based on the motion characteristics; a playback module for playing the target video based on the target playback speed.
[0112] According to one or more embodiments of the present disclosure, when identifying the first video clip and obtaining at least one target object, the acquisition module is specifically used for obtaining first reference information of the target video for characterizing a video scene corresponding to the target video, determining a corresponding target reference object based on the first reference information, and performing target identification on the first video clip based on the target reference object to obtain at least one target object.
[0113] According to one or more embodiments of the present disclosure, when obtaining a target playback speed of the target video based on the motion features, the processing module is specifically used for obtaining a video event corresponding to the first video clip based on a combination of at least two of the motion features, and determining the target playback speed based on the video event.
[0114] According to one or more embodiments of the present disclosure, when determining the target playback speed based on the video event, the processing module is specifically used for obtaining a first number of target objects in the first video clip at the current playback time, obtaining a first speed factor based on the first number, obtaining a second speed factor based on the video event, and obtaining the target speed factor based on the first speed factor and the second speed factor.
[0115] According to one or more embodiments of the present disclosure, the at least one target object includes a first object and a second object, and when acquiring the motion characteristics of the target object, the processing module is specifically used for acquiring a positional relationship between the first object and the second object, and obtaining the motion characteristics of the target object based on the positional relationship.
[0116] According to one or more embodiments of the present disclosure, when acquiring the motion characteristics of the target object, the processing module is specifically used for acquiring at least two static motion characteristics of the target object based on at least two video frames in the first video clip, and obtaining the motion characteristics of the target object based on the at least two static motion characteristics of the target object.
[0117] According to one or more embodiments of the present disclosure, before Before the step of playing the target video based on the target playback speed, the acquisition module is further used to acquire a first playback speed of the target video, which is the playback speed of the target video before playing the first video clip, and the playback module is specifically used to play the first video clip based on the target playback speed and last for a first time period determined based on target motion characteristics of the target object in the first video clip, and after the first time period, play the second video clip based on the first playback speed.
[0118] According to one or more embodiments of the present disclosure, the acquisition module is further adapted to obtain a second playback speed corresponding to the second video clip based on a difference between a total playback time of the target video and a first time, which is a duration of the first video clip; and the playback module L is specifically used for playing the first video clip based on the target playback speed and continuing for the first time period, and playing the second video clip based on a second playback speed after the first time period.
[0119] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device including a processor and a memory communicatively coupled to the processor, The memory stores computer-executable instructions, The processor executes computer-executable instructions stored in the memory to provide an electronic device that realizes the video variable speed playback method described in the first aspect and various possible designs of the first aspect.
[0120] In a fourth aspect, according to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implements the video variable speed playback method described in the first aspect above and various possible designs of the first aspect.
[0121] In a fifth aspect, an embodiment of the present disclosure provides a computer program product including a computer program that, when executed by a processor, implements the video variable speed playback method described in the first aspect and various possible designs of the first aspect.
[0122] The above description merely describes the preferred embodiments of the present disclosure and the technical principles used. As will be understood by those skilled in the art, the scope of disclosure covered by the present disclosure is not limited to the technical solution consisting of a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features, provided that it does not deviate from the concept of the above disclosure. For example, it should cover technical solutions formed by mutually replacing the above features with (but not limited to) technical features having similar functions disclosed in the present disclosure.
[0123] Also, although operations are described using a particular order, this should not be understood as requiring that these operations be performed in the particular order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although the above discussion includes details of several specific implementations, these should not be construed as limitations on the scope of the present disclosure. Some features that are described in the context of separate embodiments may also be combined and implemented in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable subcombination.
[0124] Although the present subject matter has been described above using language specifying structural features and / or methodological operations, it should be understood that the subject matter defined in the appended claims is not limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.
Claims
1. A method for variable speed video playback, comprising the steps of: obtaining a target video including at least a first video clip; identifying the first video clip to obtain at least one target object; obtaining motion characteristics of the target object, and obtaining a target playback speed of the target video based on the motion characteristics; and playing the target video based on the target playback speed.
2. The step of identifying the first video clip and obtaining at least one target object comprises: obtaining first reference information of the target video for characterizing video scenes corresponding to the target video; determining a corresponding target reference object based on the first reference information; 2. The method of claim 1, further comprising: performing target identification on the first video clip based on the target reference object to obtain at least one target object.
3. obtaining a target playback speed of the target video based on the motion characteristics, obtaining a video event corresponding to the first video clip based on a combination of at least two of the motion features; 3. The method of claim 1, further comprising determining the target playback speed based on the video event.
4. determining the target playback speed based on the video event, obtaining a first number of target objects in the first video clip at a current playback time, and obtaining a first speed factor based on the first number; obtaining a second speed factor based on the video event; and obtaining the target playback speed based on the first speed factor and the second speed factor.
5. The at least one target object includes a first object and a second object, and the step of acquiring motion characteristics of the target object includes: acquiring a positional relationship between the first object and the second object; The video variable speed playback method according to any one of claims 1 to 4, further comprising: obtaining a motion characteristic of the target object based on the positional relationship.
6. The step of acquiring the motion characteristics of the target object includes: Obtaining a first video clip corresponding to a current playback time in the target video, the first video clip including at least a video clip within a first time period before the current playback time and / or a video clip within a second time period after the current playback time; obtaining at least two static motion characteristics of the target object based on at least two video frames in the first video clip; The video variable speed playback method according to any one of claims 1 to 5, further comprising the step of: obtaining a motion characteristic of the target object based on at least two static motion characteristics of the target object.
7. The step of obtaining the motion characteristics of the target object based on at least two static motion characteristics of the target object includes: The video variable speed playback method according to claim 6, further comprising the step of generating a motion feature of the target object based on a consistency feature between the at least two static motion features.
8. The target video further includes a second video clip, and the second video clip is played after the first video clip. The variable speed video playback method includes, before playing the target video based on the target playback speed, obtaining a first playback speed of the target video, the first playback speed being a playback speed of the target video before playing the first video clip; The step of playing the target video based on the target playback speed includes: playing the first video clip based on the target playback speed and for a first duration determined based on a target motion characteristic of a target object in the first video clip; The method of any one of claims 1 to 7, further comprising the step of: after the first time, playing back the second video clip based on the first playback speed.
9. The target video further includes a second video clip, and the second video clip is played after the first video clip, and the video variable speed playback method includes: and obtaining a second playback speed corresponding to the second video clip based on a difference between a total playback time of the target video and a first time, the first time being a duration of the first video clip; The step of playing the target video based on the target playback speed includes: playing the first video clip based on the target playback speed and for the first duration; The method of any one of claims 1 to 8, further comprising the step of: after the first time, playing back the second video clip based on the second playback speed.
10. The target video further includes a second video clip, and the second video clip is played after the first video clip, and the video variable speed playback method includes: obtaining a total playing time of the target video, and obtaining a second time based on a difference between the total playing time and a first time, which is the duration of the first video clip; obtaining a second playback speed corresponding to the second video clip based on the second time; playing the first video clip based on the target playback speed and for the first duration; The video variable speed playback method according to any one of claims 1 to 9, further comprising the step of: after the first time, playing the second video clip based on the second playback speed.
11. A video speed-changing playback device, comprising: an acquisition module for acquiring a target video including at least a first video clip, identifying the first video clip, and obtaining at least one target object; a processing module for obtaining motion characteristics of the target object and obtaining a target playback speed of the target video based on the motion characteristics; a playback module for playing the target video based on the target playback speed.
12. An electronic device including a processor and a memory communicatively connected to the processor, The memory stores computer-executable instructions, The electronic device implements the variable speed video playback method according to any one of claims 1 to 10 by the processor executing the computer executable instructions stored in the memory.
13. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the method for variable speed video playback according to any one of claims 1 to 10.
14. A computer program product comprising a computer program which, when executed by a processor, implements the method for variable speed video playback according to any one of claims 1 to 8.
Citation Information
Patent Citations
Image processing method and electronic device
CN105812853A
Image recognizing method and image display device
JP2002042139A
Moving picture reproduction system and moving picture reproduction method
JP2005286378A
Image reproducing apparatus and imaging apparatus
JP2011010276A
video trigger analysis
JP2018508135A