JP4385987B2 - Video processing apparatus, video processing method, and computer program - Google Patents

Video processing apparatus, video processing method, and computer program Download PDF

Info

Publication number
JP4385987B2
JP4385987B2 JP2005118513A JP2005118513A JP4385987B2 JP 4385987 B2 JP4385987 B2 JP 4385987B2 JP 2005118513 A JP2005118513 A JP 2005118513A JP 2005118513 A JP2005118513 A JP 2005118513A JP 4385987 B2 JP4385987 B2 JP 4385987B2
Authority
JP
Japan
Prior art keywords
independent
recording
picture group
encoding
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2005118513A
Other languages
Japanese (ja)
Other versions
JP2006303611A (en
Inventor
健治 山崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2005118513A priority Critical patent/JP4385987B2/en
Publication of JP2006303611A publication Critical patent/JP2006303611A/en
Application granted granted Critical
Publication of JP4385987B2 publication Critical patent/JP4385987B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は,映像処理装置,映像処理方法,およびコンピュータプログラムに関する。   The present invention relates to a video processing device, a video processing method, and a computer program.

近年,情報技術の発達に伴い,ディジタル化された映像データを,大容量・低価格化している半導体メモリ,DVD(Digital Versatile Disc),またはハードディスクドライブ(HDD)などに記録することが可能になっている。   In recent years, with the development of information technology, it has become possible to record digitized video data on a semiconductor memory, a DVD (Digital Versatile Disc), a hard disk drive (HDD), or the like that has been reduced in capacity and price. ing.

また,決定的瞬間などの撮影の好機を逃さず撮影することができるように,記録指令に応じてその時点から一定時間遡って映像データを記録する装置が存在する(例えば,特許文献1参照)。   In addition, there is an apparatus that records video data retroactively from a certain point in time according to a recording command so that it can be captured without missing a shooting opportunity such as a decisive moment (see, for example, Patent Document 1). .

ディジタル化された音声・画像等からなる映像データを半導体メモリなどの格納手段に記録する際,入力する映像信号をディジタル信号処理し,映像データに符号化する情報圧縮処理が行われる。   When video data composed of digitized audio / images is recorded in a storage means such as a semiconductor memory, an information compression process is performed in which an input video signal is digitally processed and encoded into video data.

特開平11−4410号公報Japanese Patent Laid-Open No. 11-4410

しかしながら,ディジタル化された映像データのなかでも圧縮効率の効率化等のために,入力する映像信号通りに情報圧縮するのではなく,映像信号のシーケンスの並べ替え(リオーダリング)が必要な映像データが存在するが,かかる映像データの場合,記録指令を受けて一定時間遡った時点の映像データの先頭部分に余分なデータが含まれてしまう等のため,所定時間遡った時点からの映像データを正常に記録することができなかった。   However, among the digitized video data, video data that needs to be rearranged (reordered) as a sequence of video signals rather than being compressed as input video signals in order to improve compression efficiency. However, in the case of such video data, extra data is included in the head part of the video data that has been recorded for a certain period of time after receiving a recording command. It was not possible to record normally.

本発明は,上記問題点に鑑みてなされたものであり,本発明の目的は,シーケンスの並べ替えが必要な情報圧縮による映像データの場合でも所定時間遡った時点から記録することが可能な,新規かつ改良された映像処理装置,映像処理方法,コンピュータプログラムを提供することである。   The present invention has been made in view of the above-mentioned problems, and the object of the present invention is to record from a point in time that has been traced back a predetermined time even in the case of video data by information compression that requires sequence rearrangement. A new and improved video processing apparatus, video processing method, and computer program are provided.

上記課題を解決するため,本発明の第1の観点によれば,映像信号に構成される画像信号のシーケンスを入れ替えるリオーダリングを行い,該画像信号をピクチャに符号化する映像処理装置が提供される。上記映像処理装置は,1又は2フレーム以上の上記ピクチャをグループ化し,少なくとも前方又は後方のピクチャ群とは独立している独立ピクチャ群に符号化する独立符号化部と;1又は2フレーム以上の上記ピクチャをグループ化し,前方又は後方のうち少なくともいずれか一方のピクチャ群と関連性がある非独立ピクチャ群に符号化する非独立符号化部と;記録開始又は記録終了の記録指示を受付ける記録指示受付部と;上記記録受付部により上記記録開始指示が受付けられるまでは上記独立符号化部又は上記非独立符号化部のうちいずれか一方に対して符号化するよう指示し,上記記録開始指示が受付けられた後は上記非独立符号化部に対して符号化するよう指示する符号化指示部と;上記独立符号化部又は上記非独立符号化部のうちいずれか一方から出力されてくる順に上記独立ピクチャ群又は上記非独立ピクチャ群を記憶する記憶部と;上記記録受付部によって記録開始指示が受付けられると,上記記憶部に格納された複数の上記独立ピクチャ群又は上記非独立ピクチャ群について,その記録開始指示が受付けられた時点から所定時間遡り,その遡った時点の近傍に存在する上記独立ピクチャ群から順に1又は2以上の独立ピクチャ群又は非独立ピクチャ群を取得する取得部とを備えることを特徴としている。
In order to solve the above-described problem, according to a first aspect of the present invention, there is provided a video processing apparatus that performs reordering to replace a sequence of image signals configured in a video signal and encodes the image signal into a picture. The The video processing apparatus includes an independent encoding unit that groups the pictures of one or more frames and encodes them into independent picture groups that are independent of at least the front or rear picture groups; and one or more frames or more; grouping the pictures, non-independent encoder for encoding and the non-independent picture group that relates to the at least one group of pictures of the front or rear, accepting an instruction for recording the recording start or recording end serial Recording instruction receiving unit; until the recording start instruction is received by the recording receiving unit, instructing either one of the independent encoding unit or the non-independent encoding unit to start encoding, An encoding instruction unit that instructs the non-independent encoding unit to perform encoding after the instruction is accepted; and the independent encoding unit or the non-independent encoding unit. A storage unit that stores the independent picture group or the non-independent picture group in the order in which they are output from one of them; and when a recording start instruction is received by the recording reception unit, a plurality of the independent pictures stored in the storage unit For a picture group or the above independent picture group, one or two or more independent picture groups or non-independent pictures in order from the independent picture group existing in the vicinity of the previous time point from the time when the recording start instruction is accepted. An acquisition unit for acquiring a group of pictures.

本発明によれば,記録開始指示があるまでは,独立ピクチャ群又は非独立ピクチャ群のうち少なくとも一方を記憶部に一時的に記憶し,記録開始指示があると,記憶部に記憶された独立ピクチャ群又は非独立ピクチャ群のうち,所定時間遡った時点に対応する独立ピクチャ群を先頭に取得し,以降順に独立ピクチャ群又は非独立ピクチャ群を取得する。記録開始指示以降は非独立ピクチャ群を記憶部に格納する。かかる構成によれば,所定時間遡った時点に対応するピクチャ群を前後のピクチャ群に左右されず独立して取得することができるため,予め前もって映像を記憶しておけば,所定時間遡った映像をストリームとして取得することができる。   According to the present invention, at least one of the independent picture group and the non-independent picture group is temporarily stored in the storage unit until a recording start instruction is issued, and when the recording start instruction is issued, the independent picture group stored in the storage unit is stored. Of the picture group or the non-independent picture group, the independent picture group corresponding to the time point that is traced back for a predetermined time is acquired at the head, and the independent picture group or the non-independent picture group is acquired in order thereafter. After the recording start instruction, the non-independent picture group is stored in the storage unit. According to such a configuration, a picture group corresponding to a point in time that is traced back for a predetermined time can be acquired independently of the preceding and subsequent picture groups, so that if a video is stored in advance, a video that is traced back for a predetermined time Can be obtained as a stream.

上記取得部は,上記遡った時点の近傍に存在する上記独立ピクチャ群の先頭位置又は先頭ピクチャから順に取得するように構成してもよい。かかる構成によれば,画像と音声等のリップシンクが容易になる。   The acquisition unit may be configured to acquire in order from the head position or head picture of the independent picture group existing in the vicinity of the retroactive time point. According to such a configuration, lip synchronization of images and sounds is facilitated.

上記独立ピクチャ群に含まれる各ピクチャは,少なくとも前方のピクチャ群に含むピクチャを参照せずに,その独立ピクチャ群内で独立して復号されるようにしてもよい。   Each picture included in the independent picture group may be decoded independently within the independent picture group without referring to at least a picture included in the preceding picture group.

上記非独立ピクチャ群に含まれる各ピクチャは,前方又は後方の独立ピクチャ群又は非独立ピクチャ群に含まれるピクチャが参照されることで,復号されるようにしてもよい。   Each picture included in the non-independent picture group may be decoded by referring to a picture included in the front or rear independent picture group or non-independent picture group.

上記映像処理装置は,記録媒体に記録可能な記録部をさらに備え,上記記録部は,上記取得部により取得される上記独立ピクチャ群又は上記非独立ピクチャ群を順に上記記録媒体に記録するようにしてもよい。かかる構成によれば,映像処理装置は,キャッシュRECで現時点よりも過去の映像を所定時間遡って記録媒体に記録することができ,決定的場面(又は,シーン)を逃さずに記録することができる。   The video processing apparatus further includes a recording unit capable of recording on a recording medium, and the recording unit sequentially records the independent picture group or the independent picture group acquired by the acquiring unit on the recording medium. May be. According to such a configuration, the video processing apparatus can record a past video in the cache REC on a recording medium by going back a predetermined time from the current time, and can record without missing a decisive scene (or scene). it can.

上記記録部は,上記取得部により上記遡った時点の近傍に存在する上記独立ピクチャ群から順に取得された上記独立ピクチャ群又は上記非独立ピクチャ群を上記記録媒体に記録し,上記記録開始指示が受付けられた以降は上記非独立符号化部が符号化し取得部により取得された上記非独立ピクチャ群を上記記録媒体に記録するように構成してもよい。   The recording unit records the independent picture group or the non-independent picture group acquired in order from the independent picture group existing in the vicinity of the retroactive time by the acquisition unit on the recording medium, and the recording start instruction After the acceptance, the non-independent encoding unit may be configured to record the non-independent picture group acquired by the acquisition unit and recorded on the recording medium.

上記記録部は,上記取得部により上記遡った時点の近傍に存在する上記独立ピクチャ群から順に取得された上記独立ピクチャ群又は上記非独立ピクチャ群を上記記録媒体に記録するのと並行して,上記記録指示が受付けられた後上記非独立符号化部が符号化し取得部により取得された上記非独立ピクチャ群を上記記録媒体に記録するようにしてもよい。   In parallel with recording the independent picture group or the non-independent picture group acquired in order from the independent picture group existing in the vicinity of the retroactive time point by the acquisition unit on the recording medium, After the recording instruction is received, the non-independent encoding unit may record the non-independent picture group acquired by the acquiring unit and recorded on the recording medium.

上記符号化指示部は,上記記録受付部により上記記録開始指示が受付けられるまでは上記独立符号化部に対して符号化するよう指示し,上記記録受付部により上記記録開始指示が受付けられた以降は上記非独立符号化部に対して符号化するよう指示するようにしてもよい。   The encoding instruction unit instructs the independent encoding unit to encode until the recording start instruction is received by the recording reception unit, and after the recording start instruction is received by the recording reception unit. May instruct the non-independent encoding unit to perform encoding.

上記ピクチャは,ピクチャ内独立の符号化手法で符号化されるIピクチャ,片方向予測の符号化手法で符号化されるPピクチャ,または双方向予測の符号化手法で符号化されるBピクチャのうち少なくとも一方であるように構成してもよい。   The picture is an I picture encoded by an intra-picture independent encoding method, a P picture encoded by a unidirectional prediction encoding method, or a B picture encoded by a bidirectional prediction encoding method. You may comprise so that it may be at least one of them.

上記独立ピクチャ群は,CLOSED GOPであるようにしてもよく,上記非独立ピクチャ群は,OPEN GOPであるようにしてもよい。   The independent picture group may be a CLOSED GOP, and the non-independent picture group may be an OPEN GOP.

上記映像処理装置は,映像信号に構成される音声信号をオーディオデータに符号化するオーディオ符号化部と;上記独立ピクチャ群又は上記非独立ピクチャ群のうち少なくとも一方のピクチャ群と,上記オーディオデータとを同期させ,該ピクチャ群とオーディオデータとを含んだメディアデータを出力するメディア符号化部をさらに備えるようにしてもよい。   The video processing device includes: an audio encoding unit that encodes an audio signal configured in a video signal into audio data; at least one picture group of the independent picture group or the non-independent picture group; the audio data; And a media encoding unit that outputs media data including the picture group and the audio data.

上記映像処理装置は,映像信号に構成される画像信号及び/又は音声信号に関する属性信号をメタデータに符号化するメタ符号化部をさらに備え,上記メディア符号化部は,上記独立ピクチャ群又は非独立ピクチャ群のうち少なくとも一方のピクチャ群と,上記オーディオデータと,上記メタデータとを同期させ,該ピクチャ群とオーディオデータとメタデータとを含んだメディアデータを出力するように構成してもよい。   The video processing apparatus further includes a meta encoding unit that encodes an attribute signal related to an image signal and / or an audio signal configured in a video signal into metadata, and the media encoding unit includes the independent picture group or the non-picture group. It may be configured to synchronize at least one of the independent picture groups, the audio data, and the metadata, and output media data including the picture group, the audio data, and the metadata. .

上記メディアデータは,1又は2個以上のパケットデータであるように構成してもよい。かかる構成により,装置内でメディアデータを内部転送できる,または,ネットワークを介して外部装置に転送することができる。   The media data may be configured to be one or more packet data. With this configuration, media data can be transferred internally within the apparatus, or can be transferred to an external apparatus via a network.

上記映像処理装置は,映像信号に構成される音声信号を1又は2フレーム以上のオーディオデータに符号化するオーディオ符号化部と;上記独立ピクチャ群又は非独立ピクチャ群のうち少なくとも一方のピクチャ群に含まれるピクチャと,上記オーディオデータとを1又は2フレーム以上の単位で同期させ,該ピクチャとオーディオデータとを含んだメディアデータを出力するメディア符号化部をさらに備えるように構成してもよい。   The video processing apparatus includes: an audio encoding unit that encodes an audio signal configured in a video signal into audio data of one or more frames; and at least one picture group of the independent picture group or the independent picture group It may be configured to further include a media encoding unit that synchronizes the included picture and the audio data in units of one or more frames and outputs media data including the picture and the audio data.

上記映像処理装置は,上記映像信号に構成される画像信号及び/又は音声信号に関する属性信号を1又は2フレーム以上のメタデータに符号化するメタ符号化部をさらに備え,メディア符号化部は,独立ピクチャ群又は非独立ピクチャ群のうち少なくとも一方のピクチャ群に含まれるピクチャと,上記オーディオデータと,上記メタデータとを1又は2フレーム以上の単位で同期させ,該ピクチャとオーディオデータとメタデータとを含んだメディアデータを出力するように構成してもよい。   The video processing apparatus further includes a meta encoding unit that encodes an attribute signal related to an image signal and / or an audio signal configured in the video signal into metadata of one or more frames, and the media encoding unit includes: The picture included in at least one of the independent picture group or the non-independent picture group, the audio data, and the metadata are synchronized in units of one or more frames, and the picture, audio data, and metadata are synchronized. It may be configured to output media data including

なお,映像信号には,画像信号,音声信号,または属性信号のうち少なくとも一方が含まれるように構成してもよい。   Note that the video signal may be configured to include at least one of an image signal, an audio signal, and an attribute signal.

上記課題を解決するために,本発明の別の観点によれば,画像信号のシーケンスを入れ替えるリオーダリングを行い,該画像信号をピクチャに符号化する映像処理方法が提供される。上記映像処理方法は,記録開始指示が受付けられるまで,1又は2フレーム以上のピクチャをグループ化し,少なくとも前方又は後方のピクチャ群とは独立している独立ピクチャ群に符号化する独立符号化工程,又は,1又は2フレーム以上のピクチャをグループ化し,前方又は後方のうち少なくともいずれか一方のピクチャ群と関連性がある非独立ピクチャ群に符号化する非独立符号化工程のうちいずれか一方の符号化工程を実行し,記憶部に上記独立ピクチャ群又は上記非独立ピクチャ群を格納する第1格納工程と;記録開始指示が受付けられると,第1格納工程で記憶部に格納された複数の独立ピクチャ群又は非独立ピクチャ群について,その記録開始指示が受付けられた時点から所定時間遡り,その遡った時点の近傍に存在する独立ピクチャ群から順に1又は2以上の独立ピクチャ群又は非独立ピクチャ群を取得する第1取得工程と;記録開始指示が受付けられた後は非独立符号化工程を実行し,非独立ピクチャ群を上記記憶部に格納する第2格納工程とを含むことを特徴としている。   In order to solve the above-described problems, according to another aspect of the present invention, there is provided a video processing method for performing reordering to replace a sequence of image signals and encoding the image signals into pictures. The video processing method includes an independent encoding step of grouping pictures of one or more frames until a recording start instruction is received, and encoding the pictures into independent picture groups independent of at least the front or rear picture groups, Or, the code of any one of the non-independent coding steps for grouping pictures of one or more frames and coding them into a non-independent picture group related to at least one of the forward or backward picture group A first storage step of executing the conversion step and storing the independent picture group or the non-independent picture group in the storage unit; and when a recording start instruction is received, a plurality of independent pictures stored in the storage unit in the first storage step For a picture group or non-independent picture group, the independent time group dates back a predetermined time from the point in time when the recording start instruction is received, A first acquisition step of acquiring one or two or more independent picture groups or non-independent picture groups in order from the cutout group; a non-independent encoding step is executed after a recording start instruction is received, And a second storage step of storing in the storage unit.

上記映像処理方法は,第1取得工程で取得した独立ピクチャ群又は非独立ピクチャ群を記録媒体に記録する第1記録工程をさらに含むように構成してもよい。   The video processing method may be configured to further include a first recording step of recording the independent picture group or the non-independent picture group acquired in the first acquisition step on a recording medium.

上記映像処理方法は,第2格納工程で記憶部に格納された非独立ピクチャ群を取得する第2取得工程と;上記第2取得工程で取得した非独立ピクチャ群を記録媒体に記録する第2記録工程をさらに含むように構成してもよい。   The video processing method includes a second acquisition step of acquiring the non-independent picture group stored in the storage unit in the second storage step; and a second recording step of recording the non-independent picture group acquired in the second acquisition step on a recording medium. A recording step may be further included.

上記映像処理方法は,音声信号をオーディオデータに符号化するオーディオ符号化工程と;上記画像信号及び/又は音声信号に関する属性信号をメタデータに符号化するメタ符号化工程と;上記独立ピクチャ群又は非独立ピクチャ群のうち少なくとも一方のピクチャ群と,上記オーディオデータと,上記メタデータとを同期させ,該ピクチャ群とオーディオデータとメタデータとを含んだメディアデータを出力するメディアデータ出力工程とをさらに含むように構成してもよい。   The video processing method includes: an audio encoding step for encoding an audio signal into audio data; a meta encoding step for encoding an attribute signal related to the image signal and / or audio signal into metadata; and the independent picture group or A media data output step of synchronizing at least one of the non-independent picture groups, the audio data, and the metadata, and outputting media data including the picture group, the audio data, and the metadata; You may comprise so that it may be further included.

上記課題を解決するために,本発明の別の観点によれば,画像信号のシーケンスを入れ替えるリオーダリングを行い,該画像信号をピクチャに符号化する映像処理方法をコンピュータに実行させるコンピュータプログラムが提供される。上記コンピュータプログラムは,1又は2フレーム以上の上記ピクチャをグループ化し,少なくとも前方又は後方のピクチャ群とは独立している独立ピクチャ群に符号化する独立符号化手段と;1又は2フレーム以上のピクチャをグループ化し,前方又は後方のうち少なくともいずれか一方のピクチャ群と関連性がある非独立ピクチャ群に符号化する非独立符号化手段と;記録開始又は記録終了の記録指示を受付ける記録指示受付手段と;上記記録受付手段により記録開始指示が受付けられるまでは独立符号化手段又は非独立符号化手段のうちいずれか一方に対して符号化するよう指示し,記録開始指示が受付けられた後は非独立符号化手段に対して符号化するよう指示する符号化指示手段と;独立ピクチャ群又は非独立ピクチャ群を記憶部に格納する格納手段と;記録受付手段によって記録開始指示が受付けられると,上記記憶部に格納された複数の独立ピクチャ群又は非独立ピクチャ群について,その記録開始指示が受付けられた時点から所定時間遡り,その遡った時点の近傍に存在する独立ピクチャ群から順に1又は2以上の独立ピクチャ群又は非独立ピクチャ群を取得する取得手段としてコンピュータを機能させるIn order to solve the above-described problem, according to another aspect of the present invention, there is provided a computer program for causing a computer to execute a video processing method for performing reordering to replace a sequence of image signals and encoding the image signals into pictures. Is done. The computer program includes independent coding means for grouping the pictures of one or more frames and coding them into independent picture groups independent of at least the front or rear picture groups; and pictures of one or more frames grouping, forward or backward of at least one of the group of pictures and the non-independent coding means for coding the non-independent picture group is relevant; recording start or recording end recording instruction accepting ∎ you can record instruction An accepting means; until the recording accepting instruction is accepted by the recording accepting means, after either the independent encoding means or the non-independent encoding means is instructed to encode, and after the recording start instruction is accepted Is a coding instruction means for instructing the non-independent coding means to perform coding; an independent picture group or a non-independent picture group is stored in the storage unit A storage means for storing; when a recording start instruction is received by the recording receiving means, a plurality of independent picture groups or non-independent picture groups stored in the storage unit are traced back for a predetermined time from the time when the recording start instruction is received , The computer is caused to function as acquisition means for acquiring one or more independent picture groups or non-independent picture groups in order from the independent picture group existing in the vicinity of the retroactive time point.

以上説明したように,本発明によれば,シーケンスの並び替えが必要な圧縮フォーマットの映像データでもキャッシュRECにより所定時間遡った時点から記録することができる。   As described above, according to the present invention, even video data in a compressed format that requires sequence rearrangement can be recorded from a point in time that is traced back by the cache REC.

以下,本発明の好適な実施の形態について,添付図面を参照しながら詳細に説明する。なお,以下の説明及び添付図面において,略同一の機能及び構成を有する構成要素については,同一符号を付することにより,重複説明を省略する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described in detail with reference to the accompanying drawings. In the following description and the accompanying drawings, components having substantially the same functions and configurations are denoted by the same reference numerals, and redundant description is omitted.

(記録再生装置について)
まず,図1を参照しながら,本実施の形態にかかる記録再生装置(映像処理装置)101について説明する。なお,図1は,本実施の形態にかかる記録再生装置の概略的な構成の一例を示すブロック図である。
(About recording and playback devices)
First, a recording / reproducing apparatus (video processing apparatus) 101 according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing an example of a schematic configuration of the recording / reproducing apparatus according to the present embodiment.

記録再生装置101は,入力する映像信号を映像データに符号化し,記録媒体131に記録する記録機能と,記録媒体131に記録された映像データを復号し,ディスプレイ装置等の出力装置(出力デバイス)に出力する再生機能とを兼ね備えた装置である。   The recording / reproducing apparatus 101 encodes an input video signal into video data, records it on the recording medium 131, decodes the video data recorded on the recording medium 131, and outputs an output device (output device) such as a display device This is a device that also has a playback function that outputs to

なお,記録再生装置101は,例えば,ケーブルなどで外部装置とライン接続し,その外部装置から送出される映像信号を入力する場合や,記録再生装置101は,CCD等からなる撮像手段を備え,その撮像手段により送出される映像信号を入力する場合等でも,入力した映像信号を符号化し,記録媒体に記録することができる。   Note that the recording / reproducing apparatus 101 is connected to an external apparatus with a cable or the like, for example, and inputs a video signal transmitted from the external apparatus, or the recording / reproducing apparatus 101 includes an image pickup unit such as a CCD. Even when a video signal transmitted by the imaging means is input, the input video signal can be encoded and recorded on a recording medium.

記録再生装置101が上記撮像手段を備える場合,記録再生装置101は,記録再生装置101自ら被写体等を撮像した映像データを記録媒体に記録再生装置101自ら記録する,または,記録媒体に記録された映像データを記録再生装置101自ら再生する,いわゆる記録/再生可能な一体型カムコーダ装置といえる。   When the recording / reproducing apparatus 101 includes the above-described imaging means, the recording / reproducing apparatus 101 records the video data obtained by imaging the subject or the like on the recording medium by the recording / reproducing apparatus 101 itself, or is recorded on the recording medium. This can be said to be a so-called recordable / reproducible integrated camcorder device that reproduces video data by the recording / reproducing device 101 itself.

図1に示すように,本実施の形態にかかる記録再生装置101は,記録指示受付部111と,制御コントローラ(例えば,符号化指示部)113と,画像符号化部115と,オーディオ符号化部119と,メタ符号化部121と,画像復号部123と,オーディオ復号部125と,メタ復号部127と,記憶装置(記憶部,取得部)133と,記録/再生部135と,メディア符号化部137と,メディア復号部139とを備えている。   As shown in FIG. 1, a recording / reproducing apparatus 101 according to the present embodiment includes a recording instruction receiving unit 111, a control controller (for example, an encoding instruction unit) 113, an image encoding unit 115, and an audio encoding unit. 119, a meta encoding unit 121, an image decoding unit 123, an audio decoding unit 125, a meta decoding unit 127, a storage device (storage unit, acquisition unit) 133, a recording / reproducing unit 135, and a media encoding Unit 137 and a media decrypting unit 139.

上記記録指示受付部111は,ユーザから例えば記録開始の指示,記録終了の指示,キャッシュREC機能(又は,キャッシュ記録)有効/無効の指示等を受けることが可能な1又は2以上からなるボタン(REC開始ボタン,REC終了ボタンなど)であるが,かかる例に限定されず,記録指示受付部111は,上記ユーザから各種の指示を受けることが可能であれば,トラックボール,トラックパッド,スタイラスペン,ダイアルログ,またはジョイスティックなどのポインティングデバイスまたはキーボードなどの場合であってもよい。   The recording instruction accepting unit 111 includes one or more buttons (for example, one or two or more buttons that can receive a recording start instruction, a recording end instruction, a cache REC function (or cache recording) valid / invalid instruction, etc.) from the user. REC start button, REC end button, etc.), but is not limited to such an example, and the recording instruction receiving unit 111 may be a trackball, a trackpad, a stylus pen as long as it can receive various instructions from the user. , A dial log, or a pointing device such as a joystick or a keyboard.

なお,本実施の形態にかかるキャッシュRECとは,例えば,記録再生装置101の電源投入後,REC開始ボタンの押下等による記録開始指示があるまでの間,記憶装置133に符号化後の映像データを一時的に蓄積し,記録開始指示があったときに,その記録開始指示を受けた時点から所定時間遡り,その時点から記録媒体140に映像データを記録することができる機能をいうが,詳細は後程述べる。   It should be noted that the cache REC according to the present embodiment refers to, for example, encoded video data in the storage device 133 after the recording / reproducing apparatus 101 is powered on until a recording start instruction is issued by pressing the REC start button or the like. Is temporarily stored, and when a recording start instruction is given, the function can record the video data on the recording medium 140 from the point in time after receiving the recording start instruction. Will be discussed later.

また,記録指示受付部111は,ユーザから指示を受付けると,その指示内容を示す記録開始指示信号等の指示信号を制御コントローラ113に伝達する。制御コントローラ113は,かかる指示信号を基に,記録処理等を各部を制御し,実行させる。   Further, when receiving an instruction from the user, the recording instruction receiving unit 111 transmits an instruction signal such as a recording start instruction signal indicating the instruction content to the control controller 113. The controller 113 controls each unit to execute a recording process and the like based on the instruction signal.

制御コントローラ113は,記録再生装置101に備わる各部(記録指示受付部111〜メディア復号部139)の処理を制御する。例えば,制御コントローラ113は,エンコードするデータレート(ビットレート)の値を画像符号化部115に指示したり,所定時間遡った時点に対応する映像データ(ピクチャ群など)が格納されている位置を示すアドレスを求めたりする。   The controller 113 controls processing of each unit (recording instruction receiving unit 111 to media decoding unit 139) provided in the recording / reproducing apparatus 101. For example, the control controller 113 instructs the image encoding unit 115 to specify the value of the data rate (bit rate) to be encoded, or sets the position where the video data (picture group etc.) corresponding to the point in time that is traced back a predetermined time is stored. Ask for the address to show.

上記画像符号化部115は,映像信号のうち画像部分に相当する画像信号(ビデオ信号)がSIF(Source Input Format)等の所定フォーマットに変換された画像信号を入力する。   The image encoding unit 115 inputs an image signal obtained by converting an image signal (video signal) corresponding to an image portion of a video signal into a predetermined format such as SIF (Source Input Format).

なお,本実施の形態にかかる画像信号は,映像信号に含まれ,主として動画像の場合を例に挙げて説明するが,かかる例に限定されない。   Note that the image signal according to the present embodiment is included in the video signal and will be described mainly using a moving image as an example, but the present invention is not limited to this example.

画像符号化部115は,入力する上記画像信号のシーケンスを並び替え(リオーダリング),1又は2以上フレーム以上のピクチャから構成されるGOP(Group Of Picture,又は,ピクチャ群)に符号化する。   The image encoding unit 115 rearranges (reorders) the sequence of the input image signal and encodes it into a GOP (Group Of Picture or a group of pictures) composed of one or more pictures.

上記画像符号化部115は,画像信号の入力を受けると,制御コントローラ113から指示を受けたデータレート(又は,ビットレート)に従って,例えば,MPEG2又はMPEG4等の形式で圧縮等し,上記GOPが1又は2個以上含まれる画像ストリームを出力する。なお,上記指示されるデータレートは,例えば,30Mbps〜50Mbps等の高データレート,または,1.5Mbps〜2.0Mbps等の低データレートを例示することができるが,かかる例に限定されない。   When the image encoding unit 115 receives an input of an image signal, the image encoding unit 115 compresses the image in a format such as MPEG2 or MPEG4 according to the data rate (or bit rate) received from the controller 113, and the GOP An image stream including one or two or more is output. The indicated data rate can be exemplified by a high data rate such as 30 Mbps to 50 Mbps or a low data rate such as 1.5 Mbps to 2.0 Mbps, but is not limited to such an example.

画像符号化部115は,制御コントローラ113からデータレートが高データレートで指示された場合,高データレートの画像ストリームを出力し,低データレートで指示された場合,低データレートの画像ストリームを出力することができる。   The image encoding unit 115 outputs an image stream at a high data rate when the data rate is instructed from the controller 113 at a high data rate, and outputs an image stream at a low data rate when instructed at a low data rate. can do.

さらに,上記画像符号化部115について詳細に説明すると,画像符号化部115には,独立符号化部116と非独立符号化部117とが備わっている。独立符号化部116及び非独立符号化部117は,制御コントローラ113から送信される指示信号に応じて,符号化を実行する。   Further, the image encoding unit 115 will be described in detail. The image encoding unit 115 includes an independent encoding unit 116 and a non-independent encoding unit 117. Independent encoding unit 116 and non-independent encoding unit 117 perform encoding in accordance with an instruction signal transmitted from control controller 113.

つまり,制御コントローラ113から独立符号化部116が符号化するように指示があると,独立符号化116が符号化を実行し,一方,制御コントローラ113から非独立符号化117が符号化するように指示があると,非独立符号化117が符号化を実行する。   In other words, if the control controller 113 instructs the independent encoding unit 116 to perform encoding, the independent encoding 116 performs encoding, while the control controller 113 performs non-independent encoding 117 encoding. When instructed, the non-independent encoding 117 performs encoding.

上記独立符号化部116は,入力してくる上記画像信号のフレームのシーケンスを並び替え(リオーダリング),1又は2以上フレーム以上のピクチャから構成されるOPEN GOP(又は,独立ピクチャ群)に符号化する。   The independent encoding unit 116 rearranges (reorders) the sequence of frames of the input image signal and codes the OPEN GOP (or independent picture group) composed of one or more frames. Turn into.

上記非独立符号化部117は,入力してくる上記画像信号のフレームのシーケンスを並び替え(リオーダリング),1又は2以上フレーム以上のピクチャから構成されるCLOSED GOP(又は,非独立ピクチャ群)に符号化する。   The non-independent encoding unit 117 rearranges (reorders) the sequence of frames of the input image signal, and a CLOSED GOP (or a non-independent picture group) composed of one or more frames. Is encoded.

なお,上記OPEN GOP又はCLOSED GOPについての詳細は後述する。また以下では,上記OPEN GOPを,オープンGOPと記載し,CLOSED GOPを,クローズGOPと記載する場合があるが,実質的に同一である。また,上記オープンGOP及び/又はクローズGOPを含むデータを総称して映像データ又は画像データと記載する場合もある。   Details of the OPEN GOP or the CLOSED GOP will be described later. Hereinafter, the OPEN GOP may be referred to as an open GOP and the CLOSED GOP may be referred to as a closed GOP, but these are substantially the same. In addition, data including the open GOP and / or the closed GOP may be collectively referred to as video data or image data.

上記独立符号化部116又は非独立符号化部117から出力される1又は2個以上のオープンGOP又は1又は2個以上のクローズGOPは,記憶装置133に一時的に記憶される。   One or more open GOPs or one or more closed GOPs output from the independent encoding unit 116 or the non-independent encoding unit 117 are temporarily stored in the storage device 133.

上記オーディオ符号化部119は,映像信号のうち音声部分に相当する音声信号を入力すると,上記音声信号をオーディオデータに符号化する。なお,上記画像符号化部115にて説明したように,オーディオ符号化部119は,制御コントローラ113から高データレートで指示されると,音声信号を高データレートで符号化し,低データレートで指示されると,音声信号を低データレートで符号化する。   When the audio encoding unit 119 receives an audio signal corresponding to the audio portion of the video signal, the audio encoding unit 119 encodes the audio signal into audio data. As described in the image encoding unit 115, when the audio encoding unit 119 is instructed at a high data rate from the controller 113, the audio signal is encoded at a high data rate, and the audio encoding unit 119 is instructed at a low data rate. Then, the audio signal is encoded at a low data rate.

上記オーディオ符号化部119により符号化されたオーディオデータは,記憶装置133に一時的に記憶される。   The audio data encoded by the audio encoding unit 119 is temporarily stored in the storage device 133.

上記メタ符号化部121は,映像信号のうち属性信号(RT信号:リアルタイム信号)の入力を受けると,属性信号をメタデータに符号化する。なお,上記属性信号は,画像及び/又は音声(映像データ)の各フレームに関するリアルタイム情報等であり,より具体的には,画像及び/又は音声(映像データ)のタイムコードや,撮影日時,ズーム倍率などを例示することができるが,かかる例に限定されない。符号化された後のメタデータのデータ内容についても基本的には上記属性信号と同一である。   When the meta encoding unit 121 receives an input of an attribute signal (RT signal: real time signal) in the video signal, the meta encoding unit 121 encodes the attribute signal into metadata. The attribute signal is real-time information about each frame of image and / or audio (video data), and more specifically, time code of image and / or audio (video data), shooting date and time, zoom Although a magnification etc. can be illustrated, it is not limited to this example. The data content of the metadata after encoding is basically the same as the attribute signal.

記憶装置133は,独立符号化部116,非独立符号化部117,オーディオ符号化部119,メタ符号化部121から出力される,オープンGOP,クローズGOP,オーディオデータ,メタデータ等のデータを自装置内の記憶領域に記憶することができる。   The storage device 133 automatically stores data such as open GOP, closed GOP, audio data, and metadata output from the independent encoding unit 116, the non-independent encoding unit 117, the audio encoding unit 119, and the meta encoding unit 121. It can be stored in a storage area in the apparatus.

記憶装置133についてより具体的に説明すると,記憶装置133には,記憶部129と,取得部131とが備わる。   The storage device 133 will be described more specifically. The storage device 133 includes a storage unit 129 and an acquisition unit 131.

上記記憶部129は,所定大きさの記憶領域を有して,上記説明した各種データを格納し,データを削除し,データを変更することができる。記憶部129は,データを格納した記憶領域の場所を示す格納アドレスを基に,格納したデータを管理している。   The storage unit 129 has a storage area of a predetermined size, can store the various data described above, delete the data, and change the data. The storage unit 129 manages the stored data based on the storage address indicating the location of the storage area that stores the data.

また,記憶部129は,上記各種データの他に,データを格納した時刻と格納アドレスとが対応付けられたテーブル(図示せず。)を記憶してもよい。上記テーブルを基に,例えば,所定時間遡って,データを取得するために制御コントローラ113が取得するデータを指示しても良い。   The storage unit 129 may store a table (not shown) in which the time at which the data is stored and the storage address are associated in addition to the various data. Based on the above table, for example, data acquired by the controller 113 to acquire data may be instructed retroactively for a predetermined time.

なお,本実施の形態にかかる記憶部129は,例えば,SDRAM,DRAM等のメモリを例示することができるが,かかる例に限定されない。   In addition, although the memory | storage part 129 concerning this Embodiment can illustrate memories, such as SDRAM and DRAM, for example, it is not limited to this example.

上記取得部131は,上記オープンGOP,クローズGOP,オーディオデータ,メタデータ等のデータを記憶部129の記憶領域から読み出し,記録/再生部135またはメディア符号化部137に出力する。   The acquisition unit 131 reads data such as the open GOP, closed GOP, audio data, and metadata from the storage area of the storage unit 129 and outputs the data to the recording / playback unit 135 or the media encoding unit 137.

上記取得部131は,目的とするデータを読み出す際に,制御コントローラ113から指示される格納アドレスを基に,記憶部129の記憶領域からデータを読み出し,記録/再生部135などに出力する。   When reading the target data, the acquisition unit 131 reads the data from the storage area of the storage unit 129 based on the storage address instructed from the controller 113 and outputs the data to the recording / reproducing unit 135 or the like.

取得部131は,例えば,記録/再生部135によって画像ストリームとして記録媒体140に書き込まれる(記録する)順番に,上記オープンGOP又はクローズGOPを並べていき,同様に音声ストリームとして書き込まれる順番にオーディオデータを並べ,属性ストリームとして書き込まれる順番にメタデータを並べていき,記録/再生部135に略同時並行して出力する。   For example, the acquisition unit 131 arranges the open GOP or the close GOP in the order in which the recording / playback unit 135 writes (records) the image stream as an image stream in the recording medium 140, and similarly, the audio data Are arranged in the order in which they are written as attribute streams, and output to the recording / reproducing unit 135 substantially simultaneously.

なお,本実施の形態に係るフレーム(又は,枠)は画像信号,オープンGOP,クローズGOP,オーディオデータ,メタデータに構成される最小単位の画像(又は,ピクチャ)や,音声,または属性等を示すものとするが,かかる例に限定されない。   Note that the frame (or frame) according to the present embodiment includes a minimum unit image (or picture), audio, attribute, or the like configured in an image signal, open GOP, closed GOP, audio data, and metadata. Although shown, it is not limited to such examples.

記録/再生部135は,取得部131から受け取った記録用の画像ストリーム,音声ストリーム,属性ストリーム(映像データ)を記録媒体140に記録する,または,記録媒体140に記録された上記映像データを読み出し記憶装置133に送出する。   The recording / playback unit 135 records the recording image stream, audio stream, and attribute stream (video data) received from the acquisition unit 131 on the recording medium 140 or reads the video data recorded on the recording medium 140. The data is sent to the storage device 133.

なお,本実施の形態にかかる記録媒体140は,CD,DVD,またはBlu−rayDisc等,光ディスクの場合を例に挙げて説明するが,かかる例に限定されず,磁気ディスク等の場合でも実施可能である。   The recording medium 140 according to the present embodiment will be described taking an example of an optical disk such as CD, DVD, or Blu-ray Disc, but is not limited to such an example, and can be implemented even in the case of a magnetic disk or the like. It is.

なお,本実施の形態にかかる映像信号には,画像信号,音声信号,または属性信号のうち少なくとも一つが含まれている。また,本実施の形態にかかる映像信号が符号化された映像データには,画像データ,オーディオデータ,またはメタデータのうち少なくとも一つが含まれている。   Note that the video signal according to the present embodiment includes at least one of an image signal, an audio signal, and an attribute signal. In addition, the video data obtained by encoding the video signal according to the present embodiment includes at least one of image data, audio data, and metadata.

上記画像復号部123は,記録/再生部135により読み込まれた符号化された映像データを記憶装置133から入力して画像信号に復号するデコーダである。   The image decoding unit 123 is a decoder that inputs the encoded video data read by the recording / reproducing unit 135 from the storage device 133 and decodes it into an image signal.

上記画像復号部123には,独立復号部124と,非独立復号部126とが備わる。上記独立復号部124は,映像データに含まれるクローズGOPを画像信号に復号し,上記非独立復号部126は,映像データに含まれるオープンGOPを画像信号に復号する。   The image decoding unit 123 includes an independent decoding unit 124 and a non-independent decoding unit 126. The independent decoding unit 124 decodes the closed GOP included in the video data into an image signal, and the non-independent decoding unit 126 decodes the open GOP included in the video data into an image signal.

上記オーディオ復号部125は,記録/再生部135により読み込まれた映像データのうちオーディオデータを記憶装置133から入力して音声信号に復号するデコーダであり,上記メタ復号部127は,記憶装置133からメタデータを入力して属性信号に復号するデコーダである。   The audio decoding unit 125 is a decoder that inputs audio data of the video data read by the recording / reproducing unit 135 from the storage device 133 and decodes the audio data into an audio signal. The meta decoding unit 127 receives the data from the storage device 133. It is a decoder that inputs metadata and decodes it into attribute signals.

メディア符号化部137は,記憶装置133に格納されたオープンGOP,クローズGOP,オーディオデータ,メディアデータを各々取得し,メディアデータに符号化する。符号化されたメディアデータは,一連のパケットデータとしてネットワーク(図示せず。)を介して情報処理装置などの外部装置に送信される。なお,メディアデータについては,後程詳述するが,ネットワークの負荷に応じて,迅速に送信できるようにメディアデータのデータレートを低データレートにしてもよい。   The media encoding unit 137 acquires each of open GOP, closed GOP, audio data, and media data stored in the storage device 133, and encodes them into media data. The encoded media data is transmitted as a series of packet data to an external device such as an information processing device via a network (not shown). Although the media data will be described in detail later, the data rate of the media data may be set to a low data rate so that it can be transmitted quickly according to the network load.

メディア復号部139は,メディアデータを復号し,オープンGOP,クローズGOP,オーディオデータ,メディアデータ各々を記憶装置133に送出する。取得部131は,上記各データを取得すると,記憶部129の記憶領域に格納する。なお,メディア復号部139はメディアデータを,ネットワークを介して外部装置から受信する。   The media decoding unit 139 decodes the media data, and sends each of open GOP, closed GOP, audio data, and media data to the storage device 133. When acquiring the above data, the acquiring unit 131 stores the data in the storage area of the storage unit 129. The media decoding unit 139 receives media data from an external device via a network.

なお,本実施の形態にかかるメディアデータは,ネットワークを介して外部装置と記録再生装置101との間で送受信される場合を例に挙げて説明したが,かかる例に限定されず,例えば,外部装置と記録再生装置101との間がケーブルなどでライン接続され,上記ケーブルを介してメディアデータが送受信される場合等でも実施可能である。   The media data according to the present embodiment has been described by way of example in which data is transmitted and received between the external apparatus and the recording / reproducing apparatus 101 via a network. The present invention can be implemented even when the apparatus and the recording / reproducing apparatus 101 are line-connected with a cable or the like and media data is transmitted / received via the cable.

なお,本実施の形態にかかるネットワークは,メディアデータ等の種々のデータを装置から装置に伝送することが可能な伝送媒体である。より具体的には,ネットワークは,ピアツーピアに接続するケーブルや,ADSL(Asymmetric Digital Subscriber Line)またはFTTH(Fiber To The Home)などそれに類する方法で接続するインターネットなどの公衆回線網でもよく,LAN等の閉鎖回線網でもよく,さらに有線/無線を問わず衛星通信網なども含まれる。   The network according to the present embodiment is a transmission medium capable of transmitting various data such as media data from the apparatus to the apparatus. More specifically, the network may be a cable connected to peer-to-peer, or a public line network such as the Internet connected by a similar method such as ADSL (Asymmetric Digital Subscriber Line) or FTTH (Fiber To The Home). It may be a closed line network, and also includes a satellite communication network regardless of wired / wireless.

また,図1には図示されていないが,記録再生装置101は,さらに画像復号部123等のデコーダから出力される映像信号を出力可能なディスプレイ装置(図示せず。)を備えてもよい。例えば,画像復号部123から出力される画像信号をディスプレイ装置は画面に表示することができる。なお,ディスプレイ装置は,例えば,液晶ディスプレイなどを例示することができ,静止画像,動画像,もしくは音声又はそれらの任意の組合せなどを出力することが可能である。   Although not shown in FIG. 1, the recording / reproducing apparatus 101 may further include a display device (not shown) that can output a video signal output from a decoder such as the image decoding unit 123. For example, the display device can display the image signal output from the image decoding unit 123 on the screen. The display device can be exemplified by a liquid crystal display, for example, and can output a still image, a moving image, audio, or any combination thereof.

(GOPについて)
次に,本実施の形態にかかるGOPについて説明する。GOPは,画像符号化部115により符号化された1又は2以上のピクチャ(画像データ)の集まりである。
(About GOP)
Next, the GOP according to this embodiment will be described. GOP is a collection of one or more pictures (image data) encoded by the image encoding unit 115.

なお,本実施の形態にかかるGOPは,いわゆるLongGOPと呼ばれ,例えば,1GOPに60フレーム以上のピクチャを含む場合もあり得るが,かかる例に限定されず,例えば,1GOPに10フレーム〜15フレームのピクチャから構成される場合等でもよい。   Note that the GOP according to the present embodiment is called a so-called Long GOP. For example, one GOP may include pictures of 60 frames or more. However, the GOP is not limited to this example. For example, one GOP includes 10 to 15 frames. It may be composed of the pictures.

また,上記ピクチャには,Iピクチャ(Intraピクチャ,又は,フレーム内符号化画像)と,Pピクチャ(Predictiveピクチャ,又は,フレーム間順方向予測符号化画像)と,Bピクチャ(Bidirectionally predictive符号化画像,又は,双方向予測符号化画像)と3つのタイプのピクチャが存在する。なお,本実施の形態にかかるピクチャは,符号化後の画像データに構成される各フレームの画像又はデータをいうが,かかる例に限定されない。   The picture includes an I picture (Intra picture or intra-frame encoded image), a P picture (Predictive picture or inter-frame forward prediction encoded image), and a B picture (Bidirectionally predictive encoded image). Or bi-predictive encoded image) and three types of pictures. In addition, the picture concerning this Embodiment means the image or data of each flame | frame comprised by the image data after encoding, However, It is not limited to this example.

上記Iピクチャは,前のフレームとの相関関係を利用しない独立したピクチャであり,上記Pピクチャは,前のフレームとの相関関係を利用するピクチャであり,上記Bピクチャは,前後両方のフレームとの相関関係を利用するピクチャである。   The I picture is an independent picture that does not use the correlation with the previous frame, the P picture is a picture that uses the correlation with the previous frame, and the B picture includes both the previous and next frames. It is a picture that uses the correlation of.

一般的に,Bピクチャを使わずにIピクチャとPピクチャのみを使う場合よりも,BピクチャをIピクチャ若しくはPピクチャではさむことで使う場合の方が,同一ビットレートでの画質は良い。   In general, the image quality at the same bit rate is better when the B picture is sandwiched between the I picture or the P picture than when only the I picture and the P picture are used without using the B picture.

次に,図2を参照しながら,本実施の形態にかかるオープンGOP又はクローズGOPについて説明する。なお,図2は,本実施の形態にかかるオープンGOPとクローズGOPの概略的な構成を示す説明図である。   Next, an open GOP or a closed GOP according to the present embodiment will be described with reference to FIG. FIG. 2 is an explanatory diagram showing a schematic configuration of an open GOP and a closed GOP according to the present embodiment.

オープンGOPは,前後のGOP間でピクチャを参照することが特徴である。したがって,オープンGOPは,符号化の際の圧縮効率が高いと言う利点があるが,一方で,前後のGOPに構成されるピクチャを参照するため,GOPの独立性が低く編集効率が悪い。   An open GOP is characterized in that a picture is referred to between preceding and following GOPs. Therefore, the open GOP has an advantage that the compression efficiency at the time of encoding is high, but on the other hand, the GOP is independent and the editing efficiency is low because the pictures configured in the preceding and following GOPs are referred to.

図2(a)に示すように,OPEN GOP(オープンGOP)は,n−1番目のGOPであるn−1GOPと,その後のn番目のGOPであるnGOPとが存在する場合を例に挙げて説明する。なお,nは1よりも大きい自然数とする。   As shown in FIG. 2A, OPEN GOP (open GOP) is an example in which there is an n-1 GOP that is the n-1st GOP and an nGOP that is the nth GOP thereafter. explain. Note that n is a natural number larger than 1.

上記n−1GOPには,B0,B1,…,B13,P14と複数のピクチャが配列されている。なお,本実施の形態では,GOPに構成されるピクチャを特定するために,例えば,「B13」等と記載するが,「B13」のうち左側のBは,Bピクチャなどのようにピクチャの種類を示し,右側の数字の13は,フレーム番号を示している。   In the n-1 GOP, B0, B1,..., B13, P14 and a plurality of pictures are arranged. In this embodiment, in order to specify the picture configured in the GOP, for example, “B13” is described, but the left B of “B13” is the type of picture such as B picture. The numeral 13 on the right side indicates the frame number.

オープンGOPでは,図2(a)に示すように,例えば,nGOPのうちB0は,上記前後するGOPであるn−1GOPのP14のピクチャを参照する必要がある。nGOPのうちB1についても同様に,P14を参照する必要がある。つまり,オープンGOPの場合,前後するGOPでリンク付けられている。   In the open GOP, as shown in FIG. 2A, for example, B0 of the nGOPs needs to refer to the P14 picture of the n-1 GOP which is the preceding and following GOPs. Similarly, it is necessary to refer to P14 for B1 in the nGOP. That is, in the case of an open GOP, it is linked by the preceding and following GOPs.

次に,クローズGOPは,オープンGOPの反対に,前後のGOP間でピクチャを参照しないことが特徴である。したがって,クローズGOPは,符号化の際の圧縮効率が低いと言う欠点があるが,一方で,前後のGOPに構成されるピクチャを参照しないため,GOPの独立性が高く編集効率が良い。   Next, the closed GOP is characterized in that, unlike the open GOP, the picture is not referred to between the preceding and succeeding GOPs. Therefore, the closed GOP has a drawback that the compression efficiency at the time of encoding is low, but on the other hand, since the pictures configured in the preceding and succeeding GOPs are not referred to, the GOP is independent and the editing efficiency is good.

より具体的には,クローズGOPの場合,GOP内の最初の数フレームのBピクチャは,前のGOPに構成されるピクチャに依存しない。かかるクローズGOPに符号化する場合,独立符号化部117は制御コントローラ113から指示を受けて,例えばクローズGOPフラグ等のフラグを符号化時にGOPに設定することでクローズGOPに符号化している。   More specifically, in the case of a closed GOP, the B pictures of the first few frames in the GOP do not depend on the pictures configured in the previous GOP. When encoding to such a closed GOP, the independent encoding unit 117 receives an instruction from the control controller 113 and encodes to a closed GOP by setting a flag such as a closed GOP flag to GOP at the time of encoding.

図2(b)に示すように,CLOSED GOP(クローズGOP)のうち,例えば,nGOPのB0は,n−1GOPのP14のピクチャを参照しない。nGOPのうちB1についても同様に,P14を参照しない。   As shown in FIG. 2 (b), for example, B0 of nGOP in the CLOSED GOP (closed GOP) does not refer to the P14 picture of n-1 GOP. Similarly for B1 of nGOP, P14 is not referred to.

(オープンGOPとした場合のキャッシュRECについて)
以上,GOPにはオープンGOPとクローズGOPが存在し,そのオープンGOP及びクローズGOPについて説明した。次に,かかるオープンGOPで符号化した場合のキャッシュRECについて,図3を参照しながら,説明する。なお,図3は,本実施の形態にかかるオープンGOPとした場合のキャッシュRECの概略を示す説明図である。
(About cache REC when open GOP is used)
As described above, an open GOP and a closed GOP exist in the GOP, and the open GOP and the closed GOP have been described. Next, the cache REC when encoded with such an open GOP will be described with reference to FIG. FIG. 3 is an explanatory diagram showing an outline of the cache REC in the case of the open GOP according to the present embodiment.

図3に示すように,例えば,記録再生装置101の電源がONすると,キャッシュREC機能によって記憶装置133に映像が自動的に一時的に格納されていく。   As shown in FIG. 3, for example, when the power of the recording / reproducing apparatus 101 is turned on, the video is automatically and temporarily stored in the storage device 133 by the cache REC function.

記憶装置133に記録されていく映像のうち画像に該当する1又は2個以上のオープンGOPには,図3に示すように,I2,B0,B1,…,B19のように,複数のピクチャが配列されている。なお,フレーム番号が0〜13のピクチャ(B0〜P14)で一つのオープンGOPを構成し,フレーム番号が15〜19のピクチャ(B15〜P20)で一つのオープンGOPを構成している。   In one or more open GOPs corresponding to images in the video recorded in the storage device 133, as shown in FIG. 3, a plurality of pictures such as I2, B0, B1,. It is arranged. It should be noted that one open GOP is composed of pictures (B0 to P14) having frame numbers 0 to 13, and one open GOP is composed of pictures (B15 to P20) having frame numbers 15 to 19.

同様に,映像のうち音声に該当するオーディオデータは,図3に示すように,A0,A1,…,A20と,複数のフレームから構成されて,記憶装置133に格納される。また属性に該当するメタデータは,同様に,R0,A1,…,A20と,複数のフレームから構成されて,記憶装置133に格納される。   Similarly, the audio data corresponding to the audio in the video is composed of A0, A1,..., A20 and a plurality of frames and stored in the storage device 133 as shown in FIG. Similarly, the metadata corresponding to the attribute is composed of R0, A1,..., A20 and a plurality of frames, and is stored in the storage device 133.

図3に示すように,符号化前後のオーディオデータ(音声)とメディアデータ(属性)は,フレーム単位で同期しているが,GOPデータ(画像)のみ符号化の前後でフレームの位置が後方にずれている。これは,画像信号からBピクチャに符号化する際にリオーダリングによって並べ替える処理が発生し,その分だけ遅延するためである。   As shown in FIG. 3, audio data (voice) and media data (attributes) before and after encoding are synchronized on a frame basis, but only the GOP data (image) is positioned backward and forward after encoding. It's off. This is because a process of rearranging by reordering occurs when encoding an image signal into a B picture, and is delayed by that amount.

ここで,例えば,記録指示受付部111がユーザから記録開始の指示を受付けると,キャッシュREC機能により,記録開始の指示がある前に一時的に格納していた映像データを所定時間遡って取得するが,その所定時間遡った時点が,例えば,フレーム番号「15」に対応する映像データ(B15,A15,R15)であるとする(図3に示す太枠のフレーム)。   Here, for example, when the recording instruction receiving unit 111 receives an instruction to start recording from the user, the cache REC function acquires the video data temporarily stored before the recording start instruction by going back a predetermined time. However, it is assumed that, for example, the video data (B15, A15, R15) corresponding to the frame number “15” is the time point that is traced back by the predetermined time (the thick frame shown in FIG. 3).

A15を先頭とするオーディオデータとR15を先頭とするメタデータについては,フレーム単位に独立して符号化されるため,何ら問題なくデータを取得することができるが,オープンGOPにおける先頭のB15については,P14やI2等のピクチャを参照する必要があり,B15単体で復号することができないため,B15から順にGOPデータを取得することができない。その結果,GOPデータについては図3に示すI2からGOPデータを取得する必要がある。   The audio data starting with A15 and the metadata starting with R15 are encoded independently for each frame, so that the data can be acquired without any problem. However, for the head B15 in the open GOP, , P14, I2, etc., need to be referenced, and since B15 alone cannot be decoded, GOP data cannot be acquired sequentially from B15. As a result, it is necessary to acquire GOP data from I2 shown in FIG.

したがって,画像(GOP)と音声(オーディオデータ)又は属性(メタデータ)とを同期させる際に,どのフレームで画像と音声等とを同期(又は,リップシンク)すればよいのか判断が困難となり,キャッシュREC機能を実現するのが難しい。   Therefore, when synchronizing the image (GOP) and the sound (audio data) or the attribute (metadata), it becomes difficult to determine which frame the image and the sound should be synchronized (or lip sync). It is difficult to realize the cache REC function.

また一方で,キャッシュREC機能により,所定時間遡った時点が,例えば,フレーム番号「17」に対応する映像データ(I17,A17,R17)であるとした場合でも,B15,B16は,前のオープンGOPに構成されるP14等のピクチャを参照する必要がある。   On the other hand, even when it is assumed that the time point that is a predetermined time later by the cache REC function is, for example, the video data (I17, A17, R17) corresponding to the frame number “17”, It is necessary to refer to a picture such as P14 configured in the GOP.

したがって,記録再生装置101が前のオープンGOPに構成されるP14等のピクチャを記録媒体140に記録せずに,I17を先頭とし,B15,B16,…と記録媒体140に記録したとしても,オープンGOPであるB15,B16を復号し再生する際に不整合が生じ,画面上に余計なデータが表示される等,ユーザに対し不快感を与える。   Therefore, even if the recording / reproducing apparatus 101 does not record the picture such as P14 configured in the previous open GOP on the recording medium 140 but records it on the recording medium 140 with B17, B16,. When the GOPs B15 and B16 are decoded and played back, inconsistency occurs and extra data is displayed on the screen, which makes the user uncomfortable.

以上の結果,オープンGOPの場合,キャッシュREC機能を実現するのは難しい。しかし,以下に示すクローズGOPを用いることで,かかる問題を解決することができる。次に,クローズGOPとした場合のキャッシュRECについて説明する。   As a result, in the case of an open GOP, it is difficult to realize the cache REC function. However, this problem can be solved by using the closed GOP described below. Next, the cache REC in the case of a closed GOP will be described.

(CLOSED GOPの場合のキャッシュREC)
次に,図4を参照しながら,本実施の形態にかかるクローズGOPで符号化した場合のキャッシュRECについて説明する。なお,図4は,本実施の形態にかかるクローズGOPとした場合のキャッシュRECの概略を示す説明図である。
(Cache REC for CLOSED GOP)
Next, with reference to FIG. 4, the cache REC in the case of encoding with the closed GOP according to the present embodiment will be described. FIG. 4 is an explanatory diagram showing an outline of the cache REC when the closed GOP according to the present embodiment is used.

図4に示すように,記憶装置133に記録されていく映像のうち画像に該当する1又は2個以上のCLOSED GOP(クローズGOP)には,I2,B0,B1,…,B19のように,複数のピクチャが配列されている。   As shown in FIG. 4, one or more CLOSED GOPs (closed GOPs) corresponding to an image among videos recorded in the storage device 133 include I2, B0, B1,. Multiple pictures are arranged.

同様に,映像のうち音声に該当するオーディオデータは,図3に示すように,A0,A1,…,A20と,複数のフレームから構成されて,記憶装置133に格納される。また属性に該当するメタデータは,同様に,R0,A1,…,A20と,複数のフレームから構成されて,記憶装置133に格納される。   Similarly, the audio data corresponding to the audio in the video is composed of A0, A1,..., A20 and a plurality of frames and stored in the storage device 133 as shown in FIG. Similarly, the metadata corresponding to the attribute is composed of R0, A1,..., A20 and a plurality of frames, and is stored in the storage device 133.

図4に示すように,上記説明したように,符号化後のオーディオデータ(音声)とメディアデータ(属性)は,フレーム単位で同期しているのが分かるが,リオーダリングによって時間的遅れが生じてGOPデータ(画像)のみフレームの同期位置が後方にずれる。   As shown in FIG. 4, as described above, it can be seen that the encoded audio data (speech) and media data (attributes) are synchronized in units of frames, but there is a time delay due to reordering. Thus, only the GOP data (image) shifts the frame synchronization position backward.

ここで,例えば,記録指示受付部111がユーザから記録開始の指示を受付けると,キャッシュREC機能により,所定時間遡った時点が,例えば,フレーム番号「15」に対応する映像データ(B15,A15,R15)であるとする(図4に示す太枠のフレーム)。   Here, for example, when the recording instruction receiving unit 111 receives an instruction to start recording from the user, for example, video data (B15, A15,. R15) (thick frame shown in FIG. 4).

A15を先頭とするオーディオデータとR15を先頭とするメタデータについては,図3に図示した場合と同様に,フレーム単位に独立して符号化されるため,何ら問題なくデータを取得することができ,さらにクローズGOPにおけるB15についても,前のGOPに構成されるP14やI2等のピクチャを参照する必要がなく,I17だけを参照すればよい。   The audio data starting with A15 and the metadata starting with R15 are encoded independently in frame units, as in the case shown in FIG. 3, so that data can be acquired without any problem. Further, for B15 in the closed GOP, it is not necessary to refer to pictures such as P14 and I2 configured in the previous GOP, and only I17 need be referred to.

したがって,フレーム番号15を先頭とする場合には,画像に関してはI17ピクチャを先頭として,以降B15,B16,…と取得すればよい。さらに,映像データを復号し再生する際には,画像(クローズGOP)と音声(オーディオデータ)又は属性(メタデータ)をフレーム番号15(B15,A15,R15)で同期(又は,リップシンク)させれば良いことが容易に判別できる。   Therefore, when the frame number 15 is the head, it is only necessary to obtain B15, B16,... Further, when video data is decoded and reproduced, the image (closed GOP) and audio (audio data) or attribute (metadata) are synchronized (or lip-synced) with frame number 15 (B15, A15, R15). It can be easily discriminated.

以上から,クローズGOPの場合,キャッシュREC機能を容易に実現することが可能であることが分かる。ただし,クローズGOPの場合,上記説明したように,圧縮効率がオープンGOPよりも悪い。したがって,本実施の形態にかかるキャッシュREC機能による一連の記録処理では,クローズGOPとオープンGOPとを併用し,圧縮効率の向上をも図っている。次に,より具体的なキャッシュREC機能を利用した一連の記録処理について説明する。   From the above, it can be seen that in the case of a closed GOP, the cache REC function can be easily realized. However, in the case of a closed GOP, as described above, the compression efficiency is worse than that of an open GOP. Therefore, in the series of recording processing by the cache REC function according to the present embodiment, the closed GOP and the open GOP are used together to improve the compression efficiency. Next, a series of recording processes using a more specific cache REC function will be described.

(キャッシュREC機能を利用した記録処理について)
次に,図5〜図7を参照しながら,本実施の形態にかかるキャッシュREC機能を利用した一連の記録処理について説明する。なお,図5は,本実施の形態にかかるキャッシュREC機能を利用した記録処理の概略を示すフローチャートであり,図6〜図7は,本実施の形態にかかるキャッシュREC機能を利用した記録処理の概略を示す説明図である。
(Recording processing using the cache REC function)
Next, a series of recording processes using the cache REC function according to the present embodiment will be described with reference to FIGS. FIG. 5 is a flowchart showing an outline of a recording process using the cache REC function according to this embodiment. FIGS. 6 to 7 show a recording process using the cache REC function according to this embodiment. It is explanatory drawing which shows an outline.

図5に示すように,記録再生装置101の電源がON後,例えば,記録指示受付部111に備わるキャッシュREC機能を有効/無効を切替えるためのボタン又はスイッチ(図示せず。)がユーザにより押下されると,制御コントローラ113は,キャッシュREC機能が有効であると判断する(S501)。なお,本実施の形態にかかるキャッシュRECは,記録再生装置101の電源がONするとキャッシュREC機能も有効になるように,予め定められている場合等でも実施可能である。   As shown in FIG. 5, after the recording / reproducing apparatus 101 is turned on, for example, a button or switch (not shown) for switching the cache REC function provided in the recording instruction receiving unit 111 between valid / invalid is pressed by the user. Then, the controller 113 determines that the cache REC function is valid (S501). Note that the cache REC according to the present embodiment can be implemented even when it is determined in advance so that the cache REC function becomes effective when the power of the recording / reproducing apparatus 101 is turned on.

制御コントローラ113は,キャッシュREC機能の有効/無効の状態を常時監視し(S501),キャッシュREC機能が有効であれば,次に,画像信号を入力して独立符号化部116はクローズGOPに符号化し,記憶装置133内の記憶部129に書き込む(S503)。   The controller 113 constantly monitors the valid / invalid state of the cache REC function (S501), and if the cache REC function is valid, then the image signal is input and the independent encoding unit 116 encodes the closed GOP. And is written in the storage unit 129 in the storage device 133 (S503).

同様に,音声信号を入力してオーディオ符号化部119はオーディオデータに符号化し,記憶部129にオーディオデータを書き込む(S505)。また,属性信号を入力してメタ符号化部121はメタデータに符号化し,記憶部129にメタデータを書き込む(S507)。   Similarly, when an audio signal is input, the audio encoding unit 119 encodes the audio data, and writes the audio data in the storage unit 129 (S505). Also, the attribute signal is input, the meta encoding unit 121 encodes the metadata, and writes the metadata in the storage unit 129 (S507).

上記ステップS503〜ステップS507の各処理が,記録指示受付部111に備わるREC開始ボタンがユーザにより押下される(S509)まで,繰り返し継続して実行される。   The processes in steps S503 to S507 are repeatedly executed until the REC start button provided in the recording instruction receiving unit 111 is pressed by the user (S509).

なお,本実施の形態では,ステップS503〜ステップS507の複数の各書き込み処理がパラレルに独立並行的に行われる場合を例に挙げて説明したが,かかる例に限定されず,例えば,ステップS503の処理後に,ステップS505を実施し,その処理後にステップS507を実施する等の具合に,ステップS503,ステップS505,ステップS507の順に繰り返し実行する場合等でも実施可能である。   In the present embodiment, the case where each of the plurality of writing processes in steps S503 to S507 is performed in parallel and independently is described as an example. However, the present invention is not limited to this example. For example, step S505 may be performed after the process, and step S507 may be performed after the process. For example, the process may be repeatedly performed in the order of step S503, step S505, and step S507.

また,かかるステップS503〜ステップS507の各書き込み処理が継続して実行される間,記憶部129の記憶領域に絶えずクローズGOP等のデータを一時的に格納する必要があるが,記憶部129の記憶容量を超えてしまうような場合,記憶容量を超えたデータについては,再び記憶領域の先頭に戻って,先頭アドレスと対応する位置から順に既存のデータを上書きし,新たにデータを格納してもよい。すなわち,記憶部129は,クローズGOP等の映像データを読み出すためのポインタ,書き込むためのポインタ等を設けてアドレッシングを工夫した,いわゆるリングバッファ等のような場合でもよい。   Further, while the writing processes in steps S503 to S507 are continuously performed, it is necessary to temporarily store data such as a closed GOP in the storage area of the storage unit 129. If the data exceeds the capacity, return to the beginning of the storage area again, overwrite the existing data in order from the position corresponding to the start address, and store new data. Good. That is, the storage unit 129 may be a so-called ring buffer or the like in which addressing is devised by providing a pointer for reading video data such as a closed GOP and a pointer for writing.

次に,ユーザにより記録指示受付部111に備わるREC開始ボタンが押下されると(S509),制御コントローラ113は,記録指示受付部111からREC開始ボタンの押下による記録開始を示す記録開始信号を受信すると,記録媒体140に映像データを記録する記録処理(S511,S513)を開始させる。   Next, when the REC start button provided in the recording instruction reception unit 111 is pressed by the user (S509), the control controller 113 receives a recording start signal indicating the start of recording by pressing the REC start button from the recording instruction reception unit 111. Then, recording processing (S511, S513) for recording video data on the recording medium 140 is started.

制御コントローラ113は,記録開始信号を受信した以降に入力する画像信号については,クローズGOPに符号化するよう画像符号化部115に指示する。画像符号化部115では,独立符号化部116による符号化処理が停止し,非独立符号化部による符号化処理が開始する(S511)。   The controller 113 instructs the image encoding unit 115 to encode an image signal input after receiving the recording start signal into a closed GOP. In the image encoding unit 115, the encoding process by the independent encoding unit 116 is stopped, and the encoding process by the non-independent encoding unit is started (S511).

かかるクローズGOPからオープンGOPに切替えることによって,圧縮効率を向上することができ,クローズGOPだけを記録媒体140に記録した場合の記録時間よりも記録時間をより一層伸ばすことができる。   By switching from the closed GOP to the open GOP, the compression efficiency can be improved, and the recording time can be further extended compared to the recording time when only the closed GOP is recorded on the recording medium 140.

一方で,制御コントローラ113は,当該記録開始信号を受信すると,キャッシュREC機能により所定時間だけ遡り,ユーザが記録開始を指示した時点よりも過去の映像データから記録媒体140に記録するために,当該所定時間だけ遡った時点に対応する映像データの先頭部分のアドレス(記憶部129の記憶領域におけるデータ格納位置を示すアドレス)を求める。   On the other hand, when receiving the recording start signal, the controller 113 goes back by a predetermined time by the cache REC function and records the video data on the recording medium 140 from the past video data from the time when the user instructed to start recording. An address (address indicating a data storage position in the storage area of the storage unit 129) of the head portion of the video data corresponding to a time point that is back by a predetermined time is obtained.

制御コントローラ113は,例えば,1GOPに構成されるフレーム数等を基に,所定時間遡った位置のGOP先頭位置(又は,先頭ピクチャの位置)を計算し,その位置を記録媒体140に記録する記録開始位置として,その記録開始位置に対応する先頭フレーム(又は,ピクチャ)のオーディオデータ及びメタデータの位置についても求める。   For example, the controller 113 calculates the GOP head position (or the position of the head picture) at a position retroactive for a predetermined time on the basis of the number of frames configured in one GOP, etc., and records the position on the recording medium 140 As the start position, the position of the audio data and metadata of the first frame (or picture) corresponding to the recording start position is also obtained.

より具体的には,制御コントローラ113は,例えば,GOPに構成されるフレーム数(フレームレート)等を基に,キャッシュRECで定められた所定時間分のフレーム数の合計を求め,記録指示受付部111が記録開始信号を受付けた時点(REC開始ボタンが押された時点)から,その求めたフレーム数分だけ過去に格納された先頭フレーム(又は,ピクチャ)のアドレスをGOP,オーディオデータ,メタデータ各々について探し出す。なお,先頭フレームが,GOPに構成される先頭のピクチャでない場合は,補正してクローズGOPに構成される先頭のピクチャを,記録開始とする先頭のフレームとするが,かかる例に限定されず,探し出した補正前のフレームを記録開始位置としてもよい。   More specifically, the controller 113 obtains the total number of frames for a predetermined time determined by the cache REC based on, for example, the number of frames (frame rate) configured in the GOP, and the recording instruction receiving unit The address of the first frame (or picture) stored in the past for the determined number of frames from the time when the recording start signal is received by 111 (the time when the REC start button is pressed) is the GOP, audio data, and metadata. Find out about each. If the first frame is not the first picture configured in the GOP, the first picture configured in the closed GOP after correction is set as the first frame to start recording, but the present invention is not limited to this example. The found uncorrected frame may be used as the recording start position.

次に,取得部131は,制御コントローラ113により求められた記録開始位置の先頭部分のアドレスを基に,該当するクローズGOP,オーディオデータ,メタデータ(映像データ)を取得し,記録/再生部135は,記録媒体140に記録(書き込み)する(S513)。上記記録媒体140に記録する処理(S513)は,REC終了ボタンが押される(S515)まで継続する。   Next, the acquiring unit 131 acquires the corresponding closed GOP, audio data, and metadata (video data) based on the address of the head portion of the recording start position obtained by the controller 113, and the recording / reproducing unit 135. Is recorded (written) on the recording medium 140 (S513). The process of recording on the recording medium 140 (S513) continues until the REC end button is pressed (S515).

なお,キャッシュREC機能により所定時間遡った時点のGOPの先頭から記録媒体140に映像データを記録している最中も継続して,映像信号を符号化し,記憶部129の記憶領域に格納する(S511)。また,上記記憶部129にGOP等のデータを格納する処理(S511)は,REC終了ボタンが押される(S515)まで継続する。   The video signal is encoded and stored in the storage area of the storage unit 129 continuously while the video data is being recorded on the recording medium 140 from the beginning of the GOP when the cache REC function goes back for a predetermined time. S511). The process of storing data such as GOP in the storage unit 129 (S511) continues until the REC end button is pressed (S515).

次に,記録指示受付部111に備わるREC終了ボタンがユーザにより押下されると(S515),制御コントローラ113は記録終了を示す記録終了信号を記録指示受付部111から受信する。   Next, when the REC end button provided in the recording instruction receiving unit 111 is pressed by the user (S515), the control controller 113 receives a recording end signal indicating the recording end from the recording instruction receiving unit 111.

その後,制御コントローラ113は,画像符号化部115,オーディオ符号化部119,メタ符号化部121に対して映像信号の入力を停止し,符号化を終了するように指示し,取得部131に対してもREC終了ボタンが押下された時点までのGOP,オーディオデータ,メタデータ各々を記録/再生部135に送信するよう指示する。   Thereafter, the control controller 113 instructs the image encoding unit 115, the audio encoding unit 119, and the meta encoding unit 121 to stop the input of the video signal and end the encoding, and instructs the acquisition unit 131 to end the encoding. Even in this case, the GOP, audio data, and metadata up to the point when the REC end button is pressed are instructed to be transmitted to the recording / reproducing unit 135.

記録/再生部135は,記録媒体140にREC終了ボタンが押下された時点までのGOP,オーディオデータ,メタデータ(映像データ)を記録すると一連の記録処理が終了する(S517)。   When the recording / reproducing unit 135 records the GOP, audio data, and metadata (video data) up to the point when the REC end button is pressed on the recording medium 140, the series of recording processing ends (S517).

上記キャッシュREC機能を利用した一連の記録処理について,次に,図6又は図7を参照しながら,説明すると,図6に示すように,画像信号,音声信号,属性信号が各符号化部に入力し,符号化される。   Next, a series of recording processes using the cache REC function will be described with reference to FIG. 6 or FIG. 7. As shown in FIG. 6, an image signal, an audio signal, and an attribute signal are sent to each encoding unit. Input and encoded.

画像信号については,画像符号化部115によって符号化される際に,画像信号(B0,B1,…,B19,P20)のシーケンスを並べ替える必要があるため,その分だけオーディオデータ(A0〜A20)又はメタデータ(R0〜R20)よりもずれる。   When the image signal is encoded by the image encoding unit 115, the sequence of the image signals (B0, B1,..., B19, P20) needs to be rearranged. ) Or metadata (R0 to R20).

例えば,図6に示すように,画像信号に構成されるB0又はB1は,符号化されるとリオーダリングにより,B0はフレーム番号0からフレーム番号1となり,B1はフレーム番号1からフレーム番号2となるため,いずれもI2の後続フレームとなる。   For example, as shown in FIG. 6, when B0 or B1 configured in an image signal is encoded, B0 changes from frame number 0 to frame number 1 due to reordering, and B1 changes from frame number 1 to frame number 2. Therefore, both are subsequent frames of I2.

なお,図6に示すGOPは,クローズGOPであり,I2,B0,…B13で一つのGOPを形成し,I17,B15,…B19で一つのGOPを形成しているものとする。   The GOP shown in FIG. 6 is a closed GOP, and one GOP is formed by I2, B0,... B13, and one GOP is formed by I17, B15,.

また,上記GOP,オーディオデータ(A0〜A20),メタデータ(R0〜R20)は,キャッシュREC機能により記憶部129に格納されたデータであるとする(S503〜S507)。   The GOP, audio data (A0 to A20), and metadata (R0 to R20) are data stored in the storage unit 129 by the cache REC function (S503 to S507).

ここで,例えば,ユーザがREC開始ボタンを押下した時点から所定時間遡った時点に対応するフレーム番号が「15」であるとすると,符号化後のB15のピクチャは,GOP内の先頭フレームではないため,制御コントローラ113は,I17を先頭フレームであると判断する。   Here, for example, if the frame number corresponding to the time point that is a predetermined time after the user presses the REC start button is “15”, the encoded B15 picture is not the first frame in the GOP. Therefore, the controller 113 determines that I17 is the first frame.

したがって,I17から順番にB15,B16,…と以降のGOPについても同様に記録媒体140にGOPが記録される。オーディオデータ,メタデータについては,そのままフレーム番号15(A15,R15)から順に記録媒体140に記録される。   Accordingly, GOPs are similarly recorded on the recording medium 140 for B15, B16,... Audio data and metadata are recorded on the recording medium 140 in order from the frame number 15 (A15, R15).

図7に示すように,REC開始ボタンが押下された時点から所定時間遡ったGOPの先頭位置から順に,オーディオデータ,メタデータも同様に記録媒体140に記録されるのが分かる。   As shown in FIG. 7, it can be seen that audio data and metadata are similarly recorded on the recording medium 140 in order from the head position of the GOP that is back a predetermined time from when the REC start button is pressed.

さらに,REC開始ボタンが押される時点までは,常に記憶部129にはCLOSED GOP(クローズGOP)が格納されて,REC開始ボタンが押された時点以降に符号化される画像信号については,OPEN GOP(オープンGOP)に符号化されているのが分かる。   Further, until the time when the REC start button is pressed, the storage unit 129 always stores a CLOSED GOP (closed GOP). It can be seen that it is encoded in (open GOP).

なお,本実施の形態にかかるキャッシュREC機能を利用した一連の記録処理では,画像信号,音声信号,および属性信号が符号化され,GOPデータ,オーディオデータ,およびメタデータが記憶部129又は記録媒体140に記録される場合を例に挙げて説明したが,かかる例に限定されず,例えば,画像信号,音声信号,または属性信号のうち少なくとも一つが符号化されて,記憶部129若しくは記録媒体140又は両方に記録する場合でも実施可能である。   In a series of recording processes using the cache REC function according to the present embodiment, image signals, audio signals, and attribute signals are encoded, and GOP data, audio data, and metadata are stored in the storage unit 129 or the recording medium. However, the present invention is not limited to such an example. For example, at least one of an image signal, an audio signal, and an attribute signal is encoded and stored in the storage unit 129 or the recording medium 140. Or, even when recording in both, it is possible.

なお,本実施の形態にかかるキャッシュREC機能によって遡ることが可能な所定時間は,例えば,10秒であるが,記憶部129の記憶容量に応じて,如何なる時間が設定されても実施可能であり,またユーザが上記設定時間を自由に変更してもよい。   The predetermined time that can be traced back by the cache REC function according to the present embodiment is, for example, 10 seconds. However, the predetermined time can be set according to the storage capacity of the storage unit 129. In addition, the user may freely change the set time.

(メディアデータについて)
次に,図8を参照しながら,本実施の形態にかかるメディアデータについて説明する。なお,図8は,本実施の形態にかかるメディアデータの概略的な構成の一例を示す説明図である。
(About media data)
Next, media data according to the present embodiment will be described with reference to FIG. FIG. 8 is an explanatory diagram showing an example of a schematic configuration of media data according to the present embodiment.

図8(a)に示すように,メディアデータは,1又は2個以上のパケットから構成されている。したがって,上記メディアデータに構成されるパケットを記録再生装置101からネットワークを介して,他の記録再生装置101はもちろんのことPC(パーソナルコンピュータ)等の外部装置は,受信することができる。   As shown in FIG. 8A, the media data is composed of one or more packets. Therefore, the external device such as a PC (personal computer) as well as the other recording / reproducing devices 101 can receive the packet constituted by the media data from the recording / reproducing device 101 via the network.

PC等の外部装置が受信した全てのパケットを一連のメディアデータに再構成し,メディアデータを復号すれば,画面上に動画像を表示し,スピーカなどに音声を出力することができる。   If all packets received by an external device such as a PC are reconstructed into a series of media data and the media data is decoded, a moving image can be displayed on the screen and audio can be output to a speaker or the like.

図8(b)に示すように,メディアデータに構成されるパケット内には,1又は2フレーム以上のメタデータが格納される領域(メタ格納領域)と,ピクチャ又はGOPが格納される領域(画像格納領域)と,1又は2フレーム以上のオーディオデータが格納される領域(音声格納領域)とが割当てられている。なお,メタデータが格納される領域には,さらに送信先アドレスを含んだヘッダ等に相当するシステム情報も格納されるが,かかる例に限定されない。   As shown in FIG. 8B, in a packet configured as media data, an area (meta storage area) for storing one or more frames of metadata and an area for storing pictures or GOPs (meta storage area) An image storage area) and an area for storing audio data of one or more frames (audio storage area) are allocated. In addition, although the system information corresponding to the header etc. which contains a transmission destination address is further stored in the area | region where metadata is stored, it is not limited to this example.

また,ピクチャ又はGOPが格納される領域には,1又は2フレーム以上のピクチャ単位でデータが格納されてもよく,1又は2個以上のGOP単位でデータが格納される場合でもよい。   In addition, in the area where pictures or GOPs are stored, data may be stored in units of pictures of one or more frames, or data may be stored in units of one or more GOPs.

図8(c)又は図8(d)に示すように,かかるメタ格納領域,画像格納領域,もしくは音声格納領域のうち少なくとも一つの格納領域が存在すれば,如何なる領域が各パケット内に割当てられても実施可能である。   As shown in FIG. 8C or FIG. 8D, if there is at least one storage area among the meta storage area, the image storage area, and the audio storage area, any area is allocated in each packet. However, it can be implemented.

また,キャッシュREC機能を利用して符号化したメディアデータをネットワークを介して送信する場合,例えば,図6に示すI17が所定時間遡った記録開始位置であるとすると,メディアデータに構成されるパケット1には,例えば,I17,A15,およびR15から1又は2フレーム以上連続したデータが各格納領域に設定される。   In addition, when media data encoded using the cache REC function is transmitted via a network, for example, if I17 shown in FIG. In 1, for example, data continuous for one or more frames from I17, A15, and R15 is set in each storage area.

より具体的に説明すると,例えば,画像格納領域には,I17,B15,B16のピクチャが格納されて,音声格納領域には,A15,A16,A17のオーディオデータが格納されて,メタ格納領域には,R15,R16,R17のメタデータが格納される。   More specifically, for example, pictures of I17, B15, and B16 are stored in the image storage area, audio data of A15, A16, and A17 are stored in the audio storage area, and the meta storage area is stored. Stores metadata of R15, R16, and R17.

パケットを受信したPC等の外部装置は,メディアデータの先頭パケット(パケット1)のフレーム番号15(B15,A15,R15)から順に復号すれば,画像,音声などを同期して再生することができる。   An external device such as a PC that has received the packet can reproduce images, sounds, and the like synchronously by sequentially decoding from the frame number 15 (B15, A15, R15) of the first packet (packet 1) of the media data. .

なお,かかる例に限定されず,例えば,I17のピクチャを先頭フレームとしたGOPを先頭のGOPにして,1又は2個以上のGOPが画像格納領域に格納される場合でも実施可能である。メタデータ及び/又はオーディオデータについても,例えば,上記GOPに構成されるフレーム数(又は,映像時間)に相当する分のデータをメタ格納領域,音声格納領域に格納する場合でも実施可能である。   However, the present invention is not limited to this example. For example, the present invention can be implemented even when one or more GOPs are stored in the image storage area with the GOP having the I17 picture as the first frame as the first GOP. The metadata and / or audio data can be implemented even when, for example, data corresponding to the number of frames (or video time) configured in the GOP is stored in the meta storage area and the audio storage area.

(記録装置102について)
次に,図9を参照しながら,本実施の形態にかかる記録再生装置101の変形例として記録装置(映像処理装置)102について説明する。図9は,本実施の形態にかかる記録装置の概略的な構成を示すブロック図である。なお,以下では,本実施の形態にかかる記録再生装置101と記録装置102との相違点について特に詳述し,その他の点については実質的に同一であるため説明は省略する。
(Regarding the recording apparatus 102)
Next, a recording apparatus (video processing apparatus) 102 will be described as a modification of the recording / reproducing apparatus 101 according to the present embodiment with reference to FIG. FIG. 9 is a block diagram showing a schematic configuration of the recording apparatus according to the present embodiment. In the following, the differences between the recording / reproducing apparatus 101 and the recording apparatus 102 according to the present embodiment will be particularly described in detail, and the other points are substantially the same, and the description thereof will be omitted.

図9に示すように,本実施の形態にかかる記録再生装置101と,その変形例である記録装置102とを比較すると,記録装置102は,再生機能を具備していない点で相違する。   As shown in FIG. 9, when a recording / reproducing apparatus 101 according to the present embodiment is compared with a recording apparatus 102 which is a modified example thereof, the recording apparatus 102 is different in that it does not have a reproducing function.

つまり,記録装置102は,記録部145を備え,記録/再生部135を備えていないため,映像データを記録媒体140に記録することはできるが,記録媒体140に記録された映像データを読み出すことができず,再生できない。   That is, since the recording apparatus 102 includes the recording unit 145 and does not include the recording / reproducing unit 135, the video data can be recorded on the recording medium 140, but the video data recorded on the recording medium 140 is read. Cannot be played.

また,記録装置102は,画像復号部123などのデコーダも備えていないため,その分だけ記録装置102のスペースを有効活用する,または,記録装置102を小型化することができる。その他については,上記説明した記録再生装置101と同様である。   Further, since the recording device 102 does not include a decoder such as the image decoding unit 123, the space of the recording device 102 can be effectively utilized or the recording device 102 can be downsized accordingly. Others are the same as those of the recording / reproducing apparatus 101 described above.

(キャッシュREC機能を利用した記録処理の変形例について)
次に,図10を参照しながら,本実施の形態にかかるキャッシュREC機能を利用した記録処理の変形例について説明する。なお,図10は,本実施の形態にかかるキャッシュREC機能を利用した記録処理の概略を示す説明図である。なお,以下では,図7に示す記録処理と図10に示す記録処理との相違点について詳述し,その他の点については実質的に同一であるため説明は省略する。
(Variation of recording process using cache REC function)
Next, a modification of the recording process using the cache REC function according to the present embodiment will be described with reference to FIG. FIG. 10 is an explanatory diagram showing an outline of a recording process using the cache REC function according to this embodiment. In the following, the differences between the recording process shown in FIG. 7 and the recording process shown in FIG. 10 will be described in detail, and the other points are substantially the same, and the description thereof will be omitted.

図10に示す記録処理と,図6に示す記録処理とを比較すると,図10に示す記録処理では,ユーザによりREC開始ボタンが押された時点よりも過去に格納されたGOPに,OPEN GOP(オープンGOP)とCLOSED GOP(クローズGOP)とが混在している点で相違する。   When the recording process shown in FIG. 10 is compared with the recording process shown in FIG. 6, in the recording process shown in FIG. 10, the OPEN GOP ( The difference is that open GOP) and CLOSED GOP (closed GOP) are mixed.

つまり,図6に示す記録処理では,REC開始ボタンが押される以前は,全てクローズGOPが記憶部129に記憶されるが,図10に示す記録処理では,クローズGOPとオープンGOPとが混在して記憶部129に記憶されるため,図6に示す記録処理によって記録媒体140に記録する記録時間よりも,より一層記録時間を延長することができる。   That is, in the recording process shown in FIG. 6, all closed GOPs are stored in the storage unit 129 before the REC start button is pressed. However, in the recording process shown in FIG. 10, the closed GOP and the open GOP are mixed. Since the data is stored in the storage unit 129, the recording time can be further extended compared to the recording time recorded on the recording medium 140 by the recording process shown in FIG.

なお,制御コントローラ113は,所定時間遡った時点に対応するクローズGOPの先頭ピクチャの格納アドレスを求める必要があり,さらにREC開始ボタンが押される以前のGOPには,少なくとも一つクローズGOPが記憶部129に格納されている必要がある。なお,所定時間遡った時点に対応するGOPがクローズGOPでない場合,制御コントローラ113は,その対応するGOPから最も近い位置に存在するクローズGOPの先頭ピクチャの格納アドレスを求める。その他については,上記説明した図6に示す一連の記録処理と同様である。   Note that the control controller 113 needs to obtain the storage address of the first picture of the closed GOP corresponding to a point in time that is traced back a predetermined time, and at least one closed GOP is stored in the GOP before the REC start button is pressed. 129 need to be stored. If the GOP corresponding to the point in time that is a predetermined time later is not a closed GOP, the controller 113 obtains the storage address of the first picture of the closed GOP that is present at the closest position to the corresponding GOP. Others are the same as the series of recording processes shown in FIG. 6 described above.

なお,上述した一連の記録処理は,専用のハードウェアにより行うこともできるし,ソフトウェアにより行うこともできる。   The series of recording processes described above can be performed by dedicated hardware or software.

上記一連の記録処理をソフトウェアによって実現する場合,そのソフトウェアを構成するプログラムが,汎用のコンピュータやマイクロコンピュータ等の情報処理装置にインストールされ,当該プログラムが上記情報処理装置を記録再生装置101または記録装置102として機能させる。   When the series of recording processes is realized by software, a program constituting the software is installed in an information processing apparatus such as a general-purpose computer or a microcomputer, and the program configures the information processing apparatus as the recording / reproducing apparatus 101 or the recording apparatus. Function as 102.

