JP4861221B2 - RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF - Google Patents

RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF Download PDF

Info

Publication number
JP4861221B2
JP4861221B2 JP2007070665A JP2007070665A JP4861221B2 JP 4861221 B2 JP4861221 B2 JP 4861221B2 JP 2007070665 A JP2007070665 A JP 2007070665A JP 2007070665 A JP2007070665 A JP 2007070665A JP 4861221 B2 JP4861221 B2 JP 4861221B2
Authority
JP
Japan
Prior art keywords
recording
unit
control information
information
time stamp
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.)
Active
Application number
JP2007070665A
Other languages
Japanese (ja)
Other versions
JP2008236161A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007070665A priority Critical patent/JP4861221B2/en
Publication of JP2008236161A publication Critical patent/JP2008236161A/en
Application granted granted Critical
Publication of JP4861221B2 publication Critical patent/JP4861221B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

技術分野は、記録された映像を再生する映像再生装置及び記録された映像ファイルの加工方法に関する。   The technical field relates to a video playback device that plays back recorded video and a method for processing a recorded video file.

近年、テレビ放送の分野においては、従来のアナログ放送からデジタル放送に移行しようとしてきている。   In recent years, in the field of television broadcasting, there has been an attempt to shift from conventional analog broadcasting to digital broadcasting.

特許文献1には、「放送情報の再生の利便性を高めつつ再生すべき放送情報を正確に特定して再生することが可能となるように放送情報を記録することができる情報記録装置等を提供する」ことを課題とし、その解決手段として「放送情報に含まれているパケットを複数含むアロケーションユニットALUの最初のパケットの受信時刻と最後のパケットの受信時刻とによりアロケーションユニットALU単位で再生時の時間管理を行うと共に、当該パケット内に含まれているIピクチャの表示時刻情報又はその受信時刻情報に基づいて当該Iピクチャを含むアクセスユニット単位でも当該時間管理を行う」ことが開示されている。   Patent Document 1 discloses an “information recording apparatus and the like that can record broadcast information so that broadcast information to be reproduced can be accurately identified and reproduced while improving the convenience of reproducing broadcast information. As a means for solving this problem, “when reproducing in allocation unit ALU units according to the reception time of the first packet and the reception time of the last packet of the allocation unit ALU including a plurality of packets included in the broadcast information. Is also managed in units of access units including the I picture based on the display time information of the I picture included in the packet or the reception time information thereof ”. .

特開2003−257157号公報JP 2003-257157 A

デジタル放送では、画像データを圧縮して送信する画像圧縮技術を用いることができ、デジタル放送の画像圧縮技術の事実上の標準としては、MPEG技術が広く普及している。   In digital broadcasting, an image compression technique for compressing and transmitting image data can be used, and MPEG technology is widely used as a de facto standard for digital broadcast image compression techniques.

MPEG技術を採用したデジタルテレビ放送では、比較的に短い伝送単位(トランスポートパケット)によって時分割多重して、MPEG2―TS(トランスポートストリーム)として、放送局から受信機まで伝送される。   In digital television broadcasting employing MPEG technology, time-division multiplexing is performed using a relatively short transmission unit (transport packet), and transmitted as MPEG2-TS (transport stream) from a broadcasting station to a receiver.

MPEG2の規格では、映像および音声データ(AVデータ)は符号化(エンコード)され、エンコードされたデータは、複数のトランスポートパケットからなるMPEG2―TSとして伝送される。   In the MPEG2 standard, video and audio data (AV data) is encoded (encoded), and the encoded data is transmitted as MPEG2-TS composed of a plurality of transport packets.

受信機で受信されたMPEG2―TSは、デコーダによって復号(デコード)され、AVデータとして表示画面・音声出力装置に出力される。   The MPEG2-TS received by the receiver is decoded (decoded) by the decoder and output as AV data to the display screen / audio output device.

また、受信されたMPEG2―TSは、一時的に、HDD(ハードディスクドライブ)、光ディスク、光磁気ディスク、および、磁気ディスクなどのディスクを利用した蓄積メディアや、半導体を利用した例えばカード状の蓄積メディア(半導体メモリ)などの記録装置・メディアに記録されて、視聴者の操作などによって、視聴者の望んだときに再生して、視聴されることもできる。このとき、ユーザは再生時に、早送り再生、巻戻し再生、ジャンプ再生などの特殊再生をおこなうことができる。   The received MPEG2-TS is temporarily stored in a storage medium using a disk such as an HDD (hard disk drive), an optical disk, a magneto-optical disk, or a magnetic disk, or in a card-shaped storage medium using a semiconductor. It can be recorded on a recording device / media such as a (semiconductor memory), and can be played back and viewed at the viewer's request by the operation of the viewer. At this time, the user can perform special playback such as fast-forward playback, rewind playback, and jump playback during playback.

ここで、映像データ、音声データ等のAVストリームコンテンツの記録媒体に記憶するときのデータ構造の一例を、図7ないし図9を用いて説明する。
図7は、TTS(Time stamped Transport Stream packet)パケットの一例を示す模式図である。
図8は、記録媒体に記憶するAVストリームにおけるTTSパケット、AU(Allocation Unit)の関係の一例を示す模式図である。
図9は、記録媒体に記憶するAVストリームのAU、Iピクチャとそれに付随する情報(SI)の関係の一例を示す模式図である。
Here, an example of a data structure when storing in a recording medium of AV stream contents such as video data and audio data will be described with reference to FIGS.
FIG. 7 is a schematic diagram illustrating an example of a TTS (Time Stamped Transport Stream packet) packet.
FIG. 8 is a schematic diagram illustrating an example of a relationship between a TTS packet and an AU (Allocation Unit) in an AV stream stored in a recording medium.
FIG. 9 is a schematic diagram showing an example of the relationship between AU and I pictures of an AV stream stored in a recording medium and information (SI) associated therewith.

図7に示されるように、MPEG規格における188バイトの長さのトランスポートパケット(TSパケット)は、先頭に4バイトの時間情報(例えば、受信機がトランスポートパケットを受信した時刻)(以下では、ATS:Arrival Time Stampと記述する)が付加され、192バイトの長さのTTS(Time stamped Transport Stream packet)パケットとして、HDDなどの記録媒体に記録される。時間情報のATSには、そのトランスポートパケットが到着したときのタイムスタンプ情報が保持される。MPEG規格のTSパケットは、先頭4バイトのヘッダと、それに続く184バイトのペイロード(または、アダプテーションフィールド)からなる。ヘッダには、パケットID(PID)が格納されており、各パケットを識別する。また、MPEG規格として、PIDとプログラムを対応付けるプログラムマップテーブル(PMT)を有しており、ビデオ、オーディオの区別や、番組提供者がストリームを識別するときに用いることができる。   As shown in FIG. 7, a transport packet (TS packet) having a length of 188 bytes in the MPEG standard has time information of 4 bytes at the head (for example, time when the receiver receives the transport packet) , ATS: described as Arrival Time Stamp), and is recorded on a recording medium such as an HDD as a TTS (Time Stamped Transport Stream packet) packet having a length of 192 bytes. The time information ATS holds time stamp information when the transport packet arrives. The MPEG standard TS packet is composed of a header of the first 4 bytes, followed by a payload of 184 bytes (or an adaptation field). A packet ID (PID) is stored in the header, and each packet is identified. In addition, as an MPEG standard, it has a program map table (PMT) that associates PIDs with programs, and can be used to distinguish between video and audio or when a program provider identifies a stream.

図8に示されるように、例えば、TTSパケットが8192個集まって、AU(Allocation Unit)を構成する。各々のAUのサイズは、約1.5Mバイトになる。   As shown in FIG. 8, for example, 8192 TTS packets are collected to form an AU (Allocation Unit). The size of each AU will be about 1.5 Mbytes.

AU内のTTSパケットには、トランスポートパケットのペイロードに上記のIピクチャを含むTTSパケットが存在する。   The TTS packet in the AU includes a TTS packet including the I picture in the payload of the transport packet.

SI(Stream Information)は、上記AU単位で記録媒体に記録されたAVストリームの再生時のサーチ・アクセス単位を管理する情報でありAUとは別ファイルとして記録されている、Iピクチャ、GOPなどの位置に関する情報は、SIに記録される。ここで、Iピクチャは、GOP(Group of Pictures)の中で独立性を保ち、他のフレーム(ピクチャ)のデータを参照せずに符号化をおこなうフレーム(ピクチャ)であり、このIピクチャを利用して、早送りなどの特殊再生をスムーズにおこなうことができる。   SI (Stream Information) is information for managing the search / access unit at the time of reproduction of the AV stream recorded on the recording medium in the AU unit, and is recorded as a file separate from the AU, such as an I picture and a GOP. Information about the position is recorded in the SI. Here, the I picture is a frame (picture) which is independent in GOP (Group of Pictures) and is encoded without referring to data of other frames (pictures). Thus, special playback such as fast-forwarding can be performed smoothly.

一方、AUの管理情報を記録するファイルが、AUI(Allocation Unit Information)である。AUIには、AUの最初のTTSパケットが、到着した時刻(例えば、受信機がトランスポートパケットを受信した時刻)がTS(Timestamp)情報として記録される。AU、AUI、SIは全て別ファイルで構成される。   On the other hand, a file for recording AU management information is AUI (Allocation Unit Information). In the AUI, the time when the first TTS packet of the AU arrives (for example, the time when the receiver receives the transport packet) is recorded as TS (Timestamp) information. AU, AUI, and SI are all configured as separate files.

ここで、リムーバブルメディアに対応したデジタル記録の規格を定めようという動きがある。ところが、現在のところ、そのような規格においては、上記SIの情報は、必須ではなく、オプション扱いである。これは、特に異なったメーカ間で、リムーバブルメディアなどでMPEGで符号化されたデジタル放送の録画データをやり取りする場合に、特殊再生がスムーズにできないなどの問題点が生じる恐れがある。   Here, there is a movement to determine a digital recording standard corresponding to removable media. However, at present, in such a standard, the SI information is not essential but is treated as an option. This may cause a problem that special reproduction cannot be smoothly performed especially when exchanging digital broadcast recording data encoded in MPEG using a removable medium between different manufacturers.

また、上記のTTSパケットの先頭に付加するタイムスタンプであるATSは、装置側でつけるものであるが、装置のクロックのずれ、あるいはネットワークを介して入力されたコンテンツデータがネットワークのトラフィックの問題でデータ処理が適切に行えないなどにより、正しく付加されない場合もあり、そのようなときにも、録画データの互換性に問題が生じる。   The ATS, which is a time stamp added to the head of the above TTS packet, is attached on the device side. However, due to a network traffic problem, the device data is shifted or the content data input via the network is a problem. In some cases, the data is not correctly added due to the fact that data processing cannot be performed properly. In such a case, there is a problem in compatibility of the recorded data.

本発明の一実施の態様は、コンテンツにそのコンテンツの制御情報が含まれていない場合、当該コンテンツの制御情報を作成する。具体的には、映像記録再生装置の録画ファイル加工方法では、録画ファイルを再生するとき、また、リムーバブルメディアに格納された録画ファイルを最初にアクセスするときに、SIのような表示のための制御情報を持つか否かをチェックして、その録画ファイルがSIのような表示のための制御情報を持たないときには、その録画ファイルからSIのような表示のための制御情報を作成し、その録画ファイルと共に格納する。   According to an embodiment of the present invention, when the content does not include control information for the content, the control information for the content is generated. Specifically, in the recording file processing method of the video recording / reproducing apparatus, when a recorded file is reproduced, or when a recorded file stored in a removable medium is first accessed, control for display such as SI is performed. If the recorded file does not have control information for display such as SI, the control information for display such as SI is created from the recorded file, and the recording is performed. Store with file.

また、TTSパケットの装置側で付与されるタイムスタンプ情報が正しいものであるか否かをチェックして、誤りがあるときには、放送局側の基準に基づいたタイムスタンプにより修正する。   Also, it is checked whether or not the time stamp information given on the device side of the TTS packet is correct, and if there is an error, it is corrected with a time stamp based on the standard on the broadcasting station side.

上記手段によれば、記録された映像をスムーズに再生する再生装置を提供することができる。   According to the above means, it is possible to provide a playback apparatus that smoothly plays back recorded video.

以下、本発明に係る各実施形態を、図1ないし図5を用いて説明する。   Embodiments according to the present invention will be described below with reference to FIGS.

〔実施形態1〕
以下、本発明に係る第一の実施形態を、図1ないし図3を用いて説明する。
Embodiment 1
Hereinafter, a first embodiment according to the present invention will be described with reference to FIGS. 1 to 3.

先ず、図1を用いて第一の実施形態に係る映像記録再生装置の構成を説明する。
図1は、第一の実施形態に係る映像記録再生装置の構成の一例を示すブロック図である。
First, the configuration of the video recording / reproducing apparatus according to the first embodiment will be described with reference to FIG.
FIG. 1 is a block diagram showing an example of the configuration of the video recording / playback apparatus according to the first embodiment.

本実施形態の映像記録再生装置は、デジタル放送を受信して、記録と再生をおこなう映像記録再生装置である。また、画像圧縮技術の例としては、MPEG(Moving Picture Experts Group)方式によって符号化され多重化された信号を扱う場合について説明する。   The video recording / playback apparatus according to the present embodiment is a video recording / playback apparatus that receives a digital broadcast and performs recording and playback. As an example of the image compression technique, a case will be described in which a signal encoded and multiplexed by the MPEG (Moving Picture Experts Group) method is handled.

本構成例は、各々をハードウェアの要素として記載しているが、一部をソフトウェアで実現してもよい。また、VOD(Video On Demand)等といった特定ユーザに映像コンテンツ、音声コンテンツ等を送信することに適用してもよい。これらを総称して配信ともいう。   In this configuration example, each is described as a hardware element, but a part may be realized by software. Further, the present invention may be applied to transmitting video content, audio content, and the like to a specific user such as VOD (Video On Demand). These are collectively called distribution.

図1に示される本実施形態の映像記録再生装置は、記録再生部10、制御部114(例えば、CPU(Central Processing Unit))、ユーザインタフェース部115(例えば、入力装置として、キーボード、マウスまたはリモコン等)からなる。   The video recording / reproducing apparatus of the present embodiment shown in FIG. 1 includes a recording / reproducing unit 10, a control unit 114 (for example, a CPU (Central Processing Unit)), and a user interface unit 115 (for example, a keyboard, a mouse, or a remote controller as an input device). Etc.).

制御部114は、バス部で本映像記録再生装置の各部(記録再生部10を含む)と接続されており、映像記録再生装置全体の動作を制御する。また、ユーザインタフェース部115のリモコンなどを介してユーザから種々の命令信号を受け、その命令信号に基づいてバス部を介して接続された各部を制御することで、種々の処理を実行する。   The control unit 114 is connected to each unit (including the recording / reproducing unit 10) of the video recording / reproducing apparatus via a bus unit, and controls the operation of the entire video recording / reproducing apparatus. In addition, various processing signals are received by receiving various command signals from the user via the remote control of the user interface unit 115 and controlling each unit connected via the bus unit based on the command signals.

記録再生部10は、チューナ復号部101、セレクタ102、分離・抽出部103(例えば、デマルチプレクサ)、入力バッファ104、復号部105(例えば、MPEGデコーダ)、ネットワークインタフェース部106、バッファ管理部107、クロック再生部108、タイムスタンプ比較/出力部109、タイムスタンプ付加部110、読み出し部111、書き込み部112、記録媒体113、出力部116、固定クロック発生部117(例えば、水晶発振器)、制御情報作成部201からなる。   The recording / reproducing unit 10 includes a tuner decoding unit 101, a selector 102, a separation / extraction unit 103 (for example, a demultiplexer), an input buffer 104, a decoding unit 105 (for example, an MPEG decoder), a network interface unit 106, a buffer management unit 107, Clock reproduction unit 108, time stamp comparison / output unit 109, time stamp addition unit 110, reading unit 111, writing unit 112, recording medium 113, output unit 116, fixed clock generation unit 117 (for example, crystal oscillator), control information generation Part 201.

