CN100574400C - A kind of time-shifted video recording method - Google Patents
A kind of time-shifted video recording method Download PDFInfo
- Publication number
- CN100574400C CN100574400C CNB2006101720594A CN200610172059A CN100574400C CN 100574400 C CN100574400 C CN 100574400C CN B2006101720594 A CNB2006101720594 A CN B2006101720594A CN 200610172059 A CN200610172059 A CN 200610172059A CN 100574400 C CN100574400 C CN 100574400C
- Authority
- CN
- China
- Prior art keywords
- time
- circular buffer
- video
- audio signal
- recording method
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000003139 buffering effect Effects 0.000 claims abstract description 50
- 239000000463 material Substances 0.000 claims abstract description 41
- 238000004064 recycling Methods 0.000 claims description 4
- 230000006835 compression Effects 0.000 claims description 3
- 238000007906 compression Methods 0.000 claims description 3
- 238000009434 installation Methods 0.000 claims 4
- 238000010586 diagram Methods 0.000 description 1
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Abstract
The invention provides a kind of time-shifted video recording method of use one circular buffer.Before storing a video-audio signal, the method can be judged the time span of this video-audio signal earlier; Be not more than a time rating during length in the time span of this video-audio signal, can write indication according to one and this video-audio signal be write in the buffering area of this circular buffer; In the time span of this video-audio signal greater than this during length time rating, according to this time rating length cut this video-audio signal, and can write indication according to this and will cut several sections audiovisual materials of back gained and be docile and obedient preface and write in a plurality of buffering areas of this circular buffer.Wherein, above-mentioned buffering area has a header separately, in order to the time index and the file size of the stored audiovisual materials of the buffering area under writing down, uses during for the audiovisual materials that read this circular buffer.According to this time-shifted video recording method, can realize rapid and precise video-audio signal playback.
Description
Technical field
The present invention relates to a kind of kinescope method, particularly a kind of time-shifted (time shifting) kinescope method.
Background technology
Time-shifted (time shifting) is the common function of video tape recorder now.The programme content that the user can just miss by the time-shifted function playback of video tape recorder.Because the interior picture of finite time the last period that time-shifted technology only need store, buffer therefore commonly used is the circular buffer (ring buffer) of recycling capable of circulation storage area.
Fig. 1 uses the situation of a circular buffer 100 for traditional time-shifted technology.When the time-shifted function on of video tape recorder, a video-audio signal can intactly whole section writes in the buffering area (as the buffering area 102 of Fig. 1) of this circular buffer 100.Indicate 104 headers that the sign place is this buffering area 102, wherein have the information of this video-audio signal, as the time index of this video-audio signal, file size etc.Receiving after the user requires the order of playback picture, player can be earlier reads out the stored video-audio signal information of this buffering area 102 from this header 104, from the beginning searches this buffering area 102 according to these information again, to read and to play the picture of wanting playback.
Yet when the time span of time-shifted video-audio signal that can playback was very long, several shortcomings of the time-shifted technology of above-mentioned tradition were appeared in one's mind one by one.With halfhour time-shifted specification is example, supposes that these buffering area 102 stored audio-visual time spans are 30 minutes.If the user requires the picture (sign of Fig. 1 106 sign places) of playback before three minutes, player must start anew to search this buffering area 102 and indicate 106 places until this according to the stored information of this header 104.This search process can be wasted on 27 minutes audiovisual materials of many times before this sign 106.Therefore, the time span of time-shifted video-audio signal that can playback is long more, and this replayed section can be consuming time more.In addition, another shortcoming of the time-shifted technology of above-mentioned tradition be can not accurately move to think the time point of playback.Because video-audio signal is to be stored into this circular buffer 100 after overcompression, the size of file is relevant with the complexity of video-audio signal.Therefore, be difficult to estimate out the orthochronous index of the stored audiovisual materials of these buffer 102 diverse locations from the size of file.This problem is obvious more when long more in time-shifted video-audio signal time span that can playback.
Summary of the invention
Time point problem in order to solve the problem consuming time in the time-shifted technology and can not accurately to locate the video-audio signal of thinking playback the invention provides a kind of time-shifted video recording technology, and reaching audio-visual fast playback, and positioning time, point was more accurate.
The employed buffer of time-shifted video recording method provided by the present invention is a circular buffer.Before storing a video-audio signal, this method can be judged the time span of this video-audio signal earlier.Be not more than a time rating during length in the time span of this video-audio signal, meeting of the present invention can write indication according to one this video-audio signal is write in the buffering area of this circular buffer.In the time span of this video-audio signal greater than this during length time rating, meeting of the present invention according to this time rating length cut this video-audio signal, and can write indication according to this and will cut several sections audiovisual materials of back gained and be docile and obedient preface and write in a plurality of buffering areas of this circular buffer.The maximum time length of the audiovisual materials that described a plurality of buffering area is stored separately is this of length time rating; And above-mentioned buffering area has a header separately, in order to the time index and the file size of the stored audiovisual materials of the buffering area under writing down.
In addition, this method also is included in this video-audio signal and writes and adjust this behind this circular buffer and can write indication, is write this circular buffer continuously to guarantee the next record video-audio signal.Because the storage area recycling capable of circulation that this circular buffer provided, when the storage area that this method also is included in this circular buffer to be provided is repeated to use, adjust one and can read indication, to guarantee that the video-audio signal that is stored in this circular buffer is correctly read.
Utilize time-shifted video recording method of the present invention, can realize audio-visual quick playback, and the time location is more accurate.
Description of drawings
Fig. 1 is the diagram of traditional time-shifted video recording method;
Fig. 2 is the three phases of an embodiment of the present invention; And
Fig. 3 is the flow chart of one embodiment of the invention.
Embodiment
For further specifying purpose of the present invention, feature and advantage, elaborate below in conjunction with embodiment and conjunction with figs..
Buffer of the present invention is a circular buffer.The storage area that this circular buffer provided repeated use capable of circulation.With respect to traditional time-shifted technology shown in Figure 1, the present invention reaches audio-visual fast and accurately playback by the time span that limits the audiovisual materials that each buffering area can store.
In one embodiment of this invention, the time span of the audiovisual materials that can store of each buffering area in the circular buffer all can not above one time rating length.If the time span of a video-audio signal greater than this of length time rating, meeting of the present invention according to this time rating length cut this video-audio signal, and can write indication according to one and will cut several sections audiovisual materials of back gained and be docile and obedient preface and write in a plurality of buffering areas of this circular buffer, this circular buffer uses first in first out algorithm to write down this several sections audiovisual materials.The said write indication comprises that one points to the address that writes of described buffering area.Described buffering area has a header separately, in order to writing down the time index and the file size of the stored audiovisual materials of described buffering area, and the basis of searching file with as audio-visual playback the time.This method can be adjusted this after this video-audio signal writes this circular buffer can write indication (writing the address that writes in the indication as adjusting this), is write this circular buffer continuously to guarantee the next record video-audio signal.Because buffer used in the present invention is a circular buffer, the audiovisual materials that write before the audiovisual materials that newly write may cover.Therefore, this method must be adjusted one to the process of this circular buffer in good time and can read indication writing audiovisual materials, is able to correctly be read to guarantee the audiovisual materials that are stored in this circular buffer.
Fig. 2 is the three phases of one embodiment of the present invention, represents the situation (220,230 and 240) of a circular buffer when three different phases.It is fashionable that figure 220 shows that a circular buffer does not have audiovisual materials to write, and one can read indication R and can write the indication position that W indicated.Length time rating that execution mode adopted of Fig. 2 is five minutes, and the storage area of whole circular buffer is enough to store halfhour audiovisual materials.Figure 230 is that a time length is the storage condition of halfhour video-audio signal in this circular buffer.Because the time span of each buffering area audiovisual materials that can store must not be above five minutes, so this video-audio signal must be cut into one section data every five minutes, be stored to buffering area 202,204,206,208,210, and 212 in regular turn.These buffering areas 202,204,206,208,210 and 212 have a header 201,203,205,207,209 and 211 separately, in order to the time index and the file size of the stored audiovisual materials of buffering area under writing down.With respect to the time-shifted technology of the described tradition of Fig. 1, present embodiment is if think the picture (indicate 216 sign places) of playback before three minutes, only need read out the relevant information of the stored audiovisual materials of buffer 212 from the header 211 of the 6th buffer 212, and, can find the picture before three minutes very soon according to this buffer 212 of these information searches.Spend the plenty of time on 27 minutes audiovisual materials before the sign 106 with respect to the time-shifted Technology Need of the described tradition of Fig. 1, the present invention only needs to search two minutes audiovisual materials before the sign 216 can find picture (indicating 216 places) before three minutes, has shortened the needed time of search audiovisual materials widely.In addition, because the time span of the audiovisual materials that each buffering area can store is limited, therefore the accuracy of searching has also just improved many relatively.
Relatively figure 220 and 230 can find that this can write indication W and can write the situation change along with the data of this circular buffer, so that the next record video-audio signal is write this circular buffer continuously.
Figure 240 shows when writing one 4 minutes again long video-audio signal is to this circular buffer, the storing state of this circular buffer.Because this video-audio signal does not surpass five minutes (length time rating), therefore can write on (buffering area 214) in single the buffering area.The complexity of supposing this 4 minutes video-audio signals is very high, and file size after compression is very big, must use the storage area of buffering area 202.Shown in figure 240, buffering area 214 covers buffering area 202, causes the original invalidating signals that store of buffering area 202, so this can read indication R and must do suitably and adjust, to change its address pointed.Shown in figure 240, this can read indication R by R
oInstitute sign place changes the next buffering area 204 of sensing, to guarantee that the audiovisual materials that are stored in this circular buffer are correctly read.In addition, along with these 4 minutes audiovisual materials write this circular buffer, can write indication W and also must do suitably to adjust.Shown in figure 240, can write indication W by W
oInstitute sign place changes the end that points to this buffering area 214, is write this circular buffer continuously to guarantee the next record video-audio signal.
Fig. 3 is the flow chart of an execution mode of time-shifted video recording method of the present invention.After one time translation recording function was activated, step 302 and 304 was respectively with this circular buffer and an audio-visual codec initialization.In step 306, video tape recorder can be obtained a video-audio signal and look this video-audio signal of type decoding of this video-audio signal from the external world.This video-audio signal can be TV signal or a video and audio CD disc (as DVD) signal or other any video-audio signals that is truncated to by a TV card.Afterwards, step 308 will be compressed this video-audio signal to reduce the file size of this video-audio signal.The time span that step 310 is judged this video-audio signal whether greater than one time rating length.If the time span of this video-audio signal greater than this of length time rating, then execution in step 312, according to this time rating length this video-audio signal is cut into several sections audiovisual materials, and can write indication according to one and be docile and obedient preface and write in a plurality of buffering areas of this circular buffer.If the time span of this video-audio signal is not more than this of length time rating, then execution in step 314, this video-audio signal can be write indication according to this write in the buffering area in this circular buffer.Above-mentioned steps 312 and 314 after audiovisual materials write this circular buffer, all must suitably be adjusted this and can write indication and one can read indication, section that can read at present with this circular buffer of correct sign and the place that can write data again.Above-mentioned buffering area has a header separately, in order to the time index and the file size of the stored audiovisual materials of the buffering area under writing down, and the basis of searching file with as audio-visual playback the time.
In addition, if time-shifted specification changes (for example the user wishes the video-audio signal before can playback more of a specified duration), the present invention only needs to make an amendment slightly and can reach when step 302 (this circular buffer of initialization), as changes storage area, the time rating length or compression ratio etc. of this circular buffer.
Therefore, utilize time-shifted video recording method of the present invention, can reach audio-visual playback fast and accurately.
Claims (10)
1. time-shifted video recording method that is applied to have the electronic installation of audio-video playing function, this electronic installation have a circular buffer that can store audiovisual materials, it is characterized in that described time-shifted video recording method comprises:
The described circular buffer of initialization is divided into a plurality of buffering areas with described circular buffer;
Judge the time span of a video-audio signal;
Be not more than a time rating during length in the time span of described video-audio signal, can write indication according to one and described video-audio signal be write in the buffering area of described circular buffer; And
In the time span of described video-audio signal greater than this during length time rating, according to described time rating length cut described video-audio signal, writing indication and described video-audio signal is docile and obedient preface writes in a plurality of buffering areas of described circular buffer according to described,
Wherein, the maximum time length of the audiovisual materials that described a plurality of buffering area is stored separately is described time rating of length, and described a plurality of buffering area has a header separately, in order to the time index and the file size of the stored audiovisual materials of the buffering area under writing down.
2. time-shifted video recording method as claimed in claim 1 is characterized in that: also be included in and adjust the described indication that writes after described video-audio signal writes described circular buffer, write described circular buffer continuously to guarantee the next record video-audio signal.
3. time-shifted video recording method as claimed in claim 2 is characterized in that, the storage area that described circular buffer provided recycling capable of circulation.
4. time-shifted video recording method as claimed in claim 3, it is characterized in that, when the storage area that also being included in described circular buffer is provided is repeated to use, adjusts one and can read indication, be able to correctly be read to guarantee the audiovisual materials that are stored in described circular buffer.
5. time-shifted video recording method as claimed in claim 1 is characterized in that, described video-audio signal can write described circular buffer after compression.
6. time-shifted video recording method that is applied to have the electronic installation of audio-video playing function, this electronic installation have a circular buffer that can store audiovisual materials, it is characterized in that described time-shifted video recording method comprises:
One circular buffer is provided, and described circular buffer is made up of a plurality of buffering area;
Set one time rating length;
According to described time rating length respectively audiovisual materials are docile and obedient or a plurality of buffering area that preface writes described circular buffer; And
Wherein, the maximum time length of the audiovisual materials that described buffering area is stored separately is described time rating of length, and described buffering area has a header separately, in order to the time index and the file size of the stored described audiovisual materials of the buffering area under writing down.
7. time-shifted video recording method as claimed in claim 6 is characterized in that, wherein said circular buffer writes down described audiovisual materials for using fifo algorithm.
8. time-shifted video recording method as claimed in claim 6 is characterized in that, also is included in to adjust the described indication that writes after described video-audio signal writes described circular buffer, is write described circular buffer continuously to guarantee the next record video-audio signal.
9. time-shifted video recording method as claimed in claim 6 is characterized in that, the storage area that described circular buffer provided recycling capable of circulation.
10. time-shifted video recording method as claimed in claim 9, it is characterized in that, when the storage area that also being included in described circular buffer is provided is repeated to use, adjusts one and can read indication, to guarantee that the audiovisual materials that are stored in described circular buffer are correctly read.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101720594A CN100574400C (en) | 2006-12-30 | 2006-12-30 | A kind of time-shifted video recording method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101720594A CN100574400C (en) | 2006-12-30 | 2006-12-30 | A kind of time-shifted video recording method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101212620A CN101212620A (en) | 2008-07-02 |
CN100574400C true CN100574400C (en) | 2009-12-23 |
Family
ID=39612237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006101720594A Expired - Fee Related CN100574400C (en) | 2006-12-30 | 2006-12-30 | A kind of time-shifted video recording method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100574400C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104521241A (en) | 2012-07-03 | 2015-04-15 | 汤姆逊许可公司 | Data recording device and method relating to a time shifting function on a recording medium |
JP2014216976A (en) * | 2013-04-30 | 2014-11-17 | ソニー株式会社 | Imaging apparatus, image recording processing method and program |
CN105577568A (en) * | 2015-12-09 | 2016-05-11 | 美的集团股份有限公司 | UART data processing control method and control device |
-
2006
- 2006-12-30 CN CNB2006101720594A patent/CN100574400C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101212620A (en) | 2008-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101099210B (en) | Storage medium storing metadata for providing enhanced search function | |
RU2010106007A (en) | TELEVISION RECEIVER | |
US6687454B1 (en) | Audio data and still picture recording medium and corresponding playback apparatus which enable displaying of a still picture at a plurality of predetermined timings during playback of recorded audio data | |
KR20080020868A (en) | Apparatus and method for simultaneously recording and replaying streaming content | |
KR980007636A (en) | Data recording and reproducing apparatus and recording and reproducing method | |
CN103442300A (en) | Audio and video skip playing method and device | |
US20100275228A1 (en) | Method and apparatus for delivering media content | |
CN101866669B (en) | Information storage medium and apparatus and method for reproducing the same | |
CN100574400C (en) | A kind of time-shifted video recording method | |
CN1890749B (en) | Method of controlling file of the recording medium, and method and apparatus for reproducing the recording medium | |
CN1237539C (en) | Recording-medium playing machine capable of automatically setting reproducing mode and control method | |
US20050262125A1 (en) | Data recording method and data recording device | |
US7725003B2 (en) | Digital broadcast recorder and recording method thereof | |
KR100566287B1 (en) | Data recording medium recorded navigation data | |
TWI321952B (en) | Time shifting in video recoder | |
KR100630062B1 (en) | A data information approaching method for reproducing a program at high speed in multiple data bit stream recording device | |
US7505672B2 (en) | Dynamic searching method and dynamic searching device of storage medium | |
KR100631783B1 (en) | System and method for synchronizing multimedia data with metadata | |
KR100584372B1 (en) | Method for recognizing extended navigation information inbroadcast receiving system having record medium | |
KR20010053815A (en) | Data recording management method and broadcast receiving system | |
JP2011244117A (en) | System semiconductor integrated circuit equipped with moving image decorder and method for operating the same | |
JP2007026663A5 (en) | ||
KR20070010898A (en) | Title chapter adding method | |
KR20050025874A (en) | Broadcasting signal processing apparatus capable of recording/reproducing and a method thereof | |
JP2007026660A5 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091223 |