JP2776144B2 - Timecode conversion method - Google Patents

Timecode conversion method

Info

Publication number
JP2776144B2
JP2776144B2 JP13555392A JP13555392A JP2776144B2 JP 2776144 B2 JP2776144 B2 JP 2776144B2 JP 13555392 A JP13555392 A JP 13555392A JP 13555392 A JP13555392 A JP 13555392A JP 2776144 B2 JP2776144 B2 JP 2776144B2
Authority
JP
Japan
Prior art keywords
time code
frame
drop
frames
drop frame
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 - Lifetime
Application number
JP13555392A
Other languages
Japanese (ja)
Other versions
JPH05282851A (en
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP13555392A priority Critical patent/JP2776144B2/en
Publication of JPH05282851A publication Critical patent/JPH05282851A/en
Application granted granted Critical
Publication of JP2776144B2 publication Critical patent/JP2776144B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、タイムコードのフレー
ム周期が異なる機器相互(例えば、VTRとDAT)間
で、タイムコードを記録再生する場合に使用して好適な
タイムコード変換方法に係り、特にノンドロップフレー
ムタイムコードの変換方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time code conversion method suitable for use when recording and reproducing time codes between devices (for example, VTR and DAT) having different time code frame periods. In particular, the present invention relates to a non-drop frame time code conversion method.

【0002】[0002]

【従来の技術】タイムコード変換方法としては、例え
ば、特開平1−264686号記載のものがある。これ
は、DATタイムコードからVTR用の標準タイムコー
ドであるSMPTE(Drop Frame)タイムコードへの変換
方法であり、その手順は以下のとおりである。 a)DATタイムコードの総フレーム数を求める。 b)DATタイムコードの総フレーム数をDATのフレー
ム周期に対するSMPTEのフレーム周期の比で割り、
SMPTEタイムコードの総フレーム数を求める。 c)DATタイムコードから予測SMPTEタイムコード
を求める。 d)予測SMPTEタイムコードの総フレーム数を求め
る。 e)SMPTEタイムコードの総フレーム数から予測SM
PTEタイムコードの総フレーム数を減算し、差を求め
る。 f)予測SMPTEタイムコードに前記の差を加算して、
SMPTEタイムコードが求められる。
2. Description of the Related Art As a time code conversion method, for example, there is a method described in Japanese Patent Application Laid-Open No. 1-264686. This is a method of converting a DAT time code into a SMPTE (Drop Frame) time code which is a standard time code for a VTR, and the procedure is as follows. a) Obtain the total number of frames of the DAT time code. b) dividing the total number of frames of the DAT time code by the ratio of the SMPTE frame period to the DAT frame period,
The total number of frames of the SMPTE time code is obtained. c) Obtain a predicted SMPTE time code from the DAT time code. d) Obtain the total number of frames of the predicted SMPTE time code. e) SM predicted from the total number of frames of SMPTE time code
The difference is obtained by subtracting the total number of frames of the PTE time code. f) adding the difference to the predicted SMPTE time code,
An SMPTE time code is required.

【0003】[0003]

【発明が解決しようとする課題】このような従来のタイ
ムコード変換方法は、DATタイムコードとSMPTE
(Drop Frame,ドロップフレーム)タイムコードとの変換
方法であり、SMPTE(Non-Drop Frame,ノンドロップ
フレーム) タイムコードに関するものではなかった。と
ころが、SMPTE(Non-Drop Frame,ノンドロップフレ
ーム) タイムコードは、実時間に対して108 フレーム/
H(hour)の差があるので、従来のタイムコード変換方法
によると、最悪では2592フレームの誤差が生じてしまう
という問題点があった。そこで、本発明はDATタイム
コードとSMPTE(Non-Drop Frame)タイムコード変換
に使用して好適なタイムコード変換方法を提供するもの
である。
The above conventional time code conversion method uses a DAT time code and an SMPTE
(Drop Frame) This is a conversion method with time code, not SMPTE (Non-Drop Frame) time code. However, SMPTE (Non-Drop Frame) time code is 108 frames / real time.
Since there is a difference of H (hour), the conventional time code conversion method has a problem that an error of 2592 frames occurs at worst. Accordingly, the present invention provides a time code conversion method suitable for use in DAT time code and SMPTE (Non-Drop Frame) time code conversion.

【0004】[0004]

【課題を解決するための手段】本発明は上記課題を解決
するために、ノンドロップフレームタイムコード(例え
ば、SMPTE(Non−DropFrame)タイム
コード)を、ドロップフレームタイムコード(例えば、
SMPTE(Drop Frame)タイムコード)に
変換する方法であって、前記ノンドロップフレームタイ
ムコードを前記ドロップフレームタイムコードの近似値
とするステップと、(図1に示す、ステップ100〜1
03)前記ノンドロップフレームタイムコードのフレー
ム総数を求めるステップと、前記ドロップフレームタイ
ムコードのフレーム総数を求めるステップと、前記ノン
ドロップフレームタイムコードのフレーム総数と前記ド
ロップフレームタイムコードのフレーム総数との差を
(ステップ104)、前記ドロップフレームタイムコー
ドの近似値に加算するステップ(ステップ105)とか
らなることを特徴とするタイムコード変換方法。
According to the present invention, a non-drop frame time code (for example, SMPTE (Non-DropFrame) time code) is converted to a drop frame time code (for example,
A method of converting the non-drop frame time code into an approximate value of the drop frame time code (SMPTE (Drop Frame) time code).
03) obtaining the total number of frames of the non-drop frame time code; obtaining the total number of frames of the drop frame time code; and calculating the difference between the total number of frames of the non-drop frame time code and the total number of frames of the drop frame time code. (Step 104), and adding the approximate value of the drop frame time code (Step 105).

【0005】また、第1のフレーム周期のノンドロップ
フレームタイムコード(例えば、SMPTE(Non−
Drop Frame)タイムコード)を、第2のフレ
ーム周期のタイムコード(例えば、DATタイムコー
ド)に変換する方法であって、前記第1のフレーム周期
のノンドロップフレームタイムコードを第1のフレーム
周期のドロップフレームタイムコードの近似値にするス
テップ(ステップ100〜103)と、前記第1のフレ
ーム周期のノンドロップフレームタイムコードのフレー
ム総数を求めるステップと、前記第1のフレーム周期の
ドロップフレームタイムコードのフレーム総数を求める
ステップと、前記第1のフレーム周期のノンドロップフ
レームタイムコードのフレーム総数と前記第1のフレー
ム周期のドロップフレームタイムコードのフレーム総数
との差を(ステップ104)、前記第1のフレーム周期
のドロップフレームタイムコードの近似値に加算して、
前記第1のフレーム周期のドロップフレームタイムコー
ドを求めるステップ(ステップ105)と、前記第1の
フレーム周期のドロップフレームタイムコードから、前
記第2のフレーム周期のタイムコードを求めるステップ
(図2に示す、ステップ200〜204)とからなるこ
とを特徴とするタイムコード変換方法を提供するもので
ある。
A non-drop frame time code of a first frame period (for example, SMPTE (Non-
(Drop Frame) time code) to a time code of a second frame period (for example, DAT time code), wherein the non-drop frame time code of the first frame period is converted to a time code of a first frame period. Making the approximate value of the drop frame time code (steps 100 to 103); obtaining the total number of frames of the non-drop frame time code of the first frame period; Calculating the total number of frames; and calculating the difference between the total number of frames of the non-drop frame time code of the first frame period and the total number of frames of the drop frame time code of the first frame period (step 104). Frame period drop frame Add to the approximate value of the imcode,
The step of obtaining the drop frame time code of the first frame cycle (step 105) and the step of obtaining the time code of the second frame cycle from the drop frame time code of the first frame cycle (shown in FIG. 2) , Steps 200 to 204).

【0006】[0006]

【作用】上記タイムコード変換方法によれば、第1のフ
レーム周期のノンドロップフレームタイムコードは第1
のフレーム周期のドロップフレームタイムコードに変換
され、さらに、この第1のフレーム周期のドロップフレ
ームタイムコードから第2のフレーム周期のタイムコー
ドに変換される。
According to the above time code conversion method, the non-drop frame time code of the first frame period is equal to the first time code.
Is converted to a drop frame time code of the first frame period, and the drop frame time code of the first frame period is further converted to a time code of the second frame period.

【0007】[0007]

【実施例】最初に、本タイムコード変換方法が使用され
るタイムコード変換装置の構成について説明する。図4
はタイムコード変換装置Tの構成図であり、SMPTE
(Non-Drop Frame)タイムコードを有するVTR(ビデオ
テープレコーダ)10と、DAT(デジタルオーディオ
テープレコーダ)12との間のタイムコード変換をなす
ものである。なお、SMPTEタイムコードは、アメリ
カ規格(C98.12 )に規定された周知なコードである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the configuration of a time code conversion apparatus using the present time code conversion method will be described. FIG.
Is a block diagram of the time code conversion device T,
(Non-Drop Frame) Time code conversion between a VTR (video tape recorder) 10 having a time code and a DAT (digital audio tape recorder) 12 is performed. The SMPTE time code is a well-known code defined in the American standard (C98.12).

【0008】タイムコード変換装置Tは、再生用のVT
R10からのSMPTEノンドロップフレーム(Non-Dro
p Frame)タイムコードを読み取るタイムコードリーダ
1、読み取ったノンドロップフレームタイムコードをS
MPTEドロップフレーム(Drop Frame)タイムコードに
変換する第1のタイムコード変換部2aと、変換された
ドロップフレームタイムコードをDATタイムコードに
変換する第2のタイムコード変換部2bなどから構成さ
れている。なお、11はDATなどの記録媒体12との
インターフェースである。
[0008] The time code conversion device T includes a VT for reproduction.
SMPTE non-drop frame from R10 (Non-Dro
p Frame) Time code reader 1 for reading time code, non-drop frame time code for reading
It comprises a first time code converter 2a for converting an MPTE drop frame (Drop Frame) time code to a second time code converter 2b for converting the converted drop frame time code to a DAT time code. . Reference numeral 11 denotes an interface with a recording medium 12 such as a DAT.

【0009】一方、3aはDATなどの記録媒体12か
らのDATタイムコードをSMPTEドロップフレーム
(Drop Frame)タイムコードに変換するタイムコード変換
部であり、3bは変換されたドロップフレームタイムコ
ードをSMPTEノンドロップフレーム(Non-Drop Fram
e)タイムコードに変換するタイムコード変換部である。
この変換出力がタイムコードジェネレータ4を介してS
MPTEタイムコードとして記録用のVTR13に出力
されるよう構成されている。
On the other hand, reference numeral 3a denotes a DAT time code from the recording medium 12 such as DAT, which is an SMPTE drop frame.
(Drop Frame) A time code conversion unit for converting the time code into a time code, and 3b converts the converted drop frame time code into an SMPTE non-drop frame.
e) A time code conversion unit for converting to a time code.
This converted output is transmitted through the time code generator 4 to S
It is configured to be output to the recording VTR 13 as an MPTE time code.

【0010】また、5は外部のVTRからの同期信号を
もとに変換装置のタイミングクロックを生成するタイミ
ング生成部である。このタイミング生成部5で、システ
ムクロックFs(例えば、DATのサンプリング周波数
である48KHz )及びDAT用のフレーム信号が生成され
る。6はDAT用のフレーム信号と、VTRのフレーム
信号(同期信号)の位相差Rjを検出する位相検出部で
ある。
Reference numeral 5 denotes a timing generator for generating a timing clock for the converter based on a synchronization signal from an external VTR. The timing generator 5 generates a system clock Fs (for example, a sampling frequency of DAT of 48 KHz) and a frame signal for DAT. Reference numeral 6 denotes a phase detection unit that detects a phase difference Rj between a DAT frame signal and a VTR frame signal (synchronization signal).

【0011】同図の構成から明らかなように、本タイム
コード変換は、SMPTE(Non-Drop Frame)タイムコー
ドを有するVTR(ビデオテープレコーダ)10と、D
AT(デジタルオーディオテープレコーダ)12との間
のタイムコード変換に際して、SMPTEノンドロップ
フレーム(Non-Drop Frame)タイムコードを、一旦、SM
PTEドロップフレーム(Drop Frame)タイムコードに変
換し、DATタイムコードに最終変換している。この結
果、後述するよう、ハードウエア・ソフトウエアの負担
が少ない構成で、かつ、正確に変換されることとなる。
As is apparent from the configuration of FIG. 1, this time code conversion is performed by a VTR (Video Tape Recorder) 10 having an SMPTE (Non-Drop Frame) time code,
At the time of time code conversion with an AT (Digital Audio Tape Recorder) 12, an SMPTE non-drop frame (Non-Drop Frame) time code is temporarily set to SM
It is converted to a PTE drop frame (Drop Frame) time code, and finally converted to a DAT time code. As a result, as will be described later, conversion is performed accurately with a configuration in which the burden on hardware and software is small.

【0012】(ノンドロップフレームからドロップフレ
ームへの変換)最初に、前記した第1のタイムコード変
換部2aで実行されるSMPTE(Non-Drop Frame)タイ
ムコードからSMPTE(Drop Frame)タイムコードへの
変換演算(後述する図1のステップ100〜105)に
ついて説明する。ノンドロップフレーム(Hn:Mn:Sn:
Fn)のフレーム総数をInon 、ドロップフレーム(Hd:
Md:Sd:Fd)のフレーム総数をIdropとすると、 Inon =108000Hn +1800Mn +30Sd +Fd … Idrop=107892Hd +1798Md + 2INT(Md/10) +30Sd+Fd … なので(INT は小数点以下を切り捨てて整数化する関
数)、Idrop=Inon の場合、Hn:Mn:Sn:Fn ≦Hd:
Md:Sd:Fd となる。
(Conversion from Non-Drop Frame to Drop Frame) First, the first time code conversion unit 2a converts the SMPTE (Non-Drop Frame) time code to the SMPTE (Drop Frame) time code. The conversion operation (steps 100 to 105 in FIG. 1 described later) will be described. Non-drop frame (Hn: Mn: Sn:
Fn), the total number of frames is Inon, the drop frame (Hd:
Assuming that the total number of frames of Md: Sd: Fd is Idrop, Inon = 108000Hn + 1800Mn + 30Sd + Fd... Idrop = 107892Hd + 1798Md + 2INT (Md / 10) + 30Sd + Fd ... = Inon, Hn: Mn: Sn: Fn ≤Hd:
Md: Sd: Fd.

【0013】ここで、ドロップフレームタイムコードの
タイムコードの近似値を、 (Hn:Mn:Sn:Fn )=(Hd:Md:Sd:Fd ) と仮定したときのフレーム差をg(これは概算値であ
り、正確な値ではない)とすると、式−式から g= 108Hn + 2Mn − 2INT(Md/10) … となる。
Here, the frame difference assuming that the approximate value of the time code of the drop frame time code is (Hn: Mn: Sn: Fn) = (Hd: Md: Sd: Fd) is g (this is an approximate value). G = 108Hn + 2Mn-2INT (Md / 10)... From the equation.

【0014】このフレーム差gをドロップフレームの規
則で、分/秒/フレームに変換したものをMg:Sg:Fg
とすると、 (Hd:Md:Sd:Fd)=(Hn:Mn:Sn:Fn)+(Mg:Sg:Fg ) … となる。式で得られたタイムコードが本来ドロップさ
れるべきフレーム値00,01 であれば02に補正し、ドロッ
プフレームの規則(00,10,20,30,40,50 を除く正分のフ
レーム00,01 をドロップする)に合致させる。これを近
似ドロップフレームタイムコードとする。
The result of converting the frame difference g into minutes / seconds / frame by the rule of the drop frame is expressed as Mg: Sg: Fg.
Then, (Hd: Md: Sd: Fd) = (Hn: Mn: Sn: Fn) + (Mg: Sg: Fg). If the time code obtained by the formula is the frame value 00,01 which should be dropped, it is corrected to 02, and the rule of the drop frame (the minute frame 00, except for 00,10,20,30,40,50) 01 drop). This is an approximate drop frame time code.