ここで、記録媒体113は、例えば、ハードディスク、半導体メモリ、光ディスク、光磁気ディスク、磁気ディスクなどのランダムアクセスが可能な媒体である。また、記録媒体は、リムーバブルHDD119のように取り外し可能なものでもよい。出力部116は、CRT(Cathode Ray Tube)、LCD(Liquid Crystal Display)、PDP(Plasma Display Panel)等を利用した表示部、スピーカ等による音声出力部、または他の表示装置等に映像データ/音声データを出力する出力端子等である。   Here, the recording medium 113 is a medium that can be randomly accessed, such as a hard disk, a semiconductor memory, an optical disk, a magneto-optical disk, and a magnetic disk. The recording medium may be a removable medium such as a removable HDD 119. The output unit 116 is a display unit using a CRT (Cathode Ray Tube), LCD (Liquid Crystal Display), PDP (Plasma Display Panel) or the like, an audio output unit using a speaker or the like, or other display devices, etc. An output terminal for outputting data.

なお、情報、PCR等の流れを表す線が交差している場所については、接触していないものとする。ただし、黒丸が付されている部分については接触があり、そこから分岐していることを示す。   In addition, it is assumed that no contact is made with respect to a place where lines representing flows of information, PCR, and the like intersect. However, the portion marked with a black circle is in contact and indicates that it has branched from there.

チューナ復号部101は、衛星、地上、ケーブルなどの放送伝送網を介して放送局からのデジタル放送信号を受信する。ユーザインタフェース部115のリモコンなどのユーザ操作部および制御部114を介して指定された物理的なあるいは仮想的なチャンネルの周波数に選局および検波処理を施す。さらに、デジタル復調および誤り訂正処理を施した後のMPEG2―TS(トランスポートストリーム)をセレクタ102へ出力する。   The tuner decoding unit 101 receives a digital broadcast signal from a broadcast station via a broadcast transmission network such as a satellite, the ground, and a cable. Channel selection and detection processing are performed on the frequency of a physical or virtual channel designated via a user operation unit such as a remote controller of the user interface unit 115 and the control unit 114. Further, the MPEG2-TS (transport stream) after digital demodulation and error correction processing is output to the selector 102.

セレクタ102は、制御部114からの制御に従い3入力1出力の選択処理をおこない、その出力を分離・抽出部103へ出力する。   The selector 102 performs a 3-input 1-output selection process in accordance with control from the control unit 114, and outputs the output to the separation / extraction unit 103.

分離・抽出部103は、ユーザインタフェース部115のリモコンなどのユーザ操作部および制御部114を介して指定されたチャンネル(番組)のトランスポートパケットを、入力されたMPEG2―TSから分離・抽出し、分離・抽出されたトランスポートパケットをタイムスタンプ付加部110へ出力する。また、分離・抽出部103は、ユーザインタフェース部115のリモコンなどのユーザ操作部および制御部114を介して指定されたチャンネル(番組)のトランスポートパケットから、映像と音声のPES(Packetized Elementary Stream)またはES(Elementary Stream)を分離・抽出し、入力バッファ104へ出力する。   The separation / extraction unit 103 separates / extracts the transport packet of the channel (program) designated via the user operation unit such as a remote controller of the user interface unit 115 and the control unit 114 from the input MPEG2-TS, The separated / extracted transport packet is output to time stamp adding section 110. Also, the separation / extraction unit 103 is a video and audio PES (Packetized Elementary Stream) from a transport packet of a channel (program) designated via a user operation unit such as a remote controller of the user interface unit 115 and the control unit 114. Alternatively, ES (Elementary Stream) is separated and extracted and output to the input buffer 104.

ここで、ESとは圧縮・符号化された画像・音声データのそれぞれのことであり、PESとは画像ESまたは音声ESを適当な大きさに分割してパケット化したものである。また、分離・抽出部103は、ユーザインタフェース部115のリモコンなどのユーザ操作部および制御部114を介して指定されたチャンネル(番組)のトランスポートパケットから、PCR(Program Clock Reference)を抽出し、クロック再生部108へ出力する。   Here, ES refers to each of compressed and encoded image / sound data, and PES refers to a packet obtained by dividing the image ES or sound ES into appropriate sizes. Further, the separation / extraction unit 103 extracts a PCR (Program Clock Reference) from a transport packet of a channel (program) designated via the user operation unit such as a remote controller of the user interface unit 115 and the control unit 114, The data is output to the clock reproduction unit 108.

入力バッファ104は、分離・抽出部103からの映像/音声のPESまたはESを一時格納する。復号部105は、入力バッファ104に格納されたPESまたはESに対応するDTS(Decoding Time Stamp)/PTS(Presentation Time Stamp)と、クロック再生部108からのSTC(System Time Clock)カウント値を比較し復号・表示タイミングを取ることにより入力バッファ104に格納された映像/音声のPESまたはESを取り出し復号し、復号された映像/音声は、出力部116へ出力される。   The input buffer 104 temporarily stores the video / audio PES or ES from the separation / extraction unit 103. The decoding unit 105 compares the DTS (Decoding Time Stamp) / PTS (Presentation Time Stamp) corresponding to the PES or ES stored in the input buffer 104 with the STC (System Time Clock) count value from the clock reproduction unit 108. By taking the decoding / display timing, the video / audio PES or ES stored in the input buffer 104 is extracted and decoded, and the decoded video / audio is output to the output unit 116.

出力部116は、復号された映像/音声を、出力装置である表示部/音声出力部にて再生する。または、出力端子(例えば、HDMI(High-Definition Multimedia Interface))等を介して他の表示装置等に映像/音声コンテンツデータ等を出力する。   The output unit 116 reproduces the decoded video / audio on the display unit / audio output unit which is an output device. Alternatively, video / audio content data or the like is output to another display device or the like via an output terminal (for example, HDMI (High-Definition Multimedia Interface)).

クロック再生部108は、PCRを利用し、例えば、放送局側の符号・多重化部のシステムクロックと周波数の一致した受信機のシステムクロックを再現する。再現したシステムクロックはクロック再生部108内部のSTCカウンタ、タイムスタンプ付加部110等に出力する。また、再現したシステムクロックにより動作するSTCカウンタのSTCカウント値を復号部105へ出力する。   The clock recovery unit 108 uses PCR to reproduce, for example, the system clock of the receiver whose frequency matches the system clock of the encoding / multiplexing unit on the broadcasting station side. The reproduced system clock is output to the STC counter in the clock recovery unit 108, the time stamp addition unit 110, and the like. In addition, the STC count value of the STC counter that operates based on the reproduced system clock is output to the decoding unit 105.

タイムスタンプ付加部110は、例えばクロック再生部108にて再現されたシステムクロック、あるいは水晶発振器をもとに動作するカウンタによりタイムスタンプを生成し、分離・抽出部103で分離・抽出されたトランスポートパケットにそれぞれタイムスタンプ(図7のATS)を付加して、書き込み部112へ出力する。   The time stamp adding unit 110 generates a time stamp by a counter operating based on a system clock reproduced by the clock reproducing unit 108 or a crystal oscillator, for example, and the transport separated and extracted by the separation / extraction unit 103 A time stamp (ATS in FIG. 7) is added to each packet and output to the writing unit 112.

書き込み部112は、タイムスタンプ付加部110でタイムスタンプが付加されたトランスポートパケットを記録媒体113に記録する処理をおこなう。この結果、あるチャネル(別の言い方をすれば、ある番組コンテンツ、ダウンロードしたコンテンツ)の映像/音声データが含まれた複数のタイムスタンプが付加されたトランスポートパケットを有する一つのストリームが、一つのデータファイルまたはそれが分割された2以上の断片データファイルとして記録媒体113に記憶される。   The writing unit 112 performs a process of recording the transport packet to which the time stamp is added by the time stamp adding unit 110 on the recording medium 113. As a result, one stream having a transport packet to which a plurality of time stamps including video / audio data of a certain channel (in other words, a certain program content and downloaded content) is added is one The data file or two or more fragment data files obtained by dividing the data file is stored in the recording medium 113.

