CN102467940A - Fast forward and fast rewind method and device for index-free video file, and play system - Google Patents

Fast forward and fast rewind method and device for index-free video file, and play system Download PDF

Info

Publication number
CN102467940A
CN102467940A CN2010105349256A CN201010534925A CN102467940A CN 102467940 A CN102467940 A CN 102467940A CN 2010105349256 A CN2010105349256 A CN 2010105349256A CN 201010534925 A CN201010534925 A CN 201010534925A CN 102467940 A CN102467940 A CN 102467940A
Authority
CN
China
Prior art keywords
playing
index table
file
timestamp
index
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.)
Pending
Application number
CN2010105349256A
Other languages
Chinese (zh)
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.)
Anyka Guangzhou Microelectronics Technology Co Ltd
Original Assignee
Anyka Guangzhou Microelectronics 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 Anyka Guangzhou Microelectronics Technology Co Ltd filed Critical Anyka Guangzhou Microelectronics Technology Co Ltd
Priority to CN2010105349256A priority Critical patent/CN102467940A/en
Publication of CN102467940A publication Critical patent/CN102467940A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention is applicable to the technical field of videos and provides a fast forward and fast rewind method and a fast forward and fast rewind device for an index-free video file, and a play system. The method comprises the following steps of: when a file play request is received, initiating an index file handle, traversing key frames with preset quantity, and establishing an index table of the traversed key frames; starting to play the file, initiating a play file handle, playing the file, continuously traversing non-traversed key frames through the index file handle when the play file handle plays the file, and updating the index table according to the traversed key frames; and responding the play request according to the index table. The index file handle and the play file handle are initiated, so that establishment and storage of the index table of the video file and play of the video file can be simultaneously performed. Therefore, when the play request is received, a user can be rapidly responded.

Description

