WO2017096961A1 - 视频播放处理方法、播放器及终端设备 - Google Patents

视频播放处理方法、播放器及终端设备 Download PDF

Info

Publication number
WO2017096961A1
WO2017096961A1 PCT/CN2016/096813 CN2016096813W WO2017096961A1 WO 2017096961 A1 WO2017096961 A1 WO 2017096961A1 CN 2016096813 W CN2016096813 W CN 2016096813W WO 2017096961 A1 WO2017096961 A1 WO 2017096961A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
key frame
time point
window
play
Prior art date
Application number
PCT/CN2016/096813
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 WO2017096961A1 publication Critical patent/WO2017096961A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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
    • H04N21/440281Processing 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 by altering the temporal resolution, e.g. by frame skipping
    • 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

Definitions

  • the present application relates to the field of multimedia playback technologies, and in particular, to a video playback processing method, a player, and a terminal device.
  • a video player is a core function of a consumer electronic terminal (such as a mobile phone/pad), and a user can play various video content through a video player using various terminal devices.
  • a consumer electronic terminal such as a mobile phone/pad
  • a user can play various video content through a video player using various terminal devices.
  • video content there are different interactions with the player according to different needs and scenes, such as play, pause, forward search, backward search and so on.
  • the user In the process of watching a video, the user often needs to skip the content for a period of time or backtracking, which requires the player to determine a new playback position from the current playback position forward search or backward search.
  • the present invention provides a video playback processing method, a player, and a terminal device, so as to solve the problem that when a user uses a terminal device with a small screen to watch a video, and needs a forward search or a backward search to confirm a new accurate play position, the search can be performed multiple times. Accurately find the problem at a new point in time.
  • the embodiment of the present application provides a video playback processing method, including:
  • a key frame selection window is generated, and the play video is displayed in the key frame selection window at the first time point and the second time point Key frame information between;
  • the method before the generating a key frame selection window, the method further includes:
  • the generating a key frame selection window includes:
  • a key frame selection window is generated, and the determined key frames are displayed in the key frame selection window in order of play time points.
  • the receiving the key frame information selected by the user in the key frame selection window, and according to the key frame information selected by the user, in the video play window Play video including:
  • the video is played from the playback time point of the selected key frame in the video play window.
  • the first retrieval instruction includes one of the following operation instructions:
  • the second retrieval instruction includes one of the following operation instructions:
  • the embodiment of the present application further provides a video player, including:
  • Receiving an instruction module configured to receive a first search video instruction and a second search video instruction sent by the user in the video play window for the played video;
  • Determining a time point module for determining a first time point required for retrieval by the first retrieval instruction and a second time point required for retrieval by the second retrieval instruction, wherein the first time point is earlier than the first Two time points;
  • a determining module configured to determine, in a preset time range, whether a third retrieval video instruction sent by the user in the video playing window for the played video is received, where the third retrieval video instruction needs to be retrieved a time point between the first time point and the second time point;
  • Generating a window module if the third search video instruction is received within a preset time range, generating a key frame selection window, wherein the play video is displayed in the key frame selection window at the first time point Each key frame information between the second time point;
  • the key frame information module is configured to receive the key frame information selected by the user in the key frame selection window, and play the video in the video play window according to the key frame information selected by the user.
  • the generating window module is further configured to:
  • the generating window module is configured to:
  • a key frame selection window is generated, and the determined key frames are displayed in the key frame selection window in order of play time points.
  • the receiving key frame information module is used to:
  • the video is played from the playback time point of the selected key frame in the video play window.
  • the first retrieval instruction includes one of the following operation instructions:
  • the second retrieval instruction includes one of the following operation instructions:
  • the embodiment of the present application further provides a terminal device, where the terminal device includes the above video player.
  • the embodiment of the present application further provides an electronic device, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the video playback processing method described above.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium, where the computer readable storage medium stores computer executable instructions for causing the computer to execute the video. Play processing method.
  • the embodiment of the present application further provides a computer program product, where the computer program product includes a computing program stored on a non-transitory computer readable storage medium, the computer program includes program instructions, when When the program instructions are executed by the computer, the computer is caused to execute the above-described video playback processing method.
  • the video playback processing method, the player, and the terminal device of the embodiment of the present application receive, by the video player of the terminal device, a first search video command and a second search video command that are sent by the user in the video play window for the played video; a first time point retrieved by the first retrieval instruction and a second time point required to be retrieved by the second retrieval instruction, wherein the first time point is earlier than the second time point; determining at a preset time range Receiving, by the user, a third search video instruction issued by the user in the video play window for the played video, wherein the time at which the third search video instruction needs to be retrieved is at the first time point and the first time Between two time points; if the third search video instruction is received within a preset time range, a key frame selection window is generated, and the play video is displayed in the key frame selection window at the first time point Key frame information between the second time point; receiving key frame information selected by the user in the key frame selection window, and according to the user The key frame information plays the video in the
  • Embodiment 1 is a flowchart of Embodiment 1 of a video playback processing method according to the present application;
  • FIG. 2 is a schematic diagram of a video playback window of a terminal device of the present application being dragged forward by a user;
  • FIG. 3 is a schematic diagram of a video play window of a terminal device of the present application being clicked by a user at a certain time point earlier than a current play time point on a progress bar;
  • FIG. 4 is a schematic diagram of a video playback window of a terminal device of the present application being dragged backward by a user;
  • FIG. 5 is a schematic diagram of a video play window of a terminal device of the present application being clicked by a user at a certain time point later than a current play time point on a progress bar;
  • Embodiment 6 is a flowchart of Embodiment 2 of a video playback processing method according to the present application.
  • FIG. 7 is a flowchart of Embodiment 3 of a video playback processing method according to the present application.
  • FIG. 8 is a schematic structural diagram of an embodiment of a video player of the present application.
  • FIG. 9 is a schematic structural diagram of hardware of an embodiment of a terminal device according to the present application.
  • FIG. 1 is a flowchart of Embodiment 1 of a video playback processing method of the present application. As shown in FIG. 1 , the method in this embodiment may include:
  • Step 101 Receive a first search video instruction and a second search video instruction sent by the user in the video play window for the played video.
  • Terminal devices such as mobile phones and tablet computers, are usually equipped with video players for users to watch videos.
  • users watch videos on the terminal devices, they have different interactions with the terminal devices according to different needs and scenarios. For example, when the user wants to re-watch the video of a certain point in time that has been seen, the terminal device sends an instruction to retrieve the video of the time point.
  • the user does not easily determine the video time to watch by a retrieval operation. Point, the instruction to retrieve the video twice, that is, the first retrieval video instruction and the second retrieval video instruction are issued to the terminal device.
  • the first retrieval instruction may be the example provided in FIG. 2, dragging the video playback window forward.
  • the drag and drop operation instruction of the progress bar; or the example provided in FIG. 3 click the click operation instruction at a time point on the progress bar of the video play window, and the time point on the progress bar of the video play window clicked by the user Earlier than the current playback time point of the playback video.
  • the second retrieval instruction may be an example provided in FIG. 4, and drag and drop the drag operation instruction of the progress bar of the video play window; or may be an example provided in FIG. 5, click a time point on the progress bar of the video play window.
  • the click operation instruction, and the time point on the progress bar of the video play window clicked by the user is later than the current play time point of the play video.
  • Step 102 Determine a first time point that is required to be retrieved by the first retrieval instruction and a second time point that is required to be retrieved by the second retrieval instruction, where the first time point is earlier than the second time point.
  • the terminal device When receiving the first retrieval video instruction sent by the user, the terminal device determines the first time point of the first retrieval video instruction sent by the user, that is, the video playback time point corresponding to the first retrieval instruction of the user. Down, similarly, when receiving the second search video command sent by the user, the terminal device will retrieve the second time point of the second search video command sent by the user, that is, the video corresponding to the second search command of the user. The playback time point is determined, and the first time point is earlier than the second time point.
  • Step 103 Determine whether a third search video instruction sent by the user in the video play window for the played video is received within a preset time range.
  • the time point required for the third retrieval video instruction is between the first time point and the second time point.
  • the retrieved video playback time point is not the video playback time point that the user wants to watch, the user will issue a third retrieval video instruction, and the video will be played before the user issues the retrieval instruction.
  • the window sets a time point for setting a time range for receiving the third retrieval video instruction, and when the user issues the third retrieval video instruction, determining whether the third retrieval video instruction is within a preset time range, and the third retrieval video instruction retrieval
  • the video playback time point is between the first time point and the second time point.
  • Step 104 If a third search video instruction is received within a preset time range, generate a key frame selection window;
  • the key frame selection window displays key frame information of the playback video between the first time point and the second time point.
  • a new window for the user to select a key frame is generated on the display interface of the terminal device.
  • multiple key frame information is displayed, and the video playback time point corresponding to the key frames is between the first search video sent by the user.
  • the first time point corresponding to the instruction is between the second time point corresponding to the second retrieval video instruction issued by the user.
  • Step 105 Receive key frame information selected by the user in the key frame selection window, and play the video in the video play window according to the key frame information selected by the user.
  • the user selects the key frame corresponding to the time point of the video to be viewed in the generated key frame selection window, and the terminal device receives the key frame information selected by the user in the key frame selection window, according to the key selected by the user.
  • the frame information plays a video in the video play window, and the time point at which the video is played is the video time point corresponding to the key frame information selected by the user.
  • the terminal device when the user watches the video in the video playing window of the terminal device, if the user wants to watch the video at a specific time point, the terminal device sends an instruction for retrieving the video.
  • the user will sequentially Sending an instruction to retrieve the video twice, correspondingly, the terminal device receives the first search video instruction and the second search video instruction sent by the user in the video play window for the played video; and then determines the first search required by the first search instruction.
  • a second time point required to retrieve the time point and the second retrieval instruction wherein the first time point is earlier than the second time point; and then determining whether the user is received in the video playing window for the played video within the preset time range And a third retrieval video instruction, wherein a time point required for the third retrieval video instruction is between the first time point and the second time point; if the third search video instruction is received within the preset time range, Generating a key frame selection window in which the play video is displayed at the first time point and the second time Each keyframe information between points; last received user key frame selection window in the selected key frame information, and play the video in the video playback window selected by the user according to the key frame information.
  • the screen of the terminal device is small, the user can accurately retrieve the video playing position that he wants to watch by only performing three retrieval operations, which can bring convenient and quick operation and use experience to the user.
  • step 104 before the key frame selection window is generated in step 104, the following steps are performed:
  • the frame rate of the key frame per unit time is determined according to the video source selected by the user in the network video library and the setting of the key frame by the user in the video playing window.
  • the user selects the video to watch, they all choose from the network video library.
  • the difference is mainly the difference in definition and Different video sizes, such as a video can be 480P, 720P and 1080P resolution, the video size can be 600M or 1.20G, etc.
  • the video source is different
  • the key frame will also be different
  • the user can also play in the video play window
  • the setting of the key frame rate of the key frame selection window is set in the setting interface, and the frame of the key frame per unit time can be determined by combining the video source selected by the user in the network video library and the setting of the key frame in the video playing window of the user. Rate, that is, how many key frames need to be generated for the video content to be detected with a length of 1 minute.
  • generating a key frame selection window may be the steps as shown in FIG. 6:
  • Step 201 Determine, according to a frame rate of a key frame per unit time, a key frame of the played video between the first time point and the second time point.
  • the first retrieval instruction corresponding to the user may be calculated according to the frame rate.
  • the number of key frames between the first time point corresponding to the second time point corresponding to the second retrieval command issued by the user, and the video player automatically determines the key frame between the first time point and the second time point.
  • Step 202 Generate a key frame selection window, and display the determined key frames in the key frame selection window in order of playing time points.
  • the terminal device After determining the key frame rate between the first time store and the second time point, the terminal device generates a key frame selection window based on the original video play window, and each of the generated steps in step 201 is generated in the generated key frame selection window.
  • the key frames are arranged in the key frame selection window in the order of the video playback time points corresponding to the key frames.
  • the frame rate of the key frame per unit time is determined by the video source selected by the user in the network video library and the setting of the key frame in the video play window by the user; and then determined according to the frame rate of the key frame per unit time. Playing a key frame between the first time point and the second time point of the video; generating a key frame selection window, and displaying the determined key frames in the key frame selection window in order of the playing time point.
  • the user can set the frame rate of the key frame, and clearly see each key frame in the generated key frame selection window, and can intuitively display the video key frame directly at the first time point and the second time point to the user intuitively.
  • the earth is convenient for users to use.
  • FIG. 7 is a flowchart of a third embodiment of the video playback processing method of the present application. As shown in FIG. 7, the method in this embodiment is a refinement operation of the steps in the first embodiment of the method shown in FIG. 1. Specifically, step 105 is performed. Can include the steps shown below:
  • Step 301 Receive an instruction that a user selects a key frame from each displayed key frame in a key frame selection window, where the instruction includes a playback time point of the selected key frame.
  • the key frame selection window displays the key frame between the first time point and the second time point to the user
  • the user selects a key frame corresponding to the time point that he wants to watch in the key frame selection window, correspondingly, the terminal device
  • Receiving an instruction to select a key frame from each of the displayed key frames in the key frame selection window the instruction includes a playback time point of the selected key frame.
  • Step 302 Close the key frame selection window.
  • the generated key frame selection window is closed.
  • Step 303 Play a video from a playback time point of the selected key frame in the video play window.
  • the user selects the key frame in the key frame selection window, and selects the video playback time point that he wants to watch. After the key frame selection window is closed, the video playback window starts from the playback time point of the selected key frame. Play the video.
  • This embodiment is a refinement of the step of receiving the key frame information selected by the user in the key frame selection window and playing the video in the video play window according to the key frame information selected by the user, specifically: receiving first The user selects a key frame instruction from each key frame displayed in the key frame selection window, and the instruction includes the playing time point of the selected key frame; then closes the key frame selection window; finally, in the video playing window Play the video from the playback time point of the selected keyframe.
  • the user can conveniently find and select a key frame corresponding to the time point of the video that he wants to watch, and after the terminal device closes the key frame selection window, directly plays the video corresponding to the key frame selected by the user. At the time of the point, the video is played, which avoids the cumbersome use steps that the user brings the video time to the user.
  • the video player includes: a receiving instruction module 11, a determining time point module 12, a determining module 13, a generating window module 14, and a receiving key frame information module 15.
  • the receiving instruction module 11 is configured to receive a message that is sent by the user in the video playing window for the played video. a retrieval video instruction and a second retrieval video instruction;
  • Determining a time point module 12 configured to determine a first time point required for the first retrieval instruction to be retrieved and a second time point required to be retrieved by the second retrieval instruction, wherein the first time point is earlier than the second time point;
  • the determining module 13 is configured to determine whether a third search video command sent by the user in the video play window for the played video is received within a preset time range, wherein the time required for the third search video instruction is first Between the time point and the second time point;
  • the generating window module 14 is configured to generate a key frame selection window if the third search video instruction is received within a preset time range, and the play video is displayed between the first time point and the second time point in the key frame selection window Key frame information;
  • the key frame information module 15 is configured to receive the key frame information selected by the user in the key frame selection window, and play the video in the video play window according to the key frame information selected by the user.
  • the generating window module 14 is further configured to:
  • the window module 14 is generated, specifically for:
  • a key frame selection window is generated, and the determined key frames are displayed in the key frame selection window in order of play time points.
  • key frame information module 15 is received, specifically for:
  • the first retrieval instruction includes one of the following operation instructions:
  • the second retrieval instruction includes one of the following operational instructions:
  • the video player described in the foregoing embodiment of the present application may be configured to perform the technical solutions of the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the embodiment of the present application further provides a terminal device.
  • the terminal device in this embodiment may be any device such as a mobile phone or a tablet computer in the prior art, and has a similar architecture. Taking a mobile phone as an example, it may include a baseband portion, a radio frequency portion, a processor, a memory, an antenna, and the like.
  • the terminal device may include the video player described in FIG. 8 above, so that the terminal device can be provided with the video playback processing method protected by the method embodiment shown in FIG. 1-7.
  • FIG. 9 is a schematic structural diagram of hardware of a terminal device according to an embodiment of the present disclosure. As shown in FIG. 9, the terminal device 400 includes:
  • processors 410 and memory 420 One or more processors 410 and memory 420, one processor 410 is exemplified in FIG.
  • the processor 410 and the memory 420 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 420 is used as a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer-executable program, and a module, such as a program corresponding to the video playback processing method in the embodiment of the present application.
  • the instruction/module for example, the reception instruction module 11 of the video player shown in FIG. 8, the determination point-in-time module 12, the judgment module 13, the generation window module 14, and the acceptance key frame information module 15).
  • the processor 410 executes various function applications and data processing of the terminal device 400 by executing non-volatile software programs, instructions, and modules stored in the memory 420, that is, the video playback processing method and the foregoing device of the foregoing method embodiments are implemented.
  • the function of the various modules of the embodiment is not limited to, the hardware and firmware.
  • Memory 420 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 non-volatile solid state storage device.
  • memory 420 can optionally include a memory remotely located relative to processor 410, these The remote memory can be connected to the processor 410 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the program instructions/modules are stored in the memory 420, and when executed by the one or more processors 410, the video playback processing method in any of the above method embodiments may be performed, for example, performing the above described FIG.
  • the method steps S101 to S105 in the method, the method step S201 and the step S202 in FIG. 6, and the method steps S301 to S303 in FIG. 7; the functions of the modules 11-15 in FIG. 8 can also be implemented.
  • the terminal device 400 of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play video content. Such devices include: video players, handheld game consoles, as well as smart toys and portable car navigation devices.
  • Embodiments of the present application also provide a non-volatile computer storage medium storing computer-executable instructions that are executed by one or more processors, such as one of FIG.
  • the processor 410 may be configured to enable the one or more processors to perform the video playback processing method in any of the foregoing method embodiments, for example, to perform the method steps S101 to S105 in FIG. 1 described above, the method step S201 in FIG. And step S202, and method steps S301 to S303 in FIG. 7; the functions of the modules 11-15 in FIG. 8 can also be implemented.
  • modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical units, ie It can be located in one place or it can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供一种视频播放处理方法、播放器及终端设备。包括:接收用户在视频播放窗口针对所播放视频发出的第一检索视频指令和第二检索视频指令;确定第一检索指令所需检索的第一时间点和第二检索指令所需检索的第二时间点;判断在预设时间范围内,是否接收到用户在视频播放窗口针对所播放视频发出的第三检索视频指令;若在预设时间范围内接收到第三检索视频指令,则生成关键帧选择窗口;接收用户在关键帧选择窗口中所选定的关键帧信息,并根据用户所选定的关键帧信息在视频播放窗口中播放视频。解决用户使用屏幕较小的终端设备观看视频时,需要前向检索或后向检索确认新的准确播放位置时,检索多次才能准确找到新的时间点的问题。

