WO2016066092A1 - 多媒体播放控制方法、装置以及存储介质 - Google Patents

多媒体播放控制方法、装置以及存储介质 Download PDF

Info

Publication number
WO2016066092A1
WO2016066092A1 PCT/CN2015/093036 CN2015093036W WO2016066092A1 WO 2016066092 A1 WO2016066092 A1 WO 2016066092A1 CN 2015093036 W CN2015093036 W CN 2015093036W WO 2016066092 A1 WO2016066092 A1 WO 2016066092A1
Authority
WO
WIPO (PCT)
Prior art keywords
subtitle
segment
playback
option
line
Prior art date
Application number
PCT/CN2015/093036
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 WO2016066092A1 publication Critical patent/WO2016066092A1/zh
Priority to US15/183,412 priority Critical patent/US9918138B2/en
Priority to US15/878,109 priority patent/US10419823B2/en

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/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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • 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
    • 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/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a multimedia playback control method, apparatus, and storage medium.
  • terminals For multimedia playback, more and more users use terminals for multimedia playback.
  • the user can change the multimedia play position by dragging the anchor point on the progress bar; start the trial broadcast from the played position after the drag, and view the current position corresponding from the play interface. Subtitles; after multiple trial broadcasts and subtitles viewing, after finding the subtitles that you want to listen to, start playing from the playback time corresponding to the location of the anchor point, thus realizing the control of the multimedia playback progress.
  • an embodiment of the present invention provides a multimedia playback control method, apparatus, and storage medium.
  • the multimedia file is played by using the playback start time as a playback starting point.
  • a multimedia control device provided by an embodiment of the present invention includes one or more processors and a storage medium stored in an operation instruction. When the operation instruction in the storage medium is executed, the processor performs the following steps:
  • the multimedia file is played by using the playback start time as a playback starting point.
  • a non-transitory computer readable storage medium provided by an embodiment of the present invention has stored thereon computer executable instructions. When the executable instructions are executed in the computer, the following steps are performed:
  • the multimedia file is played by using the playback start time as a playback starting point.
  • the user when the subtitle is displayed, the user selects the subtitle segment, and according to the time label corresponding to the subtitle segment, the playback start time of the multimedia file corresponding to the subtitle segment can be obtained, thereby implementing the multimedia file.
  • the adjustment of the play progress is more flexible, the operation efficiency is high, and the interaction is strong.
  • FIG. 1 is a flowchart of a multimedia play control method according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a multimedia play control method according to another embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a caption display interface according to another embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a caption display interface according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a multimedia playback control apparatus according to another embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a display module according to another embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a play module according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a multimedia playback control terminal according to another embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a multimedia playback control terminal according to another embodiment of the present invention.
  • the multimedia file refers to a file having a plurality of mixed media properties, such as a video file and a song file
  • the subtitle file refers to a prompt file configured for the multimedia file, for example, for a video file
  • the Chinese and English subtitles corresponding to the video file, and for the song file may be the lyrics file of the song file or the like.
  • FIG. 1 is a flowchart of a multimedia play control method according to an embodiment of the present invention.
  • the execution body of the multimedia playback control method provided in this embodiment is a terminal device, and the terminal device may be a mobile phone, a tablet computer, or a desktop computer.
  • the method includes steps 101 to 104.
  • step 101 the subtitle information of the multimedia file is divided into a plurality of subtitle segments, and each subtitle segment corresponds to a time stamp. .
  • the method provided by the embodiment of the present invention may be implemented on a subtitle display interface of a multimedia file, or may be implemented on other display interfaces, which is not limited in this embodiment.
  • the multimedia file is taken as a song file
  • the subtitle file corresponding to the multimedia file is a lyric file.
  • the lyrics file corresponding to the multimedia file may include the lyrics text information and the time stamp, and the lyrics file may be in a line format, a word format, or a segment format, which is not specifically limited in the embodiment of the present invention.
  • the lyrics file is in a line format, that is, the lyrics text information is divided by lines, each line of lyrics corresponds to a time stamp, and the time label includes a play start time of the line of lyrics, or a play start time and a play end time including the line of lyrics. .
  • the subtitle display interface may further include a play progress bar, a play and pause control block, and a control block for jumping to the previous or next multimedia file, etc., for indicating the playback progress of the multimedia file and controlling the playing of the multimedia file.
  • a play progress bar for indicating the playback progress of the multimedia file and controlling the playing of the multimedia file.
  • step 102 playback of the selected subtitle segment in the subtitle information is triggered.
  • the subtitle file is used as the lyrics file, and a certain segment of the subtitle information may refer to a line of lyrics or a piece of lyrics on the lyric display interface, which is not specifically limited in this embodiment of the present invention.
  • the subtitle file is used as the lyric file, and any segment of the subtitle information may refer to a line of lyrics or a piece of lyrics on the lyric display interface, which is not specifically limited in this embodiment of the present invention.
  • the line label may be added to the lyrics file for branching or adding a segment label for segmentation, that is, the lyric file is in a line format or a segment format, so that the terminal can make the lyric text information after parsing
  • the lyrics text information responds to the play trigger operation in the form of a line or a segment.
  • the playback play trigger operation of the selected subtitle segment in the subtitle information may be a click, a double tap, a long press, and the like.
  • a subtitle alignment indicator line and a skip broadcast option are displayed at a designated position of the subtitle display interface, and the subtitle alignment indication is displayed.
  • the line is used to highlight the subtitle corresponding to the hopping option; when the triggering operation on the hopping option is detected, it is determined that the playback triggering operation of the subtitle corresponding to the subtitle alignment line occurs.
  • step 103 the playback start time of the selected subtitle segment is obtained according to the time tag corresponding to the selected subtitle segment.
  • each of the pair of subtitles corresponds to a time stamp
  • the time stamp may include a play start time of the subtitle clip, or include a play start time and a play end time of the subtitle clip, and thus, according to The time stamp acquires the playback start time of the subtitle segment.
  • step 104 the multimedia file is played with the playback start time as the playback start point.
  • the terminal After obtaining the playback start time of the multimedia file corresponding to the selected subtitle segment, the terminal will jump to the playback start time to play the multimedia file, and perform fast and efficient control on the multimedia file playback progress.
  • the user when the subtitle is displayed, the user selects the subtitle segment, and according to the corresponding time stamp of the subtitle segment, the playback start time of the multimedia file corresponding to the subtitle segment can be obtained, thereby realizing the playback of the multimedia file.
  • the progress adjustment is more flexible, the operation efficiency is high, and the interaction is strong.
  • the caption alignment indicator line is used to highlight the skip option The corresponding subtitles.
  • the caption alignment indicator line corresponds to a line of captions, it is determined that a play triggering operation for a line of captions is detected;
  • the caption alignment indication line corresponds to a space between adjacent two lines of subtitles, it is determined that the first line or the second line of the adjacent two lines of subtitles is detected. Play trigger action; or,
  • the caption alignment indicator line corresponds to a caption, it is determined that the play triggering operation for the caption is detected.
  • the display of the caption alignment line and the skip option may also be canceled.
  • the current multimedia playback process is stopped, and the selected playback start time is skipped, without any playback operation, from the playback. Start playing the multimedia file at the beginning; or,
  • FIG. 2 is a flowchart of a multimedia playback control method according to an embodiment of the present invention.
  • the method may be applied to a terminal device, where the terminal device may be a mobile phone, a tablet computer, or a desktop computer light. See FIG. 2, the method flow Steps 201 to 204 are included.
  • step 201 in the process of displaying the subtitle information, if the subtitle display interface is detected
  • the drag operation displays a caption alignment indicator line and a skip option at a specified position of the caption display interface, and the caption alignment indicator line is used to highlight the caption corresponding to the skip play option.
  • the drag operation on the caption display interface may be an upward drag or a downward drag operation, specifically, in a multimedia file.
  • the terminal will display the response of the subtitle display interface to the drag operation by an animation effect, such as the effect that the subtitle scrolls up or down with the direction and speed of the drag operation.
  • the subtitles that the user wants to view can be selected, thereby obtaining the playback start time of the selected subtitles, and implementing the subsequent playback progress adjustment process.
  • the drag operation on the subtitle display interface is different according to the different subtitle switching modes on the subtitle display interface.
  • only one line of subtitles may be displayed on the subtitle display interface, and during the playback of the multimedia file, the subtitles on the subtitle display interface are switched in the form of scrolling to the left. Therefore, for this case, when the subtitle is detected When the operation of dragging the left or right of the display interface is displayed, the animation effect of the subtitle scrolling to the left or the right scrolling may be displayed, which is not specifically limited in the embodiment of the present invention.
  • the caption alignment indicator line and the skip play option are displayed at the designated position of the caption display interface, so that the user can use the caption alignment indicator line as the position reference, and Quickly find the selected subtitles and start playing multimedia files from the selected subtitles.
  • the multi-line subtitles in the subtitle file are displayed on the subtitle display interface.
  • the specified position may be the position of the subtitle in the middle of the multi-line subtitle, and of course, any other specified position may be used. This is not specifically limited.
  • the subtitle alignment indicator line is used to highlight the subtitle corresponding to the skipping option, and may be horizontally displayed on the subtitle display interface, parallel to each subtitle; in a subtitle scrolling process after the drag operation, when a certain line
  • the subtitle alignment indicator line allows the user to know that the subtitle is the currently selected subtitle.
  • the hopping option may be located at a left or right position of the subtitle alignment indicator line to enable the user to know that the hopping option is set for a line of subtitles corresponding to the subtitle alignment indicator line; After a certain line of subtitles that the quasi-user wants to listen to, the terminal will play the multimedia file according to the trigger operation of the user's jumping option.
  • the hopping option may be a triangle or the like, which is not specifically limited in this embodiment of the present invention.
  • the terminal may perform the playback of the multimedia file according to the triggering operation of the subtitle alignment line corresponding to the subtitle by the user, which is not specifically limited in this embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a caption display interface according to an embodiment of the present invention.
  • a caption file as a lyric file as an example
  • a multimedia file name is displayed at the same time.
  • play progress bar, play time, play and pause control block, and control block to jump to the previous or next multimedia file
  • Figure 3 (b) the user drags the lyric display interface downward
  • the lyrics on the lyric display interface scroll down, and the subtitle alignment indicator is displayed horizontally in the middle of the lyric display interface, and the hopping option is displayed on the left side of the subtitle alignment indicator.
  • the subtitle alignment may be performed within a certain period of time when the subtitle alignment indication line and the skip option are displayed.
  • a text reminder message is displayed at the position of the indicator line and the jump option, as shown in FIG. 3(b), "click the small triangle to jump to the current lyrics".
  • the subtitles in the designated area corresponding to the subtitle alignment indicator line are highlighted.
  • the transparency of the background image portion within the designated area on the subtitle display interface is increased or the font color number of the segment corresponding to the subtitle alignment indication line is subjected to emphasis processing, thereby highlighting the subtitle in the designated area.
  • the size of the designated area is not specifically limited in the embodiment of the present invention.
  • the font color number of the segment corresponding to the subtitle alignment line is subjected to emphasis processing.
  • the method for highlighting may also be to display the font of the subtitle in the specified area on the subtitle display interface, and the like.
  • step 202 when a triggering operation on the skipping option is detected, it is determined that a playback triggering operation for the subtitle corresponding to the subtitle alignment line is detected.
  • FIG. 4 is a schematic diagram of a caption display interface according to an embodiment of the present invention.
  • determining that the playback triggering operation for the lyrics corresponding to the caption alignment indicator line is detected may include the following three cases.
  • the caption alignment indication line corresponds to a line of captions, it is determined that the play triggering operation for one line of captions is detected.
  • the subtitle alignment indicator line corresponds to a line of subtitles, that is, after the subtitle scrolling is finished, a certain line of subtitles is just rolled. Moving to the subtitle alignment indicator line, it is determined that the playback trigger operation for the subtitle of the line is detected. Referring to FIG. 4( a ), the subtitle alignment indicator line corresponds to the lyrics of the song file “Meet in Beijing”, and it is determined that the playback trigger operation of the lyrics “Meet in Beijing” is detected.
  • the caption alignment indication line corresponds to a space between adjacent two lines of subtitles, it is determined that the first line or the second line of the adjacent two lines of subtitles is detected.
  • the playback triggers the action.
  • the subtitle alignment indicator line corresponds to a blank space between adjacent two lines of subtitles, that is, after the subtitle scrolling ends, the subtitle alignment indication line is just in the blank space between two adjacent subtitles. At this time, it may be determined that the play triggering operation of the first line or the second line of the adjacent two lines of subtitles is detected. In specific implementation, the selection by the technician in this case may be preset, or The user provides an option for this case to set it according to the user's choice. Referring to Figure 4(b), the subtitle alignment indicator line corresponds to the blank space between the lyrics "Meet in Beijing" and “Come on! Friends", at which point it can be determined that the lyrics "Meet in Beijing” or " Come on! The play of the friend triggers the action.
  • the caption alignment indicator line corresponds to a caption, it is determined that the play triggering operation for the caption is detected.
  • the subtitle alignment indication line is located at any position in a certain subtitle after the subtitle scrolling is finished, it is determined that the playback trigger operation of the subtitle is detected. It can also be considered as determining that a playback trigger operation of the first line of subtitles in the subtitle is detected.
  • a lyrics on the lyrics display interface is indicated by a dashed box, and the subtitle alignment indicator is located in the dotted frame, and it can be determined that the playback triggering operation of the lyrics is detected.
  • the dotted line frame in FIG. 4(c) is only used to assist in indicating a piece of lyrics on the lyrics display interface. In an actual application, the dotted frame may be displayed at the end of the drag operation, or may not be displayed. The dotted line frame is not specifically limited in this embodiment of the present invention.
  • the caption alignment indicator line and the skip play option are displayed at the designated position of the caption display interface, when the drag operation ends, if the preset time period is not detected, the pair is not detected. Trigger operation of the skip option, cancel the display of the subtitle alignment indicator and the skip option.
  • the preset duration is a small duration, such as 1s, 2s, etc., which is not limited in this embodiment.
  • the subtitle display interface corresponding to the current multimedia playback progress is also restored.
  • the subtitle corresponding to the current playback progress is displayed on the subtitle display interface.
  • the jump to The terminal will not stop the previous multimedia playback process until the subtitle is aligned with the subtitle corresponding to the indication line. Therefore, if the triggering operation on the jump option is not detected within the preset duration, the multimedia playback process will not be affected, and on the subtitle display interface, the multimedia file will be retrieved from the subtitle file according to the playback progress of the multimedia file.
  • the multi-line subtitle corresponding to the playback progress is displayed.
  • the caption corresponding to the multimedia file pause play is displayed on the caption display interface. Therefore, if the triggering operation of the skipping option is not detected within the preset duration, the multi-line subtitle corresponding to the playback progress is obtained from the subtitle file according to the pause playing time of the multimedia file, that is, the drag operation is resumed.
  • the previous subtitle display interface In the multimedia play pause scene, before the drag operation on the caption display interface is detected, the caption corresponding to the multimedia file pause play is displayed on the caption display interface. Therefore, if the triggering operation of the skipping option is not detected within the preset duration, the multi-line subtitle corresponding to the playback progress is obtained from the subtitle file according to the pause playing time of the multimedia file, that is, the drag operation is resumed.
  • the previous subtitle display interface is the previous subtitle display interface.
  • step 203 the play start time of the selected subtitle corresponding to the play trigger operation is obtained according to the time tag corresponding to the selected subtitle.
  • the playback start time corresponding to the line of subtitles is also obtained from the subtitle file corresponding to the multimedia file.
  • the subtitle file may be parsed by the terminal to obtain a parsed list, where each line of the list includes a play start time and subtitle information of a line of subtitles, so that a line of subtitles corresponding to the subtitle alignment line is included in the list. Get the playback start time corresponding to the subtitle of the line.
  • the playback start time corresponding to the subtitle is also obtained from the subtitle file corresponding to the multimedia file.
  • the subtitle file may be parsed by the terminal to obtain a parsed list, where each line of the list includes a playback start time and subtitle information of the subtitle, so that a subtitle corresponding to the subtitle alignment indication line is included in the list. Get the playback start time corresponding to the subtitle of the line.
  • step 204 the multimedia file is played with the playback start time as the playback start point.
  • the multimedia file Before the drag operation starts, on the multimedia file playing interface, the multimedia file may be in the playing process, and may also be in the paused scene. Therefore, the playback start time is the starting point of the playback, and the process of playing the multimedia file includes: if current During the multimedia playback process, the current multimedia playback process is stopped, and the playback start time is skipped, and the multimedia file is played from the playback start time without any playback operation; or, if the multimedia playback is currently paused In the scene, jump to the playback start time, and when the playback command is received, the multimedia file is played from the playback start time.
  • the process realizes starting playback from the subtitle corresponding to the subtitle alignment indication line, that is, starting from the subtitle selected by the user.
  • the user when the subtitle is displayed, the user selects the subtitle segment, and according to the time label corresponding to the subtitle segment, the playback start time of the multimedia file corresponding to the subtitle segment can be obtained, thereby realizing the playback progress of the multimedia file. Adjustment, implementation is more flexible, high operational efficiency, and strong interactivity.
  • FIG. 5 is a schematic structural diagram of a multimedia playback control apparatus according to an embodiment of the present disclosure, where the apparatus is configured to execute the multimedia playback progress control method provided by the embodiment shown in FIG. 1 or FIG. 2, and the apparatus may be configured in the terminal.
  • the terminal device can be a mobile phone, a tablet computer or a desktop computer light. Referring to Figure 5, the device includes:
  • the display module 501 is configured to display the subtitle information according to the subtitle file corresponding to the multimedia file on the subtitle display interface;
  • the obtaining module 502 is configured to: when detecting a play triggering operation on any segment of the caption information, obtain a play start time of the segment corresponding to the play triggering operation from the caption file;
  • the playing module 503 is configured to play the multimedia file with the playing start time as a playing starting point.
  • the display module 501 specifically includes:
  • the display unit 5011 is configured to display a caption alignment indication line and a skipping option at a designated position of the caption display interface, in the process of displaying the caption information, if the drag operation on the caption display interface is detected, the caption alignment indicator line Used to highlight the subtitle corresponding to the skip option;
  • a determining unit 5012 configured to determine that the pair is detected when a triggering operation on the skipping option is detected
  • the subtitle alignment indicator line corresponds to the playback trigger operation of the subtitle.
  • the determining unit 5012 is configured to: when the triggering operation on the skip option is detected, if the caption alignment indication line corresponds to a line of captions, determine that a play triggering operation for a line of captions is detected; or, when detecting When the trigger operation on the skip option is performed, if the caption indicator line corresponds to the blank space between the adjacent two lines of captions, it is determined that the play triggering operation of the first line or the second line of the adjacent two lines of subtitles is detected. Or, when the triggering operation on the skip option is detected, if the caption indicator line corresponds to a caption, it is determined that the play triggering operation for the caption is detected.
  • the display unit 5011 is specifically configured to: when the drag operation ends, if the trigger operation of the skip option is not detected within the preset duration, cancel the display of the caption alignment indicator line and the skip option.
  • the playing module 503 specifically includes:
  • the first playing unit 5031 is configured to stop the current multimedia playing process when jumping in the multimedia playing process, jump to the playing start time, and play the multimedia from the playing start time without any playing operation. Document; or,
  • the second playing unit 5032 is configured to jump to the playback start time when currently in the multimedia playback pause scenario, and play the multimedia file from the playback start time when the playback instruction is received.
  • the device when the subtitle is displayed, the user selects the subtitle segment, and according to the time tag corresponding to the subtitle segment, the playback start time of the multimedia file corresponding to the subtitle segment can be obtained, thereby realizing the playback of the multimedia file.
  • the progress adjustment is more flexible, the operation efficiency is high, and the interaction is strong.
  • the apparatus may include: one or more processors 801 and a storage medium 802 storing operation instructions when the storage medium 802 is operated.
  • the processor 801 performs the following steps:
  • the processor 801 obtains the selected subtitle segment according to the time tag corresponding to the selected subtitle segment.
  • the time stamp corresponding to the selected subtitle segment is queried according to the corresponding list to obtain the playback start time of the selected subtitle segment.
  • processor 801 when the processor 801 triggers playing of the selected subtitle field in the subtitle information, performing:
  • the subtitle display interface is dragged, and the subtitle alignment indication line and the skipping option are displayed at the designated position of the subtitle display interface, and the subtitle alignment indication line is used to highlight the subtitle segment corresponding to the skipping option; as well as
  • the jump play option is triggered to determine that the subtitle segment corresponding to the jump play option is the selected subtitle segment.
  • processor 801 further performs:
  • the skipping option When the skipping option is triggered, if the subtitle alignment indicator line corresponds to a line of subtitle segments, determining that the line of subtitle segments is the selected subtitle segment;
  • the skipping option When the skipping option is triggered, if the subtitle indicator line corresponds to a blank space between adjacent two lines of subtitle segments, determining that the first line or the second line of the adjacent two lines of subtitle segments is the selected subtitle segment;
  • the skipping option When the skipping option is triggered, if the subtitle indicator line corresponds to a subtitle segment, it is determined that the subtitle segment is the selected subtitle segment.
  • processor 801 further performs:
  • FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal may be used to implement the multimedia playback control method provided in the foregoing embodiment.
  • the terminal 800 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (Wireless Fidelity, wireless).
  • the fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 8 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, receiving and transmitting signals, and in particular, receiving downlink information of the base station and then processing it by one or more processors 180; The data related to the uplink is sent to the base station.
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • SIM Subscriber Identity Module
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 800 (such as audio data, phone book, etc.) and the like.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • resistors can be used A variety of types, such as capacitive, infrared, and surface acoustic waves, implement the touch-sensitive surface 131.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 800, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Terminal 800 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 800 moves to the ear. / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 800 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal 800.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack, To provide communication between the peripheral earphone and the terminal 800.
  • WiFi is a short-range wireless transmission technology
  • the terminal 800 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 8 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the terminal 800, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is the control center of the terminal 800, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the terminal 800 are performed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the terminal 800 also includes a power source 190 (such as a battery) for powering various components.
  • a power source 190 such as a battery
  • the power source can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 800 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit of the terminal is a touch screen display
  • the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more Execution.
  • the one or more programs include instructions for performing the following operations:
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the time stamp corresponding to the selected subtitle segment is queried according to the corresponding list to obtain the playback start time of the selected subtitle segment.
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the subtitle display interface is dragged, and the subtitle alignment indication line and the skipping option are displayed at the designated position of the subtitle display interface, and the subtitle alignment indication line is used to highlight the subtitle segment corresponding to the skipping option; as well as
  • the jump play option is triggered to determine that the subtitle segment corresponding to the jump play option is the selected subtitle segment.
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the skipping option When the skipping option is triggered, if the subtitle alignment indicator line corresponds to a line of subtitle segments, determining that the line of subtitle segments is the selected subtitle segment;
  • the skipping option When the skipping option is triggered, if the subtitle indicator line corresponds to a blank space between adjacent two lines of subtitle segments, determining that the first line or the second line of the adjacent two lines of subtitle segments is the selected subtitle segment;
  • the skipping option When the skipping option is triggered, if the subtitle indicator line corresponds to a subtitle segment, it is determined that the subtitle segment is the selected subtitle segment.
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the terminal provided by the embodiment of the present invention, when the subtitle is displayed, the user selects the subtitle segment, and according to the corresponding time stamp of the subtitle segment, the playback start time of the multimedia file corresponding to the subtitle segment can be obtained, thereby realizing the playback of the multimedia file.
  • the progress adjustment is more flexible, the operation efficiency is high, and the interaction is strong.
  • Embodiments of the present invention provide a computer readable storage medium, which may be It is a computer readable storage medium included in the memory in the above embodiment; or may be a computer readable storage medium that is separately present and not incorporated in the terminal.
  • the computer readable storage medium stores one or more programs that are used by one or more processors to perform a multimedia playback schedule control method, the method comprising:
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the time stamp corresponding to the selected subtitle segment is queried according to the corresponding list to obtain the playback start time of the selected subtitle segment.
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the subtitle display interface is dragged, and the subtitle alignment indication line and the skipping option are displayed at the designated position of the subtitle display interface, and the subtitle alignment indication line is used to highlight the subtitle segment corresponding to the skipping option; as well as
  • the jump play option is triggered to determine that the subtitle segment corresponding to the jump play option is the selected subtitle segment.
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the skipping option When the skipping option is triggered, if the subtitle alignment indicator line corresponds to a line of subtitle segments, determining that the line of subtitle segments is the selected subtitle segment;
  • the skipping option When the skipping option is triggered, if the subtitle indicator line corresponds to a blank space between adjacent two lines of subtitle segments, determining that the first line or the second line of the adjacent two lines of subtitle segments is the selected subtitle segment;
  • the skipping option is triggered, if the subtitle indicator line corresponds to a subtitle segment, the segment is determined The screen clip is the selected subtitle clip.
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the computer-readable storage medium provided by the embodiment of the present invention, when the subtitle is displayed, the user selects the subtitle segment, and according to the corresponding time stamp of the subtitle segment, the playback start time of the multimedia file corresponding to the subtitle segment can be obtained, thereby realizing The progress of the playback of multimedia files is adjusted, the implementation is more flexible, the operation efficiency is high, and the interaction is strong.
  • a graphical user interface is provided in an embodiment of the present invention, the graphical user interface being used on a terminal, the terminal comprising a touch screen display, a memory, and one or more processors for executing one or more programs;
  • the graphic User interfaces include:
  • the graphic user interface provided by the embodiment of the present invention, when the subtitle is displayed, the user selects the subtitle segment, and according to the corresponding time stamp of the subtitle segment, the playback start time of the multimedia file corresponding to the subtitle segment can be obtained, thereby implementing the multimedia file.
  • the adjustment of the play progress is more flexible, the operation efficiency is high, and the interaction is strong.
  • the multimedia playback progress control apparatus provided by the foregoing embodiment only exemplifies the division of each functional module in the control of the multimedia playback progress.
  • the foregoing functions may be assigned different functions according to requirements.
  • the module is completed, dividing the internal structure of the device into different functional modules to perform all or part of the functions described above.
  • the embodiment of the multimedia playback progress control device and the multimedia playback progress control method provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

本发明公开了一种多媒体播放控制方法、装置以及存储介质,属于终端技术领域。该方法包括:将多媒体文件的字幕信息划分为多个字幕片段,所述多个字幕片段中的每一个字幕片段对应一个时间标签;触发对所述字幕信息中选定字幕片段的播放;根据所述选定字幕片段对应的时间标签,获取所述字幕片段的播放起始时间;以及以所述播放起始时间为播放起点,播放所述多媒体文件。

Description

多媒体播放控制方法、装置以及存储介质
本申请要求于2014年10月29日提交中国专利局、申请号为201410596914.9、发明名称为“多媒体播放进度控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,特别涉及一种多媒体播放控制方法、装置以及存储介质。
背景技术
随着终端技术的日渐发展,越来越多的用户使用终端进行多媒体播放。现有技术中,在终端进行多媒体播放时,用户可以通过拖动播放进度条上的锚点,改变多媒体播放位置;从拖动后的播放位置开始试播,同时从播放界面上查看当前位置对应的字幕;经过多次试播和字幕查看,找到自己想听的字幕后,从锚点所在位置对应的播放时间开始播放,从而实现对多媒体播放进度的控制。
现有技术在实现多媒体播放进度的控制时,需要用户根据其对多媒体文件的了解,通过多次拖动播放进度条上的锚点来找到自己想听的片段,在实现上操作效率低,交互性差,不够简便易行。
发明内容
为了解决相关技术的问题,本发明实施例提供了一种多媒体播放控制方法、装置以及存储介质。
本发明实施例所提供的一种多媒体播放控制方法,包括:
将多媒体文件的字幕信息划分为多个字幕片段,所述多个字幕片段中的每一个字幕片段对应一个时间标签;
触发对所述字幕信息中选定字幕片段的播放;
根据所述选定字幕片段对应的时间标签,获取所述字幕片段的播放起始时间;以及
以所述播放起始时间为播放起点,播放所述多媒体文件。
本发明实施例所提供的一种多媒体控制装置包括一个或多个处理器和存储于有操作指令的存储介质,当运行所述存储介质中的操作指令时,所述处理器执行如下步骤:
将多媒体文件的字幕信息划分为多个字幕片段,所述多个字幕片段中的每一个字幕片段对应一个时间标签;
触发对所述字幕信息中选定字幕片段的播放;
根据所述选定字幕片段对应的时间标签,获取所述字幕片段的播放起始时间;以及
以所述播放起始时间为播放起点,播放所述多媒体文件。
本发明实施例所提供的一种非瞬时性的计算机可读存储介质,其上存储有计算机可执行指令,当计算机中运行这些可执行指令时,执行如下步骤:
将多媒体文件的字幕信息划分为多个字幕片段,所述多个字幕片段中的每一个字幕片段对应一个时间标签;
触发对所述字幕信息中选定字幕片段的播放;
根据所述选定字幕片段对应的时间标签,获取所述字幕片段的播放起始时间;以及
以所述播放起始时间为播放起点,播放所述多媒体文件。
本发明实施例提供的技术方案,在显示字幕时,用户选定字幕片段,根据该字幕片段所对应的时间标签可以获取该字幕片段所对应的多媒体文件的播放起始时间,从而实现多媒体文件的播放进度调整,实现上较为灵活,操作效率高,交互性较强。
附图说明
图1是本发明一实施例提供的一种多媒体播放控制方法流程图;
图2是本发明另一实施例提供的一种多媒体播放控制方法流程图;
图3是本发明另一实施例提供的一种字幕显示界面的示意图;
图4是本发明另一实施例提供的一种字幕显示界面的示意图;
图5是本发明另一实施例提供的一种多媒体播放控制装置的结构示意图;
图6是本发明另一实施例提供的一种显示模块的结构示意图;
图7是本发明另一实施例提供的一种播放模块的结构示意图;
图8是本发明另一实施例提供的一种多媒体播放控制终端的结构示意图;以及
图9是本发明另一实施例提供的一种多媒体播放控制终端的结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
为了便于对本发明实施例的理解,在此对一些名词进行描述。
在本发明实施例中,多媒体文件是指视频文件、歌曲文件等具有多种混合媒体性能的文件,字幕文件是指为该多媒体文件配置的提示性文件,如对于视频文件来说,可以为该视频文件对应的中、英文字幕等,而对于歌曲文件来说,可以为该歌曲文件的歌词文件等。
图1是本发明实施例提供的一种多媒体播放控制方法的流程图。本实施例提供的多媒体播放控制方法的执行主体为终端设备,该终端设备可以是手机、平板电脑或台式机等,参见图1,该方法流程包括步骤101至步骤104。
在步骤101中,将多媒体文件的字幕信息划分为多个字幕片段,每个字幕片段对应一个时间标签。。
本发明实施例提供的方法可以在多媒体文件的字幕显示界面上实现,也可以在其他显示界面实现,本实施例不做限制。
在本发明实施例中,以多媒体文件为歌曲文件为例,多媒体文件对应的字幕文件即为歌词文件。多媒体文件对应的歌词文件可以包括歌词文本信息和时间标签,且歌词文件可以为行格式、字格式或段格式,本发明实施例对此不作具体限定。当歌词文件为行格式时,即歌词文本信息以行进行划分,每一行歌词对应一个时间标签,该时间标签包括该行歌词的播放开始时间,或包括该行歌词的播放开始时间和播放结束时间。根据当前多媒体文件播放进度对应的播放时间,确定该播放时间对应的时间标签,从而获取该时间标签对应的一行歌 词,或者获取该时间标签对应的一行歌词以及该行歌词前后预设行数的歌词,将获取到的歌词显示于歌词显示界面上。
此外,字幕显示界面上还可以包括播放进度条、播放和暂停控制块、以及跳转至前一个或后一个多媒体文件的控制块等,用于指示多媒体文件的播放进度和控制多媒体文件的播放,本发明实施例对此不作具体限定。
在步骤102中,触发对字幕信息中选定字幕片段的播放。
在本发明实施例中,以字幕文件为歌词文件为例,字幕信息的某一片段可以是指歌词显示界面上的一行歌词或一段歌词,本发明实施例对此不做具体限定。
在本发明实施例中,以字幕文件为歌词文件为例,字幕信息的任一片段可以是指歌词显示界面上的一行歌词或一段歌词,本发明实施例对此不作具体限定。具体实施时,可以在歌词文件中对歌词文本信息中添加行标签进行分行或添加段标签进行分段,即歌词文件为行格式或段格式,从而使终端在解析得到歌词文本信息后,能够使歌词文本信息以行或段的形式响应播放触发操作。
此外,对字幕信息中选定字幕片段的播放播放触发操作可以是点击、双击、长按等操作。在本发明实施例中,在显示字幕信息的过程中,如果检测到对字幕显示界面的拖动操作,在字幕显示界面的指定位置显示字幕对准指示线和跳播选项,该字幕对准指示线用于突出显示跳播选项所对应的字幕;当检测到对跳播选项的触发操作时,确定发生了对字幕对准指示线对应字幕的播放触发操作。
在步骤103中,根据选定字幕片段对应的时间标签,获取选定字幕片段的播放起始时间。
在本实施例中,由于每一个字幕片对分别对应一个时间标签,且该时间标签可以包括该字幕片段的播放开始时间,或包括该字幕片段的播放开始时间和播放结束时间,因此,可根据该时间标签获取该字幕片段的播放起始时间。
在步骤104中,以该播放起始时间为播放起点,播放多媒体文件。
在获取到选定字幕片段多对应的多媒体文件的播放起始时间后,终端将跳转到该播放起始时间处,播放多媒体文件,对多媒体文件播放进度进行了快速而高效的控制。
本发明实施例提供的方法,在显示字幕时,用户选定字幕片段,根据该字幕片段对所对应的时间标签可以获取该字幕片段所对应多媒体文件的播放起始时间,从而实现多媒体文件的播放进度调整,实现上较为灵活,操作效率高,交互性较强。
在显示字幕信息的过程中,如果检测到对字幕显示界面的拖动操作,在显示界面的指定位置显示字幕对准指示线和跳播选项,该字幕对准指示线用于突出显示跳播选项所对应的字幕。
当检测到对跳播选项的触发操作时,确定检测到对字幕对准指示线对应字幕的播放触发操作。
当检测到对跳播选项的触发操作时,如果字幕对准指示线对应于一行字幕,确定检测到对一行字幕的播放触发操作;或,
当检测到对跳播选项的触发操作时,如果字幕对准指示线对应于相邻两行字幕之间的空白处,确定检测到对相邻两行字幕中的第一行或第二行字幕的播放触发操作;或,
当检测到对跳播选项的触发操作时,如果字幕对准指示线对应于一段字幕,确定检测到对该段字幕的播放触发操作。
当拖动操作结束时,如果在预设时长内,未检测到对跳播选项的触发操作,还可以取消字幕对准指示线和跳播选项的显示。
根据所选定字幕片段所对应的时间标签,如果当前处于多媒体播放过程中,停止当前的多媒体播放过程,跳转至选定播放起始时间,在无需任何播放操作的前提下,从该播放起始时间开始,播放多媒体文件;或,
如果当前处于多媒体播放暂停场景中,跳转至选定播放起始时间,当接收到播放指令时,从该播放起始时间开始,播放多媒体文件。
上述所有可选技术方案,均可按照任意结合形成本发明的可选实施例,在此不再一一赘述。
图2是本发明实施例提供的一种多媒体播放控制方法的流程图,该方法可以应用于终端设备,其中,该终端设备可以是手机、平板电脑或台式电脑灯,参见图2,该方法流程包括步骤201至步骤204。
在步骤201中,在显示字幕信息的过程中,如果检测到对字幕显示界面的 拖动操作,在字幕显示界面的指定位置显示字幕对准指示线和跳播选项,该字幕对准指示线用于突出显示跳播选项所对应的字幕。
以字幕显示界面上显示字幕文件中的多行字幕为例,在本发明实施例中,对字幕显示界面的拖动操作可以为向上拖动或向下拖动的操作,具体地,在多媒体文件的播放界面上,当用户想要查看当前播放时间之前的字幕时,可以在字幕显示界面上向下拖动;当用户想要查看当前播放时间之后的字幕时,可以在字幕显示界面上向上拖动。在检测到对字幕显示界面的拖动操作后,终端将以动画效果显示字幕显示界面对拖动操作的响应,如字幕随着拖动操作的方向和速度向上滚动或向下滚动的效果。通过该拖动操作,可以选中用户想要查看的字幕,从而获取选中字幕的播放起始时间,实现后续的播放进度调整过程。
当然,在实际应用中,根据字幕显示界面上字幕切换方式的不同,对字幕显示界面的拖动操作也不同。如,字幕显示界面上可能只显示一行字幕,并且在多媒体文件播放过程中,该字幕显示界面上的字幕是以向左滚动的形式进行切换的,因此,针对此种情况,当检测到对字幕显示界面的向左拖动或向右拖动的操作时,可以显示字幕向左滚动或向右滚动的动画效果,本发明实施例对此不作具体限定。
同时,在检测到对字幕显示界面的拖动操作后,在字幕显示界面的指定位置将显示字幕对准指示线和跳播选项,以使用户能够以该字幕对准指示线为位置参照,更快地找到选定的字幕,从选定的字幕处开始播放多媒体文件。具体地,以字幕显示界面上显示字幕文件中的多行字幕为例,该指定位置可以是在多行字幕的中间一行字幕的位置,当然,也可以是其他任意指定的位置,本发明实施例对此不作具体限定。该字幕对准指示线用于突出显示跳播选项所对应的字幕,可以是水平显示于字幕显示界面上,与每行字幕平行;在响应于拖动操作后的字幕滚动过程中,当某一行字幕滚动到该字幕对准指示线附近时,该字幕对准指示线可以使用户知悉该行字幕为当前选中的字幕。该跳播选项可以位于该字幕对准指示线的左侧或右侧位置,以使用户知悉该跳播选项是针对字幕对准指示线对应的一行字幕设定的;当字幕对准指示线对准用户想听的某一行字幕后,终端将根据用户对跳播选项的触发操作,来进行多媒体文件的播放。具体地,该跳播选项可以为三角形等,本发明实施例对此不作具体限定。当然, 终端也可以根据用户对字幕对准指示线对应字幕的触发操作,来进行多媒体文件的播放,本发明实施例对此不作具体限定。
图3是本发明实施例提供的一种字幕显示界面的示意图,以字幕文件为歌词文件为例,在图3(a)中,歌词显示界面上显示了多行歌词,同时显示了多媒体文件名称、播放进度条、播放时间、播放和暂停控制块、以及跳转至前一个或后一个多媒体文件的控制块;在图3(b)中,用户对歌词显示界面进行了向下拖动的操作,歌词显示界面上的歌词向下滚动,且在歌词显示界面的中间位置横向显示了字幕对准指示线,在字幕对准指示线的左侧显示了跳播选项。
需要说明的是,在实际应用中,为了使用户知悉该字幕对准指示线和跳播选项的功能,可以在开始显示字幕对准指示线和跳播选项的一定时长内,在该字幕对准指示线和跳播选项的位置处显示文字提醒信息,如图3(b)中显示的“点击小三角可以跳播到当前歌词处”。
此外,在字幕显示界面上,当检测到拖动操作后,将突出显示字幕对准指示线对应的指定区域内的字幕。例如,将字幕显示界面上该指定区域以内的背景图片部分的透明度增加或将该字幕对准指示线对应的片段的字体色号进行加重处理,从而突出显示该指定区域内的字幕。其中,本发明实施例对该指定区域的大小不作具体限定。如图3(b),将该字幕对准指示线对应的片段的字体色号进行加重处理。当然,该突出显示的方法也可以是将字幕显示界面上该指定区域内字幕的字体进行放大显示等,本发明实施例对此不作具体限定。
在步骤202中,当检测到对跳播选项的触发操作时,确定检测到对字幕对准指示线对应字幕的播放触发操作。
图4是本发明实施例提供的一种字幕显示界面的示意图。可选地,参见图4,当检测到对跳播选项的触发操作时,确定检测到对字幕对准指示线对应歌词的播放触发操作,可以包括下述以下三种情况。
第一种情况
当检测到对跳播选项的触发操作时,如果字幕对准指示线对应于一行字幕,确定检测到对一行字幕的播放触发操作。
字幕对准指示线对应于一行字幕,即字幕滚动结束后,某一行字幕正好滚 动到字幕对准指示线处,因此确定检测到对该行字幕的播放触发操作。参见图4(a),字幕对准指示线对应于歌曲文件的歌词“相会在北京”,此时确定检测到对歌词“相会在北京”的播放触发操作。
第二种情况
当检测到对跳播选项的触发操作时,如果字幕对准指示线对应于相邻两行字幕之间的空白处,确定检测到对相邻两行字幕中的第一行或第二行字幕的播放触发操作。
字幕对准指示线对应于相邻两行字幕之间的空白处,即字幕滚动结束后,字幕对准指示线刚好处于相邻的某两行字幕之间的空白处。此时,可以确定检测到对相邻两行字幕中的第一行或第二行字幕的播放触发操作,具体实施时,可以由技术人员对此种情况下的选择进行预先设置,也可以为用户提供针对此种情况的可选择项,从而根据用户的选择来进行设置。参见图4(b),字幕对准指示线对应于歌词“相会在北京”和“来吧!朋友”之间的空白处,此时可确定检测到对歌词“相会在北京”或“来吧!朋友”的播放触发操作。
第三种情况
当检测到对跳播选项的触发操作时,如果字幕对准指示线对应于一段字幕,确定检测到对该段字幕的播放触发操作。
当字幕信息的片段指字幕显示界面上的一段字幕时,如果字幕滚动结束后,字幕对准指示线位于某段字幕中的任一位置,即确定检测到对该段字幕的播放触发操作,此时也可认为是确定检测到对该段字幕中第一行字幕的播放触发操作。参见图4(c),用虚线框标示出了歌词显示界面上的一段歌词,字幕对准指示线位于该虚线框中,此时可确定检测到对该段歌词的播放触发操作。需要说明的是,图4(c)中的虚线框仅用于辅助指示歌词显示界面上的一段歌词,在实际应用中,可以在拖动操作结束时,显示该虚线框,也可以不显示该虚线框,本发明实施例对此不作具体限定。
可选地,为了不影响多媒体文件的正常播放,在字幕显示界面的指定位置显示字幕对准指示线和跳播选项之后,当拖动操作结束时,如果在预设时长内,未检测到对跳播选项的触发操作,取消字幕对准指示线和跳播选项的显示。其中,该预设时长为较小的时长,如1s、2s等,本实施例对此不做限制。
同时,在取消字幕对准指示线和跳播选项的显示后,还将恢复与当前多媒体播放进度对应的字幕显示界面。
如果当前处于多媒体播放过程中,当拖动操作结束时,根据当前播放进度,在字幕显示界面上,显示当前播放进度对应的字幕。
在本发明实施例中,为了不影响多媒体文件的正常播放,在多媒体播放的过程中,当检测到对字幕显示界面的拖动操作时,在检测到对跳播选项的触发操作,跳转到字幕对准指示线对应的字幕处进行播放之前,终端将不会停止之前的多媒体播放过程。因此,如果在预设时长内未检测到对跳播选项的触发操作,该多媒体播放过程将不受任何影响,而在字幕显示界面上,将根据该多媒体文件的播放进度,从字幕文件中获取该播放进度对应的多行字幕进行显示。
如果当前处于多媒体播放暂停场景中,当拖动操作结束时,恢复拖动操作开始之前的字幕显示界面。
在多媒体播放暂停场景中,在检测到对字幕显示界面的拖动操作之前,字幕显示界面上将显示多媒体文件暂停播放时对应的字幕。因此,如果在预设时长内未检测到对跳播选项的触发操作后,将根据多媒体文件的暂停播放时间,从字幕文件中获取该播放进度对应的多行字幕进行显示,即恢复拖动操作前的字幕显示界面。
在步骤203中,根据选定字幕所对应的时间标签,获取播放触发操作所对应选定字幕的播放起始时间。
当确定检测到对一行字幕的播放触发操作时,还需从多媒体文件对应的字幕文件中,获取该行字幕对应的播放起始时间。具体地,可以由终端对字幕文件进行解析,得到解析后的列表,该列表的每一行包括一行字幕的播放起始时间和字幕信息,从而根据字幕对准指示线对应的一行字幕,从列表中获得该行字幕对应的播放起始时间。
当确定检测到对一段字幕的播放触发操作时,还需从多媒体文件对应的字幕文件中,获取该段字幕对应的播放起始时间。具体地,可以由终端对字幕文件进行解析,得到解析后的列表,该列表的每一行包括一段字幕的播放起始时间和字幕信息,从而根据字幕对准指示线对应的一段字幕,从列表中获得该行字幕对应的播放起始时间。当然,也可以在确定检测到对一段字幕的播放触发 操作后,认为检测到了对该段字幕中第一行字幕的播放触发操作,从而根据(a)的过程获取该行字幕的播放起始时间,本发明实施例对此不作具体限定。
在步骤204中,以该播放起始时间为播放起点,播放多媒体文件。
由于拖动操作开始之前,在多媒体文件播放界面上,多媒体文件可能处于播放过程,也可以处于暂停场景中,因此,该以播放起始时间为播放起点,播放多媒体文件的过程,包括:如果当前处于多媒体播放过程中,停止当前的多媒体播放过程,跳转至播放起始时间,在无需任何播放操作的前提下,从该播放起始时间开始,播放多媒体文件;或,如果当前处于多媒体播放暂停场景中,跳转至播放起始时间,当接收到播放指令时,从该播放起始时间开始,播放多媒体文件。该过程实现了从字幕对准指示线对应的字幕处开始播放,即从用户选定的字幕处开始播放。
本发明实施例提供的方法,在显示字幕时,用户选定字幕片段,根据该字幕片段所对应的时间标签可以获取该字幕片段所对应多媒体文件的播放起始时间,从而实现多媒体文件的播放进度调整,实现上较为灵活,操作效率高,交互性较强。
图5是本发明实施例提供的一种多媒体播放控制装置的结构示意图,该装置用于执行上述图1或图2所示的实施例提供的多媒体播放进度控制方法,且该装置可以设置于终端设备中,该终端设备可以是手机、平板电脑或台式电脑灯。参见图5,该装置包括:
显示模块501,用于在字幕显示界面上,根据多媒体文件对应的字幕文件,显示字幕信息;
获取模块502,用于当检测到对字幕信息任一片段的播放触发操作时,从字幕文件中,获取该播放触发操作所对应片段的播放起始时间;
播放模块503,用于以该播放起始时间为播放起点,播放多媒体文件。
可选地,参见图6,该显示模块501,具体包括:
显示单元5011,用于在显示字幕信息的过程中,如果检测到对字幕显示界面的拖动操作,在字幕显示界面的指定位置显示字幕对准指示线和跳播选项,该字幕对准指示线用于突出显示跳播选项所对应的字幕;
确定单元5012,用于当检测到对跳播选项的触发操作时,确定检测到对 字幕对准指示线对应字幕的播放触发操作。
可选地,该确定单元5012,具体用于当检测到对跳播选项的触发操作时,如果字幕对准指示线对应于一行字幕,确定检测到对一行字幕的播放触发操作;或,当检测到对跳播选项的触发操作时,如果字幕指示线对应于相邻两行字幕之间的空白处,确定检测到对相邻两行字幕中的第一行或第二行字幕的播放触发操作;或,当检测到对跳播选项的触发操作时,如果字幕指示线对应于一段字幕,确定检测到对该段字幕的播放触发操作。
可选地,该显示单元5011,具体用于当拖动操作结束时,如果在预设时长内,未检测到对跳播选项的触发操作,取消字幕对准指示线和跳播选项的显示。
可选地,参见图7,该播放模块503,具体包括:
第一播放单元5031,用于在当前处于多媒体播放过程中时,停止当前的多媒体播放过程,跳转至播放起始时间,在无需任何播放操作的前提下,从播放起始时间开始,播放多媒体文件;或,
第二播放单元5032,用于在当前处于多媒体播放暂停场景中时,跳转至播放起始时间,当接收到播放指令时,从播放起始时间开始,播放多媒体文件。
本发明实施例提供的装置,在显示字幕时,用户选定字幕片段,根据该字幕片段所对应的时间标签可以获取该字幕片段所对应的多媒体文件的播放起始时间,从而实现多媒体文件的播放进度调整,实现上较为灵活,操作效率高,交互性较强。
参考图8,其示出了本发明实施例所提供的另一种多媒体播放控制装置,该装置可以包括:一个或多个处理器801和存储有操作指令的存储介质802,当运行存储介质802中的操作指令时,处理器801执行如下步骤:
将多媒体文件的字幕信息划分为多个字幕片段,多个字幕片段中的每一个字幕片段对应一个时间标签;
触发对字幕信息中选定字幕片段的播放;
根据选定字幕片段对应的时间标签,获取字幕片段的播放起始时间;以及
以该播放起始时间为播放起点,播放多媒体文件。
可选的,处理器801根据选定字幕片段对应的时间标签获取选定字幕片段 的播放起始时间时,执行:
解析字幕信息,获取字幕信息中多个字幕片段与时间标签的对应列表;
根据对应列表查询选定字幕片段所对应的时间标签,以获取选定字幕片段的播放起始时间。
可选的,处理器801触发对字幕信息中选定字幕字段的播放时,执行:
在显示字幕信息的过程中,拖动字幕显示界面,在字幕显示界面的指定位置显示字幕对准指示线和跳播选项,字幕对准指示线用于突出显示跳播选项所对应的字幕片段;以及
触发所述跳播选项,确定跳播选项所对应的字幕片段为选定字幕片段。
可选的,处理器801还执行:
当触发跳播选项时,如果字幕对准指示线对应于一行字幕片段,确定该一行字幕片段为选定字幕片段;
当触发跳播选项时,如果字幕指示线对应于相邻两行字幕片段之间的空白处,确定该相邻两行字幕片段中的第一行或第二行字幕为选定字幕片段;
当触发跳播选项时,如果字幕指示线对应于一段字幕片段,确定该一段字幕片段为选定字幕片段。
可选的,处理器801还执行:
当拖动操作结束时,如果在预设时长内,跳播选项未触发,取消字幕对准指示线和所述跳播选项的显示。
请参考图9,其示出了本发明实施例所涉及的终端的结构示意图,该终端可以用于实施上述实施例中提供的多媒体播放控制方法。
终端800可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi(Wireless Fidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图8中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将 涉及上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端800的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻 式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端800的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图8中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
终端800还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端800移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端800还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与终端800之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔, 以提供外设耳机与终端800的通信。
WiFi属于短距离无线传输技术,终端800通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块170,但是可以理解的是,其并不属于终端800的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是终端800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端800的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
终端800还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端800还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,终端的显示单元是触摸屏显示器,终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。所述一个或者一个以上程序包含用于执行以下操作的指令:
将多媒体文件的字幕信息划分为多个字幕片段,该多个字幕片段中的每一个字幕片段对应一个时间标签;
触发对字幕信息中选定字幕片段的播放;
根据选定字幕片段对应的时间标签,获取字幕片段所对应的多媒体文件的播放起始时间;以及
以播放起始时间为播放起点,播放多媒体文件。
假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,终端的存储器中,还包含用于执行以下操作的指令:
解析字幕信息,获取字幕信息中多个字幕片段与时间标签的对应列表;
根据对应列表查询选定字幕片段所对应的时间标签,以获取选定字幕片段的播放起始时间。
在第一或第二种可能的实施方式作为基础而提供的第三种可能的实施方式中,终端的存储器中,还包含用于执行以下操作的指令:
在显示字幕信息的过程中,拖动字幕显示界面,在字幕显示界面的指定位置显示字幕对准指示线和跳播选项,字幕对准指示线用于突出显示跳播选项所对应的字幕片段;以及
触发所述跳播选项,确定跳播选项所对应的字幕片段为选定字幕片段。
在第三种可能的实施方式作为基础而提供的第四种可能的实施方式中,终端的存储器中,还包含用于执行以下操作的指令:
当触发跳播选项时,如果字幕对准指示线对应于一行字幕片段,确定该一行字幕片段为选定字幕片段;
当触发跳播选项时,如果字幕指示线对应于相邻两行字幕片段之间的空白处,确定该相邻两行字幕片段中的第一行或第二行字幕为选定字幕片段;
当触发跳播选项时,如果字幕指示线对应于一段字幕片段,确定该一段字幕片段为选定字幕片段。
在第三种可能的实施方式作为基础而提供的第五种可能的实施方式中,终端的存储器中,还包含用于执行以下操作的指令:
当拖动操作结束时,如果在预设时长内,跳播选项未触发,取消字幕对准指示线和所述跳播选项的显示。
本发明实施例提供的终端,在显示字幕时,用户选定字幕片段,根据该字幕片段对所对应的时间标签可以获取该字幕片段所对应多媒体文件的播放起始时间,从而实现多媒体文件的播放进度调整,实现上较为灵活,操作效率高,交互性较强。
本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质可 以是上述实施例中的存储器中所包含的计算机可读存储介质;也可以是单独存在,未装配入终端中的计算机可读存储介质。该计算机可读存储介质存储有一个或者一个以上程序,该一个或者一个以上程序被一个或者一个以上的处理器用来执行多媒体播放进度控制方法,该方法包括:
将多媒体文件的字幕信息划分为多个字幕片段,该多个字幕片段中的每一个字幕片段对应一个时间标签;
触发对字幕信息中选定字幕片段的播放;
根据选定字幕片段对应的时间标签,获取字幕片段所对应的多媒体文件的播放起始时间;以及
以播放起始时间为播放起点,播放多媒体文件。
假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,终端的存储器中,还包含用于执行以下操作的指令:
解析字幕信息,获取字幕信息中多个字幕片段与时间标签的对应列表;
根据对应列表查询选定字幕片段所对应的时间标签,以获取选定字幕片段的播放起始时间。
在第一或第二种可能的实施方式作为基础而提供的第三种可能的实施方式中,终端的存储器中,还包含用于执行以下操作的指令:
在显示字幕信息的过程中,拖动字幕显示界面,在字幕显示界面的指定位置显示字幕对准指示线和跳播选项,字幕对准指示线用于突出显示跳播选项所对应的字幕片段;以及
触发所述跳播选项,确定跳播选项所对应的字幕片段为选定字幕片段。
在第三种可能的实施方式作为基础而提供的第四种可能的实施方式中,终端的存储器中,还包含用于执行以下操作的指令:
当触发跳播选项时,如果字幕对准指示线对应于一行字幕片段,确定该一行字幕片段为选定字幕片段;
当触发跳播选项时,如果字幕指示线对应于相邻两行字幕片段之间的空白处,确定该相邻两行字幕片段中的第一行或第二行字幕为选定字幕片段;
当触发跳播选项时,如果字幕指示线对应于一段字幕片段,确定该一段字 幕片段为选定字幕片段。
在第三种可能的实施方式作为基础而提供的第五种可能的实施方式中,终端的存储器中,还包含用于执行以下操作的指令:
当拖动操作结束时,如果在预设时长内,跳播选项未触发,取消字幕对准指示线和所述跳播选项的显示。
本发明实施例提供的计算机可读存储介质,在显示字幕时,用户选定字幕片段,根据该字幕片段对所对应的时间标签可以获取该字幕片段所对应多媒体文件的播放起始时间,从而实现多媒体文件的播放进度调整,实现上较为灵活,操作效率高,交互性较强。
本发明实施例中提供了一种图形用户接口,该图形用户接口用在终端上,该终端包括触摸屏显示器、存储器和用于执行一个或者一个以上的程序的一个或者一个以上的处理器;该图形用户接口包括:
将多媒体文件的字幕信息划分为多个字幕片段,该多个字幕片段中的每一个字幕片段对应一个时间标签;
触发对字幕信息中选定字幕片段的播放;
根据选定字幕片段对应的时间标签,获取字幕片段所对应的多媒体文件的播放起始时间;以及
以播放起始时间为播放起点,播放多媒体文件。
本发明实施例提供的图形用户接口,在显示字幕时,用户选定字幕片段,根据该字幕片段对所对应的时间标签可以获取该字幕片段所对应多媒体文件的播放起始时间,从而实现多媒体文件的播放进度调整,实现上较为灵活,操作效率高,交互性较强。
需要说明的是:上述实施例提供的多媒体播放进度控制装置在控制多媒体播放进度时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的多媒体播放进度控制装置与多媒体播放进度控制方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (11)

  1. 一种多媒体播放控制方法,包括:
    将多媒体文件的字幕信息划分为多个字幕片段,所述多个字幕片段中的每一个字幕片段对应一个时间标签;
    触发对所述字幕信息中选定字幕片段的播放;
    根据所述选定字幕片段对应的时间标签,获取所述字幕片段的播放起始时间;以及
    以所述播放起始时间为播放起点,播放所述多媒体文件。
  2. 根据权利要求1所述的方法,根据所述选定字幕片段对应的时间标签,获取所述选定字幕片段的播放起始时间,包括:
    解析所述字幕信息,获取所述字幕信息中多个字幕片段与时间标签的对应列表;
    根据所述对应列表查询所述选定字幕片段所对应的时间标签,以获取所述字幕片段的播放起始时间。
  3. 根据权利要求1或2所述的方法,触发对所述字幕信息中选定字幕片段的播放,包括:
    在显示所述字幕信息的过程中,拖动字幕显示界面,在所述字幕显示界面的指定位置显示字幕对准指示线和跳播选项,所述字幕对准指示线用于突出显示所述跳播选项所对应的字幕片段;以及
    触发所述跳播选项,确定所述跳播选项所对应的字幕片段为所述选定字幕片段。
  4. 根据权利要求3所述的方法,
    当触发所述跳播选项时,如果所述字幕对准指示线对应于一行字幕片段,确定所述一行字幕片段为选定字幕片段;
    当触发所述跳播选项时,如果所述字幕指示线对应于相邻两行字幕片段之间的空白处,确定所述相邻两行字幕片段中的第一行或第二行字幕为选定字幕 片段;
    当触发所述跳播选项时,如果所述字幕指示线对应于一段字幕片段,确定所述一段字幕片段为选定字幕片段。
  5. 根据权利要求3所述的方法,还包括:
    当所述拖动操作结束时,如果在预设时长内,所述跳播选项未触发,取消所述字幕对准指示线和所述跳播选项的显示。
  6. 一种多媒体播放控制装置,包括一个或多个处理器和存储有操作指令的存储介质,当运行所述存储介质中的操作指令时,所述处理器执行如下步骤:
    将多媒体文件的字幕信息划分为多个字幕片段,所述多个字幕片段中的每一个字幕片段对应一个时间标签;
    触发对所述字幕信息中选定字幕片段的播放;
    根据所述选定字幕片段对应的时间标签,获取所述字幕片段的播放起始时间;以及
    以所述播放起始时间为播放起点,播放所述多媒体文件。
  7. 根据权利要求6所述的装置,所述处理器根据所述选定字幕片段对应的时间标签获取所述选定字幕片段的播放起始时间时,执行:
    解析所述字幕信息,获取所述字幕信息中多个字幕片段与时间标签的对应列表;
    根据所述对应列表查询所述选定字幕片段所对应的时间标签,以获取所述选定字幕片段的播放起始时间。
  8. 根据权利要求6或7所述的装置,所述处理器触发对所述字幕信息中选定字幕片段的播放时,执行:
    在显示所述字幕信息的过程中,拖动字幕显示界面,在所述字幕显示界面的指定位置显示字幕对准指示线和跳播选项,所述字幕对准指示线用于突出显示所述跳播选项所对应的字幕片段;以及
    触发所述跳播选项,确定所述跳播选项所对应的字幕片段为所述选定字幕片段。
  9. 根据权利要求8所述的装置,所述处理器还执行:
    当触发所述跳播选项时,如果所述字幕对准指示线对应于一行字幕片段,确定所述一行字幕片段为选定字幕片段;
    当触发所述跳播选项时,如果所述字幕指示线对应于相邻两行字幕片段之间的空白处,确定所述相邻两行字幕片段中的第一行或第二行字幕为选定字幕片段;
    当触发所述跳播选项时,如果所述字幕指示线对应于一段字幕片段,确定所述一段字幕片段为选定字幕片段。
  10. 根据权利要求8所述的装置,所述处理器还执行:
    当所述拖动操作结束时,如果在预设时长内,所述跳播选项未触发,取消所述字幕对准指示线和所述跳播选项的显示。
  11. 一种非瞬时性的计算机可读存储介质,其上存储有计算机可执行指令,当计算机中运行这些可执行指令时,执行如下步骤:
    将多媒体文件的字幕信息划分为多个字幕片段,所述多个字幕片段中的每一个字幕片段对应一个时间标签;
    触发对所述字幕信息中选定字幕片段的播放;
    根据所述选定字幕片段对应的时间标签,获取所述字幕片段的播放起始时间;以及
    以所述播放起始时间为播放起点,播放所述多媒体文件。
PCT/CN2015/093036 2014-10-29 2015-10-28 多媒体播放控制方法、装置以及存储介质 WO2016066092A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/183,412 US9918138B2 (en) 2014-10-29 2016-06-15 Method for controlling multimedia playing, apparatus thereof and storage medium
US15/878,109 US10419823B2 (en) 2014-10-29 2018-01-23 Method for controlling multimedia playing, apparatus thereof and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410596914.9A CN104967910B (zh) 2014-10-29 2014-10-29 多媒体播放进度控制方法及装置
CN201410596914.9 2014-10-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/183,412 Continuation US9918138B2 (en) 2014-10-29 2016-06-15 Method for controlling multimedia playing, apparatus thereof and storage medium

Publications (1)

Publication Number Publication Date
WO2016066092A1 true WO2016066092A1 (zh) 2016-05-06

Family

ID=54221833

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093036 WO2016066092A1 (zh) 2014-10-29 2015-10-28 多媒体播放控制方法、装置以及存储介质

Country Status (3)

Country Link
US (2) US9918138B2 (zh)
CN (1) CN104967910B (zh)
WO (1) WO2016066092A1 (zh)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967910B (zh) 2014-10-29 2018-11-23 广州酷狗计算机科技有限公司 多媒体播放进度控制方法及装置
CN105550251A (zh) * 2015-12-08 2016-05-04 小米科技有限责任公司 图片播放方法和装置
CN105611371A (zh) * 2015-12-22 2016-05-25 深圳市金立通信设备有限公司 一种多媒体播放方法及终端
CN105657518A (zh) * 2016-02-04 2016-06-08 厦门幻世网络科技有限公司 一种播放动画的方法及装置
CN105847991A (zh) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 一种多媒体数据的播放方法及终端
CN105957544B (zh) * 2016-04-21 2019-06-11 腾讯科技(深圳)有限公司 歌词显示方法及装置
KR101858499B1 (ko) * 2016-12-05 2018-05-16 (주)뤼이드 단말의 학습 콘텐츠 표시 방법 및 그에 따른 응용 프로그램
CN107340968B (zh) * 2017-07-18 2021-03-09 网易传媒科技(北京)有限公司 一种基于手势来播放多媒体文件的方法、设备和计算机可读存储介质
US11128929B2 (en) * 2017-10-06 2021-09-21 Rovi Guides, Inc. Systems and methods for presenting closed caption and subtitle data during fast-access playback operations
CN107767871B (zh) * 2017-10-12 2021-02-02 安徽听见科技有限公司 文本显示方法、终端及服务器
CN107809679A (zh) * 2017-10-26 2018-03-16 费非 调节字幕的方法和装置
CN109005445A (zh) * 2018-06-26 2018-12-14 卫军征 多媒体播放方法、系统、存储介质及播放设备
CN108966025B (zh) * 2018-07-16 2021-06-15 北京小米移动软件有限公司 视频播放方法、装置及计算机可读存储介质
CN110839179A (zh) * 2018-08-17 2020-02-25 上海哔哩哔哩科技有限公司 播放器进度条动态显示方法、装置和存储介质
CN109634499A (zh) * 2018-12-12 2019-04-16 广州酷狗计算机科技有限公司 信息显示方法、装置、终端及存储介质
CN110688046B (zh) * 2019-09-24 2022-02-25 腾讯音乐娱乐科技(深圳)有限公司 歌曲播放方法、装置及存储介质
CN112752155B (zh) * 2020-01-13 2024-02-09 腾讯科技(深圳)有限公司 一种媒体数据显示方法和相关设备
CN111988663B (zh) * 2020-08-28 2022-09-06 北京百度网讯科技有限公司 视频播放节点的定位方法、装置、设备以及存储介质
CN114125527A (zh) * 2020-08-28 2022-03-01 荣耀终端有限公司 视频播放方法和设备
CN113010698B (zh) * 2020-11-18 2023-03-10 北京字跳网络技术有限公司 多媒体的交互方法、信息交互方法、装置、设备及介质
CN113473200B (zh) * 2021-05-25 2023-09-26 北京达佳互联信息技术有限公司 一种多媒体资源处理方法、装置、电子设备和存储介质
CN113378001B (zh) * 2021-06-28 2024-02-27 北京百度网讯科技有限公司 视频播放进度的调整方法及装置、电子设备和介质
CN113873221B (zh) * 2021-08-27 2023-07-18 深圳市九洲电器有限公司 字幕失真性检测方法、多媒体终端、服务器以及存储介质
CN115119039A (zh) * 2022-06-29 2022-09-27 北京奇艺世纪科技有限公司 视频播放系统、方法、装置、电子设备及存储介质
CN115033158B (zh) * 2022-08-11 2023-01-06 广州市千钧网络科技有限公司 歌词处理方法及装置、存储介质及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1975732A (zh) * 2005-11-28 2007-06-06 株式会社东芝 视频观看支持系统及方法
CN101790049A (zh) * 2010-02-25 2010-07-28 深圳市茁壮网络股份有限公司 一种新闻节目视频分段方法及系统
US20120151079A1 (en) * 2010-12-13 2012-06-14 Jan Besehanic Methods and apparatus to measure media exposure
CN104967910A (zh) * 2014-10-29 2015-10-07 腾讯科技(深圳)有限公司 多媒体播放进度控制方法及装置

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100385934C (zh) * 2004-12-10 2008-04-30 凌阳科技股份有限公司 以字幕对应时间作为影音播放起讫点的控制方法与影音播放装置
US7703115B2 (en) * 2005-05-31 2010-04-20 Scientific-Atlanta, Inc. Graphical indication of selected cell within an interactive program guide
KR100767676B1 (ko) 2005-08-22 2007-10-17 엘지전자 주식회사 영상기기 및 영상기기의 영상 스캔 방법
CN101131693A (zh) * 2006-08-25 2008-02-27 佛山市顺德区顺达电脑厂有限公司 音乐播放系统及其方法
TWI438675B (zh) * 2010-04-30 2014-05-21 Ibm 提供情境感知援助說明之方法、裝置及電腦程式產品
CN102668550A (zh) * 2010-05-19 2012-09-12 联发科技(新加坡)私人有限公司 用于为视频播放装置提供基于字幕的重复或播放功能的方法、相关视频播放装置及相关处理电路
US20120047437A1 (en) * 2010-08-23 2012-02-23 Jeffrey Chan Method for Creating and Navigating Link Based Multimedia
CN102290081A (zh) * 2011-06-27 2011-12-21 深圳市基思瑞科技有限公司 语言学习播放控制方法
JP5930363B2 (ja) * 2011-11-21 2016-06-08 株式会社ソニー・インタラクティブエンタテインメント 携帯情報機器およびコンテンツ表示方法
WO2013118387A1 (ja) * 2012-02-10 2013-08-15 ソニー株式会社 情報処理装置、情報処理方法、及びプログラム
US8886321B2 (en) * 2012-08-08 2014-11-11 Boston Scientific Scimed, Inc. Apparatus for treating pelvic floor disorders and related methods of use
DE102013007250A1 (de) * 2013-04-26 2014-10-30 Inodyn Newmedia Gmbh Verfahren zur Gestensteuerung
CN104090743B (zh) * 2013-07-18 2016-08-10 腾讯科技(深圳)有限公司 用于移动终端的音乐定位方法、装置及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1975732A (zh) * 2005-11-28 2007-06-06 株式会社东芝 视频观看支持系统及方法
CN101790049A (zh) * 2010-02-25 2010-07-28 深圳市茁壮网络股份有限公司 一种新闻节目视频分段方法及系统
US20120151079A1 (en) * 2010-12-13 2012-06-14 Jan Besehanic Methods and apparatus to measure media exposure
CN104967910A (zh) * 2014-10-29 2015-10-07 腾讯科技(深圳)有限公司 多媒体播放进度控制方法及装置

Also Published As

Publication number Publication date
CN104967910A (zh) 2015-10-07
US10419823B2 (en) 2019-09-17
CN104967910B (zh) 2018-11-23
US9918138B2 (en) 2018-03-13
US20180152765A1 (en) 2018-05-31
US20160295294A1 (en) 2016-10-06

Similar Documents

Publication Publication Date Title
WO2016066092A1 (zh) 多媒体播放控制方法、装置以及存储介质
CN107479784B (zh) 表情展示方法、装置及计算机可读存储介质
WO2016184302A1 (zh) 消息转发方法及电子设备
CN106686396B (zh) 一种切换直播间的方法和系统
CN106406712B (zh) 信息显示方法及装置
WO2016165566A1 (zh) 弹幕发布方法和移动终端
US8799828B2 (en) Scrolling method and apparatus for electronic device
WO2017125027A1 (zh) 一种进行信息展示的方法和装置、计算机存储介质
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
US9431983B2 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
CN106375179B (zh) 一种显示即时通信消息的方法和装置
CN105975190B (zh) 一种图形界面的处理方法、装置及系统
CN108549519B (zh) 分屏处理方法、装置、存储介质和电子设备
WO2014201863A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
CN106254910B (zh) 一种记录图像的方法和装置
WO2015078145A1 (zh) 放大显示字体的方法和装置
TWI559759B (zh) 進度指示列的顯示方法和相關裝置
US10678427B2 (en) Media file processing method and terminal
WO2020007114A1 (zh) 分屏应用切换方法、装置、存储介质和电子设备
CN105094501B (zh) 一种移动终端中消息的显示方法、装置和系统
WO2019076250A1 (zh) 推送消息的管理方法及相关产品
WO2015074387A1 (zh) 滑动操作响应方法、装置及终端设备
CN113050863A (zh) 页面切换方法、装置、存储介质及电子设备
WO2017005080A1 (zh) 网页显示方法、终端设备及存储介质
CN109660445B (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: 15855074

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29/09/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15855074

Country of ref document: EP

Kind code of ref document: A1