CN110418157B - Live video playback method and device, storage medium and electronic equipment - Google Patents

Live video playback method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110418157B
CN110418157B CN201910801997.3A CN201910801997A CN110418157B CN 110418157 B CN110418157 B CN 110418157B CN 201910801997 A CN201910801997 A CN 201910801997A CN 110418157 B CN110418157 B CN 110418157B
Authority
CN
China
Prior art keywords
video
information
time point
played back
label information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910801997.3A
Other languages
Chinese (zh)
Other versions
CN110418157A (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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201910801997.3A priority Critical patent/CN110418157B/en
Publication of CN110418157A publication Critical patent/CN110418157A/en
Application granted granted Critical
Publication of CN110418157B publication Critical patent/CN110418157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4667Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • 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/84Generation or processing of descriptive data, e.g. content descriptors

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a live video playback method and a device, wherein the method comprises the following steps: responding to a live video playback instruction sent by a user, and acquiring videos to be played back and pre-stored highlight moment information corresponding to the videos to be played back, wherein the highlight moment information comprises each label information of the videos to be played back and a video time point corresponding to each label information in the videos to be played back; determining a progress position corresponding to each video time point on a video progress bar of the video to be played back; on the video progress bar of the video to be played back, drawing the label information corresponding to each video time point on the progress position corresponding to the label information; and playing the video to be played back, and displaying the progress bar drawn with the label information. Highlight moment information of a video to be played back can be obtained, and a progress bar is drawn according to the highlight moment information, so that a user can quickly find interesting contents according to the progress bar, and the watching experience of the user is improved.

Description

Live video playback method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of video processing, and in particular, to a live video playback method and apparatus, a storage medium, and an electronic device.
Background
In recent years, with the development of network technology, users of various video platforms are increasing; the video is popular with people due to the intuitiveness of the display information and the richness of the bearing content, and the watching of the video becomes an important entertainment activity in daily life of people.
The research of the inventor finds that people often lose interest in a lengthy video because of difficulty in finding the content of interest in the video when watching the video, especially watching a live playback video.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a live video playback method, which can help a user to quickly find out the content of interest of the user and improve the watching experience of the user.
The invention also provides a live video playback device, which is used for ensuring the realization and the application of the method in practice.
A live video playback method, comprising:
responding to a live video playback instruction sent by a user, and acquiring videos to be played back and pre-stored highlight moment information corresponding to the videos to be played back, wherein the highlight moment information comprises each label information of the videos to be played back and a video time point corresponding to each label information in the videos to be played back;
determining a progress position corresponding to each video time point on a video progress bar of the video to be played back;
on the video progress bar of the video to be played back, drawing the label information corresponding to each video time point on the progress position corresponding to the label information;
and playing the video to be played back, and displaying the progress bar drawn with the label information.
The foregoing method, optionally, the storing process of highlight moment information includes:
the receiving unit is used for acquiring video information of the live broadcast video when the uploaded live broadcast video is received, wherein the video information comprises video stream content, audio content, gift delivery flow information and playing method information of the live broadcast video;
the determining unit is used for determining each video time point meeting the preset label distribution condition in the live video according to the video information;
the distribution unit is used for distributing label information for each video time point to obtain highlight moment information of the live video, wherein the label information corresponds to the condition type of a preset label distribution condition met by the video time point;
and the storage unit is used for storing the highlight moment information.
Optionally, in the method, the drawing, on the video progress bar of the video to be played back, the tag information corresponding to each video time point at the progress position corresponding to the video time point includes:
determining a tag type of each tag information;
and determining the drawing mode of the label information according to the label type of each label information, and drawing the label information at the corresponding progress position according to the drawing mode.
Optionally, in the foregoing method, if the tag type of the tag information is a gift sending type, determining a drawing mode of the tag information according to the tag type of each tag information, and drawing the tag information at a corresponding progress position according to the drawing mode includes:
determining each video time point with the label type of the label information as a gift sending type as a gift sending video time point, and determining the gift sending quantity represented by the label information of the gift sending type of each gift sending time point;
generating a gift sending oscillogram according to the gift sending quantity respectively corresponding to each gift sending video time point;
adjusting the salutation oscillogram in an equal ratio setting mode to enable the salutation oscillogram to be matched with the progress bar;
and drawing the adjusted salutation oscillogram on the progress bar.
Optionally, in the method, the playing the video to be played back and displaying the progress bar drawn with the label information includes:
acquiring the watching habit information of the user;
determining the display priority of each piece of label information based on the watching habit information;
and displaying a progress bar drawn with the label information according to the display priority.
Optionally, the method for acquiring the viewing habit information of the user includes:
acquiring historical statistical data of the user;
and analyzing the video types, the watching duration and the gift sending records of the historical watching videos contained in the historical statistical data to obtain the watching habit information of the user on each video type.
A live video playback device, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a video to be played back and pre-stored highlight time information corresponding to the video to be played back when receiving a live video playback instruction sent by a user, and the highlight time information comprises each piece of label information of the video to be played back and a video time point corresponding to each piece of label information in the video to be played back;
the determining unit is used for determining a progress position corresponding to each video time point on a video progress bar of the video to be played back;
the drawing unit is used for drawing the label information corresponding to each video time point on the corresponding progress position on the video progress bar of the video to be played back;
and the playing unit is used for playing the video to be played back and displaying the progress bar drawn with the label information.
The above apparatus, optionally, further comprises:
the receiving unit is used for acquiring video information of the video to be played back when the uploaded video to be played back is received, wherein the video information comprises video stream content, audio content, gift flow information and playing information of the video to be played back;
the identification unit is used for identifying the video information so as to determine whether each video time point of the video to be played back meets each preset type of label distribution condition;
the execution unit is used for determining the video time point meeting the label distribution condition in the video to be played back as a target video time point;
the distribution unit is used for distributing label information to each target video time point according to the type of the label distribution condition met by the target video time point so as to obtain highlight moment information of the video to be played back;
and the storage unit is used for storing the highlight moment information.
The above apparatus, optionally, the drawing unit includes:
a first determining subunit, configured to determine a tag type of each tag information;
and the first drawing subunit is used for determining the drawing mode of the label information according to the label type of each label information and drawing the label information at the corresponding progress position according to the drawing mode.
The above apparatus, optionally, the drawing unit includes:
the second determining subunit is used for determining the label type of the label information as each video time point of the gift sending type as a gift sending video time point, and determining the gift sending quantity represented by the label information of the gift sending type of each gift sending time point;
the generation subunit is used for generating a gift sending oscillogram according to the gift sending quantity respectively corresponding to each gift sending video time point;
the matching subunit is used for adjusting the salutation oscillogram in an equal ratio setting mode to enable the salutation oscillogram to be matched with the progress bar;
and the second drawing subunit is used for drawing the adjusted salutation oscillogram onto the progress bar.
The above apparatus, optionally, the playing unit includes:
the obtaining subunit is used for obtaining the watching habit information of the user;
the third determining subunit is configured to determine, according to the viewing habit information, a display priority of each piece of tag information;
and the display unit is used for displaying the progress bar drawn with the label information according to the display priority.
The above apparatus, optionally, the obtaining subunit includes:
the execution subunit is used for acquiring historical statistical data of the user;
and the analysis subunit is used for analyzing the video types, the watching durations and the gift sending records of the historical watching videos contained in the historical statistical data to obtain the watching habit information of the user on each video type.
A storage medium comprising a stored program, wherein a device on which the storage medium is located is controlled to perform a live video playback method as described above when the program is run.
An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to perform the live video playback method as described above by one or more processors.
Compared with the prior art, the invention has the following advantages:
the invention provides a live video playback method, which comprises the following steps: responding to a live video playback instruction sent by a user, and acquiring videos to be played back and pre-stored highlight moment information corresponding to the videos to be played back, wherein the highlight moment information comprises each label information of the videos to be played back and a video time point corresponding to each label information in the videos to be played back; determining a progress position corresponding to each video time point on a video progress bar of the video to be played back; on the video progress bar of the video to be played back, drawing the label information corresponding to each video time point on the progress position corresponding to the label information; and playing the video to be played back, and displaying the progress bar drawn with the label information. Highlight moment information of a video to be played back can be obtained, a progress bar is drawn according to the highlight moment information, a user can find interesting contents quickly according to the progress bar, and watching experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of a method for playing back a live video according to the present invention;
fig. 2 is a flowchart of another method of a live video playback method according to the present invention;
fig. 3 is a flowchart of another method of a live video playback method according to the present invention;
fig. 4 is a diagram illustrating an example of a live video playback method according to the present invention;
fig. 5 is a diagram illustrating a method for playing back a live video according to another embodiment of the present invention;
fig. 6 is a diagram illustrating a method for playing back a live video according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a live video playback apparatus according to the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor apparatus, distributed computing environments that include any of the above devices or equipment, and the like.
The embodiment of the invention provides a live video playback method, which can be applied to various system platforms, wherein an execution main body of the method can be a computer terminal or a processor of various mobile devices, and a flow chart of the method is shown in fig. 1 and specifically comprises the following steps:
s101: responding to a live video playback instruction sent by a user, and acquiring a video to be played back and pre-stored highlight moment information corresponding to the video to be played back, wherein the highlight moment information comprises each label information of the video to be played back and a video time point corresponding to each label information in the video to be played back.
In the method provided by the embodiment of the invention, a live video playback instruction sent by a user through a preset visual page can be received, and a video to be played back corresponding to the live video playback instruction and highlight moment information of the video to be played back are obtained; the highlight moment information can be data in a Json format, and each piece of label information of the video to be played back and a video time point corresponding to each piece of label information in the video to be played back can be obtained by analyzing the highlight moment information.
It should be noted that each video time point may have one or more label information, the label information possessed at each time point may be the same or different, the label information may be dance type label information, singing type label information, gift type and play type label information, and the like, that is, the label information includes multiple label types, and the different types of label information are different. And for the tag information of the gift sending type, representing the gift sending quantity of the video time point corresponding to the tag information of the gift sending type.
S102: and determining a progress position corresponding to each video time point on the video progress bar of the video to be played back.
According to the method provided by the embodiment of the invention, the progress position of each video time point on the video progress bar can be determined through the total video time length of the video to be played back and the length of the video progress bar displayed on the visual page.
S103: and drawing the label information corresponding to each video time point on the corresponding progress position on the video progress bar of the video to be played back.
In the method provided by the embodiment of the invention, the label information corresponding to each video time point is drawn at the corresponding progress position through a preset drawing mode, the preset drawing mode is related to the type of the label information, and specifically, each type of label information corresponds to one drawing mode; the corresponding drawing modes of different types of label information can be the same or different. The dance type label information, the singing type label information and the playing type label information can be drawn in the same way.
S104: and playing the video to be played back, and displaying the progress bar drawn with the label information.
In the method provided by the embodiment of the invention, when the video to be played back is played, the progress bar drawn with each piece of label information is displayed in the video so as to show the label information of each video time point in the video to a user, so that the user can quickly find the interested video content.
The method provided by the embodiment of the invention comprises the following steps: responding to a live video playback instruction sent by a user, and acquiring videos to be played back and pre-stored highlight moment information corresponding to the videos to be played back, wherein the highlight moment information comprises each label information of the videos to be played back and a video time point corresponding to each label information in the videos to be played back; determining a progress position corresponding to each video time point on a video progress bar of the video to be played back; on the video progress bar of the video to be played back, drawing the label information corresponding to each video time point on the progress position corresponding to the label information; and playing the video to be played back, and displaying the progress bar drawn with the label information. Highlight moment information of a video to be played back can be obtained, a progress bar is drawn according to the highlight moment information, a user can find interesting contents quickly according to the progress bar, and watching experience of the user is improved.
In the live video playback method provided in the embodiment of the present invention, based on the implementation process, specifically, the process of obtaining highlight moment information may include:
analyzing the live video playback instruction to obtain a video identifier corresponding to the live video playback instruction;
and acquiring pre-stored highlight moment information based on the video identification.
In the method provided by the embodiment of the invention, each live video playback instruction contains a video identifier which a user wants to watch currently; and traversing a pre-established storage area through the video identifier to obtain highlight moment information of the video to be played back corresponding to the video identifier.
In the live video playback method provided in the embodiment of the present invention, based on the implementation process, specifically, the storing process of highlight time information, as shown in fig. 2, may include:
s201: when the uploaded live video is received, video information of the live video is obtained, wherein the video information comprises video stream content, audio content, gift flow information and playing method information of the live video.
In the method provided by the embodiment of the invention, the live video is uploaded by a main broadcaster, and when the live video is received, the video information of the live video is obtained, wherein the video information comprises the video content, the audio content, the gift flow information, the play information and the like of the live video.
S202: determining each video time point meeting a preset label distribution condition in the live video according to the video information;
in the method provided by the embodiment of the invention, whether each video time point of the video meets each preset type of label distribution condition is determined by identifying the video information.
In the method provided by the embodiment of the invention, a preset limb recognition model and a preset face recognition model are called to recognize the content of the video stream so as to determine whether each video time point meets the label distribution condition of the dancing type; calling a preset voice recognition model to recognize audio contents so as to determine whether each video time point meets the label distribution condition of the singing type; by identifying the saluting running information, saluting information corresponding to each prerecorded video time point can be determined, and the video time point with the saluting record is determined as the video time point meeting the label distribution condition of the saluting type; and determining the video time point for starting any play as the video time point meeting the label distribution condition of the play type by identifying the play information.
In the method provided by the embodiment of the invention, if it is identified that the video to be played back is singing, dancing or playing a certain method in a plurality of continuous video time points, the first video time point in the plurality of video time points is determined as the video time point meeting the label distribution condition, for example, in the time period of 20min-30min of the video, the main broadcast is singing, and the 20min time point of the video is determined as the label distribution condition meeting the singing type.
S203: distributing label information for each video time point to obtain highlight moment information of the live video, wherein the label information corresponds to the condition type of a preset label distribution condition met by the video time point.
In the method provided by the embodiment of the invention, each video time point meeting the label distribution condition is determined as a target time point.
In the method provided by the embodiment of the invention, if the video time point meets the label distribution conditions of multiple types, multiple label information is distributed to the video time point; for example, if the video time point meets the label distribution condition of the dancing type and the label distribution condition of the gift giving type, the label information of the dancing type and the label information of the gift giving type are distributed to the video time point; the label information of the gift sending type is used for representing the gift sending quantity of the video time point.
In the method provided by the embodiment of the invention, the highlight moment information is formed by the video time points of all the distributed label information.
S204: and storing the highlight moment information.
Optionally, the highlight time information may be stored in a database, or may be cached in a memory of the client.
By applying the method provided by the embodiment of the invention, the label information corresponding to each video time point can be identified by identifying the video information of the video, and the user can know which contents are contained in the video by determining the label information corresponding to each video time point, so that the user can quickly find the contents which the user is interested in.
In the live video playback method provided in the embodiment of the present invention, based on the above implementation process, specifically, the process of drawing, on the video progress bar of the video to be played back, the tag information corresponding to each video time point at the corresponding progress position of the video time point includes:
determining a tag type of each tag information;
and determining the drawing mode of the label information according to the label type of each label information, and drawing the label information at the corresponding progress position according to the drawing mode.
In the method provided by the embodiment of the invention, each piece of label information has one label type, and the label types of the label information can be the same or different; each type of label information corresponds to a drawing mode; the corresponding drawing modes of different types of label information can be the same or different. The dance type label information, the singing type label information and the playing type label information can be drawn in the same way.
According to the method provided by the embodiment of the invention, the label information is drawn at the corresponding progress position by applying different drawing modes, so that the characteristics of different types of label information can be fully considered, a plurality of display modes can be provided for a user, and the viewing experience of the user is provided.
In the live video playback method provided in the embodiment of the present invention, based on the foregoing implementation process, specifically, if the tag type of the tag information is a gift delivery type, the process of determining a drawing mode of the tag information according to the tag type of each tag information, and drawing the tag information at a progress position corresponding to the tag information according to the drawing mode may include, as shown in fig. 3:
s301: determining the label type of the label information as each video time point of the gift sending type as the gift sending video time point, and determining the gift sending quantity represented by the label information of the gift sending type of each gift sending time point.
In the method provided by the embodiment of the invention, the label information of the gift sending type can be waveform data.
S302: and generating a gift sending oscillogram according to the gift sending quantity respectively corresponding to each gift sending video time point.
In the method provided by the embodiment of the invention, a gift-offering oscillogram corresponding to the video to be played back is generated according to the waveform data of the gift-offering time point; namely, the waveform height of each video time point is determined according to the gift sending quantity corresponding to each video time point; the wave peak of the gift-offering waveform represents the gift-offering intensity of the gift-offering time point corresponding to the wave peak.
S303: and adjusting the salutation oscillogram in an equal ratio setting mode to enable the salutation oscillogram to be matched with the progress bar.
In the method provided by the embodiment of the invention, the salutation oscillogram is zoomed by applying an equal scaling mode, so that the salutation oscillogram is matched with the progress bar of the video to be played back.
S304: and drawing the adjusted salutation oscillogram on the progress bar.
In the method provided by the embodiment of the invention, the gift-offering oscillogram matched with the progress bar is drawn on the progress bar.
In the method provided by the embodiment of the invention, in live broadcasting, the gift sending quantity of the user is always in positive correlation with the wonderful degree of live broadcasting contents, so that the gift sending condition of each video time point is displayed to the user in a oscillogram mode, and the user can intuitively know which video contents of the video time points are wonderful.
In the live video playback method provided in the embodiment of the present invention, based on the above implementation process, specifically, the playing the video to be played back and displaying the progress bar on which each piece of tag information is drawn includes:
acquiring the watching habit information of the user;
determining the display priority of each piece of label information based on the watching habit information;
and displaying a progress bar drawn with the label information according to the display priority.
In the method provided by the embodiment of the invention, the watching habit information of the user refers to the preference degree of the user for watching the video type, if the user likes to watch the dancing type live broadcast at ordinary times, the display priority of the label information with the dancing type is higher, and when the video is played for the user, the label prompt can be added to the video time point corresponding to the dancing type label information.
In the method provided by the embodiment of the invention, the watching habit information of the user is analyzed, and whether the user frequently watches dance live broadcast, singing live broadcast, playing live broadcast and gift live broadcast is respectively determined; if dance live broadcast is watched frequently, the display priority of the label information of which the type is determined to be the dance type is higher, and a label prompt is added to the dance type label information, so that a plurality of label information with higher priority can exist. According to the watching preference of the user, the tag information which is interested by the user is shown for the user, so that the user can quickly find the interested content.
In the live video playback method provided by the embodiment of the present invention, based on the implementation process, specifically, the obtaining of the viewing habit information of the user includes:
acquiring historical statistical data of the user;
and analyzing the video types, the watching duration and the gift sending records of the historical watching videos contained in the historical statistical data to obtain the watching habit information of the user on each video type.
In the method provided by the embodiment of the invention, the historical statistical data of the user is analyzed, and the usual watching habit information of the user can be obtained. By determining the watching habit information of the user, the video content liked by the user can be determined, so that the tag information interested by the user can be displayed on the corresponding progress position of the progress bar for the user, and the video watching experience of the user is improved.
In a specific application process, when a user triggers a live video playback instruction through a visual page, a client responds to the live video playback instruction sent by the user to acquire a video to be played back and pre-stored highlight moment information corresponding to the video to be played back; determining a progress position corresponding to each video time point on a video progress bar of the video to be played back; on the video progress bar of the video to be played back, drawing the label information corresponding to each video time point on the progress position corresponding to the label information; and playing the video to be played back, and displaying the progress bar drawn with the label information.
As shown in fig. 4, an exemplary diagram provided for the embodiment of the present invention shows a playing device 401, a playing page 402, and a progress bar 403 drawn with tag information; when a video to be played back is played through the playing device 401, a progress bar 403 with label information drawn is displayed in the playing page 402;
the waveform diagram on the progress bar 403 is a gift-giving waveform diagram, the labeling points on the progress bar 403 may be singing type labels, dance type label information or playing type label information, and the labeling points with different colors and shapes may be used to represent the types of different label information; when a user is detected to trigger a prompt instruction corresponding to the mark point, a prompt of the label information corresponding to the mark point is popped up, and the watching habit information of the user can be acquired. By applying the method provided by the embodiment of the invention, the label information which is interested by the user can be displayed on the corresponding progress position of the progress bar for the user, and the video watching experience of the user is improved.
In the specific implementation process of the embodiment of the invention, the live playback video uploaded by the anchor can be regularly processed by the server every day, as shown in fig. 5, information of the live playback video is obtained, video stream content is identified, audio stream content is identified, salutation stream delivery information of the anchor is obtained, a playing method in progress of the anchor is obtained, currently identified or obtained label information and video time points are recorded, the video time points and corresponding label information are mapped to form highlight moment information of the video, and the highlight moment information is stored in a database so that when a client accesses the video, the highlight moment information of the time points is issued to a protocol. The client sends a video request to the server, the server obtains the watching habit information of the current user through the statistical data of the user, and sends the video corresponding to the video request, the highlight moment information of the video and the watching habit information of the user to the client. As shown in fig. 6, when the client acquires the information corresponding to the video request, the information is analyzed, highlight time and a label are drawn to a time point corresponding to a progress bar, when a user enters a live broadcast room, a prompt is preferentially popped up, and label information is displayed; meanwhile, after the client acquires the information, the client analyzes the corresponding information to acquire the waveform data at the corresponding time point, the client converts the waveform data into the height of a waveform diagram, and then performs geometric scaling to draw all the waveform data above the progress bar at the corresponding time point.
The above specific implementations and the derivation processes of the implementations are all within the scope of the present invention.
Corresponding to the method described in fig. 1, an embodiment of the present invention further provides a live video playback apparatus, which is used for implementing the method in fig. 1 specifically, and the live video playback apparatus provided in the embodiment of the present invention may be applied to a computer terminal or various mobile devices, and a schematic structural diagram of the live video playback apparatus is shown in fig. 7, and specifically includes:
an obtaining unit 501, configured to obtain a video to be played back and pre-stored highlight time information corresponding to the video to be played back when a live video playback instruction sent by a user is received, where the highlight time information includes each piece of tag information of the video to be played back and a video time point corresponding to each piece of tag information in the video to be played back;
a determining unit 502, configured to determine, on a video progress bar of the video to be played back, a progress position corresponding to each video time point;
a drawing unit 503, configured to draw, on a video progress bar of the video to be played back, label information corresponding to each video time point at a progress position corresponding to the label information;
a playing unit 504, configured to play the video to be played back, and display a progress bar on which each piece of the tag information is drawn.
The live video playback device provided by the embodiment of the invention obtains a video to be played back and pre-stored highlight moment information corresponding to the video to be played back by responding to a live video playback instruction sent by a user, wherein the highlight moment information comprises each label information of the video to be played back and a video time point corresponding to each label information in the video to be played back; determining a progress position corresponding to each video time point on a video progress bar of the video to be played back; on the video progress bar of the video to be played back, drawing the label information corresponding to each video time point on the progress position corresponding to the label information; and playing the video to be played back, and displaying the progress bar drawn with the label information. Highlight moment information of a video to be played back can be obtained, a progress bar is drawn according to the highlight moment information, a user can find interesting contents quickly according to the progress bar, and watching experience of the user is improved.
The device provided by the embodiment of the invention further comprises:
the receiving unit is used for acquiring video information of the video to be played back when the uploaded video to be played back is received, wherein the video information comprises video stream content, audio content, gift flow information and playing information of the video to be played back;
the identification unit is used for identifying the video information so as to determine whether each video time point of the video to be played back meets each preset type of label distribution condition;
the execution unit is used for determining the video time point meeting the label distribution condition in the video to be played back as a target video time point;
the distribution unit is used for distributing label information to each target video time point according to the type of the label distribution condition met by the target video time point so as to obtain highlight moment information of the video to be played back;
and the storage unit is used for storing the highlight moment information.
In the apparatus provided in the embodiment of the present invention, the drawing unit 503 includes:
a first determining subunit, configured to determine a tag type of each tag information;
and the first drawing subunit is used for determining the drawing mode of the label information according to the label type of each label information and drawing the label information at the corresponding progress position according to the drawing mode.
In the apparatus provided in the embodiment of the present invention, the drawing unit 503 includes:
the second determining subunit is used for determining the label type of the label information as each video time point of the gift sending type as a gift sending video time point, and determining the gift sending quantity represented by the label information of the gift sending type of each gift sending time point;
the generation subunit is used for generating a gift sending oscillogram according to the gift sending quantity respectively corresponding to each gift sending video time point;
the matching subunit is used for adjusting the salutation oscillogram in an equal ratio setting mode to enable the salutation oscillogram to be matched with the progress bar;
and the second drawing subunit is used for drawing the adjusted salutation oscillogram onto the progress bar.
In the apparatus provided in the embodiment of the present invention, the playing unit 504 includes:
the obtaining subunit is used for obtaining the watching habit information of the user;
the third determining subunit is configured to determine, according to the viewing habit information, a display priority of each piece of tag information;
and the display unit is used for displaying the progress bar drawn with the label information according to the display priority.
In the apparatus provided in the embodiment of the present invention, the obtaining subunit includes:
the execution subunit is used for acquiring historical statistical data of the user;
and the analysis subunit is used for analyzing the video types, the watching durations and the gift sending records of the historical watching videos contained in the historical statistical data to obtain the watching habit information of the user on each video type.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the device where the storage medium is located is controlled to execute the live video playback method.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 8, which specifically includes a memory 601 and one or more instructions 602, where the one or more instructions 602 are stored in the memory 601 and configured to be executed by one or more processors 603 to perform the following operations on the one or more instructions 602:
responding to a live video playback instruction sent by a user, and acquiring videos to be played back and pre-stored highlight moment information corresponding to the videos to be played back, wherein the highlight moment information comprises each label information of the videos to be played back and a video time point corresponding to each label information in the videos to be played back;
determining a progress position corresponding to each video time point on a video progress bar of the video to be played back;
on the video progress bar of the video to be played back, drawing the label information corresponding to each video time point on the progress position corresponding to the label information;
and playing the video to be played back, and displaying the progress bar drawn with the label information.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The method and the device for playing back the live video provided by the invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A live video playback method, comprising:
responding to a live video playback instruction sent by a user, and acquiring videos to be played back and pre-stored highlight moment information corresponding to the videos to be played back, wherein the highlight moment information comprises each label information of the videos to be played back and a video time point corresponding to each label information in the videos to be played back;
determining a progress position corresponding to each video time point on a video progress bar of the video to be played back;
on the video progress bar of the video to be played back, drawing the label information corresponding to each video time point on the progress position corresponding to the video time point according to the corresponding preset drawing mode; the preset drawing mode is related to the type of the label information, and the drawing modes corresponding to different types of label information are different;
playing the video to be played back, and displaying a progress bar drawn with the label information;
wherein the playing the video to be played back and displaying the progress bar drawn with the label information includes:
acquiring the watching habit information of the user; the watching habit information of the user refers to the preference degree of the user for watching each video type;
determining the display priority of each piece of label information based on the watching habit information;
and displaying a progress bar drawn with the label information according to the display priority.
2. The method of claim 1, wherein the storing of the highlight moment information comprises:
when an uploaded live video is received, acquiring video information of the live video, wherein the video information comprises video stream content, audio content, gift flow information and playing method information of the live video;
determining each video time point meeting a preset label distribution condition in the live video according to the video information;
distributing label information for each video time point to obtain highlight moment information of the live video, wherein the label information corresponds to the condition type of a preset label distribution condition met by the video time point;
and storing the highlight moment information.
3. The method according to claim 1, wherein the step of drawing the tag information corresponding to each video time point on the video progress bar of the video to be played back at the progress position corresponding to the video time point comprises:
determining a tag type of each tag information;
and determining the drawing mode of the label information according to the label type of each label information, and drawing the label information at the corresponding progress position according to the drawing mode.
4. The method of claim 3, wherein if the tag type of the tag information is a gift sending type, determining a drawing mode of the tag information according to the tag type of each tag information, and drawing the tag information at a corresponding progress position according to the drawing mode, comprises:
determining each video time point with the label type of the label information as a gift sending type as a gift sending video time point, and determining the gift sending quantity represented by the label information of the gift sending type of each gift sending time point;
generating a gift sending oscillogram according to the gift sending quantity respectively corresponding to each gift sending video time point;
adjusting the salutation oscillogram in an equal ratio setting mode to enable the salutation oscillogram to be matched with the progress bar;
and drawing the adjusted salutation oscillogram on the progress bar.
5. The method of claim 1, wherein obtaining the viewing habit information of the user comprises:
acquiring historical statistical data of the user;
and analyzing the video types, the watching duration and the gift sending records of the historical watching videos contained in the historical statistical data to obtain the watching habit information of the user on each video type.
6. A live video playback apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a video to be played back and pre-stored highlight time information corresponding to the video to be played back when receiving a live video playback instruction sent by a user, and the highlight time information comprises each piece of label information of the video to be played back and a video time point corresponding to each piece of label information in the video to be played back;
the determining unit is used for determining a progress position corresponding to each video time point on a video progress bar of the video to be played back;
the drawing unit is used for drawing the label information corresponding to each video time point on the progress position corresponding to the video time point according to the corresponding preset drawing mode on the video progress bar of the video to be played back; the preset drawing mode is related to the type of the label information, and the drawing modes corresponding to different types of label information are different;
the playing unit is used for playing the video to be played back and displaying a progress bar drawn with the label information;
wherein the playing the video to be played back and displaying the progress bar drawn with the label information includes:
acquiring the watching habit information of the user; the watching habit information of the user refers to the preference degree of the user for watching each video type;
determining the display priority of each piece of label information based on the watching habit information;
and displaying a progress bar drawn with the label information according to the display priority.
7. The apparatus of claim 6, further comprising:
the receiving unit is used for acquiring video information of the live broadcast video when the uploaded live broadcast video is received, wherein the video information comprises video stream content, audio content, gift delivery flow information and playing method information of the live broadcast video;
the determining unit is used for determining each video time point meeting the preset label distribution condition in the live video according to the video information;
the distribution unit is used for distributing label information for each video time point to obtain highlight moment information of the live video, wherein the label information corresponds to the condition type of a preset label distribution condition met by the video time point;
and the storage unit is used for storing the highlight moment information.
8. A storage medium comprising a stored program, wherein a device on which the storage medium is located is controlled to perform a live video playback method as claimed in any one of claims 1 to 5 when the program is run.
9. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors for performing the live video playback method of any one of claims 1-5.
CN201910801997.3A 2019-08-28 2019-08-28 Live video playback method and device, storage medium and electronic equipment Active CN110418157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910801997.3A CN110418157B (en) 2019-08-28 2019-08-28 Live video playback method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910801997.3A CN110418157B (en) 2019-08-28 2019-08-28 Live video playback method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110418157A CN110418157A (en) 2019-11-05
CN110418157B true CN110418157B (en) 2020-11-27

Family

ID=68368912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910801997.3A Active CN110418157B (en) 2019-08-28 2019-08-28 Live video playback method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110418157B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045568B (en) * 2019-12-20 2021-05-14 腾讯科技(深圳)有限公司 Virtual article processing method, device, equipment and storage medium based on block chain
CN112084369A (en) * 2020-08-03 2020-12-15 广州数说故事信息科技有限公司 Highlight moment mining method and model based on video live broadcast
CN112423135B (en) * 2020-09-18 2023-06-30 苏宁云计算有限公司 Information processing method, apparatus, computer device and storage medium for video playback
CN112653906B (en) * 2020-12-16 2023-07-18 Vidaa美国公司 Video hot spot playing method on display equipment and display equipment
CN113207014B (en) * 2021-04-29 2023-05-12 北京百度网讯科技有限公司 Live broadcast hotspot determination method and device, electronic equipment and storage medium
CN113343055A (en) * 2021-05-31 2021-09-03 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN113490045B (en) * 2021-06-30 2024-03-22 北京百度网讯科技有限公司 Special effect adding method, device, equipment and storage medium for live video
CN113965798A (en) * 2021-10-25 2022-01-21 北京百度网讯科技有限公司 Video information generating and displaying method, device, equipment and storage medium
CN114095791A (en) * 2021-11-15 2022-02-25 广州博冠信息科技有限公司 Live broadcast playback method and device, electronic equipment and storage medium
CN117255211A (en) * 2022-02-15 2023-12-19 上海哔哩哔哩科技有限公司 Live broadcast room display method, server side and live broadcast client side
CN114760505A (en) * 2022-03-30 2022-07-15 广州方硅信息技术有限公司 Live video playback method and device, computer equipment and storage medium
CN115103213B (en) * 2022-06-10 2023-10-17 咪咕视讯科技有限公司 Information processing method, apparatus, device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027926A (en) * 2007-11-05 2016-10-12 三星电子株式会社 Image display apparatus and method of controlling the same
CN106911967A (en) * 2017-02-27 2017-06-30 北京小米移动软件有限公司 Direct playing and playback method and device
CN107241622A (en) * 2016-03-29 2017-10-10 北京三星通信技术研究有限公司 video location processing method, terminal device and cloud server
CN107454465A (en) * 2017-07-31 2017-12-08 北京小米移动软件有限公司 Video playback progress display method and device, electronic equipment
CN108737879A (en) * 2018-04-04 2018-11-02 北京潘达互娱科技有限公司 A kind of present column display methods, device, electronic equipment and storage medium
CN109922375A (en) * 2017-12-13 2019-06-21 上海聚力传媒技术有限公司 Event methods of exhibiting, playback terminal, video system and storage medium in live streaming

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540000B (en) * 2014-12-04 2017-10-17 广东欧珀移动通信有限公司 The generation method and terminal of a kind of dynamic thumbnail
US20180220197A1 (en) * 2017-01-27 2018-08-02 International Business Machines Corporation Identifying skipped offers of interest

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027926A (en) * 2007-11-05 2016-10-12 三星电子株式会社 Image display apparatus and method of controlling the same
CN107241622A (en) * 2016-03-29 2017-10-10 北京三星通信技术研究有限公司 video location processing method, terminal device and cloud server
CN106911967A (en) * 2017-02-27 2017-06-30 北京小米移动软件有限公司 Direct playing and playback method and device
CN107454465A (en) * 2017-07-31 2017-12-08 北京小米移动软件有限公司 Video playback progress display method and device, electronic equipment
CN109922375A (en) * 2017-12-13 2019-06-21 上海聚力传媒技术有限公司 Event methods of exhibiting, playback terminal, video system and storage medium in live streaming
CN108737879A (en) * 2018-04-04 2018-11-02 北京潘达互娱科技有限公司 A kind of present column display methods, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110418157A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN110418157B (en) Live video playback method and device, storage medium and electronic equipment
CN109547819B (en) Live list display method and device and electronic equipment
EP2948917B1 (en) Systems and methods for supplementing content with audience-requested information
US8737813B2 (en) Automatic content recognition system and method for providing supplementary content
KR102053128B1 (en) Live streaming image generating method and apparatus, live streaming service providing method and apparatus, live streaming system
CN110324696B (en) Live broadcast service diversion method and device, computer equipment and storage medium
US9460204B2 (en) Apparatus and method for scene change detection-based trigger for audio fingerprinting analysis
CN108352914A (en) Media content matches and index
US20130070152A1 (en) Sampled digital content based syncronization of supplementary digital content
US20100177122A1 (en) Video-Associated Objects
US20180234708A1 (en) Live streaming image generating method and apparatus, live streaming service providing method and apparatus, and live streaming system
CN104965874A (en) Information processing method and apparatus
CN110944226B (en) Network Karaoke system, lyric display method in Karaoke scene and related equipment
WO2018059333A1 (en) Method, system, electronic device, and storage medium for processing media information
CN104918071A (en) Video playing method, device and terminal equipment
CN110536147B (en) Live broadcast processing method, device and system
US20150026744A1 (en) Display system, display apparatus, display method, and program
CN104866477B (en) Information processing method and electronic equipment
WO2017008498A1 (en) Method and device for searching program
CN111008287B (en) Audio and video processing method and device, server and storage medium
JP6069246B2 (en) Information processing apparatus, information processing apparatus control method, and program
CN114449301B (en) Item sending method, item sending device, electronic equipment and computer-readable storage medium
CN114245229A (en) Short video production method, device, equipment and storage medium
CN113613076B (en) Video playing method, device, system, terminal and storage medium
CN110582011A (en) Method and system for generating customized video associated with advertisement

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210119

Address after: 510000 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 28th floor, block B1, Wanda Plaza, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.