CN117676256A - Video playing method and device, electronic equipment and readable storage medium - Google Patents

Video playing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117676256A
CN117676256A CN202311622872.7A CN202311622872A CN117676256A CN 117676256 A CN117676256 A CN 117676256A CN 202311622872 A CN202311622872 A CN 202311622872A CN 117676256 A CN117676256 A CN 117676256A
Authority
CN
China
Prior art keywords
video
playing
input
video clip
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311622872.7A
Other languages
Chinese (zh)
Inventor
王乔明
高宇辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202311622872.7A priority Critical patent/CN117676256A/en
Publication of CN117676256A publication Critical patent/CN117676256A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a video playing method, a video playing device, electronic equipment and a readable storage medium, and belongs to the technical field of videos. The method comprises the following steps: under the condition that a first input of a first object identifier corresponding to a first object in a first video is received by a user, determining at least one video segment corresponding to the first object, and displaying first information, wherein the first information comprises at least one of the following items: video clip playing content information and video clip playing sequence information; and playing at least part of the video clips in the at least one video clip according to the playing sequence corresponding to the second input under the condition that the second input of the first information by the user is received.

Description

Video playing method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of videos, and particularly relates to a video playing method, a device, electronic equipment and a readable storage medium.
Background
With the popularization of mobile internet, users have become normal to use mobile phones, tablet computers and other electronic devices to access the internet, and among many services of the mobile internet, video services become the most important services.
Currently, when a user watches videos such as a television play or a movie, a certain role in the videos can be selected through input of a 'only TA' control in a video playing interface, so that the electronic equipment filters out video clips corresponding to other roles except the role in the videos, and only plays the video clips corresponding to the selected roles.
However, the video playing mode of the method is still single, and the playing flexibility is poor.
Disclosure of Invention
An object of the embodiments of the present application is to provide a video playing method, a device, an electronic apparatus, and a readable storage medium, which can solve the problems of single video playing mode and poor playing flexibility.
In a first aspect, an embodiment of the present application provides a video playing method, where the method includes: under the condition that a first input of a first object identifier corresponding to a first object in a first video is received by a user, determining at least one video segment corresponding to the first object, and displaying first information, wherein the first information comprises at least one of the following items: video clip playing content information and video clip playing sequence information; and playing at least part of the video clips in the at least one video clip according to the playing sequence corresponding to the second input under the condition that the second input of the first information by the user is received.
In a second aspect, an embodiment of the present application provides a video playing device, where the device includes a processing module and a playing module; the processing module is used for determining at least one video segment corresponding to a first object and displaying first information under the condition that a first input of a first object identifier corresponding to the first object in the first video is received by a user, wherein the first information comprises at least one of the following items: video clip playing content information and video clip playing sequence information; and the playing module is used for playing at least part of the video clips in the at least one video clip according to the playing sequence corresponding to the second input under the condition that the second input of the first information is received by the user.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In this embodiment of the present application, a user may perform a first input on a first object identifier corresponding to a first object in a first video to determine at least one video clip corresponding to the first object, and may display video clip playing content information or video clip playing sequence information in response to the first input, and in case that a second input of the user playing content information or video clip playing sequence information is received, play at least part of the video clips in the at least one video clip according to a playing sequence corresponding to the second input, that is, the second input is used to adjust a playing sequence of the video clips. According to the scheme, after the at least one video clip corresponding to the first object is determined, the playing sequence of the at least one video clip can be adjusted through the input of the content information or the playing sequence information of the video clip by a user, and the at least one video clip is played according to the adjusted playing sequence, instead of directly playing the at least one video clip corresponding to the first object, so that the playing mode can be enriched, and the playing flexibility is improved.
Drawings
FIG. 1 is one of the flowcharts of a video playback method provided in some embodiments of the present application;
fig. 2 is a schematic diagram of an object selection control in a video playing method according to some embodiments of the present application;
fig. 3 is an interface schematic diagram of selecting a first object in a video playing method according to some embodiments of the present application;
fig. 4 is an interface schematic diagram of selecting a plurality of first objects in a video playing method according to some embodiments of the present application;
FIG. 5 is a second flowchart of a video playing method according to some embodiments of the present application;
FIG. 6 is a third flowchart of a video playing method according to some embodiments of the present application;
FIG. 7 is a schematic diagram of at least one playback content identifier in a video playback method according to some embodiments of the present application;
FIG. 8 is a fourth flowchart of a video playback method according to some embodiments of the present application;
fig. 9 is a schematic diagram of a first control in a video playing method according to some embodiments of the present application;
FIG. 10 is a fifth flowchart of a video playback method according to some embodiments of the present application;
FIG. 11 is a schematic diagram of first information displayed when at least one video clip is displayed on a split screen in a video playing method according to some embodiments of the present application;
Fig. 12 is a schematic diagram of playing video clips in two screen areas in the video playing method according to some embodiments of the present application;
FIG. 13 is a sixth flowchart of a video playback method according to some embodiments of the present application;
FIG. 14 is a seventh flowchart of a video playing method according to some embodiments of the present application;
FIG. 15 is a schematic diagram of a bullet screen message displayed in a video playing method according to some embodiments of the present application;
FIG. 16 is a schematic diagram of a video playback device provided in some embodiments of the present application;
fig. 17 is a schematic diagram of an electronic device provided in an embodiment of the present application;
fig. 18 is a hardware schematic of an electronic device provided in an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms "first," "second," and the like in the description of the present application, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. In addition, "and/or" in the specification means at least one of the connected objects, and the character "/", generally means a relationship in which the associated objects are one kind of "or".
The terms "at least one", and the like in the description of the present application refer to any one, any two, or a combination of two or more of the objects that it comprises. For example, at least one of a, b, c (item) may represent: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", wherein a, b, c may be single or plural. Similarly, the term "at least two" means two or more, and the meaning of the expression is similar to the term "at least one".
The video playing method, the video playing device, the electronic equipment and the readable storage medium provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The video playing method provided by the embodiment of the application can be applied to a scene of video selective playing.
For example, when the user views the video a, a selection input may be made for a character a in a current playing screen of the video a, and after receiving the selection input, the electronic device may determine at least one video clip corresponding to the character a and display at least one of video clip playing content information and video clip playing sequence information corresponding to the at least one video clip; the user may input the displayed information, and the electronic device may play the at least one video clip in a play order corresponding to the input after receiving the input. According to the scheme, after the at least one video clip corresponding to the role a is determined, the playing sequence of the at least one video clip can be adjusted through the input of the information corresponding to the at least one video clip displayed by the user, and the at least one video clip is played according to the adjusted playing sequence instead of directly playing the at least one video clip, so that the playing mode of the video can be enriched, and the playing flexibility is improved.
Further, the electronic device plays the at least one video clip according to the play sequence adjusted by the user, so that different time clips of the same character can be watched, time clues can be clearly cleared, understanding of the character is deepened, and the scenario is better understood.
It should be noted that, in the video playing method provided in the embodiment of the present application, the execution body may be a video playing device, an electronic device, or a functional module in the electronic device. In some embodiments of the present application, an example of a video playing method executed by an electronic device is described in the video playing method provided in the embodiments of the present application.
Fig. 1 illustrates a flowchart of a video playing method provided in some embodiments of the present application. As shown in fig. 1, the video playing method provided in the embodiment of the present application may include the following steps 101 and 102.
Step 101, under the condition that a first input of a first object identifier corresponding to a first object in a first video is received by a user, determining at least one video segment corresponding to the first object by the electronic equipment, and displaying first information.
Wherein the first information includes at least one of: video clip playing content information and video clip playing sequence information.
In some embodiments of the present application, the electronic device may be an electronic device with a folding screen, or may be any electronic device such as an electronic device with a flexible screen.
In some embodiments of the present application, the first video may be any video such as a movie video, a drama video, or a short video.
In some embodiments of the present application, the first video may be a video in a playing state, a video in a pause playing state, or the like.
In some embodiments of the present application, the first object may be any object in the first video.
For example, the first object may be any object such as a character or a scene in the first video.
In some embodiments of the present application, the first object may be an object in a play frame of the first video, or may be an object in a pause play frame of the first video.
In some embodiments of the present application, the number of the first objects may be one or more.
For example, assuming that character 1, character 2, and character 3 are included in the first video, the first object may be the character 1, or may be the character 1 and the character 2, or may be the character 1, the character 2, the character 3, or the like.
In some embodiments of the present application, the first object identifier may be any identifier that can indicate the first object, such as an image or a name of the first object.
In some embodiments of the present application, the first input is used to select an object identification in a video.
In some embodiments of the present application, the first input may be any possible form of input such as a space gesture input, a touch input, or a voice input.
For example, taking the first input as a touch input as an example, the first input may be a double-click input, a long-press input, or a special track input of the user for the first object identifier.
For another example, the first input may be a voice input, such as "select first object identifier" for the voice of the user, or "first object identifier" for the voice of the user.
Illustratively, as shown in fig. 2, during the process of playing the video 20, the electronic device displays a "see TA only" control 21 and a "see TA people" control 22, where the "see TA only" control 21 is used to select one object in the video 20, and the "see TA people" control 22 is used to select multiple objects in the video 20. When the electronic device receives a single click input of the user to the "watch only TA" control 21, as shown in fig. 3, an object selection interface 30 may be displayed, where the object selection interface 30 includes an identifier of a role a, an identifier of a role B, and an identifier of a role C, and the user may select, through input of an identifier of a certain role in the object selection interface 30, a role corresponding to the identifier, and at the same time trigger the electronic device to determine the at least one video clip corresponding to the selected role, and display the first information. When the electronic device receives a single click input of the "watch TAs" control 22 from the user, as shown in fig. 4, an object selection interface 40 may be displayed, where the object selection interface 40 includes an identifier of a character a, an identifier of a character B, and an identifier of a character C, and the user may select at least two of the characters a, B, and C by inputting the identifiers of at least two characters in the pair of object selection interfaces 40, and at the same time trigger the electronic device to determine the at least one video clip corresponding to the selected character, and display the first information.
In some embodiments of the present application, the electronic device may display the first information on the playing interface of the first video, or may display the first information in any screen area outside the playing interface, which may be specifically set according to actual use requirements, and embodiments of the present application are not limited.
It should be noted that, after determining the at least one video clip, the electronic device has an original playing sequence of the at least one video clip, and the user can adjust the playing sequence of the at least one video clip through inputting the first information.
In some embodiments of the present application, the at least one video segment corresponding to the first object may be a video segment that each includes the first object, that is, each video segment of the at least one video segment may include the first object.
In some embodiments of the present application, the first information is used to indicate a playing order of the at least one video clip.
The specific description of the first information will be described in detail in the following embodiments, and in order to avoid repetition, the description is omitted here.
A specific method for determining the at least one video clip by the electronic device is described in detail below.
In some embodiments of the present application, as shown in fig. 5 in conjunction with fig. 1, the above step 101 may be specifically implemented by the following step 101a or step 101 b.
Step 101a, under the condition that a first input of a first object identifier corresponding to a first object in a first video is received by a user, the electronic device determines at least one video segment corresponding to the first object from the first video, and displays first information.
In some embodiments of the present application, the at least one video clip may be a video clip including the first object in the first video.
In some embodiments of the present application, after determining the at least one video clip from the first video, the electronic device may determine an original playing order of the at least one video clip to be consistent with a sequence of the at least one video clip in the first video.
For example, assume that the electronic device determines, from the first video, that at least one video segment corresponding to the first object includes a video segment a, a video segment b, and a video segment c, where a playing time period corresponding to the video segment a in the first video is 05:10 to 08:30, a playing time period corresponding to the video segment b in the first video is 03:11 to 04:50, and a playing time period corresponding to the video segment c in the first video is 15:15 to 18:30; then the original play order of video clip a, video clip b, and video clip c is: video clip b, video clip a, video clip c.
Step 101b, under the condition that a first input of a first object identifier corresponding to a first object in a first video is received by a user, determining at least one video segment corresponding to the first object from at least one second video by the electronic device, and displaying first information.
Wherein the at least one second video is a video associated with the first video.
In some embodiments of the present application, the at least one second video and the first video may satisfy at least one of: having the same video content type, having the same video name, belonging to the same video set, etc.
For example, the at least one second video and the first video are each a drama video of a drama episode.
In some embodiments of the present application, the at least one video clip may be a video clip including the first object in the at least one second video.
In some embodiments of the present application, the at least one second video and the video in the first video also have a play sequence.
For example, the first video is an a-th episode of a television episode, and the at least one second video is a b-th episode, a c-th episode, a d-th episode of the television episode, and so on.
In some embodiments of the present application, after determining the at least one video clip from the at least one second video, the electronic device may determine an original playing order of the at least one video clip to be consistent with a sequence of the at least one video clip in the at least one second video.
In some embodiments of the present application, after receiving the first input, the electronic device may first display a video scope control, where the video scope control is used to select at least one video, then select the first video or the at least one second video through input of the video scope control by a user, and determine the at least one video clip from the selected video.
In some embodiments of the present application, the electronic device may determine the at least one video clip from the first video or may determine the at least one video clip from the at least one second video when the first input is received, so that flexibility of determining the at least one video clip may be improved.
Step 102, under the condition that a second input of the first information by the user is received, the electronic equipment plays at least part of the video clips according to the playing sequence corresponding to the second input.
In some embodiments of the present application, the second input is used to adjust a playing order of the at least one video clip.
In some embodiments of the present application, the second input may be any possible form of input such as a space gesture input, a touch input, or a voice input.
For example, the second input may be a click input, a drag input, or a slide input of the first information by the user.
For another example, the second input may be a voice input, such as "time-series" of the user's voice, or "reverse time-series" of the user's voice.
In some embodiments of the present application, the playing order corresponding to the second input, that is, the playing order of the at least one video clip adjusted by the second input.
In some embodiments of the present application, after receiving the second input, the electronic device may adjust the playing order of the at least one video clip to the playing order corresponding to the second input, and then play at least part of the at least one video clip according to the adjusted playing order of the at least one video clip.
In some embodiments of the present application, the first information includes the video clip playing content information, and the video clip playing content information includes: and at least one play content identifier corresponding to the at least one video clip one by one. Illustratively, in connection with fig. 1, as shown in fig. 6, the above-described step 102 may be implemented specifically by the following steps 102a and 102 b.
Step 102a, in the case that a second input of at least part of the play content identifiers from the at least one play content identifier is received by the user, the electronic device adjusts the play order of the at least one video clip to a first play order corresponding to the second input.
In some embodiments of the present application, each of the at least one play content identifier may display: and playing content information related to one video clip in the at least one video clip.
In some embodiments of the present application, the playing content information may include at least one of the following: video clip name, video clip playing time, video clip starting playing time, video clip ending playing time, etc.
In some embodiments of the present application, the display parameter of the at least one play content identifier may be any display parameter.
In some embodiments of the present application, the display parameters may include: display color, display shape, display size, display transparency, and the like.
For example, in the case of receiving the first input of the user to the identification of the character a in the first video, the electronic device determines the video clip 1, the video clip 2, and the video clip 3 corresponding to the character a, and displays the play content identification 71 corresponding to the video clip 1, the play content identification 72 corresponding to the video clip 2, and the play content identification 73 corresponding to the video clip 3 as shown in fig. 7; so that the user can trigger the electronic device to adjust the playing order of the video clip 1, the video clip 2 and the video clip 3 to the first playing order corresponding to the second input by the second input of at least part of the playing content identifications 71, the playing content identification 72 and the playing content identification 73.
Step 102b, the electronic device plays at least part of the video clips according to the first playing sequence.
In some embodiments of the present application, the electronic device may begin playing from a first video clip of the at least one video clip according to the first playing order.
In some embodiments of the present application, since the electronic device may adjust the playing order of the at least one video clip to the first playing order corresponding to the second input through the second input of the at least one playing content identifier corresponding to the at least one video clip to at least part of the playing content identifiers by the user, when adjusting the playing order of the at least one video clip, the user may conveniently obtain the relevant content information of the corresponding video clip through the playing content identifier, so as to accurately adjust the playing order required by the user.
In some embodiments of the present application, the first information includes the video clip playing order information, and the video clip playing order information includes: and the first control is used for adjusting the playing sequence of the at least one video clip. Illustratively, in connection with fig. 1, as shown in fig. 8, the above-described step 102 may be implemented specifically by the following steps 102c and 102 d.
Step 102c, under the condition that the second input of the user to the first control is received, the electronic device adjusts the playing sequence of at least one video clip to a second playing sequence corresponding to the first control.
In some embodiments of the present application, the display parameter of the first control may be any display parameter.
In some embodiments of the present application, the display parameters may include: display color, display shape, display size, display transparency, and the like.
For example, in the case of receiving the first input of the user to the character a in the first video, the electronic device determines at least one video clip corresponding to the character a, and as shown in fig. 9, displays a first control 91, where the first control 91 includes a "chronological" sub-control and a "chronological reverse" sub-control, and the play order corresponding to the "chronological" sub-control is a play order arranged in chronological order, and the play order corresponding to the "chronological reverse" sub-control is a play order arranged in chronological reverse; the user can trigger the electronic device to adjust the playing sequence of the at least one video clip to a second playing sequence corresponding to the sub-control corresponding to the second input through the second input of the 'time sequence' sub-control or the 'time reverse sequence' sub-control.
Step 102d, the electronic device plays at least part of the video clips according to the second playing sequence.
In some embodiments of the present application, the electronic device may begin playing from a first video clip in the at least one video clip according to the second playing order.
In some embodiments of the present application, the electronic device may adjust the playing order of the at least one video clip to a second playing order corresponding to the first control through the second input of the first control for adjusting the playing order of the at least one video clip by the user, so that a process of adjusting the playing order of the at least one video clip may be simplified.
In some embodiments of the present application, as shown in fig. 10 in conjunction with fig. 1, the above step 102 may be specifically implemented by the following step 102e or step 102 f.
Step 102e, in the case that the second input of the first information by the user is received, the electronic device plays at least part of the video clips in at least one screen area according to the playing sequence corresponding to the second input.
Wherein each of the at least one screen region corresponds to at least one video clip.
In some embodiments of the present application, the at least one screen area may be a screen area for split-screen display of the electronic device.
In some embodiments of the present application, the electronic device may adjust the playing order of the video clips corresponding to each screen area through the second input of the first information by the user, and then play (i.e. parallel play) the video clips corresponding to each screen area at the same time.
For example, as shown in fig. 11, in the case of receiving a long press input of the user for the identification of the character B in the first video, the electronic device may determine the video clip 1, the video clip 2, the video clip 3, and the video clip 4 corresponding to the character B, and display the first information 111; the user can trigger the electronic device to adjust the playing sequence of the video segment 1 and the video segment 2 corresponding to the screen area 1 and adjust the playing sequence of the video segment 3 and the video segment 4 corresponding to the screen area 2 through the second input of the first information 111; then, as shown in fig. 12, the electronic apparatus sequentially plays video clip 1 and video clip 2 in screen area 1 and sequentially plays video clip 3 and video clip 4 in screen area 2 in the play order corresponding to the second input.
In some embodiments of the present application, after the electronic device plays the at least one video clip in the at least one screen area, the playing node of the video clip may be adjusted by inputting a playing progress control corresponding to the video clip played in any screen area.
In some embodiments of the present application, the display size of the video clip played in each of the above-mentioned screen areas is adapted to the screen area being played.
In step 102f, when receiving the second input of the first information from the user, the electronic device plays the first video in one screen area, and plays at least part of the video clips in other screen areas according to the playing sequence corresponding to the second input.
In some embodiments of the present application, the one screen area does not overlap with the other screen area.
In some embodiments of the present application, the other screen area may be a screen area other than the one screen area of the electronic device.
In some embodiments of the present application, the other screen area may be one screen area or may be multiple screen areas.
In some embodiments of the present application, in a case where the second input of the first information by the user is received, the electronic device may play the at least one video clip in at least one screen area according to a play order corresponding to the second input; alternatively, the electronic device may play the first video in one screen area, and play the at least one video clip in other screen areas according to the play order corresponding to the second input; therefore, the video playing mode can be enriched, and the flexibility of video playing is improved.
In some embodiments of the present application, the at least one screen region includes a first screen region and a second screen region. For example, in conjunction with fig. 10, as shown in fig. 13, after the step 102e, the video playing method provided in some embodiments of the present application may further include the following step 102g.
In step 102g, if the content of the first video clip played in the first screen area matches the content of the second video clip played in the second screen area, the electronic device plays the first video clip or the second video clip in the third screen area.
The third screen area includes the first screen area and the second screen area.
In some embodiments of the present application, the first screen region and the second screen region do not overlap.
In some embodiments of the present application, the content of the first video segment is matched with the content of the second video segment, that is, the similarity between the content of the first video segment and the content of the second video segment is greater than or equal to a preset similarity; the content of the first video segment may be considered to be substantially the same as the content of the second video segment.
In some embodiments of the present application, the third screen area may be a combined screen area of the first screen area and the second screen area.
In some embodiments of the present application, in a case where the content of the first video clip matches the content of the second video clip, the electronic device may cancel playing the first video clip in the first screen area, cancel playing the second video clip in the second screen area, and play the first video clip or the second video clip in the third screen area.
For example, assuming that the electronic device plays the video segment 1 corresponding to the character a in the first video in the first screen area and plays the video segment 2 corresponding to the character B in the first video in the second screen area, if during the playing, the content of the video segment 1 matches the content of the video segment 2, the electronic device may cancel playing the video segment 1 in the first screen area and cancel playing the video segment 2 in the second screen area and continue playing the video segment 1 or the video segment 2 in the third screen area; until the character a and the character B in the video clip played in the third screen area are in different scenes again, the electronic device may cancel playing the video clip in the third screen area, play the video clip 1 in the first screen area again, and play the video clip 2 in the second screen area.
In some embodiments of the present application, when the content of the video clips played in the two screen areas matches, the electronic device may instead continue playing one of the video clips in the combined area of the two screen areas, so that the flexibility of video playing may be further improved.
In some embodiments of the present application, after the playing of the at least one video clip is finished, the electronic device may start to normally play the video corresponding to the last video clip in the at least one video clip.
In the video playing method provided by the embodiment of the application, after at least one video clip corresponding to the first object is determined, the playing sequence of the at least one video clip can be adjusted by inputting the playing content information or the playing sequence information of the video clip by a user, and the at least one video clip is played according to the adjusted playing sequence, instead of directly playing the at least one video clip corresponding to the first object, so that the playing mode of the video can be enriched, and the playing flexibility is improved.
In some embodiments of the present application, as shown in fig. 14 in conjunction with fig. 1, after the step 102, the video playing method provided in some embodiments of the present application may further include the following steps 103 to 105.
Step 103, in the case of playing at least part of the video clip and displaying the bullet screen message, the electronic device displays the second control.
The second control is used for screening bullet screen messages corresponding to the video clips which are currently played.
In some embodiments of the present application, the display parameter of the second control may be any display parameter.
It should be noted that, the barrage message refers to a comment subtitle message of the video in real time displayed by different users when watching the video on the network.
In some embodiments of the present application, the bullet screen message is a comment subtitle message for a video clip that is played.
In some embodiments of the present application, the barrage message may include a barrage message corresponding to the first object, and may further include barrage messages corresponding to other objects in the first video.
Step 104, the electronic device receives a third input of the second control from the user.
In some embodiments of the present application, the third input is used to alter a displayed barrage message.
In some embodiments of the present application, the third input may be any possible form of input such as a space gesture input, a touch input, or a voice input.
For example, taking the third input as a touch input as an example, the third input may be a single click input, a double click input, or a double click input of the second control by the user.
For another example, the third input may be a voice input such as "watch only the first object" or "display the first object" for the user's voice.
Step 105, the electronic device responds to the third input to display the barrage message corresponding to the first object, and cancel displaying barrage messages corresponding to other objects.
In some embodiments of the present application, displaying a barrage message corresponding to a first object and canceling displaying barrage messages corresponding to other objects includes: only the barrage message corresponding to the first object is displayed.
For example, as shown in fig. 15, in the case that the electronic device plays the video clip 1 corresponding to the character B in the screen area 150 and displays the bullet screen message, the bullet screen control 151 is displayed; after the electronic device receives the click input of the user on the barrage control 151, the electronic device may display the barrage message corresponding to the character B, and cancel displaying barrage messages corresponding to other characters, so that the user only views the barrage message corresponding to the character B.
In some embodiments of the present application, because the electronic device may only display the barrage message corresponding to the first object through the third input of the user to the second control, flexibility of barrage message display may be improved, so that the user may only view the barrage message corresponding to the first object.
The foregoing method embodiments, or various possible implementation manners in the method embodiments, may be executed separately, or may be executed in combination with each other on the premise that no contradiction exists, and may be specifically determined according to actual use requirements, which is not limited by the embodiments of the present application.
According to the video playing method provided by the embodiment of the application, the execution main body can be a video playing device. In the embodiment of the present application, a video playing device executes a video playing method as an example, and the video playing device provided in the embodiment of the present application is described.
As shown in fig. 16, an embodiment of the present application provides a video playing device 160, where the video playing device 160 may include a processing module 161 and a playing module 162.
The processing module 161 may be configured to determine, when a first input of a first object identifier corresponding to a first object in a first video by a user is received, at least one video segment corresponding to the first object, and display first information, where the first information includes at least one of: video clip playing content information and video clip playing sequence information. The playing module 162 may be configured to, when receiving a second input of the first information from the user, play at least a portion of the at least one video clip according to a playing order corresponding to the second input.
In some embodiments of the present application, the first information includes the video clip playing content information, and the video clip playing content information includes: and at least one play content identifier corresponding to the at least one video clip one by one. The playing module 162 may specifically be configured to: under the condition that the second input of at least part of the playing content identifiers in the at least one playing content identifier is received by a user, the playing sequence of the at least one video clip is adjusted to be a first playing sequence corresponding to the second input; and playing the at least part of video clips according to the first playing sequence.
In some embodiments of the present application, the first information includes the video clip playing order information, and the video clip playing order information includes: and the first control is used for adjusting the playing sequence of the at least one video clip. The playing module 162 may specifically be configured to: under the condition that the second input of the user to the first control is received, the playing sequence of the at least one video clip is adjusted to a second playing sequence corresponding to the first control; and playing the at least part of video clips according to the second playing sequence.
In some embodiments of the present application, the playing module 162 may specifically be configured to: playing the at least partial video clips in at least one screen area according to the playing sequence corresponding to the second input, wherein each screen area corresponds to at least one video clip; or, playing the first video in one screen area, and playing the at least part of video clips in other screen areas according to the playing sequence corresponding to the second input.
In some embodiments of the present application, the at least one screen region includes a first screen region and a second screen region. The playing module 162 may be further configured to play the first video clip or the second video clip in a third screen area after the at least one screen area plays the at least part of the video clips in a playing order corresponding to the second input, where the content of the first video clip played in the first screen area matches the content of the second video clip played in the second screen area, and the third screen area includes the first screen area and the second screen area.
In some embodiments of the present application, the processing module 161 may specifically be configured to: determining at least one video segment corresponding to the first object from the first video; or, determining at least one video clip corresponding to the first object from at least one second video, where the at least one second video is a video associated with the first video.
In some embodiments of the present application, the video playing device 160 may further include a display module and a receiving module. And the display module can be used for displaying a second control under the condition of playing at least part of the video clips and displaying the barrage messages, and the second control is used for screening barrage messages corresponding to the currently played video clips. And the receiving module can be used for receiving a third input of the second control by the user. The display module may be further configured to display a barrage message corresponding to the first object in response to the third input received by the receiving module, and cancel displaying barrage messages corresponding to other objects.
In the video playing device provided in the embodiment of the present application, after determining at least one video clip corresponding to the first object, the playing sequence of the at least one video clip may be adjusted by the user inputting the playing content information or the playing sequence information of the video clip, and the at least one video clip is played according to the adjusted playing sequence, instead of directly playing the at least one video clip corresponding to the first object, so that the manner of video playing may be enriched, and the flexibility of playing may be improved.
The video playing device in some embodiments of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
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, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The video playing device provided by the embodiment of the application can realize each process realized by the embodiment of the method, achieves the same technical effect, and is not repeated here.
As shown in fig. 17, the embodiment of the present application further provides an electronic device 1700, including a processor 1701 and a memory 1702, where the memory 1702 stores a program or an instruction that can be executed on the processor 1701, and the program or the instruction implements each step of the embodiment of the video playing method when executed by the processor 1701, and can achieve the same technical effect, so that repetition is avoided, and no redundant description is given here.
It should be noted that, the electronic device in the embodiment of the present application includes a mobile electronic device and a non-mobile electronic device.
Fig. 18 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
As shown in fig. 18, the electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 18 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in the drawings, or may combine some components, or may be arranged in different components, which will not be described in detail herein.
The processor 1010 may be configured to determine, when a first input of a first object identifier corresponding to a first object in a first video by a user is received, at least one video segment corresponding to the first object, and display first information, where the first information includes at least one of: video clip playing content information and video clip playing sequence information; and playing at least part of the video clips in the at least one video clip according to the playing sequence corresponding to the second input under the condition that the second input of the first information is received by the user.
In some embodiments of the present application, the first information includes the video clip playing content information, and the video clip playing content information includes: and at least one play content identifier corresponding to the at least one video clip one by one. The processor 1010 may be specifically configured to: under the condition that the second input of at least part of the playing content identifiers in the at least one playing content identifier is received by a user, the playing sequence of the at least one video clip is adjusted to be a first playing sequence corresponding to the second input; and playing the at least part of video clips according to the first playing sequence.
In some embodiments of the present application, the first information includes the video clip playing order information, and the video clip playing order information includes: and the first control is used for adjusting the playing sequence of the at least one video clip. The processor 1010 may be specifically configured to: under the condition that the second input of the user to the first control is received, the playing sequence of the at least one video clip is adjusted to a second playing sequence corresponding to the first control; and playing the at least part of video clips according to the second playing sequence.
In some embodiments of the present application, the processor 1010 may be specifically configured to: playing the at least partial video clips in at least one screen area according to the playing sequence corresponding to the second input, wherein each screen area corresponds to at least one video clip; or, playing the first video in one screen area, and playing the at least part of video clips in other screen areas according to the playing sequence corresponding to the second input.
In some embodiments of the present application, the at least one screen region includes a first screen region and a second screen region. The processor 1010 may be further configured to play the first video clip or the second video clip in a third screen area after the at least one screen area plays the at least part of the video clips in a play order corresponding to the second input, where the content of the first video clip played in the first screen area matches the content of the second video clip played in the second screen area, the third screen area including the first screen area and the second screen area.
In some embodiments of the present application, the processor 1010 may be specifically configured to: determining at least one video segment corresponding to the first object from the first video; or, determining at least one video clip corresponding to the first object from at least one second video, where the at least one second video is a video associated with the first video.
In some embodiments of the present application, the display unit 1006 may be configured to display, when the at least part of the video clip is played and the barrage message is displayed, a second control, where the second control is used to screen the barrage message corresponding to the currently played video clip. A user input unit 1007 may be used to receive a third input from the user to the second control. The display unit 1006 may be further configured to display a barrage message corresponding to the first object and cancel display of barrage messages corresponding to other objects in response to the third input received by the user input unit 1007.
In the electronic device provided in the embodiment of the present application, after determining at least one video clip corresponding to the first object, the playing order of the at least one video clip may be adjusted by the user inputting the playing content information or the playing order information of the video clip, and the at least one video clip is played according to the adjusted playing order, instead of directly playing the at least one video clip corresponding to the first object, so that the manner of playing video may be enriched, and the flexibility of playing may be improved.
It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
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 realizes each process of the embodiment of the video playing method, and the same technical effects can be achieved, so that repetition is avoided, and no description is repeated here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, implementing each process of the video playing method embodiment, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the embodiments of the video playing method described above, and achieve the same technical effects, and are not repeated herein.
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 phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A video playing method, the method comprising:
under the condition that a first input of a first object identifier corresponding to a first object in a first video is received by a user, determining at least one video segment corresponding to the first object, and displaying first information, wherein the first information comprises at least one of the following items: video clip playing content information and video clip playing sequence information;
and playing at least part of the video clips according to the playing sequence corresponding to the second input under the condition that the second input of the first information is received by the user.
2. The method of claim 1, wherein the first information comprises the video clip playback content information, the video clip playback content information comprising: at least one play content identifier in one-to-one correspondence with the at least one video clip;
and playing at least part of the video clips according to the playing sequence corresponding to the second input under the condition that the second input of the first information is received by the user, wherein the method comprises the following steps:
under the condition that the second input of at least part of the playing content identifiers in the at least one playing content identifiers is received by a user, the playing sequence of the at least one video clip is adjusted to be a first playing sequence corresponding to the second input;
And playing the at least part of video clips according to the first playing sequence.
3. The method of claim 1, wherein the first information comprises the video clip play order information, the video clip play order information comprising: a first control for adjusting the play order of the at least one video clip;
and playing at least part of the video clips according to the playing sequence corresponding to the second input under the condition that the second input of the first information is received by the user, wherein the method comprises the following steps:
under the condition that the second input of the user to the first control is received, the playing sequence of the at least one video clip is adjusted to a second playing sequence corresponding to the first control;
and playing the at least part of video clips according to the second playing sequence.
4. The method of claim 1, wherein playing at least a portion of the at least one video clip in a play order corresponding to the second input comprises:
playing the at least partial video clips in at least one screen area according to the playing sequence corresponding to the second input, wherein each screen area corresponds to at least one video clip;
Or,
and playing the first video in one screen area, and playing the at least part of video clips in other screen areas according to the playing sequence corresponding to the second input.
5. The method of claim 4, wherein the at least one screen region comprises a first screen region and a second screen region;
after the playing of the at least part of the video clips in the at least one screen area in the playing order corresponding to the second input, the method further comprises:
and playing the first video clip or the second video clip in a third screen area under the condition that the content of the first video clip played in the first screen area is matched with the content of the second video clip played in the second screen area, wherein the third screen area comprises the first screen area and the second screen area.
6. The method of claim 1, wherein the determining the at least one video clip to which the first object corresponds comprises:
determining at least one video clip corresponding to the first object from the first video;
or,
at least one video clip corresponding to the first object is determined from at least one second video, the at least one second video being a video associated with the first video.
7. The method according to any one of claims 1 to 6, further comprising:
displaying a second control under the condition that at least part of the video clips are played and the barrage messages are displayed, wherein the second control is used for screening barrage messages corresponding to the video clips which are currently played;
receiving a third input of a user to the second control;
and responding to the third input, displaying the barrage message corresponding to the first object, and canceling displaying barrage messages corresponding to other objects.
8. A video playing device, which is characterized by comprising a processing module and a playing module;
the processing module is configured to determine at least one video segment corresponding to a first object in a first video and display first information when a first input of a first object identifier corresponding to the first object by a user is received, where the first information includes at least one of: video clip playing content information and video clip playing sequence information;
and the playing module is used for playing at least part of the video clips according to the playing sequence corresponding to the second input under the condition that the second input of the first information by the user is received.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the video playback method of any one of claims 1-7.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the video playback method as claimed in any one of claims 1 to 7.
CN202311622872.7A 2023-11-29 2023-11-29 Video playing method and device, electronic equipment and readable storage medium Pending CN117676256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311622872.7A CN117676256A (en) 2023-11-29 2023-11-29 Video playing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311622872.7A CN117676256A (en) 2023-11-29 2023-11-29 Video playing method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117676256A true CN117676256A (en) 2024-03-08

