WO2017124897A1 - 终端及终端进行视频帧定位的方法、计算机存储介质 - Google Patents

终端及终端进行视频帧定位的方法、计算机存储介质 Download PDF

Info

Publication number
WO2017124897A1
WO2017124897A1 PCT/CN2016/112393 CN2016112393W WO2017124897A1 WO 2017124897 A1 WO2017124897 A1 WO 2017124897A1 CN 2016112393 W CN2016112393 W CN 2016112393W WO 2017124897 A1 WO2017124897 A1 WO 2017124897A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
positioning
timestamp
video
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/112393
Other languages
English (en)
French (fr)
Inventor
艾朝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Publication of WO2017124897A1 publication Critical patent/WO2017124897A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/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/440218Processing 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 transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • 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
    • 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
    • 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/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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Definitions

  • the present application relates to the field of video processing, and in particular, to a terminal and a terminal for performing video frame positioning, and a computer storage medium.
  • a video file consists of a series of sequential video frames.
  • the types of video frames can be roughly divided into intra-coded frames (I-frames, Intra picture), forward-predicted coded frames (P-frames, Predictive-Frame), and bidirectional predictive interpolation.
  • I-frames intra-coded frames
  • P-frames forward-predicted coded frames
  • B-frame Bi-directional interpolated prediction frame
  • I frame also known as key frame, can decode a complete picture separately;
  • B-frame Decoding requires reference to the preceding and following frames.
  • I frame positioning is usually adopted, that is, the I frame is first located, and then decoded to the P frame corresponding to the positioning time point in the order of the frame or B frame.
  • the interval between two I frames is set to 1 second, and the total number of P frames or B frames in the middle is 9 when it is required to be positioned to the time indicated by the arrow in FIG.
  • the P frame corresponding to 10.7 seconds When the P frame corresponding to 10.7 seconds is first, the I frame corresponding to the timestamp of 10.0 seconds is firstly located, and then the P frame corresponding to the timestamp of 10.7 seconds is decoded backward in order, and the decoding time must be decoded in order to complete the positioning operation. A total of 8 frames of data from 10.0 seconds to 10.7 seconds can be used to play the data to be located. If the P frame corresponding to the timestamp is 10.4 seconds is currently played, when the P frame corresponding to the timestamp of 10.7 seconds needs to be located, it is still necessary to decode a total of 5 frames with a timestamp of 10.0 seconds to 10.4 seconds, thereby Decoding redundancy occurs, reducing the efficiency of decoding.
  • embodiments of the present invention are directed to a method for positioning a video frame by a terminal and a terminal, and a computer storage medium, aiming at improving decoding efficiency when positioning a video frame.
  • an embodiment of the present invention provides a method for a video frame to be located by a terminal, where the method includes:
  • the terminal acquires a positioning timestamp from the received video positioning instruction
  • the terminal decodes according to the current play frame, and obtains the The video frame corresponding to the location timestamp.
  • the method further includes: when the video frame of the positioning timestamp is before the current playing frame, or after the video frame of the positioning timestamp is after the current playing frame, and When there is at least one key frame between the current play frames, the terminal uses a key frame positioning technology to locate the video frame of the positioning time stamp.
  • the preceding or following refers to the front or the back of the corresponding time point on the time axis of the video playing.
  • the video frame of the positioning timestamp is located by using a key frame locating technology, and specifically includes:
  • the terminal decodes according to the first key frame before the positioning timestamp, and obtains The video frame corresponding to the positioning time stamp.
  • the video frame corresponding to the positioning timestamp is decoded by the currently played frame that has been decoded.
  • the terminal performs decoding according to the current play frame, and obtains a video frame corresponding to the positioning timestamp, which specifically includes:
  • the terminal Starting from the current play frame, the terminal sequentially decodes each video frame after the current play frame in the order of timestamps until the video frame corresponding to the positioning timestamp is decoded.
  • the terminal performs decoding according to the first key frame before the positioning timestamp, and obtains a video frame corresponding to the positioning timestamp, which specifically includes:
  • the terminal Starting from the first key frame before the positioning timestamp, the terminal sequentially decodes each video frame after the first key frame before the positioning timestamp in the order of timestamps until the positioning timestamp is obtained by decoding. Corresponding video frame.
  • the method further includes: when the terminal plays a video, the play box displayed in the display unit of the terminal displays the time of the video playing below the video content, in addition to displaying the played video content.
  • the axis, the slider on the timeline is used to indicate the playback time of the current video.
  • the method further includes: positioning the played video content by dragging a slider on the time axis.
  • the positioning of the played video content by dragging a slider on a time axis includes:
  • the time point at which the slider is on the timeline is the positioning timestamp in the positioning instruction.
  • an embodiment of the present invention provides a terminal, where the terminal includes: a receiving module, an obtaining module, a decoding control module, and a first decoding module;
  • the receiving module is configured to receive a video positioning instruction
  • the acquiring module is configured to obtain a positioning timestamp from the video positioning instruction
  • the decoding control module is configured to determine that the positioning timestamp is in a current play frame The first timestamp is between the second timestamp corresponding to the first key frame after the current play frame; and the first timestamp corresponding to the current play frame is corresponding to the first key frame after the current play frame. Triggering the first decoding module when the second timestamp is between;
  • the first decoding module is configured to perform decoding according to the current play frame to obtain a video frame corresponding to the positioning time stamp.
  • the terminal further includes: a second decoding module
  • the decoding control module is further configured to: determine that the video frame of the positioning timestamp is before the current play frame, or that the video frame of the positioning timestamp is after the current play frame, and the current play frame There is at least one key frame between; and when the video frame of the positioning timestamp is before the current playing frame, or when the video frame of the positioning timestamp is after the current playing frame, and the current playing The second decoding module is triggered when there is at least one key frame between the frames;
  • the second decoding module is configured to locate the video frame of the positioning time stamp by using a key frame positioning technology.
  • the preceding or following refers to the front or the back of the corresponding time point on the time axis of the video playing.
  • the decoding control module is configured to determine that the positioning timestamp is after the second timestamp, or the positioning timestamp is before the first timestamp; and when the positioning time is The second decoding module is triggered when the stamp is after the second timestamp, or the positioning timestamp is before the first timestamp;
  • the second decoding module is configured to perform decoding according to the first key frame before the positioning timestamp, to obtain a video frame corresponding to the positioning timestamp.
  • the first decoding module is configured to:
  • the video frame corresponding to the positioning time stamp is obtained by decoding the currently played frame that has been decoded.
  • the first decoding module is specifically configured to play from the current At the beginning of the frame, each video frame after the current play frame is sequentially decoded in the order of timestamps until the video frame corresponding to the positioning timestamp is decoded.
  • the second decoding module is configured to sequentially start each video after the first key frame before the positioning timestamp in the order of timestamps, starting from a key frame before the positioning timestamp. The frame is decoded until the video frame corresponding to the positioning timestamp is decoded.
  • the terminal further includes:
  • the display unit is configured to display a timeline of video playback below the video content in addition to the displayed video content when the video is played, and the slider on the time axis is used to indicate the playing time of the current video.
  • the acquiring module is configured to:
  • the time point at which the slider is on the timeline is the positioning timestamp in the positioning instruction.
  • An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to execute the method for performing video frame positioning by the terminal.
  • a method for positioning a video frame by a terminal and a terminal, and a computer storage medium according to an embodiment of the present invention according to a location where the positioning time stamp is located, setting a start timestamp for decoding when the frame is positioned, thereby When positioning a small-range video frame backwards, the number of frame decoding is reduced, and the decoding efficiency of video frame positioning is improved.
  • FIG. 2 is a schematic structural diagram of hardware of a mobile terminal according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for a video frame to be located by a terminal according to an embodiment of the present disclosure
  • FIG. 4 is a display interface diagram of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of frame positioning according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a specific implementation process of a method for performing video frame positioning by a terminal according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the present application may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA, Personal Digital Assistant), a tablet (PAD, Portable Android Device), a portable multimedia player. (PMP, Portable Media Player), a mobile terminal of a navigation device, and the like, and a fixed terminal such as a digital television (TV), a desktop computer, or the like.
  • PDA Personal Digital Assistant
  • PAD Portable Android Device
  • PMP Portable Media Player
  • TV digital television
  • desktop computer or the like
  • TV digital television
  • TV digital television
  • FIG. 2 is a schematic diagram showing the hardware structure of a mobile terminal that implements various embodiments of the present invention.
  • the mobile terminal 200 may include a user input unit 230 output unit 250, a memory 260, an interface unit 270, a controller 280, a power supply unit 290, and the like.
  • Figure 2 shows a mobile terminal with various components, but it should be understood that not all illustrated components may be implemented and may be substituted More or fewer components are implemented, and the components of the mobile terminal will be described in detail below.
  • the user input unit 230 may generate key input data according to a command input by the user to control various operations of the mobile terminal.
  • the user input unit 230 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc.
  • a touch screen can be formed.
  • the interface unit 270 serves as an interface through which at least one external device can connect with the mobile terminal 200.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O, Input/Output) ports, video I/O ports, headphone ports, and more.
  • the identification module may be stored to verify various information used by the user using the mobile terminal 200 and may include a User Identification Module (UIM), a Subscriber Identity Module (SIM), and a Universal Customer Identification Module (USIM Universal Subscriber). Identity Module) and more.
  • UIM User Identification Module
  • SIM Subscriber Identity Module
  • USB Universal Subscriber Universal Subscriber
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 200 via a port or other connection device.
  • the interface unit 270 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 200 or can be used in the mobile terminal and external device Transfer data between.
  • the interface unit 270 can function as a path through which power is supplied from the base to the mobile terminal 200 or can be used as a variety of command signals that are allowed to be input from the base to be transmitted to the mobile The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • Output unit 250 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
  • the output unit 250 can A display unit 251 and the like are included.
  • the display unit 251 can display information processed in the mobile terminal 200.
  • the display unit 251 can display a user interface (UI, User Interface) or a graphical user interface related to a call or other communication (eg, text messaging, multimedia file download, etc.) ( GUI, Graphical User Interface).
  • UI User Interface
  • GUI Graphical User Interface
  • the display unit 251 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
  • the display unit 251 can function as an input device and an output device.
  • the display unit 251 may include a Liquid Crystal Display (LCD), a Thin Film Transistor-Liquid Crystal Display (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, and a three-dimensional ( At least one of a 3D, three Dimensional) display or the like.
  • the mobile terminal 200 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) .
  • the touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
  • the memory 260 may store a software program or the like for processing and control operations performed by the controller 280, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 260 can store data regarding various modes of vibration and audio signals that are output when a touch is applied to the touch screen.
  • the memory 260 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), random Access memory (RAM, Random Access Memory), Static Random Access Memory (SRAM), Read-Only Memory (ROM), EEPROM (Electrically Erasable) Programmable Read-Only Memory), Programmable Read-Only Memory (PROM), magnetic memory, disk, optical disk, and so on.
  • the mobile terminal 200 can cooperate with a network storage device that performs a storage function of the memory 260 through a network connection.
  • Controller 280 typically controls the overall operation of the mobile terminal. For example, controller 280 performs the control and processing associated with voice calls, data communications, video calls, and the like. Additionally, the controller 280 can include a multimedia module 281 for reproducing (or playing back) multimedia data, which can be constructed within the controller 280 or can be configured to be separate from the controller 280. The controller 280 can perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
  • the power supply unit 290 receives external power or internal power under the control of the controller 280 and provides appropriate power required to operate the various components and components.
  • the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • the embodiments described herein may use an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processor (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), processor, controller, microcontroller, microprocessor, electronics designed to perform the functions described herein At least one of the units is implemented, and in some cases, such an implementation may be implemented in controller 280.
  • implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
  • the software code can be implemented by a software application (or program) written in any suitable programming language, the software code can It is stored in the memory 260 and executed by the controller 280.
  • the mobile terminal has been described in terms of its function.
  • a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • the method may include:
  • S301 The terminal acquires a positioning timestamp from the received positioning instruction.
  • the terminal plays a video, as shown in FIG. 4, in the play frame displayed in the display unit of the terminal (as shown by the solid line frame), in addition to displaying the played video content (
  • the timeline of video playback (as indicated by the thick black line) appears below the video content
  • the slider on the timeline (as indicated by the solid line in the slash fill) Indicates the playback time of the current video.
  • the user can position the played video content by dragging the slider on the timeline.
  • the slider stops dragging as shown by the dashed box in the diagonal line in Figure 4
  • the slider is on the timeline.
  • the point in time is the positioning timestamp in the positioning instruction.
  • the so-called “before” or “after” refers to the "front” or “back” of the corresponding time point on the time axis of the video playing.
  • Figure 4 Take Figure 4 as an example, slash
  • the video frame corresponding to the filled solid line box is located before the video frame corresponding to the dashed line filled dashed box; the video frame corresponding to the dashed line filled dashed box is located after the video frame of the diagonal line filled solid line box.
  • the positioning timestamp when it is located between the first timestamp and the second timestamp, it can be regarded as a small-range positioning backward of the currently playing video frame, that is, the current playing frame timestamp ⁇ positioning timestamp ⁇ current playing When the latest I frame timestamp after the frame is considered, it can be regarded as a small-range positioning backward for the currently playing video frame. Since the current video frame has been decoded and is being played, the video frame corresponding to the positioning timestamp is between the current video frame and the first key frame after the current video frame.
  • the video frame corresponding to the positioning timestamp can be decoded by the currently played frame that has been decoded.
  • the terminal performs decoding according to the current play frame, and obtains a video frame corresponding to the location timestamp, which may include:
  • the terminal starts to decode each video frame after the current play frame in the order of timestamps from the current play frame until the video frame corresponding to the location timestamp is decoded.
  • the interval between two I frames is 1 second, and the corresponding timestamps are 10.0 seconds and 11.0 seconds respectively.
  • the timestamp of the currently playing video frame is 10.6 seconds, as shown by the square filled in the cross line in the figure; when the positioning timestamp is 10.8 seconds, as shown by the P frame indicated by the solid arrow in the figure, it is 10.6 seconds.
  • the current playback frame with the currently decoded timestamp of 10.6 seconds is taken as the starting point, and the decoding is performed one by one until the video frame with the positioning timestamp of 10.8 seconds is decoded.
  • the terminal only needs to decode two video frames of timestamp 10.7 seconds and 10.8 seconds; however, according to the existing positioning technology, the terminal needs to start from the I frame with the timestamp of 10.0 seconds and backwards frame by frame.
  • Decoding decoding to a video frame with a timestamp of 10.8 seconds, it can be clearly seen that the P frame decoding between the timestamp 10.1 seconds and the time stamp 10.5 seconds is superfluous. Therefore, the method provided in this embodiment can be at the current time. Frame backwards in a small range Time frame, The number of frame decodings is reduced, thereby improving the decoding efficiency of video frame positioning.
  • the positioning timestamp when the positioning timestamp is before the first timestamp, that is, when the positioning timestamp ⁇ the current playing frame timestamp, it can be regarded as the forward positioning of the currently playing video frame; at this time, the key frame can be positioned according to the key frame. Way to locate.
  • the positioning timestamp is after the second timestamp, that is, when the positioning timestamp>the latest I frame timestamp after the current playing frame, there is at least one key frame I between the current playing frame timestamp and the positioning timestamp. Frame; at this time, positioning can still be performed according to key frame positioning.
  • the method may further include:
  • the terminal decodes according to the first key frame before the positioning timestamp, and obtains a video frame corresponding to the positioning timestamp.
  • the key frame positioning technique can still be used to locate the video frame of the timestamp.
  • the terminal performs decoding according to the first key frame before the positioning timestamp, and obtains a video frame corresponding to the positioning timestamp, which specifically includes:
  • the terminal starts from the first key frame before the timestamp, and sequentially decodes each video frame after the first key frame before the timestamp in the order of the timestamp, until the video frame corresponding to the positioning timestamp is decoded.
  • the interval between two I frames is 1 second, and the corresponding timestamps are 10.0 seconds and 11.0 seconds respectively.
  • the timestamp of the currently played video frame is 10.6 seconds, as shown by the square filled in the cross line in the figure; when the positioning timestamp is 11.2 seconds or 10.4 seconds, as shown by the P frame indicated by the two dotted arrows in the figure , wherein the P frame indicated by the dotted arrow on the right is after the 11.0 second key frame I frame, the left side of the virtual frame
  • the P frame indicated by the line arrow is before the current playback frame of 10.6 seconds.
  • the first key frame before the 11.2 second of the P frame time stamp indicated by the dotted arrow on the right side may be That is, the I frame of 11.0 seconds is taken as the starting point, and the decoding is performed backward by frame until the video frame with the positioning time stamp of 11.2 seconds is decoded.
  • the first key frame before the 10.1 second of the P frame timestamp indicated by the dotted arrow on the left side may be used as a starting point, one by one. The decoding is then performed until the video frame with the positioning time stamp of 10.4 seconds is decoded.
  • the method further includes: when the terminal plays the video, the play box displayed in the display unit of the terminal displays a time axis of the video playback below the video content, in addition to displaying the played video content.
  • the slider on the timeline is used to indicate the playback time of the current video.
  • the method further comprises: positioning the played video content by dragging a slider on the time axis.
  • the positioning of the played video content by dragging the slider on the time axis includes:
  • the time point at which the slider is on the timeline is the positioning timestamp in the positioning instruction.
  • An embodiment of the present invention provides a method for a video frame to be located by a terminal. According to a location where the positioning timestamp is located, a start timestamp for decoding the frame is set correspondingly, thereby performing a small-range video frame. When positioning, the number of frame decoding is reduced, and the decoding efficiency of video frame positioning is improved.
  • FIG. 6 is a schematic flowchart of a specific implementation process of a method for performing video frame location by a terminal according to an embodiment of the present invention, which may include:
  • the user can position the played video content by dragging the slider on the time axis, and when the slider stops dragging, the slider is in the time axis.
  • the time point at which it is located is the positioning time stamp in the positioning instruction.
  • step S602 The terminal compares the positioning timestamp with the first timestamp of the current playing frame: when the positioning timestamp is greater than the first timestamp, the process goes to step S603; when the positioning timestamp is smaller than the first timestamp, the process goes to step S605. ;
  • step S603 The terminal compares the positioning timestamp with the second timestamp corresponding to the first key frame after the current playing frame: when the positioning timestamp is smaller than the second timestamp, the process goes to step S604; when the positioning timestamp is greater than the second timestamp. Go to step S605;
  • S604 The terminal starts to decode each video frame after the current play frame in the order of timestamps from the current play frame, until the video frame corresponding to the location timestamp is decoded.
  • S605 The terminal starts from the first key frame before the positioning timestamp, and sequentially decodes each video frame after the first key frame before the positioning timestamp in the order of the timestamp, until the video frame corresponding to the positioning timestamp is decoded.
  • the terminal decodes the video frame corresponding to the positioning timestamp
  • the video frame starts playing from the video frame corresponding to the positioning timestamp, and waits for the next receiving positioning instruction, and repeats the above steps S601 to S606.
  • the terminal 70 may include: a receiving module 701, an obtaining module 702, a decoding control module 703, and a a decoding module 704; wherein
  • the receiving module 701 is configured to receive a video positioning instruction
  • the obtaining module 702 is configured to obtain a positioning timestamp from the video positioning instruction.
  • the decoding control module 703 is configured to determine that the positioning timestamp is in a current play frame pair. Between the first timestamp and the second timestamp corresponding to the first key frame after the current play frame; and when the positioning timestamp is in the first timestamp corresponding to the current play frame and the first key frame after the current play frame The first decoding module 704 is triggered when the corresponding second timestamp is between;
  • the first decoding module 704 is configured to perform decoding according to the current play frame to obtain a video frame corresponding to the positioning time stamp.
  • the first decoding module 704 is specifically configured to sequentially decode each video frame after the current play frame in the order of timestamps from the current play frame, until the decoding obtains the positioning time. Poke the corresponding video frame.
  • the first decoding module 704 is specifically configured to:
  • the video frame corresponding to the positioning time stamp is obtained by decoding the currently played frame that has been decoded.
  • the terminal 70 further includes: a second decoding module 705;
  • the decoding control module 703 is further configured to: determine that the video frame of the positioning timestamp is before the current play frame, or the video frame of the positioning timestamp is after the current play frame, and the current play frame There is at least one key frame between the frames; and when the video frame of the positioning timestamp is before the current playing frame, or when the video frame of the positioning timestamp is after the current playing frame, and the current The second decoding module is triggered when there is at least one key frame between the play frames;
  • the second decoding module 705 is configured to locate the video frame of the positioning time stamp by using a key frame positioning technology.
  • the decoding control module 703 is further configured to determine that the positioning timestamp is after the second timestamp, or the positioning timestamp is before the first timestamp; and when the positioning timestamp is After the second timestamp, or the positioning timestamp is in the When the first time stamp is before, the second decoding module 705 is triggered;
  • the second decoding module 705 is configured to perform decoding according to the first key frame before the positioning time stamp, to obtain a video frame corresponding to the positioning time stamp.
  • the second decoding module 705 is specifically configured to perform, according to a key frame before the positioning time stamp, each video frame after the first key frame before the positioning time stamp in the order of time stamps. Decoding until decoding results in a video frame corresponding to the positioning timestamp.
  • the terminal further includes:
  • the display unit is configured to display a timeline of video playback below the video content in addition to the displayed video content when the video is played, and the slider on the time axis is used to indicate the playing time of the current video.
  • the obtaining module 702 is configured to:
  • the time point at which the slider is on the timeline is the positioning timestamp in the positioning instruction.
  • the receiving module 701, the obtaining module 702, the decoding control module 703, the first decoding module 704, and the second decoding module 705 can be implemented by a central processing unit (CPU) and a microprocessor (MCU, Micro Controller Unit), Digital Signal Processing (DSP) or Programmable Logic Controller (PLC). In practical applications, the receiving module 701 can also be implemented by an inductor or a sensor.
  • CPU central processing unit
  • MCU Micro Controller Unit
  • DSP Digital Signal Processing
  • PLC Programmable Logic Controller
  • This embodiment provides a terminal 70, by using a location according to a location timestamp, a frame
  • the start time stamp for decoding is set accordingly, so that when the small-range video frame is backward positioned, the number of frame decoding is reduced, and the decoding efficiency of video frame positioning is improved.
  • the embodiment of the invention further describes a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method for performing video frame positioning by the terminal according to the foregoing various embodiments.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the terminal acquires the positioning timestamp from the received video positioning instruction; when the positioning timestamp is in the second time corresponding to the first timestamp corresponding to the current playing frame and the first key frame after the current playing frame Between the stamps, the terminal performs decoding according to the current play frame to obtain a video frame corresponding to the positioning time stamp; thus, when performing backward positioning on a small-range video frame, the number of frame decoding is reduced. Improve the decoding efficiency of video frame positioning.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

本发明实施例公开了一种终端及终端进行视频帧定位的方法、及计算机存储介质,其中,该方法可以包括:终端从接收到的视频定位指令中获取定位时间戳;当所述定位时间戳处于当前播放帧对应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间时,所述终端根据所述当前播放帧进行解码,得到所述定位时间戳对应的视频帧。

Description

终端及终端进行视频帧定位的方法、计算机存储介质 技术领域
本申请涉及视频处理领域,尤其涉及一种终端及终端进行视频帧定位的方法、计算机存储介质。
背景技术
视频文件由一系列的顺序的视频帧组成,视频帧的类型大体可分为帧内编码帧(I帧,Intra picture)、前向预测编码帧(P帧,Predictive-Frame)和双向预测内插编码帧(B帧,Bi-directional interpolated prediction Frame);其中,
I帧:又称为关键帧,可单独解码出一幅完整的画面;
P帧:解码需要依赖于前面的帧;
B帧:解码需要参考前面和后面的帧。
结合I帧、B帧和P帧的解码原理,在视频播放过程中,通常采用的是I帧定位,即先定位到I帧,然后再按照帧的顺序解码至定位时间点对应的P帧或B帧。以图1所示的帧定位示意图为例,设定两个I帧之间的间隔为1秒,中间的P帧或B帧总共有9个,当需要定位至图1中箭头所指示的时间戳为10.7秒对应的P帧时,首先会定位到时间戳为10.0秒对应的I帧,然后向后按顺序解码到时间戳为10.7秒对应的P帧,为了完成定位操作,则必须解码时间戳从10.0秒至10.7秒共计8帧数据才能播放需要定位的数据。若当前播放的是时间戳为10.4秒对应的P帧,那么,当需要定位至时间戳为10.7秒对应的P帧时,仍然需要对时间戳为10.0秒至10.4秒共计5帧进行解码,从而出现了解码的冗余,降低了解码的效率。
发明内容
有鉴于此,本发明实施例期望提出一种终端、终端进行视频帧定位的方法及计算机存储介质,旨在提高视频帧定位时的解码效率。
为达到上述目的,本发明的技术方案是这样实现的:
第一方面,本发明实施例提供了一种终端进行视频帧定位的方法,所述方法包括:
终端从接收到的视频定位指令中获取定位时间戳;
当所述定位时间戳处于当前播放帧对应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间时,所述终端根据所述当前播放帧进行解码,得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述方法还包括:当所述定位时间戳的视频帧处于所述当前播放帧之前,或者当所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧时,所述终端采用关键帧定位技术对所述定位时间戳的视频帧进行定位。
作为一种实施方式,所述的之前或之后,均指的是视频播放的时间轴上相应的时间点的前或后。
作为一种实施方式,当所述定位时间戳的视频帧处于所述当前播放帧之前,或者当所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧时,采用关键帧定位技术对所述定位时间戳的视频帧进行定位,具体包括:
当所述定位时间戳处于所述第二时间戳之后,或者所述定位时间戳处于所述第一时间戳之前时,所述终端根据所述定位时间戳之前首个关键帧进行解码,得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述定位时间戳对应的视频帧,通过已经解码完毕的当前播放帧进行解码。
作为一种实施方式,所述终端根据所述当前播放帧进行解码,得到所述定位时间戳对应的视频帧,具体包括:
所述终端从所述当前播放帧开始,按照时间戳的顺序依次对所述当前播放帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述终端根据所述定位时间戳之前首个关键帧进行解码,得到所述定位时间戳对应的视频帧,具体包括:
所述终端从所述定位时间戳之前首个关键帧开始,按照时间戳的顺序依次对所述定位时间戳之前首个关键帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述方法还包括:所述终端在播放视频时,终端的显示单元内所显示的播放框中,除了显示播放的视频内容以外,在视频内容下方显示有视频播放的时间轴,时间轴上的滑块用于表示当前视频的播放时间。
作为一种实施方式,所述方法还包括:通过拖动时间轴上的滑块对播放的视频内容进行定位。
作为一种实施方式,所述通过拖动时间轴上的滑块对播放的视频内容进行定位,包括:
当滑块停止拖动时,滑块在时间轴上所处的时间点则是定位指令中的定位时间戳。
第二方面,本发明实施例提供了一种终端,所述终端包括:接收模块、获取模块、解码控制模块和第一解码模块;其中,
所述接收模块,配置为接收视频定位指令;
所述获取模块,配置为从所述视频定位指令中获取定位时间戳;
所述解码控制模块,配置为确定所述定位时间戳处于当前播放帧对应 的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间;并当所述定位时间戳处于当前播放帧对应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间时,触发所述第一解码模块;
所述第一解码模块,配置为根据所述当前播放帧进行解码,得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述终端还包括:第二解码模块;
所述解码控制模块,还配置为确定所述定位时间戳的视频帧处于所述当前播放帧之前,或者所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧;并当所述定位时间戳的视频帧处于所述当前播放帧之前,或者当所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧的时候,触发所述第二解码模块;
所述第二解码模块,配置为采用关键帧定位技术对所述定位时间戳的视频帧进行定位。
作为一种实施方式,所述的之前或之后,均指的是视频播放的时间轴上相应的时间点的前或后。作为一种实施方式,所述解码控制模块,配置为确定所述定位时间戳处于所述第二时间戳之后,或者所述定位时间戳处于所述第一时间戳之前;并当所述定位时间戳处于所述第二时间戳之后,或者所述定位时间戳处于所述第一时间戳之前时,触发所述第二解码模块;
所述第二解码模块,配置为根据所述定位时间戳之前首个关键帧进行解码,得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述第一解码模块,配置为:
通过已经解码完毕的当前播放帧进行解码,获得所述定位时间戳对应的视频帧。
作为一种实施方式,所述第一解码模块,具体配置为从所述当前播放 帧开始,按照时间戳的顺序依次对所述当前播放帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述第二解码模块,具体配置为从所述定位时间戳之前的关键帧开始,按照时间戳的顺序依次对所述定位时间戳之前首个关键帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述终端还包括:
显示单元,配置为在播放视频时,显示的播放框中除了显示播放的视频内容以外,在视频内容下方显示有视频播放的时间轴,时间轴上的滑块用于表示当前视频的播放时间。
作为一种实施方式,所述获取模块,配置为:
当滑块停止拖动时,滑块在时间轴上所处的时间点则是定位指令中的定位时间戳。
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行以上所述的终端进行视频帧定位的方法。
本发明实施例所提供的一种终端、终端进行视频帧定位的方法及计算机存储介质,根据定位时间戳所处的位置,对帧定位时进行解码的起始时间戳进行相应地设置,从而在对小范围视频帧进行向后定位时,减少了进行帧解码的数量,提高了视频帧定位的解码效率。
附图说明
图1为现有技术中进行帧定位的示意图;
图2为本发明实施例提供的一种移动终端的硬件结构示意图;
图3为本发明实施例提供的一种终端进行视频帧定位的方法流程示意图;
图4为本发明实施例提供的一种终端的显示界面图;
图5为本发明实施例提供的一种帧定位示意图;
图6为本发明实施例提供的一种终端进行视频帧定位的方法的具体实现流程示意图;
图7为本发明实施例提供的一种终端的结构示意图;
图8为本发明实施例提供的另一种终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
现在将参考附图2来描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。
移动终端可以以各种形式来实施。例如,本申请中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA,Personal Digital Assistant)、平板电脑(PAD,Portable Android Device)、便携式多媒体播放器(PMP,Portable Media Player)、导航装置等等的移动终端以及诸如数字电视(TV,Television)、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
图2为实现本发明各个实施例的移动终端的硬件结构示意。
移动终端200可以包括用户输入单元230输出单元250、存储器260、接口单元270、控制器280和电源单元290等等。图2示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件,可以替代 地实施更多或更少的组件,将在下面详细描述移动终端的元件。
用户输入单元230可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元230允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元251上时,可以形成触摸屏。
接口单元270用作至少一个外部装置与移动终端200连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O,Input/Output)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端200的各种信息并且可以包括用户识别模块(UIM,User Identify Module)、客户识别模块(SIM,Subscriber Identity Module)、通用客户识别模块(USIM Universal Subscriber Identity Module)等等。另外,具有识别模块的装置(下面称为"识别装置")可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端200连接。接口单元270可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端200内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。
另外,当移动终端200与外部底座连接时,接口单元270可以用作允许通过其将电力从底座提供到移动终端200的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元250被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元250可以 包括显示单元251等等。
显示单元251可以显示在移动终端200中处理的信息。例如,当移动终端200处于电话通话模式时,显示单元251可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI,User Interface)或图形用户界面(GUI,Graphical User Interface)。当移动终端200处于视频通话模式或者图像捕获模式时,显示单元251可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。
同时,当显示单元251和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元251可以用作输入装置和输出装置。显示单元251可以包括液晶显示器(LCD,Liquid Crystal Display)、薄膜晶体管LCD(TFT-LCD,Thin Film Transistor-Liquid Crystal Display)、有机发光二极管(OLED,Organic Light Emitting Diode)显示器、柔性显示器、三维(3D,three Dimensional)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为透明有机发光二极管(TOLED,Transparent Organic Light-Emitting Diode)显示器等等。根据特定想要的实施方式,移动终端200可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。
存储器260可以存储由控制器280执行的处理和控制操作的软件程序等等,或者可以暂时地存储已经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器260可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。
存储器260可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机 访问存储器(RAM,Random Access Memory)、静态随机访问存储器(SRAM,Static Random Access Memory))、只读存储器(ROM,Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、磁性存储器、磁盘、光盘等等。而且,移动终端200可以与通过网络连接执行存储器260的存储功能的网络存储装置协作。
控制器280通常控制移动终端的总体操作。例如,控制器280执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器280可以包括用于再现(或回放)多媒体数据的多媒体模块281,多媒体模块281可以构造在控制器280内,或者可以构造为与控制器280分离。控制器280可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。
电源单元290在控制器280的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC,Application Specific Integrated Circuit)、数字信号处理器(DSP,Digital Signal Processo)、数字信号处理装置(DSPD,Digital Signal Processor Device)、可编程逻辑装置(PLD,Programmable Logic Device)、现场可编程门阵列(FPGA,Field Programmable Gate Array)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器280中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以 存储在存储器260中并且由控制器280执行。
至此,已经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。
基于上述移动终端硬件结构,提出本发明方法各个实施例。
实施例一
参见图3,其示出了本发明实施例提供的一种终端进行视频帧定位的方法,该方法可以包括:
S301:终端从接收到的定位指令中获取定位时间戳;
需要说明的是,在具体的实现过程中,终端在播放视频时,如图4所示,终端的显示单元内所显示的播放框(如实线框所示)中,除了显示播放的视频内容(如虚线框所示)以外,通常还会在视频内容下方出现视频播放的时间轴(如黑色粗线所示),时间轴上的滑块(如斜线填充的实线方框所示)可以表示当前视频的播放时间。用户可以通过拖动时间轴上的滑块对播放的视频内容进行定位,当滑块停止拖动时,如图4中的斜线填充的虚线方框所示,滑块在时间轴上所处的时间点则是定位指令中的定位时间戳。
S302:当定位时间戳处于当前播放帧对应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间时,终端根据当前播放帧进行解码,得到定位时间戳对应的视频帧。
在本发明实施例中,所述的之前或之后,均指的是视频播放的时间轴上相应的时间点的前或后。
可以理解地,在本发明实施例中,所谓的“之前”或“之后”均指的是视频播放的时间轴上相应的时间点的“前”或“后”。以图4为例,斜线 填充的实线方框对应的视频帧位于斜线填充的虚线方框对应的视频帧之前;斜线填充的虚线方框对应的视频帧位于斜线填充的实线方框的视频帧之后。
示例性地,当定位时间戳位于第一时间戳和第二时间戳之间时,可以认为是对当前播放视频帧向后的小范围定位,即当前播放帧时间戳<定位时间戳<当前播放帧之后最近的I帧时间戳的时候,可以认为是对当前播放视频帧向后的小范围定位。由于当前视频帧已经解码完毕正进行播放,而定位时间戳对应的视频帧处于当前视频帧与当前视频帧之后的首个关键帧之间。
因此,定位时间戳对应的视频帧可以通过已经解码完毕的当前播放帧进行解码。优选地,终端根据当前播放帧进行解码,得到定位时间戳对应的视频帧,可以包括:
终端从当前播放帧开始,按照时间戳的顺序依次对当前播放帧之后的每个视频帧进行解码,直至解码得到定位时间戳对应的视频帧。
可以理解地,如图5所示的帧定位示意图,两个I帧之间的间隔为1秒,分别对应的时间戳为10.0秒和11.0秒,两个I帧中间的P帧总共有9个,当前播放的视频帧的时间戳为10.6秒,如图中交叉线填充的方格所示;当定位时间戳为10.8秒时,如图中实线箭头指示的P帧所示,处于10.6秒和11.0秒之间,此时,可以以当前已经解码完毕的时间戳为10.6秒的当前播放帧为起点,逐一帧地向后进行解码,直至解码到定位时间戳为10.8秒的视频帧,此时,终端仅需要针对时间戳10.7秒和10.8秒两个视频帧进行解码;但是,若按照现有的定位技术,则需要终端从时间戳为10.0秒的I帧开始,逐一帧地向后进行解码,一直解码到时间戳为10.8秒的视频帧,可以明显看出,时间戳10.1秒至时间戳10.5秒之间的P帧解码是多余的,因此,本实施例提供的方法能够在当前时间帧小范围地向后定位视频帧时, 减少了进行帧解码的数量,从而提高了视频帧定位的解码效率。
示例性地,当定位时间戳处于第一时间戳之前时,即定位时间戳<当前播放帧时间戳的时候,可以认为是对当前播放视频帧向前的定位;此时,可以按照关键帧定位方式进行定位。
或者,当定位时间戳处于第二时间戳之后时,即定位时间戳>当前播放帧之后最近的I帧时间戳的时候,由于当前播放帧时间戳与定位时间戳之间具有至少一个关键帧I帧;此时,仍可以按照关键帧定位方式进行定位。
综上,所述方法还可以包括:
当定位时间戳处于第二时间戳之后,或者定位时间戳处于第一时间戳之前时,终端根据定位时间戳之前首个关键帧进行解码,得到定位时间戳对应的视频帧。
也就是说,在本发明实施例的技术方案中,当定位时间戳的视频帧处于当前播放帧之前,或者当定位时间戳的视频帧处于当前播放帧之后,且与当前播放帧之间存在至少一个关键帧的时候,仍然可以采用关键帧定位技术对定位时间戳的视频帧进行定位。
优选地,终端根据所述定位时间戳之前首个关键帧进行解码,得到定位时间戳对应的视频帧,具体包括:
终端从定位时间戳之前首个关键帧开始,按照时间戳的顺序依次对定位时间戳之前首个关键帧之后的每个视频帧进行解码,直至解码得到定位时间戳对应的视频帧。
可以理解地,如图5所示的帧定位示意图,两个I帧之间的间隔为1秒,分别对应的时间戳为10.0秒和11.0秒,两个I帧中间的P帧总共有9个,当前播放的视频帧的时间戳为10.6秒,如图中交叉线填充的方格所示;当定位时间戳为11.2秒或10.4秒时,如图中两条虚线箭头指示的P帧所示,其中,右侧的虚线箭头指示的P帧处于11.0秒关键帧I帧之后,左侧的虚 线箭头指示的P帧处于10.6秒的当前播放帧之前。此时,按照常规的关键帧定位方式,例如,当需要定位至右侧的虚线箭头指示的P帧时,可以以右侧的虚线箭头指示的P帧时间戳11.2秒之前的首个关键帧,即11.0秒的I帧为起点,逐一帧地向后进行解码,直至解码到定位时间戳为11.2秒的视频帧。当需要定位至左侧的虚线箭头指示的P帧时,可以以左侧的虚线箭头指示的P帧时间戳10.4秒之前的首个关键帧,即10.0秒的I帧为起点,逐一帧地向后进行解码,直至解码到定位时间戳为10.4秒的视频帧。
在上述方案中,所述方法还包括:所述终端在播放视频时,终端的显示单元内所显示的播放框中,除了显示播放的视频内容以外,在视频内容下方显示有视频播放的时间轴,时间轴上的滑块用于表示当前视频的播放时间。
在上述方案中,所述方法还包括:通过拖动时间轴上的滑块对播放的视频内容进行定位。
在上述方案中,所述通过拖动时间轴上的滑块对播放的视频内容进行定位,包括:
当滑块停止拖动时,滑块在时间轴上所处的时间点则是定位指令中的定位时间戳。
本发明实施例提供了一种终端进行视频帧定位的方法,根据定位时间戳所处的位置,对帧定位时进行解码的起始时间戳进行相应地设置,从而在对小范围视频帧进行向后定位时,减少了进行帧解码的数量,提高了视频帧定位的解码效率。
实施例二
基于前述实施例相同的技术构思,参见图6,其示出了本发明实施例提供的一种终端进行视频帧定位的方法的具体实现流程示意图,可以包括:
S601:终端在播放视频时,接收定位指令,并从定位指令中获取定位 时间戳;
具体地,如图4所示的终端播放视频的显示界面示意图中,用户可以通过拖动时间轴上的滑块对播放的视频内容进行定位,当滑块停止拖动时,滑块在时间轴上所处的时间点则是定位指令中的定位时间戳。
S602:终端将定位时间戳与当前播放帧的第一时间戳进行比较:当定位时间戳大于第一时间戳时,转至步骤S603;当定位时间戳小于第一时间戳时,转至步骤S605;
S603:终端将定位时间戳与当前播放帧之后首个关键帧对应的第二时间戳进行比较:当定位时间戳小于第二时间戳的,转至步骤S604;当定位时间戳大于第二时间戳的,转至步骤S605;
S604:终端从当前播放帧开始,按照时间戳的顺序依次对当前播放帧之后的每个视频帧进行解码,直至解码得到定位时间戳对应的视频帧。
S605:终端从定位时间戳之前首个关键帧开始,按照时间戳的顺序依次对定位时间戳之前首个关键帧之后的每个视频帧进行解码,直至解码得到定位时间戳对应的视频帧。
需要说明的是,当终端解码得到定位时间戳对应的视频帧,就会从定位时间戳对应的视频帧开始进行播放,并且等待下一次接收定位指令,并重复上述步骤S601至S606。
实施例三
基于前述实施例相同的技术构思,参见图7,其示出了本发明实施例提供的一种终端70的结构,该终端70可以包括:接收模块701、获取模块702、解码控制模块703和第一解码模块704;其中,
所述接收模块701,配置为接收视频定位指令;
所述获取模块702,配置为从所述视频定位指令中获取定位时间戳;
所述解码控制模块703,配置为确定所述定位时间戳处于当前播放帧对 应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间;并当所述定位时间戳处于当前播放帧对应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间时,触发所述第一解码模块704;
所述第一解码模块704,配置为根据所述当前播放帧进行解码,得到所述定位时间戳对应的视频帧。
具体地,所述第一解码模块704,具体配置为从所述当前播放帧开始,按照时间戳的顺序依次对所述当前播放帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述第一解码模块704,具体配置为:
通过已经解码完毕的当前播放帧进行解码,获得所述定位时间戳对应的视频帧。
示例性地,参见图8,所述终端70还包括:第二解码模块705;
所述解码控制模块703,还配置为确定所述定位时间戳的视频帧处于所述当前播放帧之前,或者所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧;并当所述定位时间戳的视频帧处于所述当前播放帧之前,或者当所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧的时候,触发所述第二解码模块;
所述第二解码模块705,配置为采用关键帧定位技术对所述定位时间戳的视频帧进行定位。
其中,所述的之前或之后,均指的是视频播放的时间轴上相应的时间点的前或后。
进一步地,所述解码控制模块703,还配置为确定所述定位时间戳处于所述第二时间戳之后,或者所述定位时间戳处于所述第一时间戳之前;并当所述定位时间戳处于所述第二时间戳之后,或者所述定位时间戳处于所 述第一时间戳之前时,触发所述第二解码模块705;
所述第二解码模块705,配置为根据所述定位时间戳之前首个关键帧进行解码,得到所述定位时间戳对应的视频帧。
具体地,所述第二解码模块705,具体配置为从所述定位时间戳之前的关键帧开始,按照时间戳的顺序依次对所述定位时间戳之前首个关键帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
作为一种实施方式,所述终端还包括:
显示单元,配置为在播放视频时,显示的播放框中除了显示播放的视频内容以外,在视频内容下方显示有视频播放的时间轴,时间轴上的滑块用于表示当前视频的播放时间。
在上述方案中,所述获取模块702,配置为:
当滑块停止拖动时,滑块在时间轴上所处的时间点则是定位指令中的定位时间戳。
本领域技术人员应当理解,本发明实施例的终端中各处理模块的功能,可参照前述终端进行视频帧定位的方法的相关描述而理解,本发明实施例的终端中各处理模块,可通过实现本发明实施例所述的功能的模拟电路而实现,也可以通过执行本发明实施例所述的功能的软件在终端上的运行而实现。
其中,所述接收模块701、获取模块702、解码控制模块703和第一解码模块704、第二解码模块705,可由终端中的中央处理器(CPU,Central Processing Unit)、微处理器(MCU,Micro Controller Unit)、数字信号处理器(DSP,Digital Signal Processing)或可编程逻辑器件(PLC,Programmable Logic Controller)等实现。在实际应用中,接收模块701还可由感应器或传感器来实现。
本实施例提供了一种终端70,通过根据定位时间戳所处的位置,对帧 定位时进行解码的起始时间戳进行相应地设置,从而在对小范围视频帧进行向后定位时,减少了进行帧解码的数量,提高了视频帧定位的解码效率。
本发明实施例还记载了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述各个实施例所述的终端进行视频帧定位的方法。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所描述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
工业实用性
本发明实施例中,终端从接收到的视频定位指令中获取定位时间戳;当所述定位时间戳处于当前播放帧对应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间时,所述终端根据所述当前播放帧进行解码,得到所述定位时间戳对应的视频帧;如此从而在对小范围视频帧进行向后定位时,减少了进行帧解码的数量,提高了视频帧定位的解码效率。

Claims (20)

  1. 一种终端进行视频帧定位的方法,所述方法包括:
    终端从接收到的视频定位指令中获取定位时间戳;
    当所述定位时间戳处于当前播放帧对应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间时,所述终端根据所述当前播放帧进行解码,得到所述定位时间戳对应的视频帧。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    当所述定位时间戳的视频帧处于所述当前播放帧之前,或者,当所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧时,所述终端采用关键帧定位技术对所述定位时间戳的视频帧进行定位。
  3. 根据权利要求2所述的方法,其中,所述的之前或之后,均指的是视频播放的时间轴上相应的时间点的前或后。
  4. 根据权利要求2所述的方法,其中,当所述定位时间戳的视频帧处于所述当前播放帧之前,或者,当所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧时,所述终端采用关键帧定位技术对所述定位时间戳的视频帧进行定位,包括:
    当所述定位时间戳处于所述第二时间戳之后,或者所述定位时间戳处于所述第一时间戳之前时,所述终端根据所述定位时间戳之前首个关键帧进行解码,得到所述定位时间戳对应的视频帧。
  5. 根据权利要求1所述的方法,其中,所述定位时间戳对应的视频帧,通过已经解码完毕的当前播放帧进行解码。
  6. 根据权利要求1至5任一项所述的方法,其中,所述终端根据所述当前播放帧进行解码,得到所述定位时间戳对应的视频帧,具体包括:
    所述终端从所述当前播放帧开始,按照时间戳的顺序依次对所述当前 播放帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
  7. 根据权利要求4所述的方法,其中,所述终端根据所述定位时间戳之前首个关键帧进行解码,得到所述定位时间戳对应的视频帧,具体包括:
    所述终端从所述定位时间戳之前首个关键帧开始,按照时间戳的顺序依次对所述定位时间戳之前首个关键帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
  8. 根据权利要求1所述的方法,其中,所述方法还包括:所述终端在播放视频时,终端的显示单元内所显示的播放框中,除了显示播放的视频内容以外,在视频内容下方显示有视频播放的时间轴,时间轴上的滑块用于表示当前视频的播放时间。
  9. 根据权利要求8所述的方法,其中,所述方法还包括:通过拖动时间轴上的滑块对播放的视频内容进行定位。
  10. 根据权利要求9所述的方法,其中,所述通过拖动时间轴上的滑块对播放的视频内容进行定位,包括:
    当滑块停止拖动时,滑块在时间轴上所处的时间点则是定位指令中的定位时间戳。
  11. 一种终端,所述终端包括:接收模块、获取模块、解码控制模块和第一解码模块;其中,
    所述接收模块,配置为接收视频定位指令;
    所述获取模块,配置为从所述视频定位指令中获取定位时间戳;
    所述解码控制模块,配置为确定所述定位时间戳处于当前播放帧对应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间;并当所述定位时间戳处于当前播放帧对应的第一时间戳与当前播放帧之后首个关键帧对应的第二时间戳之间时,触发所述第一解码模块;
    所述第一解码模块,配置为根据所述当前播放帧进行解码,得到所述定位时间戳对应的视频帧。
  12. 根据权利要求11所述的终端,其中,所述终端还包括:第二解码模块;
    所述解码控制模块,还配置为确定所述定位时间戳的视频帧处于所述当前播放帧之前,或者所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧;并当所述定位时间戳的视频帧处于所述当前播放帧之前,或者当所述定位时间戳的视频帧处于所述当前播放帧之后,且与所述当前播放帧之间存在至少一个关键帧的时候,触发所述第二解码模块;
    所述第二解码模块,配置为采用关键帧定位技术对所述定位时间戳的视频帧进行定位。
  13. 根据权利要求12所述的终端,其中,所述的之前或之后,均指的是视频播放的时间轴上相应的时间点的前或后。
  14. 根据权利要求12所述的终端,其中,
    所述解码控制模块,配置为确定所述定位时间戳处于所述第二时间戳之后,或者所述定位时间戳处于所述第一时间戳之前;并当所述定位时间戳处于所述第二时间戳之后,或者所述定位时间戳处于所述第一时间戳之前时,触发所述第二解码模块;
    所述第二解码模块,配置为根据所述定位时间戳之前首个关键帧进行解码,得到所述定位时间戳对应的视频帧。
  15. 根据权利要求11所述的终端,其中,所述第一解码模块,配置为:
    通过已经解码完毕的当前播放帧进行解码,获得所述定位时间戳对应的视频帧。
  16. 根据权利要求11至15任一项所述的终端,其中,所述第一解码 模块,具体配置为从所述当前播放帧开始,按照时间戳的顺序依次对所述当前播放帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
  17. 根据权利要求14所述的终端,其中,所述第二解码模块,具体配置为从所述定位时间戳之前的关键帧开始,按照时间戳的顺序依次对所述定位时间戳之前首个关键帧之后的每个视频帧进行解码,直至解码得到所述定位时间戳对应的视频帧。
  18. 根据权利要求11所述的终端,其中,所述终端还包括:
    显示单元,配置为在播放视频时,显示的播放框中除了显示播放的视频内容以外,在视频内容下方显示有视频播放的时间轴,时间轴上的滑块用于表示当前视频的播放时间。
  19. 根据权利要求18所述的终端,其中,所述获取模块,配置为:
    当滑块停止拖动时,滑块在时间轴上所处的时间点则是定位指令中的定位时间戳。
  20. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至10任一项所述的方法。