Fast forward and fast backward method and device for index-free video file and playing system
Technical Field
The invention belongs to the technical field of videos, and particularly relates to a fast forward and fast backward method, a fast forward and fast backward device and a play system for an index-free video file.
Background
With the rapid development of network technology and multimedia technology, large-capacity video files are gradually appearing in people's daily life, however, due to the limitation of system resources of embedded devices, most of the players on embedded devices do not support fast-forward or fast-backward playing of video files without indexes.
At present, it is a common practice that, before playing a video file without index, a player first searches out all I frames existing in the video file, and then records a mapping relationship between a shift address and a play timestamp of each I frame in the video file, i.e. establishes an index table for the video file without index, so as to achieve the purpose of fast forwarding or fast rewinding when playing the video file.
Although the method can fast forward or fast backward play the video file without index, the processing speed of the memory and the CPU on the embedded device is limited, so that the method takes longer time when establishing the index table, and the user experience is not good.
Disclosure of Invention
The invention provides a fast forward and fast backward method for an index-free video file, and aims to solve the problem that before the index-free video file is played on an embedded device, an index table of the whole video file needs to be established first, so that the waiting playing time is too long, and the user experience is poor.
The invention is realized in this way, a fast forward and fast backward method for an index-free video file, the method includes the following steps:
when a file playing request is received, starting an index file handle, traversing a preset number of key frames, and establishing an index table of the traversed key frames;
starting playing the file, starting a playing file handle, playing the file, continuously traversing the key frames which are not traversed by the index file handle while playing the file by the playing file handle, and updating the index table according to the traversed key frames;
and responding to the playing request according to the index table.
Another object of the present invention is to provide a fast forwarding and fast rewinding device for an index-free video file, the device comprising:
the index table establishing unit is used for opening an index file handle when a file playing request is received, traversing a preset number of key frames and establishing an index table of the traversed key frames;
the file playing unit is used for starting playing the file, starting a playing file handle, playing the file, continuously traversing the key frames which are not traversed by the index file handle while playing the file by the playing file handle, and updating the index table according to the traversed key frames;
and the response playing unit is used for responding to the playing request according to the index table.
Another object of the present invention is to provide a playback system including a fast-forward/fast-rewind device for non-indexed video files.
In the embodiment of the invention, the index file handle traverses a preset number of key frames before playing the video file by playing the file handle, and establishes the index table of the traversed key frames, and the index file handle continues to traverse the key frames which are not traversed in the video file in the process of playing the video file by playing the file handle. Thus, when a play request is received, a user can be quickly responded to. And before the video file is played, an index table of all key frames of the video file is not established, so that the time for a user to wait for playing the video file can be effectively reduced, and the user experience is improved.
Drawings
Fig. 1 is a flow chart of a fast forward and fast backward method for an index-free video file according to an embodiment of the present invention;
fig. 2 is a structure of a fast forwarding and fast rewinding device for an index-free video file according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Before playing a video file, the embodiment of the invention starts the index file handle to traverse the key frames with the preset number, stores the information of the traversed key frames into the index table, starts the playing file handle to play the video file, and when the playing file handle plays the video file, the index file handle continuously traverses other key frames in the video file and establishes the index table for the traversed key frames.
The invention provides a fast forward and fast backward method, a device and a playing system for an index-free video file, wherein the method comprises the following steps:
the method comprises the following steps: when a file playing request is received, starting an index file handle, traversing a preset number of key frames, and establishing an index table of the traversed key frames;
starting playing the file, starting a playing file handle, playing the file, continuously traversing the key frames which are not traversed by the index file handle while playing the file by the playing file handle, and updating the index table according to the traversed key frames;
and responding to the playing request according to the index table.
The device comprises: the index table establishing unit is used for opening an index file handle when a file playing request is received, traversing a preset number of key frames and establishing an index table of the traversed key frames;
the file playing unit is used for starting playing the file, starting a playing file handle, playing the file, continuously traversing the key frames which are not traversed by the index file handle while playing the file by the playing file handle, and updating the index table according to the traversed key frames;
and the response playing unit is used for responding to the playing request according to the index table.
The playback system includes: a playing system comprising a fast forward and fast backward device for an index-free video file.
In the embodiment of the invention, the index file handle traverses a preset number of key frames before playing the video file by playing the file handle, and establishes the index table of the traversed key frames, and the index file handle continues to traverse the key frames which are not traversed in the video file in the process of playing the video file by playing the file handle. Thus, when a play request is received, a user can be quickly responded to. And before the video file is played, an index table of all key frames of the video file is not established, so that the time for a user to wait for playing the video file can be effectively reduced, and the user experience is improved.
The first embodiment is as follows:
fig. 1 shows a flow of a fast forward and fast rewind method for an index-free video file according to an embodiment of the present invention, which is detailed as follows:
in step S101, when a file playing request is received, an index file handle is opened, a preset number of key frames are traversed, and an index table of the traversed key frames is established;
a handle, which refers to a unique integer value used to identify different objects in an application and different instances of the same type of object, for example, a window, button, or icon may be referred to as a handle, through which an application can access object information contained in the window, button, or icon. In the embodiment of the invention, the index file handle comprises an index table, and the index table is used for storing the one-to-one mapping relation between the offset address and the time stamp of the key frame in the video file. The key frames are frames which represent two different key states before and after the video file represents movement or change, the key frames can be independently decoded, the data volume in the frames is large, on the contrary, the non-key frames cannot be independently decoded, the data volume in the frames is far smaller than that of the key frames, and common key frames such as I frames.
After receiving a file playing request, opening an index file handle, wherein the index file handle stores the one-to-one mapping relation between the offset addresses and the timestamps of the key frames with the traversal number being the preset number into an index table established by the index file handle. The number of the pre-traversal key frames is specifically set according to actual requirements, for example, when the fast-forward and fast-backward playing changes a lot, a value representing the number of the pre-traversal key frames is set to be a little larger, so that a lot of key frames are traversed before the video file is played, and thus, when the video file is played, the timestamps matched with the fast-forward and fast-backward time can be quickly searched, and conversely, a value representing the number of the traversal key frames can be set to be a little smaller. Before playing the video file, only the mapping relation between the timestamps and the offset addresses of the key frames with the preset number in the video file is stored, in the process of playing the video file, the key frames which are not traversed in the video file are traversed continuously, and the mapping relation between the timestamps and the offset addresses of the traversed key frames is stored, so that the time for a user to wait for playing the video file can be reduced by presetting the number of the traversed key frames, and the user experience is improved.
In an index table established by the index file handle, each offset address corresponds to a timestamp, the offset address corresponding to the timestamp can be searched according to the timestamp, and the key frame in the video file can be found according to the offset address. Of course, the information of the key frame, such as the location and name of the key frame, may also be stored in the index table.
The steps of traversing a preset number of key frames and establishing an index table of the traversed key frames specifically include:
judging whether the current traversed frame is a key frame;
and when the currently traversed frame is a key frame, storing the mapping relation between the offset address and the time stamp of the currently traversed frame in the video file into an index table. If the current traversed frame is not the key frame, continuously searching the next frame of the current traversed frame, and judging whether the next frame of the current traversed frame is the key frame.
The frame header information is used to identify the type of a frame, determine whether the currently traversed frame is a key frame, and may be determined by analyzing the frame header information of the frame. Of course, when determining whether a frame in the flv file is a key frame, the determination may be performed by using an identifier in the frame, because each frame of the flv file is attached with a corresponding identifier to identify whether the frame is a key frame. In addition, since the data amount of the key frame is much larger than that of the non-key frame, it may be determined whether the frame is a key frame by comparing the data amounts in the frames, which is not limited herein.
As another embodiment of the present invention, an index table storing the mapping relationship between the time stamp and the offset address of the key frame may be stored in the memory, so as to quickly call the index table. Of course, the index table may also be stored in a file, which is not limited herein.
In step S102, starting playing a file, starting a playing file handle, playing the file, and while playing the file by the playing file handle, continuously traversing the key frames that are not traversed by the index file handle, and updating the index table according to the traversed key frames;
and opening a play file handle, searching a timestamp matched with the current play time in an index table of the index file handle by the play file handle, and searching an offset address corresponding to the timestamp matched with the current play time according to the mapping relation between the timestamp and the offset address in the index table. For example, if the offset address corresponding to the timestamp 13 seconds stored in the index table is 100, the offset address corresponding to the timestamp 30 seconds is 300, and the timestamp matching the current time is 13 seconds, the offset address searched for based on the timestamp 13 seconds is 100.
The step of updating the index table according to the traversed key frame specifically comprises the following steps:
and storing the mapping relation between the offset address and the time stamp of the traversed key frame in the video file into an index table.
In the embodiment of the invention, in the process of playing the video file by playing the file handle, the index file handle continuously traverses the key frames which are not traversed in the video file, and the mapping relation between the offset addresses and the time stamps of the traversed key frames in the video file is stored in the index table established by the index file handle.
In step S103, a play request is responded according to the index table.
And playing the video file in the playing file handle according to the received fast forward, fast backward or positioned playing request sent by the user and the searched offset address.
As an embodiment of the present invention, a user needs to fast forward a currently viewed video file, and then receives a fast forward play request sent by the user, the play file handle searches a timestamp matching the current time in an index table of the index file handle, and according to a mapping relationship between the timestamp and an offset address, after an offset address corresponding to the timestamp is searched in the index table, the play file handle plays a key frame corresponding to the offset address. And continuously searching the key frame of the next playing, wherein the time stamp of the key frame of the next playing is the next time stamp of the current time stamp in the index table as the received fast forward playing request sent by the user, namely the key frame in the fast forward playing video file, and the steps are continued until the fast forward playing request is received or the last time stamp stored in the index table is played, and the playing file handle finishes playing the video file. Wherein, the timestamp is the timestamp corresponding to the last key frame in the video file.
As another embodiment of the present invention, a user needs to fast rewind a currently viewed video file, then a fast rewind play request sent by the user is received, a play file handle searches a timestamp matched with the current time in an index table of the index file handle, and according to a mapping relationship between the timestamp and an offset address, after an offset address corresponding to the timestamp is searched in the index table, the play file handle plays a key frame corresponding to the offset address. And continuously searching the next played key frame, wherein the received fast-backward playing request sent by the user is the key frame in the fast-backward playing video file, the timestamp of the next played key frame is the previous timestamp of the current timestamp in the index table, the playing file handle searches the offset address corresponding to the timestamp in the index table, after the offset address is found, the playing file handle plays the key frame corresponding to the offset address, the steps are continued until the fast-backward playing request is received or the key frame corresponding to the first timestamp is stored in the index table, and the playing file handle finishes playing the video file.
As another embodiment of the present invention, when a user needs to play a currently viewed video file from a new play point, a request sent by the user to play from the new play point is received, the play file handle searches for a timestamp matching the time of the new play point in an index table of the index file handle, and searches for an offset address corresponding to the timestamp in the index table according to a mapping relationship between the timestamp and the offset address, and the play file handle plays a key frame corresponding to the offset address and continues to play a subsequent frame adjacent to the frame.
As another embodiment of the present invention, if a fast forward or fast backward request is received, and the playing file handle does not find a timestamp matching a new playing point time in the index table, the playing file handle traverses the next key frame, and stores the mapping relationship between the timestamp and the offset address of the key frame in the video file into the index table, and then continues to find the timestamp matching the current time, if the found timestamp exists, the offset address corresponding to the timestamp is found, and the key frame corresponding to the offset address is played, and the above steps are repeatedly performed until the matching timestamp is found. If the playing file handle does not find the timestamp matched with the new playing point time in the index table when a file playing request from a new playing point is received, whether the difference value between the new playing point time and the timestamp in the index table is within a preset difference value range can be judged, if the difference value is within the preset difference value range, the key frame corresponding to the timestamp with the minimum difference value between the new playing point time and the new playing point time is played, for example, the preset difference value range is 1 second, the new playing point time is 10 seconds, the timestamps corresponding to the key frames in the index table are 2 seconds, 5 seconds, 7 seconds, 9 seconds and 12 seconds, and because the difference value between the new playing point time and the 9 seconds is minimum, when a user needs to fix a point to a frame of 10 seconds in a video file, the playing file handle plays the key frame corresponding to the time stamp of 9 seconds. If the difference value between the new playing point time and the timestamp in the index table is not within the preset difference value range, traversing the next key frame in the index file handle, storing the mapping relation between the timestamp of the key frame in the video file and the offset address into the index table, then continuing to search the timestamp matched with the current time or the new playing point time by the playing file handle, if the searched timestamp exists, searching the offset address corresponding to the timestamp, playing the key frame corresponding to the offset address, and repeatedly executing the steps until the matched timestamp or the difference value between the new playing point time and the timestamp in the index table is within the preset difference value range. Since the index file handle continues to traverse the key frames of the video file and establish the index table when the playing file handle plays the video file, even if the index table does not have the timestamp matching the time of the playing request, the playing file handle does not need to consume too much time to search for the timestamp matching the time of the playing request again.
In the embodiment of the invention, the index file handle traverses a preset number of key frames before playing the video file by playing the file handle, and establishes the index table of the traversed key frames, and the index file handle continues to traverse the key frames which are not traversed in the video file in the process of playing the video file by playing the file handle. Thus, when a play request is received, a user can be quickly responded to. And before the video file is played, an index table of all key frames of the video file is not established, so that the time for a user to wait for playing the video file can be effectively reduced, and the user experience is improved.
Example two:
fig. 2 shows a structure of a fast forwarding and fast rewinding device for an index-free video file according to an embodiment of the present invention, and for convenience of description, only the portions related to the embodiment of the present invention are shown.
An index table establishing unit 201, configured to open an index file handle when a file playing request is received, traverse a preset number of key frames, and establish an index table of the traversed key frames;
a playing file unit 202, configured to start playing a file, start a playing file handle, play the file, and while playing the file by the playing file handle, continue traversing the key frames that are not traversed by the index file handle, and update the index table according to the traversed key frames;
a response playing unit 203, configured to respond to the playing request according to the index table.
In the embodiment of the present invention, before playing a video file, when receiving a file playing request, the index table creating unit 201 opens an index file handle, traverses a preset number of key frames, and creates an index table of the traversed key frames, after the preset number of key frame information is stored in the index table, the playing file unit 202 opens a playing file handle, and at the same time, the index file handle continues to traverse the key frames that are not traversed in the video file, and updates the key frames of the index table, and if a new playing request is received, the response playing unit 203 responds to the playing request according to the information of the key frames stored in the index table. Since the index table creating unit 201 does not create the index table for all the key frames of the video file before playing the video file, the time for the user to wait for playing the video file can be effectively reduced, thereby improving the user experience.
As another embodiment of the present invention, the index table creating unit 201 further includes a determining unit 2011, configured to determine whether a currently traversed frame is a key frame; the storage unit 2012 is configured to store, in the index table, a mapping relationship between an offset address and a timestamp of the currently traversed frame in the video file when the currently traversed frame is a key frame.
In the embodiment of the invention, because the video file has the key frames and the non-key frames, the key frames need to be judged firstly, so that the index file handle can establish the index table for the key frames.
As another embodiment of the present invention, the response playing unit 203 further includes a fast forward playing module 2031, a fast backward playing module 2032, and/or a positioning playing module 2033. The fast forward playing module 2031 is configured to, if the playing request is a fast forward request, search the index table for a timestamp matching the current time from the playing file handle, search the offset address corresponding to the timestamp, play the key frame corresponding to the offset address, and continue to search the index table for a timestamp next to the timestamp; a fast-backward playing module 2032, configured to, if the playing request is a fast-backward request, search the index table for a timestamp matching the current time from the playing file handle, search for an offset address corresponding to the timestamp, play a key frame corresponding to the offset address, and continue to search the index table for a timestamp before the timestamp; the positioning playing module 2033 is configured to, if the playing request is a request to play from a new playing point, search the index table for a timestamp matching the time of the new playing point from the playing file handle, search for an offset address corresponding to the timestamp, play the key frame corresponding to the offset address, and continue to play the next frame of the key frame.
As another embodiment of the present invention, the response playing unit 203 may further include a waiting playing module 2034, configured to, if the playing request is a fast forward or fast backward request, the playing file handle does not find the timestamp matching the current time in the index table, the playing file handle continues to find the timestamp matching the current time in the index table after the index file handle traverses the new key frame and establishes the index table of the traversed key frame, and if the playing request is a request to play from a new playing point, the playing file handle continues to find the timestamp matching the new playing point time in the index table or the difference between the new playing point time and the timestamp in the index table is not within the preset range after the index file handle traverses the new key frame and establishes the index table of the traversed key frame, the playing file handle continues to find the timestamp matching the new playing point time in the index table or the difference is within the preset range after the index file handle traverses the new key frame and establishes the index table of the traversed key frame And (4) stamping.
In the embodiment of the invention, if the playing file handle finds the timestamp matched with the playing request time in the index table, the offset address corresponding to the timestamp is searched according to the timestamp, and the key frame corresponding to the offset address is played; if the playing file handle does not find the timestamp matched with the playing request time in the index table, after traversing a new key frame and establishing the index table of the key frame, the playing file handle continues to find the timestamp matched with the playing request time in the index table. Because the index file handle and the playing file handle work simultaneously, the time for a user to wait for playing of the video file can be effectively shortened, and the user experience is improved.
Example three:
as an embodiment of the present invention, the fast forwarding and fast rewinding device for an index-free video file in the second embodiment may be a software unit, a hardware unit, or a unit combining software and hardware that runs in the playing systems, or may be integrated into the playing systems or run in application systems of the playing systems as an independent pendant.
In the embodiment of the invention, the index file handle traverses a preset number of key frames before playing the video file by playing the file handle, and establishes the index table of the traversed key frames, and the index file handle continues to traverse the key frames which are not traversed in the video file in the process of playing the video file by playing the file handle. Thus, when a play request is received, a user can be quickly responded to. And before the video file is played, an index table of all key frames of the video file is not established, so that the time for a user to wait for playing the video file can be effectively reduced, and the user experience is improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A fast forward and fast backward method for an index-free video file, the method comprising:
when a file playing request is received, starting an index file handle, traversing a preset number of key frames, and establishing an index table of the traversed key frames;
starting playing the file, starting a playing file handle, playing the file, continuously traversing the key frames which are not traversed by the index file handle while playing the file by the playing file handle, and updating the index table according to the traversed key frames;
and responding to the playing request according to the index table.
2. The method of claim 1, wherein the step of traversing a predetermined number of key frames and building an index table of traversed key frames comprises:
judging whether the current traversed frame is a key frame;
and when the currently traversed frame is a key frame, storing the mapping relation between the offset address and the timestamp of the currently traversed frame in the video file into an index table.
3. The method of claim 1, wherein the step of updating the index table according to the traversed key frames comprises:
and storing the mapping relation between the offset address and the time stamp of the traversed key frame in the video file into an index table.
4. The method of claim 1, wherein the step of responding to the play request according to the index table specifically comprises:
if the playing request is a fast forward request, the playing file handle searches a timestamp matched with the current time in an index table, searches an offset address corresponding to the timestamp, plays a key frame corresponding to the offset address, and continues to search a timestamp next to the timestamp in the index table; or,
if the playing request is a fast backward request, the playing file handle searches a timestamp matched with the current time in an index table, searches an offset address corresponding to the timestamp, plays a key frame corresponding to the offset address, and continues to search a timestamp before the timestamp in the index table; or,
if the playing request is a request for playing from a new playing point, the playing file handle searches a timestamp matched with the time of the new playing point in an index table, searches an offset address corresponding to the timestamp, plays the key frame corresponding to the offset address, and continues to play the next frame of the key frame.
5. The method of claim 1, wherein the step of responding to the play request according to the index table specifically comprises:
if the playing file handle does not find the timestamp matched with the current time in the index table when the playing request is a fast forward or fast backward request, the playing file handle continues to find the timestamp matched with the current time in the index table after traversing the new key frame and establishing the index table of the traversed key frame;
if the playing file handle does not find the timestamp matched with the new playing point time in the index table or the difference value between the new playing point time and the timestamp in the index table is not within the preset range when the playing request is the request for playing from the new playing point, after the index file handle traverses the new key frame and establishes the index table of the traversed key frame, the playing file handle continues to find the timestamp matched with the new playing point time or the difference value is within the preset range in the index table.
6. An apparatus for fast forward and fast backward of an index-less video file, the apparatus comprising:
the index table establishing unit is used for opening an index file handle when a file playing request is received, traversing a preset number of key frames and establishing an index table of the traversed key frames;
the file playing unit is used for starting playing the file, starting a playing file handle, playing the file, continuously traversing the key frames which are not traversed by the index file handle while playing the file by the playing file handle, and updating the index table according to the traversed key frames;
and the response playing unit is used for responding to the playing request according to the index table.
7. The apparatus of claim 6, wherein the building an index table unit further comprises:
the judging unit is used for judging whether the currently traversed frame is a key frame;
and the storage unit is used for storing the mapping relation between the offset address and the time stamp of the currently traversed frame in the video file into the index table when the currently traversed frame is the key frame.
8. The apparatus of claim 6, wherein the response playing unit further comprises:
the fast forward playing module is used for searching a timestamp matched with the current time in an index table by the playing file handle if the playing request is the fast forward request, searching an offset address corresponding to the timestamp, playing a key frame corresponding to the offset address, and continuously searching a timestamp next to the timestamp in the index table; or,
the fast backward playing module is used for searching a timestamp matched with the current time in an index table by the playing file handle if the playing request is the fast backward request, searching an offset address corresponding to the timestamp, playing a key frame corresponding to the offset address, and continuously searching a previous timestamp of the timestamp in the index table; or,
and the positioning playing module is used for searching a timestamp matched with the time of the new playing point in the index table by the playing file handle if the playing request is a request for playing from the new playing point, searching an offset address corresponding to the timestamp, playing the key frame corresponding to the offset address, and continuously playing the next frame of the key frame.
9. The apparatus of claim 6, wherein the response playing unit further comprises:
a waiting playing module, for searching the playing file handle in the index table for the timestamp matching with the current time if the playing request is a fast forward or fast backward request, after the index file handle traverses the new key frame and builds the index table for the traversed key frame, the play file handle continues to look up the timestamp matching the current time in the index table, and if the play request is a request to play from a new play point, when the playing file handle does not find the timestamp matched with the new playing point time in the index table or the difference value of the new playing point time and the timestamp in the index table is not in the preset range, after the index file handle traverses the new key frame and builds the index table for the traversed key frame, the playing file handle continues to look up the timestamp which is matched with the new playing point time or the difference value is within the preset range in the index table.
10. A playing system comprising a fast forward and fast backward device for an index-free video file.
CN2010105349256A 2010-11-08 2010-11-08 Fast forward and fast rewind method and device for index-free video file, and play system Pending CN102467940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105349256A CN102467940A (en) 2010-11-08 2010-11-08 Fast forward and fast rewind method and device for index-free video file, and play system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105349256A CN102467940A (en) 2010-11-08 2010-11-08 Fast forward and fast rewind method and device for index-free video file, and play system

