JP2005346757A - Mpeg stream recording device, mpeg stream recording method, and mpeg stream conversion method - Google Patents

Mpeg stream recording device, mpeg stream recording method, and mpeg stream conversion method Download PDF

Info

Publication number
JP2005346757A
JP2005346757A JP2004161691A JP2004161691A JP2005346757A JP 2005346757 A JP2005346757 A JP 2005346757A JP 2004161691 A JP2004161691 A JP 2004161691A JP 2004161691 A JP2004161691 A JP 2004161691A JP 2005346757 A JP2005346757 A JP 2005346757A
Authority
JP
Japan
Prior art keywords
pes
audio
mpeg2
recording
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004161691A
Other languages
Japanese (ja)
Inventor
Makoto Kusunoki
誠 楠
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2004161691A priority Critical patent/JP2005346757A/en
Publication of JP2005346757A publication Critical patent/JP2005346757A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To accelerate processing speed and reduce required storage capacity when converting MPEG-TS to MPEG-PS and recording it. <P>SOLUTION: A speech PES is extracted from a MPEG2-TS and whether or not the PES length is smaller than the maximum PES length of one speech PES packet of MPEG2-PS is determined. When it is determined smaller, ESs are extracted from the speech PES and collected and the PES length is divided so that it may become the maximum PES length of one speech PES packet of MPEG 2-PS. Further, the speech PTS is calculated and added to a PES header based on the number of speech frame contained in the speech ES. The speech PES converted is divided into the speech packets of the MPEG2-TS and the original MPEG2-TS is overwritten. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、MPEG(Moving Picture Experts Group)2規格に準拠して構成されるTS(Transport Stream)を記録する記録装置、記録方法及びMPEGストリーム変換方法に関し、特に記録したTSを再生してPS(Program Stream)に変換して再び記録するような記録手順を実行する装置に適用して好適なMPEGストリーム記録装置、記録方法及びストリーム変換方法に関する。   The present invention relates to a recording apparatus, a recording method, and an MPEG stream conversion method for recording a TS (Transport Stream) configured in conformity with the MPEG (Moving Picture Experts Group) 2 standard. The present invention relates to an MPEG stream recording apparatus, a recording method, and a stream conversion method that are suitable for being applied to an apparatus that executes a recording procedure such as conversion to (Program Stream) and recording again.

昨今、例えばデジタル放送を受信するテレビジョン受像機において、放送番組の録画機能を備えた製品が市場に提供されつつある。録画機能を備えたテレビジョン受像機としては、記録媒体として例えば、大記録容量を有するHDD(Hard Disk Drive)を内部に備え、放送番組を垂れ流し的に例えば数日分連続して録画しておき、後で、真に残しておきたい番組を他のリムーバルな記録媒体、例えばDVD(Digital Versatile Disk)に記録し直すというような使い方がされるのが一般的である。   In recent years, for example, in television receivers that receive digital broadcasting, products having a broadcast program recording function are being offered to the market. As a television receiver having a recording function, for example, an HDD (Hard Disk Drive) having a large recording capacity is internally provided as a recording medium, and a broadcast program is continuously recorded, for example, for several days. Then, the program is generally used such that a program that the user really wants to leave is recorded again on another removable recording medium such as a DVD (Digital Versatile Disk).

現行デジタルテレビジョン放送は、MPEG2規格に準拠した多重信号で伝送され、そのストリームとしてはTSが用いられている。   The current digital television broadcast is transmitted as a multiplexed signal conforming to the MPEG2 standard, and TS is used as the stream.

テレビジョン受像機で受信された放送信号は、復調、デマルチプレクス処理等を施されてTSとして出力され、HDDにはそのTSの形態で記録される。   The broadcast signal received by the television receiver is demodulated, demultiplexed, etc., and output as a TS, which is recorded on the HDD in the form of the TS.

そのようにして記録したTSは、再生されてデコードされ、さらに標準テレビジョン信号に変換されてモニタによって映像及び音声として提示される。   The TS thus recorded is reproduced and decoded, and further converted into a standard television signal and presented as video and audio on the monitor.

垂れ流し的に記録された番組の多くは、例えば一度再生すれば充分なものであるが、中には、永久に保存しておきたいという番組も存在して、その場合にはユーザは、DVDに記録をし直すことになるが、DVDは基本的にMPEG2−PSで記録するため、HDDから再生されたTSをPSに変換してから記録する必要がある。   Many of the programs that are recorded in a flowing manner are sufficient if they are played once, for example, but there are also programs that you want to keep permanently, in which case the user can save them on a DVD. Although the recording is performed again, the DVD is basically recorded in MPEG2-PS. Therefore, it is necessary to record after converting the TS reproduced from the HDD into PS.

MPEG2−TSと、MPEG2−PSでは、PES(Packetized Elementary Stream)を共通データとするが、両者でPES長(データ列長)が一致しないため、効率的な変換を行うことが難しいという問題を有している。例えばTSの音声PESをそのままPSフォーマットに適用しようとすると記録に必要な容量が増え、記録媒体の容量を有効活用できず、効率的でないという問題が生ずる。   MPEG2-TS and MPEG2-PS use PES (Packetized Elementary Stream) as common data. However, since the PES length (data string length) does not match between them, there is a problem that efficient conversion is difficult. doing. For example, if the TS audio PES is applied to the PS format as it is, the capacity required for recording increases, the capacity of the recording medium cannot be effectively used, and there is a problem that it is not efficient.

それを図面を参照して説明する。図6は、MPEG2−TSのデータ構造と、映像PES及び音声PESのデータ構造を示す。MPEG2−TSは同期バイト(0x47)から始まるTSヘッダとpayloadと呼ばれるデータ本体からなる188byteのパケットの列から構成される。映像データと音声データはこのpayload部分に分割して格納されている。   This will be described with reference to the drawings. FIG. 6 shows the data structure of MPEG2-TS and the data structure of video PES and audio PES. MPEG2-TS is composed of a 188-byte packet sequence consisting of a TS header starting from a synchronization byte (0x47) and a data body called payload. Video data and audio data are divided and stored in the payload section.

ここで映像および音声データはPESで特定されるパケット単位となっている。PESの先頭にはヘッダを持ち、このヘッダにPESを表示またはデコードする時間情報が記載される。PESの単位は映像については1フレーム分のデータであり、音声については特に規定はないが1音声フレームから数音声フレームを1つのPESとすることが多く、そのため、それぞれのPESの長さは可変長となる。   Here, the video and audio data are in packet units specified by the PES. A head of the PES has a header, and time information for displaying or decoding the PES is described in the header. The unit of PES is data for one frame for video, and there is no particular rule for audio, but there are many cases where one audio frame to several audio frames are used as one PES. Therefore, the length of each PES is variable. Become long.

MPEG2−TSストリームからPESを抽出するには、例えば映像の場合は映像パケットのpayloadを集めて1つのPESを構築することになる。   In order to extract a PES from an MPEG2-TS stream, for example, in the case of video, a payload of video packets is collected to construct one PES.

図7にMPEG2−PSストリームのデータ構造と、映像PES及び音声PESのデータ構造を示す。MPEG2−PSは2048byteのパック(pack)と呼ばれるパケットの列から構成される。パックの先頭にはパックヘッダが付加され、それに続いてPESが格納される。MPEG2−PSにおけるPESの長さはパック長(2048byte)からパックヘッダ長を引いた残りの長さとなる。すなわちMPEG2−PSにおける映像PES長は1フレーム単位ではなく、また音声PES長についても音声フレーム単位で決定されるわけではない。   FIG. 7 shows the data structure of the MPEG2-PS stream and the data structure of the video PES and audio PES. MPEG2-PS is composed of a sequence of packets called a 2048-byte pack. A pack header is added to the head of the pack, and then PES is stored. The length of the PES in MPEG2-PS is the remaining length obtained by subtracting the pack header length from the pack length (2048 bytes). That is, the video PES length in MPEG2-PS is not determined in units of one frame, and the audio PES length is not determined in units of audio frames.

MPEG2−TSとMPEG2−PSのフォーマット変換はPESを共通データとするが、上記に示したように両者でPES長が一致しているとは限らないため、通常は、TSのPESをPSのPES構造に合わせる処理を行う。   In the format conversion between MPEG2-TS and MPEG2-PS, PES is used as common data. However, since the PES lengths do not always match as described above, the TS PES is usually converted to the PES PES. Process to match the structure.

すなわち、MPEG2−TSの音声PES長がMPEG2−PSのパック長を超える場合はPESを分割して複数のパック内に収容させる。またMPEG2−TSの音声PES長がMPEG2−PSのパック長より充分小さい場合には、図8に示すようにMPEG2−PSのパック長の余った部分にPadding byteと呼ばれるダミーのデータを詰めることになる。   That is, when the audio PES length of MPEG2-TS exceeds the pack length of MPEG2-PS, the PES is divided and accommodated in a plurality of packs. If the MPEG2-TS audio PES length is sufficiently smaller than the MPEG2-PS pack length, dummy data called padding bytes is packed in the remaining portion of the MPEG2-PS pack length as shown in FIG. Become.

実際には、MPEG2−TSの音声PES長はMPEG2−PSのパック長より充分小さい場合がほとんどであり、Padding byteによってパックのデータ長が調整される。   Actually, in most cases, the audio PES length of MPEG2-TS is sufficiently smaller than the pack length of MPEG2-PS, and the data length of the pack is adjusted by padding byte.

例えばPES長が700byte程度の場合、これをそのまま1音声パックに入れるとすると有効データが3割程度になってしまって、記録媒体の容量を有効活用できないという問題を有する。   For example, when the PES length is about 700 bytes, if it is put in one audio pack as it is, the effective data becomes about 30%, and the capacity of the recording medium cannot be effectively used.

従来、MPEG2−TSをPSに変換して記録する提案が、例えば特許文献1に開示されているが、PES長の違いによって、無駄なダミーデータを付加する必要があるという問題点については全く開示されていない。   Conventionally, a proposal for converting MPEG2-TS into PS and recording is disclosed in, for example, Japanese Patent Application Laid-Open No. H10-228707. However, the problem that unnecessary dummy data needs to be added due to the difference in PES length is completely disclosed. It has not been.

さらにまた、特許文献2には、MPEG2−TSからMPEG2−PSへの変換を高速で行えるようにした提案が示されているが、この提案においても、Padding byteによるデータ長の調整を行うことが記述されており、記録媒体の容量を有効活用するという点に関しては記載されていない。
特開2000−138896号公報(第3〜4頁、図1,5) 特開2003−228922号公報(第33頁、図67)
Furthermore, Patent Document 2 discloses a proposal that enables conversion from MPEG2-TS to MPEG2-PS at a high speed. In this proposal as well, the data length can be adjusted by padding bytes. However, it does not describe the point of effectively using the capacity of the recording medium.
JP 2000-138896 A (3rd to 4th pages, FIGS. 1 and 5) JP 2003-228922 A (page 33, FIG. 67)

以上のように、従来、MPEG2−TSをMPEG2−PSに変換しようとすると、両者の音声PES長が異なることにより、変換処理に時間がかかり、また、変換の際に、ダミーデータで隙間を埋める処理が施されるため、多くのダミーデータを含むストリームになり、これを記録する際に、記録媒体の容量が無駄に使われてしまうという問題があった。   As described above, conventionally, when trying to convert MPEG2-TS to MPEG2-PS, both audio PES lengths are different, so that the conversion process takes time, and the gap is filled with dummy data during the conversion. Since the processing is performed, the stream includes a lot of dummy data, and there is a problem that the capacity of the recording medium is wasted when recording the stream.

本発明は、以上の点に考慮してなされたものであり、MPEG2−TSの音声PESを、一旦一まとめにした後、MPEG2−PSの音声パックに含まれる音声PES長と同等になるように分割し、そのように変換した音声PESを、MPEG2−TSにもともと含まれる音声PESと入れ替えることにより、記録媒体の容量を有効活用でき、さらにMPEG2−PSへの変換処理を高速で実行できるようにした、MPEGストリーム記録装置、MPEGストリーム記録方法及びMPEGストリーム変換方法を提供することを目的とする。   The present invention has been made in consideration of the above points, and once the MPEG2-TS audio PESs are grouped together, it is equivalent to the audio PES length included in the MPEG2-PS audio pack. By replacing the audio PES that is divided and converted in this way with the audio PES originally included in the MPEG2-TS, the capacity of the recording medium can be used effectively, and the conversion process to MPEG2-PS can be executed at high speed. An object of the present invention is to provide an MPEG stream recording apparatus, an MPEG stream recording method, and an MPEG stream conversion method.

本発明のMPEGストリーム記録装置は、MPEG2−TSを受ける入力手段と、前記入力されたMPEG2−TSから音声PESを抽出する音声PES抽出手段と、前記抽出された音声PESの複数を単一のPESとして組み合わせ、かつその組み合わされたPES長が、MPEG2−PSの音声パックに含まれるPES長と同等になるように再構成する音声PES変換手段と、前記音声PES変換手段によって変換された音声PESに基づいて、前記入力手段に入力されたMPEG2−TSの音声PESを変更するMPEG2−TS変更手段と、前記音声PESが変更されたMPEG2−TSを記録媒体に記録する記録手段と、を具備したことを特徴とする。   An MPEG stream recording apparatus according to the present invention includes an input unit that receives MPEG2-TS, an audio PES extraction unit that extracts audio PES from the input MPEG2-TS, and a plurality of the extracted audio PESs as a single PES. Are combined, and the combined PES length is reconfigured so as to be equivalent to the PES length included in the MPEG2-PS audio pack, and the audio PES converted by the audio PES conversion unit And an MPEG2-TS changing means for changing the MPEG2-TS audio PES input to the input means, and a recording means for recording the MPEG2-TS with the changed audio PES on a recording medium. It is characterized by.

本発明のMPEGストリーム記録装置は、MPEG2−TSを受ける入力手段と、前記入力されたMPEG2−TSから音声PESを抽出する音声PES抽出手段と、前記抽出された音声PESの複数を単一のPESに組み合わせ、かつその組み合わされたPES長を、MPEG2−PSの音声パックに含まれるPES長と同等になるように再構成する音声PES変換手段と、前記音声PES変換手段によって変換された音声PESに基づいて、前記入力手段に入力されたMPEG2−TSの音声PESを変更する変更手段と、前記音声PESが変更されたMPEG2−TSを第1の記録媒体に記録する第1の記録手段と、前記記録媒体に記録されたMPEG2−TSをMPEG2−PSに変換するストリーム変換手段と、前記ストリーム変換手段によって変換されたMPEG2−PSを第2の記録媒体に記録する第2の記録手段と、を具備したことを特徴とする。   An MPEG stream recording apparatus according to the present invention includes an input unit that receives MPEG2-TS, an audio PES extraction unit that extracts audio PES from the input MPEG2-TS, and a plurality of the extracted audio PESs as a single PES. And PES conversion means for reconfiguring the combined PES length so as to be equivalent to the PES length included in the MPEG2-PS audio pack, and the audio PES converted by the audio PES conversion means Based on this, the changing means for changing the audio PES of MPEG2-TS input to the input means, the first recording means for recording the MPEG2-TS in which the audio PES is changed, on the first recording medium, Stream converting means for converting MPEG2-TS recorded on a recording medium into MPEG2-PS; And second recording means for recording the MPEG2-PS converted by means on the second recording medium, characterized by comprising a.

本発明のMPEGストーム記録方法は、MPEG2−TSを受けるステップと、前記入力されたMPEG2−TSから音声PESを抽出するステップと、前記抽出された複数の音声PESを単一のPESとして組み合わせるステップと、前記組み合わされたPES長を、MPEG2−PSの音声パックに含まれるPES長と同等になるように再構成するステップと、前記再構成された音声PESに基づいて、前記入力手段に入力されたMPEG2−TSの音声PESを変更するステップと、前記音声PESが変更されたMPEG2−TSを記録媒体に記録するステップと、を具備したことを特徴とする。   The MPEG storm recording method of the present invention includes receiving MPEG2-TS, extracting audio PES from the input MPEG2-TS, and combining the extracted audio PESs as a single PES. , Reconfiguring the combined PES length to be equivalent to the PES length included in the MPEG2-PS audio pack, and input to the input means based on the reconfigured audio PES A step of changing the audio PES of the MPEG2-TS, and a step of recording the MPEG2-TS in which the audio PES has been changed on a recording medium.

本発明のMPEGストリーム変換方法は、MPEG2−TSを受けるステップと、前記入力されたMPEG2−TSから音声PESを抽出するステップと、前記抽出された複数の音声PESを単一のPESとして組み合わせるステップと、前記組み合うわされたPES長を、MPEG2−PSの音声パックに含まれるPES長と同等になるように再構成するステップと、前記再構成された音声PESに基づいて、前記入力手段に入力されたMPEG2−TSの音声PESを変更するステップと、前記音声PESが変更されたMPEG2−TSをMPEG2−PSに変換するステップと、を具備したことを特徴とする。   The MPEG stream conversion method of the present invention includes receiving MPEG2-TS, extracting audio PES from the input MPEG2-TS, and combining the extracted audio PESs as a single PES. , Reconfiguring the combined PES length to be equivalent to the PES length included in the MPEG2-PS audio pack, and input to the input means based on the reconfigured audio PES A step of changing the audio PES of the MPEG2-TS, and a step of converting the MPEG2-TS in which the audio PES is changed into MPEG2-PS.

本発明によれば、MPEG2−PSに変換する際に、ダミーデータが付加されるのを、抑制することができ、変換したMPEG2−PSを記録媒体に記録する際に、記録媒体の容量を無駄に使うことなく有効活用でき、さらに、MPEG2−PSへの変換処理を高速で実行することができるものである。   According to the present invention, it is possible to suppress the addition of dummy data when converting to MPEG2-PS, and when recording the converted MPEG2-PS on a recording medium, the capacity of the recording medium is wasted. It can be used effectively without being used, and the conversion process to MPEG2-PS can be executed at high speed.

以下、図面を参照して、この発明のMPEGストリーム記録装置の一実施の形態を詳細に説明する。
図1は、本発明に係るMPEGストリーム記録装置の一実施の形態を示す回路ブロック図である。図1に示すMPEGストリーム記録装置100は、デジタル放送を受信する機能を有するセットトップボックスに、HDDによる記録手段と、DVDによる記録手段を組み込んだ構成となっている。
Hereinafter, an embodiment of an MPEG stream recording apparatus according to the present invention will be described in detail with reference to the drawings.
FIG. 1 is a circuit block diagram showing an embodiment of an MPEG stream recording apparatus according to the present invention. An MPEG stream recording apparatus 100 shown in FIG. 1 has a configuration in which recording means using HDD and recording means using DVD are incorporated in a set-top box having a function of receiving digital broadcasting.

すなわち、記録装置100は、アンテナ101でキャッチされる放送電波を受信するためのチューナ部102を有し、このチューナ部102から出力されるMPEG2−TSをTS記憶バッファ103を介してHDD104に記録し、さらに、HDD104に記録されたMPEG2−TSを記録型DVD105に記録するという基本的機能を実行するための構成を備える。この基本機能を実行させるために、HDD104及び記録型DVD105の動作を制御するための制御部106が設けられ、ユーザが操作する操作入力部107からのコマンドを受けて、HDD104,DVD105の記録再生動作を実行させる。   That is, the recording apparatus 100 has a tuner unit 102 for receiving broadcast radio waves caught by the antenna 101, and records MPEG2-TS output from the tuner unit 102 on the HDD 104 via the TS storage buffer 103. Furthermore, a configuration for executing a basic function of recording MPEG2-TS recorded on the HDD 104 on the recordable DVD 105 is provided. In order to execute this basic function, a control unit 106 for controlling the operation of the HDD 104 and the recordable DVD 105 is provided. Upon receiving a command from the operation input unit 107 operated by the user, the recording / reproducing operation of the HDD 104 and the DVD 105 is performed. Is executed.

チューナ部102は、例えば地上波デジタル放送に対応したものであり、受信したデジタル放送チャンネルの信号を復調し、誤り訂正、必要に応じてデスクランブル等の処理を施してMPEG2−TSに変換して出力する。   The tuner unit 102 is compatible with, for example, terrestrial digital broadcasting. The tuner unit 102 demodulates the received digital broadcasting channel signal, performs error correction, descrambling processing as necessary, and converts it into MPEG2-TS. Output.

さらに、記録装置100は、本発明の重要な構成要素であるところの、音声PES変換処理部108を備えている。この音声PES変換処理部108は、MPEG2−TSの音声PESを、無駄なく容易にMPEG2−PSに変換できるフォーマットに再構築するものであるが、その構成及び動作の詳細については後に説明する。   Furthermore, the recording apparatus 100 includes an audio PES conversion processing unit 108, which is an important component of the present invention. The audio PES conversion processing unit 108 reconstructs the MPEG2-TS audio PES into a format that can be easily converted into MPEG2-PS without waste. Details of the configuration and operation will be described later.

さらに記録装置100は、チューナ部102とは別に、外部からMPEG2−TSを受けるための、IEEE(Institute of Electrical and Electronics Engineers)1394入力I/F(Interface)109と、HDD104から再生されたMPEG2−TSを外部に導出するためのIEEE1394出力I/F110を備えており、1394入力I/F109は、端子111から信号を受け、1394出力I/F110は、端子112からMPEG2−TSを出力する。   In addition to the tuner unit 102, the recording apparatus 100 includes an IEEE (Institute of Electrical and Electronics Engineers) 1394 input I / F (Interface) 109 for receiving MPEG2-TS from the outside, and an MPEG2-reproduced from the HDD 104. An IEEE 1394 output I / F 110 for deriving TS to the outside is provided. The 1394 input I / F 109 receives a signal from the terminal 111, and the 1394 output I / F 110 outputs MPEG2-TS from the terminal 112.

音声PES変換処理部108について詳細に説明する。
音声PES変換処理部108は、チューナ部102に接続され、このチューナ部102から供給されるMPEG2−TSから音声パケットを分離抽出するTS音声パケットフィルタ113を備えている。TS音声パケットフィルタ113で抽出された音声パケットデータは、音声PESフィルタ114に供給される。音声PESフィルタ114では、音声パケットデータから音声PESを抽出して音声PES記憶バッファ115に導出すると共に、音声パケットデータから音声PES長を示すデータを抽出して、これを、音声PES変換判定部116に供給する。
The audio PES conversion processing unit 108 will be described in detail.
The audio PES conversion processing unit 108 is connected to the tuner unit 102 and includes a TS audio packet filter 113 that separates and extracts an audio packet from MPEG2-TS supplied from the tuner unit 102. The voice packet data extracted by the TS voice packet filter 113 is supplied to the voice PES filter 114. The voice PES filter 114 extracts voice PES from the voice packet data and derives the voice PES to the voice PES storage buffer 115, and also extracts data indicating the voice PES length from the voice packet data. To supply.

すなわち、MPEG2−TSでは全てのパケットにPID(Packet Identification)というIDが付与されており、音声パケットには同じPIDが付与されており、このPIDに基づいて、音声パケットから音声PESを抽出することが可能である。   That is, in MPEG2-TS, an ID called PID (Packet Identification) is assigned to all packets, and the same PID is assigned to an audio packet. Based on this PID, an audio PES is extracted from the audio packet. Is possible.

音声PES変換判定部116では、供給される音声PES長データに基づき音声PESが2034byteより小さいか否かを判定し、小さい場合には、音声PESフィルタ114から出力される音声PESを音声PES記憶バッファ115に記憶させる。   The audio PES conversion determination unit 116 determines whether or not the audio PES is smaller than 2034 bytes based on the supplied audio PES length data. If it is smaller, the audio PES output from the audio PES filter 114 is stored in the audio PES storage buffer. 115 is stored.

すなわち、MPEG2−PSにおいてはパック長が2048byteであり、音声PESをそこに嵌め込むには、パック長からパックヘッダ(14byte)を差し引いた2034byteに対応させる必要がある。したがって、音声PESが2034byteより小さいか否かの判別を行って、小さい場合のみ変換対象の音声PESとして処理を行うものである。   That is, in MPEG2-PS, the pack length is 2048 bytes, and in order to insert the audio PES, it is necessary to correspond to 2034 bytes obtained by subtracting the pack header (14 bytes) from the pack length. Therefore, it is determined whether or not the audio PES is smaller than 2034 bytes, and the process is performed as the audio PES to be converted only when the audio PES is smaller.

音声PES記憶バッファ115に記憶された音声PESは、音声ESフィルタ117に供給され、ここで音声ESが抽出されて音声ES記憶バッファ118に記憶される。さらに、音声ESフィルタ117は、音声ESの音声フレームの先頭を検出することで、音声ESの再生時刻を計算して、再生時刻を示すデータを音声再生時刻記憶バッファ119に記憶させる。   The audio PES stored in the audio PES storage buffer 115 is supplied to the audio ES filter 117, where the audio ES is extracted and stored in the audio ES storage buffer 118. Further, the audio ES filter 117 calculates the reproduction time of the audio ES by detecting the head of the audio frame of the audio ES, and stores the data indicating the reproduction time in the audio reproduction time storage buffer 119.

音声ES記憶バッファ118に記憶された音声ESと、音声再生時刻記憶バッファ119に記憶された再生時刻データは、変換後音声PES記憶バッファ120に供給される。変換後音声PES記憶バッファ120では、まず音声ESを、それが2034byteの音声PESになるように抽出し、さらに、PESヘッダに、再生開始時刻(PTS:Presentation Time Stamp)を付加し、それを変換した音声PESとして記憶する。   The audio ES stored in the audio ES storage buffer 118 and the reproduction time data stored in the audio reproduction time storage buffer 119 are supplied to the converted audio PES storage buffer 120. The converted audio PES storage buffer 120 first extracts the audio ES so that it becomes a 2034-byte audio PES, adds a playback start time (PTS: Presentation Time Stamp) to the PES header, and converts it. Stored as a voice PES.

この変換後音声PES記憶バッファ120に記憶された音声PESに付加されたPTSは、さらに映像PESのI(Intra)ピクチャのPTSと関連付けられるものであり、この目的のために、音声PES変換処理部108の外に、IピクチャのPTSを抽出する回路が設けられている。   The PTS added to the audio PES stored in the converted audio PES storage buffer 120 is further associated with the PTS of the I (Intra) picture of the video PES. For this purpose, the audio PES conversion processing unit In addition to 108, a circuit for extracting the PTS of the I picture is provided.

すなわち、チューナ部102から出力されるMPEG2−TSから映像パケットを抽出するTS映像パケットフィルタ122と、抽出された映像パケットから映像PESを抽出すると共に、映像PESからIピクチャのPTSを抽出する映像PESフィルタ123と、抽出されたIピクチャPTSを記憶するIピクチャPTS記憶バッファ124が設けられている。   That is, a TS video packet filter 122 that extracts a video packet from MPEG2-TS output from the tuner unit 102, and a video PES that extracts a video PES from the extracted video packet and also extracts a PTS of an I picture from the video PES. A filter 123 and an I picture PTS storage buffer 124 for storing the extracted I picture PTS are provided.

IピクチャPTS記憶バッファ124に記憶されたIピクチャPTSは変換後音声PES記憶バッファ120に供給され、変換後音声PES記憶バッファ120は、音声再生時刻記憶バッファ119から供給される音声PTSをIピクチャPTSと比較して、IピクチPTSに最も近い時刻情報を持つ音声PTSを選択し、これをPESヘッダに付加するように動作する。   The I picture PTS stored in the I picture PTS storage buffer 124 is supplied to the converted audio PES storage buffer 120, and the converted audio PES storage buffer 120 converts the audio PTS supplied from the audio reproduction time storage buffer 119 into the I picture PTS. Compared with, the voice PTS having the time information closest to the I-picture PTS is selected, and this is added to the PES header.

変換後音声PES記憶バッファ120に記憶された変換音声PESは、音声分割処理部121に供給されて、ここでMPEG2−TSに挿入可能なデータ長に分割されて、TS記憶バッファ103に供給される。   The converted audio PES stored in the converted audio PES storage buffer 120 is supplied to the audio division processing unit 121 where it is divided into data lengths that can be inserted into MPEG2-TS and supplied to the TS storage buffer 103. .

TS記憶バッファ103には、チューナ部102から出力されるMPEG2−TSが記憶されており、その音声PESが、音声PES分割処理部121から出力される変換された音声PESによって書き換えられる。   The TS storage buffer 103 stores MPEG2-TS output from the tuner unit 102, and the audio PES is rewritten by the converted audio PES output from the audio PES division processing unit 121.

以上のように、音声PES変換処理部108は、音声PESのデータ長が2034byteより小さい場合に、その音声PESから抽出された音声ESをまとめてから、2034byteになるように分割し、さらにPESヘッダに、IピクチャのPTSと最も近い時刻情報を有する音声PTSを付加して変換音声PESとして出力するものである。   As described above, when the data length of the audio PES is smaller than 2034 bytes, the audio PES conversion processing unit 108 collects the audio ES extracted from the audio PES, divides it into 2034 bytes, and further divides the PES header. In addition, an audio PTS having time information closest to the PTS of the I picture is added and output as a converted audio PES.

TS記憶バッファ103において、その音声PESが、音声PES変換処理部108からの変換された音声PESで書き換えられたMPEG2−TSは、制御部106の制御によってHDD104に記録される。   The MPEG2-TS in which the audio PES is rewritten by the converted audio PES from the audio PES conversion processing unit 108 in the TS storage buffer 103 is recorded in the HDD 104 under the control of the control unit 106.

さらにHDD104に記録されたMPEG2−TSは、DVD105にコピーあるいは移動することが可能であり、その場合、MPEG2−TSは、MPEG2−PSに変換されてDVDに記録される。その際、音声PESのデータ長が2034byteに変換されているため、Padding byteを付加する必要がなく、変換処理を簡単にかつスピーディに実行することができ、さらに記録媒体の容量を有効活用することができるものである。   Further, the MPEG2-TS recorded on the HDD 104 can be copied or moved to the DVD 105. In this case, the MPEG2-TS is converted into MPEG2-PS and recorded on the DVD. At that time, since the data length of the audio PES is converted to 2034 bytes, it is not necessary to add padding bytes, the conversion process can be executed easily and speedily, and the capacity of the recording medium can be effectively utilized. It is something that can be done.

以下、図2〜4を参照して、音声PES変換処理についてさらに説明する。
図2(a)は、チューナ部102から出力されるMPEG2−TSであり、TSヘッダ201と映像ペイロード202、204,206及び音声ペイロード203,205,207,208を含む。
Hereinafter, the audio PES conversion processing will be further described with reference to FIGS.
FIG. 2A shows MPEG2-TS output from the tuner unit 102, which includes a TS header 201, video payloads 202, 204, 206, and audio payloads 203, 205, 207, 208.

図2(b)は、MPEG2−TSから抽出される音声PESを示しており、第1の音声PES210は、ペイロード203に対応する音声PESと、音声ペイロード205の音声PESの一部で構成されている。第2の音声PES211は、ペイロード205の残りの音声PESとペイロード207の音声PESで構成され、第3の音声PES212は、ペイロード208の音声PESと他のペイロードの音声PESで構成されている。   FIG. 2B shows an audio PES extracted from the MPEG2-TS, and the first audio PES 210 includes an audio PES corresponding to the payload 203 and a part of the audio PES in the audio payload 205. Yes. The second audio PES 211 is composed of the remaining audio PES of the payload 205 and the audio PES of the payload 207, and the third audio PES 212 is composed of the audio PES of the payload 208 and the audio PES of another payload.

各音声PES210,211,212の音声PESは、図1に示す音声ES記憶バッファ118でひとまとめにされた後、変換後音声PES記憶バッファ120で2034byteに分割されるものであり、分割された状態を図2(c)に示す。すなわち図2(c)には変換された音声PESが示されており、PESヘッダ213と複数のPESから抽出された音声ES214,215,216からなる。   The audio PESs of the audio PESs 210, 211, and 212 are grouped together in the audio ES storage buffer 118 shown in FIG. 1, and then divided into 2034 bytes in the converted audio PES storage buffer 120. As shown in FIG. That is, FIG. 2C shows a converted voice PES, which is composed of a PES header 213 and voices ES 214, 215, and 216 extracted from a plurality of PESs.

図2(d)は、DVDに記録する際に変換されるMPEG2−PSの構造を示すもので、PACKヘッダ217と、PESヘッダ218と音声PES219からなる。   FIG. 2D shows the structure of MPEG2-PS that is converted when recording on a DVD, and includes a PACK header 217, a PES header 218, and an audio PES 219.

図3に、PESのデータ構造を示す。PESはpacket start code prefixというスタートコード301とデータの属性を示すstream_id302、PES長を示すPES packet length303及び時間情報を示すPTS/DTS(Decoding Time Stamp)304とをヘッダ情報として持ち、さらにPES packet date byteにはESが入る。音声PESの場合は、例えばPES長が1音声フレーム長の場合はESには1音声フレーム長のデータが入り、PTSにはその音声フレームが再生されるべき時間が付けられる。   FIG. 3 shows the data structure of the PES. The PES has a start code 301 called a packet start code prefix, a stream_id 302 indicating a data attribute, a PES packet length 303 indicating a PES length, and a PTS / DTS (Decoding Time Stamp) 304 indicating time information as header information, and further a PES packet date. ES is entered in byte. In the case of an audio PES, for example, when the PES length is 1 audio frame length, data of 1 audio frame length is entered in the ES, and a time in which the audio frame is to be reproduced is assigned to the PTS.

音声ESの先頭には通常同期バイトがある。音声PESの変換をする場合、この同期バイトを音声ESから検出して、変換したPES内に音声フレームがいくつ含まれるかを調べながら変換する。また変換したPESヘッダに付加するPTSとしてはPES内の最初の同期バイトから始まる音声フレームを再生する時間情報が適用される。   There is usually a synchronization byte at the beginning of the audio ES. When audio PES is converted, this synchronization byte is detected from the audio ES and converted while checking how many audio frames are included in the converted PES. As the PTS added to the converted PES header, time information for reproducing an audio frame starting from the first synchronization byte in the PES is applied.

図4は変換した音声PESを分割してMPEG2−TSに格納する状態を説明するための図面であり、図4(a)は図1の変換後音声PES記憶バッファ120から出力される変換後の音声PESの構成を示し、図4(b)は、音声PES分割処理部121から出力される分割されたPESが、TS記憶バッファ103に記憶されたMPEG2−TSの音声PESに上書きされた状態を示すもので、図4(a)の音声PESが、分割されて、MPEG2−TSの音声ペイロードに書き込まれていることが分かる。   FIG. 4 is a diagram for explaining a state in which the converted audio PES is divided and stored in the MPEG2-TS. FIG. 4A shows a state after the conversion output from the converted audio PES storage buffer 120 in FIG. FIG. 4B shows a state in which the divided PES output from the audio PES division processing unit 121 is overwritten on the MPEG2-TS audio PES stored in the TS storage buffer 103. FIG. As shown, it can be seen that the audio PES in FIG. 4A is divided and written in the audio payload of MPEG2-TS.

図5は、以上説明した音声PESを変換する処理手順を説明するためのフローチャートである。
図5において、ステップS501で開始され、ステップS502で、MPEG2−TSをHDD等の媒体に記録中か否かの判定がなされ、記録中と判定されたら、ステップS503で、記録対象のMPEG2−TSをバッファ(TS記憶バッファ103)に保存する。
FIG. 5 is a flowchart for explaining the processing procedure for converting the audio PES described above.
In FIG. 5, the process starts in step S501. In step S502, it is determined whether or not MPEG2-TS is being recorded on a medium such as an HDD. If it is determined that recording is in progress, the MPEG2-TS to be recorded is determined in step S503. Are stored in the buffer (TS storage buffer 103).

次に、ステップS504でMPEG2−TSから音声PESを抽出すると共にPES長を取得する。さらに、ステップS505で、ステップS504で抽出した音声PESから音声ESを抽出し、その音声フレーム先頭を検出することで、音声ESのPTSを求める。   In step S504, the audio PES is extracted from the MPEG2-TS and the PES length is acquired. Furthermore, in step S505, the audio ES is extracted from the audio PES extracted in step S504, and the PTS of the audio ES is obtained by detecting the head of the audio frame.

次に、ステップS506でMPEG2−TSからIピクチャの映像PESを抽出して、IピクチャのPTSを取得する。
次いで、ステップS507で、音声PTSがIピクチャのPTSに近いか否かの判定がなされ、近くない場合には、ステップS508に移る。ステップS508では、ステップS504で認識された音声PES長が2034byteより小さいか否かの判定を行い、音声PES長が2034byteより大きいと判定された場合には、ステップS509に移って、ステップS503でバッファに保存されたMPEG2−TSを蓄積装置(HDD104等)に記録して、ステップS502に戻る。
In step S506, an I-picture video PES is extracted from the MPEG2-TS, and an I-picture PTS is acquired.
Next, in step S507, it is determined whether or not the audio PTS is close to the PTS of the I picture. If not, the process moves to step S508. In step S508, it is determined whether or not the voice PES length recognized in step S504 is smaller than 2034 bytes. If it is determined that the voice PES length is larger than 2034 bytes, the process proceeds to step S509, and the buffer is stored in step S503. MPEG2-TS stored in the storage device (HDD 104 or the like) is recorded, and the process returns to step S502.

ステップS507で、音声PTSがIピクチャのPTSに近いと判定された場合、及び音声PES長が2034byteより小さいと判定された場合には、ステップS510において、ステップS502で抽出した音声ESを、音声PESが2034byteになるように分ける。   If it is determined in step S507 that the audio PTS is close to the PTS of the I picture, and if it is determined that the audio PES length is smaller than 2034 bytes, the audio ES extracted in step S502 is determined as the audio PES in step S510. Is divided into 2034 bytes.

次いでステップS511で、音声ESに含まれる音声フレームの数をカウントする。次にステップS512で、ステップS511でカウントしたフレームから音声PTSを計算してPESヘッダに付ける。   Next, in step S511, the number of audio frames included in the audio ES is counted. In step S512, an audio PTS is calculated from the frames counted in step S511 and attached to the PES header.

次に、ステップS510〜S512の処理によって変換された音声PESをMPEG2−TSの音声パケットに分割して、バッファに保存したMPEG2−TSに上書きし、ステップS509で音声PESが変換されたMPEG2−TSを蓄積装置に記録してステップS502に戻る。   Next, the audio PES converted by the processing in steps S510 to S512 is divided into MPEG2-TS audio packets, overwritten on the MPEG2-TS stored in the buffer, and the MPEG2-TS in which the audio PES is converted in step S509. Is stored in the storage device, and the process returns to step S502.

記録動作が終了されたら、ステップS502でそれを判定し、ステップS514で処理を終了する。   When the recording operation is finished, it is determined in step S502, and the process is finished in step S514.

このようにMPEG2−TSを、その音声PES長がMPEG2−PSの1音声PESパケットの最大PES長となるように変換して記録することで、それをMPEG2−PSへ変換する際に、高速変換が可能となり、またダミーのデータの付加を抑制することができるため、MPEG2−PSに変換後の記録容量は音声PES長を変換しない場合に比べて小さくなる。   In this way, MPEG2-TS is converted and recorded so that the audio PES length becomes the maximum PES length of one audio PES packet of MPEG2-PS, so that when converting it to MPEG2-PS, high-speed conversion is performed. In addition, since the addition of dummy data can be suppressed, the recording capacity after conversion to MPEG2-PS is smaller than when the audio PES length is not converted.

またMPEG2−PSに変換される際に、IピクチャのPTSと音声PES先頭のPTSが一致するようにするため、途中再生を行った場合でも映像と音声のずれは発生しない。また音声PES長を変換して記録したMPEG2−TSは、変換する前のMPEG2−TSと比較して音声PESヘッダが削減されるため、MPEG2−TSの記録容量も小さくなる。   Further, when converting to MPEG2-PS, the PTS of the I picture and the PTS at the head of the audio PES are made to coincide with each other, so that there is no deviation between video and audio even when playback is performed halfway. Also, MPEG2-TS recorded by converting the audio PES length has a reduced audio PES header as compared to the MPEG2-TS before conversion, so the recording capacity of MPEG2-TS is also reduced.

また上記実施例ではMPEG2−PSに変換されたストリームを視聴できるだけではなく、MPEG2−TSで記録されたストリームをIEEE1394出力インターフェース410を通して出力することで、IEEE1394インターフェースを持つデジタルテレビジョン受像機で視聴することも可能である。   In the above embodiment, not only can the stream converted into MPEG2-PS be viewed, but also the stream recorded in MPEG2-TS is output through the IEEE 1394 output interface 410 for viewing on a digital television receiver having an IEEE 1394 interface. It is also possible.

本発明に係るMPEGストリーム記録装置の一実施の形態を示す回路ブロック図。1 is a circuit block diagram showing an embodiment of an MPEG stream recording apparatus according to the present invention. 図1に示す装置の動作を説明するためのタイミングチャート。The timing chart for demonstrating operation | movement of the apparatus shown in FIG. 図1に示す装置の動作を説明するためのタイミングチャート。The timing chart for demonstrating operation | movement of the apparatus shown in FIG. 図1に示す装置の動作を説明するためのタイミングチャート。The timing chart for demonstrating operation | movement of the apparatus shown in FIG. 図1に示す装置の動作を説明するためのフローチャート。The flowchart for demonstrating operation | movement of the apparatus shown in FIG. MPEG2のストリームのデータ構造を説明するための図。The figure for demonstrating the data structure of the stream of MPEG2. MPEG2のストリームのデータ構造を説明するための図。The figure for demonstrating the data structure of the stream of MPEG2. MPEG2のストリームのデータ構造を説明するための図。The figure for demonstrating the data structure of the stream of MPEG2.

符号の説明Explanation of symbols

100…MPEGストリーム記録装置
101…アンテナ
102…チューナ部
103…TS記憶バッファ記録部
104…HDD
105…記録型DVD
106…制御部
107…操作入力部
108…音声PES変換処理部
109…IEEE1394入力I/F
110…IEEE1394出力I/F
111…入力端子
112…出力端子
113…TS音声パケットフィルタ
114…音声PESフィルタ
115…音声PES記憶バッファ
116…音声PES変換判定部
117…音声ESフィルタ
118…音声ES記憶バッファ
119…音声再生時刻記憶バッファ
120…変換後音声PES記憶バッファ
121…音声PES分割処理部
122…TS映像パケットフィルタ
123…映像PESフィルタ
124…IピクチャPTS記憶バッファ
DESCRIPTION OF SYMBOLS 100 ... MPEG stream recording apparatus 101 ... Antenna 102 ... Tuner part 103 ... TS storage buffer recording part 104 ... HDD
105 ... Recordable DVD
DESCRIPTION OF SYMBOLS 106 ... Control part 107 ... Operation input part 108 ... Voice PES conversion process part 109 ... IEEE1394 input I / F
110 ... IEEE1394 output I / F
DESCRIPTION OF SYMBOLS 111 ... Input terminal 112 ... Output terminal 113 ... TS audio packet filter 114 ... Audio PES filter 115 ... Audio PES storage buffer 116 ... Audio PES conversion judgment unit 117 ... Audio ES filter 118 ... Audio ES storage buffer 119 ... Audio reproduction time storage buffer 120 ... Converted audio PES storage buffer 121 ... Audio PES division processing unit 122 ... TS video packet filter 123 ... Video PES filter 124 ... I picture PTS storage buffer

Claims (6)

MPEG2−TSを受ける入力手段と、
前記入力されたMPEG2−TSから音声PESを抽出する音声PES抽出手段と、
前記抽出された音声PESの複数を単一のPESとして組み合わせ、かつその組み合わされたPES長が、MPEG2−PSの音声パックに含まれるPES長と同等になるように再構成する音声PES変換手段と、
前記音声PES変換手段によって変換された音声PESに基づいて、前記入力手段に入力されたMPEG2−TSの音声PESを変更するMPEG2−TS変更手段と、
前記音声PESが変更されたMPEG2−TSを記録媒体に記録する記録手段と、
を具備したことを特徴とするMPEGストリーム記録装置。
Input means for receiving MPEG2-TS;
Audio PES extraction means for extracting audio PES from the input MPEG2-TS;
Audio PES converting means for combining a plurality of the extracted audio PESs as a single PES and reconfiguring the combined PES length so as to be equivalent to the PES length included in the MPEG2-PS audio pack; ,
MPEG2-TS changing means for changing the audio PES of MPEG2-TS input to the input means based on the audio PES converted by the audio PES converting means;
Recording means for recording the MPEG2-TS in which the audio PES is changed on a recording medium;
An MPEG stream recording apparatus comprising:
MPEG2−TSを受ける入力手段と、
前記入力されたMPEG2−TSから音声PESを抽出する音声PES抽出手段と、
前記抽出された音声PESの複数を単一のPESに組み合わせ、かつその組み合わされたPES長を、MPEG2−PSの音声パックに含まれるPES長と同等になるように再構成する音声PES変換手段と、
前記音声PES変換手段によって変換された音声PESに基づいて、前記入力手段に入力されたMPEG2−TSの音声PESを変更する変更手段と、
前記音声PESが変更されたMPEG2−TSを第1の記録媒体に記録する第1の記録手段と、
前記記録媒体に記録されたMPEG2−TSをMPEG2−PSに変換するストリーム変換手段と、
前記ストリーム変換手段によって変換されたMPEG2−PSを第2の記録媒体に記録する第2の記録手段と、
を具備したことを特徴とするMPEGストリーム記録装置。
Input means for receiving MPEG2-TS;
Audio PES extraction means for extracting audio PES from the input MPEG2-TS;
Audio PES conversion means for combining a plurality of the extracted audio PESs into a single PES, and reconfiguring the combined PES length so as to be equivalent to the PES length included in the MPEG2-PS audio pack; ,
Based on the audio PES converted by the audio PES conversion means, changing means for changing the MPEG2-TS audio PES input to the input means;
A first recording means for recording the MPEG2-TS in which the audio PES is changed on a first recording medium;
Stream converting means for converting MPEG2-TS recorded on the recording medium into MPEG2-PS;
A second recording means for recording the MPEG2-PS converted by the stream converting means on a second recording medium;
An MPEG stream recording apparatus comprising:
さらに前記入力手段に入力されるMPEG2−TSから映像PESのIピクチャに付されたPTSを抽出するIピクチャPES抽出手段を備え、
前記音声PES変換手段が、前記Iピクチャに付されたPTSに最も近い音声PTSを持つ音声フレームを、音声PESの先頭に配置するように前記音声PESを変換するものであることを特徴とする請求項1または2記載のMPEGストリーム記録装置。
Furthermore, I picture PES extraction means for extracting the PTS attached to the I picture of the video PES from the MPEG2-TS input to the input means,
The audio PES converting means converts the audio PES so that an audio frame having an audio PTS closest to the PTS attached to the I picture is arranged at the head of the audio PES. Item 3. The MPEG stream recording apparatus according to Item 1 or 2.
さらに、前記音声PES抽出手段で抽出された音声PESから音声ESを抽出し、抽出された音声ESに含まれる音声フレームに基づいて音声PTSを算出する音声PTS生成手段を備え、前記音声PES変換手段が前記算出された音声PTSをPESヘッダに書き込む処理を行うように構成されていることを特徴とする請求項1乃至3のいずれかに記載のMPEGストリーム記録装置。   Further, the audio PES conversion unit includes an audio PTS generation unit that extracts an audio ES from the audio PES extracted by the audio PES extraction unit and calculates an audio PTS based on an audio frame included in the extracted audio ES. 4. The MPEG stream recording apparatus according to claim 1, wherein the MPEG stream recording apparatus is configured to perform a process of writing the calculated audio PTS in a PES header. MPEG2−TSを受けるステップと、
前記入力されたMPEG2−TSから音声PESを抽出するステップと、
前記抽出された複数の音声PESを単一のPESとして組み合わせるステップと、
前記組み合わされたPES長を、MPEG2−PSの音声パックに含まれるPES長と同等になるように再構成するステップと、
前記再構成された音声PESに基づいて、前記入力手段に入力されたMPEG2−TSの音声PESを変更するステップと、
前記音声PESが変更されたMPEG2−TSを記録媒体に記録するステップと、
を具備したことを特徴とするMPEGストリーム記録方法。
Receiving MPEG2-TS;
Extracting audio PES from the input MPEG2-TS;
Combining the extracted plurality of voice PESs as a single PES;
Reconfiguring the combined PES length to be equivalent to the PES length included in the MPEG2-PS audio pack;
Changing the MPEG2-TS audio PES input to the input means based on the reconstructed audio PES;
Recording the MPEG2-TS with the changed audio PES on a recording medium;
An MPEG stream recording method comprising:
MPEG2−TSを受けるステップと、
前記入力されたMPEG2−TSから音声PESを抽出するステップと、
前記抽出された複数の音声PESを単一のPESとして組み合わせるステップと、
前記組み合うわされたPES長を、MPEG2−PSの音声パックに含まれるPES長と同等になるように再構成するステップと、
前記再構成された音声PESに基づいて、前記入力手段に入力されたMPEG2−TSの音声PESを変更するステップと、
前記音声PESが変更されたMPEG2−TSをMPEG2−PSに変換するステップと、
を具備したことを特徴とするMPEGストリーム変換方法。
Receiving MPEG2-TS;
Extracting audio PES from the input MPEG2-TS;
Combining the extracted plurality of voice PESs as a single PES;
Reconfiguring the combined PES length to be equivalent to the PES length included in the MPEG2-PS audio pack;
Changing the MPEG2-TS audio PES input to the input means based on the reconstructed audio PES;
Converting MPEG2-TS in which the audio PES is changed to MPEG2-PS;
An MPEG stream conversion method comprising:
JP2004161691A 2004-05-31 2004-05-31 Mpeg stream recording device, mpeg stream recording method, and mpeg stream conversion method Pending JP2005346757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004161691A JP2005346757A (en) 2004-05-31 2004-05-31 Mpeg stream recording device, mpeg stream recording method, and mpeg stream conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004161691A JP2005346757A (en) 2004-05-31 2004-05-31 Mpeg stream recording device, mpeg stream recording method, and mpeg stream conversion method

Publications (1)

Publication Number Publication Date
JP2005346757A true JP2005346757A (en) 2005-12-15

Family

ID=35499004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004161691A Pending JP2005346757A (en) 2004-05-31 2004-05-31 Mpeg stream recording device, mpeg stream recording method, and mpeg stream conversion method

Country Status (1)

Country Link
JP (1) JP2005346757A (en)

Similar Documents

Publication Publication Date Title
JP2008011404A (en) Content processing apparatus and method
US8676038B2 (en) Recording/reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method and computer program
EP1150504A3 (en) Apparatus, method and medium for recording and playback of audio and video signals
JP4775208B2 (en) REPRODUCTION METHOD, REPRODUCTION PROGRAM, AND REPRODUCTION DEVICE
US20080037956A1 (en) Systems and Methods of Generating Encapsulated MPEG Program Streams
JP2003018544A (en) Recording equipment for digital broadcast
KR101456633B1 (en) Method and apparatus for processing additional data of broadcasting signal, method and apparatus for recording broadcasting signal, method and apparatus for reproducing recorded broadcasting signal
US8254764B2 (en) Recording apparatus, image reproducing apparatus, and special reproduction method therefor
US20050069289A1 (en) Transport stream recording/editing device and recording/editing method
JP2008294638A (en) Transmission system, recording apparatus, transmission method, recording method, and program
US7653289B1 (en) Stream converting method and apparatus thereof, and stream recording method and apparatus thereof
KR100793201B1 (en) Apparatus and method for recording and reproducing a digital broadcasting data
JP2005346757A (en) Mpeg stream recording device, mpeg stream recording method, and mpeg stream conversion method
JPWO2006075457A1 (en) Recording device
JP2007096896A (en) Broadcast recorder, broadcast recording and reproducing device and broadcast recording and reproduction program
JP2002033712A (en) Packet processor and packet output method therefor
US8571392B2 (en) Apparatus for video recording and reproducing, and method for trick play of video
JP4392610B2 (en) Format conversion apparatus and format conversion method
JP4287992B2 (en) Digital data recording / reproducing apparatus and method
US20070031125A1 (en) Data processing device and data processing method
EP1148723B1 (en) Special reproduction data generating device, medium, and information aggregate
JP3892759B2 (en) Recording / reproducing apparatus, recording apparatus, reproducing apparatus, and recording / reproducing method
JP5350037B2 (en) Display control apparatus, control method thereof, and program
JP5811037B2 (en) Recording apparatus and recording control method
JP2007066511A (en) Recording and reproducing apparatus, recording apparatus, reproducing apparatus, and recording and reproducing method