CN1873820A - Method for processing video file, method for indexing video, and video indexing unit - Google Patents
Method for processing video file, method for indexing video, and video indexing unit Download PDFInfo
- Publication number
- CN1873820A CN1873820A CN 200610081332 CN200610081332A CN1873820A CN 1873820 A CN1873820 A CN 1873820A CN 200610081332 CN200610081332 CN 200610081332 CN 200610081332 A CN200610081332 A CN 200610081332A CN 1873820 A CN1873820 A CN 1873820A
- Authority
- CN
- China
- Prior art keywords
- frame
- video
- index
- index table
- constantly
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000008569 process Effects 0.000 claims description 13
- 238000004321 preservation Methods 0.000 claims description 7
- AWSBQWZZLBPUQH-UHFFFAOYSA-N mdat Chemical compound C1=C2CC(N)CCC2=CC2=C1OCO2 AWSBQWZZLBPUQH-UHFFFAOYSA-N 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 5
- 239000012467 final product Substances 0.000 description 3
- 241001269238 Data Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a video indexing method, comprising: establishing frame I index table, and storing playing time and in-video file offset of frame I data in the frame I index table; when making video indexing, directly finding the frame I playing time nearest to the video indexing time in the frame I index table, then finding the frame I offset and finally finding the frame I; and the invention also discloses a video indexing device, comprising: video data indexing module, frame I index information storage module and video indexing time determining module; and the invention discloses a method for processing video file for video indexing, and a method of using the processed video file to make video indexing, establishing the frame I index table in private data area in the video file, thus able to directly make fast video indexing according to the frame I index table. As compared with the existing technique, the invention can raise video indexing speed and improve satisfaction of users.
Description
Technical field
The present invention relates to the video playback technical field, be specifically related to video file disposal route, video index method and video indexing unit.
Background technology
At present, a lot of terminal platforms, for example, mobile-terminal platform comprises: cell phone platform, portable media player (PMP) platform etc., the fixed terminal platform comprises PC etc., all supports shooting and multi-medium data playing function, and its camera function can collect view data and voice data, final video and the audio file of generating, as: meet the MP4 file of the 4th generation Motion Picture Experts Group (MPEG4) standard or meet the 3GP file that third generation affiliate organizes (3GPP) standard.Certainly, terminal platform can also be directly from the network foradownloaded video or audio file, perhaps directly obtain video or audio file from other terminal.When playing, terminal platform takes out video data respectively from video file and audio file and voice data is play.The form of video data frame usually by: Frame, frame type, frame length, frame play constantly, side-play amount promptly: the side-play amount of this Frame in the whole video file etc. formed.Data frame type comprises I frame, P frame, B frame etc.Wherein, the I frame is a key frame, can independently decode; P frame and B frame are reference frame, must rely on former frame and just can decode.
In actual applications, in the process of playing video file, the user may carry out the video index operation, as: requirement positions broadcast to video data sometime, and perhaps require the current video file is carried out quick forward play or retreats broadcast fast promptly: the user carries out F.F., fast reverse operation.Fig. 1 is existing video positioning flow figure, and as shown in Figure 1, its concrete steps are as follows:
Step 101: terminal detects the user and sends the positioning playing request, obtains this positioning playing constantly.
The user can send to terminal with the positioning playing request by selected positioning playing mode constantly.
Step 102: terminal is searched the corresponding constantly Frame of this positioning playing in the video file of self preserving.
Step 103: according to the frame type information that comprises in the Frame that finds, whether the Frame that terminal judges finds is the I frame, if, this Frame decoding back to be play, this flow process finishes; Otherwise, execution in step 104.
Step 104: the I frame that terminal searching is constantly nearest apart from this positioning playing, will play behind this I frame decoding.
When terminal detects customer requirements the current video file is carried out forward or backward quick broadcast, terminal can be play on the basis constantly current, carry out once the described video in step 102~104 location as shown in Figure 1 every fixing duration, until arriving the termination of playing fast constantly.
Because video file is made up of I frame, P frame etc., and have only the I frame independent decoding to play, therefore, when carrying out the video location, must find distance and play constantly nearest I frame.When playing corresponding constantly Frame is not the I frame, then must search an I frame near this Frame plays, owing to may have a plurality of P frames between per two I frames or/and the B frame, therefore, at P frame and B frame more for a long time, search can take the more time, when especially customer requirements is play fast, carry out repeatedly video positioning action, search time this moment can be longer, thereby reduced video playout speed, also made satisfaction of users descend.
Summary of the invention
In view of this, first purpose of the present invention provides a kind of video index method that carries out the fast video index;
Second purpose of the present invention provides a kind of video indexing unit that carries out the fast video index;
The 3rd purpose of the present invention provides a kind of disposal route that is used for the video file of video index;
The 4th purpose of the present invention provides a kind of video file with I frame index table that obtains, and it is carried out the method for video index.
First aspect for achieving the above object, the invention provides a kind of video index method, this method comprises: for each video file is set up I frame index table, and with the broadcast of I frame data constantly and the side-play amount of these I frame data in video file be kept in the I frame index table, thereby when carrying out video index
A, detect the user and initiate the video index request, obtain video index constantly;
B, in the I of this video file correspondence frame index table, search and I frame that described video index is constantly nearest is play constantly, search then and described I frame is play constantly corresponding I frame shifting amount, according to this I frame shifting amount, in video file, find the I frame of correspondence.
Further, described I frame index table can be kept in the video file, and I frame index table comprises I frame index table sign, further comprise between described steps A and the B: in video file, search described I frame index table sign, and determine that the data field at described I frame index table sign place is an I frame index table.
Further, described I frame index table can be kept in the video file, and I frame index table comprises I frame index table sign, further comprises before the described steps A: search described I frame index table sign in video file, and determine that the data field at described I frame index table sign place is an I frame index table.
Preferably, described I frame index table be kept in the video file can for: described I frame index table is kept in the private data district of video file.
Further, described I frame index table can be kept at outside the video file, and preserve the I frame index table sign corresponding in each video file with self, further comprise between described steps A and the B: in the current video file, search I frame index table sign, in all I frame index tables, search then and the corresponding I frame index table of this I frame index table sign.
Further, described I frame index table can be kept at outside the video file, the video file sign of preservation self correspondence in each I frame index table, further comprise between described steps A and the B: in all I frame index tables, search the current video file identification, find, then determine the I frame index table that this I frame index table is a current video file correspondence.
Further, described I frame index table can be kept at outside the video file, and preserve the corresponding relation of video file sign and I frame index table sign, further comprise between described steps A and the B: in the corresponding relation that described video file sign and I frame index table identify, search the I frame index table sign of current video file identification correspondence, find corresponding I frame index table according to this I frame index table sign.
Second aspect to achieve these goals the invention provides a kind of video indexing unit, and this device comprises: video data index module, video index be determination module and I frame index information preservation module constantly, wherein,
The video data index module receives and also to preserve video data frame, the broadcast of all I frames is reached side-play amount in video file constantly send to I frame index information and preserve module; Receive I frame index information and preserve the I frame shifting amount that module is sent, carry out video index according to this I frame shifting amount;
Video index is determination module constantly, receives the video index request that the user sends, and the video index of this video index request correspondence is sent to I frame index information constantly preserve module;
I frame index information is preserved module, the broadcast of the I frame that reception and preservation video data index module are sent reaches the side-play amount in video file constantly, the video index that receiver, video index moment determination module is sent constantly, self searching the I frame broadcast moment constantly nearest with this video index, further find with this I frame and play constantly corresponding I frame shifting amount, this I frame shifting amount is sent to the video data index module.
Described video index determination module constantly further can comprise: video index is computing module constantly, this module is used for after detecting video index request that the user sends and being quick playing request, obtain current broadcast constantly to the video data index module, according to this current quick reproduction time interval of preserving with self constantly of playing, obtain the current video index constantly, this video index is sent to I frame index information constantly preserve module.
The third aspect to achieve these goals, the present invention also provides a kind of disposal route that is used for the video file of video index, described video file has the private data district, in the private data district of described video file, set up I frame index table, with the broadcast of I frame data in the described video file constantly and the side-play amount of these I frame data in video file be kept in the described I frame index table.
Further, I frame index table sign is set in described data field.
Further, in described data field, preserve I frame index table length and identification of the manufacturer.
Preferably, described video file be meet the 4th generation Motion Picture Experts Group's mpeg 4 standard the MP4 video file, or meet the 3GP video file that third generation affiliate organizes the 3GPP standard.
Fourth aspect to achieve these goals, the present invention also provides a kind of and adopts the described video file that is used for video index to carry out the method for video index, comprises the steps:
Step 1 is obtained the video file with I frame index table;
Step 2 detects the user and initiates the video index request, obtains video index constantly;
Step 3, from the I frame index table of this video file, search the I frame broadcast moment constantly nearest with described video index, search then and the constantly corresponding I frame shifting amount of described I frame broadcast, according to this I frame shifting amount, in video file, find corresponding I frame.
Further, described I frame index table can comprise I frame index table sign, further comprises between the described step 2 and 3: search described I frame index table sign in video file, and determine that the data field at described I frame index table sign place is an I frame index table.
Further, the described user of steps A initiates the video index request can initiate the request of video positioning playing for the user, and the described video index that obtains is constantly: obtain from the request of described video positioning playing.
Further, described user initiates the video index request can initiate quick playing request for the user, and the described video index that obtains comprises constantly: according to current broadcast constantly and positioning time interval calculation obtain the video index moment;
Described according to the I frame shifting amount, in video file, find corresponding I frame and further comprise afterwards: judge the current quick broadcast end position that whether arrives, if this flow process finishes; Otherwise, return and carry out the described video index operation constantly of obtaining.
Preferably, when described quick broadcast is quick forward play, described according to current broadcast constantly and positioning time interval calculation obtain video index constantly can for: current the broadcasts moment added obtain the video index moment positioning time at interval;
When described quick broadcast is play for retreating fast, described according to current broadcasts constantly and positioning time interval calculation obtain video index constantly can for: the current broadcast moment deducted obtains the video index moment positioning time at interval.
Compared with prior art, method and apparatus provided by the present invention is kept in the I frame index table by the broadcast moment and the side-play amount in video file with the I frame data; Afterwards, when carrying out video index, only need directly in I frame index table, to find with the constantly nearest I frame of video index and play constantly, and then find the I frame shifting amount, thereby find the I frame, and needn't be in the video data of video file the Searching I frame, significantly reduced the duration of searching of I frame, thereby improved video index speed; Especially when playing fast, can improve video playout speed greatly, promote satisfaction of users.
Description of drawings
Fig. 1 is existing video positioning flow figure;
The process flow diagram that Fig. 2 locatees for the video that the embodiment of the invention provides;
Fig. 3 is applied in video positioning flow figure in MP4 or the 3GP file for what the embodiment of the invention provided;
The process flow diagram that Fig. 4 plays for the fast video that the embodiment of the invention provides;
The device block diagram one of the video index that Fig. 5 provides for the embodiment of the invention;
The device block diagram two of the video index that Fig. 6 provides for the embodiment of the invention.
Embodiment
Core concept of the present invention is: for each video file is set up an I frame index table, with the broadcast of I frame data constantly and the side-play amount in video file be kept in this I frame index table; Thereby, when carrying out video index, at first in I frame index table, find the I frame broadcast moment constantly nearest with video index, find corresponding I frame shifting amount again, according to this I frame shifting amount, in video file, find corresponding I frame then, to be used for broadcast.
Video index among the present invention comprises: video location, fast video play as: the video playback of advancing fast and retreat video playback etc. fast.
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Fig. 2 is the process flow diagram of the video location that provides of the embodiment of the invention, and as shown in Figure 2, its concrete steps are as follows:
Step 201: for each video file is set up an I frame index table, with the broadcast of I frame data constantly and the side-play amount in video file be kept in this I frame index table.
At least comprise in the I frame index table: the broadcast moment and the side-play amount of these I frame data in video file of I frame data.
Described I frame index table can be merged into a file with corresponding video file, also can independently be stored in outside the corresponding video file.
When I frame index table when corresponding video file is merged into a file, I frame index table can be saved in certain data field of video file, need comprise an I frame index table sign this moment in the I frame index table.This data field is preferably the private data conservation zone, can make the terminal that can't discern I frame index table like this when playing the video file that increases I frame index table, can not influence the normal play of video data because of having increased non-video data in this video file; And make it possible to discern the terminal of I frame index table when carrying out video playback, the video data that only reads non-private data district gets final product, and when carrying out video index, find the I frame index table of preserving in the private data district according to I frame index table sign again, carry out the fast video index according to this I frame index table.The video file of supporting private data to be provided with is a lot of at present, as the file of MP4 form, the file of 3GP form etc.
When I frame index table independently is stored in outside the video file, can in video file, preserve an I frame index table sign, or comprise that in I frame index table a video file identifies, or preserve the corresponding relation of all video files sign and I frame index table sign separately, so that find the I frame index table of each video file correspondence.
Step 202: terminal is obtained video data.
If terminal possesses camera function, then terminal can directly be gathered video data, in this case, can set up I frame index table in the process of image data; Also can after finishing, data acquisition set up I frame index table.I frame index table can be kept in the video file, also can be kept at outside the video file.
If terminal possesses the network download function or possesses the function that can obtain video data from other terminal, then terminal can directly be downloaded video data or directly obtain video data to other terminal from the network equipment.In this case, if the network equipment or other terminal have been set up an I frame index table for this video file in advance, then the network equipment can send to terminal with video data with this I frame index table, and this I frame index table can be kept in the video file, also can be kept at outside the video file; If the network equipment is not set up I frame index table for this video file, then terminal can be this video file and sets up an I frame index table after obtaining video data, and I frame index table can be kept in this video file, also can be kept at outside this video file.
Step 203: terminal detects the user and sends the positioning playing request, obtains this positioning playing constantly.
Step 204: terminal is searched I frame index table.
Particularly, if I frame index table is kept in the video file, then terminal is searched I frame index table sign in all data fields of video file, find I frame index table sign after, can determine that this data field is an I frame index table;
If I frame index table independently is stored in outside the video file, then terminal can at first be searched I frame index table sign in video file, finds corresponding I frame index table according to this I frame index table sign then; Perhaps, terminal is searched the current video file identification in all I frame index tables of self preserving, finds, and then determines the I frame index table that this I frame index table is a current video file correspondence; Perhaps, terminal is searched the I frame index table sign corresponding with the current video file identification in the corresponding relation that video file sign of self preserving and I frame index table identify, find corresponding I frame index table according to this I frame index table sign then.
Step 205: terminal is searched the I frame broadcast moment constantly nearest with described positioning playing in the I frame index table that finds.
Step 206: terminal is play constantly according to the I frame that finds, and searches corresponding I frame shifting amount.
Step 207: terminal finds corresponding I frame, and will play behind this I frame decoding according to the I frame shifting amount that finds in video file.
Fig. 3 is the process flow diagram that is applied in the video location in MP4 or the 3GP video file that the embodiment of the invention provides, and as shown in Figure 3, its concrete steps are as follows:
Step 301: for each MP4 or 3GP file are set up an I frame index table, with the broadcast of I frame data constantly and the side-play amount in MP4 or 3GP file be kept in this I frame index table.
Step 302: it is in the data field of beginning that this I frame index table is kept in MP4 or the 3GP file with " mdat ", and not have corresponding be the description district of beginning with " moov " in this data field.
Video file for existing MP4 or 3GP form, all video datas all leave in the data field and identify: " mdat " is in the data field of beginning, and use to describe district's sign: " moov " be beginning the description district to described with " mdat " be that the data field of beginning is described, the content of description comprises: described is the type, length, the broadcast moment, side-play amount etc. of the Frame deposited of the data field of beginning with " mdat "; If what be that the data field of beginning do not have correspondence with " mdat " is the description district of beginning with " moov ", then terminal can be skipped this data field when reading this and be the data field of beginning with " mdat ".
In view of above reason, can in MP4 or 3GP video file, open up a private data district, this private data district starts with " mdat ", but does not have the description district corresponding with it in the video file.Also be about to I frame index table be kept in MP4 or the 3GP file with " mdat " be in the data field of beginning as: last that I frame index table is saved in video file is in the data field of beginning with " mdat ", be not that the description district of beginning is described this data field simultaneously with " moov ", both can make the terminal of not supporting video index method provided by the invention can carry out normal video plays, also can make the terminal of supporting video index method provided by the invention when carrying out the normal video broadcast, can only read and comprise the corresponding data of describing in the data field of distinguishing, and when carrying out video index, then carry out the fast video index according to I frame index table.
I frame index tableau format is as shown in table 1, and wherein, n is the totalframes of I frame:
I frame index table length | “mdat” ? | I frame index table sign | Identification of the manufacturer | First I frame shifting amount | First I frame is play constantly |
Second I frame shifting amount | Second I frame play constantly | … ? | … ? | N I frame shifting amount | N I frame play constantly |
Table 1 I frame index sheet format
In concrete the application, I frame index table length can account for 4 bytes; " mdat " data field sign can account for 4 bytes; I frame index table sign can account for 4 bytes; I frame index table is made identification of the manufacturer can account for 4 bytes; The side-play amount of each I frame in video file can account for 4 bytes; The broadcast of each I frame constantly can account for 4 bytes.
Step 303~308 are identical with step 202~207.
Fig. 4 is the process flow diagram that the fast video that provides of the embodiment of the invention is play, and as shown in Figure 4, its concrete steps are as follows:
Step 401~402 are identical with step 201~202.
Step 403: terminal receives the quick playing request that the user sends.
Step 404: terminal reaches the quick reproduction time interval of self preserving according to current broadcast constantly, calculates next positioning playing constantly.
When operators etc. dispatch from the factory in terminal, dispose quick reproduction time at interval on terminal, if playing request is quick forward play request fast, then next positioning playing equals current broadcast constantly and constantly adds that quick reproduction time at interval; If playing request is for retreating playing request fast fast, then next positioning playing equals current broadcast constantly and constantly deducts quick reproduction time at interval.
Step 405: terminal self is being searched I frame index table.
Step 406: terminal is searched the I frame broadcast moment constantly nearest with described next positioning playing in the I frame index table that finds.
Step 407: terminal is play constantly according to the I frame that finds, and searches corresponding I frame shifting amount.
Step 408: terminal finds corresponding I frame, and will play behind this I frame decoding according to the I frame shifting amount that finds in video file.
Step 409: whether terminal judges is current arrives quick broadcast end position, if this flow process finishes; Otherwise, go to step 404.
In concrete the application, when I frame index table and video file are merged into a file when preserving, if will carry out repeatedly video index, then can be before carrying out video index, find I frame index table at first hereof, then I frame index table independently is kept in another storage space, like this, can when carrying out video index, all once search the process of I frame index table hereof at every turn, only need directly from described storage space, to read I frame index table and get final product, further accelerated video index speed.For example: for MP4 or 3GP file, if it is in last data field of beginning with " mdat " hereof that I frame index table is preserved, then can be before carrying out video index, directly identify according to I frame index table, read the I frame index table of preserving in this last data field, then this I frame index table is kept at one independently in the internal memory, after this terminal is being carried out the video location, is being advanced fast or when retreating video playback, directly read I frame index table and get final product from described internal memory.
Fig. 5 is the video indexing unit block diagram one that the embodiment of the invention provides, and as shown in Figure 5, it mainly comprises: video data index module 51, I frame index information are preserved module 52 and video index moment determination module 53.
Video data index module 51: be used for receiving and preserve video data frame, the broadcast of each I frame is reached side-play amount in video file constantly send to I frame index information and preserve module 52; After receiving the I frame shifting amount that I frame index information preservation module 52 is sent,, will play out behind this I frame decoding self searching the I frame corresponding with this I frame shifting amount.
I frame index information is preserved module 52: be used for receiving and preserve that I frame that video data index module 51 sends is play constantly and in the side-play amount of video file, receive video index constantly the video index sent of determination module 53 constantly after, self searching the I frame broadcast moment constantly nearest with this video index, further find with this I frame and play constantly corresponding I frame shifting amount, this I frame shifting amount is sent to video data index module 51.
Video index is determination module 53 constantly: be used to receive the video index request that the user sends, the video index of this video index request correspondence sent to I frame index information constantly preserve module 52.
Fig. 6 is the video indexing unit block diagram two that the embodiment of the invention provides, and as shown in Figure 6, this figure compares with Fig. 5,
Video index determination module 53 constantly further comprises video index computing module 531 constantly, this module is used for after detecting video index request that the user sends and being quick playing request, obtain current broadcast constantly to video data index module 51, then according to this current quick reproduction time interval of preserving with self constantly of playing, obtain next positioning playing constantly, this positioning playing is sent to I frame index information constantly as the current video index constantly preserve module 52.
The above only is the specific embodiment of process of the present invention and method, not in order to restriction the present invention.In fact the method that the present invention put down in writing can be set up the video file disposal route of corresponding I frame index table in video data acquiring terminal recorded video data and when setting up video file; Also can set up the method for I frame index list processing (LISP) to video file for the video data processing terminal; In the time of can also having the video file of I frame index table for the broadcast of video data playback terminal, carry out the method for fast video index; More can be on the video data playback terminal, carry out I frame index table and set up, after carry out the method for video index.Therefore, all any modifications of being made within the spirit and principles in the present invention, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (18)
1, a kind of video index method is characterized in that, this method comprises:
For each video file is set up I frame index table, and with the broadcast of I frame data constantly and the side-play amount of these I frame data in video file be kept in the I frame index table, thereby when carrying out video index,
A, detect the user and initiate the video index request, obtain video index constantly;
B, in the I of this video file correspondence frame index table, search and I frame that described video index is constantly nearest is play constantly, search then and described I frame is play constantly corresponding I frame shifting amount, according to this I frame shifting amount, in video file, find the I frame of correspondence.
2, the method for claim 1 is characterized in that, described I frame index table is kept in the video file, and I frame index table comprises I frame index table sign,
Further comprise between described steps A and the B: in video file, search described I frame index table sign, and determine that the data field at described I frame index table sign place is an I frame index table.
3, the method for claim 1 is characterized in that, described I frame index table is kept in the video file, and I frame index table comprises I frame index table sign,
Further comprise before the described steps A: in video file, search described I frame index table sign, and determine that the data field at described I frame index table sign place is an I frame index table.
As claim 2 or 3 described methods, it is characterized in that 4, described I frame index table is kept in the video file and is: described I frame index table is kept in the private data district of video file.
5, the method for claim 1 is characterized in that, described I frame index table is kept at outside the video file, and preserves the I frame index table sign corresponding with self in each video file,
Further comprise between described steps A and the B: in the current video file, search I frame index table sign, in all I frame index tables, search then and the corresponding I frame index table of this I frame index table sign.
6, the method for claim 1 is characterized in that, described I frame index table is kept at outside the video file, the video file sign of preservation self correspondence in each I frame index table,
Further comprise between described steps A and the B: in all I frame index tables, search the current video file identification, find, then determine the I frame index table that this I frame index table is a current video file correspondence.
7, the method for claim 1 is characterized in that, described I frame index table is kept at outside the video file, and preserves the corresponding relation of video file sign and I frame index table sign,
Further comprise between described steps A and the B: in the corresponding relation that described video file sign and I frame index table identify, search the I frame index table sign of current video file identification correspondence, find corresponding I frame index table according to this I frame index table sign.
8, a kind of video indexing unit is characterized in that, this device comprises: video data index module, video index be determination module and I frame index information preservation module constantly, wherein,
The video data index module receives and also to preserve video data frame, the broadcast of all I frames is reached side-play amount in video file constantly send to I frame index information and preserve module; Receive I frame index information and preserve the I frame shifting amount that module is sent, carry out video index according to this I frame shifting amount;
Video index is determination module constantly, receives the video index request that the user sends, and the video index of this video index request correspondence is sent to I frame index information constantly preserve module;
I frame index information is preserved module, the broadcast of the I frame that reception and preservation video data index module are sent reaches the side-play amount in video file constantly, the video index that receiver, video index moment determination module is sent constantly, self searching the I frame broadcast moment constantly nearest with this video index, further find with this I frame and play constantly corresponding I frame shifting amount, this I frame shifting amount is sent to the video data index module.
9, device as claimed in claim 8, it is characterized in that, described video index determination module constantly further comprises: video index is computing module constantly, this module is used for after detecting video index request that the user sends and being quick playing request, obtain current broadcast constantly to the video data index module, according to this current quick reproduction time interval of preserving with self constantly of playing, obtain the current video index constantly, this video index is sent to I frame index information constantly preserve module.
10, a kind of disposal route that is used for the video file of video index, described video file has the private data district, it is characterized in that, in the private data district of described video file, set up I frame index table, with the broadcast of I frame data in the described video file constantly and the side-play amount of these I frame data in video file be kept in the described I frame index table.
11, as method as described in the claim 10, it is characterized in that, I frame index table sign is set in described data field.
12, as method as described in the claim 10, it is characterized in that, in described data field, preserve I frame index table length and identification of the manufacturer.
13, as method as described in one of in the claim 10,11,12, it is characterized in that, described video file be meet the 4th generation Motion Picture Experts Group's mpeg 4 standard the MP4 video file, or meet the 3GP video file that third generation affiliate organizes the 3GPP standard.
14, a kind of method of carrying out video index as video file as described in the claim 10 that adopts is characterized in that, comprises the steps:
Step 1 is obtained the video file with I frame index table;
Step 2 detects the user and initiates the video index request, obtains video index constantly;
Step 3, from the I frame index table of this video file, search the I frame broadcast moment constantly nearest with described video index, search then and the constantly corresponding I frame shifting amount of described I frame broadcast, according to this I frame shifting amount, in video file, find corresponding I frame.
15, method as claimed in claim 14 is characterized in that, described I frame index table comprises I frame index table sign,
Further comprise between the described step 2 and 3: in video file, search described I frame index table sign, and determine that the data field at described I frame index table sign place is an I frame index table.
As claim 1 or 14 described methods, it is characterized in that 16, described user initiates the video index request and initiates the request of video positioning playing for the user, and the described video index that obtains is constantly: from the request of described video positioning playing, obtain.
17, as claim 1 or 14 described methods, it is characterized in that, described user initiates the video index request and initiates quick playing request for the user, and the described video index that obtains comprises constantly: according to current broadcast constantly and positioning time interval calculation obtain the video index moment;
Described according to the I frame shifting amount, in video file, find corresponding I frame and further comprise afterwards: judge the current quick broadcast end position that whether arrives, if this flow process finishes; Otherwise, return and carry out the described video index operation constantly of obtaining.
18, method as claimed in claim 17, it is characterized in that, when described quick broadcast is quick forward play, described according to current broadcast constantly and positioning time interval calculation obtain video index and be constantly: current the broadcasts moment is added obtain the video index moment positioning time at interval;
When described quick broadcast is play for retreating fast, described according to current broadcasts constantly and positioning time interval calculation obtain video index and be constantly: the current broadcast moment is deducted obtains the video index moment positioning time at interval.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610081332 CN1873820A (en) | 2006-05-18 | 2006-05-18 | Method for processing video file, method for indexing video, and video indexing unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610081332 CN1873820A (en) | 2006-05-18 | 2006-05-18 | Method for processing video file, method for indexing video, and video indexing unit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1873820A true CN1873820A (en) | 2006-12-06 |
Family
ID=37484247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610081332 Pending CN1873820A (en) | 2006-05-18 | 2006-05-18 | Method for processing video file, method for indexing video, and video indexing unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1873820A (en) |
Cited By (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008148268A1 (en) * | 2007-06-07 | 2008-12-11 | Zte Corporation | An implementation method and system for a media-on-demand frame-spanning playing mode in a peer-to-peer network |
WO2009039707A1 (en) * | 2007-09-28 | 2009-04-02 | Shenzhen Mpr Technology Co., Ltd | Method, apparatus and time flow file processor for retrieving files |
CN100591112C (en) * | 2008-11-07 | 2010-02-17 | 武汉烽火网络有限责任公司 | Multimedia data storage method and precise reproducing position positioning method |
CN101022028B (en) * | 2007-01-12 | 2010-08-18 | 炬力集成电路设计有限公司 | Quick forward or quick backward method for digital copyright management multimedia player |
CN101848352A (en) * | 2009-03-23 | 2010-09-29 | 精工爱普生株式会社 | Image supply device, image feed system and image supply method |
CN101945169A (en) * | 2010-09-09 | 2011-01-12 | 深圳市融创天下科技发展有限公司 | Method, system and mobile communication terminal for shooting and playing |
CN102006500A (en) * | 2010-10-29 | 2011-04-06 | 蓝汛网络科技(北京)有限公司 | Video dragging method and device applied to cache server |
CN102027742A (en) * | 2008-05-16 | 2011-04-20 | 夏普株式会社 | Recording/playback device |
CN102123281A (en) * | 2011-01-07 | 2011-07-13 | 中兴通讯股份有限公司 | Fast forward and fast backward treatment method and device during video playing and mobile terminal |
CN101431646B (en) * | 2008-12-11 | 2011-07-20 | 北京东方广视科技股份有限公司 | Fast high-efficiency control playing method for cable television VOD system |
CN102196189A (en) * | 2010-03-12 | 2011-09-21 | 新奥特(北京)视频技术有限公司 | Method and system for retrieving highlights from large-scale competition international broadcasting center (IBC) system |
CN102467940A (en) * | 2010-11-08 | 2012-05-23 | 安凯(广州)微电子技术有限公司 | Fast forward and fast backward method and device for index-free video file and playing system |
CN102523513A (en) * | 2011-12-31 | 2012-06-27 | 西南交通大学 | Implementation method for accurately obtaining images of original video file on basis of video player |
CN101316198B (en) * | 2007-06-01 | 2012-07-04 | 中兴通讯股份有限公司 | Monitoring method for multimedia data based on index |
CN102550038A (en) * | 2011-11-16 | 2012-07-04 | 华为技术有限公司 | Method, terminal, server and system for playing media files |
CN102547374A (en) * | 2010-12-07 | 2012-07-04 | 华录文化产业有限公司 | Video image preview method and device based on play time point |
CN102761773A (en) * | 2012-07-03 | 2012-10-31 | Ut斯达康通讯有限公司 | Method for improving user experience of IPTV (Internet Protocol Television) service by using I frames |
US8311399B2 (en) | 2007-02-08 | 2012-11-13 | Huawei Technologies Co., Ltd. | Method for fast forward/backward play of video data and a streaming server |
CN102945679A (en) * | 2012-09-29 | 2013-02-27 | 华为技术有限公司 | Video data processing method and video data read-write equipment |
CN103137168A (en) * | 2011-12-05 | 2013-06-05 | 炬力集成电路设计有限公司 | Code stream fixed point searching method, device and player |
CN104077588A (en) * | 2014-07-10 | 2014-10-01 | 苏州皓琪信息科技有限公司 | Method for automatically interposing frame offsets into medical DICOM dynamic images compressed by JPEG |
CN104281651A (en) * | 2014-09-16 | 2015-01-14 | 福建星网锐捷安防科技有限公司 | Method and system for searching large volume of video data |
CN104967862A (en) * | 2015-07-22 | 2015-10-07 | 东方网力科技股份有限公司 | Video storage method and device, and video searching method and device |
CN105120321A (en) * | 2015-08-21 | 2015-12-02 | 北京佳讯飞鸿电气股份有限公司 | Video searching method, video storage method and related devices |
US20160212422A1 (en) * | 2015-01-16 | 2016-07-21 | Hangzhou Hikvision Digital Technology Co., Ltd. | Systems, Devices and Methods for Video Coding |
CN105898588A (en) * | 2015-12-07 | 2016-08-24 | 乐视云计算有限公司 | Video positioning method and device |
CN105915982A (en) * | 2015-10-29 | 2016-08-31 | 乐视致新电子科技(天津)有限公司 | Video playing method based on remote control signals and video playing device thereof |
CN107729566A (en) * | 2017-11-14 | 2018-02-23 | 郑州天迈科技股份有限公司 | A kind of index method for reconstructing for public transport vehicle-mounted hard disk audio/video data access |
CN107979621A (en) * | 2016-10-24 | 2018-05-01 | 杭州海康威视数字技术股份有限公司 | A kind of storage of video file, positioning playing method and device |
US10032485B2 (en) | 2003-12-08 | 2018-07-24 | Divx, Llc | Multimedia distribution system |
CN108683943A (en) * | 2018-03-30 | 2018-10-19 | 晨星半导体股份有限公司 | The method of electronic equipment and its positioning playing audio-video document |
US10141024B2 (en) | 2007-11-16 | 2018-11-27 | Divx, Llc | Hierarchical and reduced index structures for multimedia files |
US10257443B2 (en) | 2003-12-08 | 2019-04-09 | Divx, Llc | Multimedia distribution system for multimedia files with interleaved media chunks of varying types |
CN109982020A (en) * | 2019-02-26 | 2019-07-05 | 南京邮电大学 | A kind of storage of video and search method |
CN112559799A (en) * | 2019-09-10 | 2021-03-26 | 高新兴科技集团股份有限公司 | Object cloud storage method and system |
CN113596518A (en) * | 2021-08-13 | 2021-11-02 | 北京中电兴发科技有限公司 | Video access method for improving double-speed playing performance |
-
2006
- 2006-05-18 CN CN 200610081332 patent/CN1873820A/en active Pending
Cited By (58)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10032485B2 (en) | 2003-12-08 | 2018-07-24 | Divx, Llc | Multimedia distribution system |
US11159746B2 (en) | 2003-12-08 | 2021-10-26 | Divx, Llc | Multimedia distribution system for multimedia files with packed frames |
US11735227B2 (en) | 2003-12-08 | 2023-08-22 | Divx, Llc | Multimedia distribution system |
US10257443B2 (en) | 2003-12-08 | 2019-04-09 | Divx, Llc | Multimedia distribution system for multimedia files with interleaved media chunks of varying types |
US11017816B2 (en) | 2003-12-08 | 2021-05-25 | Divx, Llc | Multimedia distribution system |
US11509839B2 (en) | 2003-12-08 | 2022-11-22 | Divx, Llc | Multimedia distribution system for multimedia files with packed frames |
US11012641B2 (en) | 2003-12-08 | 2021-05-18 | Divx, Llc | Multimedia distribution system for multimedia files with interleaved media chunks of varying types |
US11355159B2 (en) | 2003-12-08 | 2022-06-07 | Divx, Llc | Multimedia distribution system |
US11735228B2 (en) | 2003-12-08 | 2023-08-22 | Divx, Llc | Multimedia distribution system |
US11297263B2 (en) | 2003-12-08 | 2022-04-05 | Divx, Llc | Multimedia distribution system for multimedia files with packed frames |
CN101022028B (en) * | 2007-01-12 | 2010-08-18 | 炬力集成电路设计有限公司 | Quick forward or quick backward method for digital copyright management multimedia player |
US8311399B2 (en) | 2007-02-08 | 2012-11-13 | Huawei Technologies Co., Ltd. | Method for fast forward/backward play of video data and a streaming server |
CN101316198B (en) * | 2007-06-01 | 2012-07-04 | 中兴通讯股份有限公司 | Monitoring method for multimedia data based on index |
WO2008148268A1 (en) * | 2007-06-07 | 2008-12-11 | Zte Corporation | An implementation method and system for a media-on-demand frame-spanning playing mode in a peer-to-peer network |
CN101321265B (en) * | 2007-06-07 | 2011-03-16 | 中兴通讯股份有限公司 | Method and system for implementing peer-to-peer network media order frame-across broadcast mode |
WO2009039707A1 (en) * | 2007-09-28 | 2009-04-02 | Shenzhen Mpr Technology Co., Ltd | Method, apparatus and time flow file processor for retrieving files |
US10141024B2 (en) | 2007-11-16 | 2018-11-27 | Divx, Llc | Hierarchical and reduced index structures for multimedia files |
US11495266B2 (en) | 2007-11-16 | 2022-11-08 | Divx, Llc | Systems and methods for playing back multimedia files incorporating reduced index structures |
US10902883B2 (en) | 2007-11-16 | 2021-01-26 | Divx, Llc | Systems and methods for playing back multimedia files incorporating reduced index structures |
CN102027742A (en) * | 2008-05-16 | 2011-04-20 | 夏普株式会社 | Recording/playback device |
CN100591112C (en) * | 2008-11-07 | 2010-02-17 | 武汉烽火网络有限责任公司 | Multimedia data storage method and precise reproducing position positioning method |
CN101431646B (en) * | 2008-12-11 | 2011-07-20 | 北京东方广视科技股份有限公司 | Fast high-efficiency control playing method for cable television VOD system |
CN101848352A (en) * | 2009-03-23 | 2010-09-29 | 精工爱普生株式会社 | Image supply device, image feed system and image supply method |
CN101848352B (en) * | 2009-03-23 | 2012-08-22 | 精工爱普生株式会社 | Image supplying device, image supplying system and image supplying method |
CN102196189B (en) * | 2010-03-12 | 2015-03-25 | 新奥特(北京)视频技术有限公司 | Method and system for retrieving highlights from large-scale competition international broadcasting center (IBC) system |
CN102196189A (en) * | 2010-03-12 | 2011-09-21 | 新奥特(北京)视频技术有限公司 | Method and system for retrieving highlights from large-scale competition international broadcasting center (IBC) system |
CN101945169A (en) * | 2010-09-09 | 2011-01-12 | 深圳市融创天下科技发展有限公司 | Method, system and mobile communication terminal for shooting and playing |
CN102006500B (en) * | 2010-10-29 | 2012-12-26 | 蓝汛网络科技(北京)有限公司 | Video dragging method and device applied to cache server |
CN102006500A (en) * | 2010-10-29 | 2011-04-06 | 蓝汛网络科技(北京)有限公司 | Video dragging method and device applied to cache server |
CN102467940A (en) * | 2010-11-08 | 2012-05-23 | 安凯(广州)微电子技术有限公司 | Fast forward and fast backward method and device for index-free video file and playing system |
CN102547374A (en) * | 2010-12-07 | 2012-07-04 | 华录文化产业有限公司 | Video image preview method and device based on play time point |
CN102123281A (en) * | 2011-01-07 | 2011-07-13 | 中兴通讯股份有限公司 | Fast forward and fast backward treatment method and device during video playing and mobile terminal |
WO2012092725A1 (en) * | 2011-01-07 | 2012-07-12 | 中兴通讯股份有限公司 | Method, device and mobile terminal for processing fast forward/fast backward during video playing |
CN102550038A (en) * | 2011-11-16 | 2012-07-04 | 华为技术有限公司 | Method, terminal, server and system for playing media files |
WO2012167558A1 (en) * | 2011-11-16 | 2012-12-13 | 华为技术有限公司 | Method, terminal, server and system for playing media file |
CN103137168B (en) * | 2011-12-05 | 2015-08-26 | 炬芯(珠海)科技有限公司 | A kind of code stream geographic search method, device and player |
CN103137168A (en) * | 2011-12-05 | 2013-06-05 | 炬力集成电路设计有限公司 | Code stream fixed point searching method, device and player |
CN102523513A (en) * | 2011-12-31 | 2012-06-27 | 西南交通大学 | Implementation method for accurately obtaining images of original video file on basis of video player |
CN102761773A (en) * | 2012-07-03 | 2012-10-31 | Ut斯达康通讯有限公司 | Method for improving user experience of IPTV (Internet Protocol Television) service by using I frames |
CN102945679A (en) * | 2012-09-29 | 2013-02-27 | 华为技术有限公司 | Video data processing method and video data read-write equipment |
CN104077588A (en) * | 2014-07-10 | 2014-10-01 | 苏州皓琪信息科技有限公司 | Method for automatically interposing frame offsets into medical DICOM dynamic images compressed by JPEG |
CN104281651B (en) * | 2014-09-16 | 2018-05-04 | 福建星网物联信息系统有限公司 | A kind of method and its system of massive video data retrieval |
CN104281651A (en) * | 2014-09-16 | 2015-01-14 | 福建星网锐捷安防科技有限公司 | Method and system for searching large volume of video data |
US20160212422A1 (en) * | 2015-01-16 | 2016-07-21 | Hangzhou Hikvision Digital Technology Co., Ltd. | Systems, Devices and Methods for Video Coding |
US10575009B2 (en) * | 2015-01-16 | 2020-02-25 | Hangzhou Hikvision Digital Technology Co., Ltd. | Systems, devices and methods for video coding |
CN104967862A (en) * | 2015-07-22 | 2015-10-07 | 东方网力科技股份有限公司 | Video storage method and device, and video searching method and device |
CN105120321A (en) * | 2015-08-21 | 2015-12-02 | 北京佳讯飞鸿电气股份有限公司 | Video searching method, video storage method and related devices |
CN105915982A (en) * | 2015-10-29 | 2016-08-31 | 乐视致新电子科技(天津)有限公司 | Video playing method based on remote control signals and video playing device thereof |
CN105898588A (en) * | 2015-12-07 | 2016-08-24 | 乐视云计算有限公司 | Video positioning method and device |
WO2018076952A1 (en) * | 2016-10-24 | 2018-05-03 | 杭州海康威视数字技术股份有限公司 | Method and apparatus for storage and playback positioning of video file |
CN107979621A (en) * | 2016-10-24 | 2018-05-01 | 杭州海康威视数字技术股份有限公司 | A kind of storage of video file, positioning playing method and device |
CN107729566B (en) * | 2017-11-14 | 2021-02-23 | 郑州天迈科技股份有限公司 | Index reconstruction method for bus-mounted hard disk audio/video data access |
CN107729566A (en) * | 2017-11-14 | 2018-02-23 | 郑州天迈科技股份有限公司 | A kind of index method for reconstructing for public transport vehicle-mounted hard disk audio/video data access |
CN108683943A (en) * | 2018-03-30 | 2018-10-19 | 晨星半导体股份有限公司 | The method of electronic equipment and its positioning playing audio-video document |
CN109982020A (en) * | 2019-02-26 | 2019-07-05 | 南京邮电大学 | A kind of storage of video and search method |
CN112559799A (en) * | 2019-09-10 | 2021-03-26 | 高新兴科技集团股份有限公司 | Object cloud storage method and system |
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1873820A (en) | Method for processing video file, method for indexing video, and video indexing unit | |
CN106412677B (en) | Method and device for generating playback video file | |
CN101076111A (en) | Method for acquiring keyframe section positioning infromation in video fluid | |
CN1738438A (en) | Method of synchronizing still picture with moving picture stream | |
CN1787635A (en) | Apparatus and method for video searching in a mobile communications terminal | |
CN101060624A (en) | Video data processing method and storage equipment | |
CN1495615A (en) | Image recording device and control method thereof | |
CN1859115A (en) | Distributing storage downloading system, device and method for network data | |
CN1829345A (en) | Method and system for realizing data share between mobile terminals | |
CN101079721A (en) | A method and system for broadcasting buffered advertisement in polling mode under the network living broadcast environment | |
CN1578222A (en) | System and method for reproducing multimedia content in mobile phone | |
CN104918108A (en) | Video accurate positioning device and method based on HLS (HTTP Live Streaming) protocol | |
CN1956518A (en) | Display control apparatus and method, recording medium, and program therefor | |
CN101056150A (en) | Time shift apparatus and method for digital multimedia broadcasting terminal | |
CN1927431A (en) | Mobile communication terminal game storage method and mobile communication terminal thereof | |
CN1852425A (en) | Method and apparatus for obtaining current broadcasting time while broadcasting multi-medium document | |
CN101035293A (en) | System and method for providing information on digital broadcasting programs | |
EP2105931A3 (en) | Information storage medium including meta data for multi-angle title, and apparatus and method for reproducing the same | |
WO2017041663A1 (en) | Video control method and device | |
CN103873956B (en) | Media file playing method, system, player, terminal and media storage platform | |
CN101051990A (en) | Medium type matching method and system based on downloading service | |
CN1758750A (en) | Remote control for mobile communication terminal | |
CN104753811B (en) | A kind of streaming media service optimization method, equipment and system | |
US7747769B1 (en) | Method and apparatus for efficiently searching and selecting preferred content from a plurality of active multimedia streams | |
CN101060555A (en) | Number matching method and terminal |
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: 20061206 |