Description

视频播放处理方法、播放器及终端设备
相关申请的交叉参考
本申请要求于2015年12月11日提交中国专利局、申请号为201510920672.9、发明名称为“视频播放处理方法、播放器及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及多媒体播放技术领域,尤其涉及一种视频播放处理方法、播放器及终端设备。
背景技术
视频播放器是消费类电子终端(比如手机/pad)的一个核心功能,用户可以用各种终端设备通过视频播放器播放各种视频内容。用户在欣赏视频内容时,根据不同的需要和场景,会与播放器之间有不同的交互操作,比如播放、暂停、前向检索、后向检索等等。在观看视频的过程中,用户往往需要跳过一段时间或者回溯一段时间的内容,这就需要播放器从当前播放位置前向检索或者后向检索确定新的播放位置。
对于屏幕较小的手机来说,当需要前向检索或后向检索确认新的准确播放位置时,不容易准确找到新的时间点,常常需要前向检索或后向检索多次才能确定新的播放位置。
发明内容
本申请提供一种视频播放处理方法、播放器及终端设备,以解决用户使用屏幕较小的终端设备观看视频时,需要前向检索或后向检索确认新的准确播放位置时,检索多次才能准确找到新的时间点的问题。
第一方面,本申请实施例提供一种视频播放处理方法,包括:
接收用户在视频播放窗口针对所播放视频发出的第一检索视频指令和第二 检索视频指令;
确定所述第一检索指令所需检索的第一时间点和所述第二检索指令所需检索的第二时间点,其中所述第一时间点早于所述第二时间点;
判断在预设时间范围内,是否接收到所述用户在所述视频播放窗口针对所播放视频发出的第三检索视频指令,其中,所述第三检索视频指令所需检索的时间点在所述第一时间点与第二时间点之间;
若在预设时间范围内接收到所述第三检索视频指令,则生成关键帧选择窗口,所述关键帧选择窗口中显示有所述播放视频在所述第一时间点与第二时间点之间的各关键帧信息;
接收所述用户在所述关键帧选择窗口中所选定的关键帧信息,并根据所述用户所选定的关键帧信息在所述视频播放窗口中播放视频。
进一步地,上述视频播放处理方法中,所述生成关键帧选择窗口之前,还包括:
根据所述用户在网络视频库中选择的视频源以及用户在所述视频播放窗口关于关键帧的设置,确定单位时间内关键帧的帧率;
相应的,所述生成关键帧选择窗口,包括:
根据所述单位时间内关键帧的帧率,确定所述播放视频在所述第一时间点与第二时间点之间的关键帧;
生成关键帧选择窗口,并将确定的各关键帧按照播放时间点顺序显示在所述关键帧选择窗口中。
进一步地,上述视频播放处理方法中,所述接收所述用户在所述关键帧选择窗口中所选定的关键帧信息,并根据所述用户所选定的关键帧信息在所述视频播放窗口中播放视频,包括:
接收所述用户在所述关键帧选择窗口中从所显示的各关键帧中选定一关键帧的指令,所述指令中包含所选定的关键帧的播放时间点;
关闭所述关键帧选择窗口;
在所述视频播放窗口中从所选定的关键帧的播放时间点开始播放视频。
进一步地,上述视频播放处理方法中,所述第一检索指令,包括下述操作指令之一:
向前拖拽所述视频播放窗口的进度条的拖拽操作指令;
单击所述视频播放窗口的进度条上的一时间点的点击操作指令,该时间点早于所述播放视频当前的播放时间点。
进一步地,上述视频播放处理方法中,所述第二检索指令,包括下述操作指令之一:
向后拖拽所述视频播放窗口的进度条的拖拽操作指令;
单击所述视频播放窗口的进度条上的一时间点的点击操作指令,该时间点晚于所述播放视频当前的播放时间点。
第二方面,本申请实施例还提供一种视频播放器,包括:
接收指令模块,用于接收用户在视频播放窗口针对所播放视频发出的第一检索视频指令和第二检索视频指令;
确定时间点模块,用于确定所述第一检索指令所需检索的第一时间点和所述第二检索指令所需检索的第二时间点,其中所述第一时间点早于所述第二时间点;
判断模块,用于判断在预设时间范围内,是否接收到所述用户在所述视频播放窗口针对所播放视频发出的第三检索视频指令,其中,所述第三检索视频指令所需检索的时间点在所述第一时间点与第二时间点之间;
生成窗口模块,用于若在预设时间范围内接收到所述第三检索视频指令,则生成关键帧选择窗口,所述关键帧选择窗口中显示有所述播放视频在所述第一时间点与第二时间点之间的各关键帧信息;
接受关键帧信息模块,用于接收所述用户在所述关键帧选择窗口中所选定的关键帧信息,并根据所述用户所选定的关键帧信息在所述视频播放窗口中播放视频。
进一步地,上述视频播放器中,所述生成窗口模块,还用于:
根据所述用户在网络视频库中选择的视频源以及用户在所述视频播放窗口 关于关键帧的设置,确定单位时间内关键帧的帧率;
相应的,所述生成窗口模块,用于:
根据所述单位时间内关键帧的帧率,确定所述播放视频在所述第一时间点与第二时间点之间的关键帧;
生成关键帧选择窗口,并将确定的各关键帧按照播放时间点顺序显示在所述关键帧选择窗口中。
进一步地,上述视频播放器中,所述接收关键帧信息模块,用于:
接收所述用户在所述关键帧选择窗口中从所显示的各关键帧中选定一关键帧的指令,所述指令中包含所选定的关键帧的播放时间点;
关闭所述关键帧选择窗口;
在所述视频播放窗口中从所选定的关键帧的播放时间点开始播放视频。
进一步地,上述视频播放器中,所述第一检索指令,包括下述操作指令之一:
向前拖拽所述视频播放窗口的进度条的拖拽操作指令;
单击所述视频播放窗口的进度条上的一时间点的点击操作指令,该时间点早于所述播放视频当前的播放时间点。
进一步地,上述视频播放器中,所述第二检索指令,包括下述操作指令之一:
向后拖拽所述视频播放窗口的进度条的拖拽操作指令;
单击所述视频播放窗口的进度条上的一时间点的点击操作指令,该时间点晚于所述播放视频当前的播放时间点。
第三方面,本申请实施例还提供一种终端设备,所述终端设备包括上述视频播放器。
第四方面,本申请实施例还提供了一种电子设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述视频播放处理方法。
第五方面,本申请实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机指令用于使所述计算机执行上述视频播放处理方法。
第六方面,本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述视频播放处理方法。
本申请实施例的视频播放处理方法、播放器及终端设备,通过终端设备的视频播放器接收用户在视频播放窗口针对所播放视频发出的第一检索视频指令和第二检索视频指令;确定所述第一检索指令所需检索的第一时间点和所述第二检索指令所需检索的第二时间点,其中所述第一时间点早于所述第二时间点;判断在预设时间范围内,是否接收到所述用户在所述视频播放窗口针对所播放视频发出的第三检索视频指令,其中,所述第三检索视频指令所需检索的时间点在所述第一时间点与第二时间点之间;若在预设时间范围内接收到所述第三检索视频指令,则生成关键帧选择窗口,所述关键帧选择窗口中显示有所述播放视频在所述第一时间点与第二时间点之间的各关键帧信息;接收所述用户在所述关键帧选择窗口中所选定的关键帧信息,并根据所述用户所选定的关键帧信息在所述视频播放窗口中播放视频,解决了用户使用屏幕较小的终端设备观看视频时,需要前向检索或后向检索确认新的准确播放位置时,检索多次才能准确找到新的时间点的问题。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1为本申请的视频播放处理方法实施例一的流程图;
图2为本申请的终端设备的视频播放窗口被用户向前拖拽进度条的示意图;
图3为本申请的终端设备的视频播放窗口被用户单击进度条上的早于当前播放时间点的某一时间点的示意图;
图4为本申请的终端设备的视频播放窗口被用户向后拖拽进度条的示意图;
图5为本申请的终端设备的视频播放窗口被用户单击进度条上的晚于当前播放时间点的某一时间点的示意图;
图6为本申请的视频播放处理方法实施例二的流程图;
图7为本申请的视频播放处理方法实施例三的流程图;
图8为本申请的视频播放器的一个实施例的结构示意图;
图9为本申请的终端设备的一个实施例的硬件结构示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
图1为本申请的视频播放处理方法实施例一的流程图,如图1所示,本实施例的方法可以包括:
步骤101、接收用户在视频播放窗口针对所播放视频发出的第一检索视频指令和第二检索视频指令。
终端设备,比如手机、平板电脑等,一般都会装有供用户观看视频的视频播放器,用户在终端设备上观看视频时,会根据不同的需要和场景,与终端设备之间有不同的交互操作,比如用户想重新观看已经看过的某个时间点的视频时,会向终端设备发出检索这个时间点视频的指令,一般情况下,用户不容易通过一次检索操作就准确确定想观看的视频时间点,会先后向终端设备发出两次检索视频的指令,即第一检索视频指令和第二检索视频指令。
举例来说,第一检索指令可以是图2提供的实例,向前拖拽视频播放窗口 的进度条的拖拽操作指令;也可以是图3提供的实例,单击视频播放窗口的进度条上的一时间点的点击操作指令,且用户单击的视频播放窗口进度条上的时间点早于播放视频当前的播放时间点。第二检索指令可以是图4提供的实例,向后拖拽视频播放窗口的进度条的拖拽操作指令;也可以是图5提供的实例,单击视频播放窗口的进度条上的一时间点的点击操作指令,且用户单击的视频播放窗口进度条上的时间点晚于播放视频当前的播放时间点。
步骤102、确定第一检索指令所需检索的第一时间点和第二检索指令所需检索的第二时间点,其中第一时间点早于第二时间点。
终端设备在接收到用户向其发出的第一检索视频指令时,会将用户发出的第一检索视频指令检索的第一时间点,即与用户第一次检索指令对应的的视频播放时间点确定下来,同理,终端设备在接收到用户向其发出的第二检索视频指令时,会将用户发出的第二检索视频指令检索的第二时间点,即与用户第二次检索指令对应的视频播放时间点确定下来,而且第一时间点早于第二时间点。
步骤103、判断在预设时间范围内,是否接收到用户在视频播放窗口针对所播放视频发出的第三检索视频指令;
其中,第三检索视频指令所需检索的时间点在第一时间点与第二时间点之间。
待用户发出两次检索视频的指令,检索到的视频播放时间点都不是用户想要观看的视频播放时间点时,用户会发出第三检索视频指令,在用户发出检索指令之前,会在视频播放窗口设置一个时间点,用来设置接收第三检索视频指令的时间范围,当用户发出第三检索视频指令时,判断第三检索视频指令是否在预设时间范围内,第三次检索视频指令检索的视频播放时间点在第一时间点和第二时间点之间。
步骤104、若在预设时间范围内接收到第三检索视频指令,则生成关键帧选择窗口;
关键帧选择窗口中显示有播放视频在第一时间点与第二时间点之间的各关键帧信息。
若经过判断可以确定在预设时间范围内接收到了第三检索视频指令,则会 在终端设备的显示界面生成一个供用户选择关键帧的新窗口,在这个新窗口中,显示有多个关键帧信息,且这些关键帧对应的视频播放时间点介于用户发出的第一检索视频指令对应的第一时间点和用户发出的第二检索视频指令对应的第二时间点之间。
步骤105、接收用户在关键帧选择窗口中所选定的关键帧信息,并根据用户所选定的关键帧信息在视频播放窗口中播放视频。
用户会在生成的关键帧选择窗口中选则想要观看的视频时间点对应的关键帧,终端设备接收到用户在关键帧选择窗口中所选定的关键帧信息以后,会根据用户选定的关键帧信息在视频播放窗口中播放视频,且播放视频的时间点是用户选定的关键帧信息对应的视频时间点。
本实施例提供的视频播放处理方法,用户用终端设备的视频播放窗口观看视频时,若想观看某一特定时间点的视频,会向终端设备发出检索视频的指令,一般情况下,用户会先后发出两次检索视频的指令,相应的,终端设备会接收用户在视频播放窗口针对所播放视频发出的第一检索视频指令和第二检索视频指令;然后确定第一检索指令所需检索的第一时间点和第二检索指令所需检索的第二时间点,其中,第一时间点早于第二时间点;随后判断在预设时间范围内,是否接收到用户在视频播放窗口针对所播放视频发出的第三检索视频指令,其中,第三检索视频指令所需检索的时间点在第一时间点与第二时间点之间;若在预设时间范围内接收到第三检索视频指令,则生成关键帧选择窗口,关键帧选择窗口中显示有所述播放视频在所述第一时间点与第二时间点之间的各关键帧信息;最后接收用户在关键帧选择窗口中所选定的关键帧信息,并根据用户所选定的关键帧信息在视频播放窗口中播放视频。当终端设备屏幕较小时,通过这种方法,用户只需做三次检索操作便可以准确检索到想要观看的视频播放位置,可以给用户带来方便快捷的操作和使用体验。
可选地,在步骤104中的生成关键帧选择窗口之前,有如下步骤:
根据用户在网络视频库中选择的视频源以及用户在视频播放窗口关于关键帧的设置,确定单位时间内关键帧的帧率。
用户选择观看的视频时,都是从网络视频库中选择,对于同一个视频名称的视频来说,在网络视频库中会有多个视频源,区别主要是清晰度的不同以及 视频大小的不同,比如一个视频可以是480P、720P以及1080P的清晰度,视频大小可以是600M或者1.20G等等,视频源不同,关键帧也会有差别,同时,用户也可以在视频播放窗口的设置界面下对关键帧选择窗口显示的关键帧帧率做设置,结合用户在网络视频库中选择的视频源以及用户在视频播放窗口关于关键帧的设置,可以确定单位时间内关键帧的帧率,即对于长度为1分钟的待检测视频内容,需要产生多少数量的关键帧。
具体地,生成关键帧选择窗口可以是如图6所示的步骤:
步骤201、根据单位时间内关键帧的帧率,确定播放视频在第一时间点与第二时间点之间的关键帧。
当根据用户在网络视频库中选择的视频源以及用户在视频播放窗口关于关键帧的设置,确定单位时间内关键帧的帧率以后,可以根据帧率,计算出用户发出的第一检索指令对应的第一时间点和用户发出的第二检索指令对应的第二时间点之间的关键帧个数,同时视频播放器自动将第一时间点和第二时间点之间的关键帧确定。
步骤202、生成关键帧选择窗口,并将确定的各关键帧按照播放时间点顺序显示在关键帧选择窗口中。
确定第一时间店与第二时间点之间的关键帧帧率后,终端设备在原视频播放窗口的基础上生成关键帧选择窗口,且,在生成的关键帧选择窗口中将步骤201生成的各关键帧按照各关键帧对应的视频播放时间点的先后顺序排列显示在关键帧选择窗口中。
本实施例中,通过用户在网络视频库中选择的视频源以及用户在视频播放窗口关于关键帧的设置,确定单位时间内关键帧的帧率;然后根据单位时间内关键帧的帧率,确定播放视频在第一时间点与第二时间点之间的关键帧;生成关键帧选择窗口,并将确定的各关键帧按照播放时间点顺序显示在关键帧选择窗口中。用户可以设置关键帧的帧率,同时在生成的关键帧选择窗口清楚地看到各个关键帧,可以直观地将第一时间点与第二时间点直接的视频关键帧直观地展示给用户,极大地方便用户的使用。
图7为本申请的视频播放处理方法实施例三的流程图,如图7所示,本实施例的方法是对图1所示方法实施例一中步骤的细化操作,具体地,步骤105 可以包括如下所示步骤:
步骤301、接收用户在关键帧选择窗口中从所显示的各关键帧中选定一关键帧的指令,指令中包含所选定的关键帧的播放时间点。
当关键帧选择窗口将第一时间点与第二时间点之间的关键帧显示给用户时,用户会在关键帧选择窗口中选择自己想要观看时间点对应的关键帧,对应地,终端设备接收到用户在关键帧选择窗口中从显示的各关键帧中选定一个关键帧的指令,指令中包含所选定的关键帧的播放时间点。
步骤302、关闭关键帧选择窗口。
待终端设备接收到用户在关键帧选择窗口中从显示的各关键帧中选定一个关键帧的指令以后,会将生成的关键帧选择窗口关闭。
步骤303、在视频播放窗口中从所选定的关键帧的播放时间点开始播放视频。
用户在关键帧选择窗口选定了关键帧,也就选定了想要观看的视频播放时间点,关键帧选择窗口被关闭以后,视频播放窗口会从所选定的关键帧的播放时间点开始播放视频。
本实施例是对接收用户在关键帧选择窗口中所选定的关键帧信息,并根据用户所选定的关键帧信息在视频播放窗口中播放视频这一步骤的细化,具体为:先接收用户在关键帧选择窗口中从所显示的各关键帧中选定一关键帧的指令,指令中包含所选定的关键帧的播放时间点;然后关闭关键帧选择窗口;最后在视频播放窗口中从所选定的关键帧的播放时间点开始播放视频。通过这样的方法,用户可以方便地找到自己想要观看的视频时间点对应的关键帧并对其进行选择,在终端设备关闭关键帧选择窗口以后,直接从用户选择的关键帧所对应的视频播放时间点开始播放视频,避免了用户不断检索视频时间给用户带来的繁琐的使用步骤。
图8为本申请的视频播放器的结构示意图,如图所示,视频播放器包括:接收指令模块11、确定时间点模块12、判断模块13、生成窗口模块14及接受关键帧信息模块15。
接收指令模块11,用于接收用户在视频播放窗口针对所播放视频发出的第 一检索视频指令和第二检索视频指令;
确定时间点模块12,用于确定第一检索指令所需检索的第一时间点和第二检索指令所需检索的第二时间点,其中第一时间点早于第二时间点;
判断模块13,用于判断在预设时间范围内,是否接收到用户在视频播放窗口针对所播放视频发出的第三检索视频指令,其中,第三检索视频指令所需检索的时间点在第一时间点与第二时间点之间;
生成窗口模块14,用于若在预设时间范围内接收到第三检索视频指令,则生成关键帧选择窗口,关键帧选择窗口中显示有播放视频在第一时间点与第二时间点之间的各关键帧信息;
接受关键帧信息模块15,用于接收用户在关键帧选择窗口中所选定的关键帧信息,并根据用户所选定的关键帧信息在视频播放窗口中播放视频。
可选地,生成窗口模块14,还用于:
根据用户在网络视频库中选择的视频源以及用户在视频播放窗口关于关键帧的设置,确定单位时间内关键帧的帧率;
相应的,生成窗口模块14,具体用于:
根据单位时间内关键帧的帧率,确定播放视频在第一时间点与第二时间点之间的关键帧;
生成关键帧选择窗口,并将确定的各关键帧按照播放时间点顺序显示在所述关键帧选择窗口中。
进一步地,接收关键帧信息模块15,具体用于:
接收用户在关键帧选择窗口中从所显示的各关键帧中选定一关键帧的指令,指令中包含所选定的关键帧的播放时间点;
关闭关键帧选择窗口;
在视频播放窗口中从所选定的关键帧的播放时间点开始播放视频。
其中,第一检索指令,包括下述操作指令之一:
向前拖拽视频播放窗口的进度条的拖拽操作指令;
单击视频播放窗口的进度条上的一时间点的点击操作指令,该时间点早于所述播放视频当前的播放时间点。
第二检索指令,包括下述操作指令之一:
向后拖拽视频播放窗口的进度条的拖拽操作指令;
单击所述视频播放窗口的进度条上的一时间点的点击操作指令,该时间点晚于所述播放视频当前的播放时间点。
本申请上述实施例所述的视频播放器,可以对应执行前述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
本申请实施例还提供一种终端设备,本实施例的终端设备可以为现有技术中的手机、平板电脑等任意设备,其具有类似的架构。以手机为例,其可以包括基带部分、射频部分、处理器、存储器、天线等等。特别的,该终端设备可以包含前述图8所述的视频播放器,从而可以使得该终端设备具备图1-7所示方法实施例所保护的视频播放处理方法。
图9为本申请实施例的终端设备的硬件结构示意图,如图9所示,该终端设备400包括:
一个或多个处理器410以及存储器420,图9中以一个处理器410为例。
处理器410和存储器420可以通过总线或者其他方式连接,图9中以通过总线连接为例。
存储器420作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的视频播放处理方法对应的程序指令/模块(例如,附图8所示的视频播放器的接收指令模块11,确定时间点模块12,判断模块13,生成窗口模块14,以及接受关键帧信息模块15)。处理器410通过运行存储在存储器420中的非易失性软件程序、指令以及模块,从而执行终端设备400的各种功能应用以及数据处理,即实现上述方法实施例的视频播放处理方法和上述设备实施例的各个模块的功能。
存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器420可选包括相对于处理器410远程设置的存储器,这些 远程存储器可以通过网络连接至处理器410。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述程序指令/模块存储在所述存储器420中,当被所述一个或者多个处理器410执行时,可执行上述任意方法实施例中的视频播放处理方法,例如,执行以上描述的图1中的方法步骤S101至步骤S105,图6中的方法步骤S201和步骤S202,和图7中的方法步骤S301至步骤S303;也可实现图8中的模块11-15的功能。
本申请实施例的终端设备400以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放视频内容。该类设备包括:视频播放器,掌上游戏机,以及智能玩具和便携式车载导航设备。
(4)其他具有视频播放功能的电子设备。
本申请实施例还提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图9中的一个处理器410,可使得上述一个或多个处理器可执行上述任意方法实施例中的视频播放处理方法,例如,执行以上描述的图1中的方法步骤S101至步骤S105,图6中的方法步骤S201和步骤S202,和图7中的方法步骤S301至步骤S303;也可实现图8中的模块11-15的功能。
以上所描述的装置或者设备实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (14)

  1. 一种视频播放处理方法,应用于终端设备,其特征在于,所述方法包括:
    接收用户在视频播放窗口针对所播放视频发出的第一检索视频指令和第二检索视频指令;
    确定所述第一检索指令所需检索的第一时间点和所述第二检索指令所需检索的第二时间点,其中所述第一时间点早于所述第二时间点;
    判断在预设时间范围内,是否接收到所述用户在所述视频播放窗口针对所播放视频发出的第三检索视频指令,其中,所述第三检索视频指令所需检索的时间点在所述第一时间点与第二时间点之间;
    若在预设时间范围内接收到所述第三检索视频指令,则生成关键帧选择窗口,所述关键帧选择窗口中显示有所述播放视频在所述第一时间点与第二时间点之间的各关键帧信息;
    接收所述用户在所述关键帧选择窗口中所选定的关键帧信息,并根据所述用户所选定的关键帧信息在所述视频播放窗口中播放视频。
  2. 根据权利要求1所述的方法,其特征在于,所述生成关键帧选择窗口之前,还包括:
    根据所述用户在网络视频库中选择的视频源以及用户在所述视频播放窗口关于关键帧的设置,确定单位时间内关键帧的帧率;
    相应的,所述生成关键帧选择窗口,包括:
    根据所述单位时间内关键帧的帧率,确定所述播放视频在所述第一时间点与第二时间点之间的关键帧;
    生成关键帧选择窗口,并将确定的各关键帧按照播放时间点顺序显示在所述关键帧选择窗口中。
  3. 根据权利要求2所述的方法,其特征在于,所述接收所述用户在所述关键帧选择窗口中所选定的关键帧信息,并根据所述用户所选定的关键帧信息在所述视频播放窗口中播放视频,包括:
    接收所述用户在所述关键帧选择窗口中从所显示的各关键帧中选定一关键帧的指令,所述指令中包含所选定的关键帧的播放时间点;
    关闭所述关键帧选择窗口;
    在所述视频播放窗口中从所选定的关键帧的播放时间点开始播放视频。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述第一检索指令,包括下述操作指令之一:
    向前拖拽所述视频播放窗口的进度条的拖拽操作指令;
    单击所述视频播放窗口的进度条上的一时间点的点击操作指令,该时间点早于所述播放视频当前的播放时间点。
  5. 根据权利要求1-3中任一项所述的方法,其特征在于,所述第二检索指令,包括下述操作指令之一:
    向后拖拽所述视频播放窗口的进度条的拖拽操作指令;
    单击所述视频播放窗口的进度条上的一时间点的点击操作指令,该时间点晚于所述播放视频当前的播放时间点。
  6. 一种视频播放器,其特征在于,包括:
    接收指令模块,用于接收用户在视频播放窗口针对所播放视频发出的第一检索视频指令和第二检索视频指令;
    确定时间点模块,用于确定所述第一检索指令所需检索的第一时间点和所述第二检索指令所需检索的第二时间点,其中所述第一时间点早于所述第二时间点;
    判断模块,用于判断在预设时间范围内,是否接收到所述用户在所述视频播放窗口针对所播放视频发出的第三检索视频指令,其中,所述第三检索视频指令所需检索的时间点在所述第一时间点与第二时间点之间;
    生成窗口模块,用于若在预设时间范围内接收到所述第三检索视频指令,则生成关键帧选择窗口,所述关键帧选择窗口中显示有所述播放视频在所述第一时间点与第二时间点之间的各关键帧信息;
    接受关键帧信息模块,用于接收所述用户在所述关键帧选择窗口中所选定的关键帧信息,并根据所述用户所选定的关键帧信息在所述视频播放窗口中播放视频。
  7. 根据权利要求6所述的视频播放器,其特征在于,所述生成窗口模块,还用于:
    根据所述用户在网络视频库中选择的视频源以及用户在所述视频播放窗口关于关键帧的设置,确定单位时间内关键帧的帧率;
    相应的,所述生成窗口模块,具体用于:
    根据所述单位时间内关键帧的帧率,确定所述播放视频在所述第一时间点与第二时间点之间的关键帧;
    生成关键帧选择窗口,并将确定的各关键帧按照播放时间点顺序显示在所述关键帧选择窗口中。
  8. 根据权利要求7所述的视频播放器,其特征在于,所述接收关键帧信息模块,具体用于:
    接收所述用户在所述关键帧选择窗口中从所显示的各关键帧中选定一关键帧的指令,所述指令中包含所选定的关键帧的播放时间点;
    关闭所述关键帧选择窗口;
    在所述视频播放窗口中从所选定的关键帧的播放时间点开始播放视频。
  9. 根据权利要求6-8中任一项所述的视频播放器,其特征在于,所述第一检索指令,包括下述操作指令之一:
    向前拖拽所述视频播放窗口的进度条的拖拽操作指令;
    单击所述视频播放窗口的进度条上的一时间点的点击操作指令,该时间点早于所述播放视频当前的播放时间点。
  10. 根据权利要求6-8中任一项所述的视频播放器,其特征在于,所述第二检索指令,包括下述操作指令之一:
    向后拖拽所述视频播放窗口的进度条的拖拽操作指令;
    单击所述视频播放窗口的进度条上的一时间点的点击操作指令,该时间点晚于所述播放视频当前的播放时间点。
  11. 一种终端设备,其特征在于,所述终端设备包括权利要求6-10中任一项所述的视频播放器。
  12. 一种电子设备,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-5任一项所述的视频播放处理方法。
  13. 一种非易失性计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机指令用于使所述计算机执行权利要求1-5任一项所述的视频播放处理方法。
  14. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-5任一项所述的视频播放处理方法。
