JPWO2004086395A1 - Data processing device - Google Patents

Data processing device Download PDF

Info

Publication number
JPWO2004086395A1
JPWO2004086395A1 JP2005504107A JP2005504107A JPWO2004086395A1 JP WO2004086395 A1 JPWO2004086395 A1 JP WO2004086395A1 JP 2005504107 A JP2005504107 A JP 2005504107A JP 2005504107 A JP2005504107 A JP 2005504107A JP WO2004086395 A1 JPWO2004086395 A1 JP WO2004086395A1
Authority
JP
Japan
Prior art keywords
format
data
data stream
information
stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005504107A
Other languages
Japanese (ja)
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Publication of JPWO2004086395A1 publication Critical patent/JPWO2004086395A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43632Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1262Formatting, e.g. arrangement of data block or words on the record carriers with more than one format/standard, e.g. conversion from CD-audio format to R-DAT format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43622Interfacing an external recording device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N5/9201Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal
    • H04N5/9205Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal the additional signal being at least another television signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/84Television signal recording using optical recording
    • H04N5/85Television signal recording using optical recording on discs or drums

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

データ処理装置は、その装置と接続された機器に記録媒体に記録されたデータストリームを転送する。データストリームはデータストリームのフォーマットを特定する属性情報を有している。データ処理装置は、機器と通信して、機器において処理することが可能なフォーマットを特定するフォーマット情報を取得するインターフェース部と、記録媒体から属性情報およびデータストリームを読み出す再生部と、属性情報およびフォーマット情報に基づいて、データストリームのフォーマットを変換するか否かを決定する再生制御部と、決定に基づいて、データストリームのフォーマットをフォーマット情報によって特定されるフォーマットに変換して出力し、または、データストリームのフォーマットを変換することなく出力する変換部とを備えている。そして、インターフェース部は、変換部から出力されたデータストリームを機器に送信する。The data processing device transfers the data stream recorded on the recording medium to a device connected to the device. The data stream has attribute information that identifies the format of the data stream. A data processing apparatus communicates with a device to acquire format information for specifying a format that can be processed by the device, a reproducing unit that reads attribute information and a data stream from a recording medium, attribute information and a format Based on the information, a playback control unit that determines whether or not to convert the format of the data stream, and on the basis of the determination, converts the format of the data stream to a format specified by the format information and outputs it, or data A conversion unit that outputs the stream format without conversion. Then, the interface unit transmits the data stream output from the conversion unit to the device.

Description

本発明は、映像、音声に関するデータストリームを、機器間で伝送するための処理に関する。  The present invention relates to a process for transmitting a data stream related to video and audio between devices.

近年、映像、音声等のコンテンツに関する圧縮符号化されたデジタルデータストリームを光ディスク等の記録媒体に記録し、再生することが可能な装置が普及してきている。そのような装置の多くは、装置間の再生互換性を確保するために定められた規格(記録フォーマット)にしたがってデータストリームを記録媒体に記録している。光ディスクの1つであるDVDを例にとると、DVDにはデータストリームを記録するために複数の規格が存在している。具体的には、DVDビデオ規格(以下、「ビデオ規格」と称する)およびDVDビデオレコーディング規格(以下、「VR規格」と称する)である。ビデオ規格は、映画等の再生専用データストリームが記録されるパッケージメディア用の記録フォーマットを規定する。VR規格は、データストリームをリアルタイムに記録し、後の編集等を可能にする記録フォーマットを規定する。
市販されている記録装置は、必ずしも存在する全ての規格に対応してデータストリームを記録できるわけではなく、その目的、価格等の基準に基づいて対応する規格が決定される。記録装置は、通常、対応していない規格のデータストリームを解析することはできず、また、記録することもできない。
いま、2台の光ディスク装置を接続して、一方の装置(転送元装置)からデータストリームを出力し、他方の装置(転送先装置)がそれを記録媒体に記録する例を想定する。この処理は、いわゆるデータストリームの転送(コピー)処理である。転送元装置の光ディスクには、VR規格にしたがったデータストリームが記録されているとする。また、転送先装置はビデオ規格のみにしたがってデータストリームを記録することができるとする。
転送元装置がVR規格のデータストリームをそのまま転送先装置に出力しても、転送先装置はそのデータストリームを解析することもできず、記録媒体に記録することもできない。よって、転送元装置は、VR規格のデータストリームをビデオ規格のデータストリームに変換して転送先装置に出力する。これにより、転送先装置は受け取ったビデオ規格のデータストリームをそのままデータを加工する必要なくDVDに記録することができる。
しかしながら、上述の従来の処理は転送開始から終了までに要する時間が長くなるという問題がある。転送元装置はデータストリームをすべて解析して、常に転送先装置の記録フォーマットに適合するようにデータストリームを再構築しているからである。ここでいう「データストリームの再構築」とは、VR規格のデータストリームを復号化し、その後、ビデオ規格のデータストリームに適合するように再び符号化する処理をいう。このとき、従来の転送元装置は、実際にはデータストリームの再構築が必要ない場合であっても、データストリームを標準の再生時と同様の読み出しをしながらすべて解析しているため、やはり転送開始から終了までに要する時間が長かった。
また、転送元装置が複数の規格の動画ストリームに対応している場合には、転送元装置は、転送の対象となるデータストリームの規格を判断し、その後変換の要否を判断する必要がある。よって、さらに転送処理に時間を要する。
本発明の目的は、データストリームの規格を迅速に判断し、かつ、機器間でデータストリームを高速に転送することである。
2. Description of the Related Art In recent years, devices capable of recording and reproducing a compression-coded digital data stream related to content such as video and audio on a recording medium such as an optical disk have become popular. Many of such devices record a data stream on a recording medium in accordance with a standard (recording format) established for ensuring reproduction compatibility between devices. Taking a DVD as an example of an optical disk as an example, there are a plurality of standards for recording a data stream on a DVD. Specifically, the DVD video standard (hereinafter referred to as “video standard”) and the DVD video recording standard (hereinafter referred to as “VR standard”). The video standard defines a recording format for package media in which a reproduction-only data stream such as a movie is recorded. The VR standard defines a recording format that records a data stream in real time and enables later editing and the like.
Commercially available recording devices are not necessarily capable of recording data streams corresponding to all existing standards, and the corresponding standards are determined based on criteria such as purpose and price. The recording device cannot normally analyze nor record a data stream of a standard that is not supported.
Assume that two optical disk devices are connected, a data stream is output from one device (transfer source device), and the other device (transfer destination device) records it on a recording medium. This process is a so-called data stream transfer (copy) process. It is assumed that a data stream according to the VR standard is recorded on the optical disc of the transfer source device. Further, it is assumed that the transfer destination device can record a data stream only in accordance with the video standard.
Even if the transfer source apparatus outputs the VR standard data stream as it is to the transfer destination apparatus, the transfer destination apparatus cannot analyze the data stream nor record it on the recording medium. Therefore, the transfer source device converts the VR standard data stream into a video standard data stream and outputs the data stream to the transfer destination device. Thus, the transfer destination apparatus can record the received video standard data stream on the DVD without having to process the data as it is.
However, the above-described conventional processing has a problem that the time required from the start to the end of the transfer becomes long. This is because the transfer source device analyzes all data streams and always reconstructs the data stream so as to conform to the recording format of the transfer destination device. Here, “reconstruction of data stream” refers to a process of decoding a VR standard data stream and then encoding again so as to conform to the video standard data stream. At this time, even if the conventional transfer source device does not actually need to reconstruct the data stream, it analyzes all the data stream while reading it in the same way as during standard reproduction. It took a long time from start to finish.
Further, when the transfer source device supports a plurality of standard moving image streams, the transfer source device needs to determine the standard of the data stream to be transferred, and then determine whether conversion is necessary. . Therefore, more time is required for the transfer process.
An object of the present invention is to quickly determine the standard of a data stream and transfer the data stream between devices at high speed.

本発明によるデータ処理装置は、接続された機器に、記録媒体に記録されたデータストリームを転送する。前記データストリームは前記データストリームのフォーマットを特定する属性情報を有している。データ処理装置は、前記機器と通信して、前記機器において処理することが可能なフォーマットを特定するフォーマット情報を取得するインターフェース部と、前記記録媒体から前記属性情報および前記データストリームを読み出す再生部と、前記属性情報および前記フォーマット情報に基づいて、前記データストリームのフォーマットを変換するか否かを決定する再生制御部と、前記決定に基づいて、前記データストリームのフォーマットを前記フォーマット情報によって特定されるフォーマットに変換して出力し、または、前記データストリームのフォーマットを変換することなく出力する変換部とを備えている。そして、前記インターフェース部は、変換部から出力されたデータストリームを前記機器に送信する。
前記データストリームは、前記属性情報がコピーされた管理情報とともに前記記録媒体に記録されており、前記再生部は、前記管理情報を読み出して前記属性情報を抽出してもよい。
前記再生部は、前記データストリームを読み出して前記属性情報を抽出してもよい。
前記再生部は、前記フォーマットを変換するか否かの決定に応じて前記データストリームの読み出し速度を変化させてもよい。
前記再生部は、前記フォーマット変換をするときには第1速度で前記データストリームを読み出し、前記フォーマット変換をしないときには前記第1速度よりも速い第2速度で前記データストリームを読み出してもよい。
本発明によるデータ処理方法は、データ処理装置において実行され、前記データ処理装置と接続された機器に、記録媒体に記録されたデータストリームを転送する。前記データストリームは前記データストリームのフォーマットを特定する属性情報を有している。データ処理方法は、前記機器と通信して、前記機器において処理することが可能なフォーマットを特定するフォーマット情報を取得するステップと、前記記録媒体から前記属性情報および前記データストリームを読み出すステップと、前記属性情報および前記フォーマット情報に基づいて、前記データストリームのフォーマットを変換するか否かを決定するステップと、前記決定に基づいて、前記データストリームのフォーマットを前記フォーマット情報によって特定されるフォーマットに変換して出力し、または、前記データストリームのフォーマットを変換することなく出力して、前記機器に送信するステップとを包含する。
前記データストリームは、前記属性情報がコピーされた管理情報とともに前記記録媒体に記録されており、前記読み出すステップは、前記管理情報を読み出して前記属性情報を抽出してもよい。
前記読み出すステップは、前記データストリームを読み出して前記属性情報を抽出してもよい。
前記読み出すステップは、前記フォーマットを変換するか否かの決定に応じて前記データストリームの読み出し速度を変化させてもよい。
前記読み出すステップは、前記フォーマット変換をするときには第1速度で前記データストリームを読み出し、前記フォーマット変換をしないときには前記第1速度よりも速い第2速度で前記データストリームを読み出してもよい。
A data processing apparatus according to the present invention transfers a data stream recorded on a recording medium to a connected device. The data stream has attribute information specifying the format of the data stream. The data processing apparatus communicates with the device to acquire format information for specifying a format that can be processed by the device, and a reproducing unit that reads the attribute information and the data stream from the recording medium. A playback control unit that determines whether or not to convert the format of the data stream based on the attribute information and the format information; and the format of the data stream is specified by the format information based on the determination A conversion unit that outputs the data stream without converting the format of the data stream. The interface unit transmits the data stream output from the conversion unit to the device.
The data stream may be recorded on the recording medium together with management information to which the attribute information is copied, and the playback unit may read the management information and extract the attribute information.
The reproducing unit may extract the attribute information by reading the data stream.
The reproducing unit may change the reading speed of the data stream according to the determination as to whether to convert the format.
The reproducing unit may read the data stream at a first speed when the format conversion is performed, and may read the data stream at a second speed higher than the first speed when the format conversion is not performed.
A data processing method according to the present invention is executed in a data processing apparatus, and transfers a data stream recorded on a recording medium to a device connected to the data processing apparatus. The data stream has attribute information specifying the format of the data stream. The data processing method communicates with the device to acquire format information specifying a format that can be processed by the device, to read the attribute information and the data stream from the recording medium, Determining whether to convert the format of the data stream based on the attribute information and the format information; and converting the format of the data stream to a format specified by the format information based on the determination. Or outputting the data stream without converting the format and transmitting the data stream to the device.
The data stream may be recorded on the recording medium together with management information to which the attribute information is copied, and the reading step may read the management information and extract the attribute information.
In the reading step, the attribute information may be extracted by reading the data stream.
The reading step may change a reading speed of the data stream in accordance with determination of whether to convert the format.
In the reading step, the data stream may be read at a first speed when the format conversion is performed, and the data stream may be read at a second speed higher than the first speed when the format conversion is not performed.

図1(a)は、データストリームを転送するために接続されたカムコーダ10およびDVDレコーダ20を示す図である。
図1(b)は、本発明の実施形態によるデータストリームAとデータストリームBとの組み合わせ例と、各例についての相対的な転送時間長の関係を示す図である。
図2は、本発明の実施形態によるデータ処理装置10の機能ブロックの構成を示す図である。
図3は、光ディスク131に記録された動画ファイル12および管理ファイル14のデータ構造を示す図である。
図4は、動画ストリーム11のより詳細なデータ構造を示す図である。
図5(a)は、付属情報パック40のデータ構造を示す図である。
図5(b)は、属性情報52のIDと、そのIDに対応して記述される属性データ(U_PK_data)53の内容の対応関係を示す図である。
図6は、U_PK属性情報ボックス19に記述されるIDの種類と、その種類に対応するU_PK格納データの種類を示す図である。
図7は、データ処理装置10の転送処理の手順を示すフローチャートである。
FIG. 1 (a) shows a camcorder 10 and a DVD recorder 20 connected to transfer a data stream.
FIG. 1B is a diagram showing a combination example of the data stream A and the data stream B according to the embodiment of the present invention and a relationship between relative transfer time lengths for each example.
FIG. 2 is a diagram showing a functional block configuration of the data processing apparatus 10 according to the embodiment of the present invention.
FIG. 3 is a diagram showing the data structures of the moving image file 12 and the management file 14 recorded on the optical disc 131.
FIG. 4 is a diagram showing a more detailed data structure of the moving picture stream 11.
FIG. 5A is a diagram illustrating a data structure of the attached information pack 40.
FIG. 5B is a diagram showing a correspondence relationship between the ID of the attribute information 52 and the contents of the attribute data (U_PK_data) 53 described corresponding to the ID.
FIG. 6 is a diagram showing the types of IDs described in the U_PK attribute information box 19 and the types of U_PK storage data corresponding to the types.
FIG. 7 is a flowchart showing a transfer processing procedure of the data processing apparatus 10.

以下では、まず図1(a)および(b)を参照しながら本発明による処理を説明し、その後、その処理を実現するデータ処理装置の構成および動作を説明する。
図1(a)は、データストリームを転送するために接続されたカムコーダ10およびDVDレコーダ20を示す。図1(a)では、データストリームがカムコーダ10からDVDレコーダ20へと転送されるとして説明する。
カムコーダ10は、映像および音声を撮影して、その内部に装填された光ディスク131にデータストリームAの動画ファイルを記録する。記録フォーマットは、ユーザの操作等に基づいて、DVD−VR規格およびビデオ規格のいずれか一方が選択される。データストリームAには、後述する所定の位置に、そのデータストリームAのフォーマットを特定する属性情報が設けられている。
また、カムコーダ10はDVDレコーダ20と通信して、DVDレコーダ20のフォーマット情報を取得する。フォーマット情報は、DVDレコーダ20において処理することが可能なフォーマットを特定するための情報である。本明細書ではDVDレコーダ20はVR規格またはビデオ規格のいずれか一方のフォーマットによってデータストリームを記録できるとしている。接続されたDVDレコーダ20が具体的に特定されたとき、いずれのフォーマットであるかも特定される。なお、図1(a)では、DVDレコーダ20が光ディスク134に記録可能なデータストリームを「データストリームB」として示している。
カムコーダ10は、光ディスク131から属性情報を含むデータストリームAの動画ファイルを読み出すと、その属性情報とフォーマット情報とを比較して、データストリームAのフォーマットを変換するか否かを決定する。すなわち、データストリームAが、DVDレコーダ20において記録できるフォーマットであればフォーマット変換は不要であると決定し、記録できないフォーマットであればフォーマット変換が必要であると決定する。
フォーマット変換が不要であると決定したときは、データストリームAを加工することなく、そのままデータストリームBとして出力する。DVDレコーダ20はデータストリームBを受け取り、そのまま光ディスク134に記録する。
一方、フォーマット変換が必要であると決定したときは、カムコーダ10は、データストリームAのフォーマットをフォーマット情報によって特定されるフォーマットに変換して、データストリームBとして出力する。DVDレコーダ20はデータストリームBを受け取り、そのまま光ディスク134に記録する。
図1(b)は、本実施形態によるデータストリームAとデータストリームBとの組み合わせ例と、各例についての相対的な転送時間長の関係を示す。a欄は、データストリームAおよびBの両方がVR規格である組み合わせ例を示す。また、d欄ではデータストリームAおよびBの両方がビデオ規格である組み合わせ例を示す。この2つの例では、データストリームの転送時間は短くなる。その理由は、フォーマット変換が必要ないため、光ディスク131を標準の再生速度よりも数倍〜数十倍高速な再生速度でデータストリームAを読み出して出力できるからである。
一方、b欄およびc欄は、データストリームAおよびBのフォーマットが互いに異なっている例を示す。この2つの例では、データストリームの転送時間は、変換に時間を要すること、および、変換のために光ディスク131からデータストリームAを高速に読み出すことができないことにより、従来と同等になる(図1(b)では「標準」として示す)。
続いて、カムコーダ10の構成を説明する。ただし、以下ではより一般的に構成を説明するため、カムコーダ10を「データ処理装置10」と称する。上述のカムコーダはデータ処理装置10の1つの例示である。以下に説明する機能を有する機器は、カムコーダ以外の装置であっても本発明のデータ処理装置の範疇である。
図2は、本実施形態によるデータ処理装置10の機能ブロックの構成を示す。データ処理装置10は、光ディスク131を記録媒体としてデータストリームを記録する。光ディスク131は、例えばDVD−RAMディスクである。光ディスクはデータ処理装置10自体の構成要素ではないが、図1には説明の便宜のために記載している。図1に記載の他の要素が、データ処理装置10を構成している。なお、本明細書では記録媒体を光ディスク131とした例を説明するが、他にはメモリカード等の半導体記録媒体を利用した場合であっても以下の説明は同様に適用できる。
データ処理装置10は、3つの機能、すなわち、データストリームの記録機能、再生機能および転送機能を有している。記録機能は、データ処理装置10が映像および/または音声に関するデジタル信号またはアナログ信号を受信して、信号から得られたデータストリームを光ディスク131に記録する機能である。再生機能は、データ処理装置10が光ディスク131に記録されたデータストリームを読み出して、映像および/または音声を再生する機能である。そして転送機能は、データ処理装置10が、光ディスク131に記録されたデータストリームの外部の機器に転送する機能である。転送に際しては、データ処理装置10はストリームのフォーマット変換の要否を決定する。そして、フォーマット変換が必要であるときは標準速度でデータストリームを読み出して接続された外部の機器が処理できるフォーマットに変換して出力し、フォーマット変換が必要ないときはデータ処理装置10は光ディスク131からデータストリームを高速に読み出してそのまま外部の機器に対して出力する。
本実施形態によるデータ処理装置10の主要な機能は、データストリームの転送機能である。以下では、まず記録機能および再生機能を説明しながら光ディスク131に記録されたデータストリームのデータ構造を説明し、その後転送機能を説明する。なお、データ処理装置10が上述の3つの機能を有するとしたのは説明の便宜のためであり、データ処理装置10は以下に詳述する転送機能を有していればよい。記録機能および再生機能を有しているか否かは任意である。
まず、データ処理装置10の記録機能に関連する構成要素を説明する。データ処理装置10は、映像信号受信部100、符号化データ生成部101、音声信号受信部102、入力用デジタルインターフェース部103、管理ファイル生成部106、記録制御部115、連続データ領域検出部116および論理ブロック管理部117、記録部119、光ピックアップ130を有する。
映像信号受信部100は、映像信号を受信する。映像信号は、例えばデジタルスチルカメラの撮像素子(CCD素子)から出力された静止画、動画に関する圧縮符号化されていないデジタル信号や、TV放送波等のアナログ信号である。音声信号受信部102は、音声に関する音声信号を受信する。音声信号は、例えば動画撮影中にマイクから出力された信号である。映像信号受信部100および音声信号受信部102は、それぞれ映像信号および音声信号を別個独立に受信するように記載している。しかし、例えば映像信号および音声信号が、圧縮符号化されて多重化されたデジタル放送信号等であっても以下の本発明は適用できる。デジタル放送信号等を受信する場合には、受信部を1つ設け、後述の符号化データ生成部101の処理を省略することができる。本明細書では映像信号受信部100および音声信号受信部102は動画とそれに伴う音声の各信号を受信するとして説明する。映像信号および音声信号のいずれも、デジタル圧縮符号化されていないアナログ形式の信号とする。
符号化データ生成部101は、映像信号および音声信号をそれぞれ所定の符号化形式(例えばMPEG2−Video形式、AC−3形式)で符号化する。また符号化データ生成部101は、記録する際の形式に応じたデータを生成することもできる。例えば、符号化された映像データおよび音声データを各記録形式に応じたデータの単位に分け、ヘッダ等を付加して映像パックおよび音声パックとして生成する。また、VR規格による記録の際にはRDIパックを生成し、ビデオ規格による記録の際にはナビゲーションパックを生成する。さらに後述のように、MP4ファイルフォーマットを用いて付属情報パック(U_PK)を生成する。
入力用デジタルインターフェース部103(以下、「入力用D−IF部103」と記述する)は、外部機器と接続され、その機器からデジタル信号を受信してデジタルデータのファイルを取得する。「外部機器」とは、例えばDVDレコーダ20やPC(パーソナルコンピュータ)である。入力用D−IF部103は、静止画に関しては静止画データファイルを取得し、動画に関してはMPEGデータファイルを取得し、音声に関してはACデータ3ファイルを取得する。入力用D−IF部103は、IEEE1394インターフェース、USB(Universal Serial BUS)インターフェース等に代表されるデジタルインターフェースである。
管理ファイル生成部106は、符号化データ生成部101において行われた符号化処理の結果に基づいて、MP4ファイルフォーマットに準拠した管理ファイルを生成する。後述する図3には、管理ファイル14が示されている。管理ファイルには、動画ファイルに格納されたデータストリームのフォーマットを特定する属性情報が記述されている。
記録部119は、ピックアップ130を介してファイルを光ディスク131に書き込む。この書き込み動作は、記録制御部115によって制御される。連続データ領域検出部116は、記録制御部115の指示によって、論理ブロック管理部117で管理されるセクタの使用状況を調べ、物理的に連続する空き領域を検出する。これにより、管理ファイルは光ディスク131の内周側から一定のデータ量が割り当てられた管理情報領域132に記録され、動画ファイルは管理情報領域132の外周側に設けられたAVデータ領域133に記録される。管理ファイルをディスクの内周に集中配置することにより、アクセス性の向上、読み出しの高速化を図ることができる。
ここで、図3〜図6を参照しながら、光ディスク131によって書き込まれたファイルのデータ構造を説明する。図3は、光ディスク131に記録された動画ファイル12および管理ファイル14のデータ構造を示す。図3に示す動画ファイル12および管理ファイル14は、MP4ファイルフォーマットにしたがって記録されている。MP4ファイルフォーマットは、MPEG4システム規格(ISO/IEC 14496−1)において規定され、ストリームデータを扱うことが可能であり、かつ、PCとの親和性が高い。MP4ファイルフォーマットには、VR規格およびビデオ規格等の種々の規格の動画ストリームを記録できる。
なお、MP4ファイルフォーマットはApple(登録商標)社のQuickTime(TM)ファイルフォーマットをベースにして規定され、近年、様々なPCアプリケーションでサポートされている点において将来性のあるフォーマットである。ベースにされたQuickTimeファイルフォーマットは、現在、PCアプリケーションの分野で動画および音声を扱うファイルフォーマットとして幅広く使われている。
光ディスク131には、動画ストリーム(P2Stream)11を含む動画ファイル12と、管理情報13を含む管理ファイル14とが記録されている。動画ファイル12は光ディスク131のAVデータ領域133に書き込まれ、管理ファイル14は光ディスク131の管理情報領域132に書き込まれている。本明細書においては、動画ファイル12は”Movie Take File”とも呼ぶ。
動画ストリーム11は、例えばMPEG2システム規格(ISO/IEC 13818−1)で規定されるシステムストリームである。このシステムストリームには、プログラムストリーム(PS)、トランスポートストリーム(TS)、及びPESストリームの3種類が規定されている。ただし、MPEG2システム規格においては、これらのシステムストリームに対する管理情報(アクセス情報、特殊再生情報、記録日時等)を記録するデータ構造は規定されていない。以下では、動画ストリーム11は、MPEGプログラムストリームとして圧縮符号化されているとする。
動画ストリーム11は、複数のサンプル(P2Sample)15を含む。サンプル15は、映像データおよび音声データが混在して構成されている。サンプル15は、映像の再生時間、データの大きさ(データ量)等に基づいて定めることが可能であり、例えばDVDのビデオオブジェクトユニット(VOBU)のような、映像の再生時間にして0.4秒から1秒程度の映像データを含む。サンプル15の1以上の集合をトラック(P2Track)16という。
図4は、動画ストリーム11のより詳細なデータ構造を示す。各サンプル15は、その先頭に付属情報パック(U_PK)40を1つ含み、その後に映像パック(V_PK)41等の映像パック、および、音声パック(A_PK)42等の音声パック(A_PK)をそれぞれ複数含んでいる。なお、付属情報パック40はサンプルごとには含まれていない場合がある。
各パックは、パックヘッダおよび、付属情報、映像、音声用のデータを格納したPESパケットから構成されている。そのデータ量は全て一定(2048バイト)である。以下では、特に付属情報パックの構成およびそのパックに含まれる情報の内容を説明する。
図5(a)は、付属情報パック40のデータ構造を示す。付属情報パック40は、その先頭にパックヘッダ51と、動画ストリーム11の属性を示す属性情報(U_PK_ID)52と、属性データ(U_PK_data)53とを含む。パックヘッダ51には、各種のパックのうち、パックヘッダ51であることを特定する情報が記述されている。属性情報(U_PK_ID)52には、そのサンプル15がいずれの記録規格のデータを格納しているかを特定する情報が記述されている。図5(a)に示すように、属性情報52は、付属情報パック40内の先頭から45バイト目以降に記録されており、これにより、後述するデータ処理装置10の変換部121はその格納位置を特定して、情報を取り出すことができる。一方、属性データ(U_PK_data)53には、属性情報(U_PK_ID)52によって特定された記録規格に関する情報、例えば符号化されたビデオストリームに関するアスペクト等の情報が記述されている。
図5(b)は、属性情報52のIDと、そのIDに対応して記述される属性データ(U_PK_data)53の内容の対応関係を示す。属性情報52は、16進数表記による“00”、“60”、“FF”等の値(ID)をとり得る。そして、そのIDに対応したデータが属性データ53として記述される。例えば、サンプル15がVR規格の動画ストリームを含む場合にはID“60”が付加され、VR規格ストリームに関する付属情報aが属性データ(U_PK_data)53として記述される。また、ビデオ規格の動画ストリームを含む場合には、ID“00”が付加され、ビデオ規格ストリームに関する付属情報bが属性データ(U_PK_data)53として記述される。したがって、属性情報52の値によれば、そのサンプル15がどの記録規格に基づく動画ストリームであるかを判断できる。
再び図3を参照しながら、管理情報13を説明する。管理情報13は、サンプル単位の記録位置を特定するアクセス情報等を含む。アクセス情報等は、管理情報13内のムービーボックス(Movie Box)17中のサンプルテーブルボックス(sample Table Box)18内に記述される。サンプルは、サンプルテーブルボックス(Sample Table Box)18における最小管理単位として管理されており、各サンプルに対してデータ格納位置を示すアクセス情報等が記述される。なお、サンプル15およびトラック16は管理情報13によって管理される動画ストリーム11の単位であって、動画ストリーム11のデータが常に物理的に区分されて規定されているわけではない。管理情報13には、各トラック16に対するアクセス情報を設定することもできる。符号化データ生成部101は、上述したデータ構造に適合するように、動画ストリーム(P2stream)11を生成する。
なお、QuickTimeファイルフォーマットではアトム(Atom)と呼ばれる構造体が採用されているが、これは上述のボックス(Box)と呼ばれる構造体と極めて類似する。“ボックス(Box)“という語を”アトム(Atom)”に読み替えることにより、MP4ファイルフォーマットに関する本明細書の説明は、QuickTimeファイルフォーマットに対しても適用できる。
一方、管理情報13は、U_PK属性情報ボックス(U_PK Information Box)19を含んでいる。U_PK属性情報ボックス19には、U_PK属性情報52(図5(a))に格納されているIDと同じIDがコピーされて格納されている。また、U_PK属性情報ボックス19には、図5(a)に示すU_PKデータ53と同じデータを格納してもよい。図6は、U_PK属性情報ボックス19に記述されるIDの種類と、その種類に対応するU_PK格納データの種類を示す。これは図5(b)に示す属性情報52のIDと、そのIDに対応して記述される属性データ(U_PK_data)53の内容の対応関係と実質的に同じである。よってここでは説明を省略する。管理ファイル生成部106は、上述したデータ構造に適合するように、管理情報13を生成する。
次に、再び図2を参照しながら、データ処理装置10の再生機能に関連する構成要素を説明する。データ処理装置10は、映像信号出力部110、復号部111、音声信号出力部112、再生部113、再生制御部114、管理情報保持メモリ118およびピックアップ130を有する。
再生部113は、ピックアップ130を介して光ディスク131に記録されたデータを読み出し、デジタルデータとして取得する。この読み出しは、再生制御部114の指示に基づいて行われる。再生制御部114は、再生の指示が出される前において、光ディスク131の管理情報領域132から管理情報ファイル14の読み出しを指示する。管理情報保持メモリ118は、読み出された管理ファイル14に基づいて得られた管理情報13を保持する。再生の指示があると、再生制御部114は管理情報保持メモリ118のサンプルテーブルボックス18中のアクセス情報に基づいて、AVデータ領域133における格納位置を特定する。ピックアップ130および再生部113は、格納位置が特定されたサンプル15を読み出す。
復号部111は、圧縮符号化された映像データおよび/または音声データを受け取り、圧縮形式に応じた復号化処理を行って、映像データおよび/または音声データを出力する。映像信号出力部110および音声信号出力部112は、それぞれ復号化された映像信号および/または音声信号をテレビ、スピーカ等に出力する。
次に、データ処理装置10のデータストリームの転送機能に関連する構成要素を説明する。転送機能に関し、データ処理装置10は変換部121および出力用デジタルインターフェース部122とを有している。
変換部121は、後述するフォーマットを変換するか否かに関する再生制御部114の決定に基づいて動作する。フォーマットを変換しないと決定されると、変換部121は、動画ストリーム11を変換することなくそのまま出力する。一方、フォーマットを変換すると決定されると、変換部121は、光ディスク131のAVデータ領域133に記録された動画ストリーム11の記録フォーマットを、再生制御部114から指定された記録フォーマットに変換する。例えば、動画ストリーム11がVR規格に準拠したデータ構造を有する状態で、管理ファイルがMP4ファイルフォーマットにより記録されている場合に、変換部121はその動画ストリーム11を一旦復号し、その後、ビデオ規格に準拠したフォーマットに適合するように再び圧縮符号化して出力する。また、管理ファイルをMP4ファイルフォーマットからビデオ規格に適合するように変換する場合もある。これは、管理ファイルのファイル構造が異なる場合には、管理ファイルも変換することをあらわしている。
さらに他の変換処理を行うことも可能である。VR規格およびビデオ規格の各動画ストリームは、いずれも複数のビデオオブジェクト(VOB)を含み、各VOBは複数のビデオオブジェクトユニット(VOBU)から構成されている。VOBUは、図4のサンプル(P2sample)15に相当する。各VOBUは、ビデオデータおよびオーディオデータを格納するビデオパックおよびオーディオパック等を含む。よって、変換部121は、VR規格の各パックを概ねそのままビデオ規格のパックとして利用する。
一方、変換部121は、VR規格のVOBU先頭に配置されるリアルタイムインフォメーションパック(RDIパック)を、ビデオ規格のナビゲーションパック(ナビパック)に変換する。いずれも動画ストリーム中のビデオデータおよびオーディオデータの再生を制御するための情報であり、各規格において規定されたデータ構造を有する。また、変換部121は、VR規格の先頭の各VOBUにおいて最初に現れる各ビデオパックおよびオーディオパックを、PES拡張フィールドを有さないビデオパックおよびオーディオパックに変換する。ただし、VOBの最初に現れる各ビデオパックおよびオーディオパックは、変換することなくそのまま残す。変換に際しては、PES拡張フィールドを削除して、データ長をパックの固定長(2048バイト)に調整すればよい。PES拡張フィールドには、プログラムストリームの復号に必要な情報、例えば復号用のデータバッファの容量等が記述される。上述の処理によれば、全ての映像データおよび音声データを復号および再圧縮符号化する必要がないので、処理が高速化されるとともに、品質の劣化を抑えることができる。
次に、出力用デジタルインターフェース部122(以下「出力用D−IF部122」と記述する)は、動画ストリームを受け取り、例えばIEEE1394規格に従った通信プロトコルに準拠してその動画ストリームを出力する。なお、図2では出力用D−IF部122と入力用D−IF部103とを別々に記載しているが、これは説明の便宜のためであり、1つに統合することも可能である。例えばIEEE1394インターフェースであれば、データの入力および出力は1つのコネクタによって実現される。
なお、データストリームを転送するためには、光ディスク131からデータストリームを読み出す必要がある。データストリームの読み出しには、再生時と同様に、再生部113、再生制御部114、管理情報保持メモリ118およびピックアップ130が必要である。これらの構成要素の動作は、概ね先のデータ処理装置10の再生機能に関連して説明したとおりであるが、異なる動作については、次に図7を参照しながらデータ処理装置10の処理の手順とともに説明する。
図7は、データ処理装置10の転送処理の手順を示す。まず、処理の開始に先立って、ユーザが、データ処理装置10の出力用デジタルインターフェース部122(後述)とDVDレコーダ20の入力端子とをIEEE1394規格のケーブル等によって接続し、データストリームをDVDレコーダ20へ転送する指示をデータ処理装置10のリモートコントローラー(図示せず)等を介して入力する。すると、ステップS71において、データ処理装置10の再生制御部114は動画ストリーム11の転送指示を受け取る。その指示を受け取ると、次のステップS72において、再生制御部114は管理情報保持メモリ118に格納されているU_PK属性情報19を取得し、動画ストリーム11のフォーマットを特定する。ここでは動画ストリーム11はVR規格フォーマットである。
次に、ステップS73において、出力用D−IF部122から転送先の機器であるDVDレコーダ20に問い合わせが行われ、入力用D−IF部103は、DVDレコーダ20において記録および/または再生可能なフォーマットの情報(フォーマット情報)を取得する。フォーマット情報は再生制御部114に送られる。
例えば、データ処理装置10は、IEEE1394規格の通信プロトコル等によってDVDレコーダ20からそのフォーマット情報を取得してもよい。または、データ処理装置10がHDMI規格の通信プロトコル等を利用してDVDレコーダ20のフォーマット情報を特定してもよい。具体的には、DVDレコーダ20に対して、データ処理装置10は、メーカー名、型番等を特定する機器固有情報を求めるHDMI規格に従って制御コマンドを送信して、DVDレコーダ20から同じくHDMI規格に従って機器固有情報を受け取る。そして、再生制御部114は、データ処理装置10の内部メモリまたは外部のメモリカード等(図示せず)に規定されたテーブルを参照する。テーブルには、機器固有情報とその機器のフォーマット情報との対応が記述されている。再生制御部114は、それらの情報に基づいてDVDレコーダ20の処理可能なフォーマット情報を特定することができる。なお、再生制御部114は、ユーザがリモートコントローラーを介して入力したフォーマット名をフォーマット情報として取得してもよい。
次に、ステップS74において、再生制御部114は、U_PK属性情報19とフォーマット情報とが一致するかを判断する。本明細書では、U_PK属性情報19にはVR規格フォーマットであることが示されている。よって、フォーマット情報がVR規格フォーマットを示している場合には、再生制御部114は変換の必要がないことを決定し、ステップS75に進む。一方、フォーマット情報がVR規格フォーマット以外のフォーマット(例えばビデオ規格フォーマット)を示している場合には、再生制御部114は変換が必要であると決定し、ステップS76に進む。
ステップS75では、データ処理装置10は通常再生時の再生速度よりも数倍〜数十倍高速で光ディスク131を回転させて、ピックアップ130および再生部113を介して標準再生時の読み出し速度よりも数倍〜数十倍速い速度で動画ストリーム11を読み出す。このような処理が可能である理由は、動画ストリーム11が伝送される変換部121ではストリームの変換処理を行わなくてもよいため、変換部121の処理の終了を待つ必要がないからである。読み出された動画ストリーム11に対し、変換部121はそのままその動画ストリーム11を出力用D−IF部122に送り、出力用D−IF部122もそのままDVDレコーダ20に転送する。転送が終了すると、処理が終了する。
一方、ステップS76では、ピックアップ130および再生部113は、光ディスク131から動画ストリームを標準速度で読み出し、変換部121は転送先機器であるDVDレコーダ20のフォーマット情報に基づいてフォーマットを変換する。さらにステップS77において、変換部121は、変換後の動画ストリームのフォーマットに対応させて、付属情報パック(U_PK)40中のU_PK属性情報(U_PK_ID)52およびU_PKデータ(U_PK_data)53を変更する。その後、ステップS78において、出力用D−IF部122は変換後の動画ストリームをDVDレコーダ20に転送する。DVDレコーダ20は変換後の動画ストリームを受信してそのままその記録媒体134に記録することができるため、DVDレコーダ20には変換のための処理負荷はかからず、そのハードウェア資源を他の処理に有効に活用できる。
以上、本発明の実施形態を説明した。上述した説明では、光ディスク131の例としてDVD−RAMディスクを挙げた。しかし、光ディスクには種々の規格が存在しており、DVD−RAMディスクの他には、MO、DVD−R、DVD−RW、+RW、CD−R、CD−RW等であってもよい。また、光ディスク131に代えて、光ディスク以外のリムーバブルな記録媒体、例えば半導体メモリカードを利用することもできるし、データ処理装置10の構成要素の一部をなすハードディスク、半導体メモリ等を利用することもできる。
また、本実施形態では、MP4ファイルフォーマットを例に挙げて、U_PK属性情報19がボックス(BOX)構造体であるムービーボックス中の1つのボックス(U_PK Information Box)に格納されるとした。しかし、ボックス構造体であることは本発明に必須の要件ではなく、U_PK属性情報が特定できるように管理情報内に格納されていればどのようなデータ構造を採用してもよい。
また、MP4ファイルフォーマットの説明では、動画ファイル12および管理ファイル14が別個のファイルとして光ディスク131に記録されるとして説明した。しかし、これもまた本発明に必須の要件ではなく、例えば動画ファイル12のみが単体で記録されてもよい。上述した動画ストリームの転送に際しては、再生制御部114は動画ファイル12として格納された動画ストリーム11の付属情報パック50から、直接U_PK属性情報52を読み出し、動画ストリーム11のフォーマットを特定すればよい。
なお、上述のDVDレコーダ20等に関するフォーマット情報、および、データストリームのフォーマットを特定する属性情報のうちの一方が固定されている場合、例えばデータ処理装置10には特定の1つのフォーマットの処理のみを可能とする機器しか接続されないことが予めわかっている場合や、データストリームのフォーマットが予め定められており属性情報が固定されている場合には、再生制御部は、属性情報およびフォーマット情報の少なくとも一方に基づいて、データストリームのフォーマットを変換するか否かを決定すればよい。
データ処理装置の転送機能は、図7に示す処理手順を規定したコンピュータプログラムに基づいて実現される。データ処理装置のコンピュータは、そのようなコンピュータプログラムを実行することによってデータ処理装置の各構成要素を動作させ、上述した処理を実現する。コンピュータプログラムは、CD−ROM等の記録媒体に記録して市場に流通させ、または、インターネット等の電気通信回線を通じて伝送される。これにより、コンピュータシステムにおいても、上述のデータ処理装置と同等の機能を有する転送処理を実現できる。
In the following, the processing according to the present invention will be described first with reference to FIGS. 1A and 1B, and then the configuration and operation of a data processing apparatus that implements the processing will be described.
FIG. 1 (a) shows a camcorder 10 and a DVD recorder 20 connected to transfer a data stream. In FIG. 1A, a description will be given assuming that the data stream is transferred from the camcorder 10 to the DVD recorder 20.
The camcorder 10 captures video and audio, and records the moving image file of the data stream A on the optical disk 131 loaded therein. As the recording format, one of the DVD-VR standard and the video standard is selected based on a user operation or the like. The data stream A is provided with attribute information for specifying the format of the data stream A at a predetermined position described later.
In addition, the camcorder 10 communicates with the DVD recorder 20 and acquires the format information of the DVD recorder 20. The format information is information for specifying a format that can be processed by the DVD recorder 20. In this specification, it is assumed that the DVD recorder 20 can record a data stream in either the VR standard or the video standard. When the connected DVD recorder 20 is specifically specified, which format is specified. In FIG. 1A, a data stream that can be recorded on the optical disk 134 by the DVD recorder 20 is shown as “data stream B”.
When the camcorder 10 reads the moving image file of the data stream A including the attribute information from the optical disc 131, the camcorder 10 compares the attribute information with the format information and determines whether or not to convert the format of the data stream A. That is, if the data stream A is in a format that can be recorded by the DVD recorder 20, it is determined that format conversion is unnecessary, and if the format is not recordable, it is determined that format conversion is necessary.
When it is determined that format conversion is unnecessary, the data stream A is output as it is as the data stream B without being processed. The DVD recorder 20 receives the data stream B and records it on the optical disc 134 as it is.
On the other hand, when it is determined that format conversion is necessary, the camcorder 10 converts the format of the data stream A into a format specified by the format information and outputs it as the data stream B. The DVD recorder 20 receives the data stream B and records it on the optical disc 134 as it is.
FIG. 1B shows a combination example of the data stream A and the data stream B according to the present embodiment and a relationship between relative transfer time lengths for each example. The a column shows a combination example in which both data streams A and B are VR standards. Further, the column d shows a combination example in which both data streams A and B are video standards. In these two examples, the transfer time of the data stream is shortened. The reason is that since format conversion is not required, the data stream A can be read and output from the optical disk 131 at a playback speed several times to several tens of times faster than the standard playback speed.
On the other hand, columns b and c show examples in which the formats of data streams A and B are different from each other. In these two examples, the transfer time of the data stream is equivalent to that of the prior art due to the time required for conversion and the inability to read the data stream A from the optical disc 131 for conversion (FIG. 1). (In (b), indicated as “standard”).
Next, the configuration of the camcorder 10 will be described. However, the camcorder 10 will be referred to as a “data processing apparatus 10” in order to describe the configuration more generally below. The camcorder described above is an example of the data processing apparatus 10. A device having the function described below is a category of the data processing device of the present invention even if it is a device other than a camcorder.
FIG. 2 shows a functional block configuration of the data processing apparatus 10 according to the present embodiment. The data processing apparatus 10 records a data stream using the optical disk 131 as a recording medium. The optical disk 131 is, for example, a DVD-RAM disk. The optical disk is not a component of the data processing apparatus 10 itself, but is shown in FIG. 1 for convenience of explanation. Other elements described in FIG. 1 constitute a data processing apparatus 10. In this specification, an example in which the recording medium is the optical disk 131 will be described. However, the following description can be similarly applied even when a semiconductor recording medium such as a memory card is used.
The data processing apparatus 10 has three functions, that is, a data stream recording function, a reproduction function, and a transfer function. The recording function is a function in which the data processing apparatus 10 receives a digital signal or an analog signal related to video and / or audio, and records a data stream obtained from the signal on the optical disc 131. The reproduction function is a function in which the data processing apparatus 10 reads out a data stream recorded on the optical disc 131 and reproduces video and / or audio. The transfer function is a function in which the data processing apparatus 10 transfers the data stream recorded on the optical disc 131 to an external device. At the time of transfer, the data processing apparatus 10 determines whether or not stream format conversion is necessary. When format conversion is necessary, the data stream is read out at a standard speed, converted into a format that can be processed by a connected external device, and output when the format conversion is not necessary. Read the data stream at high speed and output it directly to an external device.
The main function of the data processing apparatus 10 according to the present embodiment is a data stream transfer function. In the following, first, the data structure of the data stream recorded on the optical disc 131 will be described while explaining the recording function and the reproducing function, and then the transfer function will be described. The data processing apparatus 10 has the above three functions for convenience of explanation, and the data processing apparatus 10 only needs to have a transfer function described in detail below. Whether or not it has a recording function and a reproduction function is arbitrary.
First, components related to the recording function of the data processing apparatus 10 will be described. The data processing apparatus 10 includes a video signal receiving unit 100, an encoded data generating unit 101, an audio signal receiving unit 102, an input digital interface unit 103, a management file generating unit 106, a recording control unit 115, a continuous data area detecting unit 116, and A logical block management unit 117, a recording unit 119, and an optical pickup 130 are included.
The video signal receiving unit 100 receives a video signal. The video signal is, for example, a still image output from an imaging device (CCD device) of a digital still camera, a digital signal that is not compression-coded with respect to a moving image, or an analog signal such as a TV broadcast wave. The audio signal receiving unit 102 receives an audio signal related to audio. The audio signal is, for example, a signal output from a microphone during moving image shooting. It is described that the video signal receiving unit 100 and the audio signal receiving unit 102 receive the video signal and the audio signal separately, respectively. However, for example, the present invention described below can be applied to a digital broadcast signal in which a video signal and an audio signal are compressed and multiplexed. When receiving a digital broadcast signal or the like, one receiving unit is provided, and processing of the encoded data generating unit 101 described later can be omitted. In this specification, the video signal receiving unit 100 and the audio signal receiving unit 102 will be described as receiving video signals and accompanying audio signals. Both the video signal and the audio signal are analog signals that are not digitally compressed and encoded.
The encoded data generation unit 101 encodes the video signal and the audio signal in a predetermined encoding format (for example, MPEG2-Video format, AC-3 format). The encoded data generation unit 101 can also generate data according to the recording format. For example, encoded video data and audio data are divided into data units corresponding to each recording format, and a header or the like is added to generate video packs and audio packs. Also, an RDI pack is generated when recording according to the VR standard, and a navigation pack is generated when recording according to the video standard. Further, as described later, an attached information pack (U_PK) is generated using the MP4 file format.
An input digital interface unit 103 (hereinafter referred to as “input D-IF unit 103”) is connected to an external device, receives a digital signal from the device, and acquires a digital data file. The “external device” is, for example, a DVD recorder 20 or a PC (personal computer). The input D-IF unit 103 acquires a still image data file for a still image, acquires an MPEG data file for a moving image, and acquires three AC data files for audio. The input D-IF unit 103 is a digital interface typified by an IEEE 1394 interface, a USB (Universal Serial BUS) interface, or the like.
The management file generation unit 106 generates a management file based on the MP4 file format based on the result of the encoding process performed by the encoded data generation unit 101. A management file 14 is shown in FIG. 3 to be described later. In the management file, attribute information for specifying the format of the data stream stored in the moving image file is described.
The recording unit 119 writes the file on the optical disc 131 via the pickup 130. This writing operation is controlled by the recording control unit 115. The continuous data area detection unit 116 checks the use status of sectors managed by the logical block management unit 117 according to an instruction from the recording control unit 115, and detects physically continuous free areas. As a result, the management file is recorded in the management information area 132 to which a certain amount of data is allocated from the inner circumference side of the optical disc 131, and the moving image file is recorded in the AV data area 133 provided on the outer circumference side of the management information area 132. The By arranging the management files centrally on the inner periphery of the disk, it is possible to improve accessibility and speed up reading.
Here, the data structure of a file written by the optical disc 131 will be described with reference to FIGS. FIG. 3 shows the data structure of the moving image file 12 and the management file 14 recorded on the optical disc 131. The moving image file 12 and the management file 14 shown in FIG. 3 are recorded according to the MP4 file format. The MP4 file format is defined in the MPEG4 system standard (ISO / IEC 14496-1), can handle stream data, and has high compatibility with a PC. In the MP4 file format, moving image streams of various standards such as the VR standard and the video standard can be recorded.
Note that the MP4 file format is defined based on the QuickTime (TM) file format of Apple (registered trademark), and is a future-proof format in that it is supported by various PC applications in recent years. The QuickTime file format based on this is currently widely used as a file format for handling moving images and audio in the field of PC applications.
On the optical disc 131, a moving image file 12 including a moving image stream (P2Stream) 11 and a management file 14 including management information 13 are recorded. The moving image file 12 is written in the AV data area 133 of the optical disk 131, and the management file 14 is written in the management information area 132 of the optical disk 131. In the present specification, the moving image file 12 is also referred to as “Movie Take File”.
The moving image stream 11 is a system stream defined by, for example, the MPEG2 system standard (ISO / IEC 13818-1). In this system stream, three types of program stream (PS), transport stream (TS), and PES stream are defined. However, the MPEG2 system standard does not define a data structure for recording management information (access information, special reproduction information, recording date and time) for these system streams. In the following, it is assumed that the moving image stream 11 is compressed and encoded as an MPEG program stream.
The moving image stream 11 includes a plurality of samples (P2Sample) 15. The sample 15 is configured by mixing video data and audio data. The sample 15 can be determined based on the video playback time, the data size (data amount), and the like. For example, the video playback time of the video object unit (VOBU) of DVD is 0.4. It contains video data from 1 second to 1 second. One or more sets of the samples 15 are referred to as tracks (P2Track) 16.
FIG. 4 shows a more detailed data structure of the moving picture stream 11. Each sample 15 includes one attached information pack (U_PK) 40 at the top, and then a video pack such as a video pack (V_PK) 41 and an audio pack (A_PK) such as an audio pack (A_PK) 42, respectively. Contains more than one. Note that the attached information pack 40 may not be included for each sample.
Each pack is composed of a pack header and a PES packet storing auxiliary information, video, and audio data. The amount of data is all constant (2048 bytes). In the following, the configuration of the attached information pack and the content of information included in the pack will be described.
FIG. 5A shows the data structure of the attached information pack 40. The attached information pack 40 includes a pack header 51, attribute information (U_PK_ID) 52 indicating attributes of the moving picture stream 11, and attribute data (U_PK_data) 53 at the top thereof. The pack header 51 describes information that identifies the pack header 51 among various packs. The attribute information (U_PK_ID) 52 describes information for specifying which recording standard data the sample 15 stores. As shown in FIG. 5A, the attribute information 52 is recorded after the 45th byte from the top in the attached information pack 40, and the conversion unit 121 of the data processing apparatus 10 described later stores the storage position of the attribute information 52. Information can be extracted. On the other hand, the attribute data (U_PK_data) 53 describes information related to the recording standard specified by the attribute information (U_PK_ID) 52, for example, information such as an aspect related to the encoded video stream.
FIG. 5B shows the correspondence between the ID of the attribute information 52 and the contents of the attribute data (U_PK_data) 53 described corresponding to the ID. The attribute information 52 can take values (ID) such as “00”, “60”, and “FF” in hexadecimal notation. Data corresponding to the ID is described as attribute data 53. For example, when the sample 15 includes a VR standard moving image stream, ID “60” is added, and the attached information a regarding the VR standard stream is described as attribute data (U_PK_data) 53. When a video standard moving image stream is included, ID “00” is added, and the attached information b regarding the video standard stream is described as attribute data (U_PK_data) 53. Therefore, according to the value of the attribute information 52, it can be determined which recording standard the sample 15 is based on.
The management information 13 will be described with reference to FIG. 3 again. The management information 13 includes access information for specifying a recording position in units of samples. The access information and the like are described in a sample table box (sample table box) 18 in a movie box (Movie Box) 17 in the management information 13. The sample is managed as a minimum management unit in the sample table box 18 and access information indicating a data storage position is described for each sample. Note that the sample 15 and the track 16 are units of the moving picture stream 11 managed by the management information 13, and the data of the moving picture stream 11 is not always physically separated and defined. In the management information 13, access information for each track 16 can be set. The encoded data generation unit 101 generates a moving image stream (P2stream) 11 so as to conform to the data structure described above.
In the QuickTime file format, a structure called an atom is adopted, which is very similar to the structure called a box described above. By replacing the word “Box” with “Atom”, the description herein for the MP4 file format is also applicable to the QuickTime file format.
On the other hand, the management information 13 includes a U_PK attribute information box (U_PK Information Box) 19. In the U_PK attribute information box 19, the same ID as the ID stored in the U_PK attribute information 52 (FIG. 5A) is copied and stored. Further, the U_PK attribute information box 19 may store the same data as the U_PK data 53 shown in FIG. FIG. 6 shows the type of ID described in the U_PK attribute information box 19 and the type of U_PK storage data corresponding to the type. This is substantially the same as the correspondence between the ID of the attribute information 52 shown in FIG. 5B and the contents of the attribute data (U_PK_data) 53 described corresponding to the ID. Therefore, the description is omitted here. The management file generation unit 106 generates the management information 13 so as to conform to the data structure described above.
Next, referring to FIG. 2 again, components related to the playback function of the data processing apparatus 10 will be described. The data processing apparatus 10 includes a video signal output unit 110, a decoding unit 111, an audio signal output unit 112, a playback unit 113, a playback control unit 114, a management information holding memory 118, and a pickup 130.
The reproducing unit 113 reads out data recorded on the optical disc 131 via the pickup 130 and acquires it as digital data. This reading is performed based on an instruction from the reproduction control unit 114. The reproduction control unit 114 instructs the management information file 14 to be read from the management information area 132 of the optical disc 131 before the reproduction instruction is issued. The management information holding memory 118 holds management information 13 obtained based on the read management file 14. When there is a reproduction instruction, the reproduction control unit 114 specifies the storage position in the AV data area 133 based on the access information in the sample table box 18 of the management information holding memory 118. The pickup 130 and the reproducing unit 113 read the sample 15 whose storage position is specified.
The decoding unit 111 receives compressed and encoded video data and / or audio data, performs a decoding process according to the compression format, and outputs video data and / or audio data. The video signal output unit 110 and the audio signal output unit 112 output the decoded video signal and / or audio signal to a television, a speaker, and the like, respectively.
Next, components related to the data stream transfer function of the data processing apparatus 10 will be described. Regarding the transfer function, the data processing apparatus 10 includes a conversion unit 121 and an output digital interface unit 122.
The conversion unit 121 operates based on the determination of the reproduction control unit 114 regarding whether or not to convert a format to be described later. If it is determined not to convert the format, the conversion unit 121 outputs the moving image stream 11 without conversion. On the other hand, when it is determined to convert the format, the conversion unit 121 converts the recording format of the moving picture stream 11 recorded in the AV data area 133 of the optical disc 131 into the recording format specified by the reproduction control unit 114. For example, when the management file is recorded in the MP4 file format in a state where the video stream 11 has a data structure compliant with the VR standard, the conversion unit 121 once decodes the video stream 11 and then converts it to the video standard. The data is compressed and encoded again so as to conform to the compliant format. In some cases, the management file is converted from the MP4 file format so as to conform to the video standard. This indicates that the management file is also converted when the file structure of the management file is different.
Furthermore, other conversion processes can be performed. Each moving picture stream of the VR standard and the video standard includes a plurality of video objects (VOB), and each VOB is composed of a plurality of video object units (VOBU). The VOBU corresponds to the sample (P2sample) 15 in FIG. Each VOBU includes a video pack and an audio pack for storing video data and audio data. Therefore, the conversion unit 121 uses each VR standard pack as it is as a video standard pack.
On the other hand, the conversion unit 121 converts a real-time information pack (RDI pack) arranged at the head of a VR standard VOBU into a video standard navigation pack (navigation pack). Each is information for controlling the reproduction of video data and audio data in a moving image stream, and has a data structure defined in each standard. Also, the conversion unit 121 converts each video pack and audio pack that appears first in each VOBU at the beginning of the VR standard into a video pack and an audio pack that do not have a PES extension field. However, each video pack and audio pack appearing at the beginning of the VOB is left without being converted. At the time of conversion, the PES extension field may be deleted to adjust the data length to a fixed pack length (2048 bytes). The PES extension field describes information necessary for decoding the program stream, for example, the capacity of the decoding data buffer. According to the above-described processing, it is not necessary to decode and recompress and encode all video data and audio data, so that the processing can be speeded up and quality degradation can be suppressed.
Next, the output digital interface unit 122 (hereinafter referred to as “output D-IF unit 122”) receives the moving image stream, and outputs the moving image stream in accordance with, for example, a communication protocol in accordance with the IEEE 1394 standard. In FIG. 2, the output D-IF unit 122 and the input D-IF unit 103 are described separately, but this is for convenience of explanation and can be integrated into one. . For example, in the case of the IEEE1394 interface, data input and output are realized by a single connector.
In order to transfer the data stream, it is necessary to read the data stream from the optical disc 131. In order to read the data stream, the playback unit 113, the playback control unit 114, the management information holding memory 118, and the pickup 130 are required as in playback. The operations of these components are generally as described in relation to the playback function of the previous data processing apparatus 10, but the different operations will be described below with reference to FIG. It explains together.
FIG. 7 shows the procedure of the transfer process of the data processing apparatus 10. First, prior to the start of processing, a user connects an output digital interface unit 122 (described later) of the data processing apparatus 10 and an input terminal of the DVD recorder 20 with an IEEE 1394 standard cable or the like, and a data stream is connected to the DVD recorder 20. An instruction to transfer to is input via a remote controller (not shown) or the like of the data processing apparatus 10. Then, in step S <b> 71, the playback control unit 114 of the data processing apparatus 10 receives a transfer instruction for the moving image stream 11. When receiving the instruction, in the next step S72, the reproduction control unit 114 acquires the U_PK attribute information 19 stored in the management information holding memory 118, and specifies the format of the moving picture stream 11. Here, the moving image stream 11 is in the VR standard format.
Next, in step S73, an inquiry is made from the output D-IF unit 122 to the DVD recorder 20, which is a transfer destination device, and the input D-IF unit 103 can record and / or reproduce in the DVD recorder 20. Get format information (format information). The format information is sent to the playback control unit 114.
For example, the data processing apparatus 10 may acquire the format information from the DVD recorder 20 by a communication protocol of the IEEE 1394 standard. Alternatively, the data processing apparatus 10 may specify the format information of the DVD recorder 20 using an HDMI standard communication protocol or the like. Specifically, the data processing apparatus 10 transmits a control command to the DVD recorder 20 in accordance with the HDMI standard for obtaining device-specific information for specifying a manufacturer name, a model number, and the like, and the DVD recorder 20 also has a device in accordance with the HDMI standard. Receive unique information. Then, the playback control unit 114 refers to a table defined in the internal memory of the data processing apparatus 10 or an external memory card (not shown). The table describes the correspondence between the device specific information and the format information of the device. The playback control unit 114 can specify format information that can be processed by the DVD recorder 20 based on the information. Note that the playback control unit 114 may acquire the format name input by the user via the remote controller as the format information.
Next, in step S74, the playback control unit 114 determines whether the U_PK attribute information 19 matches the format information. In this specification, the U_PK attribute information 19 indicates that it is a VR standard format. Therefore, when the format information indicates the VR standard format, the playback control unit 114 determines that there is no need for conversion, and proceeds to step S75. On the other hand, if the format information indicates a format other than the VR standard format (for example, video standard format), the playback control unit 114 determines that conversion is necessary, and proceeds to step S76.
In step S75, the data processing apparatus 10 rotates the optical disc 131 at a speed several to several tens of times higher than the playback speed during normal playback, and is several times faster than the read speed during standard playback via the pickup 130 and the playback unit 113. The moving image stream 11 is read out at a speed that is twice to several tens of times faster. The reason why such a process is possible is that the conversion unit 121 to which the moving image stream 11 is transmitted does not have to perform the stream conversion process, so there is no need to wait for the end of the process of the conversion unit 121. With respect to the read moving image stream 11, the conversion unit 121 sends the moving image stream 11 to the output D-IF unit 122 as it is, and the output D-IF unit 122 also transfers it to the DVD recorder 20 as it is. When the transfer ends, the process ends.
On the other hand, in step S76, the pickup 130 and the reproduction unit 113 read a moving picture stream from the optical disc 131 at a standard speed, and the conversion unit 121 converts the format based on the format information of the DVD recorder 20 that is a transfer destination device. Furthermore, in step S77, the conversion unit 121 changes the U_PK attribute information (U_PK_ID) 52 and the U_PK data (U_PK_data) 53 in the attached information pack (U_PK) 40 in accordance with the format of the converted video stream. Thereafter, in step S78, the output D-IF unit 122 transfers the converted video stream to the DVD recorder 20. Since the DVD recorder 20 can receive the converted video stream and record it on the recording medium 134 as it is, the DVD recorder 20 is not subjected to processing load for conversion, and the hardware resource is used for other processing. Can be used effectively.
The embodiments of the present invention have been described above. In the above description, a DVD-RAM disk is given as an example of the optical disk 131. However, there are various standards for optical discs, and other than DVD-RAM discs, MO, DVD-R, DVD-RW, + RW, CD-R, CD-RW, and the like may be used. Further, in place of the optical disk 131, a removable recording medium other than the optical disk, for example, a semiconductor memory card can be used, or a hard disk, a semiconductor memory, or the like that is a part of the components of the data processing apparatus 10 can be used. it can.
In this embodiment, the MP4 file format is taken as an example, and the U_PK attribute information 19 is stored in one box (U_PK Information Box) in a movie box that is a box (BOX) structure. However, the box structure is not an essential requirement of the present invention, and any data structure may be adopted as long as the U_PK attribute information is stored in the management information so that it can be specified.
In the description of the MP4 file format, the moving image file 12 and the management file 14 are described as being recorded on the optical disc 131 as separate files. However, this is not an essential requirement for the present invention. For example, only the moving image file 12 may be recorded alone. When transferring the moving picture stream described above, the playback control unit 114 may directly read the U_PK attribute information 52 from the attached information pack 50 of the moving picture stream 11 stored as the moving picture file 12 and specify the format of the moving picture stream 11.
When one of the format information related to the above-described DVD recorder 20 and the attribute information specifying the format of the data stream is fixed, for example, the data processing apparatus 10 only performs processing of one specific format. When it is known in advance that only the device to be enabled is connected, or when the format of the data stream is determined in advance and the attribute information is fixed, the playback control unit will at least one of the attribute information and the format information. Based on the above, it may be determined whether or not to convert the format of the data stream.
The transfer function of the data processing device is realized based on a computer program that defines the processing procedure shown in FIG. The computer of the data processing apparatus operates each component of the data processing apparatus by executing such a computer program, thereby realizing the above-described processing. The computer program is recorded on a recording medium such as a CD-ROM and distributed on the market, or transmitted through an electric communication line such as the Internet. Thereby, even in a computer system, transfer processing having the same function as that of the above-described data processing device can be realized.

本発明によれば、データストリームを転送する際に、データストリームが転送先の機器において処理可能なフォーマットであるか否かを判断し、処理できる場合にはそのまま処理を加えることなく転送し、処理できない場合には処理できるフォーマットに変換して転送する。処理を加えることなく転送する場合には、データストリームの読み出し速度には制約が存在しないため、記録媒体からデータストリームを高速に読み出して転送することができる。転送先の機器は受信したデータストリームをそのまま記録すればよいので、機器側での変換処理等に起因する処理負荷を軽減できる。  According to the present invention, when transferring a data stream, it is determined whether or not the data stream is in a format that can be processed by the transfer destination device. If not, convert to a format that can be processed and transfer. When transferring without processing, since there is no restriction on the data stream reading speed, the data stream can be read from the recording medium at high speed and transferred. Since the transfer destination device has only to record the received data stream as it is, the processing load caused by the conversion processing on the device side can be reduced.

本発明は、映像、音声に関するデータストリームを、機器間で伝送するための処理に関する。   The present invention relates to a process for transmitting a data stream related to video and audio between devices.

近年、映像、音声等のコンテンツに関する圧縮符号化されたデジタルデータストリームを光ディスク等の記録媒体に記録し、再生することが可能な装置が普及してきている。そのような装置の多くは、装置間の再生互換性を確保するために定められた規格(記録フォーマット)にしたがってデータストリームを記録媒体に記録している。光ディスクの1つであるDVDを例にとると、DVDにはデータストリームを記録するために複数の規格が存在している。具体的には、DVDビデオ規格(以下、「ビデオ規格」と称する)およびDVDビデオレコーディング規格(以下、「VR規格」と称する)である。ビデオ規格は、映画等の再生専用データストリームが記録されるパッケージメディア用の記録フォーマットを規定する。VR規格は、データストリームをリアルタイムに記録し、後の編集等を可能にする記録フォーマットを規定する。   2. Description of the Related Art In recent years, devices capable of recording and reproducing a compression-coded digital data stream related to content such as video and audio on a recording medium such as an optical disk have become widespread. Many of such devices record a data stream on a recording medium in accordance with a standard (recording format) established for ensuring reproduction compatibility between devices. Taking a DVD as an example of an optical disk as an example, there are a plurality of standards for recording a data stream on a DVD. Specifically, the DVD video standard (hereinafter referred to as “video standard”) and the DVD video recording standard (hereinafter referred to as “VR standard”). The video standard defines a recording format for package media in which a reproduction-only data stream such as a movie is recorded. The VR standard defines a recording format that records a data stream in real time and enables later editing and the like.

市販されている記録装置は、必ずしも存在する全ての規格に対応してデータストリームを記録できるわけではなく、その目的、価格等の基準に基づいて対応する規格が決定される。記録装置は、通常、対応していない規格のデータストリームを解析することはできず、また、記録することもできない。   Commercially available recording devices are not necessarily capable of recording data streams corresponding to all existing standards, and the corresponding standards are determined based on criteria such as purpose and price. The recording device cannot normally analyze nor record a data stream of a standard that is not supported.

いま、2台の光ディスク装置を接続して、一方の装置(転送元装置)からデータストリームを出力し、他方の装置(転送先装置)がそれを記録媒体に記録する例を想定する。この処理は、いわゆるデータストリームの転送(コピー)処理である。転送元装置の光ディスクには、VR規格にしたがったデータストリームが記録されているとする。また、転送先装置はビデオ規格のみにしたがってデータストリームを記録することができるとする。   Assume that two optical disk devices are connected, a data stream is output from one device (transfer source device), and the other device (transfer destination device) records it on a recording medium. This process is a so-called data stream transfer (copy) process. It is assumed that a data stream according to the VR standard is recorded on the optical disc of the transfer source device. Further, it is assumed that the transfer destination device can record a data stream only in accordance with the video standard.

転送元装置がVR規格のデータストリームをそのまま転送先装置に出力しても、転送先装置はそのデータストリームを解析することもできず、記録媒体に記録することもできない。よって、転送元装置は、VR規格のデータストリームをビデオ規格のデータストリームに変換して転送先装置に出力する。これにより、転送先装置は受け取ったビデオ規格のデータストリームをそのままデータを加工する必要なくDVDに記録することができる。   Even if the transfer source apparatus outputs the VR standard data stream as it is to the transfer destination apparatus, the transfer destination apparatus cannot analyze the data stream nor record it on the recording medium. Therefore, the transfer source device converts the VR standard data stream into a video standard data stream and outputs the data stream to the transfer destination device. Thus, the transfer destination apparatus can record the received video standard data stream on the DVD without having to process the data as it is.

しかしながら、上述の従来の処理は転送開始から終了までに要する時間が長くなるという問題がある。転送元装置はデータストリームをすべて解析して、常に転送先装置の記録フォーマットに適合するようにデータストリームを再構築しているからである。ここでいう「データストリームの再構築」とは、VR規格のデータストリームを復号化し、その後、ビデオ規格のデータストリームに適合するように再び符号化する処理をいう。このとき、従来の転送元装置は、実際にはデータストリームの再構築が必要ない場合であっても、データストリームを標準の再生時と同様の読み出しをしながらすべて解析しているため、やはり転送開始から終了までに要する時間が長かった。   However, the above-described conventional processing has a problem that the time required from the start to the end of the transfer becomes long. This is because the transfer source device analyzes all data streams and always reconstructs the data stream so as to conform to the recording format of the transfer destination device. Here, “reconstruction of data stream” refers to a process of decoding a VR standard data stream and then encoding again so as to conform to the video standard data stream. At this time, even if the conventional transfer source device does not actually need to reconstruct the data stream, it analyzes all the data stream while reading it in the same way as during standard reproduction. It took a long time from start to finish.

また、転送元装置が複数の規格の動画ストリームに対応している場合には、転送元装置は、転送の対象となるデータストリームの規格を判断し、その後変換の要否を判断する必要がある。よって、さらに転送処理に時間を要する。   Further, when the transfer source device supports a plurality of standard moving image streams, the transfer source device needs to determine the standard of the data stream to be transferred, and then determine whether conversion is necessary. . Therefore, more time is required for the transfer process.

本発明の目的は、データストリームの規格を迅速に判断し、かつ、機器間でデータストリームを高速に転送することである。   An object of the present invention is to quickly determine the standard of a data stream and transfer the data stream between devices at high speed.

本発明によるデータ処理装置は、接続された機器に、記録媒体に記録されたデータストリームを転送する。前記データストリームは前記データストリームのフォーマットを特定する属性情報を有している。データ処理装置は、前記機器と通信して、前記機器において処理することが可能なフォーマットを特定するフォーマット情報を取得するインターフェース部と、前記記録媒体から前記属性情報および前記データストリームを読み出す再生部と、前記属性情報および前記フォーマット情報に基づいて、前記データストリームのフォーマットを変換するか否かを決定する再生制御部と、前記決定に基づいて、前記データストリームのフォーマットを前記フォーマット情報によって特定されるフォーマットに変換して出力し、または、前記データストリームのフォーマットを変換することなく出力する変換部とを備えている。そして、前記インターフェース部は、変換部から出力されたデータストリームを前記機器に送信する。   A data processing apparatus according to the present invention transfers a data stream recorded on a recording medium to a connected device. The data stream has attribute information specifying the format of the data stream. The data processing apparatus communicates with the device to acquire format information for specifying a format that can be processed by the device, and a reproducing unit that reads the attribute information and the data stream from the recording medium. A playback control unit that determines whether or not to convert the format of the data stream based on the attribute information and the format information; and the format of the data stream is specified by the format information based on the determination A conversion unit that outputs the data stream without converting the format of the data stream. The interface unit transmits the data stream output from the conversion unit to the device.

前記データストリームは、前記属性情報がコピーされた管理情報とともに前記記録媒体に記録されており、前記再生部は、前記管理情報を読み出して前記属性情報を抽出してもよい。   The data stream may be recorded on the recording medium together with management information to which the attribute information is copied, and the playback unit may read the management information and extract the attribute information.

前記再生部は、前記データストリームを読み出して前記属性情報を抽出してもよい。   The reproducing unit may extract the attribute information by reading the data stream.

前記再生部は、前記フォーマットを変換するか否かの決定に応じて前記データストリームの読み出し速度を変化させてもよい。   The reproducing unit may change the reading speed of the data stream according to the determination as to whether to convert the format.

前記再生部は、前記フォーマット変換をするときには第1速度で前記データストリームを読み出し、前記フォーマット変換をしないときには前記第1速度よりも速い第2速度で前記データストリームを読み出してもよい。   The reproducing unit may read the data stream at a first speed when the format conversion is performed, and may read the data stream at a second speed higher than the first speed when the format conversion is not performed.

本発明によるデータ処理方法は、データ処理装置において実行され、前記データ処理装置と接続された機器に、記録媒体に記録されたデータストリームを転送する。前記データストリームは前記データストリームのフォーマットを特定する属性情報を有している。データ処理方法は、前記機器と通信して、前記機器において処理することが可能なフォーマットを特定するフォーマット情報を取得するステップと、前記記録媒体から前記属性情報および前記データストリームを読み出すステップと、前記属性情報および前記フォーマット情報に基づいて、前記データストリームのフォーマットを変換するか否かを決定するステップと、前記決定に基づいて、前記データストリームのフォーマットを前記フォーマット情報によって特定されるフォーマットに変換して出力し、または、前記データストリームのフォーマットを変換することなく出力して、前記機器に送信するステップとを包含する。   A data processing method according to the present invention is executed in a data processing apparatus, and transfers a data stream recorded on a recording medium to a device connected to the data processing apparatus. The data stream has attribute information specifying the format of the data stream. The data processing method communicates with the device to acquire format information specifying a format that can be processed by the device, to read the attribute information and the data stream from the recording medium, Determining whether to convert the format of the data stream based on the attribute information and the format information; and converting the format of the data stream to a format specified by the format information based on the determination. Or outputting the data stream without converting the format and transmitting the data stream to the device.

前記データストリームは、前記属性情報がコピーされた管理情報とともに前記記録媒体に記録されており、前記読み出すステップは、前記管理情報を読み出して前記属性情報を抽出してもよい。   The data stream may be recorded on the recording medium together with management information to which the attribute information is copied, and the reading step may read the management information and extract the attribute information.

前記読み出すステップは、前記データストリームを読み出して前記属性情報を抽出してもよい。   In the reading step, the attribute information may be extracted by reading the data stream.

前記読み出すステップは、前記フォーマットを変換するか否かの決定に応じて前記データストリームの読み出し速度を変化させてもよい。   The reading step may change a reading speed of the data stream in accordance with determination of whether to convert the format.

前記読み出すステップは、前記フォーマット変換をするときには第1速度で前記データストリームを読み出し、前記フォーマット変換をしないときには前記第1速度よりも速い第2速度で前記データストリームを読み出してもよい。   In the reading step, the data stream may be read at a first speed when the format conversion is performed, and the data stream may be read at a second speed higher than the first speed when the format conversion is not performed.

本発明によれば、データストリームを転送する際に、データストリームが転送先の機器において処理可能なフォーマットであるか否かを判断し、処理できる場合にはそのまま処理を加えることなく転送し、処理できない場合には処理できるフォーマットに変換して転送する。処理を加えることなく転送する場合には、データストリームの読み出し速度には制約が存在しないため、記録媒体からデータストリームを高速に読み出して転送することができる。転送先の機器は受信したデータストリームをそのまま記録すればよいので、機器側での変換処理等に起因する処理負荷を軽減できる。   According to the present invention, when transferring a data stream, it is determined whether or not the data stream is in a format that can be processed by the transfer destination device. If not, convert to a format that can be processed and transfer. When transferring without processing, since there is no restriction on the data stream reading speed, the data stream can be read from the recording medium at high speed and transferred. Since the transfer destination device has only to record the received data stream as it is, the processing load caused by the conversion processing on the device side can be reduced.

以下では、まず図1(a)および(b)を参照しながら本発明による処理を説明し、その後、その処理を実現するデータ処理装置の構成および動作を説明する。   In the following, the processing according to the present invention will be described first with reference to FIGS. 1A and 1B, and then the configuration and operation of a data processing apparatus that implements the processing will be described.

図1(a)は、データストリームを転送するために接続されたカムコーダ10およびDVDレコーダ20を示す。図1(a)では、データストリームがカムコーダ10からDVDレコーダ20へと転送されるとして説明する。   FIG. 1 (a) shows a camcorder 10 and a DVD recorder 20 connected to transfer a data stream. In FIG. 1A, a description will be given assuming that the data stream is transferred from the camcorder 10 to the DVD recorder 20.

カムコーダ10は、映像および音声を撮影して、その内部に装填された光ディスク131にデータストリームAの動画ファイルを記録する。記録フォーマットは、ユーザの操作等に基づいて、DVD−VR規格およびビデオ規格のいずれか一方が選択される。データストリームAには、後述する所定の位置に、そのデータストリームAのフォーマットを特定する属性情報が設けられている。   The camcorder 10 captures video and audio, and records the moving image file of the data stream A on the optical disk 131 loaded therein. As the recording format, one of the DVD-VR standard and the video standard is selected based on a user operation or the like. The data stream A is provided with attribute information for specifying the format of the data stream A at a predetermined position described later.

また、カムコーダ10はDVDレコーダ20と通信して、DVDレコーダ20のフォーマット情報を取得する。フォーマット情報は、DVDレコーダ20において処理することが可能なフォーマットを特定するための情報である。本明細書ではDVDレコーダ20はVR規格またはビデオ規格のいずれか一方のフォーマットによってデータストリームを記録できるとしている。接続されたDVDレコーダ20が具体的に特定されたとき、いずれのフォーマットであるかも特定される。なお、図1(a)では、DVDレコーダ20が光ディスク134に記録可能なデータストリームを「データストリームB」として示している。   In addition, the camcorder 10 communicates with the DVD recorder 20 and acquires the format information of the DVD recorder 20. The format information is information for specifying a format that can be processed by the DVD recorder 20. In this specification, it is assumed that the DVD recorder 20 can record a data stream in either the VR standard or the video standard. When the connected DVD recorder 20 is specifically specified, which format is specified. In FIG. 1A, a data stream that can be recorded on the optical disk 134 by the DVD recorder 20 is shown as “data stream B”.

カムコーダ10は、光ディスク131から属性情報を含むデータストリームAの動画ファイルを読み出すと、その属性情報とフォーマット情報とを比較して、データストリームAのフォーマットを変換するか否かを決定する。すなわち、データストリームAが、DVDレコーダ20において記録できるフォーマットであればフォーマット変換は不要であると決定し、記録できないフォーマットであればフォーマット変換が必要であると決定する。   When the camcorder 10 reads the moving image file of the data stream A including the attribute information from the optical disc 131, the camcorder 10 compares the attribute information with the format information and determines whether or not to convert the format of the data stream A. That is, if the data stream A is in a format that can be recorded by the DVD recorder 20, it is determined that format conversion is unnecessary, and if the format is not recordable, it is determined that format conversion is necessary.

フォーマット変換が不要であると決定したときは、データストリームAを加工することなく、そのままデータストリームBとして出力する。DVDレコーダ20はデータストリームBを受け取り、そのまま光ディスク134に記録する。   When it is determined that format conversion is unnecessary, the data stream A is output as it is as the data stream B without being processed. The DVD recorder 20 receives the data stream B and records it on the optical disc 134 as it is.

一方、フォーマット変換が必要であると決定したときは、カムコーダ10は、データストリームAのフォーマットをフォーマット情報によって特定されるフォーマットに変換して、データストリームBとして出力する。DVDレコーダ20はデータストリームBを受け取り、そのまま光ディスク134に記録する。   On the other hand, when it is determined that format conversion is necessary, the camcorder 10 converts the format of the data stream A into a format specified by the format information and outputs it as the data stream B. The DVD recorder 20 receives the data stream B and records it on the optical disc 134 as it is.

図1(b)は、本実施形態によるデータストリームAとデータストリームBとの組み合わせ例と、各例についての相対的な転送時間長の関係を示す。a欄は、データストリームAおよびBの両方がVR規格である組み合わせ例を示す。また、d欄ではデータストリームAおよびBの両方がビデオ規格である組み合わせ例を示す。この2つの例では、データストリームの転送時間は短くなる。その理由は、フォーマット変換が必要ないため、光ディスク131を標準の再生速度よりも数倍〜数十倍高速な再生速度でデータストリームAを読み出して出力できるからである。   FIG. 1B shows a combination example of the data stream A and the data stream B according to the present embodiment and a relationship between relative transfer time lengths for each example. The a column shows a combination example in which both data streams A and B are VR standards. Further, the column d shows a combination example in which both data streams A and B are video standards. In these two examples, the transfer time of the data stream is shortened. The reason is that since format conversion is not required, the data stream A can be read and output from the optical disk 131 at a playback speed several times to several tens of times faster than the standard playback speed.

一方、b欄およびc欄は、データストリームAおよびBのフォーマットが互いに異なっている例を示す。この2つの例では、データストリームの転送時間は、変換に時間を要すること、および、変換のために光ディスク131からデータストリームAを高速に読み出すことができないことにより、従来と同等になる(図1(b)では「標準」として示す)。   On the other hand, columns b and c show examples in which the formats of data streams A and B are different from each other. In these two examples, the transfer time of the data stream is equivalent to that of the prior art due to the time required for conversion and the inability to read the data stream A from the optical disc 131 for conversion (FIG. 1). (In (b), indicated as “standard”).

続いて、カムコーダ10の構成を説明する。ただし、以下ではより一般的に構成を説明するため、カムコーダ10を「データ処理装置10」と称する。上述のカムコーダはデータ処理装置10の1つの例示である。以下に説明する機能を有する機器は、カムコーダ以外の装置であっても本発明のデータ処理装置の範疇である。   Next, the configuration of the camcorder 10 will be described. However, the camcorder 10 will be referred to as a “data processing apparatus 10” in order to describe the configuration more generally below. The camcorder described above is an example of the data processing apparatus 10. A device having the function described below is a category of the data processing device of the present invention even if it is a device other than a camcorder.

図2は、本実施形態によるデータ処理装置10の機能ブロックの構成を示す。データ処理装置10は、光ディスク131を記録媒体としてデータストリームを記録する。光ディスク131は、例えばDVD−RAMディスクである。光ディスクはデータ処理装置10自体の構成要素ではないが、図1には説明の便宜のために記載している。図1に記載の他の要素が、データ処理装置10を構成している。なお、本明細書では記録媒体を光ディスク131とした例を説明するが、他にはメモリカード等の半導体記録媒体を利用した場合であっても以下の説明は同様に適用できる。   FIG. 2 shows a functional block configuration of the data processing apparatus 10 according to the present embodiment. The data processing apparatus 10 records a data stream using the optical disk 131 as a recording medium. The optical disk 131 is, for example, a DVD-RAM disk. The optical disk is not a component of the data processing apparatus 10 itself, but is shown in FIG. 1 for convenience of explanation. Other elements described in FIG. 1 constitute a data processing apparatus 10. In this specification, an example in which the recording medium is the optical disk 131 will be described. However, the following description can be similarly applied even when a semiconductor recording medium such as a memory card is used.

データ処理装置10は、3つの機能、すなわち、データストリームの記録機能、再生機能および転送機能を有している。記録機能は、データ処理装置10が映像および/または音声に関するデジタル信号またはアナログ信号を受信して、信号から得られたデータストリームを光ディスク131に記録する機能である。再生機能は、データ処理装置10が光ディスク131に記録されたデータストリームを読み出して、映像および/または音声を再生する機能である。そして転送機能は、データ処理装置10が、光ディスク131に記録されたデータストリームの外部の機器に転送する機能である。転送に際しては、データ処理装置10はストリームのフォーマット変換の要否を決定する。そして、フォーマット変換が必要であるときは標準速度でデータストリームを読み出して接続された外部の機器が処理できるフォーマットに変換して出力し、フォーマット変換が必要ないときはデータ処理装置10は光ディスク131からデータストリームを高速に読み出してそのまま外部の機器に対して出力する。   The data processing apparatus 10 has three functions, that is, a data stream recording function, a reproduction function, and a transfer function. The recording function is a function in which the data processing apparatus 10 receives a digital signal or an analog signal related to video and / or audio, and records a data stream obtained from the signal on the optical disc 131. The reproduction function is a function in which the data processing apparatus 10 reads out a data stream recorded on the optical disc 131 and reproduces video and / or audio. The transfer function is a function in which the data processing apparatus 10 transfers the data stream recorded on the optical disc 131 to an external device. At the time of transfer, the data processing apparatus 10 determines whether or not stream format conversion is necessary. When format conversion is necessary, the data stream is read out at a standard speed, converted into a format that can be processed by a connected external device, and output when the format conversion is not necessary. Read the data stream at high speed and output it directly to an external device.

本実施形態によるデータ処理装置10の主要な機能は、データストリームの転送機能である。以下では、まず記録機能および再生機能を説明しながら光ディスク131に記録されたデータストリームのデータ構造を説明し、その後転送機能を説明する。なお、データ処理装置10が上述の3つの機能を有するとしたのは説明の便宜のためであり、データ処理装置10は以下に詳述する転送機能を有していればよい。記録機能および再生機能を有しているか否かは任意である。   The main function of the data processing apparatus 10 according to the present embodiment is a data stream transfer function. In the following, first, the data structure of the data stream recorded on the optical disc 131 will be described while explaining the recording function and the reproducing function, and then the transfer function will be described. The data processing apparatus 10 has the above three functions for convenience of explanation, and the data processing apparatus 10 only needs to have a transfer function described in detail below. Whether or not it has a recording function and a reproduction function is arbitrary.

まず、データ処理装置10の記録機能に関連する構成要素を説明する。データ処理装置10は、映像信号受信部100、符号化データ生成部101、音声信号受信部102、入力用デジタルインターフェース部103、管理ファイル生成部106、記録制御部115、連続データ領域検出部116および論理ブロック管理部117、記録部119、光ピックアップ130を有する。   First, components related to the recording function of the data processing apparatus 10 will be described. The data processing apparatus 10 includes a video signal receiving unit 100, an encoded data generating unit 101, an audio signal receiving unit 102, an input digital interface unit 103, a management file generating unit 106, a recording control unit 115, a continuous data area detecting unit 116, and A logical block management unit 117, a recording unit 119, and an optical pickup 130 are included.

映像信号受信部100は、映像信号を受信する。映像信号は、例えばデジタルスチルカメラの撮像素子(CCD素子)から出力された静止画、動画に関する圧縮符号化されていないデジタル信号や、TV放送波等のアナログ信号である。音声信号受信部102は、音声に関する音声信号を受信する。音声信号は、例えば動画撮影中にマイクから出力された信号である。映像信号受信部100および音声信号受信部102は、それぞれ映像信号および音声信号を別個独立に受信するように記載している。しかし、例えば映像信号および音声信号が、圧縮符号化されて多重化されたデジタル放送信号等であっても以下の本発明は適用できる。デジタル放送信号等を受信する場合には、受信部を1つ設け、後述の符号化データ生成部101の処理を省略することができる。本明細書では映像信号受信部100および音声信号受信部102は動画とそれに伴う音声の各信号を受信するとして説明する。映像信号および音声信号のいずれも、デジタル圧縮符号化されていないアナログ形式の信号とする。   The video signal receiving unit 100 receives a video signal. The video signal is, for example, a still image output from an imaging device (CCD device) of a digital still camera, a digital signal that is not compression-coded with respect to a moving image, or an analog signal such as a TV broadcast wave. The audio signal receiving unit 102 receives an audio signal related to audio. The audio signal is, for example, a signal output from a microphone during moving image shooting. It is described that the video signal receiving unit 100 and the audio signal receiving unit 102 receive the video signal and the audio signal separately, respectively. However, for example, the present invention described below can be applied to a digital broadcast signal in which a video signal and an audio signal are compressed and multiplexed. When receiving a digital broadcast signal or the like, one receiving unit is provided, and processing of the encoded data generating unit 101 described later can be omitted. In this specification, the video signal receiving unit 100 and the audio signal receiving unit 102 will be described as receiving video signals and accompanying audio signals. Both the video signal and the audio signal are analog signals that are not digitally compressed and encoded.

符号化データ生成部101は、映像信号および音声信号をそれぞれ所定の符号化形式(例えばMPEG2−Video形式、AC−3形式)で符号化する。また符号化データ生成部101は、記録する際の形式に応じたデータを生成することもできる。例えば、符号化された映像データおよび音声データを各記録形式に応じたデータの単位に分け、ヘッダ等を付加して映像パックおよび音声パックとして生成する。また、VR規格による記録の際にはRDIパックを生成し、ビデオ規格による記録の際にはナビゲーションパックを生成する。さらに後述のように、MP4ファイルフォーマットを用いて付属情報パック(U_PK)を生成する。   The encoded data generation unit 101 encodes the video signal and the audio signal in a predetermined encoding format (for example, MPEG2-Video format, AC-3 format). The encoded data generation unit 101 can also generate data according to the recording format. For example, encoded video data and audio data are divided into data units corresponding to each recording format, and a header or the like is added to generate video packs and audio packs. Also, an RDI pack is generated when recording according to the VR standard, and a navigation pack is generated when recording according to the video standard. Further, as described later, an attached information pack (U_PK) is generated using the MP4 file format.

入力用デジタルインターフェース部103(以下、「入力用D−IF部103」と記述する)は、外部機器と接続され、その機器からデジタル信号を受信してデジタルデータのファイルを取得する。「外部機器」とは、例えばDVDレコーダ20やPC(パーソナルコンピュータ)である。入力用D−IF部103は、静止画に関しては静止画データファイルを取得し、動画に関してはMPEGデータファイルを取得し、音声に関してはACデータ3ファイルを取得する。入力用D−IF部103は、IEEE1394インターフェース、USB(Universal Serial BUS)インターフェース等に代表されるデジタルインターフェースである。   An input digital interface unit 103 (hereinafter referred to as “input D-IF unit 103”) is connected to an external device, receives a digital signal from the device, and acquires a digital data file. The “external device” is, for example, a DVD recorder 20 or a PC (personal computer). The input D-IF unit 103 acquires a still image data file for a still image, acquires an MPEG data file for a moving image, and acquires three AC data files for audio. The input D-IF unit 103 is a digital interface represented by an IEEE 1394 interface, a USB (Universal Serial BUS) interface, or the like.

管理ファイル生成部106は、符号化データ生成部101において行われた符号化処理の結果に基づいて、MP4ファイルフォーマットに準拠した管理ファイルを生成する。後述する図3には、管理ファイル14が示されている。管理ファイルには、動画ファイルに格納されたデータストリームのフォーマットを特定する属性情報が記述されている。   The management file generation unit 106 generates a management file based on the MP4 file format based on the result of the encoding process performed by the encoded data generation unit 101. A management file 14 is shown in FIG. 3 to be described later. In the management file, attribute information for specifying the format of the data stream stored in the moving image file is described.

記録部119は、ピックアップ130を介してファイルを光ディスク131に書き込む。この書き込み動作は、記録制御部115によって制御される。連続データ領域検出部116は、記録制御部115の指示によって、論理ブロック管理部117で管理されるセクタの使用状況を調べ、物理的に連続する空き領域を検出する。これにより、管理ファイルは光ディスク131の内周側から一定のデータ量が割り当てられた管理情報領域132に記録され、動画ファイルは管理情報領域132の外周側に設けられたAVデータ領域133に記録される。管理ファイルをディスクの内周に集中配置することにより、アクセス性の向上、読み出しの高速化を図ることができる。   The recording unit 119 writes the file on the optical disc 131 via the pickup 130. This writing operation is controlled by the recording control unit 115. The continuous data area detection unit 116 checks the use status of sectors managed by the logical block management unit 117 according to an instruction from the recording control unit 115, and detects physically continuous free areas. As a result, the management file is recorded in the management information area 132 to which a certain amount of data is allocated from the inner circumference side of the optical disc 131, and the moving image file is recorded in the AV data area 133 provided on the outer circumference side of the management information area 132. The By arranging the management files centrally on the inner periphery of the disk, it is possible to improve accessibility and speed up reading.

ここで、図3〜図6を参照しながら、光ディスク131によって書き込まれたファイルのデータ構造を説明する。図3は、光ディスク131に記録された動画ファイル12および管理ファイル14のデータ構造を示す。図3に示す動画ファイル12および管理ファイル14は、MP4ファイルフォーマットにしたがって記録されている。MP4ファイルフォーマットは、MPEG4システム規格(ISO/IEC 14496−1)において規定され、ストリームデータを扱うことが可能であり、かつ、PCとの親和性が高い。MP4ファイルフォーマットには、VR規格およびビデオ規格等の種々の規格の動画ストリームを記録できる。   Here, the data structure of a file written by the optical disc 131 will be described with reference to FIGS. FIG. 3 shows the data structure of the moving image file 12 and the management file 14 recorded on the optical disc 131. The moving image file 12 and the management file 14 shown in FIG. 3 are recorded according to the MP4 file format. The MP4 file format is defined in the MPEG4 system standard (ISO / IEC 14496-1), can handle stream data, and has high compatibility with a PC. In the MP4 file format, moving image streams of various standards such as the VR standard and the video standard can be recorded.

なお、MP4ファイルフォーマットはApple(登録商標)社のQuickTime(TM)ファイルフォーマットをベースにして規定され、近年、様々なPCアプリケーションでサポートされている点において将来性のあるフォーマットである。ベースにされたQuickTimeファイルフォーマットは、現在、PCアプリケーションの分野で動画および音声を扱うファイルフォーマットとして幅広く使われている。   Note that the MP4 file format is defined based on the QuickTime (TM) file format of Apple (registered trademark), and is a future-proof format in that it is supported by various PC applications in recent years. The based QuickTime file format is now widely used as a file format for handling video and audio in the field of PC applications.

光ディスク131には、動画ストリーム(P2Stream)11を含む動画ファイル12と、管理情報13を含む管理ファイル14とが記録されている。動画ファイル12は光ディスク131のAVデータ領域133に書き込まれ、管理ファイル14は光ディスク131の管理情報領域132に書き込まれている。本明細書においては、動画ファイル12は"Movie Take File"とも呼ぶ。   On the optical disc 131, a moving image file 12 including a moving image stream (P2Stream) 11 and a management file 14 including management information 13 are recorded. The moving image file 12 is written in the AV data area 133 of the optical disk 131, and the management file 14 is written in the management information area 132 of the optical disk 131. In the present specification, the moving image file 12 is also referred to as “Movie Take File”.

動画ストリーム11は、例えばMPEG2システム規格(ISO/IEC 13818−1)で規定されるシステムストリームである。このシステムストリームには、プログラムストリーム(PS)、トランスポートストリーム(TS)、及びPESストリームの3種類が規定されている。ただし、MPEG2システム規格においては、これらのシステムストリームに対する管理情報(アクセス情報、特殊再生情報、記録日時等)を記録するデータ構造は規定されていない。以下では、動画ストリーム11は、MPEGプログラムストリームとして圧縮符号化されているとする。   The moving image stream 11 is a system stream defined by, for example, the MPEG2 system standard (ISO / IEC 13818-1). In this system stream, three types of program stream (PS), transport stream (TS), and PES stream are defined. However, the MPEG2 system standard does not define a data structure for recording management information (access information, special reproduction information, recording date and time) for these system streams. In the following, it is assumed that the moving image stream 11 is compressed and encoded as an MPEG program stream.

動画ストリーム11は、複数のサンプル(P2Sample)15を含む。サンプル15は、映像データおよび音声データが混在して構成されている。サンプル15は、映像の再生時間、データの大きさ(データ量)等に基づいて定めることが可能であり、例えばDVDのビデオオブジェクトユニット(VOBU)のような、映像の再生時間にして0.4秒から1秒程度の映像データを含む。サンプル15の1以上の集合をトラック(P2Track)16という。   The moving image stream 11 includes a plurality of samples (P2Sample) 15. The sample 15 is configured by mixing video data and audio data. The sample 15 can be determined based on the video playback time, the data size (data amount), and the like. For example, the video playback time of the video object unit (VOBU) of DVD is 0.4. It contains video data from 1 second to 1 second. One or more sets of the samples 15 are referred to as tracks (P2Track) 16.

図4は、動画ストリーム11のより詳細なデータ構造を示す。各サンプル15は、その先頭に付属情報パック(U_PK)40を1つ含み、その後に映像パック(V_PK)41等の映像パック、および、音声パック(A_PK)42等の音声パック(A_PK)をそれぞれ複数含んでいる。なお、付属情報パック40はサンプルごとには含まれていない場合がある。   FIG. 4 shows a more detailed data structure of the moving picture stream 11. Each sample 15 includes one attached information pack (U_PK) 40 at the top, and then a video pack such as a video pack (V_PK) 41 and an audio pack (A_PK) such as an audio pack (A_PK) 42, respectively. Contains more than one. Note that the attached information pack 40 may not be included for each sample.

各パックは、パックヘッダおよび、付属情報、映像、音声用のデータを格納したPESパケットから構成されている。そのデータ量は全て一定(2048バイト)である。以下では、特に付属情報パックの構成およびそのパックに含まれる情報の内容を説明する。   Each pack is composed of a pack header and a PES packet storing auxiliary information, video, and audio data. The amount of data is all constant (2048 bytes). In the following, the configuration of the attached information pack and the content of information included in the pack will be described.

図5(a)は、付属情報パック40のデータ構造を示す。付属情報パック40は、その先頭にパックヘッダ51と、動画ストリーム11の属性を示す属性情報(U_PK_ID)52と、属性データ(U_PK_data)53とを含む。パックヘッダ51には、各種のパックのうち、パックヘッダ51であることを特定する情報が記述されている。属性情報(U_PK_ID)52には、そのサンプル15がいずれの記録規格のデータを格納しているかを特定する情報が記述されている。図5(a)に示すように、属性情報52は、付属情報パック40内の先頭から45バイト目以降に記録されており、これにより、後述するデータ処理装置10の変換部121はその格納位置を特定して、情報を取り出すことができる。一方、属性データ(U_PK_data)53には、属性情報(U_PK_ID)52によって特定された記録規格に関する情報、例えば符号化されたビデオストリームに関するアスペクト等の情報が記述されている。   FIG. 5A shows the data structure of the attached information pack 40. The attached information pack 40 includes a pack header 51, attribute information (U_PK_ID) 52 indicating attributes of the moving picture stream 11, and attribute data (U_PK_data) 53 at the top thereof. The pack header 51 describes information that identifies the pack header 51 among various packs. The attribute information (U_PK_ID) 52 describes information for specifying which recording standard data the sample 15 stores. As shown in FIG. 5A, the attribute information 52 is recorded after the 45th byte from the top in the attached information pack 40, and the conversion unit 121 of the data processing apparatus 10 described later stores the storage position of the attribute information 52. Information can be extracted. On the other hand, the attribute data (U_PK_data) 53 describes information related to the recording standard specified by the attribute information (U_PK_ID) 52, for example, information such as an aspect related to the encoded video stream.

図5(b)は、属性情報52のIDと、そのIDに対応して記述される属性データ(U_PK_data)53の内容の対応関係を示す。属性情報52は、16進数表記による“00”、“60”、“FF”等の値(ID)をとり得る。そして、そのIDに対応したデータが属性データ53として記述される。例えば、サンプル15がVR規格の動画ストリームを含む場合にはID“60”が付加され、VR規格ストリームに関する付属情報aが属性データ(U_PK_data)53として記述される。また、ビデオ規格の動画ストリームを含む場合には、ID“00”が付加され、ビデオ規格ストリームに関する付属情報bが属性データ(U_PK_data)53として記述される。したがって、属性情報52の値によれば、そのサンプル15がどの記録規格に基づく動画ストリームであるかを判断できる。   FIG. 5B shows the correspondence between the ID of the attribute information 52 and the contents of the attribute data (U_PK_data) 53 described corresponding to the ID. The attribute information 52 can take values (ID) such as “00”, “60”, and “FF” in hexadecimal notation. Data corresponding to the ID is described as attribute data 53. For example, when the sample 15 includes a VR standard moving image stream, ID “60” is added, and the attached information a regarding the VR standard stream is described as attribute data (U_PK_data) 53. When a video standard moving image stream is included, ID “00” is added, and the attached information b regarding the video standard stream is described as attribute data (U_PK_data) 53. Therefore, according to the value of the attribute information 52, it can be determined which recording standard the sample 15 is based on.

再び図3を参照しながら、管理情報13を説明する。管理情報13は、サンプル単位の記録位置を特定するアクセス情報等を含む。アクセス情報等は、管理情報13内のムービーボックス(Movie Box)17中のサンプルテーブルボックス(sample Table Box)18内に記述される。サンプルは、サンプルテーブルボックス(Sample Table Box)18における最小管理単位として管理されており、各サンプルに対してデータ格納位置を示すアクセス情報等が記述される。なお、サンプル15およびトラック16は管理情報13によって管理される動画ストリーム11の単位であって、動画ストリーム11のデータが常に物理的に区分されて規定されているわけではない。管理情報13には、各トラック16に対するアクセス情報を設定することもできる。符号化データ生成部101は、上述したデータ構造に適合するように、動画ストリーム(P2stream)11を生成する。   The management information 13 will be described with reference to FIG. 3 again. The management information 13 includes access information for specifying a recording position in units of samples. Access information and the like are described in a sample table box 18 in a movie box 17 in the management information 13. Samples are managed as a minimum management unit in a sample table box 18 and access information indicating a data storage position is described for each sample. Note that the sample 15 and the track 16 are units of the moving picture stream 11 managed by the management information 13, and the data of the moving picture stream 11 is not always physically separated and defined. In the management information 13, access information for each track 16 can be set. The encoded data generation unit 101 generates a moving image stream (P2stream) 11 so as to conform to the data structure described above.

なお、QuickTimeファイルフォーマットではアトム(Atom)と呼ばれる構造体が採用されているが、これは上述のボックス(Box)と呼ばれる構造体と極めて類似する。“ボックス(Box)“という語を”アトム(Atom)”に読み替えることにより、MP4ファイルフォーマットに関する本明細書の説明は、QuickTimeファイルフォーマットに対しても適用できる。   The QuickTime file format employs a structure called Atom, which is very similar to the structure called Box described above. By replacing the word “Box” with “Atom”, the description herein regarding the MP4 file format is also applicable to the QuickTime file format.

一方、管理情報13は、U_PK属性情報ボックス(U_PK Information Box)19を含んでいる。U_PK属性情報ボックス19には、U_PK属性情報52(図5(a))に格納されているIDと同じIDがコピーされて格納されている。また、U_PK属性情報ボックス19には、図5(a)に示すU_PKデータ53と同じデータを格納してもよい。図6は、U_PK属性情報ボックス19に記述されるIDの種類と、その種類に対応するU_PK格納データの種類を示す。これは図5(b)に示す属性情報52のIDと、そのIDに対応して記述される属性データ(U_PK_data)53の内容の対応関係と実質的に同じである。よってここでは説明を省略する。管理ファイル生成部106は、上述したデータ構造に適合するように、管理情報13を生成する。   On the other hand, the management information 13 includes a U_PK attribute information box 19. In the U_PK attribute information box 19, the same ID as the ID stored in the U_PK attribute information 52 (FIG. 5A) is copied and stored. Further, the U_PK attribute information box 19 may store the same data as the U_PK data 53 shown in FIG. FIG. 6 shows the type of ID described in the U_PK attribute information box 19 and the type of U_PK storage data corresponding to the type. This is substantially the same as the correspondence between the ID of the attribute information 52 shown in FIG. 5B and the contents of the attribute data (U_PK_data) 53 described corresponding to the ID. Therefore, the description is omitted here. The management file generation unit 106 generates the management information 13 so as to conform to the data structure described above.

次に、再び図2を参照しながら、データ処理装置10の再生機能に関連する構成要素を説明する。データ処理装置10は、映像信号出力部110、復号部111、音声信号出力部112、再生部113、再生制御部114、管理情報保持メモリ118およびピックアップ130を有する。   Next, referring to FIG. 2 again, components related to the playback function of the data processing apparatus 10 will be described. The data processing apparatus 10 includes a video signal output unit 110, a decoding unit 111, an audio signal output unit 112, a playback unit 113, a playback control unit 114, a management information holding memory 118, and a pickup 130.

再生部113は、ピックアップ130を介して光ディスク131に記録されたデータを読み出し、デジタルデータとして取得する。この読み出しは、再生制御部114の指示に基づいて行われる。再生制御部114は、再生の指示が出される前において、光ディスク131の管理情報領域132から管理情報ファイル14の読み出しを指示する。管理情報保持メモリ118は、読み出された管理ファイル14に基づいて得られた管理情報13を保持する。再生の指示があると、再生制御部114は管理情報保持メモリ118のサンプルテーブルボックス18中のアクセス情報に基づいて、AVデータ領域133における格納位置を特定する。ピックアップ130および再生部113は、格納位置が特定されたサンプル15を読み出す。   The reproducing unit 113 reads out data recorded on the optical disc 131 via the pickup 130 and acquires it as digital data. This reading is performed based on an instruction from the reproduction control unit 114. The reproduction control unit 114 instructs the management information file 14 to be read from the management information area 132 of the optical disc 131 before the reproduction instruction is issued. The management information holding memory 118 holds management information 13 obtained based on the read management file 14. When there is a reproduction instruction, the reproduction control unit 114 specifies the storage position in the AV data area 133 based on the access information in the sample table box 18 of the management information holding memory 118. The pickup 130 and the reproducing unit 113 read the sample 15 whose storage position is specified.

復号部111は、圧縮符号化された映像データおよび/または音声データを受け取り、圧縮形式に応じた復号化処理を行って、映像データおよび/または音声データを出力する。映像信号出力部110および音声信号出力部112は、それぞれ復号化された映像信号および/または音声信号をテレビ、スピーカ等に出力する。   The decoding unit 111 receives compressed and encoded video data and / or audio data, performs a decoding process according to the compression format, and outputs video data and / or audio data. The video signal output unit 110 and the audio signal output unit 112 output the decoded video signal and / or audio signal to a television, a speaker, and the like, respectively.

次に、データ処理装置10のデータストリームの転送機能に関連する構成要素を説明する。転送機能に関し、データ処理装置10は変換部121および出力用デジタルインターフェース部122とを有している。   Next, components related to the data stream transfer function of the data processing apparatus 10 will be described. Regarding the transfer function, the data processing apparatus 10 includes a conversion unit 121 and an output digital interface unit 122.

変換部121は、後述するフォーマットを変換するか否かに関する再生制御部114の決定に基づいて動作する。フォーマットを変換しないと決定されると、変換部121は、動画ストリーム11を変換することなくそのまま出力する。一方、フォーマットを変換すると決定されると、変換部121は、光ディスク131のAVデータ領域133に記録された動画ストリーム11の記録フォーマットを、再生制御部114から指定された記録フォーマットに変換する。例えば、動画ストリーム11がVR規格に準拠したデータ構造を有する状態で、管理ファイルがMP4ファイルフォーマットにより記録されている場合に、変換部121はその動画ストリーム11を一旦復号し、その後、ビデオ規格に準拠したフォーマットに適合するように再び圧縮符号化して出力する。また、管理ファイルをMP4ファイルフォーマットからビデオ規格に適合するように変換する場合もある。これは、管理ファイルのファイル構造が異なる場合には、管理ファイルも変換することをあらわしている。   The conversion unit 121 operates based on the determination of the reproduction control unit 114 regarding whether or not to convert a format to be described later. If it is determined not to convert the format, the conversion unit 121 outputs the moving image stream 11 without conversion. On the other hand, when it is determined to convert the format, the conversion unit 121 converts the recording format of the moving picture stream 11 recorded in the AV data area 133 of the optical disc 131 into the recording format specified by the reproduction control unit 114. For example, when the management file is recorded in the MP4 file format in a state where the video stream 11 has a data structure compliant with the VR standard, the conversion unit 121 once decodes the video stream 11 and then converts it to the video standard. The data is compressed and encoded again so as to conform to the compliant format. In some cases, the management file is converted from the MP4 file format so as to conform to the video standard. This indicates that the management file is also converted when the file structure of the management file is different.

さらに他の変換処理を行うことも可能である。VR規格およびビデオ規格の各動画ストリームは、いずれも複数のビデオオブジェクト(VOB)を含み、各VOBは複数のビデオオブジェクトユニット(VOBU)から構成されている。VOBUは、図4のサンプル(P2sample)15に相当する。各VOBUは、ビデオデータおよびオーディオデータを格納するビデオパックおよびオーディオパック等を含む。よって、変換部121は、VR規格の各パックを概ねそのままビデオ規格のパックとして利用する。   Furthermore, other conversion processes can be performed. Each moving picture stream of the VR standard and the video standard includes a plurality of video objects (VOB), and each VOB is composed of a plurality of video object units (VOBU). The VOBU corresponds to the sample (P2sample) 15 in FIG. Each VOBU includes a video pack and an audio pack for storing video data and audio data. Therefore, the conversion unit 121 uses each VR standard pack as it is as a video standard pack.

一方、変換部121は、VR規格のVOBU先頭に配置されるリアルタイムインフォメーションパック(RDIパック)を、ビデオ規格のナビゲーションパック(ナビパック)に変換する。いずれも動画ストリーム中のビデオデータおよびオーディオデータの再生を制御するための情報であり、各規格において規定されたデータ構造を有する。また、変換部121は、VR規格の先頭の各VOBUにおいて最初に現れる各ビデオパックおよびオーディオパックを、PES拡張フィールドを有さないビデオパックおよびオーディオパックに変換する。ただし、VOBの最初に現れる各ビデオパックおよびオーディオパックは、変換することなくそのまま残す。変換に際しては、PES拡張フィールドを削除して、データ長をパックの固定長(2048バイト)に調整すればよい。PES拡張フィールドには、プログラムストリームの復号に必要な情報、例えば復号用のデータバッファの容量等が記述される。上述の処理によれば、全ての映像データおよび音声データを復号および再圧縮符号化する必要がないので、処理が高速化されるとともに、品質の劣化を抑えることができる。   On the other hand, the conversion unit 121 converts a real-time information pack (RDI pack) arranged at the head of a VR standard VOBU into a video standard navigation pack (navigation pack). Each is information for controlling the reproduction of video data and audio data in a moving image stream, and has a data structure defined in each standard. Also, the conversion unit 121 converts each video pack and audio pack that appears first in each VOBU at the beginning of the VR standard into a video pack and an audio pack that do not have a PES extension field. However, each video pack and audio pack appearing at the beginning of the VOB is left without being converted. At the time of conversion, the PES extension field may be deleted to adjust the data length to a fixed pack length (2048 bytes). The PES extension field describes information necessary for decoding the program stream, for example, the capacity of the decoding data buffer. According to the above-described processing, it is not necessary to decode and recompress and encode all video data and audio data, so that the processing can be speeded up and quality degradation can be suppressed.

次に、出力用デジタルインターフェース部122(以下「出力用D−IF部122」と記述する)は、動画ストリームを受け取り、例えばIEEE1394規格に従った通信プロトコルに準拠してその動画ストリームを出力する。なお、図2では出力用D−IF部122と入力用D−IF部103とを別々に記載しているが、これは説明の便宜のためであり、1つに統合することも可能である。例えばIEEE1394インターフェースであれば、データの入力および出力は1つのコネクタによって実現される。   Next, the output digital interface unit 122 (hereinafter referred to as “output D-IF unit 122”) receives the moving image stream, and outputs the moving image stream in accordance with, for example, a communication protocol in accordance with the IEEE 1394 standard. In FIG. 2, the output D-IF unit 122 and the input D-IF unit 103 are described separately, but this is for convenience of explanation and can be integrated into one. . For example, in the case of the IEEE1394 interface, data input and output are realized by a single connector.

なお、データストリームを転送するためには、光ディスク131からデータストリームを読み出す必要がある。データストリームの読み出しには、再生時と同様に、再生部113、再生制御部114、管理情報保持メモリ118およびピックアップ130が必要である。これらの構成要素の動作は、概ね先のデータ処理装置10の再生機能に関連して説明したとおりであるが、異なる動作については、次に図7を参照しながらデータ処理装置10の処理の手順とともに説明する。   In order to transfer the data stream, it is necessary to read the data stream from the optical disc 131. In order to read the data stream, the playback unit 113, the playback control unit 114, the management information holding memory 118, and the pickup 130 are required as in playback. The operations of these components are generally as described in relation to the playback function of the previous data processing apparatus 10, but the different operations will be described below with reference to FIG. It explains together.

図7は、データ処理装置10の転送処理の手順を示す。まず、処理の開始に先立って、ユーザが、データ処理装置10の出力用デジタルインターフェース部122(後述)とDVDレコーダ20の入力端子とをIEEE1394規格のケーブル等によって接続し、データストリームをDVDレコーダ20へ転送する指示をデータ処理装置10のリモートコントローラー(図示せず)等を介して入力する。すると、ステップS71において、データ処理装置10の再生制御部114は動画ストリーム11の転送指示を受け取る。その指示を受け取ると、次のステップS72において、再生制御部114は管理情報保持メモリ118に格納されているU_PK属性情報19を取得し、動画ストリーム11のフォーマットを特定する。ここでは動画ストリーム11はVR規格フォーマットである。   FIG. 7 shows the procedure of the transfer process of the data processing apparatus 10. First, prior to the start of processing, a user connects an output digital interface unit 122 (described later) of the data processing apparatus 10 and an input terminal of the DVD recorder 20 with an IEEE 1394 standard cable or the like, and a data stream is connected to the DVD recorder 20. An instruction to transfer to is input via a remote controller (not shown) or the like of the data processing apparatus 10. Then, in step S <b> 71, the playback control unit 114 of the data processing apparatus 10 receives a transfer instruction for the moving image stream 11. When receiving the instruction, in the next step S72, the reproduction control unit 114 acquires the U_PK attribute information 19 stored in the management information holding memory 118, and specifies the format of the moving picture stream 11. Here, the moving image stream 11 is in the VR standard format.

次に、ステップS73において、出力用D−IF部122から転送先の機器であるDVDレコーダ20に問い合わせが行われ、入力用D−IF部103は、DVDレコーダ20において記録および/または再生可能なフォーマットの情報(フォーマット情報)を取得する。フォーマット情報は再生制御部114に送られる。   Next, in step S73, an inquiry is made from the output D-IF unit 122 to the DVD recorder 20, which is a transfer destination device, and the input D-IF unit 103 can record and / or reproduce in the DVD recorder 20. Get format information (format information). The format information is sent to the playback control unit 114.

例えば、データ処理装置10は、IEEE1394規格の通信プロトコル等によってDVDレコーダ20からそのフォーマット情報を取得してもよい。または、データ処理装置10がHDMI規格の通信プロトコル等を利用してDVDレコーダ20のフォーマット情報を特定してもよい。具体的には、DVDレコーダ20に対して、データ処理装置10は、メーカー名、型番等を特定する機器固有情報を求めるHDMI規格に従って制御コマンドを送信して、DVDレコーダ20から同じくHDMI規格に従って機器固有情報を受け取る。そして、再生制御部114は、データ処理装置10の内部メモリまたは外部のメモリカード等(図示せず)に規定されたテーブルを参照する。テーブルには、機器固有情報とその機器のフォーマット情報との対応が記述されている。再生制御部114は、それらの情報に基づいてDVDレコーダ20の処理可能なフォーマット情報を特定することができる。なお、再生制御部114は、ユーザがリモートコントローラーを介して入力したフォーマット名をフォーマット情報として取得してもよい。   For example, the data processing apparatus 10 may acquire the format information from the DVD recorder 20 by a communication protocol of the IEEE 1394 standard. Alternatively, the data processing apparatus 10 may specify the format information of the DVD recorder 20 using an HDMI standard communication protocol or the like. Specifically, the data processing apparatus 10 transmits a control command to the DVD recorder 20 in accordance with the HDMI standard for obtaining device-specific information for specifying a manufacturer name, a model number, and the like, and the DVD recorder 20 also has a device in accordance with the HDMI standard. Receive unique information. Then, the playback control unit 114 refers to a table defined in the internal memory of the data processing apparatus 10 or an external memory card (not shown). The table describes the correspondence between the device specific information and the format information of the device. The playback control unit 114 can specify format information that can be processed by the DVD recorder 20 based on the information. Note that the playback control unit 114 may acquire the format name input by the user via the remote controller as the format information.

次に、ステップS74において、再生制御部114は、U_PK属性情報19とフォーマット情報とが一致するかを判断する。本明細書では、U_PK属性情報19にはVR規格フォーマットであることが示されている。よって、フォーマット情報がVR規格フォーマットを示している場合には、再生制御部114は変換の必要がないことを決定し、ステップS75に進む。一方、フォーマット情報がVR規格フォーマット以外のフォーマット(例えばビデオ規格フォーマット)を示している場合には、再生制御部114は変換が必要であると決定し、ステップS76に進む。   Next, in step S74, the playback control unit 114 determines whether the U_PK attribute information 19 matches the format information. In this specification, the U_PK attribute information 19 indicates that it is a VR standard format. Therefore, when the format information indicates the VR standard format, the playback control unit 114 determines that there is no need for conversion, and proceeds to step S75. On the other hand, if the format information indicates a format other than the VR standard format (for example, video standard format), the playback control unit 114 determines that conversion is necessary, and proceeds to step S76.

ステップS75では、データ処理装置10は通常再生時の再生速度よりも数倍〜数十倍高速で光ディスク131を回転させて、ピックアップ130および再生部113を介して標準再生時の読み出し速度よりも数倍〜数十倍速い速度で動画ストリーム11を読み出す。このような処理が可能である理由は、動画ストリーム11が伝送される変換部121ではストリームの変換処理を行わなくてもよいため、変換部121の処理の終了を待つ必要がないからである。読み出された動画ストリーム11に対し、変換部121はそのままその動画ストリーム11を出力用D−IF部122に送り、出力用D−IF部122もそのままDVDレコーダ20に転送する。転送が終了すると、処理が終了する。   In step S75, the data processing apparatus 10 rotates the optical disc 131 at a speed several to several tens of times higher than the playback speed during normal playback, and is several times faster than the read speed during standard playback via the pickup 130 and the playback unit 113. The moving image stream 11 is read out at a speed that is twice to several tens of times faster. The reason why such a process is possible is that the conversion unit 121 to which the moving image stream 11 is transmitted does not have to perform the stream conversion process, so there is no need to wait for the end of the process of the conversion unit 121. With respect to the read moving image stream 11, the conversion unit 121 sends the moving image stream 11 to the output D-IF unit 122 as it is, and the output D-IF unit 122 also transfers it to the DVD recorder 20 as it is. When the transfer ends, the process ends.

一方、ステップS76では、ピックアップ130および再生部113は、光ディスク131から動画ストリームを標準速度で読み出し、変換部121は転送先機器であるDVDレコーダ20のフォーマット情報に基づいてフォーマットを変換する。さらにステップS77において、変換部121は、変換後の動画ストリームのフォーマットに対応させて、付属情報パック(U_PK)40中のU_PK属性情報(U_PK_ID)52およびU_PKデータ(U_PK_data)53を変更する。その後、ステップS78において、出力用D−IF部122は変換後の動画ストリームをDVDレコーダ20に転送する。DVDレコーダ20は変換後の動画ストリームを受信してそのままその記録媒体134に記録することができるため、DVDレコーダ20には変換のための処理負荷はかからず、そのハードウェア資源を他の処理に有効に活用できる。   On the other hand, in step S76, the pickup 130 and the reproduction unit 113 read a moving picture stream from the optical disc 131 at a standard speed, and the conversion unit 121 converts the format based on the format information of the DVD recorder 20 that is a transfer destination device. Furthermore, in step S77, the conversion unit 121 changes the U_PK attribute information (U_PK_ID) 52 and the U_PK data (U_PK_data) 53 in the attached information pack (U_PK) 40 in accordance with the format of the converted video stream. Thereafter, in step S78, the output D-IF unit 122 transfers the converted video stream to the DVD recorder 20. Since the DVD recorder 20 can receive the converted video stream and record it on the recording medium 134 as it is, the DVD recorder 20 is not subjected to processing load for conversion, and the hardware resource is used for other processing. Can be used effectively.

以上、本発明の実施形態を説明した。上述した説明では、光ディスク131の例としてDVD−RAMディスクを挙げた。しかし、光ディスクには種々の規格が存在しており、DVD−RAMディスクの他には、MO、DVD−R、DVD−RW、+RW、CD−R、CD−RW等であってもよい。また、光ディスク131に代えて、光ディスク以外のリムーバブルな記録媒体、例えば半導体メモリカードを利用することもできるし、データ処理装置10の構成要素の一部をなすハードディスク、半導体メモリ等を利用することもできる。   The embodiments of the present invention have been described above. In the above description, a DVD-RAM disk is given as an example of the optical disk 131. However, there are various standards for optical discs, and other than DVD-RAM discs, MO, DVD-R, DVD-RW, + RW, CD-R, CD-RW, and the like may be used. Further, in place of the optical disk 131, a removable recording medium other than the optical disk, for example, a semiconductor memory card can be used, or a hard disk, a semiconductor memory, or the like that is a part of the components of the data processing apparatus 10 can be used. it can.

また、本実施形態では、MP4ファイルフォーマットを例に挙げて、U_PK属性情報19がボックス(BOX)構造体であるムービーボックス中の1つのボックス(U_PK Information Box)に格納されるとした。しかし、ボックス構造体であることは本発明に必須の要件ではなく、U_PK属性情報が特定できるように管理情報内に格納されていればどのようなデータ構造を採用してもよい。   In this embodiment, the MP4 file format is taken as an example, and the U_PK attribute information 19 is stored in one box (U_PK Information Box) in a movie box that is a box (BOX) structure. However, the box structure is not an essential requirement of the present invention, and any data structure may be adopted as long as the U_PK attribute information is stored in the management information so that it can be specified.

また、MP4ファイルフォーマットの説明では、動画ファイル12および管理ファイル14が別個のファイルとして光ディスク131に記録されるとして説明した。しかし、これもまた本発明に必須の要件ではなく、例えば動画ファイル12のみが単体で記録されてもよい。上述した動画ストリームの転送に際しては、再生制御部114は動画ファイル12として格納された動画ストリーム11の付属情報パック50から、直接U_PK属性情報52を読み出し、動画ストリーム11のフォーマットを特定すればよい。   In the description of the MP4 file format, the moving image file 12 and the management file 14 are described as being recorded on the optical disc 131 as separate files. However, this is not an essential requirement for the present invention. For example, only the moving image file 12 may be recorded alone. When transferring the moving picture stream described above, the playback control unit 114 may directly read the U_PK attribute information 52 from the attached information pack 50 of the moving picture stream 11 stored as the moving picture file 12 and specify the format of the moving picture stream 11.

なお、上述のDVDレコーダ20等に関するフォーマット情報、および、データストリームのフォーマットを特定する属性情報のうちの一方が固定されている場合、例えばデータ処理装置10には特定の1つのフォーマットの処理のみを可能とする機器しか接続されないことが予めわかっている場合や、データストリームのフォーマットが予め定められており属性情報が固定されている場合には、再生制御部は、属性情報およびフォーマット情報の少なくとも一方に基づいて、データストリームのフォーマットを変換するか否かを決定すればよい。   When one of the format information related to the above-described DVD recorder 20 and the attribute information specifying the format of the data stream is fixed, for example, the data processing apparatus 10 only performs processing of one specific format. When it is known in advance that only the device to be enabled is connected, or when the format of the data stream is determined in advance and the attribute information is fixed, the playback control unit will at least one of the attribute information and the format information. Based on the above, it may be determined whether or not to convert the format of the data stream.

データ処理装置の転送機能は、図7に示す処理手順を規定したコンピュータプログラムに基づいて実現される。データ処理装置のコンピュータは、そのようなコンピュータプログラムを実行することによってデータ処理装置の各構成要素を動作させ、上述した処理を実現する。コンピュータプログラムは、CD−ROM等の記録媒体に記録して市場に流通させ、または、インターネット等の電気通信回線を通じて伝送される。これにより、コンピュータシステムにおいても、上述のデータ処理装置と同等の機能を有する転送処理を実現できる。   The transfer function of the data processing device is realized based on a computer program that defines the processing procedure shown in FIG. The computer of the data processing apparatus operates each component of the data processing apparatus by executing such a computer program, thereby realizing the above-described processing. The computer program is recorded on a recording medium such as a CD-ROM and distributed on the market, or transmitted through an electric communication line such as the Internet. Thereby, even in a computer system, transfer processing having the same function as that of the above-described data processing device can be realized.

本発明によれば、データストリームを転送する際に、データストリームが転送先の機器において処理可能なフォーマットであるか否かを判断し、処理できる場合にはそのまま処理を加えることなく転送し、処理できない場合には処理できるフォーマットに変換して転送する。処理を加えることなく転送する場合には、データストリームの読み出し速度には制約が存在しないため、記録媒体からデータストリームを高速に読み出して転送することができる。転送先の機器は受信したデータストリームをそのまま記録すればよいので、機器側での変換処理等に起因する処理負荷を軽減できる。   According to the present invention, when transferring a data stream, it is determined whether or not the data stream is in a format that can be processed by the transfer destination device. If not, convert to a format that can be processed and transfer. When transferring without processing, since there is no restriction on the data stream reading speed, the data stream can be read from the recording medium at high speed and transferred. Since the transfer destination device has only to record the received data stream as it is, the processing load caused by the conversion processing on the device side can be reduced.

(a)は、データストリームを転送するために接続されたカムコーダ10およびDVDレコーダ20を示す図である。(b)は、本発明の実施形態によるデータストリームAとデータストリームBとの組み合わせ例と、各例についての相対的な転送時間長の関係を示す図である。(A) is a diagram showing a camcorder 10 and a DVD recorder 20 connected to transfer a data stream. (B) is a figure which shows the relationship of the relative transfer time length about the example of a combination of the data stream A and the data stream B by embodiment of this invention, and each example. 本発明の実施形態によるデータ処理装置10の機能ブロックの構成を示す図である。It is a figure which shows the structure of the functional block of the data processor 10 by embodiment of this invention. 光ディスク131に記録された動画ファイル12および管理ファイル14のデータ構造を示す図である。FIG. 4 is a diagram showing a data structure of a moving image file 12 and a management file 14 recorded on an optical disc 131. 動画ストリーム11のより詳細なデータ構造を示す図である。3 is a diagram illustrating a more detailed data structure of a moving image stream 11. FIG. (a)は、付属情報パック40のデータ構造を示す図である。(b)は、属性情報52のIDと、そのIDに対応して記述される属性データ(U_PK_data)53の内容の対応関係を示す図である。(A) is a figure which shows the data structure of the attached information pack 40. FIG. (B) is a diagram showing the correspondence between the ID of the attribute information 52 and the contents of the attribute data (U_PK_data) 53 described corresponding to the ID. U_PK属性情報ボックス19に記述されるIDの種類と、その種類に対応するU_PK格納データの種類を示す図である。It is a figure which shows the kind of ID described in the U_PK attribute information box 19, and the kind of U_PK storage data corresponding to the kind. データ処理装置10の転送処理の手順を示すフローチャートである。4 is a flowchart showing a procedure of transfer processing of the data processing apparatus 10.

Claims (10)

接続された機器に、記録媒体に記録されたデータストリームを転送するデータ処理装置であって、前記データストリームは前記データストリームのフォーマットを特定する属性情報を有しており、
前記機器と通信して、前記機器において処理することが可能なフォーマットを特定するフォーマット情報を取得するインターフェース部と、
前記記録媒体から前記属性情報および前記データストリームを読み出す再生部と、
前記属性情報および前記フォーマット情報に基づいて、前記データストリームのフォーマットを変換するか否かを決定する再生制御部と、
前記決定に基づいて、前記データストリームのフォーマットを前記フォーマット情報によって特定されるフォーマットに変換して出力し、または、前記データストリームのフォーマットを変換することなく出力する変換部と
を備え、前記インターフェース部は、変換部から出力されたデータストリームを前記機器に送信する、データ処理装置。
A data processing apparatus for transferring a data stream recorded on a recording medium to a connected device, wherein the data stream has attribute information specifying a format of the data stream,
An interface unit that communicates with the device to obtain format information that identifies a format that can be processed by the device;
A reproducing unit for reading out the attribute information and the data stream from the recording medium;
A reproduction control unit for determining whether to convert the format of the data stream based on the attribute information and the format information;
A conversion unit configured to convert and output the format of the data stream into a format specified by the format information based on the determination, or to output without converting the format of the data stream, and the interface unit Is a data processing device that transmits the data stream output from the conversion unit to the device.
前記データストリームは、前記属性情報がコピーされた管理情報とともに前記記録媒体に記録されており、
前記再生部は、前記管理情報を読み出して前記属性情報を抽出する、請求項1に記載のデータ処理装置。
The data stream is recorded on the recording medium together with management information in which the attribute information is copied,
The data processing apparatus according to claim 1, wherein the reproduction unit reads the management information and extracts the attribute information.
前記再生部は、前記データストリームを読み出して前記属性情報を抽出する、請求項1に記載のデータ処理装置。The data processing device according to claim 1, wherein the reproduction unit reads the data stream and extracts the attribute information. 前記再生部は、前記フォーマットを変換するか否かの決定に応じて前記データストリームの読み出し速度を変化させる、請求項1に記載のデータ処理装置。The data processing apparatus according to claim 1, wherein the reproduction unit changes a reading speed of the data stream in accordance with determination of whether to convert the format. 前記再生部は、前記フォーマット変換をするときには第1速度で前記データストリームを読み出し、前記フォーマット変換をしないときには前記第1速度よりも速い第2速度で前記データストリームを読み出す、請求項4に記載のデータ処理装置。5. The reproduction unit according to claim 4, wherein the playback unit reads the data stream at a first speed when the format conversion is performed, and reads the data stream at a second speed higher than the first speed when the format conversion is not performed. Data processing device. データ処理装置において実行され、前記データ処理装置と接続された機器に、記録媒体に記録されたデータストリームを転送するデータ処理方法であって、前記データストリームは前記データストリームのフォーマットを特定する属性情報を有しており、
前記機器と通信して、前記機器において処理することが可能なフォーマットを特定するフォーマット情報を取得するステップと、
前記記録媒体から前記属性情報および前記データストリームを読み出すステップと、
前記属性情報および前記フォーマット情報に基づいて、前記データストリームのフォーマットを変換するか否かを決定するステップと、
前記決定に基づいて、前記データストリームのフォーマットを前記フォーマット情報によって特定されるフォーマットに変換して出力し、または、前記データストリームのフォーマットを変換することなく出力して、前記機器に送信するステップと、
を包含する、データ処理方法。
A data processing method for transferring a data stream recorded on a recording medium to a device that is executed in a data processing device and connected to the data processing device, wherein the data stream is attribute information that specifies a format of the data stream Have
Communicating with the device to obtain format information identifying a format that can be processed by the device;
Reading the attribute information and the data stream from the recording medium;
Determining whether to convert the format of the data stream based on the attribute information and the format information;
Based on the determination, the format of the data stream is converted into a format specified by the format information and output, or the format of the data stream is output without conversion and transmitted to the device; ,
Including a data processing method.
前記データストリームは、前記属性情報がコピーされた管理情報とともに前記記録媒体に記録されており、
前記読み出すステップは、前記管理情報を読み出して前記属性情報を抽出する、請求項6に記載のデータ処理方法。
The data stream is recorded on the recording medium together with management information in which the attribute information is copied,
The data processing method according to claim 6, wherein the reading step reads the management information and extracts the attribute information.
前記読み出すステップは、前記データストリームを読み出して前記属性情報を抽出する、請求項6に記載のデータ処理方法。The data processing method according to claim 6, wherein in the reading step, the attribute information is extracted by reading the data stream. 前記読み出すステップは、前記フォーマットを変換するか否かの決定に応じて前記データストリームの読み出し速度を変化させる、請求項6に記載のデータ処理方法。The data processing method according to claim 6, wherein the reading step changes a reading speed of the data stream in accordance with a determination as to whether to convert the format. 前記読み出すステップは、前記フォーマット変換をするときには第1速度で前記データストリームを読み出し、前記フォーマット変換をしないときには前記第1速度よりも速い第2速度で前記データストリームを読み出す、請求項9に記載のデータ処理方法。The read-out step reads the data stream at a first speed when the format conversion is performed, and reads the data stream at a second speed higher than the first speed when the format conversion is not performed. Data processing method.
JP2005504107A 2003-03-27 2004-03-25 Data processing device Pending JPWO2004086395A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2003088453 2003-03-27
JP2003088453 2003-03-27
PCT/JP2004/004227 WO2004086395A1 (en) 2003-03-27 2004-03-25 Data processing device

Publications (1)

Publication Number Publication Date
JPWO2004086395A1 true JPWO2004086395A1 (en) 2006-06-29

Family

ID=33095117

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2005504028A Pending JPWO2004086760A1 (en) 2003-03-27 2004-03-19 Data processing device
JP2005504107A Pending JPWO2004086395A1 (en) 2003-03-27 2004-03-25 Data processing device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2005504028A Pending JPWO2004086760A1 (en) 2003-03-27 2004-03-19 Data processing device

Country Status (4)

Country Link
US (2) US20060210246A1 (en)
JP (2) JPWO2004086760A1 (en)
CN (2) CN1765128A (en)
WO (2) WO2004086760A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8166217B2 (en) * 2004-06-28 2012-04-24 Marvell International Ltd. System and method for reading and writing data using storage controllers
WO2006006709A1 (en) * 2004-07-12 2006-01-19 Matsushita Electric Industrial Co., Ltd. Stream recording/reproducing apparatus
JP4182932B2 (en) * 2004-08-04 2008-11-19 ソニー株式会社 Recording apparatus and method, reproducing apparatus and method, recording and reproducing apparatus and method, and program
JP4020110B2 (en) * 2004-08-05 2007-12-12 ソニー株式会社 Storage control device, program thereof, method thereof and playback device
US20060100845A1 (en) * 2004-11-08 2006-05-11 Mazzagatti Jane C Multiple stream real time data simulation adapted for a KStore data structure
US7716231B2 (en) 2004-11-10 2010-05-11 Microsoft Corporation System and method for generating suggested alternatives for visual or audible submissions
US20070016611A1 (en) * 2005-07-13 2007-01-18 Ulead Systems, Inc. Preview method for seeking media content
JP4581934B2 (en) * 2005-09-14 2010-11-17 ソニー株式会社 Playback apparatus, playback method, and playback program
US20090129759A1 (en) * 2006-06-26 2009-05-21 Noboru Mizuguchi Format Converter, Format Conversion Method and Moving Picture Decoding System
WO2008005732A2 (en) * 2006-07-05 2008-01-10 Agere Systems Inc. Systems and methods for enabling consumption of copy-protected content across multiple devices
JP4788522B2 (en) * 2006-08-10 2011-10-05 ソニー株式会社 Data processing apparatus, data processing method, and computer program
CN100461094C (en) * 2007-03-19 2009-02-11 中国人民解放军国防科学技术大学 Instruction control method aimed at stream processor
CN100444118C (en) * 2007-03-19 2008-12-17 中国人民解放军国防科学技术大学 Software and hardware combined command relative controlling method based on logic transmitting rank
CN100456231C (en) * 2007-03-19 2009-01-28 中国人民解放军国防科学技术大学 Stream processor expanding method for flexible distribution operating group resource
US8407668B2 (en) 2007-10-26 2013-03-26 Microsoft Corporation Model based spreadsheet scripting language
US8875181B2 (en) * 2008-08-05 2014-10-28 At&T Intellectual Property I, L.P. Method and system for presenting media content
US8730328B2 (en) * 2011-10-06 2014-05-20 Qualcomm Incorporated Frame buffer format detection

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3276858B2 (en) * 1996-08-26 2002-04-22 三洋電機株式会社 Digital still camera
US6904227B1 (en) * 1999-02-15 2005-06-07 Nec Corporation Device and method for editing video and/or audio data recorded in a disc storage medium
JP4312934B2 (en) * 1999-06-29 2009-08-12 エルジー エレクトロニクス インコーポレイティド Operation method based on characteristic information between devices connected through digital interface and control device thereof
JP4296676B2 (en) * 2000-03-14 2009-07-15 ソニー株式会社 Image recording apparatus and method, image reproducing apparatus and method, and recording medium
JP3541884B2 (en) * 2000-11-01 2004-07-14 船井電機株式会社 Disk medium recording / reproducing device and DVD deck
JP4250343B2 (en) * 2001-01-23 2009-04-08 キヤノン株式会社 Data processing device
JP3678164B2 (en) * 2001-04-13 2005-08-03 ソニー株式会社 Data transfer system, data transfer device, data recording device, and data transfer method

Also Published As

Publication number Publication date
CN1765128A (en) 2006-04-26
CN1764972A (en) 2006-04-26
US20060210246A1 (en) 2006-09-21
WO2004086760A1 (en) 2004-10-07
JPWO2004086760A1 (en) 2006-06-29
WO2004086395A1 (en) 2004-10-07
US20060167936A1 (en) 2006-07-27

Similar Documents

Publication Publication Date Title
JP4299836B2 (en) Data processing device
US7373079B2 (en) Method and an apparatus for stream conversion, a method and an apparatus for data recording, and data recording medium
US7386223B2 (en) Method and an apparatus for stream conversion a method and an apparatus for data recording and data recording medium
JP4355659B2 (en) Data processing device
JPWO2004086395A1 (en) Data processing device
JP4527164B2 (en) Recording medium, recording apparatus, and reproducing apparatus
JPWO2006033279A1 (en) Data processing device
JP2008053763A (en) Av data recording device and method, av data reproducing device and method, and recording medium recorded by the av data recording device or the method
JP4791969B2 (en) Data processing device
JP4495597B2 (en) Data stream format conversion method and recording method therefor
JP2008311871A (en) Information recording and reproducing device, and video camera device
JP4901215B2 (en) Data processing device
JP4115061B2 (en) Recording medium and video recording / reproducing apparatus using the same
JPWO2004080071A1 (en) Data processing device
US7693401B2 (en) Recording apparatus using disc-like recording medium
JPWO2002080542A1 (en) AV data recording / reproducing apparatus and method, and recording medium recorded by the AV data recording / reproducing apparatus or method
JP4566745B2 (en) Data processing device
JP3901555B2 (en) AV data recording apparatus and method, disc recorded by the AV data recording apparatus or method, and AV data reproducing apparatus and method or AV data recording / reproducing apparatus and method for reproducing the disc
JP4481929B2 (en) Data stream recording method and apparatus
JPWO2005057577A1 (en) Data processing apparatus and data processing method
JP4375278B2 (en) Optical disk recording device
JP3849975B2 (en) Audio / video information recording apparatus and method, and audio / video information reproducing apparatus and method
JP2007166141A (en) Video audio recording and reproducing apparatus
JP2006115529A (en) Recording medium and video-recording/reproducing apparatus employing the same
JP2005057721A (en) Method for processing av signals