Publications (1)

Publication Number Publication Date
CN102467940A true CN102467940A (en) 2012-05-23

Family

ID=46071481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105349256A Pending CN102467940A (en) 2010-11-08 2010-11-08 Fast forward and fast rewind method and device for index-free video file, and play system

Country Status (1)

Country Link
CN (1) CN102467940A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780919A (en) * 2012-08-24 2012-11-14 乐视网信息技术(北京)股份有限公司 Method for carrying out video location and displaying through key frame
CN103686246A (en) * 2013-11-26 2014-03-26 小米科技有限责任公司 Timed playback method, device, facility and system of transport stream video
WO2015169172A1 (en) * 2014-05-05 2015-11-12 华为技术有限公司 Network video playing method and device
CN105306973A (en) * 2014-07-14 2016-02-03 中国科学院声学研究所 Method for generating multiplied-speed video file
WO2017113363A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Method for adjusting multimedia playback progress
CN106975221A (en) * 2017-03-30 2017-07-25 武汉斗鱼网络科技有限公司 User terminal and game data live broadcast device and method
CN113395589A (en) * 2021-06-11 2021-09-14 深圳市斯博科技有限公司 Video file playing method and device, computer equipment and storage medium
CN113596518A (en) * 2021-08-13 2021-11-02 北京中电兴发科技有限公司 Video access method for improving double-speed playing performance
CN115905124A (en) * 2022-11-03 2023-04-04 昆易电子科技(上海)有限公司 Multi-type data file playback method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1873820A (en) * 2006-05-18 2006-12-06 北京中星微电子有限公司 Method for processing video file, method for indexing video, and video indexing unit
US20100049349A1 (en) * 2007-08-17 2010-02-25 Huawei Technologies Co., Ltd. Method and apparatus for playing audio files
CN101819807A (en) * 2010-05-13 2010-09-01 中兴通讯股份有限公司 Method for realizing quick response in multimedia file control process and play device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1873820A (en) * 2006-05-18 2006-12-06 北京中星微电子有限公司 Method for processing video file, method for indexing video, and video indexing unit
US20100049349A1 (en) * 2007-08-17 2010-02-25 Huawei Technologies Co., Ltd. Method and apparatus for playing audio files
CN101819807A (en) * 2010-05-13 2010-09-01 中兴通讯股份有限公司 Method for realizing quick response in multimedia file control process and play device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780919A (en) * 2012-08-24 2012-11-14 乐视网信息技术(北京)股份有限公司 Method for carrying out video location and displaying through key frame
CN103686246A (en) * 2013-11-26 2014-03-26 小米科技有限责任公司 Timed playback method, device, facility and system of transport stream video
CN103686246B (en) * 2013-11-26 2017-03-15 小米科技有限责任公司 Player method, device, equipment and system when transmission stream video is selected
US10476928B2 (en) 2014-05-05 2019-11-12 Huawei Technologies Co., Ltd. Network video playback method and apparatus
WO2015169172A1 (en) * 2014-05-05 2015-11-12 华为技术有限公司 Network video playing method and device
CN105306973A (en) * 2014-07-14 2016-02-03 中国科学院声学研究所 Method for generating multiplied-speed video file
CN112087666A (en) * 2015-12-31 2020-12-15 华为技术有限公司 Method for adjusting multimedia playing progress
WO2017113363A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Method for adjusting multimedia playback progress
US10904627B2 (en) 2015-12-31 2021-01-26 Huawei Technologies Co., Ltd. Method for adjusting multimedia playing progress
CN112087666B (en) * 2015-12-31 2021-06-15 华为技术有限公司 Method for adjusting multimedia playing progress
US11259090B2 (en) 2015-12-31 2022-02-22 Huawei Technologies Co., Ltd. Method for adjusting multimedia playing progress
CN106975221A (en) * 2017-03-30 2017-07-25 武汉斗鱼网络科技有限公司 User terminal and game data live broadcast device and method
CN113395589A (en) * 2021-06-11 2021-09-14 深圳市斯博科技有限公司 Video file playing method and device, computer equipment and storage medium
CN113395589B (en) * 2021-06-11 2023-02-10 深圳万兴软件有限公司 Video file playing method and device, computer equipment and storage medium
CN113596518A (en) * 2021-08-13 2021-11-02 北京中电兴发科技有限公司 Video access method for improving double-speed playing performance
CN113596518B (en) * 2021-08-13 2022-04-08 北京中电兴发科技有限公司 Video access method for improving double-speed playing performance
CN115905124A (en) * 2022-11-03 2023-04-04 昆易电子科技(上海)有限公司 Multi-type data file playback method, device, equipment and medium
CN115905124B (en) * 2022-11-03 2024-04-30 昆易电子科技(上海)有限公司 Playback method, device, equipment and medium for multi-type data file