PCT/CN2016/112393 2016-01-20 2016-12-27 终端及终端进行视频帧定位的方法、计算机存储介质 Ceased WO2017124897A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610038926.9 2016-01-20
CN201610038926.9A CN105704527A (zh) 2016-01-20 2016-01-20 一种终端及终端进行视频帧定位的方法

Publications (1)

Publication Number Publication Date
WO2017124897A1 true WO2017124897A1 (zh) 2017-07-27

Family

ID=56227609

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112393 Ceased WO2017124897A1 (zh) 2016-01-20 2016-12-27 终端及终端进行视频帧定位的方法、计算机存储介质

Country Status (2)

Country Link
CN (1) CN105704527A (zh)
WO (1) WO2017124897A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248245A (zh) * 2019-06-21 2019-09-17 维沃移动通信有限公司 一种视频定位方法、装置、移动终端及存储介质
CN115408554A (zh) * 2022-08-26 2022-11-29 杭州网易云音乐科技有限公司 视频处理方法及装置、存储介质和电子设备
CN115567757A (zh) * 2022-09-21 2023-01-03 北京百度网讯科技有限公司 播放处理方法、装置、设备及存储介质
CN115967843A (zh) * 2022-12-28 2023-04-14 深圳软牛科技有限公司 一种视频倒放的方法、系统、终端及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704527A (zh) * 2016-01-20 2016-06-22 努比亚技术有限公司 一种终端及终端进行视频帧定位的方法
CN110460790A (zh) * 2018-05-02 2019-11-15 北京视联动力国际信息技术有限公司 一种视频帧的抽取方法和装置
CN110267096A (zh) * 2019-06-21 2019-09-20 北京达佳互联信息技术有限公司 视频播放方法、装置、电子设备及存储介质

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0786909A2 (en) * 1996-01-23 1997-07-30 International Business Machines Corporation Locating a frame position in an MPEG data stream
CN101106637A (zh) * 2006-07-13 2008-01-16 中兴通讯股份有限公司 通过机顶盒实现对外接存储设备的媒体文件播放的方法
CN101321284A (zh) * 2007-06-10 2008-12-10 华为技术有限公司 一种编解码方法、设备及系统
CN101415069A (zh) * 2008-10-22 2009-04-22 清华大学 一种服务器及其在线播放视频的发送方法
CN101686391A (zh) * 2008-09-22 2010-03-31 华为技术有限公司 视频编码/解码方法、装置与视频播放方法、装置及系统
CN101841692A (zh) * 2010-04-23 2010-09-22 深圳市茁壮网络股份有限公司 视频流快进快退的方法
CN103348690A (zh) * 2011-11-26 2013-10-09 华为技术有限公司 一种视频处理的方法及装置
CN103491387A (zh) * 2012-06-14 2014-01-01 深圳市快播科技有限公司 一种视频定位的系统、点播终端和方法
CN104918136A (zh) * 2015-05-28 2015-09-16 北京奇艺世纪科技有限公司 视频定位方法和装置
CN105704527A (zh) * 2016-01-20 2016-06-22 努比亚技术有限公司 一种终端及终端进行视频帧定位的方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012037715A1 (en) * 2010-09-20 2012-03-29 Nokia Corporation Identifying a key frame from a video sequence
CN104618794B (zh) * 2014-04-29 2018-08-03 腾讯科技(北京)有限公司 播放视频的方法和装置

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0786909A2 (en) * 1996-01-23 1997-07-30 International Business Machines Corporation Locating a frame position in an MPEG data stream
CN101106637A (zh) * 2006-07-13 2008-01-16 中兴通讯股份有限公司 通过机顶盒实现对外接存储设备的媒体文件播放的方法
CN101321284A (zh) * 2007-06-10 2008-12-10 华为技术有限公司 一种编解码方法、设备及系统
CN101686391A (zh) * 2008-09-22 2010-03-31 华为技术有限公司 视频编码/解码方法、装置与视频播放方法、装置及系统
CN101415069A (zh) * 2008-10-22 2009-04-22 清华大学 一种服务器及其在线播放视频的发送方法
CN101841692A (zh) * 2010-04-23 2010-09-22 深圳市茁壮网络股份有限公司 视频流快进快退的方法
CN103348690A (zh) * 2011-11-26 2013-10-09 华为技术有限公司 一种视频处理的方法及装置
CN103491387A (zh) * 2012-06-14 2014-01-01 深圳市快播科技有限公司 一种视频定位的系统、点播终端和方法
CN104918136A (zh) * 2015-05-28 2015-09-16 北京奇艺世纪科技有限公司 视频定位方法和装置
CN105704527A (zh) * 2016-01-20 2016-06-22 努比亚技术有限公司 一种终端及终端进行视频帧定位的方法

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248245A (zh) * 2019-06-21 2019-09-17 维沃移动通信有限公司 一种视频定位方法、装置、移动终端及存储介质
CN110248245B (zh) * 2019-06-21 2022-05-06 维沃移动通信有限公司 一种视频定位方法、装置、移动终端及存储介质
CN115408554A (zh) * 2022-08-26 2022-11-29 杭州网易云音乐科技有限公司 视频处理方法及装置、存储介质和电子设备
CN115567757A (zh) * 2022-09-21 2023-01-03 北京百度网讯科技有限公司 播放处理方法、装置、设备及存储介质
CN115967843A (zh) * 2022-12-28 2023-04-14 深圳软牛科技有限公司 一种视频倒放的方法、系统、终端及存储介质