【0015】最後に、ノンドロップフレームタイムコー
ドと近似ドロップフレームタイムコードの正確なフレー
ム差dを求め、加算修正する。すなわち、ノンドロップ
フレームタイムコードと近似ドロップフレームタイムコ
ードのフレーム差をdとする。 d=Inon −Idrop … フレーム数は式から得られる。式から正確に算出
されたフレーム差dを近似ドロップフレームタイムコー
ドに加算する。このときの加算は、ドロップフレームの
規則に従って行う。これにより、ドロップフレームタイ
ムコードが求まる。このドロップフレームタイムコード
をもとにして、次に説明するようDATタイムコードに
最終変換される。
Finally, an accurate frame difference d between the non-drop frame time code and the approximate drop frame time code is obtained and added and corrected. That is, the frame difference between the non-drop frame time code and the approximate drop frame time code is d. d = Inon-Idrop ... The number of frames is obtained from the equation. The frame difference d accurately calculated from the equation is added to the approximate drop frame time code. The addition at this time is performed according to the rule of the drop frame. Thereby, a drop frame time code is obtained. Based on this drop frame time code, it is finally converted to a DAT time code as described below.

【0016】(ドロップフレームタイムコードからDA
Tタイムコードへの変換)次に、ドロップフレームタイ
ムコードからDATタイムコードへの最終変換について
説明する。以下で説明するタイムコード変換方法は、前
記した位相検出部8からの位相差Rjをもとにして、第
2のタイムコード変換部2bで実行されるドロップフレ
ーム(SMPTE(Drop Frame)タイムコード)からDA
Tタイムコードへの変換方法である。最初に、タイムコ
ード変換方法の前提について説明する。このタイムコー
ド変換方法は、 a)ドロップフレーム(Drop Frame)を有するSMPTEタ
イムコードは実時間との誤差が少ないという性質、DA
Tタイムコードも実時間との誤差が少ないという性質、
したがって、ドロップフレームタイムコードをDATタ
イムコードとしてそのまま近似可能であること、 b)変換時点でのビデオフレーム(ドロップフレーム)と
DATフレームの位相差と、タイムコード・マーカ(0
0:00:00:00 時のビデオフレームとDATフレームの位
相差)との関係は、SMPTE(Drop Frame)タイムコー
ドとDATタイムコードとの時間関係に相関があるこ
と、 C)タイムコード・マーカ(00:00:00:00 時のビデオフレ
ームとDATフレームの位相差)はDATフレームより
小さいことなどを、利用した変換方法である。
(Drop frame time code to DA
Next, the final conversion from the drop frame time code to the DAT time code will be described. In the time code conversion method described below, a drop frame (SMPTE (Drop Frame) time code) executed by the second time code conversion unit 2b based on the phase difference Rj from the phase detection unit 8 described above. From DA
This is a conversion method to T time code. First, the premise of the time code conversion method will be described. This time code conversion method has the following characteristics: a) SMPTE time code having a drop frame has a small error from real time,
The property that the T time code also has a small error from real time,
Therefore, the drop frame time code can be directly approximated as the DAT time code. B) The phase difference between the video frame (drop frame) and the DAT frame at the time of conversion, and the time code marker (0
0: 00: 00: 00, the relationship between the video frame and the DAT frame) is that the time relationship between the SMPTE (Drop Frame) time code and the DAT time code is correlated, C) the time code marker (The phase difference between the video frame and the DAT frame at 00: 00: 00: 00) is a conversion method that utilizes the fact that it is smaller than the DAT frame.

【0017】以上のような前提をもとに、a)〜b)の順で
タイムコード変換がなされる。 a)前述したように、ドロップフレームタイムコードは実
時間との誤差が少なく、DATタイムコードも実時間と
の誤差が少ないので、ドロップフレームタイムコードを
DATタイムコードとしてそのまま近似可能である。そ
こで、DATタイムコードの近似値を以下のように仮定
する。ドロップフレームタイムコードをHs:Ms:Ss:F
s とし、DATタイムコードの近似値をHd:Md:Sd:F
d とし、Hd=Hs,Md=Ms,Sd=Ss,Fd=Fs と近似す
る。
Based on the above assumptions, time code conversion is performed in the order of a) to b). a) As described above, the drop frame time code has a small error from the real time, and the DAT time code has a small error from the real time. Therefore, the drop frame time code can be approximated as it is as the DAT time code. Therefore, an approximate value of the DAT time code is assumed as follows. Set the drop frame time code to Hs: Ms: Ss: F
s and the approximate value of the DAT time code is Hd: Md: Sd: F
d, and approximates Hd = Hs, Md = Ms, Sd = Ss, and Fd = Fs.

【0018】b)また、図3のフレーム関係から明らかな
ように、ドロップフレームタイムコードの「フレーム総
数×フレーム周期」+位相差Rj=DATタイムコード
の「フレーム総数×フレーム周期」+位相差Roである
ので、ドロップフレームタイムコード,近似DATタイ
ムコード及び現在のビデオフレームとDATフレームの
位相差Rjから、ビデオフレーム及びDATフレーム各
々の「フレーム総数×フレーム周期」の差Roを算出し
得る。ドロップフレームタイムコードの総フレーム数を
iとし、DATタイムコードの総フレーム数をjとする
と、 i=107892Hs +1798Ms +2INT( Ms/10) +30Ss +Fs …a j=120000Hd +2000Md +33Sd +INT(Sd/3)+Fd …b で与えられる。
B) Also, as is clear from the frame relationship in FIG. 3, the total number of frames × frame period of the drop frame time code + the phase difference Rj = “the total number of frames × frame period” of the DAT time code + phase difference Ro Therefore, a difference Ro of “the total number of frames × frame period” of each of the video frame and the DAT frame can be calculated from the drop frame time code, the approximate DAT time code, and the phase difference Rj between the current video frame and the DAT frame. Assuming that the total number of frames of the drop frame time code is i and the total number of frames of the DAT time code is j, i = 107892Hs + 1798Ms + 2INT (Ms / 10) + 30Ss + Fs ... a j = 120000Hd + 2000Md + 33Sd + INT (Sd / 3) + Fd ... b.