なお、タイムスタンプとは、そのスタンプが付されるトランスポートパケットの時間的位置に関する時間情報とも言える。例えば、タイムスタンプ付加部110に分離・抽出部103からのトランスポートパケットが入力された時点の時刻、または、基準とされるあるトランスポートパケット(一例として、直前または最先頭のトランスポートパケット)との時間的差分であるとも言える。このタイムスタンプは、前述の通り、トランスポートパケットに予め含まれているタイムスタンプ(例えば、PCRやDTSやPTS)とは異なる。   The time stamp can also be said to be time information related to the temporal position of the transport packet to which the stamp is attached. For example, the time when the transport packet from the separation / extraction unit 103 is input to the time stamp adding unit 110, or a certain transport packet (for example, the immediately preceding or first transport packet) It can also be said that this is a time difference. As described above, this time stamp is different from a time stamp (for example, PCR, DTS, or PTS) included in advance in the transport packet.

バッファ管理部107は、入力バッファ104における復号部105で未処理のトランスポートパケットの量を監視し、その量に応じて読み出し部111の読み出し開始と停止を制御する。   The buffer management unit 107 monitors the amount of unprocessed transport packets by the decoding unit 105 in the input buffer 104, and controls the reading start and stop of the reading unit 111 according to the amount.

読み出し部111は、バッファ管理部107あるいは制御部114を介して制御され、ストリームに含まれている複数のタイムスタンプが付加されたトランスポートパケットを記録媒体113から次々に読み出し、タイムスタンプ比較/出力部109へ出力する。   The reading unit 111 is controlled via the buffer management unit 107 or the control unit 114, and sequentially reads transport packets added with a plurality of time stamps included in the stream from the recording medium 113, and compares and outputs the time stamps. Output to the unit 109.

タイムスタンプ比較/出力部109は、水晶発振器等の固定クロック再生部117を基に動作するカウンタのカウンタ値と、読み出し部111で読み出されたタイムスタンプが付加されたトランスポートパケットのタイムスタンプとを比較し、一致した場合、トランスポートパケットからタイムスタンプを削除(除去)し、セレクタ102、および、ネットワークインタフェース部106へ出力する。なお、上述のようにバッファ管理部107で入力バッファ104の残量を監視し、その量に応じて読み出し部111を制御している場合には、カウンタ値とタイムスタンプを比較せずにトランスポートパケットからタイムスタンプを削除し、セレクタ102、および、ネットワークインタフェース部106へ出力しても良い。特に、通常再生(1倍速再生)以外の再生時にはこの方法で出力した方が好ましい。   The time stamp comparison / output unit 109 includes a counter value of a counter that operates based on a fixed clock recovery unit 117 such as a crystal oscillator, and a time stamp of a transport packet to which the time stamp read by the reading unit 111 is added. If they match, the time stamp is deleted (removed) from the transport packet and output to the selector 102 and the network interface unit 106. As described above, when the remaining amount of the input buffer 104 is monitored by the buffer management unit 107 and the reading unit 111 is controlled according to the amount, the transport is performed without comparing the counter value with the time stamp. The time stamp may be deleted from the packet and output to the selector 102 and the network interface unit 106. In particular, it is preferable to output by this method at the time of reproduction other than normal reproduction (single speed reproduction).

ネットワークインタフェース部106は、回線(IEEE1394ケーブルやLANケーブルや無線等)を介して、出力先/入力元である他の装置(レコーダやディスプレイ等)が接続される。そして、タイムスタンプ比較/出力部109でタイムスタンプが削除された映像/音声等のトランスポートパケットを受け、それらのトランスポートパケットを、回線を介してそれぞれの伝送規格に沿った形式に変換して出力先である他の装置へ出力する。また、回線を介して入力元である他の装置から映像/音声等のデータをそれぞれの伝送規格に沿った形式で入力されてトランスポートパケットに変換し、セレクタ102へ出力する。ネットワークインタフェース部106は、複数あってもよい。   The network interface unit 106 is connected to another device (recorder, display, or the like) that is an output destination / input source via a line (IEEE1394 cable, LAN cable, wireless, or the like). The time stamp comparison / output unit 109 receives a transport packet such as video / audio from which the time stamp has been deleted, and converts the transport packet into a format according to each transmission standard via a line. Output to another device that is the output destination. Also, data such as video / audio is input from another device as an input source via a line in a format according to each transmission standard, converted into a transport packet, and output to the selector 102. There may be a plurality of network interface units 106.

また、制御情報作成部201は、AVストリームに対して、AUIやSIの制御情報を作成する部分である。   The control information creation unit 201 is a part that creates AUI and SI control information for the AV stream.

次に、図2Aないし図2C、および図3を用いて第一の実施形態に係る映像記録再生装置の録画ファイル加工方法について説明する。
図2Aないし図2Cは、第一の実施形態に係る映像記録再生装置の録画ファイル加工の手順を示すフローチャートである。
図3は、ユーザに録画ファイルの再構成を問い合わせる画面を示す図である。
Next, a recording file processing method of the video recording / playback apparatus according to the first embodiment will be described with reference to FIGS. 2A to 2C and FIG.
2A to 2C are flowcharts showing the procedure of recording file processing of the video recording / reproducing apparatus according to the first embodiment.
FIG. 3 is a diagram showing a screen for inquiring the user about the reconstruction of the recording file.

上記のようにSIなどの録画ファイルに対して生成される補助情報は、映像を録画してファイルに格納されるときに、映像データの制御情報として別ファイルとしてHDDなどの記録媒体113(または、リムーバブルHDD119)に格納されるものであった。   As described above, the auxiliary information generated for the recording file such as SI is recorded as a separate file as the control information of the video data when the video is recorded and stored in the file. Removable HDD 119).

本実施形態は、映像の録画時でないときにも、録画ファイルに対して生成される補助情報を持たない録画ファイルに対して補助情報を生成するようにするものである。   In the present embodiment, auxiliary information is generated for a recording file that does not have auxiliary information generated for a recording file even when video recording is not being performed.

先ず、録画ファイル再生時には(図2A:CaseA)、記録媒体113、リムーバブルHDD119などからデータが読み出され、分離抽出部103、入力バッファ104、復号部105、出力部116という経路で映像データが再生される。   First, when playing a recorded file (FIG. 2A: Case A), data is read from the recording medium 113, the removable HDD 119, etc., and the video data is played back through the path of the separation / extraction unit 103, the input buffer 104, the decoding unit 105, and the output unit 116. Is done.

制御部114は、読み出した録画ファイルがSIを持つか否かをチェックする(SA01)。録画ファイルが制御情報としてSIを持つときには、通常再生をする(SA04)。そして、録画ファイルが制御情報としてSIを持たないときには、図3に示すような問い合わせ画面を表示してユーザに録画ファイルの再構成を問い合わせる(SA02)。ここでは、録画ファイルに対して、その録画ファイルのSIを生成することを、ユーザに対して「録画ファイルの再構成」という概念で説明することにする。   The control unit 114 checks whether or not the read recording file has SI (SA01). When the recording file has SI as control information, normal playback is performed (SA04). When the recording file does not have SI as control information, an inquiry screen as shown in FIG. 3 is displayed to inquire the user about the reconstruction of the recording file (SA02). Here, the generation of the SI of the recording file for the recording file will be explained to the user with the concept of “reconstruction of the recording file”.

ユーザが再構成をしないとして、「いいえ」のボタンを選択したときには(SA03)、通常再生をする(SA04)。ユーザが再構成をするとして、「はい」のボタンを選択したときには(SA03)、制御部114は、再生をしながら、分離・抽出部103から、タイムスタンプ部110、書き込み部112、記録媒体113(または、リムーバブルHDD119)に映像情報を送り、制御情報作成部201により、録画ファイルに対してSIを生成して格納するように記録再生部に指示する(SA05)。   If the user selects the “No” button without reconfiguring (SA03), normal playback is performed (SA04). When the user selects the “Yes” button for reconfiguration (SA03), the control unit 114 performs playback from the separation / extraction unit 103, the time stamp unit 110, the writing unit 112, and the recording medium 113. The video information is sent to (or the removable HDD 119), and the control information creation unit 201 instructs the recording / playback unit to generate and store the SI for the recorded file (SA05).