Also Published As

Publication number Publication date
CN105704527A (zh) 2016-06-22

Similar Documents

Publication Publication Date Title
US10181056B2 (en) Preventing displaying private data based on security policy
US8682374B2 (en) Mobile terminal and controlling method thereof
CN108259991B (zh) 视频处理方法及装置
CN105704527A (zh) 一种终端及终端进行视频帧定位的方法
KR102193704B1 (ko) 전자 장치의 락 스크린 디스플레이 방법 및 그 전자 장치
CN106488282B (zh) 一种多媒体信息的输出控制方法及移动终端
JP6130976B2 (ja) ウェブページエンコード識別方法、ウェブページエンコード識別装置、プログラム及び記録媒体
CN104503786B (zh) 固件刷新方法及装置
CN104363400A (zh) 一种扫描本地二维码的方法及装置
US10817355B2 (en) Method and apparatus for communication between webpage and operating system
CN104391711A (zh) 一种设置屏幕保护的方法及装置
CN111339744A (zh) 票务信息展示方法、装置及存储介质
US20170161871A1 (en) Method and electronic device for previewing picture on intelligent terminal
CN106503124B (zh) 页面中多媒体文件定位的方法和装置
CN105550260A (zh) 图片显示方法及装置
CN110336804B (zh) 多媒体文件的恢复方法、装置及设备
KR20130085146A (ko) 애플리케이션 파일 재개와 그를 위한 스크린 캡처 방법 및 장치
US20220365997A1 (en) Interactive media network system
JP6407293B2 (ja) キーボード様式切り替え方法および装置
CN105763911A (zh) 一种视频播放的方法和终端
CN110278273A (zh) 多媒体文件上传方法、装置、终端、服务器和存储介质
CN112823529B (zh) 视频解码方法、装置、电子设备、计算机可读存储介质
US20160196030A1 (en) Method and electronic device for displaying electronic document
CN106327541A (zh) 一种图片的裁剪方法及装置
CN108063806A (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: 16886156

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

Country of ref document: EP

Kind code of ref document: A1