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

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

Info

Publication number
CN117319751A
CN117319751A CN202311154697.3A CN202311154697A CN117319751A CN 117319751 A CN117319751 A CN 117319751A CN 202311154697 A CN202311154697 A CN 202311154697A CN 117319751 A CN117319751 A CN 117319751A
Authority
CN
China
Prior art keywords
video
tag
playing
barrage
keyword
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
CN202311154697.3A
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 CN202311154697.3A priority Critical patent/CN117319751A/en
Publication of CN117319751A publication Critical patent/CN117319751A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • 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)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a video playing method, a video playing device, electronic equipment and a storage medium, and belongs to the technical field of electronics. The method comprises the following steps: displaying at least one video tag, one of the at least one video tag corresponding to at least one video clip in the first video; receiving a first input to a first video tag of the at least one video tag; responding to the first input, playing a first video clip corresponding to the first video tag at double speed in the process of playing the first video, and displaying first information in a video playing interface corresponding to the first video in the process of playing the first video clip; wherein the first information is related to the content of the first video clip corresponding to the first video tag.

Description

Video playing method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a video playing method, a video playing device, electronic equipment and a storage medium.
Background
Currently, users can view video through electronic devices. In the related art, in the process of playing a video through a playing interface, if the video is played to a video clip which the user does not want to watch, the electronic device can play the video at double speed according to long-press input of the user to the playing interface, so as to achieve the purpose of quickly skipping the video clip which the user does not want to watch.
However, the above-mentioned double-speed video playing only accelerates the video playing speed, and the electronic device still needs to play the video clips that the complete user does not want to watch, so the flexibility of playing the video by the electronic device is poor.
Disclosure of Invention
The embodiment of the application aims to provide a video playing method, a video playing device, electronic equipment and a storage medium, which can improve the flexibility of playing videos of the electronic equipment.
In a first aspect, an embodiment of the present application provides a video playing method, where the video playing method includes: displaying at least one video tag, one of the at least one video tag corresponding to at least one video clip in the first video; receiving a first input to a first video tag of the at least one video tag; responding to the first input, playing a first video clip corresponding to the first video tag at double speed in the process of playing the first video, and displaying first information in a video playing interface corresponding to the first video in the process of playing the first video clip; wherein the first information is related to the content of the first video clip corresponding to the first video tag.
In a second aspect, embodiments of the present application provide a video playing device, including: the device comprises a display module, a receiving module and a processing module. And the display module is used for displaying at least one video tag, and one video tag in the at least one video tag corresponds to at least one video clip in the first video. And the receiving module is used for receiving a first input of a first video tag in the at least one video tag displayed by the display module. The processing module is used for playing the first video clip corresponding to the first video tag at double speed in the process of playing the first video in response to the first input received by the receiving module, and displaying first information in a video playing interface corresponding to the first video in the process of playing the first video clip; wherein the first information is related to the content of the first video clip corresponding to the first video tag.
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 an embodiment of the present application, the electronic device may display at least one video tag, where one video tag in the at least one video tag corresponds to at least one video clip in the first video; the electronic equipment can determine the first video clip in the first video according to the first video tag selected by the user from the at least one video tag, so that under the condition that the electronic equipment plays the first video clip, the electronic equipment can play the first video clip at double speed, and first information is displayed in a video playing interface corresponding to the first video, and the first information is related to the content of the first video clip corresponding to the first video tag. In the scheme, the electronic device can determine the first video clip related to the first video tag content in the first video which the user does not want to watch or the user focuses on according to the first video tag content selected by the user, and further, the electronic device can play the first video clip at a double speed when playing the first video clip in the first video, and display the first information in the video playing interface corresponding to the first video, so when the electronic device plays the video clip which the user does not want to watch, namely, the first video clip, the electronic device can quickly skip the video clip which the user does not want to watch, and meanwhile, the content in the quickly skipped video clip can be avoided through the first information, or when the electronic device plays the video clip which the user focuses on, namely, the first video clip, the electronic device can play the video clip which the user focuses on at a double speed slower than the original double speed, and meanwhile, the content in the video clip can be further known through the first information, so that the flexibility of playing the video of the electronic device is improved.
Drawings
Fig. 1 is one of flowcharts of a video playing method provided in an embodiment of the present application;
FIG. 2 is a second flowchart of a video playing method according to the embodiment of the present application;
FIG. 3 is a schematic diagram of a video playing interface according to an embodiment of the present application;
FIG. 4 is a third flowchart of a video playing method according to the embodiment of the present application;
FIG. 5 is a flowchart of a video playing method according to an embodiment of the present application;
FIG. 6 is a second schematic diagram of a video playing interface according to the embodiment of the present application;
fig. 7 is a schematic structural diagram of a video playing device according to an embodiment of the present application;
fig. 8 is a second schematic structural diagram of a video playing device according to the embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 10 is a second schematic diagram of a hardware structure of an electronic device according to 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 and in the claims, 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. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The terms "at least one," "at least one," and the like in the description and in the claims of the present application mean that they encompass any one, any two, or a combination of two or more of the objects. 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 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, the video playing device, the electronic equipment and the storage medium can be applied to video playing scenes.
Currently, with the development of communication technology and electronic devices, functions in the electronic devices are increasing. For example, a user may view video through an electronic device. In general, when a user plays a video clip that the user does not want to watch or is not interested in the video during the process of watching the video, the user can skip or quickly browse the video clip.
In the related art, if a user needs to quickly browse the video clip under the condition that the video is played to the video clip, the user can perform long-press input in the video playing interface, so that the electronic device can quickly browse the video clip in a form of double-speed playing.
If the user needs to skip the video clip, the user can drag and input the video progress bar in the video playing interface, so that the electronic device can directly skip the video clip. And for pre-segmented video, the user may choose to click on a segment node in the video playback interface so that the electronic device may skip the corresponding video segment through the segment node.
However, for the quick browsing of video clips, the electronic device simply accelerates the video playing speed, and the user still needs to browse the complete video clips; for the skipped video segments described above; when the electronic device skips the video clips by dragging the progress bar by the user, the video content in the skipped video clips is not necessarily not wanted to be watched or not interesting by the user, and the user directly skips the video clips and lacks continuity when watching the video.
In the embodiment of the application, the electronic device may display at least one video tag, where one video tag in the at least one video tag corresponds to at least one video clip in the first video; the electronic equipment can determine the first video clip in the first video according to the first video tag selected by the user from the at least one video tag, so that under the condition that the electronic equipment plays the first video clip, the electronic equipment can play the first video clip at double speed, and first information is displayed in a video playing interface corresponding to the first video, and the first information is related to the content of the first video clip corresponding to the first video tag. In the scheme, the electronic device can determine the first video clip related to the first video tag content in the first video which the user does not want to watch or the user focuses on according to the first video tag content selected by the user, and further, the electronic device can play the first video clip at a double speed when playing the first video clip in the first video, and display the first information in the video playing interface corresponding to the first video, so when the electronic device plays the video clip which the user does not want to watch, namely, the first video clip, the electronic device can quickly skip the video clip which the user does not want to watch, and meanwhile, the content in the quickly skipped video clip can be avoided through the first information, or when the electronic device plays the video clip which the user focuses on, namely, the first video clip, the electronic device can play the video clip which the user focuses on at a double speed slower than the original double speed, and meanwhile, the content in the video clip can be further known through the first information, so that the flexibility of playing the video of the electronic device is improved.
The main execution body of the video playing method provided in the embodiment of the present application may be a video playing device, and the video playing device may be an electronic device or a functional module in the electronic device. The technical solution provided in the embodiments of the present application will be described below by taking an electronic device as an example.
The embodiment of the application provides a video playing method, and fig. 1 shows a flowchart of the video playing method provided by the embodiment of the application. As shown in fig. 1, the video playing method provided in the embodiment of the present application may include the following steps 201 to 203.
Step 201, the electronic device displays at least one video tag.
In this embodiment of the present application, each of the at least one video tag corresponds to at least one video clip in the first video.
Optionally, in an embodiment of the present application, the at least one video tag may include at least one of a text tag, a number tag, a special symbol tag, and an english tag.
Illustratively, taking text as an example, the at least one video tag may include at least one of the following: horror tags, multi-character tags, corner tags, open bone tags, and the like. Which may be determined from the video content of the first video.
Optionally, in an embodiment of the present application, the electronic device may display the at least one video tag in a video browsing interface.
In an exemplary case where the electronic device displays the video browsing interface, the video browsing interface includes at least one video identifier, and the user may perform long-press input on a first video identifier in the at least one video identifier, so that the electronic device may obtain the at least one video tag according to video content of a first video corresponding to the first video identifier, and display the at least one video tag around the first video identifier.
Optionally, in an embodiment of the present application, the electronic device may display the at least one video tag in a blank area around the first video identifier.
For example, the electronic device may display the at least one video tag in an annotated form in a blank area surrounding the first video identification; alternatively, the electronic device may display the at least one video tag around the first video identification through a pop-up window.
For example, the electronic device may record location information of the first video identifier on a screen of the electronic device, and thus, after obtaining the at least one video tag, the electronic device may display the at least one video tag around the first video identifier according to the location information.
Optionally, in an embodiment of the present application, the electronic device may display the at least one video tag in a video playing interface of the first video.
For example, during the process that the electronic device is playing the first video, the user may make a long-press input in the video playing interface, so that the electronic device may pause playing the first video, obtain the at least one video tag according to the video content of the first video, and display the at least one video tag in the video playing interface.
Optionally, in the embodiment of the present application, the electronic device may display the at least one video tag at an arbitrary blank position in the video playing interface.
For example, the electronic device may display at least one video tag in the form of a bullet screen in the video playback interface; or displaying at least one video label in the video playing interface in the form of a bullet screen through a bullet window.
It should be noted that, in the case that the electronic device may display at least one video tag in the video playing interface in the form of a bullet screen, the electronic device may display at least one video tag in the bullet screen in the first display manner, so that the user may distinguish the at least one video tag from the bullet screen.
Illustratively, the first display manner may include at least one of: large fonts, artistic words, updating font colors, adding borders, thickening, and the like. Specifically, the method can be determined according to actual use conditions, and the embodiment of the application is not limited.
Optionally, in an embodiment of the present application, the at least one video tag may be obtained by the electronic device through video content in the first video; or preset for the electronic device.
Optionally, in the embodiment of the present application, the electronic device may obtain the at least one video tag through a first algorithm based on video content of the first video.
For example, the electronic device may acquire video feature information of each video frame in the first video, and then input the video feature information into the first algorithm to obtain at least one video tag through the first algorithm.
Illustratively, the first algorithm may be an artificial intelligence (Artificial Intelligence, AI) algorithm; or alternatively, a neural network algorithm.
Illustratively, the video characteristic information may include at least one of: image features, audio features, and text features.
The text features may include, for example, subtitle text features in each frame of video frames and bullet screen text features corresponding to each frame of video frames.
Optionally, in the embodiment of the present application, the electronic device may obtain at least one video clip based on the video content of the first video, and obtain at least one video tag, where each video clip in the at least one video clip corresponds to one video tag in the at least one video tag.
For example, the electronic device may divide the first video to obtain at least one video clip; for each video clip in at least one video clip, the electronic device may obtain a video tag corresponding to each video clip based on the first algorithm and video feature information corresponding to each frame of video frame in each video clip; and respectively establishing an association relationship between each video tag and at least one video clip corresponding to each video tag, so that the electronic equipment can determine the video clip in the first video based on the video tag.
Optionally, in the embodiment of the present application, the electronic device may upload an association relationship between each video tag in the at least one video tag and each video clip in the at least one video clip to the cloud server.
Step 202, the electronic device receives a first input to a first video tag of the at least one video tag.
In this embodiment of the present application, the first input is used to determine a first video tag.
In this embodiment of the present application, the first video tag is one or more video tags in the at least one video tag.
Optionally, in this embodiment of the present application, the first input may be a click input, a long press input, a preset track input, or a slide input of a user on a first video tag in the at least one video tag. Specifically, the method can be determined according to actual use conditions, and the embodiment of the application is not limited.
Alternatively, in the embodiment of the present application, the first video clip may be one or more.
In an embodiment of the present application, each of the at least one video tag is used to indicate a video skip condition.
It can be understood that, after the electronic device receives the first input to the first video tag, the electronic device can play the first video clip corresponding to the first video tag at double speed in the process of playing the first video clip to the first video; or the electronic device displays a first control in the process of playing the first video clip of the first video, wherein the first control is used for skipping the first video clip.
For example, assuming that the video tag is horror, when the electronic device plays the video clip corresponding to the horror tag, the electronic device may play or skip the video clip at double speed.
Optionally, in the embodiment of the present application, after determining the first video tag, the electronic device may determine the first video segment corresponding to the first video tag based on the association relationship.
For example, the electronic device may obtain the above-mentioned association relationship from the cloud server.
Optionally, in the embodiment of the present application, after receiving the first input to the first video tag in the at least one video tag, the electronic device may obtain the first video clip corresponding to the first video tag through the video content of the first video.
For example, after determining the first video tag, the electronic device may determine a first video frame corresponding to the first video tag from the first video based on the first algorithm and the video feature information.
It should be noted that, the specific process may be described in detail in the above embodiments, and in order to avoid repetition, the description is omitted here.
Step 203, the electronic device responds to the first input, in the process of playing the first video, plays the first video clip corresponding to the first video tag at double speed, and in the process of playing the first video clip, displays the first information in the video playing interface corresponding to the first video.
In this embodiment of the present application, the first information is related to content of a first video clip corresponding to a first video tag.
Optionally, in an embodiment of the present application, the first information includes at least one of: the system comprises a first text, a first keyword and a first audio corresponding to the first text.
In this embodiment of the present application, the first text is a summary text of video content corresponding to a first video clip; the first keyword is associated with bullet screen content of a bullet screen in the first video clip.
Optionally, in the embodiment of the present application, the electronic device may play the first video clip corresponding to the first video tag at the multiple speed according to the first play rate.
The first playing magnification may be determined by the electronic device, or preset by a user.
Illustratively, the above-described play rate may be at least one of the following for the electronic device: the number of words in the first text and the duration of the first audio.
Optionally, in the embodiment of the present application, after determining the first video segment, the electronic device may obtain, by using a text extraction algorithm, a first text corresponding to the first video segment.
After obtaining the text corresponding to the first video segment through the above-mentioned text extraction algorithm, the electronic device may perform text filtering on the text corresponding to the first video segment according to the tag content corresponding to the first video tag, so as to obtain a summarized text corresponding to the first video segment, that is, the above-mentioned first text.
Optionally, in the embodiment of the present application, after the electronic device obtains the first text, the electronic device may convert the first text into the first audio through an audio conversion algorithm.
For example, after obtaining the first text, the electronic device may store the first text in the first text neural network model to obtain a first audio corresponding to the first text.
Optionally, in the embodiment of the present application, the electronic device may obtain the first keyword through barrage content of a barrage corresponding to the first video clip.
Optionally, in the embodiment of the present application, in the process of playing the first video clip, displaying the first information in the video playing interface corresponding to the first video is: during the process of playing the first video clip, the electronic device may overlay the first information on the first video clip.
Illustratively, the electronic device may overlay the first information on the first video segment may be: the electronic equipment completely covers the first video clip with the first information; or to overlay the first information portion with the first video segment.
Optionally, in the embodiment of the present application, in a case where the electronic device partially covers the first information on the first video segment, the electronic device may blur the first video segment to avoid the user from viewing video content that the user does not want to view.
Optionally, in the embodiment of the present application, in the process of playing the first video clip, displaying the first information in the video playing interface corresponding to the first video is: the electronic device may display the first information in a different display area in the video playback interface.
Optionally, in the embodiment of the present application, in a case where the first video is played to the first video clip, the electronic device may determine display brightness of the first text and the first keyword based on the first video clip.
For example, the electronic device may obtain a pixel luminance value of each frame of video frame in the first video segment, calculate an average luminance value of the first video segment, and determine display luminance of the first text and the first keyword as the average luminance value.
For example, the electronic device may obtain a pixel luminance value of each frame of video frame in the first video clip, obtain a highest pixel luminance value from the pixel luminance value of each frame of video frame, and set the highest pixel luminance value as the display luminance of the first text and the first keyword.
Optionally, in this embodiment of the present application, the first information includes a first keyword and a first text, where the first text is text related to subtitle content corresponding to the first video segment.
As shown in fig. 2, in the foregoing step 203, the displaying of the first information in the video playing interface corresponding to the first video during the playing of the first video clip may be specifically implemented by the following step 203 a.
In step 203a, during the process of playing the first video clip, the electronic device displays the first keyword in the video playing interface, and displays the first text.
In this embodiment of the present application, the first keyword is related to a barrage content of a barrage in the first video clip, and a display size of the first keyword is different from a display size of the first text.
Optionally, in the embodiment of the present application, the font color corresponding to the first keyword and the first text is different, so that the electronic device may distinguish the first keyword and the first text through the font color.
Optionally, in the embodiment of the present application, a display size of the first keyword may be greater than a display size of the first text; the display size of the first keyword may be smaller than the display size of the first text.
Alternatively, in the embodiment of the present application, the electronic device may overlay and display the first keyword on the first video segment, and overlay and display the first text on the first keyword.
For example, the electronic device may display the first keyword centrally in the first video segment and display the first text centrally in a display area corresponding to the first keyword.
For example, as shown in fig. 3, in the case where the first video is played to the above-mentioned first video image, the electronic device may display a first area 11 in the video playing interface 10, where the first area 11 includes a first keyword, and the content of the first keyword is "high-energy early warning", and superimpose and display a second area 12 on the first area 11, where the second area includes a first text, and the content of the first text may be "XXX".
Optionally, in the embodiment of the present application, in a process of playing the first video segment, the electronic device displays the first keyword on the first video segment, and superimposes and displays the first text on the first keyword, and at the same time, the electronic device may play the first audio according to the play rate, and cancel playing the original audio of the first audio segment.
Optionally, in the embodiment of the present application, before the electronic device displays the first keyword, the electronic device may determine a font color of the first keyword according to a background color of the first video segment.
For example, assuming that the background color of the first video clip determined by the electronic device is black, the font color of the first keyword may be a color opposite to black, i.e., white.
Alternatively, in the embodiment of the present application, the font colors of the first keyword and the first text may be the same or different.
Preferably, in the embodiment of the present application, the font colors of the first keyword and the first text are different.
In the embodiment of the application, the electronic device may prompt the user that the first video clip is a video clip which the user does not want to watch or is not interested in by displaying the first keyword on the first video clip, and the first text is displayed on the first keyword in a superimposed manner, so that the user can be prevented from lacking in continuity when watching the video.
Alternatively, in the embodiment of the present application, the above step 203a may be specifically implemented by the following step 203a 1.
Step 203a1, the electronic device displays a first video clip in a first display area in the video playing interface, displays a first keyword in a second display area in the video playing interface, and displays a first text in a third display area in the video playing interface.
Optionally, in the embodiment of the present application, the first display area, the second display area, and the third display area may be different display areas in the video playing interface; or the first display area, the second display area and the third display area may be the same display area in the video playing interface, where the display size of the first display area is larger than the display size of the second display area and larger than the display size of the third display area.
For example, in the case where the first display area, the second display area, and the third display area may be different display areas in the video playing interface, the electronic device may display the first display area on the left side of the video playing interface, where the first audio clip is displayed; displaying a second display area on the upper half part of the right side of the video playing interface, wherein the second display area displays a first keyword; a third display area in which the first text is displayed in a lower half of the right side of the video playback interface.
It should be noted that, in the case that the first display area, the second display area, and the third display area may be the same display area in the video playing interface, the above embodiments may be described in detail, and in order to avoid repetition, the description is omitted here.
In the video playing method provided by the embodiment of the application, the electronic device may display at least one video tag, where one video tag in the at least one video tag corresponds to at least one video clip in the first video; the electronic equipment can determine the first video clip in the first video according to the first video tag selected by the user from the at least one video tag, so that under the condition that the electronic equipment plays the first video clip, the electronic equipment can play the first video clip at double speed, and first information is displayed in a video playing interface corresponding to the first video, and the first information is related to the content of the first video clip corresponding to the first video tag. In the scheme, the electronic device can determine the first video clip related to the first video tag content in the first video which the user does not want to watch or the user focuses on according to the first video tag content selected by the user, and further, the electronic device can play the first video clip at a double speed when playing the first video clip in the first video, and display the first information in the video playing interface corresponding to the first video, so when the electronic device plays the video clip which the user does not want to watch, namely, the first video clip, the electronic device can quickly skip the video clip which the user does not want to watch, and meanwhile, the content in the quickly skipped video clip can be avoided through the first information, or when the electronic device plays the video clip which the user focuses on, namely, the first video clip, the electronic device can play the video clip which the user focuses on at a double speed slower than the original double speed, and meanwhile, the content in the video clip can be further known through the first information, so that the flexibility of playing the video of the electronic device is improved.
Optionally, in an embodiment of the present application, the first information includes a first keyword.
Illustratively, before the first information is displayed in the video playing interface corresponding to the first video during the process of playing the first video clip in the above step 203, the video playing method provided in the embodiment of the present application further includes the following steps 301 to 304.
Step 301, the electronic device calculates a first value and a second value corresponding to each of at least one bullet screen based on bullet screen content of the at least one bullet screen corresponding to the first video clip and the first text.
In this embodiment of the present invention, a first value corresponding to any one of the at least one bullet screen is used to represent similarity between bullet screen content of the any one bullet screen and the first text, and a second value corresponding to the any one bullet screen is used to represent correlation between bullet screen content of the any one bullet screen and the first text.
The electronic device may obtain a first value corresponding to each barrage through cross entropy loss values, and obtain a second value corresponding to each barrage through a neural network algorithm.
Step 302, the electronic device calculates a third value corresponding to each bullet screen based on the bullet screen content of each bullet screen and the tag content corresponding to the first video tag.
In this embodiment of the present application, the third value corresponding to any one of the bullet screens is used to characterize a correlation between bullet screen content of any one of the bullet screens and the first video tag.
The electronic device may obtain the third value corresponding to each barrage through a neural network algorithm.
Step 303, the electronic device obtains a fourth value corresponding to each barrage based on the first value, the second value and the third value corresponding to each barrage.
In this embodiment of the present application, the fourth value corresponding to any one of the above-mentioned barrages is used to characterize a matching degree between any one of the barrages and the first video tag.
Illustratively, after obtaining the first, second, and third values for each bullet screen, the electronic device may follow 6: the weight of 4 gives the fourth value described above.
The fourth value may be obtained by adding 60% + 40% of the third value to the first value.
And 304, determining the first keyword based on the bullet screen content of the bullet screen with the highest matching degree.
In this embodiment of the present application, after the electronic device obtains the fourth value corresponding to each barrage, the electronic device may sort the fourth value corresponding to each barrage from high to low, so that the barrage with the highest score is used as the first keyword.
Optionally, in the embodiment of the present application, in a case where the content of the barrage with the highest matching degree exceeds the preset number of words, the electronic device may determine the content of the barrage with the highest matching degree in the remaining barrages to the first keyword.
If the highest score barrage is a word with 2-4 characters, the first keyword is directly determined, if not, whether the word is smaller than 10 characters is checked, if so, the first keyword can be recorded, otherwise, the barrage meeting the condition is used according to the score row and is used as the first keyword, if not, the barrage with the highest score is segmented, a fourth value of each word after segmentation is calculated, and then the electronic equipment can use the word with the highest score as the first keyword.
Optionally, in the embodiment of the present application, after determining the barrage content of the barrage with the highest matching degree, the electronic device may use a font shape of the barrage content as a font shape of the first keyword, fill at least one barrage corresponding to the first video segment into the font shape, so as to obtain the first keyword, and display the first keyword in an overlapping manner on the first video segment.
Optionally, in the embodiment of the present application, the electronic device may display, in the font shape, a corresponding display size according to the fourth value corresponding to each bullet screen, where the font shape is according to the ranking of the fourth values.
Illustratively, the higher the score, the larger the font displayed in the font shape, the lower the score, the smaller the font displayed in the font shape, the more 10-ranked shots are continuously displayed in the font shape, the lower-ranked shots are only displayed for 1 second, and the other shots are displayed in place after one second.
In the embodiment of the application, the electronic device can calculate the correlation and the similarity between each bullet screen and the first text and the similarity between the tag content corresponding to each bullet screen and the first video tag, so that the matching degree between the tag content corresponding to each bullet screen and the first video tag is obtained, the electronic device can determine the bullet screen with the highest matching degree as the first keyword, so that the highest matching degree between the first keyword and the first video tag is ensured while the correlation between the first keyword and the video content is ensured, and the flexibility of the electronic device for acquiring the first keyword is improved.
Optionally, in the embodiment of the present application, as shown in fig. 4 in conjunction with fig. 2, before step 203a, the video playing method provided in the embodiment of the present application further includes the following step 401 or step 402.
In step 401, when the first video is displayed on the horizontal screen, the electronic device determines that the display size of the first keyword is the first size.
In this embodiment of the present application, after the electronic device determines the first keyword, in a case where the electronic device displays the first video on the horizontal screen, the electronic device may equally scale up the length of the first keyword to be equal to the video frame width according to the frame width of the first video under the horizontal screen, and centrally display the first keyword in the first video segment.
Step 402, in the case of displaying the first video on the vertical screen, the electronic device determines that the display size of the first keyword is the second size.
In this embodiment of the present application, the first dimension is greater than the second dimension.
In this embodiment of the present application, after the electronic device determines the first keyword, in a case where the electronic device displays the first video on the vertical screen, the electronic device may equally scale the length of the first keyword to be equal to the video frame width according to the frame width of the first video on the vertical screen, and centrally display the first keyword in the first video segment.
In the embodiment of the application, the electronic device can determine different display sizes of the first keywords according to different display states of the first video, so that flexibility of displaying the first keywords by the electronic device is improved.
Optionally, in the embodiment of the present application, as shown in fig. 5 in conjunction with fig. 1, after step 202, the video playing method provided in the embodiment of the present application further includes the following steps 501 to 503.
In step 501, in the process of playing the first video, the electronic device responds to the first input to display a first control in a video playing interface of the first video.
In this embodiment of the present application, the first control is configured to skip the first video clip.
Optionally, in the embodiment of the present application, the electronic device may display the first control on an arbitrary blank area in the video playing interface.
Optionally, in the embodiment of the present application, the electronic device may display the first control on the basis of displaying the first information in the first video clip in a superimposed manner.
Step 502, the electronic device receives a second input to the first control.
Optionally, in this embodiment of the present application, the second input may be a click input, a long press input, a sliding input, or a preset track input of the first control by the user. Specifically, the method can be determined according to actual use conditions, and the embodiment of the application is not limited.
Step 503, the electronic device skips the first video clip in response to the second input.
Alternatively, in the embodiment of the present application, in the case where the first video clip is one, the electronic device may skip the first video clip based on the second input.
For example, as shown in fig. 6, in the case where the first video is played to the first video clip, the electronic device may display a first area 11 in the video playing interface 10, where the first area 11 includes a first keyword, the content of the first keyword is "high-energy early warning", and a second area 12 is displayed on the first area 11 in an overlapping manner, where the content of the first text may be "XXX", and then the electronic device may display a first control 13 on the right side in the video playing interface 10, and the user may click input the first control 13 so that the electronic device may skip the first video clip.
Optionally, in the embodiment of the present application, in a case where the first video segment is multiple, the second input may include a first sub-input and a second sub-input, so that the electronic device may skip multiple first video segments according to the first sub-input and the second sub-input.
In an exemplary embodiment, when the electronic device displays the first control in the video playing interface, the user may press the first control, that is, the first sub-input, for a long time, so that the electronic device may display prompt information, where the prompt information is used to prompt the user whether to skip all the filtering segments, if the user clicks yes, that is, the second sub-input, all the first video segments are deleted from the first video, and sequentially connected with the subsequent normal segments, and if the user clicks no, that is, the second sub-input, only the current video segment is skipped.
It should be noted that, in the specific implementation manners of step 203a and steps 501 to 503, the electronic devices may be executed alone or in combination with each other, and may be specifically determined according to actual use requirements, which is not limited in the embodiments of the present application.
According to the embodiment of the application, the electronic device can display the first control in the video playing interface, and skip the first video clip according to the input of the user to the first control, so that the flexibility of the electronic device for skipping the first video clip is improved.
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, or an electronic device, or may also be a functional module or entity in the electronic 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.
Fig. 7 shows a schematic diagram of a possible structure of a video playing device according to an embodiment of the present application. As shown in fig. 7, the video playing device 70 may include: a display module 71, a receiving module 72 and a processing module 73.
Wherein, the display module 71 is configured to display at least one video tag, where one video tag in the at least one video tag corresponds to at least one video clip in the first video. A receiving module 72 for receiving a first input to a first video tag of the at least one video tag displayed by the display module 71. The processing module is configured to, in response to the first input received by the receiving module 72, play a first video segment corresponding to the first video tag at a double speed during the playing of the first video, and display first information in a video playing interface corresponding to the first video during the playing of the first video segment; wherein the first information is related to the content of the first video clip corresponding to the first video tag.
In one possible implementation manner, the first information includes a first keyword and a first text, where the first text is text related to subtitle content corresponding to the first video segment; the processing module 73 is specifically configured to display a first keyword and a first text in a video playing interface during a process of playing a first video clip; the first keyword is related to barrage content of barrages in the first video clip, and the display size of the first keyword is different from the display size of the first text.
In one possible implementation manner, the processing module 73 is specifically configured to display a first video clip in a first display area in the video playing interface, display a first keyword in a second display area in the video playing interface, and display a first text in a third display area in the video playing interface.
In one possible implementation, in conjunction with fig. 1, as shown in fig. 8, the video playing device further includes a determining module 74; the determining module 74 is configured to determine, when the first video is displayed on the horizontal screen, that the display size of the first keyword is a first size before the processing module 73 displays the first information on the video playing interface corresponding to the first video; under the condition that the first video is displayed on the vertical screen, determining the display size of the first keyword as a second size; wherein the first dimension is greater than the second dimension.
In one possible implementation manner, the first information includes the first keyword; the processing module 73 is further configured to calculate, before displaying the first information in the video playing interface corresponding to the first video, a first value and a second value corresponding to each of the at least one barrage based on the barrage content and the first text of the at least one barrage corresponding to the first video, where the first value corresponding to any one of the at least one barrage is used to represent similarity between the barrage content and the first text of any one barrage, and the second value corresponding to any one barrage is used to represent correlation between the barrage content and the first text of any one barrage; calculating a third value corresponding to each barrage based on the barrage content of each barrage and the label content corresponding to the first video label, wherein the third value corresponding to any barrage is used for representing the correlation between the barrage content of any barrage and the first video label; based on the first value, the second value and the third value corresponding to each barrage, obtaining a fourth value corresponding to each barrage, wherein the fourth value corresponding to any barrage is used for representing the matching degree between any barrage and the first video tag; and determining the first keyword based on the barrage content of the barrage with the highest matching degree.
In one possible implementation, the display module 71 is further configured to, after the receiving module 72 receives the first input to the first video tag of the at least one video tag, display, in response to the first input, a first control in a video playing interface of the first video during playing of the first video. The receiving module 72 is further configured to receive a second input to the first control. The processing module is further configured to skip the first video segment in response to the second input received by the receiving module 72.
The embodiment of the application provides a video playing device, wherein the video playing device can display at least one video tag, and one video tag in the at least one video tag corresponds to at least one video clip in a first video; the electronic equipment can determine the first video clip in the first video according to the first video tag selected by the user from the at least one video tag, so that under the condition that the electronic equipment plays the first video clip, the electronic equipment can play the first video clip at double speed, and first information is displayed in a video playing interface corresponding to the first video, and the first information is related to the content of the first video clip corresponding to the first video tag. In the scheme, the electronic device can determine the first video clip related to the first video tag content in the first video which the user does not want to watch or the user focuses on according to the first video tag content selected by the user, and further, the electronic device can play the first video clip at a double speed when playing the first video clip in the first video, and display the first information in the video playing interface corresponding to the first video, so when the electronic device plays the video clip which the user does not want to watch, namely, the first video clip, the electronic device can quickly skip the video clip which the user does not want to watch, and meanwhile, the content in the quickly skipped video clip can be avoided through the first information, or when the electronic device plays the video clip which the user focuses on, namely, the first video clip, the electronic device can play the video clip which the user focuses on at a double speed slower than the original double speed, and meanwhile, the content in the video clip can be further known through the first information, so that the flexibility of playing the video of the electronic device is improved.
The video playing device in the embodiment of the application may be an electronic device, or may be a component in an electronic device, for example, 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 mobile electronic device may be a mobile phone, tablet, notebook, palmtop, 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 are not specifically limited in the embodiments of the present application.
The video playing device provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 9, the embodiment of the present application further provides an electronic device 90, including a processor 91 and a memory 92, where a program or an instruction capable of running on the processor 91 is stored in the memory 92, and the program or the instruction when executed by the processor 91 implements each step of the embodiment of the video playing method, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the display unit 106 is configured to display at least one video tag, where one video tag in the at least one video tag corresponds to at least one video clip in the first video. A user input unit 107. For receiving a first input to a first video tag of the at least one video tag. The processor 110 is configured to respond to the first input, play a first video segment corresponding to the first video tag at a double speed during a process of playing the first video, and display first information in a video playing interface corresponding to the first video during a process of playing the first video segment; wherein the first information is related to the content of the first video clip corresponding to the first video tag.
The embodiment of the application provides electronic equipment, wherein the electronic equipment can display at least one video tag, and one video tag in the at least one video tag corresponds to at least one video clip in a first video; the electronic equipment can determine the first video clip in the first video according to the first video tag selected by the user from the at least one video tag, so that under the condition that the electronic equipment plays the first video clip, the electronic equipment can play the first video clip at double speed, and first information is displayed in a video playing interface corresponding to the first video, and the first information is related to the content of the first video clip corresponding to the first video tag. In the scheme, the electronic device can determine the first video clip related to the first video tag content in the first video which the user does not want to watch or the user focuses on according to the first video tag content selected by the user, and further, the electronic device can play the first video clip at a double speed when playing the first video clip in the first video, and display the first information in the video playing interface corresponding to the first video, so when the electronic device plays the video clip which the user does not want to watch, namely, the first video clip, the electronic device can quickly skip the video clip which the user does not want to watch, and meanwhile, the content in the quickly skipped video clip can be avoided through the first information, or when the electronic device plays the video clip which the user focuses on, namely, the first video clip, the electronic device can play the video clip which the user focuses on at a double speed slower than the original double speed, and meanwhile, the content in the video clip can be further known through the first information, so that the flexibility of playing the video of the electronic device is improved.
Optionally, in this embodiment of the present application, the first information includes a first keyword and a first text, where the first text is text related to subtitle content corresponding to a first video segment; the display unit 106 is specifically configured to display a first keyword and a first text in a video playing interface during a process of playing a first video clip; wherein the first keyword is related to the barrage content of the barrage in the first video clip, and the display size of the first keyword is different from the display size of the first text.
Optionally, in the embodiment of the present application, the processor 110 is specifically configured to display a first video clip in a first display area in the video playing interface, display a first keyword in a second display area in the video playing interface, and display a first text in a third display area in the video playing interface.
Optionally, in this embodiment of the present application, the processor 110 is further configured to determine, before displaying the first information in the video playing interface corresponding to the first video, that a display size of the first keyword is a first size in a case that the first video is displayed on the horizontal screen; under the condition that the first video is displayed on the vertical screen, determining the display size of the first keyword as a second size; wherein the first dimension is greater than the second dimension.
Optionally, in an embodiment of the present application, the first information includes a first keyword; the processor 110 is further configured to calculate, before displaying the first information in the video playing interface corresponding to the first video, a first value and a second value corresponding to each of the at least one barrage based on the barrage content and the first text of the at least one barrage corresponding to the first video, where the first value corresponding to any one of the at least one barrage is used to represent similarity between the barrage content and the first text of any one barrage, and the second value corresponding to any one barrage is used to represent correlation between the barrage content and the first text of any one barrage; calculating a third value corresponding to each barrage based on the barrage content of each barrage and the label content corresponding to the first video label, wherein the third value corresponding to any barrage is used for representing the correlation between the barrage content of any barrage and the first video label; based on the first value, the second value and the third value corresponding to each barrage, obtaining a fourth value corresponding to each barrage, wherein the fourth value corresponding to any barrage is used for representing the matching degree between any barrage and the first video tag; and determining the first keyword based on the barrage content of the barrage with the highest matching degree.
Optionally, in this embodiment of the present application, after receiving the first input to the first video tag in the at least one video tag, the display unit 106 is further configured to, in response to the first input, display the first control in a video playing interface of the first video in a process of playing the first video. The user input unit 107 is further configured to receive a second input to the first control. The processor 110 is further configured to skip the first video segment in response to the second input.
The electronic device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 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.
Memory 109 may be used to store software programs as well as various data. The memory 109 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 109 may include volatile memory or nonvolatile memory, or the memory x09 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 109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., 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 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implement each process of the embodiment of the method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given 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, and the processor is used for running a program or an instruction, implementing each process of the above method embodiment, and achieving the same technical effect, so as to avoid repetition, and not repeated here.
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 (14)

