JP2013098721A - Transport stream recording device and transport stream recording method - Google Patents
Transport stream recording device and transport stream recording method Download PDFInfo
- Publication number
- JP2013098721A JP2013098721A JP2011239214A JP2011239214A JP2013098721A JP 2013098721 A JP2013098721 A JP 2013098721A JP 2011239214 A JP2011239214 A JP 2011239214A JP 2011239214 A JP2011239214 A JP 2011239214A JP 2013098721 A JP2013098721 A JP 2013098721A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- transport stream
- unit
- null
- output
- 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
Links
Images
Abstract
Description
本発明の実施形態は、トランスポートストリーム記録装置及びトランスポートストリーム記録方法に関する。 Embodiments described herein relate generally to a transport stream recording apparatus and a transport stream recording method.
近年、放送のデジタル化が進み、テレビジョン受像機等の放送受信装置もデジタル放送対応になっている。デジタル放送においては、一般に動画を圧縮して放送しており、圧縮方式の国際標準としてはいわゆるMPEG(Motion Picture Expert Group)方式におけるいわゆるトランスポートストリーム(Transport Stream:以下TSとも略すこともある)方式が採用されている。 In recent years, digitalization of broadcasting has progressed, and broadcast receiving apparatuses such as television receivers are also compatible with digital broadcasting. In digital broadcasting, video is generally compressed and broadcast, and the international standard for compression is the so-called transport stream (hereinafter also abbreviated as TS) in the so-called MPEG (Motion Picture Expert Group) system. Is adopted.
デジタル放送では多数のチャンネルを含み、チャンネル毎に異なる内容の番組が放送され、視聴者は、多くの番組を高画質な映像で視聴することができる。また、視聴者は、レコーダ、レコーダ機能付きのテレビジョン受像機等を利用してデジタル放送に含まれる番組の中から所望の番組をハードディスク装置等の記憶装置あるいは記録媒体に録画、すなわち記録することができる。 Digital broadcasting includes a large number of channels, and programs with different contents are broadcast for each channel, and viewers can view many programs with high-quality images. In addition, the viewer uses a recorder, a television receiver with a recorder function, or the like to record a desired program from a program included in the digital broadcast on a storage device such as a hard disk device or a recording medium. Can do.
ところで、コンテンツを記憶装置等に記録するときに、セクション情報を、例えばPSI(Program Specific Information:番組特定情報)、SI(Service Information:サービス情報)、データなどを、TS中のヌルパケット(Null Packet)に含ませるような再多重化処理を行って、そのコンテンツを、パーシャルTSとして記録する場合がある。このような再多重化処理によってコンテンツデータに含まれたコンテンツに関する各種情報は、記録されたコンテンツの再生処理、管理等に利用することができる。
しかし、受信したTSがヌルパケットを含まない場合は、このような再多重化処理を行うことができないという問題がある。
By the way, when content is recorded in a storage device or the like, section information such as PSI (Program Specific Information), SI (Service Information: Service Information), data, and the like, a null packet in the TS (Null Packet). In some cases, the content is recorded as a partial TS by performing a remultiplexing process included in (). Various types of information related to the content included in the content data by such re-multiplexing processing can be used for the playback processing and management of the recorded content.
However, when the received TS does not include a null packet, there is a problem that such re-multiplexing processing cannot be performed.
そこで、実施形態は、TSがヌルパケットを含まない場合でも、再多重化処理ができるトランスポートストリーム記録装置及びトランスポートストリーム記録方法を提供することを目的とする。 Therefore, an object of the embodiment is to provide a transport stream recording apparatus and a transport stream recording method capable of performing remultiplexing processing even when a TS does not include a null packet.
実施形態によれば、入力された第1のトランスポートストリーム中のトランスポートストリームパケットの入力クロックの周波数よりも高い周波数の出力クロックで、前記トランスポートストリームパケットを出力するように、前記トランスポートストリームパケットを変換するパケット変換部と、ヌルパケットを格納する格納部と、前記パケット変換部において変換されたトランスポートストリームパケット間に、前記格納部に格納された前記ヌルパケットを挿入し、かつ前記ヌルパケットを挿入する前記第1のトランスポートストリーム中の位置は指定可能であるヌルパケット挿入部と、前記ヌルパケット挿入部において挿入された前記ヌルパケットを前記セクション情報を有するパケットに置き換えた第2のトランスポートストリームを出力するトランスポートストリーム出力部と、を有するトランスポートストリーム記録装置が提供される。 According to the embodiment, the transport stream is output so that the transport stream packet is output at an output clock having a frequency higher than the frequency of the input clock of the transport stream packet in the input first transport stream. A packet conversion unit for converting a packet; a storage unit for storing a null packet; and the transport stream packet converted by the packet conversion unit, the null packet stored in the storage unit being inserted, and the null A position in the first transport stream where the packet is inserted can be specified, and a second packet packet is inserted in the null packet insertion unit, and the second packet is replaced with a packet having the section information. Transport stream And the transport stream output unit for outputting, the transport stream recording apparatus having provided.
以下、図面を参照して実施形態を説明する。
(第1の実施形態)
図1は、本実施形態に係わるテレビジョン受像機の構成を示すブロック図である。テレビジョン受像機1は、デジタル放送受信装置であり、トランスポートストリーム(TS)を受信して、ユーザが所望のチャンネルを視聴し、かつ録画できる装置である。ユーザは、リモコン2を操作することにより、トランスポートストリーム記録装置でもあるテレビジョン受像機1に対して各種機能の実行を指示することができる。
Hereinafter, embodiments will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a block diagram illustrating a configuration of a television receiver according to the present embodiment. The
テレビジョン受像機1は、放送受信用のインターフェース(I/F)11、受信部12、トランスポートストリーム出力部(以下、TS出力部という)13、PID(パケットID)フィルタ14、デコーダ15、映像出力インターフェース(I/F)16、音声出力インターフェース(I/F)17、表示装置18、スピーカ19、再多重化処理部20、受信したコンテンツのパーシャルTSを記録する蓄積装置21、制御部22、受光部23などを含んで構成される。
The
なお、テレビジョン受像機1は、地上波デジタル放送だけでなく、IP(Internet Protocol)放送を受信可能なテレビジョン受像機である。IP放送は、インターネット等のIPネットワークを利用した放送である。図1では、IP放送の受信に係わる回路を示し、一般的な地上波デジタル放送などの受信回路については、省略している。
The
放送受信用のインターフェース11は、インターネットなどのネットワークNWに接続され、受信部12は、インターフェース11を介して、放送信号を受信する。受信部12は、受信バッファに12aを含み、TSを受信し、受信したTSに含まれる複数のTSパケット(以下、単にパケットともいう)を、受信バッファに12aに一時記憶する。
The
TS出力部13は、受信バッファ12aに記憶された受信パケットを順次読み出し、予め決められた高いクロック周波数のパケットを生成し、後述するように、パケット間にヌルパケットを挿入して、出力する。
The
PIDフィルタ14は、入力されたパケットから目的のPIDのパケットを抽出し、出力する。なお、PIDフィルタ14は、後述するように、ヌルパケットの削除は行わない。すなわち、PIDフィルタ14は、ヌルパケット挿入部32で挿入されたヌルパケットを削除しないで、TS出力部13から出力されたTSパケットを入力して、PIDフィルタリングを行うフィルタである。
The
デコーダ15は、PIDフィルタ14から出力されたパケットからヌルパケットを削除した後、パケットをデコードして、映像信号は、インターフェース16を介して表示装置18に出力し、音声信号は、インターフェース17を介してスピーカ19に出力する。
The
なお、PIDフィルタ14は、デコーダ15へ出力するパケットにはヌルパケットが含まれないように、TS出力部13から出力されたパケットからヌルパケットを削除してデコーダ15へパケットを送出し、デコーダ15では、PIDフィルタ14から出力されたパケットからヌルパケットを削除しないようにしてもよい。
The
再多重化処理部20は、制御部22により用意された、パーシャルTSのためのセクション情報を含むパケットで、ヌルパケットを置き換え、かつ置き換える必要のないヌルパケットを削除したパーシャルTSを、蓄積装置21へ出力する。セクション情報には、PSI,SI等の種々の情報があるが、パーシャルTSに含ませるセクション情報は、予め決められている。
蓄積装置21は、ハードディスクドライブなどの記憶装置を含み、入力されたパーシャルTSを記録する機能を有する装置である。
The
The
制御部22は、中央処理装置(CPU)等を含み、テレビジョン受像機1の全体を制御する制御部である。ユーザが操作するリモコン2からの赤外線のコマンドが受光部23において受信されて、制御部22は、受光部23で受信したコマンドに応じた機能を実現するように、テレビジョン受像機1内の各種回路を制御する。
The
例えば、ユーザが、あるチャンネルの放送を視聴するコマンドを指示すると、PIDフィルタ14は、その指定されたチャンネルのパケットを選択して出力する。デコーダ15は、PIDフィルタ14から出力されたパケットからヌルパケットを削除してからデコードし、映像信号は、インターフェース16を出力され、音声信号は、インターフェース17に出力される。
For example, when the user instructs a command for viewing a broadcast of a certain channel, the
また、ユーザが、あるチャンネルの放送番組のコンテンツを録画するコマンドを指示すると、再多重処理部20は、記録するパケット中のヌルパケットを、制御部22により用意されたセクション情報に置き換えて、パーシャルTSとして、蓄積装置21に出力する。
In addition, when the user instructs a command to record the content of a broadcast program of a certain channel, the
図2は、TS出力部13の構成を示すブロック図である。TS出力部13は、パケット変換部31と、ヌルパケット挿入部32と、パケット出力部33と、ヌルパケットレジスタ34とを含む。さらに、ヌルパケット挿入部32は、タイムスタンプ演算部35を含む。
FIG. 2 is a block diagram showing a configuration of the
なお、ここでは、受信したパケットを、伝送クロックを上げたパケットに変換した後にヌルパケットを挿入しているが、ヌルパケットを挿入した後に、高い伝送クロックのパケットに変換するようにしてもよい。 In this example, the received packet is converted into a packet having a higher transmission clock, and then a null packet is inserted. However, after the null packet is inserted, it may be converted into a packet having a higher transmission clock.
TS出力部13には、受信バッファ12aから受信パケットPinが順次入力される。パケット変換部31は、受信パケットの伝送レートは変更せずに、伝送クロックの周波数を上げて、受信パケットを出力する回路である。より具体的には、パケット変換部31は、入力されたTSの受信パケットを変換して、受信パケットPinの伝送クロックよりも高い伝送クロックで受信パケットを出力する。
Received packets Pin are sequentially input from the
ここでは、パケット変換部31は、受信パケットの出力クロックを、受信パケットPinの伝送クロックのn倍(nは、正の整数)、ここでは2倍、のクロックに変換して、受信パケットを出力する。例えば、受信パケットPinが18Mhzの伝送クロック周波数f1でTS出力部18に入力される場合、パケット変換部31は、36Mhzの伝送クロック周波数f2で受信パケットを出力する。
Here, the
ここでは、出力される受信パケットの伝送クロック周波数f2が受信パケットの伝送クロック周波数f1の2倍である例を説明するが、出力パケットの伝送クロック周波数f2は、受信パケットの伝送クロック周波数f1の3倍、4倍などでもよい。 Here, an example will be described in which the transmission clock frequency f2 of the output received packet is twice the transmission clock frequency f1 of the received packet. However, the transmission clock frequency f2 of the output packet is 3 of the transmission clock frequency f1 of the received packet. It may be double or quadruple.
以上のように、パケット変換部31は、入力されたTS中のTSパケットである受信パケットPinの入力クロックの周波数よりも高い周波数の出力クロックで、TSパケットを出力するように、受信パケットを変換するパケット変換部である。
As described above, the
ヌルパケット挿入部32は、パケット変換部31で変換された受信パケット間に、ヌルパケットを挿入する処理部である。ヌルパケットレジスタ32は、ヌルパケットを格納する格納部としての回路である。
なお、ここでは、ヌルパケットを格納する回路として、レジスタを用いているが、メモリでもよい。
The null
Here, a register is used as a circuit for storing a null packet, but a memory may be used.
2倍の伝送クロックの受信パケットがヌルパケット挿入部32に入力されるので、ヌルパケット挿入部32は、連続する2つの受信パケット間に、ヌルパケットレジスタ34に格納されたヌルパケットを、挿入して出力する。すなわち、ヌルパケット挿入部32は、ヌルパケットを格納するヌルパケットレジスタ32に格納されたヌルパケットを、パケット変換部31において変換されたTSパケット間に挿入する処理部である。
Since a received packet having a double transmission clock is input to the null
なお、ヌルパケット挿入部32に含まれるタイムスタンプ演算部35は、受信パケットがタイムスタンプを含むパケットである場合に、ヌルパケットに付加するタイムスタンプを算出する回路である。
パケット出力部33は、2つの受信パケット間にヌルパケットが挿入された出力パケットPoutを、TSとして出力する。
The time
The
図3は、TS出力部13の処理の流れを示すフローチャートである。ここでは、受信パケットがタイムスタンプを含む場合を説明する。なお、受信パケットがタイムスタンプを含まない場合は、タイムスタンプに関する処理は、行われない。
FIG. 3 is a flowchart showing a process flow of the
図3に示すように、処理が開始されると、パケット変換部31は、受信バッファ12aから受信パケットPinを入力し(S1)、受信パケットPinを、高い伝送クロックを有する受信パケットP1に変換する(S2)。
そして、ヌルパケット挿入部32は、受信パケットPinに含まれるタイムスタンプから、挿入するヌルパケットのタイムスタンプを計算し、タイムスタンプを付けたヌルパケットを、受信パケット間に挿入する(S3)。
As shown in FIG. 3, when the process is started, the
Then, the null
そして、パケット出力部33は、受信パケットP1とヌルパケットを含む出力パケットPoutを出力する(S4)。
Then, the
なお、上述したように、受信したパケットPinを、伝送クロックを上げたパケットに変換した後にヌルパケットを挿入するのではなく、受信したパケットPin間にヌルパケットを挿入した後に、高い伝送クロックの受信パケットに変換する場合は、上記のS2とS3の処理の順番は、入れ替わる。
以上のS1からS4の処理が、繰り返される。
Note that, as described above, the received packet Pin is not converted into a packet having a higher transmission clock, and then a null packet is not inserted. In the case of conversion into a packet, the order of the processing of S2 and S3 described above is switched.
The above processes from S1 to S4 are repeated.
図4は、受信したTSが再多重化されるまでのタイムチャートである。なお、図4は、nが2の場合、すなわち、受信パケットPinの伝送クロックの2倍で、受信パケットP1が生成される場合を示す図である。 FIG. 4 is a time chart until the received TS is remultiplexed. FIG. 4 is a diagram illustrating a case where the received packet P1 is generated when n is 2, that is, twice the transmission clock of the received packet Pin.
まず、受信部12からの受信パケットPinは、受信パケットPinの伝送レートに応じたクロックに基づいて入力される。図4では、受信パケットPinが、0(ゼロ)から順番にTS出力部13に入力されることが示されている。
First, the received packet Pin from the receiving
パケット変換部31により、その受信パケットPinは、受信パケットPinの伝送クロックの2倍の出力クロックCLKの受信パケットP1に変換されて、ヌルパケット挿入部32に出力される。
The received packet Pin is converted by the
図4に示すように、受信パケットP1間にスペースができるので、ヌルパケット挿入部32により、受信パケットP1間にヌルパケット(Null)が挿入され、パケット出力部33により、受信パケットP1とヌルパケットを含む出力パケットPoutが出力される。
As shown in FIG. 4, since there is a space between the received packets P1, a null packet (Null) is inserted between the received packets P1 by the null
なお、ここでは、連続する2つの受信パケット間の全てにヌルパケットが挿入されているが、連続する2つの受信パケット間の全てにヌルパケットを挿入しないようにしてもよい。例えば、録画モードなどのモードに応じて、連続する2つの受信パケット間の、1つ置きあるいは2つ置き等のような、指定された位置に、ヌルパケットを挿入するようにしてもよい。この場合、パーシャルTSに含ませるセクション情報の量が、モードに応じて異なっている場合もあるので、モードに応じて、ヌルパケット挿入部32では、ヌルパケットを挿入するTS中の位置を指定可能となっている。よって、ヌルパケット挿入部32は、ヌルパケットの挿入位置を指定する指定機能を有する。従って、このような場合、ヌルパケット挿入部32は、ヌルパケットを挿入するTS中の位置が指定可能となっている。
Note that, here, null packets are inserted between all two consecutive received packets, but null packets may not be inserted between all two consecutive received packets. For example, a null packet may be inserted at a designated position, such as every other or every other two received packets, according to a mode such as a recording mode. In this case, since the amount of section information included in the partial TS may differ depending on the mode, the null
また、ヌルパケット挿入部32では、ヌルパケットにタイムスタンプ、すなわち時刻情報、を含ませるために、前回受信したパケットPinと、今回受信したパケットPinのタイムスタンプの値から、ヌルパケットに含ませるべきタイムスタンプの値を算出し、算出したタイムスタンプをヌルパケットに含ませる。なお、図2では、タイムスタンプ算出部35は、ヌルパケット挿入部32に含まれているが、ヌルパケット挿入部32とは別に設けられていてもよい。
Further, in order to include a time stamp, that is, time information, in the null
タイムスタンプ算出部35では、例えば、次のようにしてタイムスタンプを算出する。
In the time
前回受信したパケットPinのタイムスタンプの値をts1、今回受信したパケットのタイムスタンプの値をts2、先のパケットから数えたヌルパケットの挿入回数をkとすると、挿入するヌルパケットのタイムスタンプの値tscは、次の式(1)から算出される。 If the time stamp value of the previously received packet Pin is ts1, the time stamp value of the currently received packet is ts2, and the number of null packet insertions counted from the previous packet is k, the time stamp value of the null packet to be inserted tsc is calculated from the following equation (1).
tsc=ts1+((ts2−ts1)/n)*k ・・・(1)
なお、入力ビットレートから算出したタイムスタンプの差分値を、先のパケットのタイムスタンプに加算する等により、挿入するヌルパケットのタイムスタンプの値tscを算出するようにしてもよい。
tsc = ts1 + ((ts2-ts1) / n) * k (1)
Note that the time stamp value tsc of the null packet to be inserted may be calculated by adding the difference value of the time stamp calculated from the input bit rate to the time stamp of the previous packet.
図5は、PIDフィルタ14と再多重化処理部20における処理の流れの例を示すフローチャートである。
図5に示すように、PIDフィルタ14は、TS出力部13からの出力パケットPoutを入力し(S11)、ヌルパケットの削除はしないで、PIDフィルタリングを行う(S12)。PIDフィルタリングにより、所望のチャンネルのパケットのみが選択されて出力される。
FIG. 5 is a flowchart illustrating an example of a processing flow in the
As shown in FIG. 5, the
再多重化処理部20は、PIDフィルタ14から入力される各パケットをチェックして、ヌルパケットであるか否かを判定する(S13)。入力されたパケットがヌルパケットであるとき(S13:YES)、再多重化処理部20は、再多重化処理を行う(S14)。
The
再多重化処理では、ヌルパケットを、パーシャルTSのためのセクション情報を含むパケット(以下、セクションTSパケットともいう)で、置き換える処理が実行される。再多重化処理により、ヌルパケットに代わって挿入されるセクションTSパケット(図10中の「Remux」で示す)は、TSの先頭にのみ挿入されるもの、周期的に挿入されるもの等があるため、全てのヌルパケットがセクションTSパケットによって置き換えられるわけではない。よって、再多重化処理では、全てのヌルパケットを、セクションTSパケットで置き換えるのではなく、置き換える必要のないヌルパケットは、削除する処理が行われる。すなわち、ヌルパケットは、パーシャルTSの生成のための仮パケットであり、再多重化処理部20は、PIDフィルタ14から出力されたTSパケットに含まれる複数の仮パケットの全てあるいは一部を、セクション情報を有するパケットに置き換えるトランスポートストリーム出力部を構成する。
In the remultiplexing process, a process of replacing the null packet with a packet including section information for the partial TS (hereinafter also referred to as a section TS packet) is executed. A section TS packet (indicated by “Remux” in FIG. 10) inserted in place of a null packet by re-multiplexing processing is inserted only at the beginning of the TS, periodically inserted, etc. Therefore, not all null packets are replaced by section TS packets. Therefore, in the remultiplexing process, not all null packets are replaced with section TS packets, but null packets that do not need to be replaced are deleted. That is, the null packet is a temporary packet for generating a partial TS, and the
再多重化処理部20は、再多重化処理されたパケットを、蓄積装置21へ出力して記録する(S15)。なお、再多重化処理部20は、PIDフィルタ14から入力されるパケットをチェックして、ヌルパケットでないとき(S13:NO)、入力されたパケットを蓄積装置21へ出力して記録する(S15)。
The
以上のように、再多重化処理部20は、TSパケットについてのセクション情報を有するパケットが、パケット変換部31において変換されたTSパケット間に挿入されたTSを出力するトランスポートストリーム出力部を構成する。そして、再多重化処理部20は、仮パケット挿入部であるヌルパケット挿入部32により挿入された仮パケットをセクション情報を有するパケットに置き換えてTSを出力するトランスポートストリーム出力部である。
As described above, the
図4を参照すると、出力パケットPoutは、受信パケットP1とヌルパケットを交互に含むものである。PIDフィルタ14は、TS出力部13から入力される出力パケットPoutの中から、ユーザにより視聴したいあるいは録画したいとして指定されたチャンネルのPIDのパケットを選択して出力すると共に、ヌルパケットを削除しない。
Referring to FIG. 4, the output packet Pout includes reception packets P1 and null packets alternately. The
再多重化処理部20は、PIDフィルタ14からの出力パケットPout中のヌルパケットを、セクションTSパケットで置き換えて出力する。
その結果、図4に示すように、再多重化処理部20は、受信パケットP1と、セクションTSパケットとを出力する。セクションTSパケットで置き換えられなかったヌルパケットは、再多重化処理部20で削除される。
なお、再多重化処理部20において置き換えられるヌルパケットの位置は、セクション情報の内容によって異なっている。
The
As a result, as shown in FIG. 4, the
Note that the position of the null packet replaced in the
テレビジョン受像機1のユーザが、所望の番組を試聴するときにも、上述したヌルパケットの挿入と伝送クロックの変換は行われるが、PIDフィルタ14においてヌルパケットは削除されて、デコーダ15に供給されるので、ユーザは、従来通りの番組の視聴をすることができ、さらに、上述したヌルパケットの挿入と伝送クロックの変換が常に行われているので、ユーザが視聴中に、録画処理が開始される場合にも迅速に録画処理に対応することができる。
When the user of the
以上のように、上述した実施形態に係るテレビジョン受像機1によれば、IPTV等のヌルパケットを含まないTSを、通常の地上波デジタル放送などの同様に、その再多重化処理により、セクション情報を含むパケットを含ませて、パーシャルTSとして記録することができる。
As described above, according to the
(第2の実施形態)
第1の実施形態では、受信パケットの伝送レートのクロック周波数よりも高いクロック周波数を有する受信パケットを生成し、生成された受信パケット間にヌルパケットを挿入し、再多重処理部20において、ヌルパケットを、セクション情報を含むパケットに置き換えている。これに対して、第2の実施形態では、TS出力部が、受信パケットの伝送レートのクロック周波数よりも高いクロック周波数を有する受信パケットを生成し、生成された受信パケット間に、セクション情報を含むパケットを直接挿入する。
(Second Embodiment)
In the first embodiment, a reception packet having a clock frequency higher than the clock frequency of the transmission rate of the reception packet is generated, a null packet is inserted between the generated reception packets, and the
図6は、第2の実施形態に係るテレビジョン受像機1Aの構成を示すブロック図である。なお、第2の実施形態のテレビジョン受像機1Aの構成及び処理は、第1の実施形態のテレビジョン受像機1と略同様であり、第2の実施の形態において、第1の実施形態と同じ構成要素については、同じ符号を付して説明は省略する。
FIG. 6 is a block diagram showing a configuration of a
テレビジョン受像機1Aにおいて、TS出力部13Aは、受信部12から受信パケットを入力する。TS出力部13Aの出力は、PIDフィルタ14Aに入力され、PIDフィルタ14Aの出力は、デコーダ15と蓄積装置21へ供給される。
In the
図7は、TS出力部13Aの構成を示すブロック図である。TS出力部13Aは、パケット変換部31と、セクションTSパケット挿入部32Aと、パケット出力部33と、格納部としてのセクションTSパケットレジスタ34Aとを含む。セクションTSパケットレジスタ34Aは、セクション情報を有するパケットを格納するレジスタである。さらに、セクションTSパケット挿入部32Aは、タイムスタンプ演算部35を含む。セクションTSパケット挿入部32Aは、セクションTSパケットレジスタ34Aに格納されたセクション情報を有するパケットを、パケット変換部31において変換されたTSパケット間に挿入する。
FIG. 7 is a block diagram showing the configuration of the
図8は、TS出力部13Aの処理の流れを示すフローチャートである。図8において、S2の後に、セクションTSパケット挿入部32Aは、タイムスタンプ演算部35により、挿入するセクションTSパケットのタイムスタンプを計算し、その計算して得られたタイムスタンプを付したセクションTSパケットを、受信パケットP1間に挿入する処理を行う(S21)。
FIG. 8 is a flowchart showing a process flow of the
そして、パケット出力部33は、受信パケットP1とセクションTSパケットを含む出力パケットPoutを出力する(S22)。すなわち、セクションTSパケット挿入部32Aとパケット出力部33は、TSパケットについてのセクション情報を有するパケットが、パケット変換部31において変換されたTSパケット間に挿入されたTSを出力するトランスポートストリーム出力部を構成する。
Then, the
なお、ここにおいても、受信したパケットPinを、伝送クロックを上げたパケットに変換した後にセクションTSパケットを挿入するのではなく、セクションTSパケットを挿入した後に、高い伝送クロックのパケットに変換する場合は、上記のS2とS21の処理の順番は、入れ替わる。
以上のS1からS22の処理が、繰り返される。
In this case as well, when the received packet Pin is converted into a packet with a higher transmission clock, instead of inserting a section TS packet after converting it into a packet with an increased transmission clock, it is converted into a packet with a higher transmission clock. The order of the processes of S2 and S21 is switched.
The processes from S1 to S22 are repeated.
図9は、PIDフィルタ14Aにおける処理の流れの例を示すフローチャートである。
S11の後、PIDフィルタ14は、PIDフィルタリングを行う(S31)。ここでは、PIDフィルタリングにより、所望のチャンネルのパケットのみが選択されて出力されて出力されるが、セクションTSパケットの削除は行われない。そして、PIDフィルタ14Aは、出力パケットPoutすなわち記録パケットPrを、デコーダ15と蓄積装置21へ出力する(S32)。
FIG. 9 is a flowchart illustrating an example of a process flow in the
After S11, the
図10は、受信したTSが再多重化されるまでのタイムチャートである。図10に示すように、TS出力部13Aで受信パケット間に挿入されたセクションTSパケットは、PIDフィルタ14Aによって削除されずに、デコーダ15と蓄積装置21に供給される。
よって、ユーザは、所望の番組を視聴し、かつ所望の番組を録画することができる。
FIG. 10 is a time chart until the received TS is remultiplexed. As shown in FIG. 10, the section TS packet inserted between the received packets by the
Therefore, the user can view the desired program and record the desired program.
以上のように、上述した実施形態に係るテレビジョン受像機1Aによれば、IPTV等のヌルパケットを含まないTSを、通常の地上波デジタル放送などの同様に、その再多重化処理により、セクション情報を含むパケットを含ませて、パーシャルTSとして記録することができる。
As described above, according to the
以上のように、上述した各実施形態によれば、TSがヌルパケットを含まない場合でも、再多重化処理ができるトランスポートストリーム記録装置及びトランスポートストリーム記録方法を提供することができる。 As described above, according to each of the above-described embodiments, it is possible to provide a transport stream recording apparatus and a transport stream recording method capable of performing a remultiplexing process even when a TS does not include a null packet.
なお、上述した各実施形態では、nが2の場合、すなわち受信パケットPinの伝送クロックの2倍の場合を説明したが、nは、2を超えてもよい。
図11は、nが3の場合を説明するためのタイムチャートである。図11に示すように、受信パケットPinの伝送クロックの3倍で、受信パケットP1が生成される。受信パケットP1間の隙間に、ヌルパケット(Null)が挿入されている。記録パケットPrは、セクションTSパケット(図11中の「Rem」で示す)を含むパーシャルTSとなっている。
なお、挿入されるヌルパケットのタイムスタンプは、上述した式(1)等の演算により算出することができる。
In each of the above-described embodiments, the case where n is 2, that is, the case where it is twice the transmission clock of the received packet Pin has been described, but n may exceed 2.
FIG. 11 is a time chart for explaining the case where n is 3. As shown in FIG. 11, the reception packet P1 is generated at three times the transmission clock of the reception packet Pin. A null packet (Null) is inserted in the gap between the received packets P1. The recording packet Pr is a partial TS including a section TS packet (indicated by “Rem” in FIG. 11).
Note that the time stamp of the inserted null packet can be calculated by the calculation such as the above-described equation (1).
図11は、nが3の場合であるが、nが4等の場合も、受信パケットP1間に挿入されるヌルパケット(Null)の数が3つになるという相違はあるが、他は、nが3の場合と同様である。 Although FIG. 11 shows a case where n is 3, there is a difference that the number of null packets (Null) inserted between the received packets P1 is 3 even when n is 4 or the like. The same as when n is 3.
また、図11は、第1の実施形態に対応する例であるが、第2の実施形態に対応する場合も、図11における出力パケットPoutではなく、記録パケットPrがTS出力部13Aから出力される。
FIG. 11 is an example corresponding to the first embodiment, but also in the case corresponding to the second embodiment, the recording packet Pr is output from the
本明細書における各「部」は、実施形態の各機能に対応する概念的なもので、必ずしも特定のハードウエアやソフトウエア・ルーチンに1対1には対応しない。従って、本明細書では、以下、実施の形態の各機能を有する仮想的回路ブロック(部)を想定して実施の形態を説明した。また、各実施形態における各手順の各ステップは、その性質に反しない限り、実行順序を変更し、複数同時に実行し、あるいは実行毎に異なった順序で実行してもよい。 Each “unit” in this specification is a conceptual one corresponding to each function of the embodiment, and does not necessarily correspond to a specific hardware or software routine on a one-to-one basis. Therefore, in the present specification, the embodiment has been described below assuming a virtual circuit block (unit) having each function of the embodiment. In addition, each step of each procedure in each embodiment may be executed in a different order for each execution by changing the execution order and executing a plurality of steps at the same time, as long as it does not contradict its nature.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として例示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the present invention have been described, these embodiments are illustrated by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
1、1A テレビジョン受像機、2 リモコン、11、16,17 インターフェース、12 受信部、12a 受信バッファ、13,13A TS出力部、14,14A PIDフィルタ、15 デコーダ、18 表示装置、19 スピーカ、20 再多重化処理部、21 蓄積装置、22 制御部、23 受光部、31 パケット変換部、32 ヌルパケット挿入部、32A セクションTSパケット挿入部、33 パケット出力部、34 ヌルパケットレジスタ、34A セクションTSパケットレジスタ、35 タイムスタンプ演算部。 1, 1A television receiver, 2 remote control, 11, 16, 17 interface, 12 receiving unit, 12a receiving buffer, 13, 13A TS output unit, 14, 14A PID filter, 15 decoder, 18 display device, 19 speaker, 20 Remultiplexing processing unit, 21 storage device, 22 control unit, 23 light receiving unit, 31 packet conversion unit, 32 null packet insertion unit, 32A section TS packet insertion unit, 33 packet output unit, 34 null packet register, 34A section TS packet Register, 35 Time stamp calculator.
Claims (8)
ヌルパケットを格納する格納部と、
前記パケット変換部において変換されたトランスポートストリームパケット間に、前記格納部に格納された前記ヌルパケットを挿入し、かつ前記ヌルパケットを挿入する前記第1のトランスポートストリーム中の位置は指定可能であるヌルパケット挿入部と、
前記ヌルパケット挿入部において挿入された前記ヌルパケットを前記セクション情報を有するパケットに置き換えた第2のトランスポートストリームを出力するトランスポートストリーム出力部と、
を有するトランスポートストリーム記録装置。 Packet conversion for converting the transport stream packet so that the transport stream packet is output at an output clock having a frequency higher than the input clock frequency of the transport stream packet in the input first transport stream. And
A storage unit for storing null packets;
The null packet stored in the storage unit is inserted between the transport stream packets converted in the packet conversion unit, and the position in the first transport stream where the null packet is inserted can be specified. A null packet inserter,
A transport stream output unit that outputs a second transport stream in which the null packet inserted in the null packet insertion unit is replaced with a packet having the section information;
A transport stream recording apparatus.
前記トランスポートストリームパケットについてのセクション情報を有するパケットが、前記パケット変換部において変換されたトランスポートストリームパケット間に挿入された第2のトランスポートストリームを出力するトランスポートストリーム出力部と、
を有するトランスポートストリーム記録装置。 Packet conversion for converting the transport stream packet so that the transport stream packet is output at an output clock having a frequency higher than the input clock frequency of the transport stream packet in the input first transport stream. And
A transport stream output unit that outputs a second transport stream in which a packet having section information about the transport stream packet is inserted between the transport stream packets converted by the packet conversion unit;
A transport stream recording apparatus.
前記トランスポートストリーム出力部は、前記仮パケット挿入部により挿入された前記仮パケットを前記セクション情報を有するパケットに置き換えて前記第2のトランスポートストリームを出力する請求項2に記載のトランスポートストリーム記録装置。 A temporary packet insertion unit for inserting a temporary packet between the transport stream packets converted by the packet conversion unit;
The transport stream recording according to claim 2, wherein the transport stream output unit outputs the second transport stream by replacing the temporary packet inserted by the temporary packet insertion unit with a packet having the section information. apparatus.
前記仮パケット挿入部は、前記仮パケットを格納する格納部に格納された前記仮パケットを、前記パケット変換部において変換されたトランスポートストリームパケット間に挿入する請求項3又は4に記載のトランスポートストリーム記録装置。 A storage unit for storing the temporary packet;
The transport according to claim 3 or 4, wherein the temporary packet insertion unit inserts the temporary packet stored in a storage unit that stores the temporary packet between transport stream packets converted by the packet conversion unit. Stream recording device.
前記トランスポートストリーム出力部は、前記セクション情報を有するパケットを格納する格納部に格納された前記セクション情報を有するパケットを、前記パケット変換部において変換されたトランスポートストリームパケット間に挿入する請求項2に記載のトランスポートストリーム記録装置。 A storage unit for storing a packet having the section information;
The transport stream output unit inserts the packet having the section information stored in the storage unit that stores the packet having the section information, between the transport stream packets converted by the packet conversion unit. The transport stream recording device described in 1.
前記変換されたトランスポートストリームパケット間に、前記トランスポートストリームパケットについてのセクション情報を有するパケットを挿入した第2のトランスポートストリームを出力する、トランスポートストリームの記録方法。 The transport stream packet is output by the packet conversion unit so as to output the transport stream packet at an output clock having a frequency higher than the frequency of the input clock of the transport stream packet in the input first transport stream. Convert
A transport stream recording method for outputting a second transport stream in which a packet having section information on the transport stream packet is inserted between the converted transport stream packets.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011239214A JP2013098721A (en) | 2011-10-31 | 2011-10-31 | Transport stream recording device and transport stream recording method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011239214A JP2013098721A (en) | 2011-10-31 | 2011-10-31 | Transport stream recording device and transport stream recording method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013098721A true JP2013098721A (en) | 2013-05-20 |
Family
ID=48620239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011239214A Pending JP2013098721A (en) | 2011-10-31 | 2011-10-31 | Transport stream recording device and transport stream recording method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013098721A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016002573A1 (en) * | 2014-07-03 | 2016-01-07 | ソニー株式会社 | Data processing apparatus, reception apparatus, data processing method, and program |
-
2011
- 2011-10-31 JP JP2011239214A patent/JP2013098721A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016002573A1 (en) * | 2014-07-03 | 2016-01-07 | ソニー株式会社 | Data processing apparatus, reception apparatus, data processing method, and program |
JPWO2016002573A1 (en) * | 2014-07-03 | 2017-04-27 | ソニーセミコンダクタソリューションズ株式会社 | Data processing apparatus, receiving apparatus, data processing method, and program |
US10178040B2 (en) | 2014-07-03 | 2019-01-08 | Sony Semiconductor Solutions Corporation | Data processing device, receiving device, data processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7742687B2 (en) | Digital television recorders and stream format conversion and methods thereof | |
JP2008011404A (en) | Content processing apparatus and method | |
US20070286245A1 (en) | Digital signal processing apparatus and data stream processing method | |
KR20080057972A (en) | Method and apparatus for encoding/decoding multimedia data having preview | |
US20150215564A1 (en) | Methods and apparatus for creation of a reference time index for audio/video programming | |
JP2006345223A (en) | Device and method for recording and output | |
JP6957186B2 (en) | Information processing equipment, information processing methods, programs, and recording medium manufacturing methods | |
JPWO2010140535A1 (en) | Receiver and control method of receiver | |
JP2013098721A (en) | Transport stream recording device and transport stream recording method | |
EP1639600A1 (en) | Stream file format for dvd-multimedia home platform with stuffing bytes removal | |
JP4797767B2 (en) | Information recording apparatus and information recording control apparatus | |
US20090323719A1 (en) | Methods and apparatus for transforming first transport stream of first format into second transport stream of second format by emulating arrival time stamp information | |
JP6801668B2 (en) | Content playback device and content playback method | |
EP2477394A1 (en) | Broadcast recording device and broadcast recording method | |
JP4762340B2 (en) | Signal processing apparatus and signal processing method | |
EP1947846A1 (en) | Video recording and reproducing apparatus and method of reproducing video in the same | |
EP1748435A2 (en) | Recording signal processing | |
JP4168527B2 (en) | Data multiplexing apparatus and data multiplexing method | |
US8275246B2 (en) | Digital content reproducing and storing apparatus, digital content reproducing and storing method, digital content storing apparatus, digital content reproducing apparatus, and computer readable medium storing digital content reproducing and storing program | |
US10567703B2 (en) | High frame rate video compatible with existing receivers and amenable to video decoder implementation | |
JP3897753B2 (en) | Memory output device | |
JP2008270967A (en) | Signal processing apparatus and signal processing method | |
EP2945303A1 (en) | Method and apparatus for selecting or removing audio component types | |
JP4187040B2 (en) | Recording / playback device | |
JP5274695B2 (en) | Signal processing apparatus and signal processing method |