PCT/CN2016/096813 2015-12-11 2016-08-26 视频播放处理方法、播放器及终端设备 WO2017096961A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510920672.9 2015-12-11
CN201510920672.9A CN105872799A (zh) 2015-12-11 2015-12-11 视频播放处理方法、播放器及终端设备

Publications (1)

Publication Number Publication Date
WO2017096961A1 true WO2017096961A1 (zh) 2017-06-15

Family

ID=56624434

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096813 WO2017096961A1 (zh) 2015-12-11 2016-08-26 视频播放处理方法、播放器及终端设备

Country Status (2)

Country Link
CN (1) CN105872799A (zh)
WO (1) WO2017096961A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248251A (zh) * 2019-06-14 2019-09-17 维沃移动通信有限公司 一种多媒体播放方法及终端设备
CN112040298A (zh) * 2020-09-02 2020-12-04 广州虎牙科技有限公司 视频播放的处理方法、装置、电子设备及存储介质
CN113923495A (zh) * 2021-09-08 2022-01-11 北京奇艺世纪科技有限公司 一种视频播放方法、系统、电子设备及存储介质
CN115348478A (zh) * 2022-07-25 2022-11-15 深圳市九洲电器有限公司 设备交互显示方法、装置、电子设备及可读存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872799A (zh) * 2015-12-11 2016-08-17 乐视移动智能信息技术(北京)有限公司 视频播放处理方法、播放器及终端设备
CN113207033B (zh) * 2021-04-29 2022-09-20 读书郎教育科技有限公司 一种智慧课堂录制视频无效片段处理的系统及方法
CN115640422B (zh) * 2022-11-29 2023-12-22 深圳有影传媒有限公司 一种网络传媒视频数据分析监管系统
CN116132725A (zh) * 2023-02-17 2023-05-16 展讯通信(天津)有限公司 视频进度控制方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232586A (zh) * 2007-01-26 2008-07-30 三星电子株式会社 提供改变再现时间点的图形用户界面的方法及其成像装置
CN102316370A (zh) * 2010-06-29 2012-01-11 腾讯科技(深圳)有限公司 显示播放信息的方法和装置
US20140123182A1 (en) * 2012-11-01 2014-05-01 Kt Corporation Video content playing scheme
CN104284249A (zh) * 2013-07-11 2015-01-14 腾讯科技(深圳)有限公司 视频播放方法及装置
CN105872799A (zh) * 2015-12-11 2016-08-17 乐视移动智能信息技术(北京)有限公司 视频播放处理方法、播放器及终端设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232586A (zh) * 2007-01-26 2008-07-30 三星电子株式会社 提供改变再现时间点的图形用户界面的方法及其成像装置
CN102316370A (zh) * 2010-06-29 2012-01-11 腾讯科技(深圳)有限公司 显示播放信息的方法和装置
US20140123182A1 (en) * 2012-11-01 2014-05-01 Kt Corporation Video content playing scheme
CN104284249A (zh) * 2013-07-11 2015-01-14 腾讯科技(深圳)有限公司 视频播放方法及装置
CN105872799A (zh) * 2015-12-11 2016-08-17 乐视移动智能信息技术(北京)有限公司 视频播放处理方法、播放器及终端设备

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248251A (zh) * 2019-06-14 2019-09-17 维沃移动通信有限公司 一种多媒体播放方法及终端设备
CN112040298A (zh) * 2020-09-02 2020-12-04 广州虎牙科技有限公司 视频播放的处理方法、装置、电子设备及存储介质
CN113923495A (zh) * 2021-09-08 2022-01-11 北京奇艺世纪科技有限公司 一种视频播放方法、系统、电子设备及存储介质
CN113923495B (zh) * 2021-09-08 2024-01-12 北京奇艺世纪科技有限公司 一种视频播放方法、系统、电子设备及存储介质
CN115348478A (zh) * 2022-07-25 2022-11-15 深圳市九洲电器有限公司 设备交互显示方法、装置、电子设备及可读存储介质
CN115348478B (zh) * 2022-07-25 2023-09-19 深圳市九洲电器有限公司 设备交互显示方法、装置、电子设备及可读存储介质