Family

ID=90081944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311622872.7A Pending CN117676256A (en) 2023-11-29 2023-11-29 Video playing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117676256A (en)

Similar Documents

Publication Publication Date Title
CN108024079B (en) Screen recording method, device, terminal and storage medium
CN109947506B (en) Interface switching method and device and electronic equipment
CN113596555B (en) Video playing method and device and electronic equipment
CN115543137A (en) Video playing method and device
CN115086747A (en) Information processing method and device, electronic equipment and readable storage medium
CN117676256A (en) Video playing method and device, electronic equipment and readable storage medium
CN114786062A (en) Information recommendation method and device and electronic equipment
CN114286160A (en) Video playing method and device and electronic equipment
CN112399238A (en) Video playing method and device and electronic equipment
CN114390205B (en) Shooting method and device and electronic equipment
CN114928761B (en) Video sharing method and device and electronic equipment
CN117294888A (en) Video playing method and terminal
CN117651180A (en) Video playing method and device and electronic equipment
CN117499729A (en) Video interaction method, device, electronic equipment and readable storage medium
CN114125507A (en) Information processing method and device, electronic equipment and readable storage medium
CN117395460A (en) Video processing method, video processing device, electronic apparatus, and storage medium
CN117648144A (en) Image processing method, device, electronic equipment and readable storage medium
CN117369928A (en) Display control method and first electronic device
CN117406856A (en) Information display method, device, equipment and storage medium
CN117608459A (en) Screenshot method, screenshot device, screenshot equipment and screenshot medium
CN113840100A (en) Video processing method and device and electronic equipment
CN117354595A (en) Video play control method, terminal, electronic device and readable storage medium
CN116756099A (en) Display method and device
CN114745504A (en) Shooting method and electronic equipment
CN116389665A (en) Video recording method and device, electronic equipment and readable storage medium

Legal Events

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