1. A video playing method, the method comprising:
displaying at least one video tag, one of which corresponds to at least one video clip in a first video;
receiving a first input to a first video tag of the at least one video tag;
responding to the first input, playing a first video clip corresponding to the first video tag at double speed in the process of playing the first video, and displaying first information in a video playing interface corresponding to the first video in the process of playing the first video clip;
wherein the first information is related to the content of a first video clip corresponding to the first video tag.
2. The method of claim 1, wherein the first information includes a first keyword and a first text, the first text being text related to subtitle content corresponding to the first video segment;
in the process of playing the first video clip, displaying first information in a video playing interface corresponding to the first video clip includes:
displaying a first keyword in the video playing interface and displaying the first text in the process of playing the first video clip;
Wherein the first keyword is related to the barrage content of the barrage in the first video clip, and the display size of the first keyword is different from the display size of the first text.
3. The method of claim 2, wherein displaying a first keyword and displaying the first text in the video playback interface during playback of the first video clip comprises:
and displaying the first video clip in a first display area in the video playing interface, displaying the first keyword in a second display area in the video playing interface, and displaying the first text in a third display area in the video playing interface.
4. The method according to claim 1 or 2, wherein before displaying the first information in the video playing interface corresponding to the first video, the method further comprises:
under the condition that the first video is displayed on a transverse screen, determining the display size of the first keyword as a first size;
under the condition that the first video is displayed on a vertical screen, determining the display size of the first keyword as a second size;
Wherein the first dimension is greater than the second dimension.
5. The method of any one of claims 2 to 4, wherein the first information includes the first keyword;
before the first information is displayed in the video playing interface corresponding to the first video in the process of playing the first video clip, the method further comprises:
calculating a first value and a second value corresponding to each bullet screen in the at least one bullet screen based on bullet screen content and the first text of at least one bullet screen corresponding to the first video clip, wherein the first value corresponding to any bullet screen in the at least one bullet screen is used for representing similarity between bullet screen content and the first text of any bullet screen, and the second value corresponding to any bullet screen is used for representing correlation between bullet screen content and the first text of any bullet screen;
calculating a third value corresponding to each bullet screen based on the bullet screen content of each bullet screen and the tag content corresponding to the first video tag, wherein the third value corresponding to any bullet screen is used for representing the correlation between the bullet screen content of any bullet screen and the first video tag;
Based on the first value, the second value and the third value corresponding to each barrage, obtaining a fourth value corresponding to each barrage, wherein the fourth value corresponding to any barrage is used for representing the matching degree between any barrage and the first video tag;
and determining the first keyword based on the barrage content of the barrage with the highest matching degree.
6. The method of claim 1, wherein after the receiving the first input to the first one of the at least one video tag, the method further comprises:
in the process of playing the first video, responding to the first input, and displaying a first control in a video playing interface of the first video;
receiving a second input to the first control;
in response to the second input, skipping the first video segment.
7. A video playback device, the device comprising: the device comprises a display module, a receiving module and a processing module;
the display module is used for displaying at least one video tag, and one video tag corresponds to at least one video clip in the first video;
the receiving module is used for receiving a first input of a first video tag in the at least one video tag displayed by the display module;
The processing module is used for responding to the first input received by the receiving module, playing a first video clip corresponding to the first video tag at double speed in the process of playing the first video, and displaying first information in a video playing interface corresponding to the first video in the process of playing the first video clip;
wherein the first information is related to the content of a first video clip corresponding to the first video tag.
8. The apparatus of claim 7, wherein the first information includes a first keyword and a first text, the first text being text related to subtitle content corresponding to the first video segment;
the processing module is specifically configured to display the first keyword and the first text in the video playing interface during the process of playing the first video clip;
wherein the first keyword is related to the barrage content of the barrage in the first video clip, and the display size of the first keyword is different from the display size of the first text.
9. The apparatus according to claim 8, wherein the processing module is specifically configured to display the first video clip in a first display area in the video playback interface, display the first keyword in a second display area in the video playback interface, and display the first text in a third display area in the video playback interface.
10. The apparatus according to claim 7 or 8, wherein the video playing apparatus further includes a determining module, configured to determine, by the processing module, that a display size of the first keyword is a first size in a case where the first video is displayed on a horizontal screen before the first information is displayed in a video playing interface corresponding to the first video;
under the condition that the first video is displayed on a vertical screen, determining the display size of the first keyword as a second size;
wherein the first dimension is greater than the second dimension.
11. The apparatus according to any one of claims 8 to 10, wherein the first information comprises the first keyword;
the processing module is further configured to calculate, before first information is displayed in the video playing interface corresponding to the first video in the process of playing the first video clip, a first value and a second value corresponding to each of the at least one barrage based on barrage content and the first text of at least one barrage corresponding to the first video clip, where the first value corresponding to any one of the at least one barrage is used to represent similarity between barrage content and the first text of the any one barrage, and the second value corresponding to the any one barrage is used to represent correlation between barrage content and the first text of the any one barrage; calculating a third value corresponding to each bullet screen based on the bullet screen content of each bullet screen and the tag content corresponding to the first video tag, wherein the third value corresponding to any bullet screen is used for representing the correlation between the bullet screen content of any bullet screen and the first video tag; based on the first value, the second value and the third value corresponding to each barrage, obtaining a fourth value corresponding to each barrage, wherein the fourth value corresponding to any barrage is used for representing the matching degree between any barrage and the first video tag; and determining the first keyword based on the barrage content of the barrage with the highest matching degree.
12. The apparatus of claim 7, wherein the display module is further configured to, after the receiving module receives a first input to a first video tag of the at least one video tag, display a first control in a video playback interface of the first video in response to the first input during playback of the first video;
the receiving module is further used for receiving a second input to the first control;
the processing module is further configured to skip the first video segment in response to the second input received by the receiving module.
13. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the video playback method of any one of claims 1 to 6.
14. 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 of any one of claims 1 to 6.
CN202311154697.3A 2023-09-07 2023-09-07 Video playing method and device, electronic equipment and storage medium Pending CN117319751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311154697.3A CN117319751A (en) 2023-09-07 2023-09-07 Video playing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311154697.3A CN117319751A (en) 2023-09-07 2023-09-07 Video playing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117319751A true CN117319751A (en) 2023-12-29

Family

ID=89248976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311154697.3A Pending CN117319751A (en) 2023-09-07 2023-09-07 Video playing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117319751A (en)

Similar Documents

Publication Publication Date Title
CN111612873B (en) GIF picture generation method and device and electronic equipment
CN110177295B (en) Subtitle out-of-range processing method and device and electronic equipment
CN112437353B (en) Video processing method, video processing device, electronic apparatus, and readable storage medium
CN112860163A (en) Image editing method and device
CN112887794A (en) Video editing method and device
CN112565868A (en) Video playing method and device and electronic equipment
CN112565909B (en) Video playing method and device, electronic equipment and readable storage medium
CN117152660A (en) Image display method and device
CN114390205B (en) Shooting method and device and electronic equipment
CN115543137A (en) Video playing method and device
CN113709565B (en) Method and device for recording facial expression of watching video
CN117319751A (en) Video playing method and device, electronic equipment and storage medium
CN114245193A (en) Display control method and device and electronic equipment
CN112418942A (en) Advertisement display method and device and electronic equipment
CN111401165A (en) Station caption extraction method, display device and computer-readable storage medium
CN112272330B (en) Display method and device and electronic equipment
CN113676776B (en) Video playing method and device and electronic equipment
CN117631932A (en) Screenshot method and device, electronic equipment and computer readable storage medium
CN117640819A (en) Image display method and device, electronic equipment and readable storage medium
CN117311552A (en) Image generation method and device, electronic equipment and readable storage medium
CN117615221A (en) Video playing method and device, electronic equipment and readable storage medium
CN118214929A (en) Playing progress adjusting method and device
CN117010326A (en) Text processing method and device, and training method and device for text processing model
CN118827896A (en) Method, apparatus, device, storage medium and program product for storing multimedia resources
CN116452781A (en) Image display method, device, electronic equipment and 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