Also Published As

Publication number Publication date
CN105872799A (zh) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017096961A1 (zh) 视频播放处理方法、播放器及终端设备
US11625157B2 (en) Continuation of playback of media content by different output devices
WO2017181598A1 (zh) 视频播放方法及装置
CN109413483B (zh) 直播内容的预览方法、装置、设备和介质
WO2018000661A1 (zh) 弹幕显示方法及装置
WO2017096983A1 (zh) 切换视频播放终端的方法和终端设备
WO2017181600A1 (zh) 弹幕控制方法、装置
CN108012159A (zh) 直播视频推送控制方法、装置及相应的终端
WO2017201935A1 (zh) 视频播放方法及装置
EP3737101B1 (en) A method and a system for performing scrubbing in a video stream
WO2017177630A1 (zh) 个性化信息推荐方法及装置
US20170195614A1 (en) Method and electronic device for playing video
CA2967326C (en) Method and system for programmable loop recording
US20170171278A1 (en) Method and electronic device for continuously playing video
CN106791958A (zh) 位置标记信息生成方法及装置
US20170195385A1 (en) Method and electronic device for playing video
CN107801100A (zh) 一种视频定位播放方法及装置
WO2015109836A1 (zh) 视频跨屏播放方法及装置
US20170195710A1 (en) Method and electronic device for preview play
US20170168660A1 (en) Voice bullet screen generation method and electronic device
US11272136B2 (en) Method and device for processing multimedia information, electronic equipment and computer-readable storage medium
WO2017185645A1 (zh) 竖直全屏播放方法、装置及其移动播放终端
US20170164055A1 (en) Electronic device and content providing method thereof
WO2017096960A1 (zh) 视频播放处理方法、视频播放器及终端设备
KR20230120668A (ko) 영상통화 방법 및 장치

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: 16872157

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: 16872157

Country of ref document: EP

Kind code of ref document: A1