プログラムは,コンピュータに内蔵されている記録媒体としてのハードディスクや,ROM,EEPROM等に予め記録しておくことができる。   The program can be recorded in advance on a hard disk, ROM, EEPROM, or the like as a recording medium built in the computer.

あるいはまた,プログラムは,ハードディスクドライブに限らず,フレキシブルディスク,CD−ROM(Compact Disc Read Only Memory),MO(Magneto Optical)ディスク,DVD(Digital Versatile Disc),磁気ディスク,半導体メモリなどのリムーバブル記録媒体に,一時的あるいは永続的に格納(記録)しておくことができる。このようなリムーバブル記録媒体は,いわゆるパッケージソフトウエアとして提供することができる。   Alternatively, the program is not limited to a hard disk drive, but a removable recording medium such as a flexible disk, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto Optical) disk, a DVD (Digital Versatile Disc), a magnetic disk, and a semiconductor memory. In addition, it can be stored (recorded) temporarily or permanently. Such a removable recording medium can be provided as so-called package software.

なお,プログラムは,上述したようなリムーバブル記録媒体からコンピュータにインストールする他,ダウンロードサイトから,ディジタル衛星放送用の人工衛星を介して,コンピュータに無線で転送する他,LAN(Local Area Network),インターネットといったネットワークを介して,コンピュータに有線で転送し,コンピュータでは,そのようにして転送されてくるプログラムを,受信し,内蔵するハードディスクにインストールすることができる。   The program is installed on the computer from the above-described removable recording medium, wirelessly transferred from the download site to the computer via a digital satellite broadcasting artificial satellite, a LAN (Local Area Network), and the Internet. Such a program can be transferred to a computer via a network, and the computer can receive the program transferred in this way and install it on a built-in hard disk.

ここで,本明細書において,コンピュータに各種の処理を行わせるためのプログラムを記述する処理ステップは,必ずしもフローチャートとして記載された順序に沿って時系列に処理する必要はなく,並列的あるいは個別に実行される処理(例えば,並列処理あるいはオブジェクトによる処理)も含むものである。   Here, in this specification, the processing steps for describing a program for causing a computer to perform various processes do not necessarily have to be processed in time series in the order described in the flowchart, but in parallel or individually. This includes processing to be executed (for example, parallel processing or processing by an object).

また,プログラムは,1のコンピュータにより処理されるものであっても良いし,複数のコンピュータによって分散処理されるものであっても良い。   The program may be processed by one computer, or may be processed in a distributed manner by a plurality of computers.

以上で,本実施の形態にかかる記録再生装置101,記録装置102,及びキャッシュREC機能を利用した記録処理について詳細な説明を終了するが,かかる記録再生装置101,記録装置102,又は記録処理によって,以下に示すような優れた効果がある。
(1)リオーダリングが発生する符号化処理の場合でも,記録開始指示があるまではクローズGOPに符号化することで,キャッシュREC機能を容易に実現することができる。
(2)クローズGOPを一時的に記憶すれば,キャッシュREC機能による所定時間遡った時点に対応するGOPデータと,オーディオデータ又はメタデータとをリップシンクするのが容易にできる。
(3)記録開始指示があるまではクローズGOPに符号化し,記録開始指示以後はオープンGOPに符号化するため,圧縮効率を向上させることができ,記録媒体140に記録可能な記録時間を延長することができる。
(4)メディアデータを復号する装置は,GOPデータとリップシンクするオーディオデータ又はメタデータの開始位置を容易に識別することができるため,適切に復号でき,出力デバイスに映像データを出力できる。
(5)記録開始指示があるまでは画像信号はクローズGOPに少なくとも一個以上符号化され,その他の画像信号はオープンGOPに符号化されることで,より一層圧縮効率を向上させて,記録媒体140に記録可能な記録時間を延長することができる。
The detailed description of the recording process using the recording / reproducing apparatus 101, the recording apparatus 102, and the cache REC function according to the present embodiment has been finished. However, the recording / reproducing apparatus 101, the recording apparatus 102, or the recording process There are excellent effects as shown below.
(1) Even in the case of an encoding process in which reordering occurs, the cache REC function can be easily realized by encoding into a closed GOP until a recording start instruction is issued.
(2) If the closed GOP is temporarily stored, it is possible to easily lip-sync the GOP data corresponding to the point in time that is traced back by the cache REC function and the audio data or metadata.
(3) Since it is encoded into a closed GOP until a recording start instruction is issued and is encoded into an open GOP after the recording start instruction, the compression efficiency can be improved, and the recording time that can be recorded on the recording medium 140 is extended. be able to.
(4) Since the device for decoding media data can easily identify the start position of audio data or metadata to be lip-synced with GOP data, it can be decoded appropriately and can output video data to an output device.
(5) Until a recording start instruction is issued, at least one image signal is encoded in a closed GOP, and other image signals are encoded in an open GOP, thereby further improving the compression efficiency and the recording medium 140 The recordable recording time can be extended.

以上,添付図面を参照しながら本発明の好適な実施形態について説明したが,本発明はかかる例に限定されない。当業者であれば,特許請求の範囲に記載された技術的思想の範疇内において各種の変更例または修正例を想定し得ることは明らかであり,それらについても当然に本発明の技術的範囲に属するものと了解される。   As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, this invention is not limited to this example. It is obvious for those skilled in the art that various changes or modifications can be envisaged within the scope of the technical idea described in the claims, and these are naturally within the technical scope of the present invention. It is understood that it belongs.

上記実施形態においては,符号化/復号には,MPEG1,MPEG2,MPEG4などのMPEGを適用した場合を例に挙げて説明したが,符号化/復号時にリオーダリングが必要なフォーマットであれば,かかる例に限定されない。   In the above embodiment, encoding / decoding has been described by taking the case of applying MPEG such as MPEG1, MPEG2, MPEG4, etc. as an example. It is not limited to examples.

上記実施形態において,メディアデータは,ネットワークを介して外部装置と記録再生装置101又は記録装置102との間で送受信される場合を例に挙げて説明したが,かかる例に限定されず,例えば,外部装置と記録再生装置101又は記録装置102との間がケーブルなどでライン接続され,上記ケーブルを介してメディアデータが送受信される場合等でも実施可能である。   In the above-described embodiment, the case where media data is transmitted / received between an external device and the recording / reproducing device 101 or the recording device 102 via a network has been described as an example. However, the present invention is not limited to this example. The present invention can be implemented even when the external device and the recording / reproducing device 101 or the recording device 102 are line-connected with a cable or the like and media data is transmitted / received via the cable.

また,上記実施の形態では,フレーム(又は,フィールド)は,映像データを構成する最小単位のピクチャ(画像)又は音声等を示すものとするが,かかる例に限定されず,例えば,フレームは,上記ピクチャ又は音声を複数フレーム連続して構成されるGOP及び/又はそのGOP内の映像(映像データ)を示す場合等でも実施可能である。   In the above embodiment, the frame (or field) indicates a minimum unit picture (image) or audio constituting the video data, but is not limited to this example. The present invention can also be implemented in the case of showing a GOP composed of a plurality of frames of the picture or audio and / or video (video data) in the GOP.

また上記実施形態においては,記録媒体140に記録開始を指示する場合,キャッシュREC機能を有効/無効を指示する場合等,記録指示受付部111に備わるボタン(REC開始ボタン,キャッシュREC有効ボタンなど)の押下によって指示する場合を例に挙げて説明したが,かかる処理をユーザが記録再生装置101に指示することが可能であれば,かかる例に限定されず,いかなる入力手段の場合でも実施可能である。   In the above-described embodiment, when the recording start is instructed to the recording medium 140, or when the cache REC function is instructed to be valid / invalid, the buttons provided in the recording instruction receiving unit 111 (REC start button, cache REC valid button, etc.) However, the present invention is not limited to such an example as long as the user can instruct the recording / reproducing apparatus 101 to perform such processing, and any input means can be used. is there.

上記実施形態においては,画像符号化部115,オーディオ符号化部119,メタ符号化部121,画像復号部123,オーディオ復号部125,およびメタ復号部127はハードウェアからなる場合を例にあげて説明したが,本発明はかかる例に限定されない。例えば,上記各部は,1又は2以上のモジュールまたはコンポーネントから構成されるプログラムの場合であってもよい。   In the above embodiment, the image encoding unit 115, the audio encoding unit 119, the meta encoding unit 121, the image decoding unit 123, the audio decoding unit 125, and the meta decoding unit 127 are exemplified as a case of hardware. Although described, the present invention is not limited to such examples. For example, each unit may be a program composed of one or two or more modules or components.

本実施の形態にかかる記録再生装置の概略的な構成の一例を示すブロック図である。It is a block diagram which shows an example of a schematic structure of the recording / reproducing apparatus concerning this Embodiment. 本実施の形態にかかるオープンGOPとクローズGOPの概略的な構成を示す説明図である。It is explanatory drawing which shows schematic structure of the open GOP and closed GOP concerning this Embodiment. 本実施の形態にかかるオープンGOPとした場合のキャッシュRECの概略を示す説明図である。It is explanatory drawing which shows the outline of cache REC at the time of setting it as the open GOP concerning this Embodiment. 本実施の形態にかかるクローズGOPとした場合のキャッシュRECの概略を示す説明図である。It is explanatory drawing which shows the outline of cache REC at the time of setting it as closed GOP concerning this Embodiment. 本実施の形態にかかるキャッシュREC機能を利用した記録処理の概略を示すフローチャートである。It is a flowchart which shows the outline of the recording process using the cache REC function concerning this Embodiment. 本実施の形態にかかるキャッシュREC機能を利用した記録処理の概略を示す説明図である。It is explanatory drawing which shows the outline of the recording process using the cache REC function concerning this Embodiment. 本実施の形態にかかるキャッシュREC機能を利用した記録処理の概略を示す説明図である。It is explanatory drawing which shows the outline of the recording process using the cache REC function concerning this Embodiment. 本実施の形態にかかるメディアデータの概略的な構成の一例を示す説明図である。It is explanatory drawing which shows an example of a schematic structure of the media data concerning this Embodiment. 本実施の形態にかかる記録装置の概略的な構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a recording apparatus according to an embodiment. 本実施の形態にかかるキャッシュREC機能を利用した記録処理の概略を示す説明図である。It is explanatory drawing which shows the outline of the recording process using the cache REC function concerning this Embodiment.

符号の説明Explanation of symbols

101 記録再生装置
102 記録装置
111 記録指示受付部
113 制御コントローラ
115 画像符号化部
116 独立符号化部
117 非独立符号化部
119 オーディオ符号化部
121 メタ符号化部
129 記憶部
131 取得部
133 記憶装置
135 記録/再生部
137 メディア符号化部
140 記録媒体
145 記録部
DESCRIPTION OF SYMBOLS 101 Recording / reproducing apparatus 102 Recording apparatus 111 Recording instruction reception part 113 Control controller 115 Image encoding part 116 Independent encoding part 117 Non-independent encoding part 119 Audio encoding part 121 Meta encoding part 129 Storage part 131 Acquisition part 133 Storage apparatus 135 Recording / Reproducing Unit 137 Media Encoding Unit 140 Recording Medium 145 Recording Unit

Claims (18)

画像信号のシーケンスを入れ替えるリオーダリングを行い,該画像信号をピクチャに符号化する映像処理装置であって:
1又は2フレーム以上の前記ピクチャをグループ化し,少なくとも前方又は後方のピクチャ群とは独立している独立ピクチャ群に符号化する独立符号化部と;
1又は2フレーム以上の前記ピクチャをグループ化し,前方又は後方のうち少なくともいずれか一方のピクチャ群と関連性がある非独立ピクチャ群に符号化する非独立符号化部と;
記録開始又は記録終了の記録指示を受付ける記録指示受付部と;
前記記録受付部により前記記録開始指示が受付けられるまでは前記独立符号化部又は前記非独立符号化部のうちいずれか一方に対して符号化するよう指示し,前記記録開始指示が受付けられた後は前記非独立符号化部に対して符号化するよう指示する符号化指示部と;
前記独立符号化部又は前記非独立符号化部のうちいずれか一方から出力されてくる順に前記独立ピクチャ群又は前記非独立ピクチャ群を記憶する記憶部と;
前記記録受付部によって記録開始指示が受付けられると,前記記憶部に格納された複数の前記独立ピクチャ群又は前記非独立ピクチャ群について,その記録開始指示が受付けられた時点から所定時間遡り,その遡った時点の近傍に存在する前記独立ピクチャ群から順に1又は2以上の独立ピクチャ群又は非独立ピクチャ群を取得する取得部とを備えることを特徴とする,映像処理装置。
A video processing device that performs reordering to replace a sequence of image signals and encodes the image signals into pictures:
An independent encoding unit that groups the pictures of one or more frames and encodes them into an independent picture group that is independent of at least a front or rear picture group;
A non-independent encoding unit that groups the pictures of one or more frames and encodes them into a non-independent picture group that is related to at least one of the front and rear picture groups;
Accepting an instruction to record the recording start or end of recording and the record instruction reception unit;
Until either the independent encoding unit or the non-independent encoding unit is instructed to encode until the recording start instruction is received by the recording reception unit, and after the recording start instruction is received Is an encoding instruction unit that instructs the non-independent encoding unit to perform encoding;
A storage unit that stores the independent picture group or the non-independent picture group in the order of output from either the independent encoding unit or the non-independent encoding unit;
When the recording start instruction is received by the recording receiving unit, the plurality of independent picture groups or non-independent picture groups stored in the storage unit are traced back by a predetermined time from the time when the recording start instruction is received. An image processing apparatus comprising: an acquisition unit configured to acquire one or more independent picture groups or non-independent picture groups in order from the independent picture group existing in the vicinity of the time point.
前記取得部は,前記遡った時点の近傍に存在する前記独立ピクチャ群の先頭位置から順に取得することを特徴とする,請求項1に記載の映像処理装置。   The video processing apparatus according to claim 1, wherein the acquisition unit acquires sequentially from a head position of the independent picture group existing in the vicinity of the retroactive time point. 前記独立ピクチャ群に含まれる各ピクチャは,その独立ピクチャ群内で独立して復号されることを特徴とする,請求項1に記載の映像処理装置。   The video processing apparatus according to claim 1, wherein each picture included in the independent picture group is decoded independently within the independent picture group. 前記非独立ピクチャ群に含まれる各ピクチャは,前方又は後方の独立ピクチャ群又は非独立ピクチャ群に含まれるピクチャが参照されることで,復号されることを特徴とする,請求項1に記載の映像処理装置。   The picture according to claim 1, wherein each picture included in the non-independent picture group is decoded by referring to a picture included in a front or rear independent picture group or non-independent picture group. Video processing device. 前記映像処理装置は,記録媒体に記録可能な記録部をさらに備え,
前記記録部は,前記取得部により取得される前記独立ピクチャ群又は前記非独立ピクチャ群を順に前記記録媒体に記録することを特徴とする,請求項1に記載の映像処理装置。
The video processing apparatus further includes a recording unit capable of recording on a recording medium,
The video processing apparatus according to claim 1, wherein the recording unit sequentially records the independent picture group or the non-independent picture group acquired by the acquisition unit on the recording medium.
前記記録部は,前記取得部により前記遡った時点の近傍に存在する前記独立ピクチャ群から順に取得された前記独立ピクチャ群又は前記非独立ピクチャ群を前記記録媒体に記録し,前記記録開始指示が受付けられた以降は前記非独立符号化部が符号化し取得部により取得された前記非独立ピクチャ群を前記記録媒体に記録することを特徴とする,請求項1に記載の映像処理装置。   The recording unit records the independent picture group or the non-independent picture group acquired in order from the independent picture group existing in the vicinity of the retroactive time point by the acquiring unit on the recording medium, and the recording start instruction 2. The video processing apparatus according to claim 1, wherein after being received, the non-independent encoding unit records the non-independent picture group encoded and acquired by the acquisition unit on the recording medium. 前記符号化指示部は,前記記録受付部により前記記録開始指示が受付けられるまでは前記独立符号化部に対して符号化するよう指示し,前記記録受付部により前記記録開始指示が受付けられた以降は前記非独立符号化部に対して符号化するよう指示することを特徴とする,請求項1に記載の映像処理装置。   The encoding instruction unit instructs the independent encoding unit to perform encoding until the recording start instruction is received by the recording reception unit, and after the recording start instruction is received by the recording reception unit. The video processing apparatus according to claim 1, wherein the instruction unit instructs the non-independent encoding unit to perform encoding. 前記ピクチャは,ピクチャ内独立の符号化手法で符号化されるIピクチャ,片方向予測の符号化手法で符号化されるPピクチャ,または双方向予測の符号化手法で符号化されるBピクチャのうち少なくとも一方であることを特徴とする,請求項1に記載の映像処理装置。   The picture is an I picture encoded with an intra-picture independent encoding method, a P picture encoded with a unidirectional prediction encoding method, or a B picture encoded with a bidirectional prediction encoding method. The video processing apparatus according to claim 1, wherein the video processing apparatus is at least one of them. 前記映像処理装置は,音声信号をオーディオデータに符号化するオーディオ符号化部と;
前記独立ピクチャ群又は前記非独立ピクチャ群のうち少なくとも一方のピクチャ群と,前記オーディオデータとを同期させ,該ピクチャ群とオーディオデータとを含んだメディアデータを出力するメディア符号化部をさらに備えることを特徴とする,請求項1に記載の映像処理装置。
The video processing device includes an audio encoding unit that encodes an audio signal into audio data;
A media encoding unit that synchronizes the audio data with at least one picture group of the independent picture group or the non-independent picture group and outputs media data including the picture group and the audio data; The video processing apparatus according to claim 1, wherein:
前記映像処理装置は,前記画像信号及び/又は音声信号に関する属性信号をメタデータに符号化するメタ符号化部をさらに備え,
前記メディア符号化部は,前記独立ピクチャ群又は前記非独立ピクチャ群のうち少なくとも一方のピクチャ群と,前記オーディオデータと,前記メタデータとを同期させ,該ピクチャ群とオーディオデータとメタデータとを含んだメディアデータを出力することを特徴とする,請求項1に記載の映像処理装置。
The video processing apparatus further includes a meta encoding unit that encodes an attribute signal related to the image signal and / or audio signal into metadata,
The media encoding unit synchronizes at least one picture group of the independent picture group or the non-independent picture group, the audio data, and the metadata, and combines the picture group, the audio data, and the metadata. The video processing apparatus according to claim 1, wherein the media data is output.
前記メディアデータは,1又は2個以上のパケットデータであることを特徴とする,請求項1に記載の映像処理装置。   The video processing apparatus according to claim 1, wherein the media data is one or more packet data. 前記映像処理装置は,音声信号を1又は2フレーム以上のオーディオデータに符号化するオーディオ符号化部と;
前記独立ピクチャ群又は前記非独立ピクチャ群のうち少なくとも一方のピクチャ群に含まれるピクチャと,前記オーディオデータとを1又は2フレーム以上の単位で同期させ,該ピクチャとオーディオデータとを含んだメディアデータを出力するメディア符号化部をさらに備えることを特徴とする,請求項1に記載の映像処理装置。
The video processing apparatus includes an audio encoding unit that encodes an audio signal into audio data of one or more frames;
Media data including a picture included in at least one picture group out of the independent picture group or the non-independent picture group and the audio data in units of one or more frames and including the picture and audio data The video processing apparatus according to claim 1, further comprising: a media encoding unit that outputs.
前記映像処理装置は,前記画像信号及び/又は音声信号に関する属性信号を1又は2フレーム以上のメタデータに符号化するメタ符号化部をさらに備え,
前記メディア符号化部は,前記独立ピクチャ群又は前記非独立ピクチャ群のうち少なくとも一方のピクチャ群に含まれるピクチャと,前記オーディオデータと,前記メタデータとを1又は2フレーム以上の単位で同期させ,該ピクチャとオーディオデータとメタデータとを含んだメディアデータを出力することを特徴とする,請求項1に記載の映像処理装置。
The video processing apparatus further includes a meta encoding unit that encodes an attribute signal related to the image signal and / or audio signal into metadata of one or more frames,
The media encoding unit synchronizes a picture included in at least one of the independent picture group or the non-independent picture group, the audio data, and the metadata in units of one or more frames. 2. The video processing apparatus according to claim 1, wherein media data including the picture, audio data, and metadata is output.
画像信号のシーケンスを入れ替えるリオーダリングを行い,該画像信号をピクチャに符号化する映像処理方法であって:
記録開始指示が受付けられるまで,1又は2フレーム以上の前記ピクチャをグループ化し,少なくとも前方又は後方のピクチャ群とは独立している独立ピクチャ群に符号化する独立符号化工程,又は,1又は2フレーム以上の前記ピクチャをグループ化し,前方又は後方のうち少なくともいずれか一方のピクチャ群と関連性がある非独立ピクチャ群に符号化する非独立符号化工程のうちいずれか一方の符号化工程を実行し,記憶部に前記独立ピクチャ群又は前記非独立ピクチャ群を格納する第1格納工程と;
前記記録開始指示が受付けられると,前記第1格納工程で記憶部に格納された複数の前記独立ピクチャ群又は前記非独立ピクチャ群について,その記録開始指示が受付けられた時点から所定時間遡り,その遡った時点の近傍に存在する前記独立ピクチャ群から順に1又は2以上の独立ピクチャ群又は非独立ピクチャ群を取得する第1取得工程と;
前記記録開始指示が受付けられた後は前記非独立符号化工程を実行し,前記非独立ピクチャ群を前記記憶部に格納する第2格納工程とを含むことを特徴とする,映像処理方法。
A video processing method that performs reordering to replace a sequence of image signals and encodes the image signals into pictures:
Until the recording start instruction is received, an independent encoding step of grouping the pictures of one or more frames and encoding them into independent picture groups that are independent of at least the front or rear picture groups, or 1 or 2 Executes one of the non-independent encoding steps for grouping the pictures of frames or more into a non-independent picture group that is related to at least one of the forward or backward picture group. A first storing step of storing the independent picture group or the non-independent picture group in a storage unit;
When the recording start instruction is received, the plurality of independent picture groups or the non-independent picture groups stored in the storage unit in the first storage step is traced a predetermined time from the time when the recording start instruction is received, A first acquisition step of acquiring one or more independent picture groups or non-independent picture groups in order from the independent picture group existing in the vicinity of the retroactive time point;
A video processing method comprising: a second storing step of executing the non-independent encoding step after the recording start instruction is received and storing the non-independent picture group in the storage unit.
前記映像処理方法は,前記第1取得工程で取得した前記独立ピクチャ群又は前記非独立ピクチャ群を記録媒体に記録する第1記録工程をさらに含むことを特徴とする,請求項14に記載の映像処理方法。   The video according to claim 14, wherein the video processing method further includes a first recording step of recording the independent picture group or the non-independent picture group acquired in the first acquisition step on a recording medium. Processing method. 前記映像処理方法は,前記第2格納工程で前記記憶部に格納された前記非独立ピクチャ群を取得する第2取得工程と;
前記第2取得工程で取得した前記非独立ピクチャ群を前記記録媒体に記録する第2記録工程をさらに含むことを特徴とする,請求項15に記載の映像処理方法。
The video processing method includes a second acquisition step of acquiring the non-independent picture group stored in the storage unit in the second storage step;
16. The video processing method according to claim 15, further comprising a second recording step of recording the non-independent picture group acquired in the second acquisition step on the recording medium.
前記映像処理方法は,音声信号をオーディオデータに符号化するオーディオ符号化工程と;
前記画像信号及び/又は音声信号に関する属性信号をメタデータに符号化するメタ符号化工程と;
前記独立ピクチャ群又は前記非独立ピクチャ群のうち少なくとも一方のピクチャ群と,前記オーディオデータと,前記メタデータとを同期させ,該ピクチャ群とオーディオデータとメタデータとを含んだメディアデータを出力するメディアデータ出力工程とをさらに含むことを特徴とする,請求項14に記載の映像処理方法。
The video processing method includes an audio encoding step of encoding an audio signal into audio data;
A meta-encoding step of encoding attribute signals relating to the image signal and / or audio signal into metadata;
At least one of the independent picture group or the non-independent picture group, the audio data, and the metadata are synchronized, and media data including the picture group, the audio data, and the metadata is output. The video processing method according to claim 14, further comprising a media data output step.
画像信号のシーケンスを入れ替えるリオーダリングを行い,該画像信号をピクチャに符号化する映像処理方法をコンピュータに実行させるコンピュータプログラムであって:
1又は2フレーム以上の前記ピクチャをグループ化し,少なくとも前方又は後方のピクチャ群とは独立している独立ピクチャ群に符号化する独立符号化手段と;
1又は2フレーム以上の前記ピクチャをグループ化し,前方又は後方のうち少なくともいずれか一方のピクチャ群と関連性がある非独立ピクチャ群に符号化する非独立符号化手段と;
記録開始又は記録終了の記録指示を受付ける記録指示受付手段と;
前記記録受付手段により前記記録開始指示が受付けられるまでは前記独立符号化手段又は前記非独立符号化手段のうちいずれか一方に対して符号化するよう指示し,前記記録開始指示が受付けられた後は前記非独立符号化手段に対して符号化するよう指示する符号化指示手段と;
前記独立ピクチャ群又は前記非独立ピクチャ群を記憶部に格納する格納手段と;
前記記録受付手段によって記録開始指示が受付けられると,前記記憶部に一時的に格納された複数の前記独立ピクチャ群又は前記非独立ピクチャ群について,その記録開始指示が受付けられた時点から所定時間遡り,その遡った時点の近傍に存在する前記独立ピクチャ群から順に1又は2以上の独立ピクチャ群又は非独立ピクチャ群を取得する取得手段としてコンピュータを機能させるためのコンピュータプログラム。
A computer program for causing a computer to execute a video processing method for performing reordering to replace a sequence of image signals and encoding the image signals into pictures:
Independent coding means for grouping the pictures of one or more frames into at least one independent picture group independent of the front or rear picture group;
Non-independent encoding means for grouping the pictures of one or more frames and encoding them into a non-independent picture group associated with at least one of the front and rear picture groups;
And the record instruction receiving means for accepting an instruction to record the recording start or end of recording;
Until either the independent encoding unit or the non-independent encoding unit is instructed to encode until the recording start instruction is received by the recording receiving unit, and after the recording start instruction is received Encoding instruction means for instructing the non-independent encoding means to encode;
Storage means for storing the independent picture group or the non-independent picture group in a storage unit;
When a recording start instruction is received by the recording receiving means, a plurality of independent picture groups or non-independent picture groups temporarily stored in the storage unit are traced back for a predetermined time from the time when the recording start instruction is received. , A computer program for causing a computer to function as acquisition means for acquiring one or more independent picture groups or non-independent picture groups in order from the independent picture group existing in the vicinity of the retroactive time point.
JP2005118513A 2005-04-15 2005-04-15 Video processing apparatus, video processing method, and computer program Active JP4385987B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005118513A JP4385987B2 (en) 2005-04-15 2005-04-15 Video processing apparatus, video processing method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005118513A JP4385987B2 (en) 2005-04-15 2005-04-15 Video processing apparatus, video processing method, and computer program

Publications (2)

Publication Number Publication Date
JP2006303611A JP2006303611A (en) 2006-11-02
JP4385987B2 true JP4385987B2 (en) 2009-12-16

Family

ID=37471434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005118513A Active JP4385987B2 (en) 2005-04-15 2005-04-15 Video processing apparatus, video processing method, and computer program

Country Status (1)

Country Link
JP (1) JP4385987B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009284226A (en) * 2008-05-22 2009-12-03 Canon Inc Moving image recording apparatus and method, imaging apparatus, and program
JP5811037B2 (en) * 2012-05-30 2015-11-11 株式会社Jvcケンウッド Recording apparatus and recording control method
JP5803814B2 (en) * 2012-05-30 2015-11-04 株式会社Jvcケンウッド Recording apparatus and recording control method
JP5947641B2 (en) * 2012-07-06 2016-07-06 キヤノン株式会社 Moving picture coding apparatus, control method therefor, and computer program

Also Published As

Publication number Publication date
JP2006303611A (en) 2006-11-02

Similar Documents

Publication Publication Date Title
US8554062B2 (en) Accelerated access to frames from a compressed digital video stream without keyframes
JP5189640B2 (en) Video data playback system
JP4450021B2 (en) Recording / reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method, and computer program
JP4385987B2 (en) Video processing apparatus, video processing method, and computer program
JP2004153791A (en) Moving image/sound recording apparatus and moving image/sound recording method
JP4797974B2 (en) Imaging device
JP2001086462A (en) Moving image recording device and moving image reproducing device
JPWO2008132774A1 (en) Moving picture decoding method, moving picture decoding apparatus, and electronic device
JP2006080723A (en) Recording device and recording method, reproduction device and reproduction method, and program
JP2005303336A (en) Video signal recording apparatus and video signal reproducing apparatus
US8442376B2 (en) Image data recording/playback device, system, and method
JP2006287578A (en) Video processing system, video processor, video processing method and computer program
US9025931B2 (en) Recording apparatus, recording method, and program
JP2009100461A (en) Video recording and reproducing device, video recording device and video encoding device
JP5264526B2 (en) Image transmitting apparatus, image transmitting method and program
JP5072524B2 (en) Moving picture reproduction apparatus, processing method thereof, and program thereof
JP5269063B2 (en) Video server and seamless playback method
JP2004153793A (en) Motion picture/sound recording apparatus and motion picture/sound reproducing apparatus
JP2001211420A (en) Edit method and edit device for compression coded stream in recording disk medium
JP4725675B2 (en) Recording / reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method, and computer program
JP4441572B2 (en) Recording device
JP4497019B2 (en) Video processing device
JP2015029211A (en) Imaging device
JP2006129338A (en) Video recording and reproducing apparatus and recording medium
JP2006121415A (en) Moving image encoding device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080123

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090715

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090721

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090817

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090908

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090921

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

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3