次に、リムーバブルHDD119がこの映像記録再生装置に装着されて、内部の録画ファイルを検出したとき(図2B:CaseB)、あるいは、インターネットなどのネットワーク上に存在する映像サーバなどから映像データをダウンロードするときには(図2B:CaseC)、制御部114は、リムーバブルHDD11に格納されている、或いはダウンロード中の録画ファイルの制御情報を読み出してSIを持つか否かをチェックする(SB01)、そして、録画ファイルが制御情報としてSIを持たないときには、図3に示すような問い合わせ画面を表示してユーザに録画ファイルの再構成を問い合わせる(SB02)。   Next, when the removable HDD 119 is attached to the video recording / reproducing apparatus and an internal recording file is detected (FIG. 2B: Case B), or video data is downloaded from a video server or the like existing on a network such as the Internet. Sometimes (FIG. 2B: Case C), the control unit 114 reads out the control information of the recording file stored in the removable HDD 11 or being downloaded and checks whether or not it has SI (SB01), and the recording file 3 does not have SI as control information, an inquiry screen as shown in FIG. 3 is displayed to inquire the user about the reconstruction of the recording file (SB02).

ユーザが再構成をしないとして、「いいえ」のボタンを選択したときには(SB03)、処理を終了する。ユーザが再構成をするとして、「はい」のボタンを選択したときには、制御部114は、記録媒体113(または、リムーバブルHDD119)から録画ファイルを読み出して、制御情報作成部201により、録画ファイルに対してSIを生成して格納するように記録再生部に指示する(SB04)。   If the user selects the “No” button without reconfiguring (SB03), the process ends. When the user selects the “Yes” button for reconfiguration, the control unit 114 reads the recorded file from the recording medium 113 (or the removable HDD 119), and the control information creating unit 201 reads the recorded file. The recording / reproducing unit is instructed to generate and store SI (SB04).

なお、図2A又は図2Bにおいて、SA02並びにSA03又はSB02並びにSB03のステップは行なわず、SA01又はSB01でSIが無ければ自動的にSIを生成する構成にしてもよい。   In FIG. 2A or 2B, the SA02 and SA03 or SB02 and SB03 steps may not be performed, and the SI may be automatically generated if there is no SI in SA01 or SB01.

次に、映像記録再生装置がスタンバイ時(図2C:CaseD)、あるいは、録画ファイルの再構成のスケジュール時の時刻に達したときには(図2C:CaseE)、制御部114は、格納されている録画ファイルの制御情報を読み出してSIを持つか否かをチェックする(SC01)。   Next, when the video recording / playback apparatus is on standby (FIG. 2C: Case D), or when the time of scheduled recording file reconstruction is reached (FIG. 2C: Case E), the control unit 114 stores the recorded video. The control information of the file is read to check whether it has SI (SC01).

そして、録画ファイルが制御情報としてSIを持たないときには、制御部114は、記録媒体113(または、リムーバブルHDD119)から録画ファイルを読み出して、制御情報作成部201により、録画ファイルに対してSIを生成してを格納するように記録再生部に指示する(SC02)。   When the recording file does not have SI as control information, the control unit 114 reads the recording file from the recording medium 113 (or the removable HDD 119), and the control information creation unit 201 generates SI for the recording file. The recording / reproducing unit is instructed to store the data (SC02).

録画ファイルの再構成のスケジュールとは、この映像記録再生装置のユーティリティ機能として、時刻を指定して録画ファイルの最適化のスケジュールするようにしたものである。ユーザは、録画や再生をしない空いた時間を利用できるように、時刻を指定すればよい。指定された情報は、図には示さなかったがこの映像記録再生装置の制御情報として装置に内蔵されたメモリか記録媒体113に記憶される。   The recording file reconstruction schedule is a utility function of the video recording / playback apparatus in which a time is specified and a recording file is scheduled to be optimized. The user only has to specify the time so that he / she can use the free time during which no recording or reproduction is performed. Although not shown in the figure, the designated information is stored in the memory built in the apparatus or the recording medium 113 as control information of the video recording / reproducing apparatus.

また、ユーザ操作などによりスタンバイのモードから再生モードに移るときには、SIの作成したところまでを制御情報(例えば、1時間番組の中の30分についてSIを作成)として格納するようにし、いったん、再生モードで再生の処理をおこなって、それが終わり、スタンバイのモードに移ったときに、中断した場所からSIを作成する機能を入れてもよい。   In addition, when shifting from the standby mode to the playback mode by a user operation or the like, the portion up to where the SI is created is stored as control information (for example, the SI is created for 30 minutes in a one-hour program). When the reproduction process is performed in the mode and the reproduction process is completed and the mode is changed to the standby mode, a function of creating the SI from the interrupted place may be added.

この図2Cに示される場合に、ユーザに録画ファイルの再構成をすることを問い合わせる画面を表示しないのは、この場合には、ユーザは録画ファイルの再構成を自動的におこなえることを期待しているものと考えられるからである。   In the case shown in FIG. 2C, the screen for inquiring the user to reconstruct the recording file is not displayed. In this case, the user is expected to automatically reconstruct the recording file. It is because it is thought that there is.

以上、各種の場合について録画ファイルを最適化するために、SIを生成する例について述べてきたが、さらに、各場合にユーザに録画ファイルの再構成をすることを問い合わせる画面を表示することの有無はオプションとして選択できるようにしてもよい。   As described above, the example of generating the SI in order to optimize the recording file in various cases has been described. Further, in each case, whether or not to display a screen asking the user to reconstruct the recording file May be selectable as an option.

また、各場合に録画ファイルを再構成することの有無についてもオプションとして選択できるようにしてもよい。   In each case, whether to reconstruct the recording file may be selected as an option.

また、本実施形態では、録画ファイルの制御情報として、オプション情報であるSIを持たない場合について、録画ファイルを再構成する場合について述べたが、AUの管理情報であるAUIについて、欠落などのエラーがあったときに修復処理をするなどの処理を入れてもよい。   Further, in the present embodiment, the case where the recording file is reconfigured when the SI that is the option information is not included as the control information of the recording file has been described. However, an error such as omission is detected with respect to the AUI that is the AU management information. A process such as a repair process may be inserted when there is a problem.

〔実施形態2〕
以下、本発明に係る第二の実施形態を、図4を用いて説明する。
図4は、第二の実施形態に係る映像記録再生装置の構成の一例を示すブロック図である。
[Embodiment 2]
Hereinafter, a second embodiment according to the present invention will be described with reference to FIG.
FIG. 4 is a block diagram showing an example of the configuration of the video recording / playback apparatus according to the second embodiment.

本実施形態は、第一の実施形態の構成を若干変更したものである。   In the present embodiment, the configuration of the first embodiment is slightly changed.

すなわち、第一の実施形態では、図1に示されるように、SIを付加する録画ファイルを記録媒体113(または、リムーバブルディスク113a)から読み出して、読み出し部111、タイムスタンプ比較/出力部109、セレクタ102、分離・抽出部103、タイムスタンプ付加部110、書き込む部112という経路を通って、制御情報作成部201でSIを生成していた。   That is, in the first embodiment, as shown in FIG. 1, a recording file to which SI is added is read from the recording medium 113 (or the removable disk 113a), and a reading unit 111, a time stamp comparison / output unit 109, The SI is generated by the control information creation unit 201 through the path of the selector 102, the separation / extraction unit 103, the time stamp addition unit 110, and the writing unit 112.

この方法では、既存の映像録画のときの制御情報作成機構を利用できるというメリットはある。   This method has an advantage that the control information creation mechanism at the time of video recording can be used.

しかしながら、第一の実施形態で述べたCaseAの場合以外には、再生処理は必要ない。本実施形態では、CaseBないしCaseEの場合に、高速で動作するように、その構成を最適にするようにしたものである。すなわち、図4に示されるように、本実施形態では、SIを付加する録画ファイルを記録媒体113(または、リムーバブルディスク113a)から読み出して、読み出し部111の次に、制御情報作成部201aに行き、そこでSIが生成され、書き込む部112というパスを通って、SIが記録媒体113に再格納される。   However, the reproduction process is not necessary except for the case A described in the first embodiment. In this embodiment, in the case of Case B to Case E, the configuration is optimized so as to operate at high speed. That is, as shown in FIG. 4, in this embodiment, a recording file to which SI is added is read from the recording medium 113 (or the removable disk 113a), and then goes to the control information creation unit 201a after the reading unit 111. Thus, SI is generated, and the SI is re-stored in the recording medium 113 through a path of the writing unit 112.

このパスを通って制御情報が生成されるときには、むだな経路を通らないため、処理が高速化され、省電力にもなる。   When the control information is generated through this path, the process is speeded up and the power is saved because the wasteful path is not passed.

〔実施形態3〕
以下、本発明に係る第三の実施形態を、図5および図6を用いて説明する。
[Embodiment 3]
Hereinafter, a third embodiment according to the present invention will be described with reference to FIGS.

先ず、図5を用いて第三の実施形態に係る映像記録再生装置の構成を説明する。
図5は、第三の実施形態に係る映像記録再生装置の構成の一例を示すブロック図である。
図6は、映像データが録画されるときのデータ構造におけるタイムスタンプを示す図である。
First, the configuration of the video recording / reproducing apparatus according to the third embodiment will be described with reference to FIG.
FIG. 5 is a block diagram showing an example of the configuration of the video recording / reproducing apparatus according to the third embodiment.
FIG. 6 is a diagram showing a time stamp in the data structure when video data is recorded.

本実施形態は、TTSに付加されているタイムスタンプであるATSのエラーを検出して、そのようなATSを正しいものに修復するものである。第一の実施形態で述べたように、MPEGのトランスポートストリームは、PCRという時間情報を有する。このPCRは、放送局で付加されるので正確なことが期待されるが、TTSに付加されるATSは、装置の固有のクロックなどに基づいて付加されるものであるので、特に、リムーバブルHDDなどにより、クロックが正確でない外部の装置で録画された録画ファイルを取り込んで再生するときに問題となる。或いは装置側のATSの付加処理は正常に行われていたとしても、ネットワークを介して入力されたコンテンツデータがネットワークのトラフィックの問題などによりデータ処理が適切に実行できない場合には装置へのTS入力が滞ってしまい、その結果精度の悪い(PCRを基準と考えた場合)ATSが付加されることになる。   In the present embodiment, an ATS error, which is a time stamp added to a TTS, is detected, and such an ATS is restored to a correct one. As described in the first embodiment, the MPEG transport stream has time information called PCR. This PCR is expected to be accurate because it is added by a broadcasting station. However, since the ATS added to the TTS is added based on the clock unique to the device, in particular, a removable HDD or the like. This causes a problem when a recorded file recorded by an external device whose clock is not accurate is captured and reproduced. Alternatively, even if the ATS addition processing on the device side is performed normally, if the content data input via the network cannot be properly processed due to network traffic problems, etc., the TS input to the device As a result, the ATS is added with low accuracy (when PCR is considered as a reference).

本実施形態では、図5に示されるように、第一の実施形態に構成にタイムスタンプ修復部120を設けたものである。   In the present embodiment, as shown in FIG. 5, the time stamp repairing unit 120 is provided in the configuration of the first embodiment.

録画ファイルを、読み出し部111で読み出され、タイムスタンプ比較/出力部109でエラーを検出して、タイムスタンプ修復部120によりエラーのあるATSを修復して、書き込み部112より記録媒体113(または、リムーバブルHDD119)に再格納する。   The recorded file is read by the reading unit 111, an error is detected by the time stamp comparison / output unit 109, the ATS having the error is repaired by the time stamp repairing unit 120, and the recording medium 113 (or the recording medium 113 (or by the writing unit 112). , And stored again in the removable HDD 119).

MPEGのトランスポートストリームのパケットは、上記のように、先頭に装置に到着したタイムスタンプであるATSが付加されたTTSパケットの形式で記録媒体113(または、リムーバブルHDD119)に格納されている。   As described above, the MPEG transport stream packet is stored in the recording medium 113 (or the removable HDD 119) in the form of a TTS packet to which an ATS, which is a time stamp that has arrived at the apparatus, is added.

ここで、PCRは、パケットのアダプテーションフィールドに格納される。ここで、n番目にPCRを持つパケットがあるとして、そのパケットをTTSとし、そのPCRの値をPCR、そのATSの値をATSとする。 Here, the PCR is stored in the adaptation field of the packet. Here, assuming that there is a packet having the n-th PCR, the packet is TTS n , the PCR value is PCR n , and the ATS value is ATS n .

同様に、その次のm番目にPCRを持つパケットがあるとして、そのパケットをTTSとし、そのPCRの値をPCR、そのATSの値をATSとする。 Similarly, assuming that there is a packet having PCR in the next mth, the packet is set as TTS m , the PCR value is set as PCR m , and the ATS value is set as ATS m .

そのときに、タイムスタンプ比較/出力部109は、各々のパケットのPCRとATSの値の差分を比較し、以下の(式1)で表されるT(m, n)を評価する。   At that time, the time stamp comparison / output unit 109 compares the difference between the PCR value and the ATS value of each packet, and evaluates T (m, n) represented by the following (Equation 1).

T(n, m)= (PCR−PCR)−K×(ATS−ATS) …(式1)
ここで、Kは、PCRとATSの単位を合わせるための定数である。
T (n, m) = ( PCR n -PCR m) -K × (ATS n -ATS m) ... ( Equation 1)
Here, K is a constant for matching the units of PCR and ATS.

そして、T(n, m)が一定の閾値Δより大きくなったときには、タイムスタンプ付加部110は、 T(n, m)ができるだけ0に近くなるべく、以下の(式2)を満たすように、ATSを書き換える。つまり、元の値に修正オフセット値を与えた結果を書き換える。 When T (n, m) becomes larger than a certain threshold Δ, the time stamp adding unit 110 satisfies the following (Equation 2) so that T (n, m) is as close to 0 as possible. Rewrite ATS m . That is, the result obtained by giving the corrected offset value to the original value is rewritten.

T(n, m) ≦ Δ …(式2)
そして、書き込み部112を介して、記録媒体113(または、リムーバブルHDD119)に書き込む。
T (n, m) ≦ Δ (Expression 2)
Then, the data is written to the recording medium 113 (or the removable HDD 119) via the writing unit 112.

このタイムスタンプを格納するタイミングとしては、第一の実施形態に記載したようなCaseBないしCaseEの場合が考えられる。   As the timing for storing this time stamp, Case B to Case E as described in the first embodiment can be considered.

なお、PCRが挿入されているTTSは約40〜100msec周期で存在するが、PCRが挿入されていないTTSのATSの補正については、上述の(式1)(式2)で判定された修正オフセット値に基づいて補正する。つまり、TTSnとTTSmの間にあるTTSのATSは上記修正オフセット値を用いて補正する。   The TTS in which the PCR is inserted exists at a period of about 40 to 100 msec, but the correction offset determined in the above (Equation 1) and (Equation 2) is used for the correction of the ATS of the TTS in which the PCR is not inserted. Correct based on the value. That is, the ATS of TTS between TTSn and TTSm is corrected using the corrected offset value.

第一の実施形態に係る映像記録再生装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the video recording / reproducing apparatus which concerns on 1st embodiment. 第一の実施形態に係る映像記録再生装置の録画ファイル加工の手順を示すフローチャートである(その一)。It is a flowchart which shows the procedure of the video recording file processing of the video recording / reproducing apparatus which concerns on 1st embodiment (the 1). 第一の実施形態に係る映像記録再生装置の録画ファイル加工の手順を示すフローチャートである(その二)。It is a flowchart which shows the procedure of the video recording file processing of the video recording / reproducing apparatus which concerns on 1st embodiment (the 2). 第一の実施形態に係る映像記録再生装置の録画ファイル加工の手順を示すフローチャートである(その三)。It is a flowchart which shows the procedure of the video recording file processing of the video recording / reproducing apparatus which concerns on 1st embodiment (the 3). ユーザに録画ファイルの再構成を問い合わせる画面を示す図である。It is a figure which shows the screen which inquires the user about reconstruction of a recording file. 第二の実施形態に係る映像記録再生装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the video recording / reproducing apparatus which concerns on 2nd embodiment. 第三の実施形態に係る映像記録再生装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the video recording / reproducing apparatus which concerns on 3rd embodiment. 映像データが録画されるときのデータ構造におけるタイムスタンプを示す図である。It is a figure which shows the time stamp in a data structure when video data is recorded. TTSパケットの一例を示す模式図である。It is a schematic diagram which shows an example of a TTS packet. 記録媒体に記憶するAVストリームにおけるTTSパケット、AUの関係の一例を示す模式図である。It is a schematic diagram which shows an example of the relationship between the TTS packet and AU in the AV stream memorize | stored in a recording medium. 記録媒体に記憶するAVストリームのAU、Iピクチャとそれに付随する情報(SI)の関係の一例を示す模式図である。It is a schematic diagram which shows an example of the relationship between AU and I picture of AV stream memorize | stored in a recording medium, and the information (SI) accompanying it.