【0019】また、ドロップフレーム(ビデオフレー
ム)及びDATフレームは、下記の式1及び式2である
ので、
The drop frame (video frame) and the DAT frame are given by the following equations (1) and (2).

【0020】[0020]

【数1】 (Equation 1)

【0021】[0021]

【数2】 (Equation 2)

【0022】両者の「フレーム総数×フレーム周期」の
差Roは、フレーム周期をFs(48KHz サンプル時)で
表現すると、 Ro=1601.6×i−(1440×j−Rj) … で与えられる。ただし、Rjは現在(DATのjフレー
ムでの)のドロップフレーム(ビデオフレーム)とDA
Tフレームの位相差であり、前記したタイムコード変換
装置の位相検出部8から出力されたものである。式に
a,b式を代入して、Roを求める時、近似DATタ
イムコード=ドロップフレームタイムコードと仮定で
き、これを改めてH:M:S:Fとおき、また、NTS
C(29.97Hz )の900 フレーム=DAT(33.3Hz)の10
01フレームの条件があるので、の演算は簡略化でき
る。さらに、小数点演算をなくすため、式を5倍して
まとめると、 5Ro=8008i−(7200j− 5Rj) =−864 H−1616M+2640S+ 808F+8008×2×INT(M/10) −7200INT(S/3)+ 5Rj … となる。
The difference Ro between “the total number of frames × the frame period” is given by Ro = 1601.6 × i− (1440 × j−Rj) when the frame period is expressed by Fs (at the time of 48 KHz sampling). Where Rj is the current drop frame (video frame) (at j frame of DAT) and DA
The phase difference between T frames, which is output from the phase detector 8 of the time code converter. When Ro is obtained by substituting the a and b equations into the equation, it can be assumed that approximate DAT time code = drop frame time code, which is set again as H: M: S: F, and NTS
900 frames of C (29.97Hz) = 10 of DAT (33.3Hz)
Since there is a condition of 01 frame, the calculation can be simplified. Further, to eliminate the decimal point calculation, the expression is multiplied by 5 to summarize: 5Ro = 8008i− (7200j−5Rj) = − 864 H-1616M + 2640S + 808F + 8008 × 2 × INT (M / 10) −7200INT (S / 3) + 5Rj ...

【0023】c)式に近似DATタイムコードを代入し
て、算出すると、5Roが求まる。0≦Ro<DATフ
レーム周期の条件を満たすように、近似DATタイムコ
ードの値を加減する。具体的には、 0≦5Ro<1440×5 … の条件を満たすべく、 ア)7200≦5Roの場合は近似DATタイムコードをイ
ンクリメントして、5Roから1440×5 を減じる。 イ)5Ro<0 の場合は近似DATタイムコードをデ
クリメントして、5Roに1440×5 を加える これを繰り返し、5Roが式を満足したときのDAT
タイムコードが、ドロップフレームタイムコードに対応
した正確なDATタイムコードである(図3の関係を満
たした状態となる)。
By substituting the approximate DAT time code into the expression c) and calculating, 5Ro is obtained. The value of the approximate DAT time code is adjusted so as to satisfy the condition of 0 ≦ Ro <DAT frame period. Specifically, in order to satisfy the condition of 0 ≦ 5Ro <1440 × 5... A) In the case of 7200 ≦ 5Ro, the approximate DAT time code is incremented and 1440 × 5 is subtracted from 5Ro. B) When 5Ro <0, the approximate DAT time code is decremented and 1440 × 5 is added to 5Ro. This is repeated, and the DAT when 5Ro satisfies the expression is repeated.
The time code is an accurate DAT time code corresponding to the drop frame time code (the state satisfies the relationship of FIG. 3).

【0024】また、上記の加減によって得られるRo
は、タイムコードが00:00:00:00 時のドロップフレーム
(ビデオフレーム)とDAT総フレーム数の位相差とな
る。これはタイムコード・マーカと呼ばれ、再生時に参
照される。
Further, Ro obtained by the above adjustment is obtained.
Is the phase difference between the drop frame (video frame) at time code 00: 00: 00: 00 and the total number of DAT frames. This is called a time code marker and is referred to during reproduction.

【0025】このようなタイムコード変換によれば、変
換時点でのビデオフレームとDATフレームの位相差を
利用して変換するので、ドロップフレームタイムコード
とDATタイムコードの総フレーム数を算出する必要が
なく、従来のタイムコード変換方法と比較して、乗算・
除算を減らすことができる。
According to such time code conversion, since the conversion is performed using the phase difference between the video frame and the DAT frame at the time of conversion, it is necessary to calculate the total number of frames of the drop frame time code and the DAT time code. No multiplication / comparison compared with the conventional time code conversion method
Division can be reduced.

【0026】また、タイムコード・マーカ(00:00:00:0
0 時のビデオフレームとDAT総フレーム数の位相差)
をタイムコード変換と同時に算出できる。
The time code marker (00: 00: 00: 0)
Phase difference between the video frame at 0 and the total number of DAT frames)
Can be calculated simultaneously with the time code conversion.

【0027】(タイムコード変換方法の具体的手順)タ
イムコード変換方法の具体的手順を図1及び図2のフロ
ーチャートを参照して説明する。 図1のステップ100〜ステップ105は、ノンドロッ
プフレームからドロップフレームへの変換ステップであ
る。 [ステップ100]フレーム差g(g= 108Hn + 2M
n − 2INT(Md/10) )を算出する。 [ステップ101]フレーム差gをドロップフレームの
規則で、分/秒/フレームに変換する。 [ステップ102]近似したドロップフレームタイムコ
ードを算出する。 [ステップ103]ドロップフレームの規則にもとずい
て補正し、近似ドロップフレームタイムコードとする。 [ステップ104]ノンドロップフレームタイムコード
と近似ドロップフレームタイムコードの正確なフレーム
差dを求める。 [ステップ105]フレーム差dを近似ドロップフレー
ムタイムコードに加算する。ドロップフレームタイムコ
ードが求められる。
(Specific Procedure of Time Code Conversion Method) The specific procedure of the time code conversion method will be described with reference to the flowcharts of FIGS. Steps 100 to 105 in FIG. 1 are conversion steps from a non-drop frame to a drop frame. [Step 100] Frame difference g (g = 108Hn + 2M)
n-2INT (Md / 10)) is calculated. [Step 101] The frame difference g is converted into minutes / seconds / frames according to the rule of a drop frame. [Step 102] An approximate drop frame time code is calculated. [Step 103] Correction is performed based on the rule of the drop frame to obtain an approximate drop frame time code. [Step 104] An accurate frame difference d between the non-drop frame time code and the approximate drop frame time code is obtained. [Step 105] The frame difference d is added to the approximate drop frame time code. Drop frame time code is required.

【0028】図2のステップ201〜ステップ205
は、ノンドロップフレームからドロップフレームへの変
換ステップである。 [ステップ201]ステップ105で求められたドロッ
プフレームタイムコードから、DATタイムコードの近
似値を仮定する。Hd=Hs,Md=Ms,Sd=Ss,Fd=Fs と
近似する。 [ステップ202](フレーム総数×フレーム周期)の
差Ro(5Ro)を算出する。 [ステップ203,204]0≦Ro<DATフレーム
の条件を満たすように、近似DATタイムコードの値を
加減する。 [ステップ205]DATタイムコード及びタイムコー
ド・マーカが確定算出される。ノンドロップフレームタ
イムコードからDATタイムコードに最終変換される。
Steps 201 to 205 in FIG.
Is a conversion step from a non-drop frame to a drop frame. [Step 201] An approximate value of the DAT time code is assumed from the drop frame time code obtained in step 105. Hd = Hs, Md = Ms, Sd = Ss, and Fd = Fs. [Step 202] A difference Ro (5Ro) of (total number of frames × frame period) is calculated. [Steps 203 and 204] The value of the approximate DAT time code is adjusted so as to satisfy the condition of 0 ≦ Ro <DAT frame. [Step 205] A DAT time code and a time code marker are determined and calculated. The non-drop frame time code is finally converted to a DAT time code.

【0029】このように、本タイムコード変換によれ
ば、従来のタイムコード変換方法と比較して、タイムコ
ードの総フレーム数を算出する必要がないので、乗算・
除算が大幅に減り、ハードウエア・ソフトウエアの負担
が少ない構成で、かつ、ノンドロップフレームタイムコ
ードからDATタイムコードへ正確に変換することがで
きる。
As described above, according to the present time code conversion, it is not necessary to calculate the total number of frames of the time code as compared with the conventional time code conversion method.
The number of divisions is greatly reduced, and the load on hardware and software is reduced, and non-drop frame time code can be accurately converted to DAT time code.

【0030】[0030]

【発明の効果】以上詳述したように、本発明になるタイ
ムコード変換方法は、第1のフレーム周期のノンドロッ
プフレームタイムコードを、第2のフレーム周期のタイ
ムコードに変換する方法であって、第1のフレーム周期
のノンドロップフレームタイムコードから、第1のフレ
ーム周期のドロップフレームタイムコードを求めるステ
ップと、前記第1のフレーム周期のドロップフレームタ
イムコードから、第2のフレーム周期のタイムコードを
求めるステップとからなるものであるから、従来のタイ
ムコード変換方法と比較して、ハードウエア・ソフトウ
エアの負担が少ない構成で、かつ、ノンドロップフレー
ムタイムコードからDATタイムコードへ正確に変換す
ることができる。
As described above in detail, the time code conversion method according to the present invention is a method for converting a non-drop frame time code of a first frame period into a time code of a second frame period. Obtaining a drop frame time code of a first frame period from the non-drop frame time code of the first frame period; and obtaining a time code of a second frame period from the drop frame time code of the first frame period. , So that the hardware and software load is less than that of the conventional time code conversion method, and the non-drop frame time code is accurately converted to the DAT time code. be able to.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明になるタイムコード変換方法の一実施例
を示すフローチャートで、ノンドロップフレームタイム
コードからドロップフレームタイムコードへの変換を示
す図である。
FIG. 1 is a flowchart showing one embodiment of a time code conversion method according to the present invention, showing conversion from a non-drop frame time code to a drop frame time code.

【図2】本発明になるタイムコード変換方法の一実施例
を示すフローチャートで、ドロップフレームタイムコー
ドからDATタイムコードへの変換を示す図である。
FIG. 2 is a flowchart showing one embodiment of a time code conversion method according to the present invention, showing conversion from a drop frame time code to a DAT time code.

【図3】本発明になるタイムコード変換方法(ドロップ
フレームタイムコードからDATタイムコードへの変
換)の原理を説明する図である。
FIG. 3 is a diagram illustrating the principle of a time code conversion method (conversion from a drop frame time code to a DAT time code) according to the present invention.

【図4】本発明になるタイムコード変換方法が使用され
るタイムコード変換装置の構成図である。
FIG. 4 is a configuration diagram of a time code conversion device using the time code conversion method according to the present invention.

【符号の説明】[Explanation of symbols]

T タイムコード変換装置 2a 第1のタイムコード変換部 2b 第2のタイムコード変換部 6 位相検出部 100 フレーム差gを算出するステップ 103 近似ドロップフレームタイムコードを算出する
ステップ 104 正確なフレーム差dを求めるステップ 105 フレーム差dを近似ドロップフレームタイムコ
ードに加算するステップ 200 近似DATタイムコードの値を算出するステッ
プ 201 両フレーム(フレーム総数×フレーム周期)の
差Ro(5Ro)を算出するステップ 202,203 条件を満たすように、近似DATタイ
ムコードの値を加減するステップ
T Time code conversion device 2a First time code conversion unit 2b Second time code conversion unit 6 Phase detection unit 100 Step of calculating frame difference g 103 Step of calculating approximate drop frame time code 104 Exact frame difference d Determining step 105 adding the frame difference d to the approximate drop frame time code 200 calculating the approximate DAT time code value 201 calculating the difference Ro (5Ro) between both frames (total number of frames × frame period) 202, 203 Step of adjusting the value of the approximate DAT time code so as to satisfy the condition

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ノンドロップフレームタイムコードを、ド
ロップフレームタイムコードに変換する方法であって、 前記ノンドロップフレームタイムコードを前記ドロップ
フレームタイムコードの近似値とするステップと、 前記ノンドロップフレームタイムコードのフレーム総数
を求めるステップと、 前記ドロップフレームタイムコードのフレーム総数を求
めるステップと、 前記ノンドロップフレームタイムコードのフレーム総数
と前記ドロップフレームタイムコードのフレーム総数と
の差を、前記ドロップフレームタイムコードの近似値に
加算するステップとからなることを特徴とするタイムコ
ード変換方法。
1. A method of converting a non-drop frame time code into a drop frame time code, wherein the non-drop frame time code is an approximate value of the drop frame time code; Determining the total number of frames of the drop frame time code; and calculating the difference between the total number of frames of the non-drop frame time code and the total number of frames of the drop frame time code. Adding to an approximate value.
【請求項2】第1のフレーム周期のノンドロップフレー
ムタイムコードを、第2のフレーム周期のタイムコード
に変換する方法であって、 前記第1のフレーム周期のノンドロップフレームタイム
コードを第1のフレーム周期のドロップフレームタイム
コードの近似値とするステップと、 前記第1のフレーム周期のノンドロップフレームタイム
コードのフレーム総数を求めるステップと、 前記第1のフレーム周期のドロップフレームタイムコー
ドのフレーム総数を求めるステップと、 前記第1のフレーム周期のノンドロップフレームタイム
コードのフレーム総数と前記第1のフレーム周期のドロ
ップフレームタイムコードのフレーム総数との差を、前
記第1のフレーム周期のドロップフレームタイムコード
の近似値に加算して、前記第1のフレーム周期のドロッ
プフレームタイムコードを求めるステップと、 前記第1のフレーム周期のドロップフレームタイムコー
ドから、前記第2のフレーム周期のタイムコードを求め
るステップとからなることを特徴とするタイムコード変
換方法。
2. A method for converting a non-drop frame time code of a first frame period into a time code of a second frame period, the method comprising: converting the non-drop frame time code of the first frame period to a first frame period. Making the approximate value of the drop frame time code of the frame cycle; calculating the total number of frames of the non-drop frame time code of the first frame cycle; and calculating the total number of frames of the drop frame time code of the first frame cycle. Determining the difference between the total number of frames of the non-drop frame time code of the first frame period and the total number of frames of the drop frame time code of the first frame period by the drop frame time code of the first frame period. Is added to the approximate value of A time code conversion method comprising: obtaining a drop frame time code of a frame cycle; and obtaining a time code of a second frame cycle from the drop frame time code of the first frame cycle.
【請求項3】第1のフレーム周期のノンドロップフレー
ムタイムコードを、第2のフレーム周期のタイムコード
に変換する方法であって、 前記第1のフレーム周期のノンドロップフレームタイム
コードから、第1のフレーム周期のドロップフレームタ
イムコードを求めるステップと、 前記第1のフレーム周期のドロップフレームタイムコー
ドを前記第2のフレーム周期のタイムコードの近似値と
するステップと、 前記第1のフレーム周期のタイムコードと、前記第2の
フレーム周期のタイムコードの近似値と、変換時点にお
ける前記第1のフレーム周期のフレームと前記第2のフ
レーム周期のフレームの位相差とから、両フレームの差
を求めるステップと、 この両フレームの差が前記第2のフレーム周期より小さ
くなるまで、前記第2のフレーム周期のタイムコードの
近似値に前記第2のフレーム周期の1フレーム分の加算
又は減算を繰り返すステップとからなることを特徴とす
るタイムコード変換方法。
3. A method for converting a non-drop frame time code of a first frame period into a time code of a second frame period, comprising: Obtaining the drop frame time code of the first frame period; and setting the drop frame time code of the first frame period to an approximate value of the time code of the second frame period. Determining a difference between the two frames from a code, an approximate value of a time code of the second frame period, and a phase difference between the frames of the first and second frame periods at the time of conversion. And until the difference between the two frames becomes smaller than the second frame period. Repeating the addition or subtraction of one frame of the second frame period to or from the approximate value of the time code of the frame period.
【請求項4】第1のフレーム周期のノンドロップフレー
ムタイムコードを、第2のフレーム周期のタイムコード
に変換する方法であって、 前記第1のフレーム周期のノンドロップフレームタイム
コードを第1のフレーム周期のドロップフレームタイム
コードの近似値とするステップと、 前記第1のフレーム周期のノンドロップフレームタイム
コードのフレーム総数を求めるステップと、 前記第1のフレーム周期のドロップフレームタイムコー
ドのフレーム総数を求めるステップと、 前記第1のフレーム周期のノンドロップフレームタイム
コードのフレーム総数と前記第1のフレーム周期のドロ
ップフレームタイムコードのフレーム総数との差を、前
記第1のフレーム周期のドロップフレームタイムコード
の近似値に加算して、前記第1のフレーム周期のドロッ
プフレームタイムコードを求めるステップと、 前記第1のフレーム周期のドロップフレームタイムコー
ドを前記第2のフレーム周期のタイムコードの近似値と
するステップと、 前記第1のフレーム周期のタイムコードと、前記第2の
フレーム周期のタイムコードの近似値と、変換時点にお
ける前記第1のフレーム周期のフレームと前記第2のフ
レーム周期のフレームの位相差とから、両フレームの差
を求めるステップと、 この両フレームの差が前記第2のフレーム周期より小さ
くなるまで、前記第2のフレーム周期のタイムコードの
近似値に前記第2のフレーム周期の1フレーム分の加算
又は減算を繰り返すステップとからなることを特徴とす
るタイムコード変換方法。
4. A method for converting a non-drop frame time code of a first frame period into a time code of a second frame period, wherein the non-drop frame time code of the first frame period is converted to a first time code of a first frame period. Making the approximate value of the drop frame time code of the frame cycle; calculating the total number of frames of the non-drop frame time code of the first frame cycle; and calculating the total number of frames of the drop frame time code of the first frame cycle. Determining the difference between the total number of frames of the non-drop frame time code of the first frame period and the total number of frames of the drop frame time code of the first frame period by the drop frame time code of the first frame period. Is added to the approximate value of Obtaining a drop frame time code of a frame cycle; making the drop frame time code of the first frame cycle an approximate value of the time code of the second frame cycle; and a time code of the first frame cycle. Determining the difference between the two frames from the approximate value of the time code of the second frame period, and the phase difference between the frames of the first and second frame periods at the time of conversion. Repeating the addition or subtraction of one frame of the second frame period to the approximate value of the time code of the second frame period until the difference between the two frames becomes smaller than the second frame period. A time code conversion method, comprising:
JP13555392A 1992-03-31 1992-03-31 Timecode conversion method Expired - Lifetime JP2776144B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13555392A JP2776144B2 (en) 1992-03-31 1992-03-31 Timecode conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13555392A JP2776144B2 (en) 1992-03-31 1992-03-31 Timecode conversion method

