JP3338774B2 - MPEG encoding apparatus, MPEG PS multiplexing method, and recording medium recording PS multiplexing program - Google Patents

MPEG encoding apparatus, MPEG PS multiplexing method, and recording medium recording PS multiplexing program

Info

Publication number
JP3338774B2
JP3338774B2 JP35314297A JP35314297A JP3338774B2 JP 3338774 B2 JP3338774 B2 JP 3338774B2 JP 35314297 A JP35314297 A JP 35314297A JP 35314297 A JP35314297 A JP 35314297A JP 3338774 B2 JP3338774 B2 JP 3338774B2
Authority
JP
Japan
Prior art keywords
stream
bit rate
multiplexing
data
audio
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 - Fee Related
Application number
JP35314297A
Other languages
Japanese (ja)
Other versions
JPH11187362A (en
Inventor
伸也 丸山
Original Assignee
エヌイーシーソフト株式会社
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 エヌイーシーソフト株式会社 filed Critical エヌイーシーソフト株式会社
Priority to JP35314297A priority Critical patent/JP3338774B2/en
Publication of JPH11187362A publication Critical patent/JPH11187362A/en
Application granted granted Critical
Publication of JP3338774B2 publication Critical patent/JP3338774B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、MPEG
(Moving Picture ExpertsGro
up;メディア統合系動画像圧縮の国際標準)に沿って
符号化された映像データと音声データとを多重化するM
PEGエンコード装置,MPEGのPS多重化方法及び
PS多重化プログラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention
(Moving Picture Experts Gro
up: M for multiplexing video data and audio data encoded in accordance with an international standard for media-integrated video compression
The present invention relates to a PEG encoding device, an MPEG PS multiplexing method, and a recording medium on which a PS multiplexing program is recorded.

【0002】[0002]

【従来の技術】MPEGエンコード装置等で、符号化し
た映像データのストリームと、符号化した音声データの
ストリームとをお互いに同期をとって多重化し、1本の
ストリームを生成するために用いられている従来のPS
(プログラムストリーム)多重化装置、例えば特開平9
−162829号公報の多重化装置では、PS形式のス
トリームを作成した場合、そのストリームの多重化形式
をTS(トランスポートストリーム)形式に変換する
と、TS ヘッダとPSI情報(プログラム仕様情報)
が付加されるため、ストリーム全体のデータ量が増加し
てしまう。
2. Description of the Related Art An MPEG encoding apparatus or the like is used to multiplex an encoded video data stream and an encoded audio data stream in synchronization with each other to generate one stream. Conventional PS
(Program stream) multiplexing device, for example,
In the multiplexing device disclosed in JP-A-162829, when a stream in the PS format is created, the multiplexing format of the stream is converted into a TS (transport stream) format, and a TS header and PSI information (program specification information) are converted.
Is added, the data amount of the entire stream increases.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の技術に
おける第1の問題点は、PSからTSに変換したときに
データ量が増加することにより、ネットワークの帯域を
変更しなければTSデータを流すことができず、ネット
ワークの帯域の変更が困難な環境で使用する場合には、
予めPSとTSの両方のデータを記憶装置に持たなけれ
ば、PSからTSに変換できないことである。
The first problem in the above-mentioned conventional technique is that the data amount increases when the data is converted from the PS to the TS, so that the TS data flows unless the bandwidth of the network is changed. If you cannot use it in an environment where changing network bandwidth is difficult,
Unless both data of the PS and the TS are stored in the storage device in advance, the PS cannot be converted to the TS.

【0004】第2の問題点は、TSのビットレートを増
加させないようにするためには、映像データの再符号化
を行う必要があるが、再符号化には時間がかかるため、
PSのデータだけを持ちTSデータが必要になったとき
にリアルタイムに変換して送出することが困難なことで
ある。
A second problem is that video data must be re-encoded in order not to increase the bit rate of the TS, but the re-encoding takes time.
It is difficult to convert only the TS data and transmit it in real time when TS data is needed.

【0005】本発明は、以上の問題点を解決するMPE
Gエンコード装置,MPEGのPS多重化方法及びPS
多重化プログラムを記録した記録媒体を提供することを
目的とする。
The present invention provides an MPE that solves the above problems.
G-encoding device, MPEG PS multiplexing method and PS
It is an object to provide a recording medium on which a multiplexing program is recorded.

【0006】[0006]

【課題を解決するための手段】本発明の第1のMPEG
エンコード装置は、符号化した映像データストリームと
符号化した音声データストリームとをお互いに同期をと
って多重化し、MPEGのプログラムストリームを生成
するMPEGエンコード装置であって、前記プログラム
ストリーム全体のビットレートから、同一ビットレート
のトランスポートストリームに変換可能な映像データの
ビットレートと、前記プログラムストリームから前記ト
ランスポートストリームへの多重化方式変換時に発生す
るデータ量の増加分を吸収するために必要なパディング
パケットの量とを計算し、前記パディングパケットを前
記プログラムストリームの多重化時に挿入しておくこと
を特徴とする。
SUMMARY OF THE INVENTION First MPEG of the present invention
The encoding device is an MPEG encoding device that generates an MPEG program stream by synchronizing and multiplexing the encoded video data stream and the encoded audio data stream with each other. A padding packet necessary to absorb a bit rate of video data that can be converted into a transport stream of the same bit rate and an increase in the amount of data generated when a multiplexing method is converted from the program stream to the transport stream. The padding packet is inserted when the program stream is multiplexed.

【0007】本発明の第2のMPEGエンコード装置
は、符号化した映像データストリームと符号化した音声
データストリームとをお互いに同期をとって多重化し、
MPEGのプログラムストリームを生成するMPEGエ
ンコード装置であって、前記プログラムストリーム全体
のビットレートから、指定のビットレートのトランスポ
ートストリームに変換可能な映像データのビットレート
と、前記プログラムストリームから前記トランスポート
ストリームへの多重化方式変換時に発生するデータ量の
増加分を吸収するために必要なパディングパケットの量
とを計算し、前記パディングパケットを前記プログラム
ストリームの多重化時に挿入しておくことを特徴とす
る。
A second MPEG encoding apparatus of the present invention multiplexes an encoded video data stream and an encoded audio data stream in synchronization with each other,
An MPEG encoding apparatus for generating an MPEG program stream, comprising: a bit rate of video data convertible from a bit rate of the entire program stream to a transport stream of a specified bit rate; And calculating the amount of padding packets necessary to absorb the increase in the amount of data generated during the multiplexing method conversion, and inserting the padding packets when multiplexing the program stream. .

【0008】本発明の第3のMPEGエンコード装置
は、符号化した映像データストリームと符号化した音声
データストリームとをお互いに同期をとって多重化し、
MPEGのプログラムストリームを生成するMPEGエ
ンコード装置であって、前記プログラムストリーム全体
のビットレートや音声データの符号化パラメータ等の符
号化に必要な各種パラメータを入力する符号化パラメー
タ入力装置と、前記プログラムストリーム全体のビット
レートをもとにして、同一ビットレートのトランスポー
トストリームに変換可能になるように、映像データのビ
ットレートと、前記プログラムストリームから前記トラ
ンスポートストリームへの多重化方式変換時に発生する
データ量の増加分を吸収するために挿入するパディング
パケットの量とを計算する符号化パラメータ計算装置
と、前記符号化パラメータ計算装置から与えられた符号
化ビットレート等のパラメータで符号化された前記映像
データ,音声データをそれぞれ映像PESパケット,音
声PESパケットに構成するとともに、前記符号化パラ
メータ計算装置から通知された量のパディングパケット
の作成を行い、前記映像PESパケット,音声PESパ
ケットおよびパディングパケットを多重化して前記プロ
グラムストリームを生成する多重化装置とを有すること
を特徴とする。
A third MPEG encoding apparatus according to the present invention multiplexes an encoded video data stream and an encoded audio data stream in synchronization with each other,
An MPEG encoding device for generating an MPEG program stream, comprising: an encoding parameter input device for inputting various parameters required for encoding such as a bit rate of the entire program stream and encoding parameters of audio data; Based on the overall bit rate, the bit rate of the video data and the data generated when the multiplexing scheme is converted from the program stream to the transport stream so that the transport stream can be converted to a transport stream of the same bit rate. A coding parameter calculator for calculating the amount of padding packets to be inserted to absorb the increase in the amount, and the video coded with parameters such as a coding bit rate given from the coding parameter calculator. Data, audio data The PES packet is composed of a video PES packet and an audio PES packet, and the amount of padding packets notified from the encoding parameter calculation device is created. The video PES packet, the audio PES packet, and the padding packet are multiplexed and And a multiplexing device that generates

【0009】本発明の第4のMPEGエンコード装置
は、符号化した映像データストリームと符号化した音声
データストリームとをお互いに同期をとって多重化し、
MPEGのプログラムストリームを生成するMPEGエ
ンコード装置であって、前記プログラムストリーム全体
のビットレートや音声データの符号化パラメータ等の符
号化に必要な各種パラメータを入力する符号化パラメー
タ入力装置と、変換後のトランスポートストリームの指
定ビットレートを入力するTS指定レート入力装置と、
前記プログラムストリーム全体のビットレートをもとに
して、前記指定ビットレートのトランスポートストリー
ムに変換可能になるように、映像データのビットレート
と、前記プログラムストリームから前記トランスポート
ストリームへの多重化方式変換時に発生するデータ量の
増加分を吸収するために挿入するパディングパケットの
量とを計算する符号化パラメータ計算装置と、前記符号
化パラメータ計算装置から与えられた符号化ビットレー
ト等のパラメータで符号化された前記映像データ,音声
データをそれぞれ映像PESパケット,音声PESパケ
ットに構成するとともに、前記符号化パラメータ計算装
置から通知された量のパディングパケットの作成を行
い、前記映像PESパケット,音声PESパケットおよ
びパディングパケットを多重化して前記プログラムスト
リームを生成する多重化装置とを有することを特徴とす
る。
A fourth MPEG encoding apparatus according to the present invention multiplexes an encoded video data stream and an encoded audio data stream in synchronization with each other,
An MPEG encoding device for generating an MPEG program stream, comprising: an encoding parameter input device for inputting various parameters necessary for encoding such as a bit rate of the entire program stream and encoding parameters of audio data; A TS designated rate input device for inputting a designated bit rate of a transport stream;
A bit rate of video data and a multiplexing method conversion from the program stream to the transport stream so that the transport stream can be converted into the transport stream of the designated bit rate based on the bit rate of the entire program stream. A coding parameter calculator for calculating the amount of padding packets to be inserted in order to absorb an increase in the amount of data generated at the time of coding, and coding with a parameter such as a coding bit rate given from the coding parameter calculator. The encoded video data and audio data are formed into video PES packets and audio PES packets, respectively, and padding packets of the amount notified from the encoding parameter calculation device are created, and the video PES packets, audio PES packets, and Padding packet The and having a multiplexer to generate the program stream by multiplexing.

【0010】本発明の第1のMPEGのPS多重化方法
は、符号化した映像データストリームと符号化した音声
データストリームとをお互いに同期をとって多重化し、
MPEGのプログラムストリームを生成するMPEGの
PS多重化方法であって、前記プログラムストリーム全
体のビットレートや音声データの符号化パラメータ等の
符号化に必要な各種パラメータを入力するステップと、
前記プログラムストリーム全体のビットレートをもとに
して、同一ビットレートのトランスポートストリームに
変換可能になるように、映像データのビットレートと、
前記プログラムストリームから前記トランスポートスト
リームへの多重化方式変換時に発生するデータ量の増加
分を吸収するために挿入するパディングパケットの量と
を計算するステップと、前記符号化パラメータで符号化
された前記映像データ,音声データをそれぞれ映像PE
Sパケット,音声PESパケットに構成するとともに、
前記計算された量のパディングパケットの作成を行い、
前記映像PESパケット,音声PESパケットおよびパ
ディングパケットを多重化して前記プログラムストリー
ムを生成するステップとを有することを特徴とする。
A first MPEG PS multiplexing method of the present invention multiplexes an encoded video data stream and an encoded audio data stream in synchronization with each other,
An MPEG PS multiplexing method for generating an MPEG program stream, comprising: inputting various parameters required for encoding such as a bit rate of the entire program stream and encoding parameters of audio data;
Based on the bit rate of the entire program stream, a bit rate of video data, so that it can be converted to a transport stream of the same bit rate,
Calculating an amount of padding packets to be inserted in order to absorb an increase in the amount of data generated when the multiplexing method is converted from the program stream to the transport stream; and Video data and audio data are stored in video PE
S packets and audio PES packets
Creating the calculated amount of padding packets,
Multiplexing the video PES packet, the audio PES packet, and the padding packet to generate the program stream.

【0011】本発明の第2のMPEGのPS多重化方法
は、符号化した映像データストリームと符号化した音声
データストリームとをお互いに同期をとって多重化し、
MPEGのプログラムストリームを生成するMPEGの
PS多重化方法であって、前記プログラムストリーム全
体のビットレートや音声データの符号化パラメータ等の
符号化に必要な各種パラメータを入力するステップと、
変換後のトランスポートストリームの指定ビットレート
を入力するステップと、前記プログラムストリーム全体
のビットレートをもとにして、前記指定ビットレートの
トランスポートストリームに変換可能になるように、映
像データのビットレートと、前記プログラムストリーム
から前記トランスポートストリームへの多重化方式変換
時に発生するデータ量の増加分を吸収するために挿入す
るパディングパケットの量とを計算するステップと、前
記符号化パラメータで符号化された前記映像データ,音
声データをそれぞれ映像PESパケット,音声PESパ
ケットに構成するとともに、前記計算された量のパディ
ングパケットの作成を行い、前記映像PESパケット,
音声PESパケットおよびパディングパケットを多重化
して前記プログラムストリームを生成するステップとを
有することを特徴とする。
According to a second MPEG PS multiplexing method of the present invention, an encoded video data stream and an encoded audio data stream are multiplexed in synchronization with each other,
An MPEG PS multiplexing method for generating an MPEG program stream, comprising: inputting various parameters required for encoding such as a bit rate of the entire program stream and encoding parameters of audio data;
Inputting a designated bit rate of the converted transport stream, and a bit rate of the video data based on a bit rate of the entire program stream so as to be convertible to a transport stream of the designated bit rate. And calculating an amount of padding packets to be inserted to absorb an increase in the amount of data generated when the multiplexing method is converted from the program stream to the transport stream. The video data and the audio data are formed into video PES packets and audio PES packets, respectively, and the calculated amount of padding packets is created.
Multiplexing audio PES packets and padding packets to generate the program stream.

【0012】本発明の第1のPS多重化プログラムを記
録した記録媒体は、プログラムストリーム全体のビット
レートや音声データの符号化パラメータ等の符号化に必
要な各種パラメータを設定する処理と、前記プログラム
ストリーム全体のビットレートをもとにして、同一ビッ
トレートのトランスポートストリームに変換可能になる
ように、映像データのビットレートと、前記プログラム
ストリームから前記トランスポートストリームへの多重
化方式変換時に発生するデータ量の増加分を吸収するた
めに挿入するパディングパケットの量とを計算する処理
と、前記符号化パラメータで符号化された前記映像デー
タ,音声データをそれぞれ映像PESパケット,音声P
ESパケットに構成するとともに、前記計算された量の
パディングパケットの作成を行い、前記映像PESパケ
ット,音声PESパケットおよびパディングパケットを
多重化して前記プログラムストリームを生成する処理と
をコンピュータに実行させるためのプログラムを記録し
たことを特徴とする。
The recording medium on which the first PS multiplexing program of the present invention is recorded includes a process for setting various parameters required for encoding such as a bit rate of an entire program stream and encoding parameters of audio data, Based on the bit rate of the entire stream, the bit rate of the video data and the multiplexing method conversion from the program stream to the transport stream occur so that the transport stream can be converted to the same bit rate. A process of calculating the amount of padding packets to be inserted to absorb the increase in the amount of data; and a process of converting the video data and audio data encoded by the encoding parameters into video PES packets and audio P
ES packets, generate the calculated amount of padding packets, and multiplex the video PES packet, audio PES packet, and padding packets to generate the program stream. The program is recorded.

【0013】本発明の第2のPS多重化プログラムを記
録した記録媒体は、プログラムストリーム全体のビット
レートや音声データの符号化パラメータ等の符号化に必
要な各種パラメータを設定する処理と、変換後のトラン
スポートストリームの指定ビットレートを設定する処理
と、前記プログラムストリーム全体のビットレートをも
とにして、前記指定ビットレートのトランスポートスト
リームに変換可能になるように、映像データのビットレ
ートと、前記プログラムストリームから前記トランスポ
ートストリームへの多重化方式変換時に発生するデータ
量の増加分を吸収するために挿入するパディングパケッ
トの量とを計算する処理と、前記符号化パラメータで符
号化された前記映像データ,音声データをそれぞれ映像
PESパケット,音声PESパケットに構成するととも
に、前記計算された量のパディングパケットの作成を行
い、前記映像PESパケット,音声PESパケットおよ
びパディングパケットを多重化して前記プログラムスト
リームを生成する処理とをコンピュータに実行させるた
めのプログラムを記録したことを特徴とする。
The recording medium on which the second PS multiplexing program of the present invention is recorded includes a process for setting various parameters required for encoding such as a bit rate of the entire program stream and an encoding parameter for audio data, A process of setting a designated bit rate of a transport stream of the video stream, and a bit rate of video data based on a bit rate of the entire program stream so that the transport stream can be converted to a transport stream of the designated bit rate. A process of calculating an amount of padding packets to be inserted in order to absorb an increase in the amount of data generated when the multiplexing method is converted from the program stream to the transport stream; and The video data and audio data are respectively converted to video PES packets, Voice PES packets, generate the calculated amount of padding packets, and multiplex the video PES packets, audio PES packets, and padding packets to generate the program stream. Is recorded.

【0014】[0014]

【発明の実施の形態】本発明の実施の形態について図面
を参照して詳細に説明する。最初に、本発明の第1の実
施の形態について説明する。
Embodiments of the present invention will be described in detail with reference to the drawings. First, a first embodiment of the present invention will be described.

【0015】図1は、本発明の第1の実施の形態の構成
を示すブロック図であり、アナログの映像データを入力
する映像データ入力装置1と、アナログの音声データを
入力する音声データ入力装置2と、アナログ映像データ
をMPEGビデオデータに符号化する映像符号化装置3
と、アナログ音声データをMPEGオーディオデータに
符号化する音声符号化装置4と、符号化に必要な各種パ
ラメータを入力する符号化パラメータ入力装置5と、プ
ログラム制御により動作する符号化パラメータ計算装置
6と、プログラム制御により映像データと音声データを
MPEG2−PSに多重化するPS多重化装置7と、生
成されたPSデータを出力するPSデータ出力装置8と
を含む。
FIG. 1 is a block diagram showing a configuration of a first embodiment of the present invention. A video data input device 1 for inputting analog video data, and an audio data input device for inputting analog audio data. 2 and a video encoder 3 for encoding analog video data into MPEG video data
An audio encoding device 4 for encoding analog audio data into MPEG audio data, an encoding parameter input device 5 for inputting various parameters required for encoding, and an encoding parameter calculating device 6 operating under program control. A PS multiplexer 7 for multiplexing video data and audio data into MPEG2-PS under program control, and a PS data output device 8 for outputting the generated PS data.

【0016】PS多重化装置7は、Video PES
Packet化手段71と、Audio PESPac
ket化手段72と、Padding Packet作
成手段73と、多重化手段74とを備えている。
The PS multiplexing device 7 is a video PES.
Packetizing means 71, Audio PESPac
It comprises a ketting means 72, a padding packet creating means 73, and a multiplexing means 74.

【0017】Video PES Pacekt化手段7
1は、映像符号化装置3から与えられたMPEGビデオ
データを、多重化手段74からの要求によって、Vid
eoPES Packetに構成して多重化手段74に
渡す。Audio PES Packet化手段72は、
音声符号化装置4から与えられたMPEGオーディオデ
ータを、多重化手段74からの要求によって、Audi
o PES Packetに構成して多重化手段74に渡
す。Padding Packet作成手段73は、多
重化手段74からの要求によって、Padding P
acketを作成して多重化手段74に渡す。
[0017] Video PES Package conversion means 7
In response to a request from the multiplexing unit 74, the MPEG video data supplied from the video encoding device 3
An eoPES packet is provided to the multiplexing means 74. The audio PES packetizing means 72 includes:
According to a request from the multiplexing means 74, the MPEG audio data provided from the audio
o Constructed as a PES Packet and passed to the multiplexing means 74. The padding packet creating means 73 responds to the request from the multiplexing means 74 and outputs the padding packet.
The packet is created and passed to the multiplexing means 74.

【0018】多重化手段74は、符号化パラメータ計算
装置6から受け取ったPSの多重化に必要な情報をもと
に、Video PES Packet化手段71と、A
udio PES Packet化手段72と、Padd
ing Packet作成手段73とにそれぞれのPa
cketデータの取得要求を出し、Video PES
Packetと、Audio PES Packetと、
Padding Packetとを受け取ってPSに多
重化する。
The multiplexing means 74 includes a video PES packetizing means 71 based on the information necessary for multiplexing the PS received from the encoding parameter calculating device 6,
audio PES packetizing means 72, Padd
ing Packet creation means 73 and each Pa
issue a request to acquire the ticket data, and use the Video PES
Packet, Audio PES Packet,
The padding packet is received and multiplexed into the PS.

【0019】図2は、本発明の第1の実施の形態の動作
を示すフローチャートである。
FIG. 2 is a flowchart showing the operation of the first embodiment of the present invention.

【0020】次に、本発明の第1の実施の形態の動作に
ついて図1および図2を用いて詳細に説明する。
Next, the operation of the first embodiment of the present invention will be described in detail with reference to FIGS.

【0021】符号化パラメータ入力装置5から与えられ
た、PSの全体のビットレートや音声データの符号化パ
ラメータ等の符号化に必要な各種パラメータは、符号化
パラメータ計算装置6に供給される。符号化パラメータ
計算装置6は、PS全体のビットレートをもとにして、
同一ビットレートのTSに変換可能になるように、MP
EGビデオデータのビットレートと、PSからTSへの
多重化方式変換時に発生するデータ量の増加分を吸収す
るために挿入するPadding Packetの量と
を計算する(ステップA1)。
Various parameters required for encoding, such as the overall bit rate of the PS and the encoding parameters of audio data, which are provided from the encoding parameter input device 5, are supplied to an encoding parameter calculation device 6. The coding parameter calculation device 6 calculates the
MP so that it can be converted to TS of the same bit rate
The bit rate of the EG video data and the amount of the padding packet to be inserted to absorb the increase in the amount of data generated at the time of multiplexing conversion from PS to TS are calculated (step A1).

【0022】Padding Packetの量の計算
は、例えば以下のように行う。PSとTSとを比較する
と、TSにはPSI情報(プログラム仕様情報)が付加
される点と、パケットサイズが188byteとPSよ
り小さいことからパケットの数が増えてヘッダの数も増
えるという点が異なる。従って、PSから同一ビットレ
ートのTSに変換することにより増えるデータ量として
は、 (PSI情報)+(TSヘッダ数×TSヘッダサイズ−
PSヘッダ数×PSヘッダサイズ) となる。ここで、ヘッダ数(パケット数)は、1秒あた
りのTSヘッダ数を例にとると、 ビットレート(bps)÷8÷188(byte) となる。
The calculation of the amount of the padding packet is performed, for example, as follows. When the PS and the TS are compared, the difference is that PSI information (program specification information) is added to the TS and that the number of packets increases and the number of headers increases because the packet size is smaller than 188 bytes and the PS. . Therefore, the amount of data that is increased by converting from PS to TS having the same bit rate is (PSI information) + (number of TS headers × TS header size−
(PS header number × PS header size). Here, the number of headers (the number of packets) is, for example, the bit rate (bps) ÷ 8 ÷ 188 (bytes), taking the number of TS headers per second as an example.

【0023】PSI情報は、0.1秒あたり564by
teとすると毎秒5640byteが増えることにな
る。
The PSI information is 564 bytes per 0.1 second.
Assuming te, 5640 bytes per second is increased.

【0024】以上の計算により、PSから同一ビットレ
ートのTSに変換することにより増える、例えば1秒あ
たりのデータ量を求め、このデータ量のPadding
Packetを1秒あたりに挿入することになる。
By the above calculation, for example, the data amount per second, which is increased by converting from PS to TS having the same bit rate, is obtained, and the padding of this data amount is performed.
Packets will be inserted every second.

【0025】符号化パラメータ計算装置6は、ステップ
A1で計算した情報と、符号化パラメータ入力装置5か
ら受け取った情報の内、音声の符号化パラメータなどの
必要なものを、映像符号化装置3,音声符号化装置4お
よび多重化手段74にそれぞれ通知する(ステップA
2)。
The coding parameter calculator 6 converts the information calculated in step A1 and the information received from the coding parameter input device 5 such as audio coding parameters into the video coding devices 3 and 3. The notification is sent to the voice encoding device 4 and the multiplexing means 74 (step A
2).

【0026】その後、映像データ入力装置1からアナロ
グ映像データを与えられた映像符号化装置3は、符号化
パラメータ計算装置6から与えられた映像データの符号
化ビットレート等のパラメータで、アナログ映像データ
をMPEGビデオデータに符号化する。同様に、音声デ
ータ入力装置2からアナログ音声データを与えられた音
声符号化装置4は、符号化パラメータ計算装置6から与
えられた音声データの符号化ビットレート等のパラメー
タで、アナログ音声データをMPEGオーディオデータ
に符号化する(ステップA3)。
After that, the video encoding device 3 supplied with the analog video data from the video data input device 1 uses the parameters such as the encoding bit rate of the video data supplied from the encoding parameter calculating device 6 to output the analog video data. Into MPEG video data. Similarly, the audio encoding device 4 to which the analog audio data is given from the audio data input device 2 converts the analog audio data to the MPEG by the parameters such as the encoding bit rate of the audio data given from the encoding parameter calculating device 6. Encode into audio data (step A3).

【0027】映像符号化装置3で符号化された映像デー
タはPS多重化装置7のVideoPES Packe
t化手段71に供給され、音声符号化装置4で符号化さ
れた音声データはAudio PES Packet化手
段72に供給される。一方、多重化手段74は、Vid
eo PES Packet化手段71にVideoPE
S Packetを、Audio PES Packet
化手段72にAudio PES Packetを要求す
る。
The video data encoded by the video encoding device 3 is stored in the Video PES Packet of the PS multiplexer 7.
The audio data supplied to the t-coding unit 71 and encoded by the audio encoding device 4 is supplied to the audio PES packet-forming unit 72. On the other hand, the multiplexing means 74
eo PES Packetizing means 71
Audio PES Packet
Audio PES Packet is requested from the conversion means 72.

【0028】そして、Video PES Packet
化手段71は、映像符号化装置3から与えられた映像デ
ータをVideo PES Packetに構成して多重
化手段74に渡し、同様に、Audio PES Pac
ket化手段72は、音声符号化装置4から与えられた
音声データをAudio PES Packetに構成し
て多重化手段74に渡す。
Then, the Video PES Packet
The multiplexing unit 71 configures the video data provided from the video encoding device 3 into a Video PES Packet and passes it to the multiplexing unit 74. Similarly, the Audio PES Packet
The ket converting means 72 forms the audio data supplied from the audio encoding device 4 into an Audio PES Packet and passes it to the multiplexing means 74.

【0029】また、多重化手段74は、符号化パラメー
タ計算装置から通知された量のPadding Pac
ketの作成をPadding Packet作成手段
73に要求し、Padding Packet作成手段
73はPadding Packetを作成して多重化
手段74に渡す(ステップA4)。
Further, the multiplexing means 74 calculates the amount of Padding Pac notified from the coding parameter calculation device.
A request is made to the padding packet creating means 73, and the padding packet creating means 73 creates a padding packet and passes it to the multiplexing means 74 (step A4).

【0030】多重化手段74は、符号化パラメータ計算
装置から与えられたPS全体のビットレートおよびPa
dding Packetの量をもとにして、Vide
o PES Packet化手段71,Audio PE
S Packet化手段72およびPadding Pa
cket作成手段73から受け取ったPacketデー
タを多重化して、PSを生成する。そして、生成された
PSはPSデータ出力装置8に出力される(ステップA
5)。
The multiplexing means 74 calculates the bit rate and Pa of the entire PS given from the coding parameter calculating device.
Based on the amount of the Ding Packet, the Video
o PES Packetizing Means 71, Audio PE
S Packetizing Means 72 and Padding Pa
The packet data received from the packet creating means 73 is multiplexed to generate a PS. Then, the generated PS is output to the PS data output device 8 (step A).
5).

【0031】次に、本発明によって生成されたPSをT
Sに変換したときに、ストリーム全体のデータ量が増加
しないことを図3を用いて説明する。
Next, the PS generated by the present invention is represented by T
The fact that the data amount of the entire stream does not increase when converted to S will be described with reference to FIG.

【0032】図3は、本発明のPS/TS変換における
データ量を示す図であり、変換元PSデータD1は、変
換元PS A/V PES Packet部D11と、変
換元PS Padding Packet部D12とで構
成されている。変換元PSデータD1を変換後TSデー
タD2に多重化形式を変換するときに、変換元PSPa
ddingPacket部D12はストリームの再生時
には意味のないデータであるので破棄され、変換後TS
データD2には多重化されない。従って、変換元PS
A/V PES Packet部D11のみがTS Pa
cketに分割され、変換後TS A/V TS Pac
ket部D21に多重化される。
FIG. 3 is a diagram showing a data amount in the PS / TS conversion according to the present invention. The conversion source PS data D1 includes a conversion source PS A / V PES Packet unit D11 and a conversion source PS Padding Packet unit D12. It is composed of When converting the multiplexing format from the conversion source PS data D1 to the converted TS data D2, the conversion source PSPa
The DingPacket part D12 is discarded because it is meaningless data at the time of reproducing the stream.
The data D2 is not multiplexed. Therefore, the conversion source PS
Only the A / V PES Packet section D11 has TS Pa
TS A / V TS Pac
The data is multiplexed in the ket unit D21.

【0033】このとき、TS Headerが付加され
るため、変換後TS A/V TS Packet部D2
1のデータ量は、変換元PS A/V PES Pack
et部D11よりも大きくなる。また、変換後TSデー
タD2には、TSについてのストリーム情報が格納され
ている、PSI情報部D22が付加される。よって、変
換後TSデータD2は、変換元PSデータD1に比べ
て、再生時に有効なデータのサイズが増加するが、破棄
された、変換元PS Padding Packet部D
12によってその増加分が吸収されることになり、スト
リーム全体としてのデータ量は変更せずに、TSに変換
することが可能になる。
At this time, since the TS Header is added, the converted TS A / V TS Packet unit D2
1 is the conversion source PS A / V PES Pack
It becomes larger than the et part D11. The converted TS data D2 is added with a PSI information section D22 in which stream information about the TS is stored. Therefore, the converted TS data D2 has a larger effective data size at the time of reproduction than the converted PS data D1, but the discarded converted PS padding packet unit D
12, the increase is absorbed, and the stream can be converted to TS without changing the data amount of the entire stream.

【0034】また、TSに変換したときに、個々のPa
dding Packet量の誤差によりストリーム全
体のデータ量が減少する場合は、変換後TS TS NU
LLPacket部D23を付加して、変換元PSデー
タD1と同じデータ量になるように調整する。TS N
ULL Packetはストリームの再生時には意味の
ないデータである。
When converted to TS, each Pa
If the data amount of the entire stream decreases due to an error in the amount of the dding packet, the converted TS TS NU
An LLPacket section D23 is added to adjust so as to have the same data amount as the conversion source PS data D1. TS N
The UL Packet is meaningless data when the stream is reproduced.

【0035】次に、本発明の第2の実施の形態について
図4および図5を用いて詳細に説明する。
Next, a second embodiment of the present invention will be described in detail with reference to FIGS.

【0036】図4は、本発明の第2の実施の形態の構成
を示すブロック図であり、図1に示された第1の実施の
形態における構成に加え、TS指定レート入力装置9を
有する点で異なる。TS指定レート入力装置9は、多重
化形式をTSに変換する際に、変換可能なTSのビット
レートの指定値を入力し、符号化パラメータ計算装置6
に渡す。
FIG. 4 is a block diagram showing the configuration of the second embodiment of the present invention. In addition to the configuration of the first embodiment shown in FIG. Different in that. When converting the multiplexing format to TS, the TS designation rate input device 9 inputs a designated value of the bit rate of the convertible TS, and the encoding parameter calculation device 6
Pass to.

【0037】次に、本発明の第2の実施の形態の動作に
ついて図5を用いて詳細に説明する。図5は、本発明の
第2の実施の形態の動作を示すフローチャートであり、
図5のA2〜A5で示される映像符号化装置3,音声符
号化装置4,Video PES Packet化手段7
1,Audio PES Packet化手段72,Pa
dding Packet作成手段73および多重化手
段74の動作は、図1に示された第1の実施の形態にお
ける各装置3,4と、各手段71,72,73,74の
動作と同一であるため、説明は省略する。
Next, the operation of the second embodiment of the present invention will be described in detail with reference to FIG. FIG. 5 is a flowchart showing the operation of the second embodiment of the present invention,
Video encoding device 3, audio encoding device 4, and Video PES packetizing means 7 indicated by A2 to A5 in FIG.
1, Audio PES Packetizing Means 72, Pa
The operations of the dding packet creation unit 73 and the multiplexing unit 74 are the same as the operations of the units 3 and 4 and the units 71, 72, 73 and 74 in the first embodiment shown in FIG. The description is omitted.

【0038】図1で示された第1の実施の形態において
は、変換元のPSと同一のビットレートのTSにしか変
換できないPSを生成していたが、本実施の形態では、
TS指定レート入力装置9から変換可能なTSの指定ビ
ットレートを入力し(ステップB1)、そのパラメータ
を符号化パラメータ計算装置6に渡す。
In the first embodiment shown in FIG. 1, a PS that can be converted only to a TS having the same bit rate as the conversion source PS is generated. However, in the present embodiment, a PS is generated.
A designated bit rate of a convertible TS is input from the designated TS rate input device 9 (step B1), and the parameter is passed to the encoding parameter calculation device 6.

【0039】符号化パラメータ計算装置6は、TSの指
定ビットレートになるように、MPEGビデオデータの
ビットレートと、Padding Packetの量を
計算する(ステップA1a)。
The coding parameter calculator 6 calculates the bit rate of the MPEG video data and the amount of the padding packet so that the bit rate specified by the TS is obtained (step A1a).

【0040】この本発明の第2の実施の形態で生成した
PSを使用した場合、変換元のPSよりも低いビットレ
ートのTSに変換できるため、デコーダボードの仕様の
制限等により扱えるTSデータのビットレートが低い場
合にも対応することが可能である。
When the PS generated according to the second embodiment of the present invention is used, the TS can be converted into a TS having a lower bit rate than that of the conversion source PS. It is possible to cope with a case where the bit rate is low.

【0041】次に、本発明の第3の実施の形態について
図6を用いて詳細に説明する。
Next, a third embodiment of the present invention will be described in detail with reference to FIG.

【0042】図6は、本発明の第3の実施の形態の構成
を示すブロック図であり、コンピュータと、記録媒体1
0とで構成される。コンピュータは、図1の本発明の第
1の実施の形態,図4の本発明の第2の実施の形態で説
明したものと基本的に同じである。記録媒体10は、P
S多重化プログラムを記録している。この記録媒体10
は、磁気ディスク,光記録ディスク,半導体メモリその
他の記録媒体であってもよい。PS多重化プログラム
は、記録媒体10からコンピュータに読込まれ、本発明
の第1または第2の実施の形態と同様の動作を制御す
る。
FIG. 6 is a block diagram showing the configuration of the third embodiment of the present invention.
0. The computer is basically the same as that described in the first embodiment of the present invention in FIG. 1 and the second embodiment of the present invention in FIG. The recording medium 10
The S multiplex program is recorded. This recording medium 10
May be a magnetic disk, an optical recording disk, a semiconductor memory, or another recording medium. The PS multiplex program is read into the computer from the recording medium 10 and controls the same operation as in the first or second embodiment of the present invention.

【0043】[0043]

【発明の効果】本発明による第1の効果は、PSの生成
時に必要な量のPadding Packetを多重化
することによって、TSへの変換によるデータ量の増加
を吸収するようにしたため、ストリーム全体のビットレ
ートを上げることなしに、多重化形式をTSに変換可能
なPSデータの作成ができることにある。この結果、ネ
ットワークの帯域の変更が困難な環境において、PSと
TSの両方のデータに対応したい場合に、同一ビットレ
ートのTSを持つ必要がなく、記憶装置の容量を削減で
きる効果がある。
The first effect of the present invention is that, by multiplexing a necessary amount of padding packets at the time of generation of a PS, an increase in the amount of data due to conversion to TS is absorbed, and thus the entire stream can be absorbed. The object is to be able to create PS data capable of converting a multiplex format into TS without increasing the bit rate. As a result, in an environment where it is difficult to change the bandwidth of the network, when it is desired to support both PS and TS data, it is not necessary to have a TS having the same bit rate, and there is an effect that the capacity of the storage device can be reduced.

【0044】第2の効果は、映像データの再符号化をせ
ずに多重化方式の変換のみですませることができるた
め、データを送出するときにリアルタイムにPSからT
Sへの変換が可能になったことである。
The second effect is that only the conversion of the multiplexing system can be performed without re-encoding the video data.
That is, conversion to S has become possible.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】本発明の第1の実施の形態の動作を示すフロー
チャートである。
FIG. 2 is a flowchart showing an operation of the first exemplary embodiment of the present invention.

【図3】本発明の第1および第2の実施の形態のPS/
TS変換におけるデータ量を示す図である。
FIG. 3 is a diagram showing PS / according to the first and second embodiments of the present invention.
It is a figure which shows the data amount in TS conversion.

【図4】本発明の第2の実施の形態の構成を示すブロッ
ク図である。
FIG. 4 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図5】本発明の第2の実施の形態の動作を示すフロー
チャートである。
FIG. 5 is a flowchart showing the operation of the second exemplary embodiment of the present invention.

【図6】本発明の第3の実施の形態の構成を示すブロッ
ク図である。
FIG. 6 is a block diagram showing a configuration of a third exemplary embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 映像データ入力装置 2 音声データ入力装置 3 映像符号化装置 4 音声符号化装置 5 符号化パラメータ入力装置 6 符号化パラメータ計算装置 7 PS多重化装置 71 Video PES Packet化手段 72 Audio PESPacket化手段 73 Padding Packet作成手段 74 多重化手段 8 PSデータ出力装置 9 TS指定レート入力装置 10 記録媒体 REFERENCE SIGNS LIST 1 video data input device 2 audio data input device 3 video encoding device 4 audio encoding device 5 encoding parameter input device 6 encoding parameter calculation device 7 PS multiplexing device 71 Video PES Packetizing device 72 Audio PESPacketizing device 73 Padding Packet creating means 74 Multiplexing means 8 PS data output device 9 TS designated rate input device 10 Recording medium

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 7/00 - 7/088 H04N 7/24 - 7/68 H04J 3/00 ──────────────────────────────────────────────────続 き Continuation of front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 7/ 00-7/088 H04N 7/ 24-7/68 H04J 3/00

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 符号化した映像データストリームと符号
化した音声データストリームとをお互いに同期をとって
多重化し、MPEGのプログラムストリームを生成する
MPEGエンコード装置であって、 前記プログラムストリーム全体のビットレートから、同
一ビットレートのトランスポートストリームに変換可能
な映像データのビットレートと、前記プログラムストリ
ームから前記トランスポートストリームへの多重化方式
変換時に発生するデータ量の増加分を吸収するために必
要なパディングパケットの量とを計算し、前記パディン
グパケットを前記プログラムストリームの多重化時に挿
入しておくことを特徴とするMPEGエンコード装置。
1. An MPEG encoding apparatus for generating an MPEG program stream by synchronizing and multiplexing an encoded video data stream and an encoded audio data stream with each other, comprising: From the bit rate of the video data that can be converted to a transport stream of the same bit rate, and the padding necessary to absorb the increase in the amount of data that occurs when the multiplex system is converted from the program stream to the transport stream. An MPEG encoding apparatus, wherein the amount of packets is calculated and the padding packets are inserted when multiplexing the program stream.
【請求項2】 符号化した映像データストリームと符号
化した音声データストリームとをお互いに同期をとって
多重化し、MPEGのプログラムストリームを生成する
MPEGエンコード装置であって、 前記プログラムストリーム全体のビットレートから、指
定のビットレートのトランスポートストリームに変換可
能な映像データのビットレートと、前記プログラムスト
リームから前記トランスポートストリームへの多重化方
式変換時に発生するデータ量の増加分を吸収するために
必要なパディングパケットの量とを計算し、前記パディ
ングパケットを前記プログラムストリームの多重化時に
挿入しておくことを特徴とするMPEGエンコード装
置。
2. An MPEG encoding apparatus for generating an MPEG program stream by synchronizing and multiplexing an encoded video data stream and an encoded audio data stream with each other, comprising: From the bit rate of video data that can be converted to a transport stream of a specified bit rate, and the increase in the amount of data that occurs when a multiplexing scheme is converted from the program stream to the transport stream. An MPEG encoding apparatus, which calculates an amount of padding packets and inserts the padding packets when multiplexing the program stream.
【請求項3】 符号化した映像データストリームと符号
化した音声データストリームとをお互いに同期をとって
多重化し、MPEGのプログラムストリームを生成する
MPEGエンコード装置であって、 前記プログラムストリーム全体のビットレートや音声デ
ータの符号化パラメータ等の符号化に必要な各種パラメ
ータを入力する符号化パラメータ入力装置と、 前記プログラムストリーム全体のビットレートをもとに
して、同一ビットレートのトランスポートストリームに
変換可能になるように、映像データのビットレートと、
前記プログラムストリームから前記トランスポートスト
リームへの多重化方式変換時に発生するデータ量の増加
分を吸収するために挿入するパディングパケットの量と
を計算する符号化パラメータ計算装置と、 前記符号化パラメータ計算装置から与えられた符号化ビ
ットレート等のパラメータで符号化された前記映像デー
タ,音声データをそれぞれ映像PESパケット,音声P
ESパケットに構成するとともに、前記符号化パラメー
タ計算装置から通知された量のパディングパケットの作
成を行い、前記映像PESパケット,音声PESパケッ
トおよびパディングパケットを多重化して前記プログラ
ムストリームを生成する多重化装置とを有することを特
徴とするMPEGエンコード装置。
3. An MPEG encoding apparatus for generating an MPEG program stream by synchronizing and multiplexing an encoded video data stream and an encoded audio data stream with each other, comprising: Parameter input device for inputting various parameters necessary for encoding such as encoding parameters of audio data and audio data, and capable of converting to a transport stream of the same bit rate based on the bit rate of the entire program stream So that the bit rate of the video data
An encoding parameter calculation device that calculates an amount of padding packets to be inserted to absorb an increase in the amount of data generated when the multiplexing method is converted from the program stream to the transport stream; and the encoding parameter calculation device. The video data and the audio data encoded with the parameters such as the encoding bit rate given by
A multiplexing device configured to form an ES packet and generating the amount of padding packets notified from the encoding parameter calculation device, and multiplexing the video PES packet, the audio PES packet, and the padding packet to generate the program stream; And an MPEG encoding device.
【請求項4】 符号化した映像データストリームと符号
化した音声データストリームとをお互いに同期をとって
多重化し、MPEGのプログラムストリームを生成する
MPEGエンコード装置であって、 前記プログラムストリーム全体のビットレートや音声デ
ータの符号化パラメータ等の符号化に必要な各種パラメ
ータを入力する符号化パラメータ入力装置と、 変換後のトランスポートストリームの指定ビットレート
を入力するTS指定レート入力装置と、 前記プログラムストリーム全体のビットレートをもとに
して、前記指定ビットレートのトランスポートストリー
ムに変換可能になるように、映像データのビットレート
と、前記プログラムストリームから前記トランスポート
ストリームへの多重化方式変換時に発生するデータ量の
増加分を吸収するために挿入するパディングパケットの
量とを計算する符号化パラメータ計算装置と、 前記符号化パラメータ計算装置から与えられた符号化ビ
ットレート等のパラメータで符号化された前記映像デー
タ,音声データをそれぞれ映像PESパケット,音声P
ESパケットに構成するとともに、前記符号化パラメー
タ計算装置から通知された量のパディングパケットの作
成を行い、前記映像PESパケット,音声PESパケッ
トおよびパディングパケットを多重化して前記プログラ
ムストリームを生成する多重化装置とを有することを特
徴とするMPEGエンコード装置。
4. An MPEG encoding apparatus for generating an MPEG program stream by synchronizing and multiplexing an encoded video data stream and an encoded audio data stream with each other, comprising: Parameter input device for inputting various parameters necessary for encoding such as encoding parameters for audio and audio data, a TS-specified rate input device for inputting a specified bit rate of a converted transport stream, and the entire program stream The bit rate of the video data and the data generated at the time of multiplexing conversion from the program stream to the transport stream so that the transport stream can be converted to the transport stream of the designated bit rate based on the bit rate of Volume increase Parameter calculating device for calculating the amount of padding packets to be inserted to absorb the data, and the video data and audio data coded with parameters such as the coding bit rate given from the coding parameter calculating device. Are the video PES packet and the audio P, respectively.
A multiplexing device configured to form an ES packet and generating the amount of padding packets notified from the encoding parameter calculation device, and multiplexing the video PES packet, the audio PES packet, and the padding packet to generate the program stream; And an MPEG encoding device.
【請求項5】 符号化した映像データストリームと符号
化した音声データストリームとをお互いに同期をとって
多重化し、MPEGのプログラムストリームを生成する
MPEGのPS多重化方法であって、 前記プログラムストリーム全体のビットレートや音声デ
ータの符号化パラメータ等の符号化に必要な各種パラメ
ータを入力するステップと、 前記プログラムストリーム全体のビットレートをもとに
して、同一ビットレートのトランスポートストリームに
変換可能になるように、映像データのビットレートと、
前記プログラムストリームから前記トランスポートスト
リームへの多重化方式変換時に発生するデータ量の増加
分を吸収するために挿入するパディングパケットの量と
を計算するステップと、 前記符号化パラメータで符号化された前記映像データ,
音声データをそれぞれ映像PESパケット,音声PES
パケットに構成するとともに、前記計算された量のパデ
ィングパケットの作成を行い、前記映像PESパケッ
ト,音声PESパケットおよびパディングパケットを多
重化して前記プログラムストリームを生成するステップ
とを有することを特徴とするMPEGのPS多重化方
法。
5. An MPEG PS multiplexing method for generating an MPEG program stream by synchronizing and multiplexing an encoded video data stream and an encoded audio data stream with each other, comprising: Inputting various parameters required for encoding such as the bit rate of the audio data and the encoding parameters of the audio data; and enabling conversion to a transport stream of the same bit rate based on the overall bit rate of the program stream. And the bit rate of the video data,
Calculating the amount of padding packets to be inserted to absorb the increase in the amount of data that occurs when the multiplexing method is converted from the program stream to the transport stream; and Video data,
Audio PES packet and audio PES respectively
And generating the calculated amount of padding packets, and multiplexing the video PES packet, audio PES packet, and padding packet to generate the program stream. PS multiplexing method.
【請求項6】 符号化した映像データストリームと符号
化した音声データストリームとをお互いに同期をとって
多重化し、MPEGのプログラムストリームを生成する
MPEGのPS多重化方法であって、 前記プログラムストリーム全体のビットレートや音声デ
ータの符号化パラメータ等の符号化に必要な各種パラメ
ータを入力するステップと、 変換後のトランスポートストリームの指定ビットレート
を入力するステップと、 前記プログラムストリーム全体のビットレートをもとに
して、前記指定ビットレートのトランスポートストリー
ムに変換可能になるように、映像データのビットレート
と、前記プログラムストリームから前記トランスポート
ストリームへの多重化方式変換時に発生するデータ量の
増加分を吸収するために挿入するパディングパケットの
量とを計算するステップと、 前記符号化パラメータで符号化された前記映像データ,
音声データをそれぞれ映像PESパケット,音声PES
パケットに構成するとともに、前記計算された量のパデ
ィングパケットの作成を行い、前記映像PESパケッ
ト,音声PESパケットおよびパディングパケットを多
重化して前記プログラムストリームを生成するステップ
とを有することを特徴とするMPEGのPS多重化方
法。
6. An MPEG PS multiplexing method for generating an MPEG program stream by synchronizing and multiplexing an encoded video data stream and an encoded audio data stream with each other, comprising: Inputting various parameters required for encoding such as the bit rate of the audio data and the encoding parameter of the audio data; inputting the designated bit rate of the converted transport stream; and The bit rate of the video data and the increase in the amount of data generated when the multiplexing method is converted from the program stream to the transport stream so that the transport stream can be converted to the transport stream of the specified bit rate. Pade to insert to absorb Calculating the amount of coding packets; and the video data encoded with the encoding parameter;
Audio PES packet and audio PES respectively
And generating the calculated amount of padding packets, and multiplexing the video PES packet, audio PES packet, and padding packet to generate the program stream. PS multiplexing method.
【請求項7】 プログラムストリーム全体のビットレー
トや音声データの符号化パラメータ等の符号化に必要な
各種パラメータを設定する処理と、 前記プログラムストリーム全体のビットレートをもとに
して、同一ビットレートのトランスポートストリームに
変換可能になるように、映像データのビットレートと、
前記プログラムストリームから前記トランスポートスト
リームへの多重化方式変換時に発生するデータ量の増加
分を吸収するために挿入するパディングパケットの量と
を計算する処理と、 前記符号化パラメータで符号化された前記映像データ,
音声データをそれぞれ映像PESパケット,音声PES
パケットに構成するとともに、前記計算された量のパデ
ィングパケットの作成を行い、前記映像PESパケッ
ト,音声PESパケットおよびパディングパケットを多
重化して前記プログラムストリームを生成する処理とを
コンピュータに実行させるためのプログラムを記録した
ことを特徴とするPS多重化プログラムを記録した記録
媒体。
7. A process for setting various parameters required for encoding such as a bit rate of an entire program stream and an encoding parameter of audio data, and a process of setting the same bit rate based on the bit rate of the entire program stream. The bit rate of video data, so that it can be converted to a transport stream,
A process of calculating an amount of padding packets to be inserted in order to absorb an increase in the amount of data generated at the time of multiplexing conversion from the program stream to the transport stream; and Video data,
Audio PES packet and audio PES respectively
A program for generating a calculated amount of padding packets, multiplexing the video PES packet, audio PES packet and padding packet to generate the program stream, and causing the computer to execute the process. A recording medium on which a PS multiplexing program is recorded.
【請求項8】 プログラムストリーム全体のビットレー
トや音声データの符号化パラメータ等の符号化に必要な
各種パラメータを設定する処理と、 変換後のトランスポートストリームの指定ビットレート
を設定する処理と、 前記プログラムストリーム全体のビットレートをもとに
して、前記指定ビットレートのトランスポートストリー
ムに変換可能になるように、映像データのビットレート
と、前記プログラムストリームから前記トランスポート
ストリームへの多重化方式変換時に発生するデータ量の
増加分を吸収するために挿入するパディングパケットの
量とを計算する処理と、 前記符号化パラメータで符号化された前記映像データ,
音声データをそれぞれ映像PESパケット,音声PES
パケットに構成するとともに、前記計算された量のパデ
ィングパケットの作成を行い、前記映像PESパケッ
ト,音声PESパケットおよびパディングパケットを多
重化して前記プログラムストリームを生成する処理とを
コンピュータに実行させるためのプログラムを記録した
ことを特徴とするPS多重化プログラムを記録した記録
媒体。
8. A process for setting various parameters necessary for encoding such as a bit rate of an entire program stream and an encoding parameter of audio data; a process for setting a designated bit rate of a converted transport stream; Based on the bit rate of the entire program stream, the bit rate of the video data and the multiplexing method conversion from the program stream to the transport stream are performed so that the transport stream can be converted to the specified bit rate. Calculating the amount of padding packets to be inserted to absorb the increase in the amount of generated data; and the video data encoded with the encoding parameter.
Audio PES packet and audio PES respectively
A program for generating a calculated amount of padding packets, multiplexing the video PES packet, audio PES packet and padding packet to generate the program stream, and causing the computer to execute the process. A recording medium on which a PS multiplexing program is recorded.
JP35314297A 1997-12-22 1997-12-22 MPEG encoding apparatus, MPEG PS multiplexing method, and recording medium recording PS multiplexing program Expired - Fee Related JP3338774B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35314297A JP3338774B2 (en) 1997-12-22 1997-12-22 MPEG encoding apparatus, MPEG PS multiplexing method, and recording medium recording PS multiplexing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35314297A JP3338774B2 (en) 1997-12-22 1997-12-22 MPEG encoding apparatus, MPEG PS multiplexing method, and recording medium recording PS multiplexing program

Publications (2)

Publication Number Publication Date
JPH11187362A JPH11187362A (en) 1999-07-09
JP3338774B2 true JP3338774B2 (en) 2002-10-28

Family

ID=18428849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35314297A Expired - Fee Related JP3338774B2 (en) 1997-12-22 1997-12-22 MPEG encoding apparatus, MPEG PS multiplexing method, and recording medium recording PS multiplexing program

Country Status (1)

Country Link
JP (1) JP3338774B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2265089C (en) * 1998-03-10 2007-07-10 Sony Corporation Transcoding system using encoding history information
GB9930788D0 (en) * 1999-12-30 2000-02-16 Koninkl Philips Electronics Nv Method and apparatus for converting data streams
CN100337481C (en) * 2004-03-19 2007-09-12 中国科学院计算技术研究所 A MPEG-2 to AVS video code stream conversion method and apparatus
KR100608061B1 (en) 2004-07-12 2006-08-02 삼성전자주식회사 Apparatus and method for multiplexing to generate transport stream

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
岡田恭典,苅部朋幸,長井真太郎「VODにおけるMPEGストリーム制御方式の検討」,テレビジョン学会技

Also Published As

Publication number Publication date
JPH11187362A (en) 1999-07-09

Similar Documents

Publication Publication Date Title
TW545058B (en) Encoding apparatus and method, and multiplexing apparatus and method
JP4538908B2 (en) Data conversion apparatus and method
JP4948147B2 (en) Method and apparatus for editing composite content file
US6430354B1 (en) Methods of recording/reproducing moving image data and the devices using the methods
US7292610B2 (en) Multiplexed data producing apparatus, encoded data reproducing apparatus, clock conversion apparatus, encoded data recording medium, encoded data transmission medium, multiplexed data producing method, encoded data reproducing method, and clock conversion method
JP4515465B2 (en) Moving picture photographing apparatus and moving picture photographing method, moving picture reproducing apparatus and moving picture reproducing method for reproducing a video signal recorded on a recording medium
JPH09139937A (en) Moving image stream converter
US7907633B2 (en) Data multiplexing/demultiplexing apparatus
JP2006303655A (en) Information recording and reproducing system, information recording and reproducing apparatus, and information recording and reproducing method
JP4294660B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING MEDIUM THEREOF
JP4676331B2 (en) Code conversion method and apparatus
JP4715306B2 (en) STREAM CONTROL DEVICE, STREAM REPRODUCTION METHOD, VIDEO RECORDING / REPRODUCTION SYSTEM
JP3338774B2 (en) MPEG encoding apparatus, MPEG PS multiplexing method, and recording medium recording PS multiplexing program
JP2006303653A (en) Information management system, information management device, and information management method
JP3541413B2 (en) Information signal transmission method and apparatus
JPH0898160A (en) Data multiplexing device
JP2011151784A (en) Moving image multiplexing apparatus, video and audio recording apparatus and moving image multiplexing method
JP4217934B2 (en) Transport stream recording apparatus and method, and recording medium
JP2005110024A (en) Data transmitter, data transmission/reception system, and data transmission/reception method
JP4168527B2 (en) Data multiplexing apparatus and data multiplexing method
JP2006301748A (en) Information recording reproduction system, information recording reproduction device, and information recording reproduction method
JP2008245122A (en) Data encoding method and apparatus, and data encoding program
JPH0974546A (en) Multiplexer
JP2001177776A (en) Method and device for contents production
JP2001110125A (en) Recording/reproducing device and recording/reproducing method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020716

LAPS Cancellation because of no payment of annual fees