CN112004117B - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN112004117B
CN112004117B CN202010910062.1A CN202010910062A CN112004117B CN 112004117 B CN112004117 B CN 112004117B CN 202010910062 A CN202010910062 A CN 202010910062A CN 112004117 B CN112004117 B CN 112004117B
Authority
CN
China
Prior art keywords
video
target
determining
person
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010910062.1A
Other languages
Chinese (zh)
Other versions
CN112004117A (en
Inventor
郭闪闪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010910062.1A priority Critical patent/CN112004117B/en
Publication of CN112004117A publication Critical patent/CN112004117A/en
Application granted granted Critical
Publication of CN112004117B publication Critical patent/CN112004117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a video playing method and device, and belongs to the technical field of video playing. The video playing method comprises the following steps: determining a target object in a target video; playing a first video clip in the target video according to a preset first multiple speed, and playing a second video clip in the target video according to a preset second multiple speed; the first video clip is a video clip containing a target object, and the second video clip is a video clip not containing the target object. The video playing method and the video playing device can play different video clips in the same video according to different multiple speeds.

Description

Video playing method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a video playing method and device.
Background
At present, common video playing modes include a double-speed playing mode and a playing mode in which only one person is watched. However, when the video is played in the multiple speed playing mode, the playing speed of the whole video is fixed, and different video segments cannot be played at different playing speeds. The video is played in a playing mode of only watching a certain character, only the video segment containing the character can be played, and important scenarios are easy to omit.
Therefore, how to play different video segments in the same video at different multiple speeds is a technical problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
The embodiments of the present application provide a video playing method and apparatus, which can play different video clips in the same video according to different multiple speeds.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a video playing method, where the method includes:
determining a target object in a target video;
playing a first video clip in the target video according to a preset first double speed, and playing a second video clip in the target video according to a preset second double speed; the first video clip is a video clip containing a target object, and the second video clip is a video clip not containing the target object.
Optionally, when the target object is a target person, determining the target object in the target video includes:
acquiring abstract information of a target video;
based on the summary information, a target person is determined.
Optionally, when the target object is a target person, determining the target object in the target video includes:
obtaining a figure drama of a target video;
and carrying out face recognition on the character screenshots to determine target characters.
Optionally, when the target object is a target person, determining the target object in the target video includes:
receiving a first input of a user for a target person image in a first target interface;
in response to the first input, a target person is determined.
Optionally, when the target object is a target person, determining the target object in the target video includes:
receiving identity identification information input by a user;
searching a preset database based on the identity identification information to obtain a figure image corresponding to the identity identification information;
based on the person image, a target person is determined.
Optionally, when the target object is a target person, determining the target object in the target video includes:
acquiring target big data associated with a target video;
determining the priority of each person in the target video based on the target big data;
and determining a preset number of personal characters with high priority as the target person according to the sequence from high priority to low priority.
Optionally, before playing the first video segment in the target video according to the preset first multiple speed and playing the second video segment in the target video according to the preset second multiple speed, the method further includes:
a video segment of the target video containing the target person is determined as a first video segment, and a video segment not containing the target person is determined as a second video segment.
Optionally, before playing the first video segment in the target video according to the preset first multiple speed and playing the second video segment in the target video according to the preset second multiple speed, the method further includes:
receiving a second input of a user aiming at a preset first speed and/or a preset second speed;
and responding to the second input, and adjusting the preset first speed multiplier and/or the preset second speed multiplier.
Optionally, when the target object is the amount of the target comment information, determining the target object in the target video includes:
acquiring a first comment information amount of each frame of video image in a target video;
and under the condition that the first comment information amount is determined to be larger than a preset comment information amount threshold value, determining the first comment information amount as a target comment information amount.
Optionally, before playing a first video segment containing a target object in a target video according to a preset first multiple speed and playing a second video segment not containing the target object in the target video according to a preset second multiple speed, the method further includes:
determining a target video image corresponding to the target comment information amount;
determining a first video segment based on the target video image;
and determining other video clips except the first video clip in the target video as second video clips.
In a second aspect, an embodiment of the present application provides a video playing apparatus, including:
the first determining module is used for determining a target object in a target video;
the playing module is used for playing a first video clip in the target video according to a preset first double speed and playing a second video clip in the target video according to a preset second double speed; the first video clip is a video clip containing a target object, and the second video clip is a video clip not containing the target object.
Optionally, when the target object is a target person, the first determining module includes:
the first acquisition unit is used for acquiring abstract information of a target video;
and the first determining unit is used for determining the target person based on the summary information.
Optionally, when the target object is a target person, the first determining module includes:
a second acquisition unit for acquiring a character screenplay of the target video;
and the second determining unit is used for carrying out face recognition on the character screenshots and determining the target characters.
Optionally, when the target object is a target person, the first determining module includes:
the first receiving unit is used for receiving first input of a user aiming at a target person image in a first target interface;
a third determination unit for determining the target person in response to the first input.
Optionally, when the target object is a target person, the first determining module includes:
the second receiving unit is used for receiving the identity identification information input by the user;
the searching unit is used for searching a preset database based on the identity identification information to obtain a figure image corresponding to the identity identification information;
a fourth determination unit configured to determine a target person based on the person image.
Optionally, when the target object is a target person, the first determining module includes:
a third acquisition unit, configured to acquire target big data associated with a target video;
a fifth determining unit, configured to determine a priority of each person in the target video based on the target big data;
and the sixth determining unit is used for determining the preset number of personal characters with high priority as the target person according to the sequence from high priority to low priority.
Optionally, the apparatus further comprises:
and the second determining module is used for determining the video segment containing the target person in the target video as the first video segment and determining the video segment not containing the target person as the second video segment.
Optionally, the apparatus further comprises:
the first receiving module is used for receiving a second input of a user aiming at a preset first speed multiplier and/or a preset second speed multiplier;
and the adjusting module is used for responding to the second input and adjusting the preset first speed and/or the preset second speed.
Optionally, when the target object is a target comment information amount, the first determining module includes:
the first monitoring unit is used for acquiring a first comment information amount of each frame of video image in the target video;
a seventh determining unit configured to determine the first comment information amount as the target comment information amount in a case where it is determined that the first comment information amount is larger than a preset comment information amount threshold.
Optionally, the apparatus further comprises:
the third determining module is used for determining a target video image corresponding to the target comment information amount;
a fourth determining module, configured to determine the first video segment based on the target video image;
and the fifth determining module is used for determining other video clips except the first video clip in the target video as the second video clip.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the video playing method according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the video playing method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the video playing method according to the first aspect.
In the embodiment of the application, according to a target object, a first video segment and a second video segment in a target video are distinguished, wherein the first video segment contains the target object, and the second video segment does not contain the target object. After the first video clip and the second video clip are distinguished, the first video clip is played according to a preset first speed, the second video clip is played according to a preset second speed, namely different video clips in the same video are played according to different speeds, the video can be played according to the user requirements in a personalized mode, and the user experience of watching the video is improved.
Drawings
Fig. 1 is a schematic flowchart of a video playing method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a video playing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
Based on the content of the background part, at present, a speed-doubling playing mode is adopted to play the video, the playing speed of the whole video is unique, and different video segments cannot be played at different playing speeds. Only the play mode of a certain person is seen, only the video clip containing the person is played, and important scenarios are easy to omit.
The applicant finds that, according to the target object, a first video segment and a second video segment in the target video are distinguished, wherein the first video segment contains the target object, and the second video segment does not contain the target object. After the first video segment and the second video segment are distinguished, the first video segment is played according to a preset first multiple speed, and the second video segment is played according to a preset second multiple speed, namely different video segments in the same video are played according to different multiple speeds. Therefore, the method can distinguish and play the video segments which are interesting to the user and the video segments which are not interesting to the user according to different double speeds, and further improve the user experience. The video segment in which the user is interested can be the first video segment or the second video segment.
The following describes in detail a video playing method provided by the embodiment of the present application through a specific embodiment and an application scenario thereof with reference to the accompanying drawings.
As shown in fig. 1, the video playing method may include:
s101, determining a target object in the target video.
S201, playing a first video clip in a target video according to a preset first multiple speed, and playing a second video clip in the target video according to a preset second multiple speed; the first video clip is a video clip containing a target object, and the second video clip is a video clip not containing the target object.
According to the target object, a first video clip and a second video clip in the target video are distinguished, wherein the first video clip contains the target object, and the second video clip does not contain the target object. After the first video segment and the second video segment are distinguished, the first video segment is played according to a preset first multiple speed, and the second video segment is played according to a preset second multiple speed, namely different video segments in the same video are played according to different multiple speeds. Therefore, the method can distinguish and play the video segments which are interesting to the user and the video segments which are not interesting to the user according to different double speeds, and further improve the user experience. The video segment in which the user is interested can be the first video segment or the second video segment.
To more accurately determine the target person, in one embodiment, when the target object is the target person, determining the target object in the target video may include:
acquiring abstract information of a target video;
based on the summary information, a target person is determined.
Since the summary information generally includes information such as a summary of a main scenario and a main name of the target video, the target person can be determined more accurately based on the summary information.
To more accurately determine the target person, in one embodiment, when the target object is the target person, determining the target object in the target video may include:
obtaining a figure drama of a target video;
and carrying out face recognition on the character screenshots to determine target characters.
Because the character screenshots of the target video generally comprise main characters in the target video, the character screenshots are subjected to face recognition, and the target characters can be determined more accurately.
In order to more accurately determine favorite people of the user, in one embodiment, when the target object is the target person, determining the target object in the target video may include:
receiving a first input of a user for a target person image in a first target interface;
in response to the first input, a target person is determined.
According to the input of the user, the favorite characters of the user can be more accurately determined.
To more accurately determine favorite persons of the user, in one embodiment, when the target object is a target person, determining the target object in the target video may include:
receiving identity identification information input by a user;
searching a preset database based on the identity identification information to obtain a figure image corresponding to the identity identification information;
based on the person image, a target person is determined.
The preset database is searched according to the identity identification information input by the user, so that the favorite characters of the user can be more accurately determined.
To more accurately determine the target person, in one embodiment, when the target object is the target person, determining the target object in the target video may include:
acquiring target big data associated with a target video;
determining the priority of each person in the target video based on the target big data;
and determining a preset number of personal characters with high priority as the target person according to the sequence from high priority to low priority.
The priority of the character is determined by using the big data, so that the target character can be determined more accurately.
In order to more accurately determine the first video segment and the second video segment, in one embodiment, before playing the first video segment in the target video at a preset first double speed and playing the second video segment in the target video at a preset second double speed, the method may further include:
a video segment of the target video containing the target person is determined as a first video segment, and a video segment not containing the target person is determined as a second video segment.
Determining the video segments containing and not containing the target person as the first video segment and the second video segment, respectively, enables more accurate determination of the first video segment and the second video segment.
In order to meet the multiple video playing speed requirements of the user, in one embodiment, before playing the first video segment in the target video at a preset first speed and playing the second video segment in the target video at a preset second speed, the method may further include:
receiving a second input of a user aiming at a preset first speed and/or a preset second speed;
and responding to the second input, and adjusting the preset first speed multiplier and/or the preset second speed multiplier.
The playing speed is adaptively adjusted according to the input of the user aiming at the playing speed, and the requirements of the user on various video playing speeds can be met.
In order to determine the amount of target comment information more accurately, in one embodiment, when the target object is the amount of target comment information, determining the target object in the target video may include:
acquiring a first comment information amount of each frame of video image in a target video;
and under the condition that the first comment information amount is determined to be larger than a preset comment information amount threshold value, determining the first comment information amount as a target comment information amount.
Based on a preset comment information amount threshold, the first comment information amount larger than the preset comment information amount threshold is determined as the target comment information amount, and the target comment information amount can be determined more accurately.
In order to more accurately determine the first video segment and the second video segment, in one embodiment, before playing the first video segment containing the target object in the target video at the preset first double speed and playing the second video segment not containing the target object in the target video at the preset second double speed, the method may further include:
determining a target video image corresponding to the target comment information amount;
determining a first video segment based on the target video image;
and determining other video clips in the target video except the first video clip as second video clips.
Determining the video segments containing and not containing the target comment information amount as the first video segment and the second video segment, respectively, enables the first video segment and the second video segment to be determined more accurately.
The following specifically introduces the above video playing method by taking a hero playing mode, a character liking degree playing mode, and an online discussion degree playing mode as examples.
1. And (3) leading angle play mode:
the method comprises the steps of carrying out automatic speed playing according to roles, determining roles such as a main role, a match role and the like of a video according to an abstract of a TV series or a movie, setting video segments containing the main role to be played at normal double speed (namely 1-time speed), and setting video segments not containing the main role to be played at other double speeds.
The method for determining the pivot is various, for example, abstract information of a movie and television play can be read, the abstract generally comprises information such as a summary of a main scenario and names of main characters, the first name and the second name are the pivots, and the pivot of the movie and television play can be determined according to the name sequence; and determining the leading role by artificial intelligent face recognition and other methods based on the images of the people, the photos in the movie and television drama and other information.
When the video clip containing the pivot is detected and identified to be played, the video clip is played at the normal double speed (namely 1 double speed), and the video clip not containing the pivot is played at other double speeds. In addition, video subtitles (for example, a bullet screen on a video) can be monitored in real time, and when the subtitles of a certain video are more, the video is more wonderful and can be played at a normal double speed; and when the number of the subtitles is small, the subtitle display mode is restored to the main role playing mode.
2. Character preference play mode:
the user may have a favorite character in a tv series or movie, and the character may not be a leading role in the series, and the user may set the video clip containing some characters his/her favorite characters to be played at normal double speed (i.e. 1-fold speed) and the video clip not containing some characters his/her favorite characters to be played at other double speed.
When the character preference play mode is turned on, a plurality of (e.g., 5) character images may appear; each character image has corresponding normal speed and abnormal speed, and the user can set the speed by himself.
In addition, when the favorite character play mode is turned on and favorite characters of the user are not in the plurality of (for example, 5) character images, favorite character names can be searched in a preset search list, and then the character images corresponding to the characters appear, wherein each character image has corresponding normal double speed and abnormal double speed selections, and the user can set the favorite character names by himself/herself. Wherein the search function can be connected with the hundred department or with the character big database, namely the character name and the character image are related.
Because the user can set the corresponding normal double speed and abnormal double speed on each character image, when playing the video clip containing a certain character, the video clip is played according to the double speed corresponding to the character, and the other video clips are played according to the default double speed. In addition, video subtitles (for example, a bullet screen on a video) can be monitored in real time, and when the subtitles of a certain video are more, the video is more wonderful and can be played at a normal double speed; and when the number of the subtitles is less, the user can restore to the people's favorite playing mode.
3. Online discussion degree play mode:
before setting the playing speed of a character, the discussion degree of the television series on the network is counted through big data, including the number of times a certain character is mentioned or discussed, the popularity of the certain character and the like, so as to determine the priority of the character. Wherein, the person with the first priority is the person most liked by the viewer.
For example, 3 persons with the top three priority levels may be selected, and when a video clip including the 3 persons is played, the video clip may be played at a normal double speed (i.e., 1-time speed), and a video clip not including the 3 persons may be played at another double speed. In addition, video subtitles (for example, a bullet screen on a video) can be monitored in real time, and when the subtitles of a certain video are more, the video is possibly more wonderful and can be played at a normal double speed; and when the number of the subtitles is less, the mode is restored to the online discussion degree playing mode.
The description has been made above for the hero play mode, the character liking play mode, and the online discussion play mode, respectively. It should be noted that after the play modes are turned on, the user can also adjust the play speed by himself, including 0.25 times, 0.5 times, 1 time, 1.25 times, 1.5 times, 2 times, 3 times, etc.
It should be noted that, in the video playing method provided in the embodiment of the present application, the execution main body may be a video playing device, or a control module used for executing the video playing method in the video playing device. In the embodiment of the present application, a video playing method executed by a video playing device is taken as an example to describe the video playing device provided in the embodiment of the present application.
As shown in fig. 2, the video playing apparatus provided in the embodiment of the present application may include:
a first determining module 201, configured to determine a target object in a target video;
the playing module 202 is configured to play a first video segment in the target video according to a preset first multiple speed, and play a second video segment in the target video according to a preset second multiple speed; the first video clip is a video clip containing a target object, and the second video clip is a video clip not containing the target object.
And distinguishing a first video segment and a second video segment in the target video according to the target object, wherein the first video segment contains the target object, and the second video segment does not contain the target object. After the first video segment and the second video segment are distinguished, the first video segment is played according to a preset first multiple speed, and the second video segment is played according to a preset second multiple speed, namely different video segments in the same video are played according to different multiple speeds. Therefore, the method can distinguish and play the video segments which are interesting to the user and the video segments which are not interesting to the user according to different double speeds, and further improve the user experience. The video segment in which the user is interested can be the first video segment or the second video segment.
In one embodiment, when the target object is a target person, the first determining module 201 may include:
the first acquisition unit is used for acquiring abstract information of a target video;
and the first determining unit is used for determining the target person based on the summary information.
Since the summary information generally includes information such as a summary of a main scenario and a main name of the target video, the target person can be determined more accurately based on the summary information.
In one embodiment, when the target object is a target person, the first determining module 201 may include:
a second acquisition unit for acquiring a character screenplay of the target video;
and the second determining unit is used for carrying out face recognition on the character screenshots and determining the target characters.
Because the character screenshots of the target video generally contain main characters in the target video, the character screenshots are subjected to face recognition, and the target characters can be determined more accurately.
In one embodiment, when the target object is a target person, the first determining module 201 may include:
the first receiving unit is used for receiving first input of a user aiming at a target person image in a first target interface;
a third determination unit for determining the target person in response to the first input.
According to the input of the user, the favorite characters of the user can be more accurately determined.
In one embodiment, when the target object is a target person, the first determining module 201 may include:
the second receiving unit is used for receiving the identity identification information input by the user;
the searching unit is used for searching a preset database based on the identity identification information to obtain a figure image corresponding to the identity identification information;
a fourth determination unit configured to determine a target person based on the person image.
The preset database is searched according to the identity information input by the user, so that favorite characters of the user can be more accurately determined.
In one embodiment, when the target object is a target person, the first determining module 201 may include:
a third acquisition unit, configured to acquire target big data associated with a target video;
a fifth determining unit, configured to determine a priority of each person in the target video based on the target big data;
and the sixth determining unit is used for determining the preset number of personal characters with high priority as the target person according to the sequence from high priority to low priority.
The priority of the character is determined by using the big data, so that the target character can be determined more accurately.
In one embodiment, the apparatus may further comprise:
and the second determining module is used for determining the video segment containing the target person in the target video as the first video segment and determining the video segment not containing the target person as the second video segment.
Determining the video segments containing and not containing the target person as the first video segment and the second video segment, respectively, enables more accurate determination of the first video segment and the second video segment.
In one embodiment, the apparatus may further comprise:
the first receiving module is used for receiving a second input of a user aiming at a preset first speed multiplier and/or a preset second speed multiplier;
and the adjusting module is used for responding to the second input and adjusting the preset first speed multiplication and/or the preset second speed multiplication.
The playing speed is adaptively adjusted according to the input of the user aiming at the playing speed, and the requirements of the user on various video playing speeds can be met.
In one embodiment, when the target object is a target comment information amount, the first determining module 201 may include:
the first monitoring unit is used for acquiring a first comment information amount of each frame of video image in the target video;
a seventh determining unit configured to determine the first comment information amount as the target comment information amount in a case where it is determined that the first comment information amount is larger than a preset comment information amount threshold.
Based on a preset comment information amount threshold, the first comment information amount larger than the preset comment information amount threshold is determined as the target comment information amount, and the target comment information amount can be determined more accurately.
In one embodiment, the apparatus may further comprise:
the third determining module is used for determining a target video image corresponding to the target comment information amount;
a fourth determining module, configured to determine the first video segment based on the target video image;
and the fifth determining module is used for determining other video clips except the first video clip in the target video as the second video clip.
Determining the video segments containing and not containing the target comment information amount as the first video segment and the second video segment, respectively, enables the first video segment and the second video segment to be determined more accurately.
The video playing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video playing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The video playing apparatus provided in the embodiment of the present application can implement each process in the method embodiment shown in fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of being executed on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the above-mentioned video playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, it is not described here again.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the processor 410 is configured to determine a target object in the target video;
a display unit 406, configured to play a first video segment in the target video according to a preset first multiple speed, and play a second video segment in the target video according to a preset second multiple speed; the first video clip is a video clip containing a target object, and the second video clip is a video clip not containing the target object.
And distinguishing a first video segment and a second video segment in the target video according to the target object, wherein the first video segment contains the target object, and the second video segment does not contain the target object. After the first video segment and the second video segment are distinguished, the first video segment is played according to a preset first multiple speed, and the second video segment is played according to a preset second multiple speed, namely different video segments in the same video are played according to different multiple speeds. Therefore, the method can distinguish and play the video segments which are interesting to the user and the video segments which are not interesting to the user according to different double speeds, and further improve the user experience. The video segment in which the user is interested can be the first video segment or the second video segment.
In one embodiment, the processor 410 is configured to obtain summary information of a target video; based on the summary information, a target person is determined.
Since the summary information generally includes information such as a summary of a main scenario and a main name of the target video, the target person can be determined more accurately based on the summary information.
In one embodiment, the processor 410 is configured to obtain a character screenprint of a target video; and carrying out face recognition on the character screenshots to determine target characters.
Because the character screenshots of the target video generally contain main characters in the target video, the character screenshots are subjected to face recognition, and the target characters can be determined more accurately.
In one embodiment, the user input unit 407 is configured to receive a first input from a user for a target person image in a first target interface; a processor 410 for determining a target person in response to the first input.
According to the input of the user, the favorite characters of the user can be more accurately determined.
In one embodiment, the user input unit 407 is configured to receive identification information input by a user;
the processor 410 is configured to search a preset database based on the identification information to obtain a person image corresponding to the identification information; based on the person image, a target person is determined.
The preset database is searched according to the identity identification information input by the user, so that the favorite characters of the user can be more accurately determined.
In one embodiment, a processor 410 for obtaining target big data associated with a target video; determining the priority of each person in the target video based on the target big data; and determining a preset number of personal characters with high priority as the target person according to the sequence from high priority to low priority.
The priority of the character is determined using the big data, so that the target character can be determined more accurately.
In one embodiment, the processor 410 is configured to determine a video segment of the target video containing the target person as a first video segment and determine a video segment not containing the target person as a second video segment.
Determining the video segments containing and not containing the target person as the first video segment and the second video segment, respectively, enables more accurate determination of the first video segment and the second video segment.
In one embodiment, the user input unit 407 is configured to receive a second input of the user for a preset first multiple speed and/or a preset second multiple speed;
and a processor 410 for adjusting the preset first multiple speed and/or the preset second multiple speed in response to the second input.
The playing speed is adaptively adjusted according to the input of the user aiming at the playing speed, and the requirements of the user on various video playing speeds can be met.
In one embodiment, the processor 410 is configured to obtain a first amount of comment information for each frame of video image in the target video;
and under the condition that the first comment information amount is determined to be larger than a preset comment information amount threshold value, determining the first comment information amount as a target comment information amount.
Based on a preset comment information amount threshold, the first comment information amount larger than the preset comment information amount threshold is determined as the target comment information amount, and the target comment information amount can be determined more accurately.
In one embodiment, the processor 410 is configured to determine a target video image corresponding to a target comment information amount; determining a first video segment based on the target video image; and determining other video clips in the target video except the first video clip as second video clips.
Determining the video segments containing and not containing the target comment information amount as the first video segment and the second video segment, respectively, enables the first video segment and the second video segment to be determined more accurately.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor need not be the same as described above
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned video playing method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A video playback method, comprising:
determining a target object in a target video;
playing a first video clip in the target video according to a preset first multiple speed, and playing a second video clip in the target video according to a preset second multiple speed; wherein the first video segment is a video segment containing the target object, and the second video segment is a video segment not containing the target object;
when the target object is a target person, the determining the target object in the target video includes:
acquiring target big data associated with the target video;
determining a priority of each person in the target video based on the target big data;
determining a preset number of personal characters with high priority as the target person according to the sequence of the priority from high to low;
the target big data is the discussion degree of the target video on the internet through big data statistics, and comprises the number of times that a certain person is mentioned or discussed and/or the popularity of the certain person.
2. The video playing method according to claim 1, wherein when the target object is a target person, the determining a target object in the target video comprises:
acquiring abstract information of the target video;
and determining the target person based on the summary information.
3. The video playing method according to claim 1, wherein when the target object is a target person, the determining a target object in the target video comprises:
obtaining a figure drama of the target video;
and carrying out face recognition on the character screenshots to determine the target characters.
4. The video playing method according to claim 1, wherein when the target object is a target person, the determining a target object in the target video comprises:
receiving identity identification information input by a user;
searching a preset database based on the identity identification information to obtain a figure image corresponding to the identity identification information;
and determining the target person based on the person image.
5. The video playback method of any of claims 2 to 4, wherein before playing back the first video segment of the target video at the preset first double speed and playing back the second video segment of the target video at the preset second double speed, the method further comprises:
determining a video segment of the target video containing the target person as the first video segment and determining a video segment not containing the target person as the second video segment.
6. The video playing method according to claim 1, wherein when the target object is a target comment information amount, the determining a target object in a target video includes:
acquiring a first comment information amount of each frame of video image in the target video;
determining the first comment information amount as the target comment information amount in the case that the first comment information amount is determined to be greater than a preset comment information amount threshold.
7. A video playback apparatus, comprising:
the first determining module is used for determining a target object in the target video;
the playing module is used for playing a first video clip in the target video according to a preset first double speed and playing a second video clip in the target video according to a preset second double speed; wherein the first video segment is a video segment containing the target object, and the second video segment is a video segment not containing the target object;
when the target object is a target person, the first determining module comprises:
a third acquisition unit, configured to acquire target big data associated with a target video;
a fifth determining unit, configured to determine a priority of each person in the target video based on the target big data;
a sixth determining unit, configured to determine, as the target person, a preset number of personal objects with high priority in order from high to low;
the target big data is the discussion degree of the target video on the internet through big data statistics, and comprises the number of times that a certain person is mentioned or discussed and/or the popularity of the certain person.
8. The video playback device according to claim 7, wherein when the target object is a target person, the first determination module includes:
the first acquisition unit is used for acquiring abstract information of the target video;
a first determining unit configured to determine the target person based on the summary information.
9. The video playback device according to claim 7, wherein when the target object is a target person, the first determination module includes:
the second acquisition unit is used for acquiring the character screenshots of the target video;
and the second determining unit is used for carrying out face recognition on the character screenshots and determining the target characters.
10. The video playback apparatus of claim 7, wherein when the target object is a target person, the first determining module comprises:
the second receiving unit is used for receiving the identity identification information input by the user;
the searching unit is used for searching a preset database based on the identity identification information to obtain a figure image corresponding to the identity identification information;
a fourth determination unit configured to determine the target person based on the person image.
11. The video playback apparatus according to any one of claims 7 to 10, wherein the apparatus further comprises:
a second determining module, configured to determine, as the first video segment, a video segment of the target video that includes the target person, and determine, as the second video segment, a video segment that does not include the target person.
12. The video playback apparatus according to claim 7, wherein when the target object is a target comment information amount, the first determination module includes:
the first monitoring unit is used for acquiring a first comment information amount of each frame of video image in the target video;
a seventh determining unit, configured to determine the first comment information amount as the target comment information amount if it is determined that the first comment information amount is greater than a preset comment information amount threshold.
CN202010910062.1A 2020-09-02 2020-09-02 Video playing method and device Active CN112004117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010910062.1A CN112004117B (en) 2020-09-02 2020-09-02 Video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010910062.1A CN112004117B (en) 2020-09-02 2020-09-02 Video playing method and device

Publications (2)

Publication Number Publication Date
CN112004117A CN112004117A (en) 2020-11-27
CN112004117B true CN112004117B (en) 2023-03-24

Family

ID=73465173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010910062.1A Active CN112004117B (en) 2020-09-02 2020-09-02 Video playing method and device

Country Status (1)

Country Link
CN (1) CN112004117B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113207027B (en) * 2021-03-29 2023-03-24 北京达佳互联信息技术有限公司 Video playing speed adjusting method and device
CN118433474A (en) * 2021-04-02 2024-08-02 花瓣云科技有限公司 Video playing method, device and storage medium
CN113766299B (en) * 2021-05-06 2024-04-19 腾讯科技(深圳)有限公司 Video data playing method, device, equipment and medium
CN115002551A (en) * 2022-05-31 2022-09-02 深圳市艾酷通信软件有限公司 Video playing method and device, electronic equipment and medium
CN115543137A (en) * 2022-09-23 2022-12-30 维沃移动通信有限公司 Video playing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009093438A1 (en) * 2008-01-22 2009-07-30 Hitachi, Ltd. Management method in network where contents are delivered and receiving terminal device
CN107820138A (en) * 2017-11-06 2018-03-20 广东欧珀移动通信有限公司 Video broadcasting method, device, terminal and storage medium
EP3396596A1 (en) * 2017-04-25 2018-10-31 Accenture Global Solutions Limited Heat ranking of media objects
CN109672939A (en) * 2019-01-07 2019-04-23 北京奇艺世纪科技有限公司 A kind of method and device of marking video content temperature

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581437B (en) * 2014-12-26 2018-11-06 中通服公众信息产业股份有限公司 A kind of video frequency abstract generates and the method and system of video backtracking
US20160249116A1 (en) * 2015-02-25 2016-08-25 Rovi Guides, Inc. Generating media asset previews based on scene popularity
CN104796781B (en) * 2015-03-31 2019-01-18 小米科技有限责任公司 Video clip extracting method and device
CN106385624A (en) * 2016-09-29 2017-02-08 乐视控股(北京)有限公司 Video playing method and device
CN107517405A (en) * 2017-07-31 2017-12-26 努比亚技术有限公司 The method, apparatus and computer-readable recording medium of a kind of Video processing
CN108271069A (en) * 2017-12-11 2018-07-10 北京奇艺世纪科技有限公司 The segment filter method and device of a kind of video frequency program
CN110121098B (en) * 2018-02-05 2021-08-17 腾讯科技(深圳)有限公司 Video playing method and device, storage medium and electronic device
CN109040793A (en) * 2018-09-21 2018-12-18 北京奇艺世纪科技有限公司 A kind of playback method and device
CN109309880B (en) * 2018-10-08 2021-10-22 腾讯科技(深圳)有限公司 Video playing method and device, computer equipment and storage medium
CN110248241B (en) * 2019-06-11 2021-06-04 Oppo广东移动通信有限公司 Video processing method and related device
CN110557683B (en) * 2019-09-19 2021-08-10 维沃移动通信有限公司 Video playing control method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009093438A1 (en) * 2008-01-22 2009-07-30 Hitachi, Ltd. Management method in network where contents are delivered and receiving terminal device
EP3396596A1 (en) * 2017-04-25 2018-10-31 Accenture Global Solutions Limited Heat ranking of media objects
CN107820138A (en) * 2017-11-06 2018-03-20 广东欧珀移动通信有限公司 Video broadcasting method, device, terminal and storage medium
CN109672939A (en) * 2019-01-07 2019-04-23 北京奇艺世纪科技有限公司 A kind of method and device of marking video content temperature

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于短视频的文字描述生成与片段热度预测";周杰;《中国优秀硕士学位论文全文数据库》;20200115;全文 *

Also Published As

Publication number Publication date
CN112004117A (en) 2020-11-27

Similar Documents

Publication Publication Date Title
CN112004117B (en) Video playing method and device
CN109918565B (en) Processing method and device for search data and electronic equipment
CN107835439B (en) Bullet screen pushing method, electronic equipment and computer readable storage medium
CN112150444A (en) Method and device for identifying attribute features of face image and electronic equipment
CN112148923A (en) Search result sorting method, sorting model generation method, device and equipment
CN113901241B (en) Page display method and device, electronic equipment and storage medium
CN112291480B (en) Tracking focusing method, tracking focusing device, electronic device and readable storage medium
CN113688260A (en) Video recommendation method and device
CN113938551A (en) Caching method and device and electronic equipment
CN112328829A (en) Video content retrieval method and device
CN111641868A (en) Preview video generation method and device and electronic equipment
CN114398514B (en) Video display method and device and electronic equipment
CN113676734B (en) Image compression method and image compression device
CN113721816B (en) Video processing method and device
CN113905125B (en) Video display method and device, electronic equipment and storage medium
CN115543137A (en) Video playing method and device
CN113271494B (en) Video frame processing method and device and electronic equipment
CN112887780A (en) Video name display method and device
CN114125149A (en) Video playing method, device, system, electronic equipment and storage medium
CN114398127A (en) Message display method and device
CN112084151A (en) File processing method and device and electronic equipment
CN113676776B (en) Video playing method and device and electronic equipment
CN112989122A (en) Video searching method and device
CN112272330B (en) Display method and device and electronic equipment
CN111966861B (en) Information storage method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant