JP4831181B2 - Recording apparatus and method, reproducing apparatus and method, and recording medium - Google Patents
Recording apparatus and method, reproducing apparatus and method, and recording mediumInfo
- Publication number
- JP4831181B2 JP4831181B2 JP2009038773A JP2009038773A JP4831181B2 JP 4831181 B2 JP4831181 B2 JP 4831181B2 JP 2009038773 A JP2009038773 A JP 2009038773A JP 2009038773 A JP2009038773 A JP 2009038773A JP 4831181 B2 JP4831181 B2 JP 4831181B2
- Authority
- JP
- Japan
- Prior art keywords
- stream
- random access
- access point
- information
- video stream
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
- Television Signal Processing For Recording (AREA)
Description
本発明は、記録装置および方法、再生装置および方法、並びに記録媒体に関し、特に、AV(Audio Visual)プログラムが多重化された多重化ストリームを記録、または再生する記録装置および方法、再生装置および方法、並びに記録媒体に関する。 The present invention relates to a recording apparatus and method, reproducing apparatus and method, and a recording medium body, in particular, a recording apparatus and method AV (Audio Visual) programs are recorded multiplexed streams multiplexed or reproduction, the reproducing apparatus and method, and a recording medium body.
ヨーロッパにおけるDVB(Digital Video Broadcast)、アメリカにおけるDTV、および日本におけるディジタルBS(Broadcasting Satellite)放送などのディジタル テレビジョン放送では、MPEG(Moving Picture Experts Group)2トランスポートストリームが使われる。トランスポートストリームは、トランスポートパケットが連続して配置されたストリームであり、トランスポートパケットは、例えば、MPEG2ビデオストリームやMPEG1オーディオストリームがパケット化されたものである。一つのトランスポートパケットのデータ長は188バイトである。放送波として送信される一本のトランスポートストリームには、単数または複数のAVプログラムが多重化されている。一般に、それぞれのAVプログラムは、お互いに独立である。 MPEG (Moving Picture Experts Group) 2 transport streams are used in digital television broadcasting such as DVB (Digital Video Broadcast) in Europe, DTV in the United States, and Digital BS (Broadcasting Satellite) broadcasting in Japan. The transport stream is a stream in which transport packets are continuously arranged. The transport packet is, for example, an MPEG2 video stream or an MPEG1 audio stream packetized. The data length of one transport packet is 188 bytes. One or more AV programs are multiplexed in one transport stream transmitted as a broadcast wave. In general, each AV program is independent of each other.
したがって、ディジタルテレビジョン放送波としてのトランスポートストリームのAVプログラムを、家庭の受信機でそのまま記録すれば、ビデオやオーディオの品質を全く劣化させることなく記録することが可能である。また、放送波として送信されるトランスポートストリームの中からユーザーによって選択された複数のチャネルのAVプログラムを抽出して、記録すれば、複数のチャネルのAVプログラムを同時に記録することができる。 Therefore, if an AV program of a transport stream as a digital television broadcast wave is recorded as it is with a home receiver, it can be recorded without any deterioration in video and audio quality. If AV programs of a plurality of channels selected by a user are extracted from a transport stream transmitted as a broadcast wave and recorded, the AV programs of a plurality of channels can be recorded simultaneously.
一般に、MPEG2ビデオのストリームは、0.5秒程度の間隔でIピクチャを符号化し、それ以外のピクチャはPピクチャまたはBピクチャとして符号化される。したがって、MPEG2ビデオのストリームが記録された記録媒体に対してランダムアクセスし、ビデオ再生する場合、Iピクチャをサーチしなければならない。 In general, in an MPEG2 video stream, I pictures are encoded at intervals of about 0.5 seconds, and other pictures are encoded as P pictures or B pictures. Therefore, when a video is played back by randomly accessing a recording medium on which an MPEG2 video stream is recorded, the I picture must be searched.
同様に、MPEG1オーディオのストリームが記録された記録媒体に対してランダムアクセスし、オーディオ再生する場合、オーディオフレームの開始バイト(第1バイト目)をサーチしなければならない。 Similarly, when random access is made to a recording medium on which an MPEG1 audio stream is recorded and audio is reproduced, the start byte (first byte) of the audio frame must be searched.
ところが、ディジタル放送等のトランスポートストリームが記録されている記録媒体に対してランダムアクセスし、ビデオ再生およびオーディオ再生する場合、Iピクチャまたはオーディオフレームの開始バイトを効率よくサーチすることが困難である。すなわち、記録媒体上のトランスポートストリームのランダムなバイト位置から、読み出したビデオストリームおよびオーディオストリームのシンタクスを解析し、Iピクチャまたはオーディオフレームの開始バイトをサーチしなければならず、Iピクチャのサーチに時間がかかり、ユーザーからの入力に対して応答の速いランダムアクセス再生が困難である課題があった。 However, when a random access is made to a recording medium on which a transport stream such as digital broadcasting is recorded, and video playback and audio playback are performed, it is difficult to efficiently search for the start byte of an I picture or audio frame. That is, the syntax of the read video stream and audio stream is analyzed from the random byte position of the transport stream on the recording medium, and the start byte of the I picture or audio frame must be searched. There is a problem that it takes time and it is difficult to perform random access reproduction with quick response to input from the user.
また、トランスポートストリームから、ビデオ信号がパケット化されているトランスポートパケットを取り出すためには、まず、パケットヘッダに含まれるPID(Packet Identification)を知ることが必要である。なお、PIDの値は標準化されたものではなく、トランスポートストリームの製作者が任意に値を設定することができる。PIDの値は、MPEG2で規定されるPAT(Program Association Table)およびPMT(Program Map Table)と呼ばれるパケットに記述される。 In order to extract a transport packet in which a video signal is packetized from a transport stream, it is first necessary to know a PID (Packet Identification) included in the packet header. Note that the PID value is not standardized, and can be arbitrarily set by the producer of the transport stream. The value of PID is described in a packet called PAT (Program Association Table) and PMT (Program Map Table) defined by MPEG2.
よって、トランスポートストリームの中からビデオストリームを再生する場合、PATおよびPMTパケットをサーチすることが必要だった。さらに、トランスポートストリームをランダムアクセス再生する場合、ビデオパケットのPIDがストリームの途中で変更されている可能性があるので、ランダムアクセス再生の度にPATおよびPMTをサーチしなければならない。したがって、ユーザーからの入力に対して応答の速いランダムアクセス再生が困難である課題があった。 Therefore, when playing a video stream from a transport stream, it was necessary to search for PAT and PMT packets. Furthermore, when the transport stream is played back by random access, the PID of the video packet may be changed in the middle of the stream, so the PAT and PMT must be searched for each random access playback. Therefore, there is a problem that it is difficult to perform random access reproduction with quick response to input from the user.
さらに、トランスポートストリームは、複数のAVプログラムが多重化されている場合や、また1つのAVプログラムの中に複数のビデオストリームが含まれている場合がある。複数のビデオストリームが同じトランスポートストリームに含まれている場合は、それぞれのPIDは異なる値を持つ。それら複数のビデオストリームの中から、ユーザーが選択したビデオストリームをランダムアクセス再生する場合、まずPATおよびPMTをサーチして、次にIピクチャをサーチすることが必要である。この一連のサーチに時間がかかるために、ユーザーからの入力に対して応答の速いランダムアクセス再生が困難である課題があった。 Furthermore, the transport stream may include a plurality of AV programs multiplexed, or a single AV program may include a plurality of video streams. When a plurality of video streams are included in the same transport stream, each PID has a different value. In the case of randomly accessing and reproducing a video stream selected by the user from among the plurality of video streams, it is necessary to first search for PAT and PMT and then search for an I picture. Since this series of searches takes time, there is a problem that it is difficult to perform random access reproduction with quick response to input from the user.
本発明はこのような状況に鑑みてなされたものであり、1以上のチャネルのAVプログラムを含むトランスポートストリームが記録されている記録媒体から、所定のAVプログラムを迅速にランダムアクセスできるようにすることを目的とする。 The present invention has been made in view of such circumstances, and allows a predetermined AV program to be quickly and randomly accessed from a recording medium on which a transport stream including an AV program of one or more channels is recorded. For the purpose.
本発明の第1の側面の第1の記録装置は、パケット化されたビデオストリームを少なくとも1つ含む多重化ストリームをストリームファイルとして情報記録媒体に記録する記録装置であって、前記多重化ストリームから前記ビデオストリームのランダムアクセスポイントを検出する検出手段と、検出された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を計算する計算手段と、計算された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を、前記多重化ストリーム上のランダムアクセスポイントのタイムスタンプと対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成するデータベース作成手段と、前記ストリームファイルとは別に、前記データベースを前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして、前記情報記録媒体に記録する記録手段とを含む。 A first recording apparatus according to a first aspect of the present invention is a recording apparatus that records a multiplexed stream including at least one packetized video stream as a stream file on an information recording medium. Detecting means for detecting a random access point of the video stream; calculating means for calculating address information on the video stream corresponding to the detected random access point; and the video corresponding to the calculated random access point. the address information in the stream, the association between the time stamp of the random access point on the multiplexed stream, as well as tabulated for each transport packet having the same packet identification information, summary tables respectively obtained by the table of A database creation means for creating a single database, separately from the stream file as a stream management information file corresponding to said database to said stream file and one-to-one, and recording means for recording on the information recording medium.
前記検出手段では、前記多重化ストリームから前記ビデオストリームのシーケンスヘッダコードを検出することによって前記ランダムアクセスポイントを検出することができる。 The detection means can detect the random access point by detecting a sequence header code of the video stream from the multiplexed stream.
前記ランダムアクセスポイントのピクチャの再生時刻情報を抽出する抽出手段をさらに設けることができ、前記データベース作成手段では、計算された前記アドレス情報を、抽出された前記ランダムアクセスポイントのピクチャの再生時刻情報にも対応付けたデータベースを作成することができる。 Extraction means for extracting reproduction time information of the picture of the random access point can be further provided, and the database creating means converts the calculated address information into the reproduction time information of the extracted picture of the random access point. Can also create an associated database.
前記パケット識別情報は、PIDとすることができる。 The packet identification information may be a PID.
前記多重化ストリームに複数の前記ビデオストリームが含まれる場合、前記検出手段では、複数の前記ビデオストリーム毎にランダムアクセスポイントを検出し、前記データベース作成手段では、複数の前記ビデオストリーム毎に計算された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を、前記多重化ストリーム上のランダムアクセスポイントのタイムスタンプと対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースを作成することができる。 When the multiplexed stream includes a plurality of the video streams, the detection unit detects a random access point for each of the plurality of video streams, and the database creation unit calculates for each of the plurality of video streams. the address information on the video stream corresponding to the random access point, associating a time stamp of the random access point on the multiplexed stream, as well as tabulated for each transport packet having the same packet identification information, the It is possible to create one database by collecting tables obtained by tabulation .
本発明の第1の側面の第1の記録方法は、パケット化されたビデオストリームを少なくとも1つ含む多重化ストリームをストリームファイルとして情報記録媒体に記録する記録装置の記録方法であって、前記多重化ストリームから前記ビデオストリームのランダムアクセスポイントを検出する検出ステップと、検出された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を計算する計算ステップと、計算された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を、前記多重化ストリーム上のランダムアクセスポイントのタイムスタンプと対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成するデータベース作成ステップと、前記ストリームファイルとは別に、前記データベースを前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして、前記情報記録媒体に記録する記録ステップとを含む。 A first recording method according to the first aspect of the present invention is a recording method of a recording apparatus for recording a multiplexed stream including at least one packetized video stream on an information recording medium as a stream file, the multiplexing method A detection step of detecting a random access point of the video stream from a stream, a calculation step of calculating address information on the video stream corresponding to the detected random access point, and a correspondence to the calculated random access point the address information on the video stream, the association between the time stamp of the random access point on the multiplexed stream, as well as tabulated for each transport packet having the same packet identification information, respectively obtained by the table of A database creation step of creating collectively a table as a single database, separately from the stream file as a stream management information file corresponding to said database to said stream file on a one-to-one, recording step of recording on the information recording medium Including.
本発明の第1の側面の第1の記録媒体のプログラムは、パケット化されたビデオストリームを少なくとも1つ含む多重化ストリームをストリームファイルとして情報記録媒体に記録する記録装置の制御用のプログラムであって、前記多重化ストリームから前記ビデオストリームのランダムアクセスポイントを検出する検出ステップと、検出された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を計算する計算ステップと、計算された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を、前記多重化ストリーム上のランダムアクセスポイントのタイムスタンプと対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成するデータベース作成ステップと、前記ストリームファイルとは別に、前記データベースを前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして、前記情報記録媒体に記録する記録ステップとを含む処理を記録装置のコンピュータに実行させる。 A program for a first recording medium according to the first aspect of the present invention is a program for controlling a recording apparatus that records a multiplexed stream including at least one packetized video stream as a stream file on an information recording medium. Detecting a random access point of the video stream from the multiplexed stream; calculating a address information on the video stream corresponding to the detected random access point; and calculating the random the address information on the video stream corresponding to the access point, the association with the time stamp of the random access point on the multiplexed stream, as well as tabulated for each transport packet having the same packet identification information, said table A database creation step of creating a single database together tables respectively obtained by said stream file Separately, a stream management information file corresponding to said database to said stream file and one-to-one, in the information recording medium A process including a recording step of recording is executed by a computer of the recording apparatus.
本発明の第2の側面の第1の再生装置は、パケット化されたビデオストリームを少なくとも1つ含む多重化ストリームがストリームファイルとして記録されるとともに、前記ビデオストリーム上のランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報がタイムスタンプと対応付けられ、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化されるとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成されたものが、前記ストリームファイルとは分けて、かつ前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして記録されている情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生装置であって、前記ビデオストリームの再生開始位置を指定する指定手段と、前記情報記録媒体から前記データベースを読み出す読み出し手段と、読み出された前記データベースから、指定された前記再生開始位置に最も近いランダムアクセスポイントに対応する前記アドレス情報を検索する検索手段と、検索された前記アドレス情報に基づいて、前記情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生手段とを含む。 In a first playback device according to the second aspect of the present invention, a multiplexed stream including at least one packetized video stream is recorded as a stream file and the random access point corresponding to the random access point on the video stream is recorded. address information on the video stream associated with a timestamp, created as one database together tables respectively obtained by Rutotomoni, the tabulated in tabular form for each transport packet having the same packet identification information What is a reproduction device that reproduces an image signal corresponding to the video stream from an information recording medium that is recorded as a stream management information file that is separated from the stream file and has a one-to-one correspondence with the stream file. And said Corresponding to the random access point closest to the designated reproduction start position from the designated database, the designation means for designating the reproduction start position of the video stream, the reading means for reading the database from the information recording medium Search means for searching for the address information and playback means for playing back an image signal corresponding to the video stream from the information recording medium based on the searched address information.
前記多重化ストリームに複数の前記ビデオストリームが多重化されており、かつ、複数の前記ビデオストリームの中から再生する前記ビデオストリームの再生開始位置が指定された場合、前記検索手段では、前記データベースから、指定された前記ビデオストリームの再生開始位置に最も近いランダムアクセスポイントに対応する前記アドレス情報を検索することができる。 When a plurality of the video streams are multiplexed on the multiplexed stream and a playback start position of the video stream to be played back is designated from among the plurality of video streams, the search means The address information corresponding to the random access point closest to the reproduction start position of the designated video stream can be retrieved.
本発明の第2の側面の第1の再生方法は、パケット化されたビデオストリームを少なくとも1つ含む多重化ストリームがストリームファイルとして記録されているとともに、前記ビデオストリーム上のランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報がタイムスタンプと対応付けられ、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化されるとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成されたものが、前記ストリームファイルとは分けて、かつ前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして記録されている情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生装置の再生方法であって、前記ビデオストリームの再生開始位置を指定する指定ステップと、前記情報記録媒体から前記データベースを読み出す読み出しステップと、読み出された前記データベースから、前記指定された再生開始位置に最も近いランダムアクセスポイントに対応する前記アドレス情報を検索する検索ステップと、検索された前記アドレス情報に基づいて、前記情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生ステップとを含む。 The first playback method according to the second aspect of the present invention has a multiplexed stream including at least one packetized video stream recorded as a stream file and corresponds to a random access point on the video stream. the address information on the video stream is associated with a time stamp, in tabular form for each transport packet having the same packet identification information Rutotomoni, it is created as one database together tables respectively obtained by the table of Of a playback apparatus that plays back an image signal corresponding to the video stream from an information recording medium that is recorded as a stream management information file that is separated from the stream file and has a one-to-one correspondence with the stream file. Playback method A designation step for designating a reproduction start position of the video stream, a reading step for reading the database from the information recording medium, and a random access closest to the designated reproduction start position from the read database. A search step of searching for the address information corresponding to the point; and a playback step of playing back an image signal corresponding to the video stream from the information recording medium based on the searched address information.
本発明の第2の側面の第2の記録媒体のプログラムは、パケット化されたビデオストリームを少なくとも1つ含む多重化ストリームがストリームファイルとして記録されているとともに、前記ビデオストリーム上のランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報がタイムスタンプと対応付けられ、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化されるとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成されたものが、前記ストリームファイルとは分けて、かつ前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして記録されている情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生装置の制御用のプログラムであって、前記ビデオストリームの再生開始位置を指定する指定ステップと、前記情報記録媒体から前記データベースを読み出す読み出しステップと、読み出された前記データベースから、前記指定された再生開始位置に最も近いランダムアクセスポイントに対応する前記アドレス情報を検索する検索ステップと、検索された前記アドレス情報に基づいて、前記情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生ステップとを含む処理を再生装置のコンピュータに実行させる。 According to a second recording medium program of the second aspect of the present invention, a multiplexed stream including at least one packetized video stream is recorded as a stream file, and a random access point on the video stream is recorded. address information on the corresponding the video stream is associated with a time stamp, in tabular form for each transport packet having the same packet identification information Rutotomoni, as one database together tables respectively obtained by the table of Reproduction that reproduces an image signal corresponding to the video stream from an information recording medium that is recorded as a stream management information file that is created separately from the stream file and has a one-to-one correspondence with the stream file Dress A designation step for designating a reproduction start position of the video stream, a read step for reading the database from the information recording medium, and the designated reproduction start from the read database. A search step for searching for the address information corresponding to the random access point closest to the position, and a playback step for playing back an image signal corresponding to the video stream from the information recording medium based on the searched address information. The processing including the above is executed by the computer of the playback apparatus.
本発明の第3の側面の第2の記録装置は、パケット化されたビデオストリームを少なくとも1つ含む多重化ストリームをストリームファイルとして情報記録媒体に記録する記録装置であって、前記ビデオストリームのランダムアクセスポイントを検出する検出手段と、検出されたランダムアクセスポイントのアドレス情報とタイムスタンプを対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成するデータベース作成手段と、前記ストリームファイルとは別に、前記データベースを前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして、前記情報記録媒体に記録する記録手段とを含む。 A second recording device according to a third aspect of the present invention is a recording device that records a multiplexed stream including at least one packetized video stream on an information recording medium as a stream file, the random number of the video stream being The detection means for detecting the access point, the address information of the detected random access point and the time stamp are associated with each other, and each transport packet having the same packet identification information is tabulated, and each table obtained by the tabulation a database creation means for creating a single database together, the stream file separately, a stream management information file corresponding to said database to said stream file and one-to-one, and recording means for recording on said information recording medium Including.
前記タイムスタンプは、前記ランダムアクセスポイントのピクチャの再生時刻情報とすることができる。 The time stamp may be reproduction time information of a picture of the random access point.
前記タイムスタンプは、前記ランダムアクセスポイントを含む前記ビデオストリームの前記記録装置への到着時刻情報とすることができる。 The time stamp may be arrival time information of the video stream including the random access point at the recording device.
本発明の第4の側面の第2の再生装置は、パケット化されたビデオストリームを少なくとも1つ含む多重化ストリームがストリームファイルとして記録されるとともに、前記ビデオストリーム上のランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報がタイムスタンプと対応付けられ、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化されるとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成されたものが、前記ストリームファイルとは分けて、かつ前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして記録されている情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生装置であって、前記情報記録媒体から前記データベースを読み出す読み出し手段と、読み出された前記データベースに記述されている前記アドレス情報に基づいて、前記情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生手段とを含む。 According to a second playback device of the fourth aspect of the present invention, a multiplexed stream including at least one packetized video stream is recorded as a stream file, and the random playback point corresponding to the random access point on the video stream is recorded. address information on the video stream associated with a timestamp, created as one database together tables respectively obtained by Rutotomoni, the tabulated in tabular form for each transport packet having the same packet identification information What is a reproduction device that reproduces an image signal corresponding to the video stream from an information recording medium that is recorded as a stream management information file that is separated from the stream file and has a one-to-one correspondence with the stream file. And said Reading means for reading the database from the information recording medium, and reproducing means for reproducing an image signal corresponding to the video stream from the information recording medium based on the address information described in the read database. Including.
前記タイムスタンプは、前記ランダムアクセスポイントのピクチャの再生時刻情報とすることができる。 The time stamp may be reproduction time information of a picture of the random access point.
前記タイムスタンプは、前記ランダムアクセスポイントを含む前記ビデオストリームが前記記録媒体へ記録される際の到着時刻情報とすることができる。 The time stamp may be arrival time information when the video stream including the random access point is recorded on the recording medium.
本発明の第1の側面における第1の記録装置および方法、並びに第1の記録媒体のプログラムでは、多重化ストリームからビデオストリームのランダムアクセスポイントが検出され、検出されたランダムアクセスポイントに対応するビデオストリーム上のアドレス情報が計算され、計算されたランダムアクセスポイントに対応するビデオストリーム上のアドレス情報を、多重化ストリーム上のランダムアクセスポイントのタイムスタンプと対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化されるとともに、テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースが作成され、ストリームファイルとは別に、データベースがストリームファイルと1対1に対応するストリーム管理情報ファイルとして、情報記録媒体に記録される。 In the first recording apparatus and method and the first recording medium program according to the first aspect of the present invention, a random access point of a video stream is detected from a multiplexed stream, and a video corresponding to the detected random access point is detected. Transport information in which address information on a stream is calculated, address information on a video stream corresponding to the calculated random access point is associated with a time stamp of the random access point on the multiplexed stream, and has the same packet identification information together are tabulated for each packet, is one database together tables respectively obtained to create a table of, separately from the stream file, the stream management information database corresponding to the stream files on a one-to-one file As Le is recorded on the information recording medium.
本発明の第2の側面における第1の再生装置および方法、並びに第2の記録媒体のプログラムでは、ビデオストリームの再生開始位置が指定され、情報記録媒体からデータベースが読み出され、読み出されたデータベースから、指定された再生開始位置に最も近いランダムアクセスポイントに対応するアドレス情報が検索され、検索されたアドレス情報に基づいて、情報記録媒体からビデオストリームに対応する画像信号が再生される。 In the first reproduction apparatus and method and the second recording medium program according to the second aspect of the present invention, the reproduction start position of the video stream is specified, the database is read out from the information recording medium, and read out. Address information corresponding to the random access point closest to the designated reproduction start position is searched from the database, and an image signal corresponding to the video stream is reproduced from the information recording medium based on the searched address information.
本発明の第3の側面における第2の記録装置では、ビデオストリームのランダムアクセスポイントが検出され、検出されたランダムアクセスポイントのアドレス情報とタイムスタンプを対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化されるとともに、テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースが作成され、ストリームファイルとは別に、データベースがストリームファイルと1対1に対応するストリーム管理情報ファイルとして、情報記録媒体に記録される。 In the second recording device according to the third aspect of the present invention, a random access point of a video stream is detected, and the transport information having the same packet identification information by associating the address information and time stamp of the detected random access point A table is created for each packet, and a single database is created by collecting the tables obtained by tabulation. The database is a stream management information file that has a one-to-one correspondence with the stream file. Recorded on a recording medium.
本発明の第4の側面における第2の再生装置では、情報記録媒体からデータベースが読み出され、読み出されたデータベースに記述されているアドレス情報に基づいて、情報記録媒体からビデオストリームに対応する画像信号が再生される。 In the second playback device according to the fourth aspect of the present invention, the database is read from the information recording medium, and the video stream from the information recording medium is supported based on the address information described in the read database. An image signal is reproduced.
本発明の第1の記録装置および方法、第1の記録媒体のプログラム、並びに第2の記録装置によれば、所定のAVプログラムを迅速にランダムアクセスできるように記録することが可能となる。 The first recording apparatus and method of the present invention, the program of the first recording medium, and according to the second recording equipment, it is possible to record as quickly random access predetermined AV program.
また、本発明の第1の再生装置および方法、第2の記録媒体のプログラム、並びに第2の再生装置によれば、所定のAVプログラムを迅速にランダムアクセスすることが可能となる。 The first reproducing apparatus and method of the present invention, a program of the second recording medium, and according to the second reproduction equipment, it is possible to quickly random access predetermined AV program.
図1は、本発明に係る動画像記録装置の一実施の形態の構成を示すブロック図である。PIDフィルタ11は、1または複数のAVプログラムが多重化されているトランスポートストリームが入力され、所定のPIDを含むトランスポートパケットを取り出し、スイッチ12、カウンタ22、タイムスタンプ付加部16に所定のトランスポートパケットを供給する。
FIG. 1 is a block diagram showing a configuration of an embodiment of a moving image recording apparatus according to the present invention. The
PIDフィルタ11に入力される1つのAVプログラムは、MPEG2ビデオで符号化されたビデオストリーム、およびMPEG1オーディオなどで符号化されたオーディオストリームが、トランスポートパケットによって多重化されている。PIDは、図2のトランスポートパケットのシンタックスに示すように、トランスポートパケットのヘッダの所定の位置にある13ビット長の符号であり、そのトランスポートパケットのペイロードにストアされているデータのタイプを示す。
In one AV program input to the
PIDフィルタ11は、PID=0x0000であるPATを含むトランスポートパケットが供給されたとき、PATを含むトランスポートパケットをスイッチ12に供給する。スイッチ12は、PATを含むトランスポートパケットが入力されたとき、PATを含むトランスポートパケットをPAT/PMT解析部13に出力する。
When a transport packet including PAT with PID = 0x0000 is supplied, the
ユーザインターフェース23は、ユーザによりAVプログラムのチャネルの選択が入力され、選択された1または2以上のAVプログラムのチャネルを示すデータをPAT/PMT解析部13に供給する。
The
PAT/PMT解析部13は、スイッチ12を介して、PIDフィルタ11から供給されたトランスポートパケット、およびユーザインターフェース23から供給されたデータを基に、トランスポートパケットに含まれる所定のデータをPIDフィルタ11、ストリーム解析部14、およびトランスポートストリーム管理テーブル作成部15に供給する。
Based on the transport packet supplied from the
PAT/PMT解析部13は、AVプログラム毎に、次のデータをトランスポートストリーム管理テーブル作成部15に供給する。
The PAT /
1.AVプログラムのprogram_number
2.AVプログラムのPMTのトランスポートパケットのPID
3.AVプログラムを構成するビデオのトランスポートパケットのPIDおよびビデオのstream_type
4.AVプログラムを構成するオーディオのトランスポートパケットのPIDおよびオーデイオのstream_type
5.AVプログラムのPCR_PID
1. AV program program_number
2. AV program PMT transport packet PID
3. PID of video transport packet and AV_stream_type composing AV program
4). PID and audio stream_type of audio transport packet that composes AV program
5). PCR_PID of AV program
ここで、program_numberは、放送のチャネル番号であり、そのAVプログラムのPMTのPIDを適用するAVプログラムを示す。stream_typeとは、PMTに記述されている内容を示しており、ビデオの場合、MPEG2/MPEG1などのストリームタイプを示し、またオーディオの場合、MPEG1/AC−3などのストリームタイプを示す。 Here, program_number is a broadcast channel number and indicates an AV program to which the PID of the PMT of the AV program is applied. The stream_type indicates the contents described in the PMT, and indicates a stream type such as MPEG2 / MPEG1 in the case of video, and a stream type such as MPEG1 / AC-3 in the case of audio.
ビデオストリームが複数含まれている場合は、各ストリーム毎に上記3のデータ(AVプログラムを構成するビデオのトランスポートパケットのPIDおよびビデオのstream_type)を作成する。オーディオストリームについても同様である。 When a plurality of video streams are included, the above three data (PID of video transport packet and video stream_type constituting the AV program) are created for each stream. The same applies to the audio stream.
PAT/PMT解析部13はまた、ビデオのストリームおよびオーディオのストリームのランダムアクセスポイントを示す情報をトランスポートストリーム管理テーブル作成部15に供給する。
The PAT /
ストリーム解析部14は、スイッチ12を介して、PIDフィルタ11から供給されたトランスポートパケットの"adaptation_field()"に含まれる"random_access_Indicator"の値、PAT/PMT解析部13から供給された所定のデータ、カウンタ22から供給されたデータ、およびタイムスタンプ付加部16から供給されたデータを基に、ランダムアクセス再生できるトランスポートパケットを識別し、所定のデータをトランスポートストリーム管理テーブル作成部15に供給する。
The
図3にトランスポートパケットの"adaptation_field()"のシンタックスを示す。MPEGにおいて、ビデオのトランスポートパケットで"random_access_Indicator"が1である場合、そのトランスポートパケットまたはそれと同じPIDの次のトランスポートパケットは、ビデオのsequence_headerを含むことが規定されている。 FIG. 3 shows the syntax of “adaptation_field ()” of the transport packet. In MPEG, when “random_access_Indicator” is 1 in a video transport packet, it is specified that the transport packet or the next transport packet of the same PID includes a video sequence_header.
また、MPEGにおいて、オーディオのトランスポートパケットで"random_access_Indicator"が1である場合、そのトランスポートパケットまたはそれと同じPIDの次のトランスポートパケットは、オーディオフレームの第1バイト目を含むことが規定されている。 Also, in MPEG, when “random_access_Indicator” is 1 in an audio transport packet, it is specified that the transport packet or the next transport packet of the same PID includes the first byte of the audio frame. Yes.
トランスポートストリーム管理テーブル作成部15は、PAT/PMT解析部13から供給されたデータおよびストリーム解析部14から供給されたデータを基に、ビデオのストリームおよびオーディオのストリームのランダムアクセスポイントを示す情報を、同じPIDのトランスポートパケット毎にテーブル化する。
Based on the data supplied from the PAT /
図4は、トランスポートストリーム管理テーブル作成部15が作成するトランスポートストリーム管理テーブルに含まれるランダムアクセスポイントのリストの概念の一例を示している。
FIG. 4 shows an example of a concept of a list of random access points included in the transport stream management table created by the transport stream management
例えば、トランスポートストリームに、プログラムAおよびプログラムBの2つのプログラムが多重化されているとき、図4(A)に示すように、ストリーム解析部14によって、ランダムアクセスポイントが抽出される。
For example, when two programs of the program A and the program B are multiplexed on the transport stream, a random access point is extracted by the
トランスポートストリーム管理テーブル作成部15は、ストリーム解析部14に抽出されたデータを基に、図4(B)に示すランダムアクセスポイントのリストを生成する。ランダムアクセスポイントは、ランダムアクセスするデータのタイムスタンプとデータ読み出し開始のアドレスを表す。アドレスは、記録するトランスポートストリームファイルの中でのランダムアクセスするデータの位置を表すものである。具体的には、アドレスは、ランダムアクセスデータを含むトランスポートパケットに付加された4バイトのヘッダの第1バイト目の位置を表す。また、アドレスは、そのトランスポートパケットの第1バイト目の位置、またはランダムアクセスデータの第1バイト目の位置を表してもよい。
The transport stream management
図5は、トランスポートストリーム管理テーブル作成部15が作成するトランスポートストリーム管理テーブルに含まれるランダムアクセスポイントのリストの概念の他の一例を示している。例えば、マルチアングルのプログラムであり、トランスポートストリームのプログラムに2つのビデオストリームが多重化されているとき、図5(A)に示すように、ストリーム解析部14によって、ランダムアクセスポイントが抽出される。トランスポートストリーム管理テーブル作成部15は、ストリーム解析部14に抽出されたデータを基に、図4(B)と同様にして、図5(B)に示すランダムアクセスポイントのリストを生成する。
FIG. 5 shows another example of the concept of a list of random access points included in the transport stream management table created by the transport stream management
ランダムアクセスポイントのリストは、トランスポートストリームに多重化されているプログラム毎に管理される。 The list of random access points is managed for each program multiplexed in the transport stream.
トランスポートストリーム管理テーブル作成部15は、ランダムアクセスポイントのリストを含むトランスポートストリーム管理テーブルをファイルシステム17に出力する。
The transport stream management
図6は、トランスポートストリームおよびトランスポートストリーム管理テーブルの関係を示す図である。トランスポートストリームファイルの中に、3つのAVプログラムから多重化されている場合を例に説明する。ランダムアクセスポイントのリストは、AVプログラム毎に管理され、以下のデータが格納されている。 FIG. 6 is a diagram illustrating the relationship between the transport stream and the transport stream management table. A case will be described as an example where three AV programs are multiplexed in a transport stream file. The list of random access points is managed for each AV program and stores the following data.
1.AVプログラムのprogram_number
2.AVプログラムのPMTのトランスポートパケットのPID
3.AVプログラムを構成するビデオのトランスポートパケットのPIDおよびビデオのstream_type
4.AVプログラムを構成するオーディオのトランスポートパケットのPIDおよびオーディオのstream_type
5.AVプログラムのPCR_PID
6.ビデオのランダムアクセスポイントのリスト
7.オーディオのランダムアクセスポイントのリスト
1. AV program program_number
2. AV program PMT transport packet PID
3. PID of video transport packet and AV_stream_type composing AV program
4). Audio transport packet PID and audio stream_type that make up the AV program
5). PCR_PID of AV program
6). 6. List of video random access points List of random access points for audio
AVプログラムのprogram_number、AVプログラムのPMTのトランスポートパケットのPID、AVプログラムを構成するビデオのトランスポートパケットのPIDおよびビデオのstream_type、およびAVプログラムを構成するオーディオのトランスポートパケットのPIDおよびオーディオのstream_typeのデータは、トランスポートストリームの中のPATまたはPMTのパケットにも含まれるているが、PATまたはPMTのパケットの発生頻度は、100ミリ秒毎であるので、ランダムアクセスしたとき、PATまたはPMTのパケットを取り出すには時間がかかる。 AV program program_number, PID of PMT transport packet of AV program, PID of video transport packet and AV stream_type constituting AV program, and PID and audio stream_type of audio transport packet constituting AV program Data is also included in PAT or PMT packets in the transport stream, but the frequency of occurrence of PAT or PMT packets is every 100 milliseconds. It takes time to retrieve the packet.
そこで、トランスポートストリーム管理テーブルに、PATまたはPMTのパケットに含まれている情報を格納しておくことにより、これらのデータをトランスポートストリームから読み出す必要がなくなり、迅速に所定のデータを読み出すことが可能となる。 Therefore, by storing the information included in the PAT or PMT packet in the transport stream management table, it is not necessary to read out these data from the transport stream, so that predetermined data can be read out quickly. It becomes possible.
図7は、トランスポートストリームのプログラムに、複数のビデオストリームが多重化されている時におけるトランスポートストリームおよびトランスポートストリーム管理テーブルの関係を示す図である。図6に示した情報と同じ情報を持つが、トランスポートストリームファイルの中に、複数のビデオストリームが含まれている場合、ビデオストリーム毎にランダムアクセスポイントのリストが作成される。各ランダムアクセスポイントリストは、パケットのPIDによって区別される。なお、オーディオストリームについても同様に、ランダムアクセスポイントリストが作成され、各ランダムアクセスポイントリストは、パケットのPIDによって区別される。 FIG. 7 is a diagram showing the relationship between the transport stream and the transport stream management table when a plurality of video streams are multiplexed in the transport stream program. When the transport stream file includes the same information as the information shown in FIG. 6, but a plurality of video streams are included, a list of random access points is created for each video stream. Each random access point list is distinguished by the PID of the packet. Similarly, a random access point list is created for the audio stream, and each random access point list is distinguished by the PID of the packet.
図1に戻り、カウンタ22は、PIDフィルタ11から供給されるトランスポートパケットを基に、記録されるトランスポートストリームの先頭パケットから現在のパケットまでのバイト数を計算し、その値をストリーム解析部14に供給する。
Returning to FIG. 1, the
タイムスタンプ付加部16は、PIDフィルタ11から供給されるトランスポートパケットを受信し、トランスポートパケットの到着時刻を示すタイムスタンプをストリーム解析部14に出力し、到着時刻を示すタイムスタンプを付加したトランスポートパケットを、ファイルシステム17に供給する。このタイムスタンプは、例えば、D-VHSフォーマットで規定されているトランスポートパケットに付加される4バイト長のパケットヘッダと同様なものであり、一番最初に記録されるトランスポートパケットのタイムスタンプをゼロとすれば、そのトランスポートストリームの記録の経過時間を表すものとなる。
The time
ファイルシステム17は、タイムスタンプ付加部16から供給されたトランスポートパケットをトランスポートストリームのファイルに変換し、トランスポートストリーム管理テーブル作成部15から供給されたトランスポートストリーム管理テーブルを所定のファイルに変換する。
The
ファイルシステム17から、出力されるファイルは、誤り訂正部18および変調部19で所定の処理が施され、書き込み部20に供給される。書き込み部20は、供給されたファイルを記録媒体21に記録する。
A file output from the
制御部24は、ドライブ25を制御して、磁気ディスク26、光ディスク27、光磁気ディスク28、または半導体メモリ29に記憶されている制御用プログラムを読み出し、読み出した制御用プログラム、およびユーザインタフェース23に入力されるユーザからのコマンド等に基づいて、動画像記録装置の各部を制御する。
The
以上のように、トランスポートストリームおよびトランスポートストリーム管理テーブルは、所定のファイルとして、記録媒体21に記録される。
As described above, the transport stream and the transport stream management table are recorded on the
次に、PAT/PMT解析部13のPATおよびPMTを解析する処理について、図8のフローチャートを参照して説明する。ステップS11において、PAT/PMT解析部13はPATのトランスポートパケットを受信する。PATには、トランスポートストリームに多重化されている各プログラムのPMTのトランスポートパケットのPIDが書かれている。PAT/PMT解析部13は、ユーザインタフェース23によって選択されたAVプログラムのPMTのトランスポートパケットのPIDを取得する。
Next, processing for analyzing PAT and PMT by the PAT /
ステップS12において、PAT/PMT解析部13は各プログラムのPMTのPIDをPIDフィルタ11にセットする。PIDフィルタ11は、これらPMTのPIDをもつトランスポートパケットを取り出し、PAT/PMT解析部13に供給する。
In
ステップS13において、PAT/PMT解析部13は、スイッチ12を介して、PIDフィルタ11から供給されたPMTのトランスポートパケットを受信する。PMTには、そのAVプログラムを構成するビデオストリームおよびオーディオストリームをペイロードに持つトランスポートパケットのPIDが書かれている。PAT/PMT解析部13は、ユーザインタフェース23に入力された各プログラムを構成するビデオストリームまたはオーディオストリームをペイロードに持つトランスポートパケットのPIDを取得する。
In
ステップS14において、PAT/PMT解析部13は、ユーザインタフェース23によって選択された各プログラムを構成するビデオストリームまたはオーディオストリームをペイロードに持つトランスポートパケットのPIDを、PIDフィルタ11およびストリーム解析部14に供給する。PIDフィルタ11は、PAT/PMT解析部13から指定されたビデオのトランスポートパケットおよびオーディオのトランスポートパケットを入力されたトランスポートストリームの中から取り出し、それをスイッチ12を介して、ストリーム解析部14に入力する。ビデオのトランスポートパケットとオーディオのトランスポートパケット以外のトランスポートパケット(サービスインフォメーションのパケットなど)は、ストリーム解析部14に入力されない。
In step S <b> 14, the PAT /
次に、ストリーム解析部14のストリームを解析する処理について、図9のフローチャートを参照して説明する。ステップS21において、ストリーム解析部14は、スイッチ12を介して、PIDフィルタ11から、ビデオのトランスポートパケットまたはオーディオのトランスポートパケットを受信する。ステップS22において、ストリーム解析部14は、トランスポートパケットのヘッダの"random_access_Indicator"を復号する。
Next, the process of analyzing the stream of the
ステップS23において、ストリーム解析部14は、復号された"random_access_Indicator"の値が1であるか否かを判定し、"random_access_Indicator"の値が1であると判定された場合、そのトランスポートパケットがランダムアクセス再生できるポイントなので、ステップS24に進み、現在のパケットがランダムアクセス再生できるポイントであること示すデータを、トランスポートストリーム管理テーブル作成部15に出力する。より具体的には、ストリーム解析部14は、トランスポートストリーム管理テーブル作成部15に、そのパケットのPID、そのパケットのタイムスタンプ、および記録しているトランスポートストリームの先頭からそのパケットまでのバイト数を供給する。
In step S23, the
ステップS25において、ストリーム解析部14は、現在のパケットが最後のパケットであるか否かを判定し、現在のパケットが最後のパケットであると判定された場合、処理は終了される。ステップS25において、現在のパケットが最後のパケットでないと判定された場合、ステップS21に戻り、ストリーム解析の処理が繰り返される。
In step S25, the
ステップS23において、"random_access_Indicator"の値が1でないと判定された場合、そのトランスポートパケットがランダムアクセス再生できるポイントではないので、ステップS21に戻り、ストリーム解析の処理が繰り返される。 以上のように、ストリーム解析部14は、ビデオのトランスポートパケットまたはオーディオのトランスポートパケットを受信し、ランダムアクセス再生できるポイントを示すデータをトランスポートストリーム管理テーブル作成部15に出力する。
If it is determined in step S23 that the value of “random_access_Indicator” is not 1, the transport packet is not a point at which random access reproduction is possible, so the process returns to step S21 and the stream analysis process is repeated. As described above, the
次に、"random_access_Indicator"が運用されていないときにおける動画像記録装置の処理について説明する。"random_access_Indicator"は、MPEGの規格ではオプションなので、全ての"random_access_Indicator"が0であるトランスポートストリームが存在する。 Next, processing of the moving image recording apparatus when “random_access_Indicator” is not operated will be described. Since “random_access_Indicator” is an option in the MPEG standard, there is a transport stream in which all “random_access_Indicator” is 0.
全ての"random_access_Indicator"が0であるビデオデータのトランスポートストリームを解析するストリーム解析部14の処理を図10のフローチャートを参照して説明する。ステップS51において、ストリーム解析部14は、記録するビデオのPIDおよびstream_typeを、PAT/PMT解析部13から受信する。記録するトランスポートストリームに複数のAVプログラムが含まれる場合、それぞれのAVプログラムのビデオのPIDおよびstream_typeが、PAT/PMT解析部13に入力される。
The processing of the
ステップS52において、ストリーム解析部14は、ビデオのトランスポートパケットを受信する。ストリーム解析部14は、記録するトランスポートストリームの中に複数のAVプログラムが含まれている場合、そのプログラム数と同じ数のビデオバッファを内蔵し、それぞれのビデオバッファとAVプログラムとは、1対1に対応づけられている。ストリーム解析部14は、ビデオのトランスポートパケットを受信すると、そのペイロードを対応するビデオバッファに入力する。
In step S52, the
ステップS53において、ストリーム解析部14は、ビデオバッファに記憶されているストリームにMPEGビデオのsequence_header_code(32ビット長で"0x000001B3"の符号)が含まれるているか否かを判定し、ストリームにMPEGビデオのsequence_header_codeが含まれていると判定された場合、ステップS54に進み、sequence_header_codeの第1バイト目を含むパケットをランダムアクセスするときのIピクチャの読み出し開始ポイントとする。
In step S53, the
ステップS55において、ストリーム解析部14は、ステップS54で設定したIピクチャの読み出し開始ポイントをトランスポートストリーム管理テーブル作成部15に送信する。更に、ビデオのPID、そのパケットの読み出し開始ポイントのタイムスタンプ、および記録するトランスポートストリームの先頭からそのパケットまでのバイト数が、トランスポートストリーム管理テーブル作成部15に入力される。
In step S55, the
ステップS56において、ストリーム解析部14は、最終のパケットであるか否かを判定し、最終のパケットであると判定した場合、処理を終了する。ステップS56において、最終のパケットでないと判定された場合、ステップS52に戻り、解析の処理が繰り返される。
In step S56, the
ステップS53において、ストリームにMPEGビデオのsequence_header_codeが含まれていないと判定された場合、ステップS52に戻り、解析の処理が繰り返される。 If it is determined in step S53 that the stream does not include the sequence_header_code of the MPEG video, the process returns to step S52 and the analysis process is repeated.
以上のように、ストリーム解析部14は、全ての"random_access_Indicator"が0であっても、ビデオデータのトランスポートストリームを解析することができる。
As described above, the
次に、全ての"random_access_Indicator"が0であるビデオデータのトランスポートストリームを解析するストリーム解析部14の他の処理を図11のフローチャートを参照して説明する。なお、同図のステップS71乃至S74の処理は、図10のステップS51乃至S54とそれぞれ同様であるので、その説明は省略する。
Next, another process of the
ステップS75において、ストリーム解析部14は、前のビデオパケットと同じPIDのビデオのトランスポートパケットを受信し、そのトランスポートパケットのペイロードをビデオバッファの最後のデータへ追加入力(append)する。
In step S75, the
ステップS76において、ストリーム解析部14は、ビデオストリームバッファの中のストリームにステップS74で読み出し開始ポイントに設定したIピクチヤの次のピクチヤのpicture_start_code(32ビット長で"0x00000100"の符号)が含まれるか否かを判定し、ビデオストリームバッファの中のストリームにステップS74で読み出し開始ポイントに設定したIピクチヤの次のピクチヤのpicture_start_codeが含まれると判定された場合、ステップS77に進み、picture_start_codeの最後のバイトを含むパケットをランダムアクセスするときのIピクチャデータの読み出し終了ポイントに設定する。
In step S76, the
ステップS76において、ビデオストリームバッファの中のストリームにステップS74で読み出し開始ポイントに設定したIピクチヤの次のピクチヤのpicture_start_codeが含まれないと判定された場合、ステップS75に戻り、前のビデオパケットと同じPIDのビデオのトランスポートパケットを受信する処理以降の処理が繰り返される。 If it is determined in step S76 that the stream in the video stream buffer does not include the picture_start_code of the next picture after the I picture set as the read start point in step S74, the process returns to step S75 and is the same as the previous video packet. The processes after the process of receiving the PID video transport packet are repeated.
ステップS78において、ストリーム解析部14は、ステップS74で設定したIピクチャの読み出し開始ポイントおよびステップS77で設定したIピクチャデータの読み出し終了ポイントをトランスポートストリーム管理テーブル作成部15に送信する。更に、ビデオのPID、そのパケットの読み出し開始ポイントのタイムスタンプ、記録するトランスポートストリームの先頭からIピクチャデータの読み出しの開始ポイントのパケットまでのバイト数、および記録するトランスポートストリームの先頭からIピクチャデータの読み出しの終了ポイントのパケットまでのバイト数が、トランスポートストリーム管理テーブル作成部15に入力される。
In step S78, the
ステップS79において、ストリーム解析部14は、現在のパケットが最終の入力パケットであるか否かを判定し、最終のパケットでないと判定された場合、ステップS72に戻り、解析の処理を繰り返す。ステップS79において、最終のパケットであると判定された場合、処理は終了される。
In step S79, the
以上のように、図11のフローチャートに示す手続きにより、ストリーム解析部14は、トランスポートストリーム管理テーブル作成部15にIピクチャデータの読み出しの開始ポイントおよびIピクチャデータの読み出しの終了ポイントを示すデータを供給することができる。
As described above, according to the procedure shown in the flowchart of FIG. 11, the
次に、ストリーム解析部14によるビデオストリームの解析処理の別の動作例について、図12のフローチャートを参照して説明する。この動作例においては、ビデオの1ピクチャが、1つのPESパケットにパケット化されていることを前提としている。これは、アメリカにおけるDTV や日本におけるISDB等のディジタル放送で規定されている符号化方法である。
Next, another operation example of the video stream analysis processing by the
ステップS81において、ストリーム解析部14は、記録するAVプログラムのビデオのPIDをセットする。トランスポートストリームの中に複数のAVプログラムが含まれている場合は、それぞれのプログラムのビデオPIDをセットする。
In step S81, the
ステップS82において、ストリーム解析部14は、ビデオのトランスポートパケットを受信する。ステップ83において、ストリーム解析部14は、トランスポートパケットのペイロードがPESパケットの第1バイト目から開始しているか否かを判定する。具体的には、トランスポートパケットヘッダにある"payload_unit_start_indicator"の値が1であるか否かを判定する。"payload_unit_start_indicator"の値が1である、すなわち、トランスポートパケットのペイロードがPESパケットの第1バイト目から開始していると判定された場合、ステップS84に進む。
In step S82, the
ステップS84において、ストリーム解析部14は、PESパケットのペイロードが、MPEGビデオのsequence_header_code(32ビット長で"0x000001B3"の符号)の第1バイト目から開始するか否かを判定する。PESパケットのペイロードがMPEGビデオのsequence_header_codeの第1バイト目から開始すると判定された場合、ステップS85に進み、現在のトランスポートパケットをエントリポイントと判定する。
In step S84, the
ステップS86において、ストリーム解析部14は、当該トランスポートパケットの読み出し開始ポイントをトランスポートストリーム管理テーブル作成部15に送信し、さらに、ビデオのPID、読み出し開始ポイントのタイムスタンプ、および、記録するトランスポートストリームの先頭から当該パケットまでのバイト数を、トランスポートストリーム管理テーブル作成部15に供給する。
In step S86, the
ステップS87において、ストリーム解析部14は、現在のトランスポートパケットが最終のトランスポートパケットであるか否かを判定する。最終のトランスポートパケットでないと判定された場合、ステップS82に戻り、それ以降の処理が繰り返され、最終のトランスポートパケットであると判定された場合、この解析処理は終了される。
In step S87, the
なお、ステップS83において、"payload_unit_start_indicator"の値が1ではない、すなわち、トランスポートパケットのペイロードがPESパケットの第1バイト目から開始していないと判定された場合、ステップS82に戻り、それ以降の処理が繰り返される。 If it is determined in step S83 that the value of "payload_unit_start_indicator" is not 1, that is, the payload of the transport packet has not started from the first byte of the PES packet, the process returns to step S82, and thereafter The process is repeated.
また、ステップS84において、PESパケットのペイロードがMPEGビデオのsequence_header_codeの第1バイト目から開始していないと判定された場合も、ステップS82に戻り、それ以降の処理が繰り返される。 If it is determined in step S84 that the payload of the PES packet does not start from the first byte of the sequence_header_code of the MPEG video, the process returns to step S82 and the subsequent processing is repeated.
次に、オーディオデータのトランスポートストリームを解析するストリーム解析部14の処理を図13のフローチャートを参照して説明する。ステップS91において、ストリーム解析部14は、記録するオーディオのPIDおよびstream_typeを、PAT/PMT解析部13から受信する。ステップS92において、ストリーム解析部14は、オーディオのトランスポートパケットを受信する。
Next, processing of the
ステップS93において、ストリーム解析部14は、ペイロードのオーディオストリームの中にオーディオフレームの第1バイト目のsync_byteが含まれているか否かを判定し、ペイロードのオーディオストリームの中にオーディオフレームの第1バイト目のsync_byteが含まれていると判定された場合、ステップS94に進み、オーディオフレームのsync_byteが含まれているパケットをランダムアクセスするときのオーディオフレームの読み出し開始ポイントであることを示すデータをトランスポートストリーム管理テーブル作成部15に送信し、さらに、オーディオパケットのPID、そのオーディオパケットのタイムスタンプ、および記録するトランスポートストリームの先頭から当該パケットまでのバイト数を、トランスポートストリーム管理テーブル作成部15に供給する。
In step S93, the
ステップS95において、ストリーム解析部14は、最終のパケットであるか否かを判定し、最終のパケットであると判定した場合、処理を終了する。ステップS95において、最終のパケットでないと判定された場合、ステップS92に戻り、それ以降の処理が繰り返される。
In step S95, the
以上のように、ストリーム解析部14は、オーディオフレームのランダムアクセスポイントを示すデータをトランスポートストリーム管理テーブル作成部15に送信する。なお、このオーディオストリームの解析は、記録するトランスポートストリームの中に複数のAVプログラムがある場合は、それぞれのAVプログラムのオーディオパケットに対して実行される。
As described above, the
なお、ランダムアクセスポイントリストで管理する「タイムスタンプ」を、ランダムアクセスポイントのIピクチャやオーディオフレームのPTS(Presentation Time Stamp)に基づいて計算するようにしてもよい。PTSは、MPEG2システムズ規格のPESパケットのヘッダに付加されている情報である。この場合、ランダムアクセスポイントリストで管理するタイムスタンプは、記録するトランスポートストリームの最初に表示されるビデオのPTSをオフセットとすれば、そのランダムアクセスポイントの絶対的な表示時刻を表すことになる。 The “time stamp” managed by the random access point list may be calculated based on the I picture of the random access point or the PTS (Presentation Time Stamp) of the audio frame. PTS is information added to the header of the MPEG2 Systems standard PES packet. In this case, the time stamp managed by the random access point list represents the absolute display time of the random access point if the PTS of the video displayed at the beginning of the transport stream to be recorded is used as an offset.
タイムスタンプとして、PTSを使用する場合、図9のステップS22、図10のステップS52、図11のステップS72、図12のステップS82、および図13のステップS92の各処理に、さらに、PTSを検出する処理を追加する必要がある。 When PTS is used as a time stamp, PTS is further detected in each process of step S22 in FIG. 9, step S52 in FIG. 10, step S72 in FIG. 11, step S82 in FIG. 12, and step S92 in FIG. It is necessary to add processing to be performed.
また、図10のステップS53または図11のステップS73、および図12のステップS84の各処理は、上述した方法に限定されるものではない。例えば、ビデオストリームのsequence_header_codeの後に、Iピクチャデータが続いてることを判定するようにすれば、アクセスポイントの判定をさらに確実二十こうすることが可能となる。この場合、まずsequence_header_codeを検出して、その直後のピクチャのpicture_coding_typeの値がIピクチャを示す"001"であるか否かを判定するようにすればよい。 Moreover, each process of step S53 of FIG. 10, step S73 of FIG. 11, and step S84 of FIG. 12 is not limited to the method mentioned above. For example, if it is determined that the I-picture data follows the sequence_header_code of the video stream, the access point can be determined more surely. In this case, sequence_header_code is first detected, and it may be determined whether or not the value of picture_coding_type of the immediately following picture is “001” indicating an I picture.
図14は、本発明に係る動画像再生装置の一実施の形態の構成を示すブロック図である。記録媒体30には、本発明に係る動画像記録装置で記録したトランスポートストリームファイルおよびそのストリーム管理テーブルファイルが記録されている。トランスポートストリームファイルは、1つまたは複数のAVプログラムが多重化されている。
FIG. 14 is a block diagram showing a configuration of an embodiment of a moving image reproduction apparatus according to the present invention. In the
読み出し部31は、記録媒体30に記録されているトランスポートストリームファイルおよびそのストリーム管理テーブルファイルを読み出し、復調部32に供給する。復調部32は、読み出し部31から供給されたトランスポートストリームファイルおよびそのストリーム管理テーブルファイルを復調し、誤り訂正部33に出力する。誤り訂正部33は、復調されたトランスポートストリームファイルおよびそのストリーム管理テーブルファイルに含まれるデータの誤りを訂正し、ファイルシステム34に出力する。ファイルシステム34は、トランスポートストリームをデマルチプレクサ35に供給し、ストリーム管理テーブルを再生制御部37に出力する。
The
再生制御部37は、ドライブ38を制御して、磁気ディスク39、光ディスク40、光磁気ディスク41、または半導体メモリ42に記憶されている制御用プログラムを読み出し、読み出した制御用プログラムやユーザインタフェース23から供給されたデータを基に、読み出し部31の動作を制御し、ユーザインタフェース23から供給されたデータおよびストリーム管理テーブルを基に、デマルチプレクサ35、およびAVデコーダを制御する。より詳細に説明すれば、再生制御部37は、そのAVプログラムのPMTのトランスポートパケットのPID、AVプログラムを構成するビデオのトランスポートパケットのPID、ビデオのstream_type、AVプログラムを構成するオーディオのトランスポートパケットのPID、オーディオのstream_type、PCR_PIDを、デマルチプレクサ35およびAVデコーダ36に出力する。
The
デマルチプレクサ35は、ユーザインタフェース23により指定されたAVプログラムを構成するビデオおよびオーデイオのトランスポートパケットを、ファイルシステム34から供給されたトランスポートストリームから分離し、AVデコーダ36に出力する。
The
AVデコーダ36は、再生制御部37の制御に基づき、デマルチプレクサ35から供給された所定のAVプログラムを構成するビデオおよびオーデイオのトランスポートパケットをデコードし、ビデオ信号およびオーディオ信号を出力する。
The
次に、動画像再生装置の再生処理について、図15のフローチャートを参照して説明する。ステップS101において、ユーザは、ユーザインタフェース23を操作して、所定のAVプログラムを指定する。ユーザインタフェース23は、所定のAVプログラムを指定するデータを再生制御部37に供給する。
Next, playback processing of the moving image playback apparatus will be described with reference to the flowchart of FIG. In step S101, the user operates the
ステップS102において、再生制御部37は、読み出し部31に、記録媒体30から所定のAVプログラムに対応するトランスポートストリーム管理テーブルファイルを読み出させる。読み出されたトランスポートストリーム管理テーブルファイルは、復調部32、誤り訂正部33、およびファイルシステム34の処理を経て、再生制御部37に入力される。ステップS103において、再生制御部37は、読み出し部31に、記録媒体30から所定のAVプログラムに対応するトランスポートストリームを読み出させる。
In step S102, the
ステップS104において、復調部32は、読み出し部31から供給されたトランスポートストリームファイルを復調し、誤り訂正部33に出力する。誤り訂正部33は、復調されたトランスポートストリームファイルに含まれるデータの誤りを訂正し、ファイルシステム34に出力する。ファイルシステム34は、トランスポートストリームをデマルチプレクサ35に供給する。デマルチプレクサ35は、再生制御部37の制御に基づき、ユーザに指定されたAVプログラムを構成するビデオおよびオーデイオのトランスポートパケットを、ファイルシステム34から供給されたトランスポートストリームから分離し、AVデコーダ36に出力する。AVデコーダ36は、再生制御部37の制御に基づき、デマルチプレクサ35から供給された所定のAVプログラムを構成するビデオおよびオーデイオのトランスポートパケットをデコードし、ビデオ信号およびオーディオ信号を出力する。
In step S <b> 104, the
ステップS105において、再生制御部37は、ユーザインタフェース23からの入力を基に、ランダムアクセス再生が指示されたか否かを判定し、ランダムアクセス再生が指示されていないと判定された場合、ステップS106に進み、AVプログラムの再生を終了するか否かを判定する。ステップS106において、AVプログラムの再生を終了しないと判定された場合、ステップS103に戻り、再びトランスポートストリームを記録媒体30から読み出して、再生処理を継続する。
In step S105, the
ステップS106において、AVプログラムの再生を終了すると判定された場合、この再生処理は終了される。 If it is determined in step S106 that the reproduction of the AV program is to be terminated, this reproduction process is terminated.
なお、ステップS105において、ランダムアクセス再生の指示が入力されたと判定された場合、再生制御部37は、トランスポートストリーム管理テーブルを基に、トランスポートストリームの読み出し位置を決定し、次に読み出させるAVプログラムの制御情報をデマルチプレクサ35およびAVデコーダ36にセットし、読み出し部31に読み出し位置のデータを出力した後、ステップS103に戻る。
If it is determined in step S105 that a random access playback instruction has been input, the
例えば、ユーザによって選択されたAVプログラムを指定された時刻から途中再生をする場合、再生制御部37は、トランスポートストリーム管理テーブルのタイムスタンプのリストから、指定された時刻に最も近いタイムスタンプを検索し、そのタイムスタンプに対応するトランスポートストリームのアドレスにあるIピクチャからデータを読み出すように読み出し部31を制御する。
For example, when playing back the AV program selected by the user from the specified time, the
さらに、再生制御部37は、次に読み出させるAVプログラムの制御情報として、PMTのトランスポートパケットのPID、AVプログラムを構成するビデオのトランスポートパケットのPID、ビデオのstream_type、AVプログラムを構成するオーディオのトランスポートパケットのPID、および、オーディオのstream_type、PCR_PIDを、デマルチプレクサ35およびAVデコーダ36にセットする。
Furthermore, the
また例えば、ユーザによって選択されたAVプログラムを高速再生をする場合、再生制御部37は、そのAVプログラムに対応する、トランスポートストリーム管理テーブルのランダムアクセスポイントのデータに基づいて、プログラムの中のIピクチヤデータを順次連続して読み出すように、読み出し部31を制御する。さらに、再生制御部37は、次に読み出させるIピクチャのビデオストリームの制御情報として、ビデオのトランスポートパケットのPID、およびビデオのstream_typeを、デマルチプレクサ35およびAVデコーダ36にセットする。
For example, when the AV program selected by the user is played back at a high speed, the
以上のように、動画像再生装置は、ランダムアクセス再生が指示された場合、予め読み出されたトランスポートストリーム管理テーブルを基に、トランスポートストリームを読み出して再生する。 As described above, when the random access playback is instructed, the moving image playback apparatus reads and plays the transport stream based on the transport stream management table read in advance.
ところで、上述した一連の処理は、ハードウェアにより実行させることもできるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、記録媒体からインストールされる。 By the way, the series of processes described above can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a recording medium in a general-purpose personal computer or the like.
この記録媒体は、図1に示すように、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク26(フロッピディスクを含む)、光ディスク27(CD-ROM(Compact Disc-Read Only Memory)、DVD(Digital Versatile Disc)を含む)、光磁気ディスク28(MD(Mini Disc)を含む)、もしくは半導体メモリ29などよりなるパッケージメディアにより構成されるだけでなく、コンピュータに予め組み込まれた状態でユーザに提供される、プログラムが記録されているROMやハードディスクなどで構成される。
As shown in FIG. 1, this recording medium is distributed to provide a program to a user separately from a computer, and includes a magnetic disk 26 (including a floppy disk) on which a program is recorded, an optical disk 27 (CD- It is not only composed of a package medium consisting of ROM (Compact Disc-Read Only Memory), DVD (Digital Versatile Disc), magneto-optical disk 28 (including MD (Mini Disc)), or
なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に従って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 In the present specification, the step of describing the program recorded in the recording medium is not limited to the processing performed in time series according to the described order, but is not necessarily performed in time series, either in parallel or individually. The process to be executed is also included.
11 PIDフィルタ, 12 スイッチ, 13 PAT/PMT解析部, 14 ス
トリーム解析部, 15 トランスポートストリーム管理テーブル作成部, 1
6 タイムスタンプ付加部, 20 書き込み部, 22 カウンタ, 24
制御部, 31 読み出し部, 35 デマルチプレクサ, 37 再生制御部
11 PID filter, 12 switch, 13 PAT / PMT analysis unit, 14 stream analysis unit, 15 transport stream management table creation unit, 1
6 Time stamp adding section, 20 writing section, 22 counter, 24
Control unit, 31 readout unit, 35 demultiplexer, 37 reproduction control unit
Claims (17)
前記多重化ストリームから前記ビデオストリームのランダムアクセスポイントを検出する検出手段と、
検出された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を計算する計算手段と、
計算された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を、前記多重化ストリーム上のランダムアクセスポイントのタイムスタンプと対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成するデータベース作成手段と、
前記ストリームファイルとは別に、前記データベースを前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして、前記情報記録媒体に記録する記録手段と
を含む記録装置。 A recording apparatus for recording a multiplexed stream including at least one packetized video stream as a stream file on an information recording medium,
Detecting means for detecting a random access point of the video stream from the multiplexed stream;
Calculating means for calculating address information on the video stream corresponding to the detected random access point;
The calculated address information on the video stream corresponding to the random access point is associated with the time stamp of the random access point on the multiplexed stream, and is tabulated for each transport packet having the same packet identification information. In addition, database creation means for collectively creating tables obtained by the table formation as one database,
In addition to the stream file, the recording apparatus includes: a recording unit that records the database on the information recording medium as a stream management information file having a one-to-one correspondence with the stream file.
請求項1に記載の記録装置。 The recording apparatus according to claim 1, wherein the detection unit detects the random access point by detecting a sequence header code of the video stream from the multiplexed stream.
前記データベース作成手段は、計算された前記アドレス情報を、抽出された前記ランダムアクセスポイントのピクチャの再生時刻情報にも対応付けたデータベースを作成する
請求項1に記載の記録装置。 Further comprising extraction means for extracting reproduction time information of a picture of the random access point;
The recording apparatus according to claim 1, wherein the database creating unit creates a database in which the calculated address information is also associated with reproduction time information of the extracted picture of the random access point.
請求項1に記載の記録装置。 The recording apparatus according to claim 1, wherein the packet identification information is a PID.
前記検出手段は、複数の前記ビデオストリーム毎にランダムアクセスポイントを検出し、
前記データベース作成手段は、複数の前記ビデオストリーム毎に計算された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を、前記多重化ストリーム上のランダムアクセスポイントのタイムスタンプと対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成する
請求項1に記載の記録装置。 When the multiplexed stream includes a plurality of the video streams,
The detection means detects a random access point for each of the plurality of video streams,
The database creating means associates the address information on the video stream corresponding to the random access point calculated for each of the plurality of video streams with the time stamp of the random access point on the multiplexed stream, and the same The recording apparatus according to claim 1, wherein each transport packet having packet identification information is tabulated and the tables obtained by the tabulation are collectively created as one database.
前記多重化ストリームから前記ビデオストリームのランダムアクセスポイントを検出する検出ステップと、
検出された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を計算する計算ステップと、
計算された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を、前記多重化ストリーム上のランダムアクセスポイントのタイムスタンプと対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成するデータベース作成ステップと、
前記ストリームファイルとは別に、前記データベースを前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして、前記情報記録媒体に記録する記録ステップと
を含む記録方法。 A recording method of a recording apparatus for recording a multiplexed stream including at least one packetized video stream as a stream file on an information recording medium,
Detecting a random access point of the video stream from the multiplexed stream;
Calculating the address information on the video stream corresponding to the detected random access point;
The calculated address information on the video stream corresponding to the random access point is associated with the time stamp of the random access point on the multiplexed stream, and is tabulated for each transport packet having the same packet identification information. In addition, a database creation step of creating a single database by collecting the tables obtained by the table formation,
A recording method comprising: recording the database as a stream management information file having a one-to-one correspondence with the stream file on the information recording medium separately from the stream file.
前記多重化ストリームから前記ビデオストリームのランダムアクセスポイントを検出する検出ステップと、
検出された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を計算する計算ステップと、
計算された前記ランダムアクセスポイントに対応する前記ビデオストリーム上のアドレス情報を、前記多重化ストリーム上のランダムアクセスポイントのタイムスタンプと対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成するデータベース作成ステップと、
前記ストリームファイルとは別に、前記データベースを前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして、前記情報記録媒体に記録する記録ステップと
を含む処理を記録装置のコンピュータに実行させるコンピュータ読み取り可能なプログラムが記録されている記録媒体。 A program for controlling a recording apparatus that records a multiplexed stream including at least one packetized video stream as a stream file on an information recording medium,
Detecting a random access point of the video stream from the multiplexed stream;
Calculating the address information on the video stream corresponding to the detected random access point;
The calculated address information on the video stream corresponding to the random access point is associated with the time stamp of the random access point on the multiplexed stream, and is tabulated for each transport packet having the same packet identification information. In addition, a database creation step of creating a single database by collecting the tables obtained by the table formation,
Separately from the stream file, the database is recorded as a stream management information file having a one-to-one correspondence with the stream file, and a recording step of recording on the information recording medium is executed by a computer of a recording apparatus. Medium on which various programs are recorded.
前記ビデオストリームの再生開始位置を指定する指定手段と、
前記情報記録媒体から前記データベースを読み出す読み出し手段と、
読み出された前記データベースから、指定された前記再生開始位置に最も近いランダムアクセスポイントに対応する前記アドレス情報を検索する検索手段と、
検索された前記アドレス情報に基づいて、前記情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生手段と
を含む再生装置。 A multiplexed stream including at least one packetized video stream is recorded as a stream file, and address information on the video stream corresponding to a random access point on the video stream is associated with a time stamp, and the same A table is created for each transport packet having the packet identification information and the table obtained by the table formation is created as a single database separately from the stream file and the stream file. A playback apparatus for playing back an image signal corresponding to the video stream from an information recording medium recorded as a stream management information file having a one-to-one correspondence with
Designating means for designating the playback start position of the video stream;
Reading means for reading the database from the information recording medium;
Search means for searching the address information corresponding to the random access point closest to the designated reproduction start position from the read database;
And a reproducing unit that reproduces an image signal corresponding to the video stream from the information recording medium based on the searched address information.
請求項8に記載の再生装置。 When a plurality of video streams are multiplexed on the multiplexed stream and a playback start position of the video stream to be played back is specified from among the plurality of video streams, the search means The playback device according to claim 8, wherein the address information corresponding to a random access point closest to the playback start position of the designated video stream is searched.
前記ビデオストリームの再生開始位置を指定する指定ステップと、
前記情報記録媒体から前記データベースを読み出す読み出しステップと、
読み出された前記データベースから、前記指定された再生開始位置に最も近いランダムアクセスポイントに対応する前記アドレス情報を検索する検索ステップと、
検索された前記アドレス情報に基づいて、前記情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生ステップと
を含む再生方法。 A multiplexed stream including at least one packetized video stream is recorded as a stream file, and address information on the video stream corresponding to a random access point on the video stream is associated with a time stamp, A table is created for each transport packet having the same packet identification information, and the tables obtained by the table formation are collectively created as one database, separately from the stream file, and the stream A playback method of a playback apparatus for playing back an image signal corresponding to the video stream from an information recording medium recorded as a stream management information file having a one-to-one correspondence with a file,
A designation step for designating a playback start position of the video stream;
A reading step of reading the database from the information recording medium;
A search step of searching the address information corresponding to the random access point closest to the designated reproduction start position from the read database;
A reproduction step of reproducing an image signal corresponding to the video stream from the information recording medium based on the searched address information.
前記ビデオストリームの再生開始位置を指定する指定ステップと、
前記情報記録媒体から前記データベースを読み出す読み出しステップと、
読み出された前記データベースから、前記指定された再生開始位置に最も近いランダムアクセスポイントに対応する前記アドレス情報を検索する検索ステップと、
検索された前記アドレス情報に基づいて、前記情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生ステップと
を含む処理を再生装置のコンピュータに実行させるコンピュータ読み取り可能なプログラムが記録されている記録媒体。 A multiplexed stream including at least one packetized video stream is recorded as a stream file, and address information on the video stream corresponding to a random access point on the video stream is associated with a time stamp, A table is created for each transport packet having the same packet identification information, and the tables obtained by the table formation are collectively created as one database, separately from the stream file, and the stream A program for controlling a playback apparatus that plays back an image signal corresponding to the video stream from an information recording medium recorded as a stream management information file having a one-to-one correspondence with a file,
A designation step for designating a playback start position of the video stream;
A reading step of reading the database from the information recording medium;
A search step of searching the address information corresponding to the random access point closest to the designated reproduction start position from the read database;
Based on the searched address information, there is recorded a computer-readable program that causes a computer of a playback device to execute a process including a playback step of playing back an image signal corresponding to the video stream from the information recording medium recoding media.
前記ビデオストリームのランダムアクセスポイントを検出する検出手段と、
検出されたランダムアクセスポイントのアドレス情報とタイムスタンプを対応付け、同一のパケット識別情報を有するトランスポートパケット毎にテーブル化するとともに、前記テーブル化によりそれぞれ得られるテーブルをまとめて1つのデータベースとして作成するデータベース作成手段と、
前記ストリームファイルとは別に、前記データベースを前記ストリームファイルと1対1に対応するストリーム管理情報ファイルとして、前記情報記録媒体に記録する記録手段と
を含む記録装置。 A recording apparatus for recording a multiplexed stream including at least one packetized video stream as a stream file on an information recording medium,
Detecting means for detecting a random access point of the video stream;
The address information and time stamp of the detected random access point are associated with each other, and each transport packet having the same packet identification information is tabulated, and the tables obtained by the tabulation are collectively created as one database. Database creation means;
In addition to the stream file, the recording apparatus includes: a recording unit that records the database on the information recording medium as a stream management information file having a one-to-one correspondence with the stream file.
請求項12に記載の記録装置。 The recording apparatus according to claim 12, wherein the time stamp is reproduction time information of a picture of the random access point.
請求項12に記載の記録装置。 The recording apparatus according to claim 12, wherein the time stamp is arrival time information of the video stream including the random access point at the recording apparatus.
前記情報記録媒体から前記データベースを読み出す読み出し手段と、
読み出された前記データベースに記述されている前記アドレス情報に基づいて、前記情報記録媒体から前記ビデオストリームに対応する画像信号を再生する再生手段と
を含む再生装置。 A multiplexed stream including at least one packetized video stream is recorded as a stream file, and address information on the video stream corresponding to a random access point on the video stream is associated with a time stamp, and the same A table is created for each transport packet having the packet identification information and the table obtained by the table formation is created as a single database separately from the stream file and the stream file. A playback apparatus for playing back an image signal corresponding to the video stream from an information recording medium recorded as a stream management information file having a one-to-one correspondence with
Reading means for reading the database from the information recording medium;
A playback device including playback means for playing back an image signal corresponding to the video stream from the information recording medium based on the read address information described in the database.
請求項15に記載の再生装置。 The playback apparatus according to claim 15, wherein the time stamp is playback time information of a picture of the random access point.
請求項15に記載の再生装置。 The playback device according to claim 15, wherein the time stamp is arrival time information when the video stream including the random access point is recorded on the recording medium .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009038773A JP4831181B2 (en) | 1999-03-19 | 2009-02-23 | Recording apparatus and method, reproducing apparatus and method, and recording medium |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1999076148 | 1999-03-19 | ||
JP7614899 | 1999-03-19 | ||
JP2009038773A JP4831181B2 (en) | 1999-03-19 | 2009-02-23 | Recording apparatus and method, reproducing apparatus and method, and recording medium |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP31773899A Division JP4292654B2 (en) | 1999-03-19 | 1999-11-09 | Recording apparatus and method, reproducing apparatus and method, and recording medium |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011168181A Division JP5557050B2 (en) | 1999-03-19 | 2011-08-01 | Information recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009118526A JP2009118526A (en) | 2009-05-28 |
JP4831181B2 true JP4831181B2 (en) | 2011-12-07 |
Family
ID=36703677
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009038773A Expired - Lifetime JP4831181B2 (en) | 1999-03-19 | 2009-02-23 | Recording apparatus and method, reproducing apparatus and method, and recording medium |
JP2011168181A Expired - Lifetime JP5557050B2 (en) | 1999-03-19 | 2011-08-01 | Information recording medium |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011168181A Expired - Lifetime JP5557050B2 (en) | 1999-03-19 | 2011-08-01 | Information recording medium |
Country Status (2)
Country | Link |
---|---|
JP (2) | JP4831181B2 (en) |
CN (1) | CN100541635C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11104273B2 (en) * | 2016-12-08 | 2021-08-31 | Robert Bosch Gmbh | Arrangement to prevent erroneous image orientation for rear view camera |
CN111698546B (en) * | 2020-06-29 | 2023-02-03 | 平安国际智慧城市科技股份有限公司 | Video structured result transmission method and device, terminal equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3370457B2 (en) * | 1994-11-10 | 2003-01-27 | 三菱電機株式会社 | Optical disc, optical disc recording method and recording apparatus, and optical disc reproducing method and reproducing apparatus |
JP3248380B2 (en) * | 1994-12-15 | 2002-01-21 | ソニー株式会社 | Data decoding device and data decoding method |
JP4095681B2 (en) * | 1995-02-24 | 2008-06-04 | 株式会社日立製作所 | Data recording method and apparatus, and data recording / reproducing apparatus |
JP3740712B2 (en) * | 1995-06-13 | 2006-02-01 | 三菱電機株式会社 | Recording / reproducing apparatus and recording / reproducing method |
JPH1118051A (en) * | 1997-06-24 | 1999-01-22 | Matsushita Electric Ind Co Ltd | I-frame extract method |
-
2000
- 2000-03-19 CN CNB2005100998019A patent/CN100541635C/en not_active Expired - Fee Related
-
2009
- 2009-02-23 JP JP2009038773A patent/JP4831181B2/en not_active Expired - Lifetime
-
2011
- 2011-08-01 JP JP2011168181A patent/JP5557050B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2011259479A (en) | 2011-12-22 |
JP2009118526A (en) | 2009-05-28 |
JP5557050B2 (en) | 2014-07-23 |
CN100541635C (en) | 2009-09-16 |
CN1758364A (en) | 2006-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4292654B2 (en) | Recording apparatus and method, reproducing apparatus and method, and recording medium | |
JP4737572B2 (en) | Data recording medium | |
JP4485125B2 (en) | AV data recording / reproducing apparatus and method, and disc recorded by the AV data recording / reproducing apparatus or method | |
US7764862B2 (en) | Method of and apparatus for setting video signal delimiter information judged from audio and video signals | |
JP5031892B2 (en) | Information recording apparatus and information recording method | |
JPH1173737A (en) | Recording device and method, reproducing device and method and record medium | |
JP4831181B2 (en) | Recording apparatus and method, reproducing apparatus and method, and recording medium | |
JPWO2018088220A1 (en) | Information processing apparatus, information recording medium, information processing method, and program | |
JP4799484B2 (en) | Commercial discriminating apparatus, method and program, and digital broadcast recording apparatus, method and program | |
KR20050055621A (en) | Information recording device, information reproduction device, method, and computer program | |
JP4568230B2 (en) | Data processing device | |
JP3742688B2 (en) | Compressed video / audio data decoding apparatus and compressed video / audio data decoding method | |
JPH1079917A (en) | Data reproduction and recording device | |
KR101110902B1 (en) | Information recording medium, multiplexer, and decoder | |
JP2005235272A (en) | Data recording/reproducing device | |
JP2006080589A (en) | Edit information sharing system | |
JP2000115706A (en) | Digital signal recording and reproducing device | |
JP2006054629A (en) | Data recording / reproducing method and recording / reproducing apparatus | |
JP2007250104A (en) | Video reproducing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20090223 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090223 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101028 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101102 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110104 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110531 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110801 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110823 |
|
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: 20110905 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4831181 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140930 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |