CN113905125B - Video display method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN113905125B
CN113905125B CN202111050527.1A CN202111050527A CN113905125B CN 113905125 B CN113905125 B CN 113905125B CN 202111050527 A CN202111050527 A CN 202111050527A CN 113905125 B CN113905125 B CN 113905125B
Authority
CN
China
Prior art keywords
target
image
video
comment information
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111050527.1A
Other languages
Chinese (zh)
Other versions
CN113905125A (en
Inventor
孙新童
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111050527.1A priority Critical patent/CN113905125B/en
Publication of CN113905125A publication Critical patent/CN113905125A/en
Application granted granted Critical
Publication of CN113905125B publication Critical patent/CN113905125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a video display method and device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: receiving a first input of a user under the condition that a target interface is displayed, wherein the target interface comprises an image of a target video and at least one piece of comment information corresponding to the target video, and the first input is the input of the user on the target comment information in the at least one piece of comment information; and responding to the first input, determining a target frame image from the target video according to the target comment information, and determining the target frame image as the target image, wherein the target image is an image displayed in a pause state of the target video.

Description

Video display method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a video display method and device and electronic equipment.
Background
At present, when a user watches a video through a video application program of an electronic device, if the user needs to view a certain frame of image in the video, the user may perform a sliding input on a progress bar of the video, so that the electronic device may jump from a currently displayed image to an image that the user needs to view.
However, since the user does not know the specific position of the frame of image required to be viewed in the video, the user needs to slide the progress bar all the time, so that the electronic device displays each frame of image in the video one by one until the user finds the frame of image required by the user.
Disclosure of Invention
The embodiment of the application aims to provide a video display method, a video display device and electronic equipment, and can solve the problems that the operation of a user is complicated and time-consuming, and the efficiency and the flexibility of displaying video images by the electronic equipment are poor.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a video display method, where the video display method includes: receiving a first input of a user under the condition of displaying a target interface, wherein the target interface comprises an image of a target video and at least one piece of comment information corresponding to the target video, and the first input is the input of the user on the target comment information in the at least one piece of comment information; in response to the first input, a target frame image is determined from the target video according to the target comment information, and the target frame image is determined as the target image, which is an image displayed in a paused state of the target video.
In a second aspect, an embodiment of the present application provides a video display apparatus, including: the device comprises a receiving module and a determining module. The receiving module is used for receiving a first input of a user under the condition that a target interface is displayed, wherein the target interface comprises an image of a target video and at least one piece of comment information corresponding to the target video, and the first input is the input of the user on the target comment information in the at least one piece of comment information. The determining module is used for responding to the first input received by the receiving module and determining a target frame image from the target video according to the target comment information; and determining the target frame image as a target image, wherein the target image is an image displayed in a pause state of the target video.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the electronic device can determine the target comment information in the target video and the determined comment information through first input of a user, and the electronic device determines a target frame image corresponding to the target comment information in the target video according to the target comment information, as an image displayed in a pause state of the target video. According to the scheme, when a user needs to check a certain frame of image in a target video, the user can directly select and input target comment information in comment information corresponding to the target video, so that the electronic device can quickly search a target frame image corresponding to the target comment information from the target video based on the target comment information selected by the user, and determine the target frame image as an image displayed in a pause state of the target video, namely the image currently displayed by the target video is an image which the user needs to check and is displayed by inputting the target comment information, the user does not need to slide and input a progress bar in the target video at all, the image which the user needs to check can be searched, the operation of searching the video image by the user is simplified, time consumption is saved, and the efficiency and the flexibility of displaying the video image by the electronic device are improved.
Drawings
Fig. 1 is a schematic diagram of a video display method according to an embodiment of the present application;
fig. 2 is an example schematic diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a video display device according to an embodiment of the present application;
fig. 5 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The video display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In a conventional scheme, when a user watches a video through a video application of an electronic device, if the user wants to view a certain frame of image in the video, the user can search for the certain frame of image in the required video by sliding a progress bar of the video, so that the electronic device can jump from the currently displayed image to the image which the user needs to view, however, the user does not know the specific position of the image which the user needs to view in the video, and therefore the user needs to slide the progress bar all the time, so that the electronic device displays each frame of image in the video one by one until the user finds the frame of image which the user needs, and thus, the user is cumbersome and time-consuming to operate, and the efficiency and flexibility of the electronic device for displaying the video image are poor.
In the embodiment of the application, the user can input the comment information, so that the electronic device can determine the target frame image corresponding to the comment information from the target video according to the comment information selected by the user, and the target frame image is determined to be an image displayed in a paused state of the target video. In the scheme, the electronic equipment can determine a certain frame of image required by the user in the target video as the image displayed in the suspended state of the target video based on the comment information selected by the user and corresponding to the target video, namely the currently displayed image of the target video is the image which is displayed by the user and required to be checked by the user after the user inputs the target comment information, and the user can search the image required to be checked by the user without sliding the progress bar in the target video all the time, so that the operation of searching the video image by the user is simplified, time consumption is saved, and the efficiency and the flexibility of displaying the video image by the electronic equipment are improved.
An embodiment of the present application provides a video display method, and fig. 1 shows a flowchart of the video display method provided in the embodiment of the present application. As shown in fig. 1, a video display method provided by an embodiment of the present application may include steps 201 and 202 described below.
Step 201, receiving a first input of a user under the condition that a target interface is displayed.
In the embodiment of the application, the target interface includes an image of a target video and at least one piece of comment information corresponding to the target video, and the first input is input of the user to the target comment information in the at least one piece of comment information.
In the embodiment of the application, under the condition that the electronic equipment displays the video interface of the target video, the user can perform first input on the comment information in the video interface, so that the electronic equipment determines the image displayed in the pause state of the target video according to the comment information corresponding to the first input.
Optionally, in this embodiment of the application, the target video may be a video file in an application (e.g., a video-class application) having a video playing function.
Optionally, in this embodiment of the application, the video interface of the target video includes a video display area and a comment information display area, the video display area is used to play the target video or display an image of the target video, and the comment information display area is used to display at least one piece of comment information corresponding to the target video.
It should be noted that, the above-mentioned images of the target video can be understood as: when the target video is paused to be played, one frame of image of the target video; or when the target video is played, the image displayed by the target video in real time.
The electronic device is exemplarily illustrated as a mobile phone. As shown in fig. 2, the mobile phone displays a video interface of a target video, the video interface includes a video display area 10 and a comment information display area 11, an image (for example, a picture a during pause playing) of the target video is displayed in the video display area 10, and at least one piece of comment information corresponding to the target video is displayed in the comment information display area 11.
Optionally, in this embodiment of the application, each piece of comment information includes at least one of the following: text, pictures, emoticons, video files, link information, controls (e.g., delete controls), voice content, and the like. The specific method can be determined according to actual use requirements, and is not limited in the embodiment of the application.
Optionally, in this embodiment of the application, the first input is a sliding input of the user on the at least one piece of comment information in the target interface, so as to trigger the electronic device to determine the target comment information from the at least one piece of comment information.
Optionally, in this embodiment of the application, the electronic device may determine the target comment information according to a position of the at least one piece of comment information in the comment information display area; alternatively, the electronic device may determine the target comment information according to the popularity value of the at least one piece of comment information.
Optionally, in this embodiment of the application, the target comment information may be comment information located at a first display position in the comment information display area.
Optionally, in this embodiment of the application, the target comment information may be the first and completely visible comment information in the comment information display area.
Optionally, in an embodiment of the present application, the comment information display area further includes at least one of the following items: an input box for posting comment information, a control for replying comment information, a control for agreeing comment information and the like.
Optionally, in this embodiment of the application, the target comment information is comment information with a highest heat value in at least one piece of comment information.
The comment information with the highest heat value may be: the comment information with the largest number is praised, and/or the comment information with the largest number is replied by the user, and/or the comment information with the largest number is commented aiming at a certain frame of image.
In the embodiment of the application, the electronic equipment can judge the importance of the video frame through the comment heat degree so as to take the high-heat video frame as the image displayed in the pause state of the video, thereby displaying the high-heat video frame for the user to preview, improving the understanding degree of the user on the video and improving the playing probability of the video.
Optionally, in this embodiment of the application, the first input is a selection input (for example, a click input) of the user on the target comment information in at least one piece of comment information.
Step 202, responding to the first input, determining a target frame image from the target video according to the target comment information, and determining the target frame image as the target image.
In the embodiment of the present application, the target image is an image displayed in a paused state of the target video.
In the embodiment of the application, after receiving the first input of the user, the electronic device may perform video analysis and image recognition on the target video, so as to search at least one frame of image (for example, a target frame image) related to the target comment information from the target video, so as to determine the at least one frame of image as an image displayed in a paused state by the target video.
Alternatively, in this embodiment of the application, "determining a target frame image from a target video according to target comment information" in step 202 may be specifically implemented in steps 202a to 202c described below.
Step 202a, according to the target time, determining a first video clip from the target video.
In the embodiment of the application, the first image is an image matched with the target comment information in the target video.
In this embodiment of the application, the electronic device may divide the target video into at least one video segment in advance, and after the electronic device determines the target comment information according to the first input, the electronic device may match the sending time point of the target comment information with the video time point/video time range of each video segment according to the publishing information (for example, the sending time point) of the target comment information, so as to find the video segment where the sending time point of the target comment information is located from the at least one video segment, that is, the time range of the first video segment includes the sending time point of the target comment information.
Optionally, in this embodiment of the application, after the user publishes at least one piece of comment information for the target video, the electronic device may record the publishing information (for example, including publishing time (which may also be referred to as a sending time point), a video frame image corresponding to the comment information, a video progress corresponding to the comment information, and the like) of each piece of comment information in the at least one piece of comment information, and correspondingly store each piece of comment information and the publishing information of each piece of comment information in the electronic device or the server.
It can be understood that the sending time point of each piece of comment information corresponds to a video time range (which may also be referred to as video progress), and each video progress corresponds to a video clip; the electronic equipment can determine the video progress corresponding to the sending time point according to the sending time point of the target comment information, and determine the corresponding video clip according to the video progress.
It should be noted that the sending time point of the target comment information corresponds to a start time of the first video segment, or corresponds to an end time of the first video segment, or corresponds to a time in the first video segment. The specific method can be determined according to actual use requirements, and is not limited in the embodiment of the application.
Step 202b, acquiring image information of N frames of images in the first video clip, wherein N is a positive integer.
In the embodiment of the application, the electronic device can perform image recognition processing on the N frames of images to obtain the image information of the N frames of images. Specifically, the electronic device may perform image recognition processing on the N frames of images through an image recognition algorithm to extract image information of the N frames of images.
Optionally, in this embodiment of the application, the image information of the N frames of images may include at least one of the following: image content of the N-frame images (e.g., key information of the images), image feature information/image attribute information of the N-frame images, and the like.
Optionally, in this embodiment of the present application, the image feature information/image attribute information may include at least one of the following: color information of an image, texture information of an image, spatial relationship information of an image, shape information of an image, brightness information of an image, sharpness information of an image, bullet screen information of an image, and the like.
Optionally, in this embodiment of the application, the electronic device may divide the target video into at least one video segment based on a time interval in advance, and divide each video segment into N frames of images.
Optionally, in this embodiment of the present application, before "receiving the first input of the user" in step 201, the video display method provided in this embodiment of the present application further includes step 301 and step 302 described below.
Step 301, dividing a target video into at least one video segment at a first time interval.
In this embodiment, the electronic device may cut the target video at every preset time interval (e.g., a first time interval) to divide the target video into at least one video segment.
Optionally, in this embodiment of the present application, the time lengths of the at least one video segments are all the same; or, the time lengths of the other video segments except the last video segment in the at least one video segment are the same.
Illustratively, the first time interval may be 0.5s, 1s, 2s, etc. The specific method can be determined according to actual use requirements, and is not limited in the embodiment of the application.
Step 302, for each video clip of at least one video clip, in one video clip, a preview frame image is generated every second time interval to obtain N frame images corresponding to one video clip.
Optionally, in this embodiment of the present application, for each video segment, in one video segment, the electronic device may perform a cut on the one video segment at every preset time interval (for example, a second time interval) to perform N-1 cuts on the video segment, so as to obtain a plurality of sub video segments, and the electronic device may determine N frames of images from the plurality of sub video segments.
Optionally, in this embodiment of the present application, the electronic device may use one frame image (for example, a first frame image) in each of the multiple sub-video segments as a preview frame image to obtain N frame preview frame images, so as to determine the N frame preview frame images as N frame images.
For example, if one video segment is 5 seconds, and the second time interval is 0.5 seconds, the electronic device may cut the one video segment every 0.5 seconds to obtain 10 sub-video segments, so as to use the first frame image of each of the 10 sub-video segments as a preview frame image to obtain N frame images.
Optionally, in this embodiment of the application, the electronic device may generate one preview frame image based on all frame images in each of the plurality of sub video segments to obtain N preview frame images, so as to determine the N preview frame images as the N frame images.
It should be noted that, for each video segment of the at least one video segment, the above step 302 may be performed to obtain N frames of images corresponding to each video segment.
In the embodiment of the application, the electronic equipment divides the target video into the plurality of video segments and generates the N frames of images in each video segment, so that the electronic equipment can directly search the target frame of images from the N frames of images in the corresponding video segments according to the target comment information without searching all the video frame images in the whole target video one by one, the operation of searching the video images by a user is simplified, time consumption is saved, and the efficiency and the flexibility of displaying the video images by the electronic equipment are improved.
Step 202c, determining the image of which the image information meets the first preset condition in the N frames of images as the target frame image.
In the embodiment of the application, the electronic device may determine, according to the image content and/or the image attribute information of the N frames of images, an image that satisfies a first preset condition from the N frames of images.
Alternatively, in this embodiment of the application, the step 202c may be specifically implemented by the following step 202c1 or step 202c 2.
Step 202c1, determining the image with the image content matched with the key information of the target comment information in the N frames of images as a target frame image.
In the embodiment of the application, the electronic device can identify the image content of the N frames of images through an image identification algorithm, and identify the key information of the target comment information through a language understanding algorithm, and then the electronic device can respectively compare the image content of the N frames of images with the key information of the target comment information, so as to determine the image with the image content matched with the key information from the N frames of images.
It should be noted that, matching the image content with the key information of the target comment information may be understood as: the matching degree/similarity between the image content and the key information is greater than or equal to a preset threshold value.
Optionally, in this embodiment of the present application, the key information of the target comment information may include at least one of the following: keywords/key sentences in the target comment information, key pictures in the target comment information, and the like.
Exemplarily, it is assumed that N frame images are a picture 1, a picture 2, and a picture 3, the content of the picture 1 is "mountain", the content of the picture 2 is "water", the content of the picture 3 is "sky", and the target comment information is "landscape is beautiful, and a distant mountain"; the electronic device recognizes that the key information of the target comment information is "mountain", and the electronic device may determine, as the target frame image, one of the N frames of pictures (i.e., picture 1) that is most highly correlated with "mountain".
Optionally, in this embodiment of the application, after determining the target frame image, the electronic device may associate the target frame image with the target comment information, so as to quickly find the corresponding image through the comment information in the following process.
In the embodiment of the application, the electronic device can determine the target frame image according to the matching degree of the image content of the N frames of images and the key information of the target comment information, namely, the electronic device can determine the frame image with the highest matching degree in the first video clip as the target frame image, so that the target frame image is determined as the image displayed when the video is in a pause state, namely, the currently displayed image of the target video is the image which is input by a user through the target comment information and is required to be viewed by the user, therefore, the user can accurately know the video content according to the changed displayed image, and thus, the flexibility of displaying the video image by the electronic device is improved.
Step 202c2, determining the image with the image attribute information meeting the second preset condition in the N frames of images as the target frame image.
In the embodiment of the application, the electronic device can recognize the image attribute information of the N frames of images through an image recognition algorithm, and then the electronic device can respectively judge whether the image attribute information of the N frames of images meets a second preset condition, so as to determine an image of which the image attribute information meets the second preset condition from the N frames of images.
Optionally, in this embodiment of the application, if an image whose image content matches the key information of the target comment information does not exist in the N frames of images, the electronic device may determine, as the target frame image, an image whose image attribute information satisfies a second preset condition in the N frames of images.
It should be noted that, the image whose image attribute information satisfies the second preset condition in the N frames of images may be understood as: and the image with the most outstanding image attribute and the strongest expression is one of the N frames of images.
Optionally, in this embodiment of the present application, the second preset condition may include at least one of the following: the color values of the image are within a particular color range; the definition of the image is greater than or equal to the preset definition, or the definition of the image is the highest; the shot screen information in the image is the most; the most specific objects (e.g., people) in the image.
In the embodiment of the application, the electronic device may determine the target frame image according to whether the image attribute information of the N frames of images meets the second preset condition, that is, the electronic device may determine one frame of image meeting the second preset condition as the target frame image, so as to determine the target frame image as an image displayed in a suspended state of the target video, that is, an image currently displayed by the target video is an image which is viewed by a user through inputting the target comment information, so that the user may accurately know the video content according to the changed video image, thereby improving the flexibility of the electronic device in displaying the video image.
In the embodiment of the application, the electronic device can bind the comment information of the user with the video time point corresponding to the comment information, so that the electronic device can quickly find the video clip corresponding to the time point through the time point of publishing the comment information, and therefore the image meeting the first preset condition is determined as the target frame image according to the image information of the N frames of images in the video clip, the target frame image is determined as the image displayed by the target video in the pause state, and the efficiency and flexibility of displaying the video image by the electronic device are improved.
The embodiment of the application provides a video display method, and electronic equipment can determine an image corresponding to target comment information in a target video as an image displayed in a paused state through first input of a user. According to the scheme, when a user needs to check a certain frame of image in a target video, the user can directly select and input target comment information in comment information corresponding to the target video, so that the electronic equipment can quickly search the target frame of image corresponding to the target comment information from the target video based on the target comment information selected by the user, and determine the target frame of image as an image displayed in a pause state of the target video, namely the currently displayed image of the target video is an image which is required to be checked by the user and displayed by inputting the target comment information, and the user does not need to slide and input a progress bar in the target video all the time to search the image required to be checked by the user, so that the operation of searching the video image by the user is simplified, time consumption is saved, and the efficiency and flexibility of displaying the video image by the electronic equipment are improved.
Optionally, in this embodiment of the application, after the electronic device determines the target frame image from the target video according to the target comment information, the target frame image may be set as a cover page picture of the target video, that is, the cover page picture of the target video is a video cover page that is changed by the user according to the interested comment information, so that the user may accurately know the video content according to the changed video cover page, and the diversity of the display effect of the electronic device on the video cover page is improved.
Optionally, in this embodiment, after determining the display image of the target video, the electronic device may jump from the currently displayed image of the target video to the target frame image, and start playing the target video from the target frame image.
Alternatively, in this embodiment of the application, the step 202 may be specifically implemented by the following step 401.
Step 401, under the condition that the target video is in the playing stop state, updating the currently displayed image of the target video to the target frame image, and starting to play the target video from the target frame image as the playing starting point.
In this embodiment of the application, when the target video is in a playing stop state (for example, a playing pause state), the electronic device may adjust the playing progress bar of the video, so as to adjust the playing time of the playing progress bar to a time point corresponding to the target frame image, so as to update an image currently displayed by the target video to an image corresponding to the time point, and continue playing the target video from the time point.
Illustratively, in conjunction with fig. 2, as shown in fig. 3, the cellular phone may jump an image of a target video displayed in the video display area 10 to a target frame image (e.g., screen B) and play the target video from the screen B.
Optionally, in this embodiment, before "playing the target video from the target frame image" in step 401, the video display method provided in this embodiment further includes step 402 described below, and step 401 may be specifically implemented by step 401a described below.
And step 402, under the condition that the target video is in the playing stop state, updating the currently displayed image of the target video to the target frame image, and receiving a second input of the user.
In the embodiment of the application, after the electronic device adjusts the video progress of the target video to the target frame image selected by the user, the user can trigger the electronic device to start playing the target video from the currently displayed target frame image through the second input.
Optionally, in this embodiment of the application, the second input may be a click input or a slide input of the user on the target frame image; or, the second input may be a click input of the user to the video playing control; alternatively, the second input may be an input of a physical key or a combination of physical keys of the electronic device by the user. The specific method can be determined according to actual use requirements, and is not limited in the embodiment of the application.
Step 401a, in response to a second input, starts playing the target video from the target frame image.
In the embodiment of the application, the electronic equipment takes the video frame corresponding to the comment information currently viewed by the user as the video cover, and meanwhile, the user can also see the image corresponding to the comment information in the video in real time when viewing the comment information, so that the user can obtain more video contents according to the video image displayed in real time when viewing the video comment, the richness of video preview is improved, and the user can learn about the video easily; in addition, the electronic equipment can directly start playing the target video from the image corresponding to the comment information, and the experience of watching the video by the user is improved.
It should be noted that, in the video display method provided in the embodiment of the present application, the execution main body may be an electronic device, or a video display apparatus, or a control module in the video display apparatus for executing the video display method. The embodiment of the present application takes an example of an electronic device executing a video display method, and describes a video display device provided in the embodiment of the present application.
Fig. 4 shows a schematic diagram of a possible structure of a video display apparatus according to an embodiment of the present application. As shown in fig. 4, the video display device 70 may include: a receiving module 71 and a determining module 72. The receiving module 71 is configured to receive a first input of a user when a target interface is displayed, where the target interface includes an image of a target video and at least one piece of comment information corresponding to the target video, and the first input is an input of the target comment information in the at least one piece of comment information by the user. A determining module 72, configured to determine, in response to the first input received by the receiving module 71, a target frame image from the target video according to the target comment information; and determining the target frame image as a target image, wherein the target image is an image displayed in a pause state of the target video.
In one possible implementation, the target comment information is any one of: comment information located at a first display position in the comment information display area; or comment information with the highest heat value in the at least one piece of comment information; or comment information selected by the user from the at least one piece of comment information.
In a possible implementation manner, the determining module 72 is specifically configured to determine, according to the target time, a first video segment from the target video; the target time is a time point corresponding to the first image in the target video, and the first image is an image matched with the target comment information in the target video; acquiring image information of N frames of images in the first video clip, wherein N is a positive integer; and determining the image of which the image information meets the first preset condition in the N frames of images as the target frame image.
In a possible implementation manner, the determining module 72 is specifically configured to determine an image, in which image content in the N frames of images matches key information of the target comment information, as a target frame image; or determining the image with the image attribute information meeting the second preset condition in the N frames of images as the target frame image.
In a possible implementation manner, the determining module 72 is specifically configured to update an image currently displayed by the target video to a target frame image when the target video is in a playing stop state; and starting to play the target video by taking the target frame image as a playing starting point.
The embodiment of the application provides a video display device, when a user needs to check a certain frame of image in a target video, the user can directly select and input target comment information in comment information corresponding to the target video, so that the video display device can quickly search a target frame image corresponding to the target comment information from the target video based on the target comment information selected by the user, and determine the target frame image as an image displayed in a pause state of the target video, namely the currently displayed image of the target video is an image which is required to be checked by the user and is displayed by inputting the target comment information by the user, and the user does not need to slide and input a progress bar in the target video to search the image required to be checked by the user, so that the operation of searching the video image by the user is simplified, time consumption is saved, and the efficiency and flexibility of displaying the video image by the video display device are improved.
The video display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in an electronic apparatus. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The video display device provided in the embodiment of the present application can implement each process implemented by the method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
Optionally, as shown in fig. 5, an electronic device 90 is further provided in this embodiment of the present application, and includes a processor 91, a memory 92, and a program or an instruction stored in the memory 92 and executable on the processor 91, where the program or the instruction is executed by the processor 91 to implement the processes of the foregoing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing the 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 comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 107 is configured to receive a first input of a user when a target interface is displayed, where the target interface includes an image of a target video and at least one piece of comment information corresponding to the target video, and the first input is an input of the target comment information in the at least one piece of comment information by the user. And the processor 110 is configured to determine a target frame image from the target video according to the target comment information in response to the first input, and determine the target frame image as the target image, where the target image is an image displayed in a paused state of the target video.
The embodiment of the application provides electronic equipment, when a user needs to check a certain frame of image in a target video, the user can directly select and input target comment information in comment information corresponding to the target video, so that the electronic equipment can quickly search a target frame image corresponding to the target comment information from the target video based on the target comment information selected by the user, and determine the target frame image as an image displayed in a pause state of the target video, namely, the currently displayed image of the target video is an image which is required to be checked by the user and displayed by inputting the target comment information by the user, and the image required to be checked by the user can be searched without sliding and inputting a progress bar in the target video by the user, so that the operation of searching the video image by the user is simplified, time consumption is saved, and the efficiency and flexibility of displaying the video image by the electronic equipment are improved.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to determine a first video segment from the target video according to a target time, where the target time is a time point corresponding to the first image in the target video, and the first image is an image in the target video, where the image is matched with the target comment information; acquiring image information of N frames of images in the first video clip, wherein N is a positive integer; and determining the image of which the image information meets a first preset condition in the N frames of images as the target frame image.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to determine an image in the N frames of images, in which image content is matched with key information of the target comment information, as a target frame image; or determining the image with the image attribute information meeting the second preset condition in the N frames of images as the target frame image.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to, when the target video is in a playing stop state, update an image currently displayed by the target video to the target frame image, and start playing the target video with the target frame image as a playing start point.
The electronic device provided by the embodiment of the application can realize each process realized by the method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 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 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, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiments of the present application further provide 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 implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (12)

1. A method for video display, the method comprising:
receiving a first input of a user under the condition of displaying a target interface, wherein the target interface comprises an image of a target video and at least one piece of comment information corresponding to the target video, and the first input is input of the user to the target comment information in the at least one piece of comment information;
in response to the first input, according to the target comment information, determining a first video segment corresponding to the target comment information from the target video, determining a target frame image from the first video segment, and determining the target frame image as a target image, wherein the target image is an image displayed in a pause state of the target video.
2. The method according to claim 1, wherein the target comment information is any one of:
comment information located at a first display position in the comment information display area;
comment information with the highest heat value in the at least one piece of comment information;
and comment information selected by the user from the at least one piece of comment information.
3. The method according to claim 1 or 2, wherein the determining, according to the target comment information, a first video segment corresponding to the target comment information from the target video and a target frame image from the first video segment includes:
determining target time according to the target comment information, wherein the target time is a time point corresponding to a first image in the target video, and the first image is an image matched with the target comment information in the target video;
determining the first video segment from the target video according to the target time;
acquiring image information of N frames of images in the first video clip, wherein N is a positive integer;
and determining the image of which the image information meets a first preset condition in the N frames of images as the target frame image.
4. The method according to claim 3, wherein the determining, as the target frame image, an image in the N frame images whose image information satisfies a first preset condition includes:
determining an image of the N frames of images, the image content of which is matched with the key information of the target comment information, as the target frame image;
alternatively, the first and second electrodes may be,
and determining the image of which the image attribute information meets a second preset condition in the N frames of images as the target frame image.
5. The method of claim 1, wherein determining the target frame image as a target image comprises:
and under the condition that the target video is in a playing stop state, updating the currently displayed image of the target video into the target frame image, and starting to play the target video by taking the target frame image as a playing starting point.
6. A video display apparatus, characterized in that the apparatus comprises: a receiving module and a determining module;
the receiving module is used for receiving a first input of a user under the condition that a target interface is displayed, wherein the target interface comprises an image of a target video and at least one piece of comment information corresponding to the target video, and the first input is input of the user on the target comment information in the at least one piece of comment information;
the determining module is used for responding to the first input received by the receiving module, determining a first video segment corresponding to the target comment information from the target video according to the target comment information, and determining a target frame image from the first video segment; and determining the target frame image as a target image, wherein the target image is an image displayed in a pause state of the target video.
7. The apparatus according to claim 6, wherein the target comment information is any one of:
comment information located at a first display position in the comment information display area;
comment information with the highest heat value in the at least one piece of comment information;
and comment information selected by the user from the at least one piece of comment information.
8. The apparatus according to claim 6 or 7, wherein the determining module is specifically configured to determine a target time according to the target comment information; determining the first video segment from the target video according to the target time; the target time is a corresponding time point of a first image in the target video, and the first image is an image matched with the target comment information in the target video; acquiring image information of N frames of images in the first video clip, wherein N is a positive integer; and determining the image of which the image information meets a first preset condition in the N frames of images as the target frame image.
9. The apparatus according to claim 8, wherein the determining module is specifically configured to determine, as the target frame image, an image in the N-frame image whose image content matches key information of the target comment information; or determining the image with the image attribute information meeting a second preset condition in the N frames of images as the target frame image.
10. The apparatus according to claim 6, wherein the determining module is specifically configured to update an image currently displayed by the target video to the target frame image when the target video is in a stop-playing state; and starting to play the target video by taking the target frame image as a playing starting point.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the video display method according to any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the video display method according to any one of claims 1 to 5.
CN202111050527.1A 2021-09-08 2021-09-08 Video display method and device, electronic equipment and storage medium Active CN113905125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111050527.1A CN113905125B (en) 2021-09-08 2021-09-08 Video display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111050527.1A CN113905125B (en) 2021-09-08 2021-09-08 Video display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113905125A CN113905125A (en) 2022-01-07
CN113905125B true CN113905125B (en) 2023-02-21

Family

ID=79188826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111050527.1A Active CN113905125B (en) 2021-09-08 2021-09-08 Video display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113905125B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014988B (en) * 2021-02-23 2024-04-05 北京百度网讯科技有限公司 Video processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933509A (en) * 2019-12-09 2020-03-27 北京字节跳动网络技术有限公司 Information publishing method and device, electronic equipment and storage medium
CN110944224A (en) * 2019-11-29 2020-03-31 维沃移动通信有限公司 Video playing method and electronic equipment
CN112929748A (en) * 2021-01-22 2021-06-08 维沃移动通信(杭州)有限公司 Video processing method, video processing device, electronic equipment and medium
CN113163230A (en) * 2020-01-22 2021-07-23 腾讯科技(深圳)有限公司 Video message generation method and device, electronic equipment and storage medium
CN113194349A (en) * 2021-04-25 2021-07-30 腾讯科技(深圳)有限公司 Video playing method, commenting method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201503670A (en) * 2013-03-15 2015-01-16 Sony Corp Intuitive image-based program guide for controlling display device such as a television
CN110519617B (en) * 2019-07-18 2023-04-07 平安科技(深圳)有限公司 Video comment processing method and device, computer equipment and storage medium
CN112866790A (en) * 2019-11-27 2021-05-28 上海幻电信息科技有限公司 Video playing method and system
CN111614993B (en) * 2020-04-30 2021-05-25 腾讯科技(深圳)有限公司 Barrage display method and device, computer equipment and storage medium
CN111601066B (en) * 2020-05-26 2022-03-25 维沃移动通信有限公司 Information acquisition method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944224A (en) * 2019-11-29 2020-03-31 维沃移动通信有限公司 Video playing method and electronic equipment
CN110933509A (en) * 2019-12-09 2020-03-27 北京字节跳动网络技术有限公司 Information publishing method and device, electronic equipment and storage medium
CN113163230A (en) * 2020-01-22 2021-07-23 腾讯科技(深圳)有限公司 Video message generation method and device, electronic equipment and storage medium
CN112929748A (en) * 2021-01-22 2021-06-08 维沃移动通信(杭州)有限公司 Video processing method, video processing device, electronic equipment and medium
CN113194349A (en) * 2021-04-25 2021-07-30 腾讯科技(深圳)有限公司 Video playing method, commenting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113905125A (en) 2022-01-07

Similar Documents

Publication Publication Date Title
CN111757175A (en) Video processing method and device
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN111880668A (en) Input display method and device and electronic equipment
CN113905125B (en) Video display method and device, electronic equipment and storage medium
CN113037925B (en) Information processing method, information processing apparatus, electronic device, and readable storage medium
CN112383666B (en) Content sending method and device and electronic equipment
CN113593614B (en) Image processing method and device
CN114125149A (en) Video playing method, device, system, electronic equipment and storage medium
CN113965792A (en) Video display method and device, electronic equipment and readable storage medium
CN112084151A (en) File processing method and device and electronic equipment
CN112261483A (en) Video output method and device
CN113536037A (en) Video-based information query method, device, equipment and storage medium
CN112667880B (en) Search result display method, device, equipment and storage medium
CN114500833B (en) Shooting method and device and electronic equipment
CN113641252B (en) Text input method and device and electronic equipment
CN115278378B (en) Information display method, information display device, electronic apparatus, and storage medium
CN112685126B (en) Document content display method and device
CN113676776B (en) Video playing method and device and electronic equipment
CN112765447B (en) Data searching method and device and electronic equipment
CN113177139A (en) Interaction method and device and electronic equipment
CN114237785A (en) Image generation method and device
CN118214929A (en) Playing progress adjusting method and device
CN117112111A (en) Information display method and device and electronic equipment
CN112989122A (en) Video searching method and device

Legal Events

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