WO2022100724A1 - 视频回放方法及装置 - Google Patents

视频回放方法及装置 Download PDF

Info

Publication number
WO2022100724A1
WO2022100724A1 PCT/CN2021/130548 CN2021130548W WO2022100724A1 WO 2022100724 A1 WO2022100724 A1 WO 2022100724A1 CN 2021130548 W CN2021130548 W CN 2021130548W WO 2022100724 A1 WO2022100724 A1 WO 2022100724A1
Authority
WO
WIPO (PCT)
Prior art keywords
media file
streaming media
highlight
time period
highlights
Prior art date
Application number
PCT/CN2021/130548
Other languages
English (en)
French (fr)
Inventor
汤晓
Original Assignee
北京达佳互联信息技术有限公司
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 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2022100724A1 publication Critical patent/WO2022100724A1/zh

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

Definitions

  • the present disclosure relates to the technical field of streaming media file processing, and in particular, to a video playback method, apparatus, electronic device, and storage medium.
  • Online video live broadcast is a live broadcast service using network resources. Through the on-site video shooting and uploading to the network synchronously, users can see the first-time live information on the network at the same time.
  • the present disclosure provides a video playback method, device, electronic device and storage medium.
  • the embodiments of the present disclosure provide a video playback method.
  • the method includes: in the process of displaying a streaming media file, when it is detected that there is a highlight clip in the streaming media file, in the streaming media file.
  • the display interface of the file displays prompt information, the prompt information is used to prompt the existence of a highlight; in response to a trigger operation of the prompt information, the highlight is acquired; the highlight is played back on the display interface of the streaming media file.
  • the video playback method provided by the present disclosure can display prompt information that can trigger the acquisition of highlights during the presentation of streaming media files, so as to realize playback of highlights during the presentation of streaming media files and improve user experience.
  • the above-mentioned detecting that there are highlights in the streaming media file includes: receiving indication information from a server, where the indication information is used to indicate that there are highlights in the streaming media file; parsing the indication information, and determining the streaming media Highlights exist for the file.
  • the above-mentioned indication information includes a target time period, and the indication information is specifically used to indicate that the streaming media file has a highlight segment in the target time period.
  • the above-mentioned detecting that there are highlights in the streaming media file includes: determining a peak time period of the number of comment messages of the streaming media file; in the comment messages generated within the peak time period If the preset text is included, it is determined that there are highlights in the streaming media file during the peak time period.
  • the above-mentioned detecting that there are highlights in the streaming media file includes: determining a peak time period of the number of virtual items that generate the streaming media file; determining that there are highlights in the streaming media file during the peak time period Fragment.
  • the above-mentioned detecting that there is a highlight segment in the streaming media file includes: determining a time period in which the streaming media file includes the preset behavior; and determining that the streaming media file has a highlight segment in the time segment.
  • the above-mentioned displaying prompt information on the display interface of the streaming media file includes: determining the position of the time period corresponding to the highlight in the progress bar of the display interface of the streaming media file; the The progress bar is used to represent the display duration of the streaming media file; the prompt information is displayed at this position.
  • the above-mentioned playback of the highlight on the display interface of the streaming media file includes: popping up a display panel on the display interface of the streaming media file, and playing back the highlight on the display panel.
  • the above-mentioned playback of the highlight segment on the display panel includes: in response to the rate adjustment operation performed on the highlight segment, acquiring a playback rate corresponding to the rate adjustment operation; Play back the highlight in the panel.
  • the playback rate of the highlights can be adjusted, which further improves the user experience.
  • obtaining the highlight in response to the triggering operation on the prompt information includes: sending a request message to the server in response to the triggering operation on the prompt information, where the request message is used to obtain the highlight Highlights; receive highlights from the server.
  • the embodiments of the present disclosure provide a method for displaying highlight clips, which is characterized in that, when applied to a server, the method includes: in the process of displaying a streaming media file, determining that the streaming media file exists Highlights; sending indication information to the terminal device, where the indication information is used to instruct the terminal device to display prompt information corresponding to the highlight.
  • the method for displaying a highlight segment provided by the embodiment of the present disclosure can determine that there is a highlight segment in the streaming media during the presentation of the streaming media file, and indicate information to the terminal device, thereby realizing the display of the highlight segment during the display process of the streaming media file.
  • the corresponding prompt information improves the user experience.
  • the above-mentioned indication information includes a target time period, and the indication information is specifically used to indicate that there are highlights in the streaming media file in the target time period.
  • the above-mentioned determining that there are highlights in the streaming media file includes: determining a peak time period of the number of comment messages of the streaming media file; the comment messages generated within the peak time period include a preset In the case of text, it is determined that there are highlights in the streaming media file during the peak time period.
  • the above-mentioned determining that there are highlights in the streaming media file includes: determining a peak time period of the number of virtual items that generate the streaming media file; determining that the streaming media file has highlights in the peak time period Fragment.
  • the above-mentioned determining that the streaming media file has a highlight segment includes: determining a time period in which the streaming media file includes the preset behavior; and determining that the streaming media file has a highlight segment in the time segment.
  • the display method further includes: acquiring a highlight segment; and sending an identifier of the highlight segment to the terminal device.
  • the display method further includes: receiving a request for a highlight segment from a terminal device; the request includes an identifier of the highlight segment; acquiring the highlight segment according to the request; sending the highlight segment to the terminal device; The clip is used for the terminal device to play back the highlight clip on the presentation interface of the streaming media file.
  • the embodiments of the present disclosure provide a video playback device, the video playback device includes: a display module configured to detect that the streaming media file exists in the presentation process of the streaming media file. In the case of clips, prompt information is displayed on the display interface of the streaming media file, and the prompt information is used to prompt the existence of the highlight; the acquiring module is configured to respond to the trigger operation of the prompt information, and acquire the highlight; playback; The module is configured to play back the highlight clip on the presentation interface of the streaming media file.
  • the video playback apparatus further includes: a receiving module, configured to receive indication information from the server, where the indication information is used to represent that there are highlights in the streaming media file; a parsing module, configured to parse the indication information , and confirms that there are highlights for the streaming file.
  • the indication information includes a target time period, and the indication information is specifically used to indicate that the streaming media file has a highlight segment in the target time period.
  • the display module is specifically configured to: determine a peak time period of the number of comment messages of the streaming media file;
  • the comment message generated in the peak time period includes preset text
  • the display module is specifically configured to: determine a peak time period of the number of virtual items that generate the streaming media file; and determine that there are highlights in the streaming media file during the peak time period.
  • the display module is specifically configured to: determine a time period in which the streaming media file includes the preset behavior; and determine that there are highlights in the streaming media file in the time period.
  • the display module is specifically configured to: determine the position of the time period corresponding to the highlight in the progress bar of the display interface of the streaming media file; the progress bar is used to represent the display duration of the streaming media file ; display the prompt at that location.
  • the playback module is specifically configured to: pop up a display panel on the presentation interface of the streaming media file, and play back the highlight in the display panel.
  • the playback module is specifically configured to: in response to the rate adjustment operation performed on the highlight segment, obtain a playback rate corresponding to the rate adjustment operation; and play back the highlight segment in the display panel according to the acquired playback rate .
  • the obtaining module is configured to: in response to the triggering operation on the prompt information, send a request message to the server, where the request message is used to obtain the highlight segment; and receive the highlight segment from the server.
  • the embodiments of the present disclosure provide a server, which is characterized by comprising: a determining module configured to determine, during the presentation process of the streaming media file, that there are highlights in the streaming media file; sending The module is configured to send indication information to the terminal device, where the indication information is used to instruct the terminal device to display prompt information corresponding to the highlight.
  • the above-mentioned indication information includes a target time period, and the above-mentioned indication information is specifically used to indicate that the streaming media file has a highlight segment in the target time period.
  • the determining module is specifically configured to: determine a peak time period of the number of comment messages of the streaming media file;
  • the comment message generated in the peak time period includes preset text
  • the determining module is specifically configured to: determine a peak time period of the number of virtual items generating the streaming media file; and determine that there are highlights in the streaming media file during the peak time period.
  • the determining module is specifically configured to: determine a time period in which the streaming media file includes the preset behavior; and determine that there are highlights in the streaming media file in the time period.
  • the server further includes: an acquiring module, configured to acquire a highlight; a sending module, further configured to send an identifier of the highlight to the terminal device.
  • the server further includes: a receiving module configured to receive a request from the terminal device for a highlight; the request includes an identifier of the highlight; the obtaining module is further configured to: obtain the highlight according to the request; The sending module is further configured to: send the highlight clip to the terminal device; the highlight clip is used for the terminal device to play back the highlight clip on the presentation interface of the streaming media file.
  • an electronic device comprising: a processor; and a memory for storing instructions executable by the processor.
  • the processor is configured to execute the instructions, so as to implement the video playback method shown in any possible implementation manner of the first aspect to the fourth aspect.
  • a computer-readable storage medium when instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute any one of the first to second aspects A possible implementation of the video playback method shown.
  • a computer program product is provided, which can be directly loaded into an internal memory of an electronic device and contains software codes. After the computer program is loaded and executed through the electronic device, the first aspect to the The video playback method shown in any possible implementation manner of the second aspect.
  • Any video playback device, server, electronic device, computer-readable storage medium or computer program product provided above is used to execute the corresponding method provided above, which can realize that the display can trigger the display during the presentation of the streaming media file.
  • the prompt information of the highlight clip is obtained, so that the highlight clip can be played during the display process of the streaming media file, and the user experience is improved.
  • FIG. 1 is a schematic diagram showing the structure of a system to which the present disclosure is applicable according to an exemplary embodiment
  • FIG. 2 is a schematic flowchart of a video playback method according to an exemplary embodiment
  • FIG. 3 is a schematic diagram showing a prompt information display according to an exemplary embodiment
  • FIG. 4A is a schematic diagram showing another prompt information display according to an exemplary embodiment
  • FIG. 4B is a schematic diagram of displaying a highlight segment in a highlight segment display form according to an exemplary embodiment
  • FIG. 5 is a schematic flowchart of a video playback method according to an exemplary embodiment
  • FIG. 6 is a block diagram of a video playback device according to an exemplary embodiment
  • FIG. 7 is a block diagram of a server according to an exemplary embodiment
  • Fig. 8 is a block diagram of an electronic device according to an exemplary embodiment.
  • words such as “exemplary” or “such as” are used to represent examples, illustrations, or illustrations. Any embodiments or designs described in the embodiments of the present disclosure as “exemplary” or “such as” should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as “exemplary” or “such as” is intended to present the related concepts in a specific manner.
  • At least one refers to one or more.
  • “Plural” means two or more.
  • the streaming media file may be audio or video
  • live audio refers to synchronously uploading the live audio recording to the network, so that the user can hear the first live audio on the network at the same time.
  • Live video refers to the simultaneous upload to the network through on-site video shooting, and users can see the first-time live information on the network at the same time.
  • FIG. 1 is a schematic diagram showing the structure of a system to which the present disclosure is applicable, according to an exemplary embodiment.
  • the system may include a terminal device 110 and a server 120, and the terminal device 110 may establish a connection with the server 120 through a wireless network or a wired network.
  • the terminal device 110 is a device used by a user, and an application for displaying streaming media files is installed on it.
  • the terminal device can run the application for displaying the streaming media file to display the streaming media file and play back the highlights obtained by the method provided by the present disclosure.
  • the terminal device 110 may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, a portable computer, etc., which is not limited in the present disclosure.
  • the server 120 is mainly used for storing streaming media file resources and highlights resources.
  • the server 120 may be one server, or may also be a server cluster composed of multiple servers, which is not limited in the present disclosure.
  • the video playback method provided by the embodiments of the present disclosure can be applied to a terminal device or a server.
  • the terminal devices include but are not limited to mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted terminals, and the like.
  • the server may be one server, or may also be a server cluster composed of multiple servers, which is not limited in the present disclosure.
  • FIG. 2 is a schematic flowchart of a video playback method according to an exemplary embodiment.
  • the method shown in FIG. 2 can be applied to the system shown in FIG. 1 .
  • the method shown in Figure 2 may include the following steps:
  • the terminal device 110 displays prompt information on the presentation interface of the streaming media file when it detects that there are highlights in the streaming media file.
  • the prompt information is used to prompt the existence of a highlight clip.
  • the terminal device 110 acquires a highlight in response to a triggering operation on the prompt information.
  • the terminal device 110 plays back the highlight clip on the display interface of the streaming media file.
  • the terminal device 110 detects that a highlight segment exists in the streaming media file, and then generates prompt information according to the highlight segment, and displays the prompt information on the display interface of the streaming media file.
  • the detection of the presence of highlights in the streaming media file includes the following implementations:
  • Step 1 The terminal device 110 receives indication information from the server 120, where the indication information is used to indicate that there are highlights in the streaming media file.
  • Step 2 The terminal device 110 parses the indication information, and determines that there are highlights in the streaming media file.
  • the terminal device 110 parses the indication information, obtains the identification information of the highlight segment, and determines that there is a highlight segment in the streaming media file.
  • the terminal device parses the indication information to obtain a target time period, where the indication information is specifically used to represent that the streaming media file has a highlight segment in the target time period.
  • the terminal device 110 determines a peak time period of the number of comment messages of the streaming media file, and when the comment messages generated within the peak time period include preset text, determine the stream The media file has highlights during this peak time period.
  • the terminal device 110 may count the number of comment messages of the streaming media file at each moment, and obtain the peak time period of the number of comment messages, and then the terminal device 110 determines that the number of comment messages generated in the peak time period is in the Whether the preset text is included, and if so, it is determined that there are highlights in the streaming media file during the peak time period.
  • the terminal device 110 determines a peak time period of the number of virtual items that generate the streaming media file, and determines that the streaming media file has a highlight segment in the peak time period.
  • the terminal device 110 may count the number of virtual items in the streaming media file at each moment to obtain a peak time period of the number of generated virtual items, and the terminal device 110 determines the peak time period as the target time period.
  • the terminal device 110 determines the time period in which the preset behavior is included in the streaming media file. It is determined that there are highlights in the streaming media file in this time period.
  • the terminal device 110 receives the time period in which the preset behavior occurs and is sent by the server, and determines that there are highlights in the streaming media file in the time period. In another possible implementation manner, the terminal device 110 identifies a time period in the streaming media file in which a preset event occurs, and determines that the streaming media file has a highlight segment in the time period. In one example, after recognizing the killing behavior, the game server sends the time period during which the killing behavior occurs to the terminal device 110 .
  • the prompt information is generated according to the highlight segment, and the implementation manner of displaying the prompt information on the display interface of the streaming media file may be: determining the position of the time period corresponding to the highlight segment in the progress bar of the display interface of the streaming media file, wherein, The progress bar is used to represent the display duration of the streaming media file.
  • the prompt information is displayed at the corresponding position in the progress bar.
  • the prompt information can be a specific shape on the progress bar (eg: black dot, red dot, red star, etc.).
  • a schematic diagram of displaying prompt information the position of the black dot in the progress bar is the position of the prompt information.
  • the time points of the highlights of the streaming media file are visually displayed on the progress bar (or called the time axis). It makes it easy for users to see the time points of the highlights of the streaming media file.
  • the terminal device displays prompt information in a tab corresponding to a tab page of a highlight display page of the display interface of the streaming media file.
  • prompt information is displayed on the tab page, which can guide the user to click to view the list information of the highlights of the streaming media file.
  • the terminal device corresponds to the tab of the tab page of the highlight display page of the display interface of the streaming media file (the highlight tab in FIG. 4A ) A star-shaped reminder message is displayed in the .
  • the terminal device 110 acquires the highlight corresponding to the prompt information in response to the triggering operation on the prompt information.
  • the embodiment of the present disclosure does not limit the manner of acquiring the highlight corresponding to the prompt information.
  • the server 120 stores the highlight corresponding to the prompt information, and the terminal device 110 sends a request message to the server 120 , to obtain the highlight corresponding to the prompt information.
  • the terminal device 110 stores the highlight segment corresponding to the prompt information, and the terminal device 110 obtains the local highlight segment corresponding to the prompt information.
  • the terminal device 110 in response to the click operation on the prompt information, sends a request message carrying the address of the highlight to the server 120, and the server 120 obtains the highlight according to the address of the highlight and sends the highlight to the terminal device 110. .
  • the terminal device 110 receives the highlight.
  • the terminal device 110 pops up a display panel on the presentation interface of the streaming media file, and plays back the highlight in the display panel.
  • the terminal device 110 pops up a first display panel on the display interface of the streaming media file, and the display panel displays resource information of at least one highlight included in the streaming media file.
  • Resource information for a highlight includes the cover of the highlight and a brief introduction to the highlight.
  • the terminal device 110 pops up the second display panel in response to the opening operation of the highlight, and plays back the highlight in the second display panel.
  • FIG. 4B is a schematic diagram of displaying highlights in a highlight display form shown in an exemplary embodiment.
  • the terminal device displays the streaming media file in the display interface tab page panel The Highlights tab pops up, and then the end device displays the highlight in the tab board.
  • the terminal device displays the highlight clip in the tab page board, without affecting the display of the streaming media file.
  • a video playback method of the present disclosure may further include:
  • the terminal device 110 in response to the rate adjustment operation performed on the highlight segment, acquires the playback rate corresponding to the rate adjustment operation.
  • a video playback method of the present disclosure may further include:
  • the terminal device 110 plays back the highlight in the display panel according to the acquired playback rate.
  • the terminal device 110 when the terminal device 110 detects a highlight during the presentation of the streaming media file, prompt information is displayed on the display interface of the streaming media file, so that the terminal device 110 can respond to the prompt information during the presentation of the streaming media file.
  • the trigger operation realizes playback of highlights on the display interface of the streaming media file, thereby improving user experience.
  • FIG. 5 is a schematic flowchart of a video playback method according to an exemplary embodiment.
  • the method shown in FIG. 5 can be applied to the system shown in FIG. 1 .
  • the method shown in Figure 5 may include the following steps:
  • the server 120 sends indication information to the terminal device 110.
  • the indication information is used to instruct the terminal device 110 to display prompt information corresponding to the highlight segment.
  • the terminal device 110 displays prompt information in the presentation interface of the streaming media file, where the prompt information is used to prompt that there are highlights in the target time period.
  • the terminal device 110 sends a request message to the server 120 in response to the triggering operation on the prompt information. This request message is used to fetch the highlights.
  • S205 The server 120 obtains the highlight according to the request message.
  • S206 The server 120 sends the acquired highlight clip to the terminal device 110.
  • S207 The terminal device 110 plays back the highlights on the presentation interface of the streaming media file.
  • the server 120 determines a peak time period of the number of comment messages of the streaming media file, and if the comment messages generated within the peak time period include preset text, it is determined that the streaming media file is at the peak time period. There are highlights in the time period.
  • the server 120 may count the number of comment messages at each moment of the streaming media file to obtain a peak time period of the number of comment messages, and then the server 120 determines whether the comment messages generated during the peak time period include Preset text, if yes, it is determined that there are highlights in the streaming media file during the peak time period.
  • the server 120 can also obtain the proportion of the number of comment messages including the preset text in the comment messages generated during the peak time period, and if the proportion is greater than a threshold, it is determined that the streaming media file is in the peak time period. Highlights exist.
  • the number of comment messages generated by the server 120 during the peak time period includes 666, awesome, show, or Niubi, etc., accounting for the total number of comment messages generated during the peak time period. In more than 50% of cases, the server 120 determines that there are highlights in the streaming media file during the peak time period.
  • the server determines a peak time period of the number of virtual items, and determines that there are highlights in the streaming media file during the peak time period of the number of virtual items.
  • the server 120 may count the number of virtual items in the streaming media file at each moment to obtain a peak time period of the number of generated virtual items, and the server 120 determines that the streaming media file has highlights in the peak time period.
  • the server 120 determines a time period in which the preset behavior occurs, and determines that there are highlights in the streaming media file in the time period in which the preset behavior occurs.
  • the embodiment of the present disclosure does not limit the manner in which the server 120 determines the time period in which the preset behavior occurs.
  • the server 120 receives the time period in which the preset behavior occurs sent by the partner server.
  • the server 120 itself can identify the time period in which the preset behavior occurs in the streaming media file.
  • the cooperative game server sends the time period in which the killing behavior occurs to the local server 120 .
  • the server 120 may acquire the highlight segment according to the time period in which the highlight segment exists in the streaming media file, and store the acquired highlight segment.
  • the indication information includes a target time period, and the indication information is specifically used to indicate that there are highlights in the streaming media file in the target time period.
  • the terminal device 110 first determines the position of the target time period in the progress bar of the display interface of the streaming media file, where the progress bar is used to represent the live broadcast duration of the streaming media file. Then, the terminal device 110 displays prompt information at the position of the target time period in the progress bar of the display interface of the streaming media file.
  • the terminal device 110 displays prompt information in a tab corresponding to the tab page of the highlight segment display page of the display interface of the streaming media file.
  • the request message includes the target time period and the identifier of the streaming media file.
  • the request message includes an identifier of a highlight corresponding to the target time period.
  • the server 120 obtains the highlight corresponding to the identifier of the highlight.
  • the server 120 obtains the segment of the streaming media file corresponding to the identifier of the streaming media file within the target time period to obtain the highlight segment.
  • a video playback method of the present disclosure may further include:
  • the terminal device 110 in response to the rate adjustment operation performed on the highlight segment, acquires the playback rate corresponding to the rate adjustment operation.
  • the terminal device 110 plays back the highlight in the display panel according to the acquired playback rate.
  • the server 120 after the server 120 determines that there are highlights in the streaming media file during the presentation of the streaming media file, the server 120 sends indication information to the terminal device 110, so that the terminal device 110 can display the information that can be displayed during the presentation of the streaming media file. Trigger to obtain the prompt information of the highlight clip, so as to realize the playback of the highlight clip during the display process of the streaming media file, and improve the user experience.
  • the terminal device or the server can be divided into functional modules according to the above method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present disclosure is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
  • Fig. 6 is a block diagram of a video playback device according to an exemplary embodiment.
  • the video playback apparatus 60 includes a display module 601 , an acquisition module 602 and a playback module 603 , and in some embodiments, the terminal device 110 further includes a receiving module 604 and a parsing module 605 .
  • the display module 601 is configured to display prompt information on the display interface of the streaming media file when it is detected that there is a highlight clip in the streaming media file during the presentation process of the streaming media file, and the prompt information is used to prompt the existence of the streaming media file.
  • the acquiring module 602 is configured to acquire the highlight in response to the triggering operation on the prompt information
  • the playback module 603 is configured to play back the highlight on the display interface of the streaming media file.
  • the display module 601 can be used to execute S100
  • the acquisition module 602 can be used to execute S101.
  • the playback module 603 can be used to perform S102. 5
  • the display module 601 can be used to perform S203
  • the acquisition module 602 can be used to perform the receiving step in S206, and S208
  • the playback module 603 can be used to perform S207 and S209.
  • the receiving module 604 is configured to receive indication information from the server, where the indication information is used to indicate that the streaming media file has a highlight segment; the parsing module 605 is configured to parse the indication information and determine the stream Highlights exist for media files.
  • the indication information includes a target time period, and the indication information is specifically used to indicate that the streaming media file has a highlight segment in the target time period.
  • the display module 601 is specifically configured to: determine a peak time period of the number of comment messages of the streaming media file; in the case that the comment messages generated within the peak time period include preset text, determine the stream The media file has highlights during this peak time period.
  • the display module 601 is specifically configured to: determine a peak time period of the number of virtual items that generate the streaming media file; and determine that there are highlights in the streaming media file during the peak time period.
  • the display module 601 is specifically configured to: determine a time period in which the streaming media file includes the preset behavior; and determine that the streaming media file has a highlight segment in the time period.
  • the display module 601 is specifically configured to: determine the position of the time period corresponding to the highlight in the progress bar of the display interface of the streaming media file; the progress bar is used to represent the display of the streaming media file Duration; display the prompt at this location.
  • the playback module 603 is specifically configured to: pop up a display panel on the presentation interface of the streaming media file, and play back the highlight in the display panel.
  • the playback module 603 is specifically configured to: in response to the rate adjustment operation performed on the highlight segment, obtain a playback rate corresponding to the rate adjustment operation; and play back the highlight in the display panel according to the acquired playback rate Fragment.
  • the obtaining module 602 is configured to: in response to the triggering operation on the prompt information, send a request message to the server, where the request message is used to obtain the highlight segment; and receive the highlight segment from the server.
  • Fig. 7 is a block diagram of a server according to an exemplary embodiment.
  • the server 120 includes a determining module 701 and a sending module 702 , and in some embodiments, the server 120 further includes an obtaining module 703 and a receiving module 704 .
  • the determining module 701 is configured to determine that there are highlights in the streaming media file during the presentation process of the streaming media file
  • the sending module 702 is configured to send indication information to the terminal device, where the indication information is used to instruct the terminal device to display Tooltip corresponding to the highlight.
  • the determining module 701 can be used to execute S200
  • the sending module 702 can be used to execute the sending steps in S202 and S206.
  • the above-mentioned indication information includes a target time period, and the above-mentioned indication information is specifically used to indicate that the streaming media file has a highlight segment in the target time period.
  • the determining module 701 is specifically configured to: determine a peak time period of the number of comment messages of the streaming media file; in the case that the comment messages generated within the peak time period include preset text, determine the stream The media file has highlights during this peak time period.
  • the determining module 701 is specifically configured to: determine a peak time period of the number of virtual items that generate the streaming media file; and determine that there are highlights in the streaming media file during the peak time period.
  • the determining module 701 is specifically configured to: determine a time period in which the streaming media file includes the preset behavior; and determine that the streaming media file has a highlight segment in the time period.
  • the acquiring module 703 is configured to acquire the highlight; the sending module 702 is further configured to send the identifier of the highlight to the terminal device.
  • the receiving module 704 is configured to receive a request from the terminal device for a highlight segment; the request includes an identifier of the highlight segment; the acquiring module 703 is further configured to: acquire the highlight segment according to the request; a sending module 702 is further configured to: send the highlight clip to the terminal device; the highlight clip is used for the terminal device to play back the highlight clip on the presentation interface of the streaming media file.
  • Fig. 8 is a block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 40 includes but is not limited to: a processor 401 , a memory 402 , a display 403 , an input unit 404 , an interface unit 405 , a power supply 406 and the like.
  • the above-mentioned processor 401 is a memory for storing the above-mentioned processor-executable instructions. It can be understood that the above-mentioned processor 401 is configured to execute any step in the above-mentioned embodiment shown in FIG. 2 or FIG. 5 .
  • FIG. 8 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in FIG. some components, or a different arrangement of components.
  • the processor 401 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing the software programs and/or modules stored in the memory 402, and calling the data stored in the memory 402. , perform various functions of electronic equipment and process data, so as to monitor electronic equipment as a whole.
  • the processor 401 may include one or more processing units; in some embodiments, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, etc.
  • the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 401.
  • Memory 402 may be used to store software programs as well as various data.
  • the memory 402 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required by at least one functional unit (such as an acquisition unit, a transceiving unit, or a merging unit, etc.). Additionally, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the display 403 is used to display information input by the user or information provided to the user.
  • the display 403 may include a display panel, and the display panel may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), and the like.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU), and the graphics processor is used for the image data of the still picture or the streaming media file obtained by the image capturing device (such as a camera) in the streaming media file capturing mode or the image capturing mode. to be processed.
  • the processed image frames can be displayed on display 403 .
  • the image frames processed by the graphics processor may be stored in memory 402 (or other storage medium).
  • the interface unit 405 is an interface for connecting an external device to the electronic device 400 .
  • external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with acquisition modules, audio input/output (I/O) port, streaming media file I/O port, headphone port, etc.
  • the interface unit 405 may be used to receive input (eg, data information, etc.) from an external device and transmit the received input to one or more elements within the electronic device 400 or may be used to communicate between the electronic device 400 and an external device transfer data.
  • a power source 406 (such as a battery) can be used to power various components.
  • the power source 406 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system.
  • an embodiment of the present disclosure further provides a storage medium including instructions, such as a memory 402 including instructions, and the above-mentioned instructions can be executed by the processor 401 of the electronic device 400 to complete the above-mentioned method.
  • the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory) , RAM), CD-ROMs, magnetic tapes, floppy disks, and optical data storage devices, etc.
  • the receiving functions of the receiving module 604 and the obtaining module 602 described above may be implemented by the interface unit 405 in FIG. 8 .
  • the processing functions of the acquisition module 602 , the processing functions of the display module 601 and the playback module 603 can all be implemented by the processor 401 in FIG. 8 calling the computer program stored in the memory 402 .
  • the above-mentioned sending module 702 and receiving module 704 may be implemented by the interface unit 405 in FIG. 8 .
  • Both the processing function of the acquisition module 703 and the determination module 701 can be implemented by the processor 401 in FIG. 8 calling the computer program stored in the memory 402 .
  • an embodiment of the present disclosure also provides a computer program product including one or more instructions, which can be executed by the processor 401 of the electronic device 400 to accomplish the above method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开关于一种视频回放方法、装置、电子设备及存储介质。该视频回放方法包括:在流媒体文件的展示过程中,检测到所述流媒体文件存在精彩片段的情况下,在所述流媒体文件的展示界面显示提示信息,所述提示信息用于提示存在所述精彩片段;响应于对所述提示信息的触发操作,获取所述精彩片段;在所述流媒体文件的展示界面回放所述精彩片段。