符号の説明Explanation of symbols

101…チューナ復号部
102…セレクタ
103…分離・抽出部
104…入力バッファ部
105…復号部
106…ネットワークインタフェース部
107…バッファ管理部
108…クロック再生部
109…タイムスタンプ比較/出力部
110…タイムスタンプ付加部
111…読み出し部
112…書き込み部
113…記録媒体
114…制御部
115…ユーザインタフェース部
116…出力部
117…固定クロック発生部
120…タイムスタンプ修復部
201,201a…制御情報作成部
202…読み出し制御部
DESCRIPTION OF SYMBOLS 101 ... Tuner decoding part 102 ... Selector 103 ... Separation / extraction part 104 ... Input buffer part 105 ... Decoding part 106 ... Network interface part 107 ... Buffer management part 108 ... Clock reproduction part 109 ... Time stamp comparison / output part 110 ... Time stamp Addition unit 111 ... Reading unit 112 ... Writing unit 113 ... Recording medium 114 ... Control unit 115 ... User interface unit 116 ... Output unit 117 ... Fixed clock generation unit 120 ... Time stamp restoration unit 201, 201a ... Control information creation unit 202 ... Read Control unit

Claims (12)

コンテンツ情報を記録する記録部と、
コンテンツ情報を制御する制御情報を作成する制御情報作成部と、
前記制御情報作成部で作成された制御情報をコンテンツ情報に付加し、当該コンテンツを前記記録部に記録する記録制御部と、
所定のタイミングで前記記録部に記録されたコンテンツに制御情報が含まれているか否かを判断し、制御情報が含まれていない場合に、前記制御情報作成部が当該コンテンツの制御情報を作成し、前記記録制御部が当該制御情報を当該コンテンツに付加して前記記録部に記録するよう制御する制御部とを有する記録装置。
A recording unit for recording content information;
A control information creation unit for creating control information for controlling content information;
A recording control unit for adding the control information created by the control information creating unit to content information and recording the content in the recording unit;
It is determined whether or not the control information is included in the content recorded in the recording unit at a predetermined timing. When the control information is not included , the control information generation unit generates control information for the content. And a control unit that controls the recording control unit to add the control information to the content and record it in the recording unit.
予め規定された単位パケット化された情報を複数含んで伝送されるコンテンツ情報を受信して、前記コンテンツ情報のストリームに対して、制御情報を生成して前記コンテンツ情報と共に記録媒体に記録記録装置において、
前記制御情報を作成する制御情報作成部と、
前記制御情報が記録されているか否かを判断する制御部とを有し、
前記制御部は、所定のタイミングで前記記録媒体に記録されたコンテンツ情報と共に前記制御情報が記録されているか否かを判断し、前記制御情報が記録されていない場合に、前記コンテンツ情報の再生時に、前記制御情報作成部に前記コンテンツ情報の制御情報を生成することを指示することを特徴とする映像記録再生装置。
It receives content information transmitted includes a plurality of predefined units packetized information, the stream of the content information, you generate a control information recorded on a recording medium together with the content information recording In the device
A control information creation unit for creating the control information;
A control unit for determining whether or not the control information is recorded ,
The control unit determines whether the control information is recorded together with the content information recorded on the recording medium at a predetermined timing, and when the control information is not recorded, when the content information is reproduced. , video recording and reproducing apparatus characterized by instructing to generate the control information of the content information to the control information creation unit.
予め規定された単位パケット化された情報を複数含んで伝送されるコンテンツ情報を受信して、前記コンテンツ情報のストリームに対して、制御情報を生成して前記コンテンツ情報と共に記録媒体に記録される記録装置において、Recording that receives content information that is transmitted including a plurality of unit packet information defined in advance, generates control information for the content information stream, and is recorded on the recording medium together with the content information In the device
前記制御情報を作成する制御情報作成部と、A control information creation unit for creating the control information;
前記制御情報が記録されているか否かを判断する制御部とを有し、A control unit for determining whether or not the control information is recorded,
前記制御部は、所定のタイミングで前記記録媒体に記録されたコンテンツ情報と共に前記制御情報が記録されているか否かを判断し、前記制御情報が記録されていない場合に、前記記憶媒体に格納されている前記コンテンツ情報の読み出しを指示し、読み出した録画ファイルに対して、前記制御情報作成部に前記コンテンツ情報の制御情報を生成することを指示することを特徴とする記録装置。The control unit determines whether the control information is recorded together with the content information recorded on the recording medium at a predetermined timing. If the control information is not recorded, the control unit stores the control information in the storage medium. The recording apparatus is configured to instruct to read out the content information, and to instruct the control information creation unit to generate control information of the content information with respect to the read recording file.
前記所定のタイミングは、リムーバブルメディア内に録画ファイルを検出したとき、映像データをネットワークによりダウンロードしたとき、装置がスタンバイのモードになったとき、制御情報を生成する処理をスケジュールされたときのいずれか一つ以上を含むことを特徴とする請求項1ないし請求項3のいずれかに記載の記録装置。The predetermined timing is any one of when a recording file is detected in the removable medium, when video data is downloaded via the network, when the apparatus is in a standby mode, or when a process for generating control information is scheduled. The recording apparatus according to claim 1, comprising one or more. 前記制御情報は、MPEG規格におけるIピクチャの位置情報を含むことを特徴とする請求項1ないし請求項4のいずれかに記載の記録装置。5. The recording apparatus according to claim 1, wherein the control information includes I picture position information in the MPEG standard. 前記記録媒体から前記コンテンツ情報を読み出す読み出し部と、A reading unit for reading the content information from the recording medium;
前記記録媒体に前記コンテンツ情報を書き込む書き込み部と、を有し、A writing unit for writing the content information to the recording medium,
前記読み出し部によって読み出されたコンテンツ情報を、前記制御情報作成部に出力し、The content information read by the reading unit is output to the control information creating unit,
前記制御情報作成部により生成された制御情報を、前記書込み部に出力し、The control information generated by the control information creation unit is output to the writing unit,
前記書き込み部は、前記記録媒体に前記制御情報を格納することを特徴とする請求項3記載の記録装置。The recording apparatus according to claim 3, wherein the writing unit stores the control information in the recording medium.
予め規定された単位パケット化された情報を複数含んで伝送されるコンテンツ情報を受信して、前記コンテンツ情報のストリームに対して、制御情報を生成してコンテンツ情報と共に記録媒体に記録する記録方法において、In a recording method for receiving content information transmitted including a plurality of pre-specified unit packetized information, generating control information for the content information stream and recording the control information together with the content information on a recording medium ,
所定のタイミングで前記記録媒体に記録されたコンテンツ情報と共に前記制御情報が記録されているか否かを判断するステップと、Determining whether the control information is recorded together with the content information recorded on the recording medium at a predetermined timing;
前記記録媒体に記録されたコンテンツ情報と共に前記制御情報が含まれいない場合に、前記制御情報を生成して前記コンテンツ情報と共に前記記録媒体に記録するステップと、を有することを特徴とする記録方法。And a step of generating the control information and recording it on the recording medium together with the content information when the control information is not included together with the content information recorded on the recording medium.
前記制御情報は、MPEG規格におけるIピクチャの位置情報を含むことを特徴とする請求項7記載の記録方法。8. The recording method according to claim 7, wherein the control information includes I picture position information in the MPEG standard. 予め規定された単位パケット化された情報を複数含んで伝送されるコンテンツ情報を受信して、前記コンテンツ情報のストリームのパケットの内容に、第一のタイムスタンプが含まれ、前記コンテンツ情報のストリームを構成するパケットに対して、装置側で第二のタイムスタンプを付加して録画ファイルとして記録媒体に記録される映像記録再生装置において、Content information transmitted including a plurality of pre-defined unit packet information is received, and the content information stream packet includes a first time stamp, and the content information stream is In the video recording / playback apparatus in which a second time stamp is added on the device side to the configured packet and recorded on the recording medium as a recording file,
タイムスタンプ比較/出力部と、Timestamp comparison / output unit,
タイムスタンプ修復部と、A time stamp repair section;
記録再生部に対して前記録画ファイルの読み出しと書き込みを指示する制御部とを有し、A control unit that instructs the recording / playback unit to read and write the recording file;
前記制御部は、前記記録再生部に所定のタイミングで前記録画ファイルの読み出しを指示し、前記タイムスタンプ比較/出力部により、前記第一のタイムスタンプの差分と前記第二のタイムスタンプの差分とを比較し、前記第一のタイムスタンプの差分と前記第二のタイムスタンプの差分との差が所定の閾値より大きいときには、前記第二のタイムスタンプを、前記第一のタイムスタンプの差分と前記第二のタイムスタンプの差分との差が所定の閾値以下になるように書き直し、書き直された録画ファイルのデータを再書き込みすることを前記記録再生部に指示することを特徴とする映像記録再生装置。The control unit instructs the recording / playback unit to read the recorded file at a predetermined timing, and the time stamp comparison / output unit determines the difference between the first time stamp and the difference between the second time stamps. And when the difference between the difference between the first time stamp and the difference between the second time stamps is larger than a predetermined threshold, the second time stamp is determined as the difference between the first time stamp and the difference between the first time stamp and the second time stamp. A video recording / reproducing apparatus, wherein the recording / reproducing unit is instructed to rewrite the data so that the difference from the second time stamp difference is equal to or less than a predetermined threshold, and rewrite the data of the rewritten recording file. .
前記所定のタイミングは、リムーバブルメディア内に録画ファイルを検出したとき、前記録画ファイルをネットワークによりダウンロードしたとき、装置がスタンバイのモードになったとき、タイムスタンプの修復処理をスケジュールされたときのいずれか一つ以上を含むことを特徴とする請求項10記載の映像記録再生装置。The predetermined timing is any one of when a recording file is detected in a removable medium, when the recording file is downloaded via a network, when the apparatus is in a standby mode, or when a time stamp repair process is scheduled. The video recording / reproducing apparatus according to claim 10, comprising one or more. 前記第一のタイムスタンプは、MPEG規格におけるPCR(Program Clock Reference)であることを特徴とする請求項10記載の映像記録再生装置。11. The video recording / reproducing apparatus according to claim 10, wherein the first time stamp is a PCR (Program Clock Reference) in the MPEG standard. 予め規定された単位パケット化された情報を複数含んで伝送されるコンテンツ情報を受信して、前記コンテンツ情報のストリームのパケットの内容に、第一のタイムスタンプが含まれ、前記コンテンツ情報のストリームを構成するパケットに対して、装置側で第二のタイムスタンプを付加して録画ファイルとして記録媒体に記録される映像記録再生装置の録画ファイル加工方法において、Content information transmitted including a plurality of pre-defined unit packet information is received, and the content information stream packet includes a first time stamp, and the content information stream is In the recording file processing method of the video recording / playback apparatus in which a second time stamp is added on the device side to the packet to be configured and recorded on the recording medium as a recording file,
前記映像記録再生装置は、The video recording / reproducing apparatus comprises:
タイムスタンプ比較/出力部と、Timestamp comparison / output unit,
タイムスタンプ修復部と、A time stamp repair section;
記録再生部に対して前記録画ファイルの読み出しと書き込みを指示する制御部とを有し、A control unit that instructs the recording / playback unit to read and write the recording file;
前記制御部が、前記記録再生部に所定のタイミングで前記録画ファイルの読み出しを指示する手順と、A procedure in which the control unit instructs the recording / playback unit to read out the recording file at a predetermined timing;
前記タイムスタンプ比較/出力部が、前記第一のタイムスタンプの差分と前記第二のタイムスタンプの差分とを比較する手順と、The time stamp comparison / output unit compares the difference between the first time stamp and the difference between the second time stamps;
前記タイムスタンプ修復部が、前記第一のタイムスタンプの差分と前記第二のタイムスタンプの差分が所定の閾値より大きいときには、前記第二のタイムスタンプを、前記第一のタイムスタンプの差分と前記第二のタイムスタンプの差分との差が所定の閾値以下になるように書き直す手順と、When the difference between the first time stamp and the difference between the second time stamp is greater than a predetermined threshold, the time stamp repairing unit determines the second time stamp as the difference between the first time stamp and the difference between the first time stamp and the second time stamp. Rewriting procedure so that the difference from the second timestamp difference is less than or equal to a predetermined threshold;
前記制御部が、書き直された録画ファイルのデータを再書き込みすることを前記記録再生部に指示する手順とを有することを特徴とする映像記録再生装置の録画ファイル加工方法。A recording file processing method for a video recording / reproducing apparatus, comprising: a step of instructing the recording / reproducing unit to rewrite data of the rewritten recording file.
JP2007070665A 2007-03-19 2007-03-19 RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF Active JP4861221B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007070665A JP4861221B2 (en) 2007-03-19 2007-03-19 RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007070665A JP4861221B2 (en) 2007-03-19 2007-03-19 RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF

Publications (2)

Publication Number Publication Date
JP2008236161A JP2008236161A (en) 2008-10-02
JP4861221B2 true JP4861221B2 (en) 2012-01-25

Family

ID=39908447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007070665A Active JP4861221B2 (en) 2007-03-19 2007-03-19 RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF

Country Status (1)

Country Link
JP (1) JP4861221B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1292124A1 (en) * 2001-08-23 2003-03-12 Deutsche Thomson-Brandt Gmbh Method for DVD recording of a data steam and DVD recorder
JP2004229244A (en) * 2003-01-27 2004-08-12 Ricoh Co Ltd Picture image reproducing apparatus, method, and program
JP2006245744A (en) * 2005-03-01 2006-09-14 Mitsubishi Electric Corp Video signal recording device, information recording medium, and video signal reproducing device
JP4693444B2 (en) * 2005-03-09 2011-06-01 株式会社東芝 Information recording method and information recording apparatus
JP4654778B2 (en) * 2005-06-03 2011-03-23 パナソニック電工株式会社 Image transmission system

Also Published As

Publication number Publication date
JP2008236161A (en) 2008-10-02

Similar Documents

Publication Publication Date Title
JP4837868B2 (en) Method and apparatus for editing digital video recordings, and recordings produced by such methods
US7155109B2 (en) Programmable video recorder having flexible trick play
EP2186340B1 (en) A video data reproduction system
US7379657B2 (en) Method for generating additional information for guaranteeing seamless playback between data streams, recording medium storing the information, and recording, editing and/or playback apparatus using the same
KR101009864B1 (en) Data management method
JP2005039308A (en) Recording method for digital broadcast program, reproducing method therefor, and digital broadcast receiver
JP2005039308A6 (en) Digital broadcast program recording method, reproduction method, and digital broadcast receiver
US7298966B2 (en) Recording device, recording method, and computer-readable program
EP2101499B1 (en) Broadcast station device and recording/reproduction device
JP4852453B2 (en) Recording apparatus, video reproduction apparatus, and special reproduction method thereof
US20070147429A1 (en) Stream file format for digital video recording
JP4861221B2 (en) RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF
JP4763589B2 (en) Playback device and playback method thereof
US20080298781A1 (en) Apparatus for recording audio-video data and method of recording audio-video data
JPH11185317A (en) Digital data recording and reproducing method and device therefor, digital data recording method and device therefor and digital data reproducing method and device therefor
JP2003153151A (en) Device for storing and reproducing digital broadcasting
JP5016335B2 (en) Playback apparatus and playback method
KR100563731B1 (en) Apparatus and method for trick play in digital broadcasting receiver
JP2004253052A (en) Information recording medium, and information recording device
JP2006345548A (en) Information processing apparatus
JP3897753B2 (en) Memory output device
JP2004088321A (en) Digital broadcast reception storage reproducing apparatus and mobile receiver
US20020067916A1 (en) Apparatus and method for recording and reproducing digital data
JP2005276246A (en) Information reproducing method and information reproducing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090821

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110801

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111101

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111104

R150 Certificate of patent or registration of utility model

Ref document number: 4861221

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141111

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250