Similar Documents

Publication Publication Date Title
CN102467940A (en) Fast forward and fast rewind method and device for index-free video file, and play system
CN105893459B (en) Media content playback system and method
CN105893457B (en) Media content playback system and method
US20180329991A1 (en) Systems and methods for providing identification information in response to an audio segment
CN103839558B (en) Synchronous broadcast method and server, player
US20080046820A1 (en) Apparatus and method for controlling media player in portable terminal
US20230403316A1 (en) Methods, systems, and media for resuming playback of media content across multiple devices
CN101421967B (en) Method and apparatus for synchronizing contents of home network devices
WO2018077266A1 (en) Breakpoint-resume transmission method and device for surveillance video
CN102468989B (en) The method and system of network data
US20190327105A1 (en) Method and apparatus for pushing information
CN105893458B (en) Media content playback system and method
US11490240B2 (en) Method, system and device for sharing intelligence engine by multiple devices
US20150358670A1 (en) Method and system for continuously playing media resource in device
CN102999359A (en) Mount response method of external storage equipment and electronic equipment
WO2011023075A1 (en) Terminal address book management method and terminal device
WO2012146098A1 (en) Method and corresponding system for storing and playing streaming media
US20190287571A1 (en) Method and device for playing video
KR20150004681A (en) Server for providing media information, apparatus, method and computer readable recording medium for searching media information related to media contents
WO2015018119A1 (en) Multimedia file generation method and multimedia device
US20070088675A1 (en) Response estimation in a system with a content directory service
CN101350031B (en) Method for storing data and system therefor
US20210368213A1 (en) Method and device for quick start of live video streaming
WO2024041406A1 (en) Video target frame determination method, apparatus and device, and storage medium
US20130129319A1 (en) Video data processing apparatus and file management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120523