Description

视频回放方法及装置
相关申请的交叉引用
本公开基于申请日为2020年11月16日、申请号为202011282639.5号的中国专利申请,并要求该中国专利申请的优先权,在此全文引用上述中国专利申请公开的内容以作为本公开的一部分。
技术领域
本公开涉及流媒体文件处理技术领域,尤其涉及视频回放方法、装置、电子设备及存储介质。
背景技术
在线视频直播是利用网络资源进行的现场直播服务,通过现场的视频拍摄同步上传到网络上,用户可以同一时间在网络上看到第一时间的现场资讯。
在直播过程中,用户通常对直播中的精彩片段产生强烈的兴趣。当前,用户只能在直播结束后观看直播的精彩片段。
发明内容
本公开提供一种视频回放方法、装置、电子设备及存储介质。
本公开的技术方案如下:
根据本公开实施例的第一方面,本公开实施例提供一种视频回放方法,该方法包括:在流媒体文件的展示过程中,检测到该流媒体文件存在精彩片段的情况下,在流媒体文件的展示界面显示提示信息,该提示信息用于提示存在精彩片段;响应于对该提示信息的触发操作,获取精彩片段;在流媒体文件的展示界面回放精彩片段。
本公开所提供的视频回放方法,能够在流媒体文件的展示过程中显示能够触发获取精彩片段的提示信息,从而实现在流媒体文件的展示过程中回放精彩片段,提高了用户体验。
在一种可能的实现方式中,上述检测到流媒体文件存在精彩片段,包括:接收来自服务器的指示信息,该指示信息用于表征流媒体文件存在精彩片段;解析该指示信息,并确定流媒体文件存在精彩片段。
在另一种可能的实现方式中,上述指示信息包括目标时间段,该指示信息具体用于表征流媒体文件在目标时间段存在精彩片段。
在另一种可能的实现方式中,上述述检测到该流媒体文件存在精彩片段,包括:确定该流媒体文件的评论消息的数量的峰值时间段;在该峰值时间段内生成的评论消息中包括 预设文本的情况下,确定该流媒体文件在峰值时间段存在精彩片段。
在另一种可能的实现方式中,上述检测到该流媒体文件存在精彩片段,包括:确定生成该流媒体文件的虚拟物品的数量的峰值时间段;确定该流媒体文件在峰值时间段存在精彩片段。
在另一种可能的实现方式中,上述检测到该流媒体文件存在精彩片段,包括:确定该流媒体文件中包括预设行为的时间段;确定该流媒体文件在该时间段存在精彩片段。
在另一种可能的实现方式中,上述在该流媒体文件的展示界面显示提示信息,包括:确定与该精彩片段对应的时间段在该流媒体文件的展示界面的进度条中的位置;该进度条用于表征该流媒体文件的展示时长;在该位置显示该提示信息。
在另一种可能的实现方式中,上述在该流媒体文件的展示界面回放该精彩片段,包括:在流媒体文件的展示界面弹出显示面板,并在显示面板中回放该精彩片段。
在另一种可能的实现方式中,上述在显示面板中回放该精彩片段,包括:响应于针对精彩片段实施的速率调整操作,获取与速率调整操作对应的播放速率;根据获取的播放速率在显示面板中回放该精彩片段。
本公开实施例中,可以调整精彩片段的播放速率,进一步提高了用户体验。
在另一种可能的实现方式中,上述响应于对该提示信息的触发操作,获取该精彩片段,包括:响应于对该提示信息的触发操作,向服务器发送请求消息,请求消息用于获取该精彩片段;接收来自服务器的精彩片段。
根据本公开实施例的第二方面,本公开实施例提供一种精彩片段的显示方法,其特征在于,应用于服务器,该方法包括:在流媒体文件的展示过程中,确定该流媒体文件存在精彩片段;向终端设备发送指示信息,该指示信息用于指示终端设备显示与该精彩片段对应的提示信息。
本公开实施例所提供的精彩片段的显示方法,能够在流媒体文件的展示过程中确定流媒体存在精彩片段,并向终端设备指示信息,从而实现在流媒体文件的展示过程中显示该精彩片段对应的提示信息,提高了用户体验。
在一种可能的实现方式中,上述指示信息包括目标时间段,该指示信息具体用于表征该流媒体文件在目标时间段存在精彩片段。
在另一种可能的实现方式中,上述确定该流媒体文件存在精彩片段,包括:确定该流媒体文件的评论消息的数量的峰值时间段;在峰值时间段内生成的评论消息中包括预设文本的情况下,确定流媒体文件在该峰值时间段存在精彩片段。
在另一种可能的实现方式中,上述确定该流媒体文件存在精彩片段,包括:确定生成该流媒体文件的虚拟物品的数量的峰值时间段;确定该流媒体文件在该峰值时间段存在精彩片段。
在另一种可能的实现方式中,上述确定该流媒体文件存在精彩片段,包括:确定该流媒体文件中包括预设行为的时间段;确定该流媒体文件在该时间段存在精彩片段。
在另一种可能的实现方式中,该显示方法还包括:获取精彩片段;向终端设备发送该精彩片段的标识。
在另一种可能的实现方式中,该显示方法还包括:接收终端设备对精彩片段的请求;该请求包括精彩片段的标识;根据该请求获取精彩片段;向终端设备发送该精彩片段;该精彩片段用于终端设备在该流媒体文件的展示界面回放该精彩片段。
根据本公开实施例的第三方面,本公开实施例提供一种视频回放装置,该视频回放装置包括:显示模块,被配置为在流媒体文件的展示过程中,检测到该流媒体文件存在精彩片段的情况下,在该流媒体文件的展示界面显示提示信息,该提示信息用于提示存在该精彩片段;获取模块,被配置为响应于对该提示信息的触发操作,获取该精彩片段;回放模块,被配置为在该流媒体文件的展示界面回放该精彩片段。
在一些实施例中,该视频回放装置还包括:接收模块,被配置为接收来自服务器的指示信息,该指示信息用于表征该流媒体文件存在精彩片段;解析模块,被配置为解析该指示信息,并确定该流媒体文件存在精彩片段。
在一些实施例中,该指示信息包括目标时间段,该指示信息具体用于表征该流媒体文件在该目标时间段存在精彩片段。
在一些实施例中,显示模块具体被配置为:确定该流媒体文件的评论消息的数量的峰值时间段;
在峰值时间段内生成的评论消息中包括预设文本的情况下,确定该流媒体文件在该峰值时间段存在精彩片段。
在一些实施例中,显示模块,具体被配置为:确定生成该流媒体文件的虚拟物品的数量的峰值时间段;确定该流媒体文件在峰值时间段存在精彩片段。
在一些实施例中,显示模块具体被配置为:确定该流媒体文件中包括预设行为的时间段;确定该流媒体文件在该时间段存在精彩片段。
在一些实施例中,显示模块具体被配置为:确定与该精彩片段对应的时间段在该流媒体文件的展示界面的进度条中的位置;该进度条用于表征该流媒体文件的展示时长;在该位置显示该提示信息。
在一些实施例中,回放模块具体被配置为:在该流媒体文件的展示界面弹出显示面板,并在该显示面板中回放该精彩片段。
在一些实施例中,回放模块具体被配置为:响应于针对该精彩片段实施的速率调整操作,获取与该速率调整操作对应的播放速率;根据获取的播放速率在该显示面板中回放该精彩片段。
在一些实施例中,获取模块被配置为:响应于对该提示信息的触发操作,向服务器发送请求消息,该请求消息用于获取精彩片段;接收来自服务器的精彩片段。
根据本公开实施例的第四方面,本公开实施例提供一种服务器,其特征在于,包括:确定模块,被配置为在流媒体文件的展示过程中,确定该流媒体文件存在精彩片段;发送 模块,被配置为向终端设备发送指示信息,该指示信息用于指示终端设备显示与该精彩片段对应的提示信息。
在一些实施例中,上述指示信息包括目标时间段,上述指示信息具体用于表征该流媒体文件在目标时间段存在精彩片段。
在一些实施例中,确定模块具体被配置为:确定流媒体文件的评论消息的数量的峰值时间段;
在该峰值时间段内生成的评论消息中包括预设文本的情况下,确定该流媒体文件在该峰值时间段存在精彩片段。
在一些实施例中,确定模块具体被配置为:确定生成该流媒体文件的虚拟物品的数量的峰值时间段;确定该流媒体文件在峰值时间段存在精彩片段。
在一些实施例中,确定模块具体被配置为:确定该流媒体文件中包括预设行为的时间段;确定该流媒体文件在该时间段存在精彩片段。
在一些实施例中,服务器还包括:获取模块,被配置为获取精彩片段;发送模块,还被配置为向终端设备发送精彩片段的标识。
在一些实施例中,服务器还包括:接收模块,被配置为接收该终端设备对精彩片段的请求;该请求包括该精彩片段的标识;获取模块还被配置为:根据该请求获取该精彩片段;发送模块还被配置为:向终端设备发送该精彩片段;该精彩片段用于终端设备在该流媒体文件的展示界面回放该精彩片段。
根据本公开实施例的第五方面,提供一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器。其中,处理器被配置为执行所述指令,以实现上述第一方面至第四方面的任一种可能的实现方式所示的视频回放方法。
根据本公开实施例的第六方面,提供一种计算机可读存储介质,当该存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行如第一方面至第二的任一种可能的实现方式所示的视频回放方法。
根据本公开实施例的第七方面,提供一种计算机程序产品,可直接加载到电子设备的内部存储器中,并含有软件代码,该计算机程序经由电子设备载入并执行后能够实现第一方面至第二方面任一种可能的实现方式所示的视频回放方法。
上述提供的任一种视频回放装置、服务器、电子设备、计算机可读存储介质或计算机程序产品用于执行上文所提供的对应的方法,都能够实现在流媒体文件的展示过程中显示能够触发获取精彩片段的提示信息,从而实现在流媒体文件的展示过程中播放精彩片段,提高了用户体验。
附图说明
图1是根据一示例性实施例示出的本公开所适用的系统的结构的示意图;
图2是根据一示例性实施例示出的一种视频回放方法的流程示意图;
图3是根据一示例性实施例示出的一种提示信息显示示意图;
图4A是根据一示例性实施例示出的另一种提示信息显示示意图;
图4B是根据一示例性实施例示出的一种精彩片段显示形式显示精彩片段的示意图;
图5是根据一示例性实施例示出的一种视频回放方法的流程示意图;
图6是根据一示例性实施例示出的一种视频回放装置的框图;
图7是根据一示例性实施例示出的一种服务器的框图;
图8是根据一示例性实施例示出的一种电子设备的框图。
具体实施方式
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。
需要说明的是,在本公开的实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
在本公开实施例中,“至少一个”是指一个或多个。“多个”是指两个或两个以上。
在本公开实施例中,“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
本公开实施例中,流媒体文件,可以是音频也可以是视频,音频直播指通过现场的音频录制同步上传到网络上,以使用户在同一时间在网络上听到第一时间的现场音频。视频直播指通过现场的视频拍摄同步上传到网络上,用户可以同一时间在网络上看到第一时间的现场资讯。
如图1所示,图1是根据一示例性实施例示出的本公开所适用的系统的结构的示意图。该系统中可以包括终端设备110和服务器120,该终端设备110可以通过无线网络或有线网络与该服务器120之间建立连接。
其中,该终端设备110为用户使用的设备,其安装有用于显示流媒体文件的应用。终端设备可以运行该显示流媒体文件的应用,以显示流媒体文件以及回放本公开所提供的方法得到的精彩片段。在一些实施例中,该终端设备110可以为手机、平板电脑、笔记本电 脑、台式计算机、便携式计算机等,本公开对此不做限定。
其中,该服务器120主要用于存储流媒体文件资源以及精彩片段的资源。在一些实施例中,该服务器120可以为一台服务器,或者,也可以为由多台服务器组成的服务器集群,本公开对此不做限定。
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。
需要说明的是,本公开实施例提供的视频回放方法可以应用于终端设备或服务器。其中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端等。服务器可以为一台服务器,或者,也可以为由多台服务器组成的服务器集群,本公开对此不做限定。
如图2所示,图2是根据一示例性实施例示出的一种视频回放方法的流程示意图。图2所示的方法可以应用于图1所示的系统。图2所示的方法可以包括以下步骤:
S100:终端设备110在流媒体文件的展示过程中,检测到流媒体文件存在精彩片段的情况下,在该流媒体文件的展示界面显示提示信息。其中,提示信息用于提示存在精彩片段。
S101:终端设备110响应于对提示信息的触发操作,获取精彩片段。
S102:终端设备110在该流媒体文件的展示界面回放该精彩片段。
在一些实施例中,终端设备110在流媒体文件的展示过程中,检测流媒体文件存在精彩片段,然后根据该精彩片段生成提示信息,在该流媒体文件的展示界面显示提示信息。
其中,检测流媒体文件存在精彩片段包括如下实现方式:
在一种可能的实现方式中:步骤一:终端设备110接收来自服务器120的指示信息,该指示信息用于表征流媒体文件存在精彩片段。
步骤二:终端设备110解析该指示信息,并确定流媒体文件存在精彩片段。
在一些实施例中,在一种可能的实现方式中,终端设备110解析该指示信息,得到精彩片段的标识信息,确定该流媒体文件存在精彩片段。在另一种可能的实现方式中,终端设备解析该指示信息得到目标时间段,该指示信息具体用于表征该流媒体文件在该目标时间段存在精彩片段。
在另一种可能的实现方式中,终端设备110确定流媒体文件的评论消息的数量的峰值时间段,当在该峰值时间段内生成的评论消息中包括预设文本的情况下,确定该流媒体文件在该峰值时间段存在精彩片段。
在一些实施例中,终端设备110可以统计该流媒体文件每一时刻的评论消息的数量,获取评论消息的数量的峰值时间段,然后,终端设备110判断该峰值时间段内生成的评论消息中是否包括预设文本,若是,则确定该流媒体文件在该峰值时间段存在精彩片段。
在另一种可能的实现方式中,终端设备110确定生成流媒体文件的虚拟物品的数量的峰值时间段,确定该流媒体文件在该峰值时间段存在精彩片段。
在一些实施例中,终端设备110可以统计该流媒体文件每一时刻的虚拟物品的数量,获取生成虚拟物品的数量的峰值时间段,终端设备110确定该峰值时间段为目标时间段。
在另一种可能的实现方式中,终端设备110确定流媒体文件中包括预设行为的时间段。确定该流媒体文件在该时间段存在精彩片段。
在一些实施例中,在一种可能的实现方式中,终端设备110接收服务器发送的发生预设行为的时间段,确定该流媒体文件在该时间段存在精彩片段。在另一种可能的实现方式中,终端设备110识别该流媒体文件中发生预设性为的时间段,确定该流媒体文件在该时间段存在精彩片段。在一个例子中,游戏服务器识别到击杀行为后,向终端设备110发送发生该击杀行为的时间段。
根据精彩片段生成提示信息,在该流媒体文件的展示界面显示提示信息的实现方式可以为:确定与该精彩片段对应的时间段在该流媒体文件的展示界面的进度条中的位置,其中,进度条用于表征该流媒体文件的展示时长。在进度条中的相应位置显示该提示信息。提示信息可以为进度条上的一个特定形状(例如:黑色圆点、红点、红星等)。
在一个例子中,如图3所示的一种提示信息显示示意图,进度条中的黑色圆点位置为提示信息所在位置。
这样,在进度条(或称时间轴)上直观显示该流媒体文件的精彩片段的时间点。使得用户很容易能看到该流媒体文件的精彩片段的时间点。
在另一种可能的实现方式中,终端设备在该流媒体文件的展示界面的精彩片段展示页的标签页对应标签中显示提示信息。
这样,在标签页显示提示信息,能够引导用户点击查看该流媒体文件的精彩片段的列表信息。
在一个例子中,如图4A所示的另一种提示信息显示示意图,终端设备在所述流媒体文件的展示界面的精彩片段展示页的标签页对应标签(如图4A中的精彩片段标签)中显示星形提示信息。
在一些实施例中,终端设备110响应于对提示信息的触发操作,获取该提示信息对应的精彩片段。
本公开实施例对获取该提示信息对应的精彩片段的方式不进行限定,在一种可能的实现方式中,服务器120中存储有该提示信息对应的精彩片段,终端设备110向服务器120发送请求消息,以获取该提示信息对应的精彩片段。在另一种可能的实现方式中,终端设备110存储有该提示信息对应的精彩片段,终端设备110获取本地的该提示信息对应的精彩片段。
示例性的,终端设备110响应于对提示信息的点击操作,向服务器120发送携带该精彩片段地址的请求消息,服务器120根据该精彩片段的地址获取该精彩片段并向终端设备 110发送该精彩片段。终端设备110接收该精彩片段。
在一些实施例中,在一种可能的实现方式中,终端设备110在该流媒体文件的展示界面弹出显示面板,并在显示面板中回放该精彩片段。
在另一种可能的实现方式中,终端设备110在该流媒体文件的展示界面弹出第一显示面板,显示面板中展示了该流媒体文件所包括的至少一个精彩片段的资源信息。精彩片段的资源信息包括精彩片段的封面以及精彩片段的简要介绍。终端设备110响应于对精彩片段的打开操作,弹出第二显示面板,并在第二显示面板中回放该精彩片段。
在一个例子中,如图4B所示为一示例性实施例示出的一种精彩片段显示形式显示精彩片段的示意图,在一些实施例中,终端设备在所述流媒体文件的展示界面标签页面板弹出精彩片段标签页,然后,终端设备在标签页面板中显示精彩片段。
这样,终端设备在标签页面板中显示精彩片段,不会影响流媒体文件的展示。
在一些实施例中,本公开的一种视频回放方法还可以包括:
S103:终端设备110响应于针对精彩片段实施的速率调整操作,获取与该速率调整操作对应的播放速率。
在一些实施例中,本公开的一种视频回放方法还可以包括:
S104:终端设备110根据获取的播放速率在显示面板中回放该精彩片段。
这样,用户可以根据需要调整精彩片段的播放速率,以获得更好地观看体验。
本公开实施例中,终端设备110在流媒体文件展示过程中检测到精彩片段的情况下,在流媒体文件的展示界面显示提示信息,这样终端设备110在流媒体文件展示过程中可以响应提示信息的触发操作,实现在该流媒体文件的展示界面回放精彩片段,从而提高了用户体验。
如图5所示,图5是根据一示例性实施例示出的一种视频回放方法的流程示意图。图5所示的方法可以应用于图1所示的系统。图5所示的方法可以包括以下步骤:
S200:服务器120在流媒体文件的展示过程中,确定流媒体文件存在精彩片段。
S201:服务器120获取精彩片段。
S202:服务器120向终端设备110发送指示信息。指示信息用于指示终端设备110显示与精彩片段对应的提示信息。
S203:终端设备110在流媒体文件的展示界面中显示提示信息,该提示信息用于提示在目标时间段内存在精彩片段。
S204:终端设备110响应于对提示信息的触发操作,向服务器120发送请求消息。该请求消息用于获取精彩片段。
S205:服务器120根据请求消息获取精彩片段。
S206:服务器120向终端设备110发送获取的精彩片段。
S207:终端设备110在流媒体文件的展示界面回放精彩片段。
在一些实施例中,参考上述S102中的描述,不再赘述。
在一种可能的实现方式中,服务器120确定该流媒体文件的评论消息的数量的峰值时间段,若该峰值时间段内生成的评论消息中包括预设文本,则确定流媒体文件在该峰值时间段存在精彩片段。
在一些实施例中,服务器120可以统计该流媒体文件每一时刻的评论消息的数量,获取评论消息的数量的峰值时间段,然后,服务器120判断该峰值时间段内生成的评论消息中是否包括预设文本,若是,则确定流媒体文件在该峰值时间段存在精彩片段。
可以理解的是,服务器120也可以获取该峰值时间段内生成的评论消息中包括预设文本的评论消息数量的占比,若该占比大于一个阈值,则确定流媒体文件在该峰值时间段存在精彩片段。
示例性的,服务器120在获取的峰值时间段内生成的评论消息中包括666、厉害、秀啊或牛逼等文本的评论消息的数量,占该峰值时间段内生成的评论消息的总数量的50%以上的情况下,服务器120确定该流媒体文件在该峰值时间段存在精彩片段。
在另一种可能的实现方式中,服务器确定虚拟物品的数量的峰值时间段,并确定该流媒体文件在该该虚拟物品的数量的峰值时间段存在精彩片段。
在一些实施例中,服务器120可以统计该流媒体文件每一时刻的虚拟物品的数量,获取生成虚拟物品的数量的峰值时间段,服务器120确定该流媒体文件在该峰值时间段存在精彩片段。
在另一种可能的实现方式中,服务器120确定发生预设行为的时间段,确定该流媒体文件在该发生预设行为的时间段存在精彩片段。
需要说明的是,本公开实施例对服务器120确定发生预设行为的时间段的方式不进行限定,在一种可能的实现方式中,服务器120接收合作方服务器发送的发生预设行为的时间段,在另一种可能的实现方式中,服务器120本身能够识别该流媒体文件中发生预设行为的时间段。在一个例子中,合作方游戏服务器识别到击杀行为后,向本服务器120发送发生该击杀行为的时间段。
在一些实施例中,服务器120可以根据流媒体文件存在精彩片段的时间段获取精彩片段,并存储获取的精彩片段。
在一些实施例中,,指示信息包括目标时间段,指示信息具体用于表征流媒体文件在目标时间段存在精彩片段。
在一种可能的实现方式中,终端设备110首先确定目标时间段在流媒体文件的展示界面的进度条中的位置,其中,进度条用于表征该流媒体文件的直播时长。然后,终端设备110在流媒体文件的展示界面的进度条中目标时间段所在位置显示提示信息。
在另一种可能的实现方式中,终端设备110在流媒体文件的展示界面的精彩片段展示页的标签页对应标签中显示提示信息。
在一种可能的实现方式中,该请求消息包括目标时间段以及流媒体文件的标识。
在另一种可能的实现方式中,该请求消息包括目标时间段对应的精彩片段的标识。
在一些实施例中,在请求消息包括精彩片段的标识的情况下,服务器120获取该精彩片段的标识对应的精彩片段。
在请求消息包括目标时间段以及流媒体文件的标识的情况下,服务器120获取目标时间段内该流媒体文件标识对应的流媒体文件的片段得到精彩片段。
在一些实施例中,本公开的一种视频回放方法还可以包括:
S208:终端设备110响应于对该精彩片段实施的速率调整操作,获取与该速率调整操作对应的播放速率。
S209:终端设备110根据获取的播放速率在该显示面板中回放该精彩片段。
这样,用户可以根据需要调整精彩片段的播放速率,以获得更好地观看体验。
本公开实施例中,在流媒体文件的展示过程中由服务器120确定了流媒体文件存在精彩片段之后,向终端设备110发送指示信息,这样终端设备110在流媒体文件的展示过程中可以显示能够触发获取精彩片段的提示信息,从而实现在流媒体文件的展示过程中回放精彩片段,提高了用户体验。
上述主要从方法的角度对本公开实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的方法步骤,本公开能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。
本公开实施例可以根据上述方法示例对终端设备或服务器进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本公开实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图6是根据一示例性实施例示出的一种视频回放装置的框图。参照图6,该视频回放装置60包括显示模块601、获取模块602和回放模块603,在一些实施例中,终端设备110还包括接收模块604和解析模块605。其中:显示模块601被配置为在流媒体文件的展示过程中,检测到该流媒体文件存在精彩片段的情况下,在该流媒体文件的展示界面显示提示信息,该提示信息用于提示存在该精彩片段;获取模块602,被配置为响应于对该提示信息的触发操作,获取该精彩片段;回放模块603,被配置为在该流媒体文件的展示界面回放该精彩片段。例如,结合图2,显示模块601可以用于执行S100,获取模块602可以用于执行S101。回放模块603可以用于执行S102。结合图5,显示模块601可以用于执行S203,获取模块602可以用于执行S206中的接收步骤,以及S208,回放模块603可以用于执行S207和S209。
在一些实施例中,接收模块604,被配置为接收来自服务器的指示信息,该指示信息用于表征该流媒体文件存在精彩片段;解析模块605,被配置为解析该指示信息,并确定该流媒体文件存在精彩片段。
在一些实施例中,该指示信息包括目标时间段,该指示信息具体用于表征该流媒体文件在该目标时间段存在精彩片段。
在一些实施例中,显示模块601具体被配置为:确定该流媒体文件的评论消息的数量的峰值时间段;在峰值时间段内生成的评论消息中包括预设文本的情况下,确定该流媒体文件在该峰值时间段存在精彩片段。
在一些实施例中,显示模块601,具体被配置为:确定生成该流媒体文件的虚拟物品的数量的峰值时间段;确定该流媒体文件在峰值时间段存在精彩片段。
在一些实施例中,显示模块601具体被配置为:确定该流媒体文件中包括预设行为的时间段;确定该流媒体文件在该时间段存在精彩片段。
在一些实施例中,显示模块601具体被配置为:确定与该精彩片段对应的时间段在该流媒体文件的展示界面的进度条中的位置;该进度条用于表征该流媒体文件的展示时长;在该位置显示该提示信息。
在一些实施例中,回放模块603具体被配置为:在该流媒体文件的展示界面弹出显示面板,并在该显示面板中回放该精彩片段。
在一些实施例中,回放模块603具体被配置为:响应于针对该精彩片段实施的速率调整操作,获取与该速率调整操作对应的播放速率;根据获取的播放速率在该显示面板中回放该精彩片段。
在一些实施例中,获取模块602被配置为:响应于对该提示信息的触发操作,向服务器发送请求消息,该请求消息用于获取精彩片段;接收来自服务器的精彩片段。
关于上述实施例中的视频回放装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。此外,上述提供的任一种视频回放装置的解释以及有益效果的描述均可参考上述对应的方法实施例,不再赘述。
图7是根据一示例性实施例示出的一种服务器的框图。参照图7,该服务器120包括确定模块701和发送模块702,在一些实施例中,服务器120还包括获取模块703和接收模块704。其中:确定模块701,被配置为在流媒体文件的展示过程中,确定该流媒体文件存在精彩片段;发送模块702,被配置为向终端设备发送指示信息,该指示信息用于指示终端设备显示与该精彩片段对应的提示信息。例如,结合图5,确定模块701可以用于执行S200,发送模块702可以用于执行S202和S206中的发送步骤。
在一些实施例中,上述指示信息包括目标时间段,上述指示信息具体用于表征该流媒体文件在目标时间段存在精彩片段。
在一些实施例中,确定模块701具体被配置为:确定流媒体文件的评论消息的数量的峰值时间段;在该峰值时间段内生成的评论消息中包括预设文本的情况下,确定该流媒体 文件在该峰值时间段存在精彩片段。
在一些实施例中,确定模块701具体被配置为:确定生成该流媒体文件的虚拟物品的数量的峰值时间段;确定该流媒体文件在峰值时间段存在精彩片段。
在一些实施例中,确定模块701具体被配置为:确定该流媒体文件中包括预设行为的时间段;确定该流媒体文件在该时间段存在精彩片段。
在一些实施例中,获取模块703,被配置为获取精彩片段;发送模块702,还被配置为向终端设备发送精彩片段的标识。
在一些实施例中,接收模块704,被配置为接收该终端设备对精彩片段的请求;该请求包括该精彩片段的标识;获取模块703还被配置为:根据该请求获取该精彩片段;发送模块702还被配置为:向终端设备发送该精彩片段;该精彩片段用于终端设备在该流媒体文件的展示界面回放该精彩片段。
关于上述实施例中的终端设备,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。此外,上述提供的任一种服务器120的解释以及有益效果的描述均可参考上述对应的方法实施例,不再赘述。
图8是根据一示例性实施例示出的一种电子设备的框图。如图8所示,电子设备40包括但不限于:处理器401、存储器402、显示器403、输入单元404、接口单元405和电源406等。
其中,上述的处理器401,用于存储上述处理器可执行指令的存储器。可以理解,上述处理器401被配置为执行上述图2或图5所示实施例中任一步骤。
需要说明的是,本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图8所示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
处理器401是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器402内的软件程序和/或模块,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器401可包括一个或多个处理单元;在一些实施例中,处理器401可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器401中。
存储器402可用于存储软件程序以及各种数据。存储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能单元所需的应用程序(比如获取单元、收发单元或合并单元等)等。此外,存储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
显示器403用于显示由用户输入的信息或提供给用户的信息。显示器403可包括显示 面板,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。
输入单元404可以包括图形处理器(Graphics Processing Unit,GPU),图形处理器对在流媒体文件捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或流媒体文件的图像数据进行处理。处理后的图像帧可以显示在显示器403上。经图形处理器处理后的图像帧可以存储在存储器402(或其它存储介质)中。
接口单元405为外部装置与电子设备400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有获取模块的装置的端口、音频输入/输出(I/O)端口、流媒体文件I/O端口、耳机端口等等。接口单元405可以用于接收来自外部装置的输入(例如,数据信息等)并且将接收到的输入传输到电子设备400内的一个或多个元件或者可以用于在电子设备400和外部装置之间传输数据。
电源406(比如电池)可以用于为各个部件供电,在一些实施例中,电源406可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
在示例性实施例中,本公开实施例还提供了一种包括指令的存储介质,例如包括指令的存储器402,上述指令可由电子设备400的处理器401执行以完成上述方法。可选地,存储介质可以是非临时性计算机可读存储介质,例如,所述非临时性计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
在一个示例中,参见图6,上述接收模块604和获取模块602的接收功能可以由图8中的接口单元405实现。上述获取模块602的处理功能、显示模块601和回放模块603中的处理功能均可以由图8中的处理器401调用存储器402中存储的计算机程序实现。
在另一个示例中,参见图7,上述发送模块702、接收模块704可以由图8中的接口单元405实现。上述获取模块703的处理功能和确定模块701均可以由图8中的处理器401调用存储器402中存储的计算机程序实现。
在示例性实施例中,本公开实施例还提供了一种包括一条或多条指令的计算机程序产品,该一条或多条指令可以由电子设备400的处理器401执行以完成上述方法。
需要说明的是,上述存储介质中的指令或计算机程序产品中的一条或多条指令被处理器401执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。

Claims (38)

  1. 一种视频回放方法,其中,所述视频回放方法应用于终端设备,包括:
    在流媒体文件的展示过程中,检测到所述流媒体文件存在精彩片段的情况下,在所述流媒体文件的展示界面显示提示信息,所述提示信息用于提示存在所述精彩片段;
    响应于对所述提示信息的触发操作,获取所述精彩片段;
    在所述流媒体文件的展示界面回放所述精彩片段。
  2. 根据权利要求1所述的视频回放方法,其中,所述检测到所述流媒体文件存在精彩片段,包括:
    接收来自服务器的指示信息,所述指示信息用于表征所述流媒体文件存在精彩片段;
    解析所述指示信息,并确定所述流媒体文件存在精彩片段。
  3. 根据权利要求2所述的视频回放方法,其中,所述指示信息包括目标时间段,所述指示信息具体用于表征所述流媒体文件在所述目标时间段存在精彩片段。
  4. 根据权利要求1所述的视频回放方法,其中,所述检测到所述流媒体文件存在精彩片段,包括:
    确定所述流媒体文件的评论消息的数量的峰值时间段;
    在所述峰值时间段内生成的评论消息中包括预设文本的情况下,确定所述流媒体文件在所述峰值时间段存在精彩片段。
  5. 根据权利要求1所述的视频回放方法,其中,所述检测到所述流媒体文件存在精彩片段,包括:
    确定生成所述流媒体文件的虚拟物品的数量的峰值时间段;
    确定所述流媒体文件在所述峰值时间段存在精彩片段。
  6. 根据权利要求1所述的视频回放方法,其中,所述检测到所述流媒体文件存在精彩片段,包括:
    确定所述流媒体文件中包括预设行为的时间段;
    确定所述流媒体文件在所述时间段存在精彩片段。
  7. 根据权利要求1-6任一项所述的视频回放方法,其中,所述在所述流媒体文件的展示界面显示提示信息,包括:
    确定与所述精彩片段对应的时间段在所述流媒体文件的展示界面的进度条中的位置;所述进度条用于表征所述流媒体文件的展示时长;
    在所述位置显示所述提示信息。
  8. 根据权利要求1-6任一项所述的视频回放方法,其中,所述在所述流媒体文件的展示界面回放所述精彩片段,包括:
    在所述流媒体文件的展示界面弹出显示面板,并在所述显示面板中回放所述精彩片段。
  9. 根据权利要求8所述的视频回放方法,其中,所述在所述显示面板中回放所述精 彩片段,包括:
    响应于针对所述精彩片段实施的速率调整操作,获取与所述速率调整操作对应的播放速率;
    根据获取的播放速率在所述显示面板中回放所述精彩片段。
  10. 根据权利要求1-6、9任一项所述的视频回放方法,其中,所述响应于对所述提示信息的触发操作,获取所述精彩片段,包括:
    响应于对所述提示信息的触发操作,向服务器发送请求消息,所述请求消息用于获取所述精彩片段;
    接收来自所述服务器的所述精彩片段。
  11. 一种精彩片段的显示方法,其中,所述方法应用于服务器,包括:
    在流媒体文件的展示过程中,确定所述流媒体文件存在精彩片段;
    向终端设备发送指示信息,所述指示信息用于指示所述终端设备显示与所述精彩片段对应的提示信息。
  12. 根据权利要求11所述的显示方法,其中,所述指示信息包括目标时间段,所述指示信息具体用于表征所述流媒体文件在所述目标时间段存在精彩片段。
  13. 根据权利要求11所述的显示方法,其中,所述确定所述流媒体文件存在精彩片段,包括:
    确定所述流媒体文件的评论消息的数量的峰值时间段;
    在所述峰值时间段内生成的评论消息中包括预设文本的情况下,确定所述流媒体文件在所述峰值时间段存在精彩片段。
  14. 根据权利要求11所述的显示方法,其中,所述确定所述流媒体文件存在精彩片段,包括:
    确定生成所述流媒体文件的虚拟物品的数量的峰值时间段;
    确定所述流媒体文件在所述峰值时间段存在精彩片段。
  15. 根据权利要求11所述的显示方法,其中,所述确定所述流媒体文件存在精彩片段,包括:
    确定所述流媒体文件中包括预设行为的时间段;
    确定所述流媒体文件在所述时间段存在精彩片段。
  16. 根据权利要求11-15任一项所述的显示方法,其中,所述显示方法还包括:
    获取所述精彩片段;
    向终端设备发送所述精彩片段的标识。
  17. 根据权利要求16所述的显示方法,其中,所述方法还包括:
    接收所述终端设备对所述精彩片段的请求;所述请求包括所述精彩片段的标识;
    根据所述请求获取所述精彩片段;
    向所述终端设备发送所述精彩片段;所述精彩片段用于所述终端设备在所述流媒体文 件的展示界面回放所述精彩片段。
  18. 一种视频回放装置,其中,所述装置包括:
    显示模块,被配置为在流媒体文件的展示过程中,检测到所述流媒体文件存在精彩片段的情况下,在所述流媒体文件的展示界面显示提示信息,所述提示信息用于提示存在所述精彩片段;
    获取模块,被配置为响应于对所述提示信息的触发操作,获取所述精彩片段;
    回放模块,被配置为在所述流媒体文件的展示界面回放所述精彩片段。
  19. 根据权利要求18所述的视频回放装置,其中,所述视频回放装置还包括:
    接收模块,被配置为接收来自服务器的指示信息,所述指示信息用于表征所述流媒体文件存在精彩片段;
    解析模块,被配置为解析所述指示信息,并确定所述流媒体文件存在精彩片段。
  20. 根据权利要求19所述的视频回放装置,其中,所述指示信息包括目标时间段,所述指示信息具体用于表征所述流媒体文件在所述目标时间段存在精彩片段。
  21. 根据权利要求18所述的视频回放装置,其中,所述显示模块具体被配置为:
    确定所述流媒体文件的评论消息的数量的峰值时间段;
    在所述峰值时间段内生成的评论消息中包括预设文本的情况下,确定所述流媒体文件在所述峰值时间段存在精彩片段。
  22. 根据权利要求18所述的视频回放装置,其中,所述显示模块,具体被配置为:
    确定生成所述流媒体文件的虚拟物品的数量的峰值时间段;
    确定所述流媒体文件在所述峰值时间段存在精彩片段。
  23. 根据权利要求18所述的视频回放装置,其中,所述显示模块具体被配置为:
    确定所述流媒体文件中包括预设行为的时间段;
    确定所述流媒体文件在所述时间段存在精彩片段。
  24. 根据权利要求18-23任一项所述的视频回放装置,其中,所述显示模块具体被配置为:
    确定与所述精彩片段对应的时间段在所述流媒体文件的展示界面的进度条中的位置;所述进度条用于表征所述流媒体文件的展示时长;
    在所述位置显示所述提示信息。
  25. 根据权利要求18-23任一项所述的视频回放装置,其中,所述回放模块具体被配置为:
    在所述流媒体文件的展示界面弹出显示面板,并在所述显示面板中回放所述精彩片段。
  26. 根据权利要求25所述的视频回放装置,其中,所述回放模块具体被配置为:
    响应于针对所述精彩片段实施的速率调整操作,获取与所述速率调整操作对应的播放速率;
    根据获取的播放速率在所述显示面板中回放所述精彩片段。
  27. 根据权利要求18-23、26任一项所述的视频回放装置,其中,所述获取模块被配置为:
    响应于对所述提示信息的触发操作,向服务器发送请求消息,所述请求消息用于获取所述精彩片段;
    接收来自所述服务器的所述精彩片段。
  28. 一种服务器,其中,所述服务器包括:
    确定模块,被配置为在流媒体文件的展示过程中,确定所述流媒体文件存在精彩片段;
    发送模块,被配置为向终端设备发送指示信息,所述指示信息用于指示所述终端设备显示与所述精彩片段对应的提示信息。
  29. 根据权利要求28所述的服务器,其中,所述指示信息包括目标时间段,所述指示信息具体用于表征所述流媒体文件在所述目标时间段存在精彩片段。
  30. 根据权利要求28所述的服务器,其中,所述确定模块具体被配置为:
    确定所述流媒体文件的评论消息的数量的峰值时间段;
    在所述峰值时间段内生成的评论消息中包括预设文本的情况下,确定所述流媒体文件在所述峰值时间段存在精彩片段。
  31. 根据权利要求28所述的服务器,其中,所述确定模块具体被配置为:
    确定生成所述流媒体文件的虚拟物品的数量的峰值时间段;
    确定所述流媒体文件在所述峰值时间段存在精彩片段。
  32. 根据权利要求28所述的服务器,其中,所述确定模块具体被配置为:
    确定所述流媒体文件中包括预设行为的时间段;
    确定所述流媒体文件在所述时间段存在精彩片段。
  33. 根据权利要求28-32任一项所述的服务器,其中,所述服务器还包括:
    获取模块,被配置为获取所述精彩片段;
    所述发送模块,还被配置为向终端设备发送所述精彩片段的标识。
  34. 根据权利要求33所述的服务器,其中,所述服务器还包括:
    接收模块,被配置为接收所述终端设备对所述精彩片段的请求;所述请求包括所述精彩片段的标识;
    所述获取模块还被配置为:根据所述请求获取所述精彩片段;
    所述发送模块还被配置为:向所述终端设备发送所述精彩片段;所述精彩片段用于所述终端设备在所述流媒体文件的展示界面回放所述精彩片段。
  35. 一种电子设备,其中,所述电子设备包括:
    处理器和用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述可执行指令,以实现一种视频回放方法,所述视频回放方法应用于终端设备并且包括:在流媒体文件的展示过程中,检测到所述流媒体文件存在精彩片段的情况下,在所述流媒 体文件的展示界面显示提示信息,所述提示信息用于提示存在所述精彩片段;响应于对所述提示信息的触发操作,获取所述精彩片段;在所述流媒体文件的展示界面回放所述精彩片段。
  36. 一种电子设备,其中,所述电子设备包括:
    处理器和用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述可执行指令,以实现一种精彩片段的显示方法,所述方法应用于服务器并且包括:在流媒体文件的展示过程中,确定所述流媒体文件存在精彩片段;向终端设备发送指示信息,所述指示信息用于指示所述终端设备显示与所述精彩片段对应的提示信息。
  37. 一种非易失性计算机可读存储介质,其中,当所述计算机可读存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行一种视频回放方法,所述视频回放方法应用于终端设备并且包括:在流媒体文件的展示过程中,检测到所述流媒体文件存在精彩片段的情况下,在所述流媒体文件的展示界面显示提示信息,所述提示信息用于提示存在所述精彩片段;响应于对所述提示信息的触发操作,获取所述精彩片段;在所述流媒体文件的展示界面回放所述精彩片段。
  38. 一种非易失性计算机可读存储介质,其中,当所述计算机可读存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行一种精彩片段的显示方法,所述方法应用于服务器并且包括:在流媒体文件的展示过程中,确定所述流媒体文件存在精彩片段;向终端设备发送指示信息,所述指示信息用于指示所述终端设备显示与所述精彩片段对应的提示信息。
PCT/CN2021/130548 2020-11-16 2021-11-15 视频回放方法及装置 WO2022100724A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011282639.5 2020-11-16
CN202011282639.5A CN112533008A (zh) 2020-11-16 2020-11-16 视频回放方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2022100724A1 true WO2022100724A1 (zh) 2022-05-19

Family

ID=74982580

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/130548 WO2022100724A1 (zh) 2020-11-16 2021-11-15 视频回放方法及装置

Country Status (2)

Country Link
CN (1) CN112533008A (zh)
WO (1) WO2022100724A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533008A (zh) * 2020-11-16 2021-03-19 北京达佳互联信息技术有限公司 视频回放方法、装置、电子设备及存储介质
CN113301421B (zh) * 2021-05-19 2024-02-02 广州繁星互娱信息科技有限公司 直播片段展示方法和装置、存储介质及电子设备
CN113411620B (zh) * 2021-05-25 2023-04-28 北京达佳互联信息技术有限公司 直播片段的展示方法、装置、电子设备及存储介质
CN113422970B (zh) * 2021-05-25 2023-09-26 北京达佳互联信息技术有限公司 直播片段的展示方法、装置、电子设备及存储介质
CN113490010B (zh) * 2021-07-06 2022-08-09 腾讯科技(深圳)有限公司 基于直播视频的互动方法、装置、设备及存储介质
CN115022659B (zh) * 2022-05-31 2024-06-25 广州虎牙科技有限公司 直播视频处理方法、系统及直播设备

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093311A (zh) * 2017-12-28 2018-05-29 广东欧珀移动通信有限公司 多媒体文件的处理方法、装置、存储介质及电子设备
CN108668163A (zh) * 2018-05-03 2018-10-16 广州虎牙信息科技有限公司 直播播放方法、装置、计算机可读存储介质和计算机设备
CN108668103A (zh) * 2017-03-27 2018-10-16 赛特斯信息科技股份有限公司 区域连锁监控系统
CN110024412A (zh) * 2017-11-10 2019-07-16 腾讯科技(深圳)有限公司 一种视频直播的方法、装置和系统
CN110392304A (zh) * 2019-06-24 2019-10-29 北京达佳互联信息技术有限公司 一种视频展示方法、装置、电子设备及存储介质
CN111447489A (zh) * 2020-04-02 2020-07-24 北京字节跳动网络技术有限公司 视频处理方法、装置、可读介质及电子设备
US20200275133A1 (en) * 2016-07-13 2020-08-27 Oath Inc. Computerized system and method for automatic highlight detection from live streaming media and rendering within a specialized media player
CN111771384A (zh) * 2018-02-28 2020-10-13 谷歌有限责任公司 自动调整回放速度和场境信息
CN112533008A (zh) * 2020-11-16 2021-03-19 北京达佳互联信息技术有限公司 视频回放方法、装置、电子设备及存储介质

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200275133A1 (en) * 2016-07-13 2020-08-27 Oath Inc. Computerized system and method for automatic highlight detection from live streaming media and rendering within a specialized media player
CN108668103A (zh) * 2017-03-27 2018-10-16 赛特斯信息科技股份有限公司 区域连锁监控系统
CN110024412A (zh) * 2017-11-10 2019-07-16 腾讯科技(深圳)有限公司 一种视频直播的方法、装置和系统
CN108093311A (zh) * 2017-12-28 2018-05-29 广东欧珀移动通信有限公司 多媒体文件的处理方法、装置、存储介质及电子设备
CN111771384A (zh) * 2018-02-28 2020-10-13 谷歌有限责任公司 自动调整回放速度和场境信息
CN108668163A (zh) * 2018-05-03 2018-10-16 广州虎牙信息科技有限公司 直播播放方法、装置、计算机可读存储介质和计算机设备
CN110392304A (zh) * 2019-06-24 2019-10-29 北京达佳互联信息技术有限公司 一种视频展示方法、装置、电子设备及存储介质
CN111447489A (zh) * 2020-04-02 2020-07-24 北京字节跳动网络技术有限公司 视频处理方法、装置、可读介质及电子设备
CN112533008A (zh) * 2020-11-16 2021-03-19 北京达佳互联信息技术有限公司 视频回放方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN112533008A (zh) 2021-03-19

Similar Documents

Publication Publication Date Title
WO2022100724A1 (zh) 视频回放方法及装置
CN109152095B (zh) 用于终端的无线网络连接方法
US11122307B2 (en) Data live streaming method, and related device and system
US20170163580A1 (en) Interactive method and device for playback of multimedia
US11025967B2 (en) Method for inserting information push into live video streaming, server, and terminal
US10540063B2 (en) Processing actionable notifications
US20140344286A1 (en) Method and apparatus for displaying webcast roomss
US10474507B2 (en) Terminal application process management method and apparatus
EP3547715A1 (en) Method and apparatus for reducing continuous-wakeup delay of bluetooth loudspeaker, and bluetooth loudspeaker
WO2020094036A1 (zh) 用于终端的无线网络连接方法
US20170168705A1 (en) Method and electronic device for adjusting video progress
WO2014183427A1 (en) Method and apparatus for displaying webcast rooms
US20210255746A1 (en) Application control method and electronic device
CN110618806B (zh) 一种应用程序控制方法、装置、电子设备及存储介质
US10237291B2 (en) Session processing method and device, server and storage medium
WO2020237545A1 (zh) 相机启动方法及相关装置
US20140075341A1 (en) Providing Feedback for Screen Sharing
WO2019076250A1 (zh) 推送消息的管理方法及相关产品
KR102133514B1 (ko) 전자 장치의 상태 메시지 서비스 제공 방법 및 그 전자 장치
US20180213027A1 (en) Receiving a communication event
WO2017166608A1 (zh) 一种多媒体播放状态的调整方法及装置、电子设备及存储介质
CN103716550B (zh) 用于减少呈现等待时间的方法和装置
CN105898596B (zh) 直播间显示控制方法及装置
US20060210042A1 (en) Auto switch system and method thereof for IP phone and default audio device
CN110888093A (zh) 显示屏连接检测方法、装置、计算机可读存储介质及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21891244

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21891244

Country of ref document: EP

Kind code of ref document: A1