Publications (2)

Publication Number Publication Date
JPH05282851A JPH05282851A (en) 1993-10-29
JP2776144B2 true JP2776144B2 (en) 1998-07-16

Family

ID=15154492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13555392A Expired - Lifetime JP2776144B2 (en) 1992-03-31 1992-03-31 Timecode conversion method

Country Status (1)

Country Link
JP (1) JP2776144B2 (en)

Also Published As

Publication number Publication date
JPH05282851A (en) 1993-10-29

Similar Documents

Publication Publication Date Title
JP3094903B2 (en) Television signal conversion device and image coding device
EP0352338B1 (en) Apparatus for recording or reproducing time code and time code convertor
JP2776144B2 (en) Timecode conversion method
US5146448A (en) Time code recording or reproducing apparatus and time code converter
KR100639403B1 (en) Recording and reproduction of an information signal in/from a track on a record carrier
JP3360883B2 (en) Video processing apparatus and method
JP2776116B2 (en) Timecode conversion method
US4812987A (en) Wave shaping circuit
JPH01264686A (en) Method for converting time code
US7212733B2 (en) Image signal processing device
JPS5936326B2 (en) Jikanjikugosahoseisouchi
JPH0296995A (en) Time code converter
JPS5942365B2 (en) Compression/expansion method
JPH01232889A (en) Time code converter
JP2002525784A (en) Interference detection in data signals
JP2773995B2 (en) Multiplexed magnetic recording / reproducing device
JP3204261B2 (en) Television signal conversion device and image coding device
JP2940342B2 (en) Data reproduction device
JP3252298B2 (en) Sampling rate converter
JPS63113982A (en) Digital signal detecting circuit
JPH07105630A (en) Speech signal processor
JPS6243266B2 (en)
JPS5954321A (en) Analog-digital converter
JPH09284720A (en) Recording device and method
JPH06205350A (en) Automatic tracking control method and magnetic recording and reproducing device using the method