JP2005269045A - Encoder unit employing a plurality of mpeg encoders and its encoding method - Google Patents
Encoder unit employing a plurality of mpeg encoders and its encoding method Download PDFInfo
- Publication number
- JP2005269045A JP2005269045A JP2004076381A JP2004076381A JP2005269045A JP 2005269045 A JP2005269045 A JP 2005269045A JP 2004076381 A JP2004076381 A JP 2004076381A JP 2004076381 A JP2004076381 A JP 2004076381A JP 2005269045 A JP2005269045 A JP 2005269045A
- Authority
- JP
- Japan
- Prior art keywords
- gop
- encoders
- picture
- instruction signal
- signal
- 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.)
- Granted
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
- Television Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は、複数のMPEG(Motion Picture Expert Group)エンコーダーを用いたエンコーダー装置及びそのエンコード方法に係り、とくにMPEG規格に準拠したトランスポートストリーム(以下、「TS」と略す)を出力する複数のMPEGエンコーダーのSTC(System Time Clock)とGOP(Group Of Picture)構造の同期方法に関する。 The present invention relates to an encoder apparatus using a plurality of MPEG (Motion Picture Expert Group) encoders and an encoding method thereof, and more particularly to a plurality of MPEGs that output a transport stream (hereinafter abbreviated as “TS”) compliant with the MPEG standard. The present invention relates to a method of synchronizing an encoder STC (System Time Clock) and a GOP (Group Of Picture) structure.
従来、TSを用いたデジタル放送システムでは、複数のMPEGエンコーダー装置(以下、「エンコーダー」と略す)と、プログラムの内容等により各エンコーダーの出力TSを切り替えるTS切り替え器とを有するエンコーダー装置を採用したものが知られている。 Conventionally, a digital broadcasting system using TS employs an encoder device having a plurality of MPEG encoder devices (hereinafter abbreviated as “encoders”) and a TS switch for switching the output TS of each encoder according to the contents of the program. Things are known.
このエンコーダー装置においては、複数のエンコーダーは、それぞれのエンコーダーで持つ独自のシステム・タイム・クロック(以下、「STC(System Time Clock)」と略す)カウンタによる時刻基準、及び3種類のピクチャタイプ、即ちIピクチャ(Intra-Pictire)、Pピクチャ(Predictive-Picture)、Bピクチャ(Bidirectionally predictive-Picture)からなる画面群構造(以下、「GOP(Group Of Picture)構造」と略す)を基準にして、入力画像の符号化を行う。この符号化に際し、動き補償予測及びDCT(Discrete Cosine Transform)符号化が行われ、得られたDCT符号化係数が量子化され、動きベクトルや符号化モード情報と共に可変長符号化後、バッファに蓄積され、TSパケットから成るTSとして出力される。TSパケットのパケットヘッダには、STCを基準に送出されるプログラム時刻基準参照値(以下、「PCR(Program Clock Reference)」と略す)が含まれる。 In this encoder apparatus, each of the plurality of encoders includes a time reference based on a unique system time clock (hereinafter abbreviated as “STC (System Time Clock)”) counter of each encoder, and three types of pictures. Input based on the screen group structure (hereinafter referred to as “GOP (Group Of Picture) structure”) consisting of I picture (Intra-Pictire), P picture (Predictive-Picture), and B picture (Bidirectionally predictive-Picture) Encode the image. In this encoding, motion compensation prediction and DCT (Discrete Cosine Transform) encoding are performed, and the obtained DCT encoding coefficient is quantized, variable length encoded together with motion vector and encoding mode information, and stored in a buffer. And output as a TS composed of TS packets. The packet header of the TS packet includes a program time reference value (hereinafter abbreviated as “PCR (Program Clock Reference)”) that is transmitted based on STC.
各エンコーダーの出力側には、TS切り替え器が接続される。TS切り替え器は、制御装置から供給される切り替え信号に基づいて、各エンコーダーからの出力TSの中から1つのTSを選択して出力する。 A TS switch is connected to the output side of each encoder. The TS switch selects and outputs one TS from the output TS from each encoder based on the switching signal supplied from the control device.
なお、本発明に関連する背景技術として、以下のものがある。
しかしながら、従来のTSを用いたデジタル放送システムにあっては、複数のエンコーダーは、それぞれのエンコーダーで持つ独自のSTCカウンタ及びGOP構造を基準に符号化を行っているため、TS切り替え器により複数のエンコーダーの出力TSから1つのTSを選択して出力する場合、TS切り替え器の出力TSは、STCを基準に送出されるPCR及びGOP構造がその切り替えポイントを挟んで不連続になってしまい、その結果、TSから入力画像を復号するデコーダーにおいて、そのデコード画像がスムーズに切り替わらないという不都合があった。 However, in a conventional digital broadcasting system using TS, a plurality of encoders perform encoding based on a unique STC counter and GOP structure possessed by each encoder. When one TS is selected and output from the output TS of the encoder, the output TS of the TS switcher becomes discontinuous with the PCR and GOP structures sent based on the STC across the switching point. As a result, the decoder that decodes the input image from the TS has a disadvantage that the decoded image is not switched smoothly.
本発明は、このような従来の事情を考慮してなされたもので、複数のエンコーダーの出力TSを切り替えて出力する際、切り替え後の出力TSにおけるSTC及びGOP構造の連続性を保つことを目的とする。 The present invention has been made in consideration of such a conventional situation, and an object of the present invention is to maintain the continuity of the STC and GOP structures in the output TS after switching when the output TS of a plurality of encoders is switched and output. And
上記目的を達成するため、本発明に係るエンコーダー装置は、映像を成す入力画像に対しMPEG規格に基づくGOP構造を成すIピクチャ、Pピクチャ、及びBピクチャのいずれかのピクチャタイプを割り当て且つそのピクチャ順序を入れ替えて符号化し、トランスポートストリーム(以下、TS)として出力する複数のエンコーダーと、前記複数のエンコーダーから出力されるTSから1つのTSを選択して出力するTS切り替え器とを備えたエンコーダー装置において、GOP同期指示信号を前記複数のエンコーダーに分配する第1の信号分配手段と、基準プログラム時刻基準参照値(以下、基準PCR)データ及びGOP先頭指示信号を前記複数のエンコーダーに分配する第2の信号分配手段と、前記複数のエンコーダーに搭載され、且つ、前記入力画像に対し前記ピクチャタイプを割り当てる段階で、前記GOP同期指示信号が分配されたとき、前記基準PCRデータに基づいて互いのシステム・タイム・クロック(以下、STC)による時刻基準の同期をとり且つ前記GOP先頭指示信号に基づいて互いのGOP先頭位置を一致させるようにGOP構造の同期をとる同期手段と、前記TS切り替え器に搭載され、且つ、前記時刻基準及び前記GOP構造がシームレスに切り替わるように前記複数のエンコーダーの出力TSから互いの前記GOP先頭位置が一致するポイントで1つのTSを選択する手段とを有することを特徴とする。 In order to achieve the above object, an encoder apparatus according to the present invention assigns a picture type of any one of an I picture, a P picture, and a B picture that form a GOP structure based on the MPEG standard to an input picture that forms a video, and the picture An encoder comprising a plurality of encoders that are encoded in a different order and output as a transport stream (hereinafter referred to as TS), and a TS switch that selects and outputs one TS from the TSs output from the plurality of encoders. In the apparatus, a first signal distribution unit that distributes a GOP synchronization instruction signal to the plurality of encoders, and a first signal distribution unit that distributes a standard program time reference reference value (hereinafter referred to as a standard PCR) data and a GOP head instruction signal to the plurality of encoders. 2 signal distribution means and mounted on the plurality of encoders In addition, when the GOP synchronization instruction signal is distributed in the step of assigning the picture type to the input image, synchronization of time references based on each other system time clock (hereinafter referred to as STC) based on the reference PCR data. And a synchronization means for synchronizing the GOP structure so that the GOP head positions coincide with each other based on the GOP head instruction signal, and the TS switch, and the time reference and the GOP structure are seamless. And a means for selecting one TS at a point where the GOP head positions coincide with each other from the output TSs of the plurality of encoders.
本発明に係るエンコーダー装置において、前記同期手段は、前記GOP同期指示信号が解除されたとき、前記GOP構造の同期をとらないでもよい。また、前記第2の信号分配手段は、DVB-ASI(Digital Video Broadcast - Asynchronous Serial Interface)方式又はDVB-SPI(Digital Video Broadcast - Synchronous Parallel Interface)方式のTSデータとして、前記基準PCR信号及び前記GOP先頭指示信号を前記複数のエンコーダーに分配してもよい。さらに、前記第2の信号分配手段は、前記基準PCRデータ及び前記GOP先頭指示信号そのものを分配してもよい。 In the encoder device according to the present invention, the synchronization means may not synchronize the GOP structure when the GOP synchronization instruction signal is canceled. Further, the second signal distribution means is configured to use the reference PCR signal and the GOP as TS data of a DVB-ASI (Digital Video Broadcast-Asynchronous Serial Interface) system or a DVB-SPI (Digital Video Broadcast-Synchronous Parallel Interface) system. The head instruction signal may be distributed to the plurality of encoders. Further, the second signal distribution means may distribute the reference PCR data and the GOP head instruction signal itself.
本発明に係るエンコード方法は、映像を成す入力画像に対しMPEG規格に基づくGOP構造を成すIピクチャ、Pピクチャ、及びBピクチャのいずれかのピクチャタイプを割り当て且つそのピクチャ順序を入れ替えて符号化し、トランスポートストリーム(以下、TS)として出力する複数のエンコーダーと、前記複数のエンコーダーから出力されるTSから1つのTSを選択して出力するTS切り替え器とを備えたエンコーダー装置のエンコード方法において、GOP同期指示信号を前記複数のエンコーダーに分配する第1の信号分配ステップと、基準プログラム時刻基準参照値(以下、基準PCR)データ及びGOP先頭指示信号を前記複数のエンコーダーに分配する第2の信号分配ステップと、前記複数のエンコーダーが、前記入力画像に対し前記ピクチャタイプを割り当てる段階で、前記GOP同期指示信号が分配されたときに、前記基準PCRデータに基づいて互いのシステム・タイム・クロック(以下、STC)による時刻基準の同期をとり且つ前記GOP先頭指示信号に基づいて互いのGOP先頭位置を一致させるようにGOP構造の同期をとる同期ステップと、前記TS切り替え器が、前記時刻基準及び前記GOP構造がシームレスに切り替わるように前記複数のエンコーダーの出力TSから互いの前記GOP先頭位置が一致するポイントで1つのTSを選択するステップとを有することを特徴とする。 The encoding method according to the present invention assigns a picture type of an I picture, a P picture, and a B picture that form a GOP structure based on the MPEG standard to an input image that constitutes a video, and changes the order of the pictures to perform encoding. In an encoding method of an encoder apparatus, comprising: a plurality of encoders that output as transport streams (hereinafter referred to as TS); and a TS switch that selects and outputs one TS from the TSs output from the plurality of encoders. A first signal distribution step of distributing a synchronization instruction signal to the plurality of encoders; and a second signal distribution of distributing a standard program time reference value (hereinafter referred to as a standard PCR) data and a GOP head instruction signal to the plurality of encoders. Step and the plurality of encoders In the step of assigning the picture type to an image, when the GOP synchronization instruction signal is distributed, the time reference is synchronized with each other based on the system PCR (STC) based on the reference PCR data, and A synchronization step for synchronizing the GOP structure so that the GOP head position coincides with each other based on the GOP head instruction signal, and the TS switching unit includes the plurality of time references and the GOP structure so that the time reference and the GOP structure can be switched seamlessly. Selecting one TS at a point at which the GOP head positions coincide with each other from the output TS of the encoder.
本発明に係るエンコード方法において、前記同期ステップは、前記GOP同期指示信号が解除されたときに、前記GOP構造の同期をとらないでもよい。また、前記第2の信号分配ステップは、DVB-ASI(Digital Video Broadcast - Asynchronous Serial Interface)方式又はDVB-SPI(Digital Video Broadcast - Synchronous Parallel Interface)方式のTSデータとして、前記基準PCR信号及び前記GOP先頭指示信号を前記複数のエンコーダーに分配してもよい。さらに、前記第2の信号分配ステップは、前記基準PCRデータ及び前記GOP先頭指示信号そのものを分配してもよい。 In the encoding method according to the present invention, the synchronization step may not synchronize the GOP structure when the GOP synchronization instruction signal is canceled. The second signal distribution step includes the reference PCR signal and the GOP as TS data of DVB-ASI (Digital Video Broadcast-Asynchronous Serial Interface) or DVB-SPI (Digital Video Broadcast-Synchronous Parallel Interface). The head instruction signal may be distributed to the plurality of encoders. Furthermore, the second signal distribution step may distribute the reference PCR data and the GOP head instruction signal itself.
本発明によれば、複数のエンコーダーに対して基準PCRおよびGOP先頭指示信号を分配し、各エンコーダーのSTCおよびGOP構造を同期させることにより、切り替え後のTS中のPCRおよびGOP構造が不連続になるという事態を回避でき、これにより、TS切り替え器においてTSをシームレスに切り替えることが可能となる。 According to the present invention, the reference PCR and GOP head instruction signal are distributed to a plurality of encoders, and the STC and GOP structure of each encoder are synchronized, so that the PCR and GOP structures in the TS after switching are discontinuous. This makes it possible to seamlessly switch TSs in the TS switcher.
次に、本発明に係る複数のMPEGエンコーダーを用いたエンコーダー装置及びそのエンコード方法を実施するための最良の形態について図面を参照して詳細に説明する。 Next, the best mode for carrying out an encoder apparatus using a plurality of MPEG encoders and an encoding method thereof according to the present invention will be described in detail with reference to the drawings.
本形態では、複数のエンコーダーに対して基準PCR、GOP先頭指示信号を分配し、複数エンコーダーのSTCおよびGOP構造を一致させることにより、TS切り替え器出力TSにおいてSTCおよびGOP構造の連続性が保たれることを可能にするものである。 In this embodiment, the continuity of the STC and GOP structures is maintained in the TS switch output TS by distributing the reference PCR and GOP head instruction signals to the plurality of encoders and matching the STC and GOP structures of the plurality of encoders. It is possible to be
図1に本実施例に係るエンコーダ装置の全体構成を示す。 FIG. 1 shows the overall configuration of an encoder apparatus according to this embodiment.
図1に示すエンコーダ装置は、複数エンコーダー部10と、複数エンコーダー部10の出力側に接続されるTS切り替え器20と、複数エンコーダー部10及びTS切り替え器20の入力側に接続される制御装置30と、複数エンコーダー部10の入力側に接続されるSTC(System Time Clock)/GOP(Group Of Picture)発生器40とを備える。
The encoder device shown in FIG. 1 includes a plurality of
複数エンコーダー部10は、複数のエンコーダー1〜Nを有する。複数のエンコーダー1〜Nは、入力されるベースバンド映像1〜Nをそれぞれ符号化し、TSパケットから成るTS1〜TSnとして出力する。
The
図2は、複数のエンコーダー1〜Nの内部構成を示す。図2の例では、エンコーダー1を例示しているが、他のエンコーダー2〜Nもこれと同様である。
FIG. 2 shows an internal configuration of the plurality of
エンコーダー1は、機能上、ピクチャタイプ割り当て処理部11、ピクチャ順序入れ替え処理部12、符号化部13、及びSTCカウンタ14を有する。
The
ピクチャタイプ割り当て処理部11は、入力されたベースバンド映像1にGOP構造を成す3種のピクチャタイプ、即ちIピクチャ(Intra-Picture)、Pピクチャ(Predictive-Picture)、Bピクチャ(Bidirectionally predictive-Picture)のいずれかを割り当てる処理を行う。この処理により、ベースバンド映像1は、Iピクチャ、Pピクチャ、Bピクチャのいずれかが割り当てられたGOP構造を有する映像aとなる。
The picture type allocation processing unit 11 has three types of pictures that form a GOP structure in the
ピクチャ順序入れ替え処理部12は、次段の符号化部12による符号化、即ちBピクチャでは時間的に前後したIピクチャ又はPピクチャを用いて符号化を行うため、前段の処理でピクチャタイプが割り当てられた映像aの各ピクチャに対しそのピクチャ順序を入れ替える処理を行う。この処理により、映像aは、Bピクチャより時間的に後側のI又はPピクチャがその前側に入れ替えられた映像bとなる。
The picture order changing
符号化部13は、ピクチャ順序入れ替え処理部12によりピクチャ順序が入れ替えられた映像bを成す各ピクチャに対する符号化、即ち動き補償予測及びDCT(Discrete Cosine Transform)符号化を行い、得られたDCT符号化係数を量子化し、動きベクトルや符号化モード情報と共に可変長符号化を行い、符号化されたデータをバッファに蓄積後、TSパケットからなるTSとして出力する。
The encoding unit 13 performs encoding on each picture forming the video b whose picture order has been changed by the picture order changing
STCカウンタ14は、常にSTC/GOP発生器40から出力される基準PCR(Program Clock Reference)データS3に同期させて、エンコーダー1内の回路動作の時刻基準となるSTCを生成する。
The
上記構成により、エンコーダー1は、符号化中に制御装置40からのGOP同期指示信号S2を受けると、その解除が行われるまでの期間内で、STC/GOP発生器40からのGOP先頭指示信号S4を受けたときに、ピクチャタイプ割り当て処理部11によるピクチャタイプ割り当て処理の段階で、割り当てられる映像aの各ピクチャから成るGOP構造のGOP先頭位置がそのGOP先頭指示信号S4の動作タイミングと一致するように、ピクチャタイプを割り当てるようになっている。
With the above configuration, when the
TS切り替え器20は、制御装置30からの切り替え指示信号S1に基づいて、複数のエンコーダー1〜Nからの出力TS1〜TSnを選択して1つのTSであるTSmを出力する。
The
制御装置30は、TS切り替え器20に与える切り替え信号S1及び複数エンコーダー部10の各エンコーダー1〜Nに与えるGOP同期指示信号S2を生成する。
The
STC/GOP発生器40は、基準PCRデータS3とGOP先頭指示信号S4をTSに重畳して分配する装置であり、システムによって決められるパケット識別子(以下「PID」と略す)を持ち、自STC/GOP発生器40内のSTCを基準に生成した基準PCRデータS3と、GOP先頭指示信号S4とを生成し、DVB-ASI(Digital Video Broadcast - Asynchronous Serial Interface)方式のTSデータとして、生成された基準PCRデータS3とGOP先頭指示信号S4を複数エンコーダー部10の各エンコーダー1〜Nに出力する。
The STC / GOP generator 40 is a device that superimposes and distributes the reference PCR data S3 and the GOP head instruction signal S4 on the TS, has a packet identifier (hereinafter abbreviated as “PID”) determined by the system, and has its own STC / The reference PCR data S3 generated based on the STC in the GOP generator 40 and the GOP head instruction signal S4 are generated, and the reference generated as the DVB-ASI (Digital Video Broadcast-Asynchronous Serial Interface) TS data The PCR data S3 and the GOP head instruction signal S4 are output to the
次に、図3及び図4を参照して、本実施例の動作を説明する。図3及び図4の例では、複数エンコーダー部10の各エンコーダー1〜Nとして、2つのエンコーダー1、2の場合を例示するが、3つ以上のエンコーダーの場合もこれと同様である。
Next, the operation of this embodiment will be described with reference to FIGS. 3 and 4 exemplify the case of two
図3(a)は、通常時(GOP同期を行わない場合)のピクチャタイプ割り当て後の映像タイミング、図3(b)はGOP同期を行う場合のピクチャタイプ割り当て後の映像タイミングをそれぞれ示す。また、図4(a)は、通常時のピクチャ順序入れ替え後(符号化時)の映像タイミング、図3(b)はGOP同期を行う場合のピクチャ順序入れ替え後(符号化時)の映像タイミングをそれぞれ示す。 3A shows the video timing after the picture type assignment in the normal time (when GOP synchronization is not performed), and FIG. 3B shows the video timing after the picture type assignment when the GOP synchronization is performed. 4A shows the video timing after the normal picture order change (when encoding), and FIG. 3B shows the video timing after the picture order change when encoding GOP (when encoding). Each is shown.
最初に、通常時のエンコーダー1、2の動作を説明する。
First, the operation of the
まず、図3(a)に示すように、エンコーダー1、2は、入力されたベースバンド映像1、2に対し、それぞれのピクチャタイプ割り当て処理部11によりGOP構造を成すIピクチャ、Pピクチャ、Bピクチャのいずれかのピクチャタイプを割り当てることにより、それぞれ異なるGOP構造の映像a1、a2を出力する。
First, as shown in FIG. 3 (a), the
即ち、エンコーダー1のピクチャタイプ割り当て後の映像a1は、時間の早い順に「〜、B0、B1、I2、B3、B4、P5、B6、B7、P8、B9、B10、P11、B12、B13、P14、B15、B16、I17、B18、B19、P20、B21、B22、〜」(I:Iピクチャ、P:Pピクチャ、B:ピクチャ、以下同様)となり、エンコーダー2のピクチャタイプ割り当て後の映像a2は、時間の早い順に「〜、B0、I1、B2、B3、P4、B5、B6、P7、B8、B9、P10、B11、B12、P13、B14、B15、I16、B17、B18、P19、B20、B21、P22、〜」となり、互いにGOP先頭位置が異なるGOP構造を有している。
That is, the video a1 after the picture type assignment of the
その後、図4(a)に示すように、エンコーダー1、2は、それぞれのピクチャ順序入れ替え処理部12により、上記映像a1、a2の各ピクチャ順序を入れ替えることにより、映像b1、b2を出力する。
Thereafter, as shown in FIG. 4A, the
即ち、エンコーダー1のピクチャ順序入れ替え後の映像b1は、「〜、I2、B0、B1、P5、B3、B4、P8、B6、B7、P11、B9、B10、P14、B12、B13、I17、B15、B16、P20、B18、B19、P23、B21、〜」となり、エンコーダー2のピクチャ順序入れ替え後の映像b2は、「〜B−1、B0、P4、B2、B3、P7、B5、B6、P10、B8、B9、P13、B11、B12、I16、B14、B15、P19、B17、B18、P22、B20、B21、〜」となる。
That is, the video b1 after the picture order of the
次に、GOP同期を行う場合のエンコーダー1、2の動作を説明する。
Next, the operation of
まず、図3(b)に示すように、エンコーダー1、2は、符号化中に制御装置30からGOP同期指示信号S2を受けると、その解除が行われるまでの期間、ピクチャタイプ割り当て処理部によるピクチャタイプ割り当て処理の段階で、STC/GOP発生器40から基準PCRデータS3及びGOP先頭指示信号、即ち図中の例では2回のGOP先頭指示信号S4、S4を受けると、基準PCRデータS3に同期したSTCを基準にして、GOP先頭指示信号S4、S4の位置(動作タイミング位置)をGOP構造のGOP先頭位置P1、P2とし、そのGOP先頭位置P1、P2から新たなGOPを開始するようにピクチャタイプを割り当てることにより、それぞれのGOP先頭位置P1、P2が一致したGOP構造の映像a3、a4を出力する。
First, as shown in FIG. 3B, when the
即ち、エンコーダー1のピクチャタイプ割り当て後の映像a3は、時間の早い順に「〜、B0、B1、I2、B3、B4、I5(GOP先頭位置P1)、B6、B7、P8、B9、B10、P11、B12、B13、P14、B15、B16、P17、B18、B19、I20(GOP先頭位置P2)、B21、B22、〜」となり、エンコーダー2のピクチャタイプ割り当て後の映像a4は、時間の早い順に「〜、B0、I1、B2、B3、P4、I5(GOP先頭位置P1)、B6、B7、P8、B9、B10、P11、B12、B13、P14、B15、B16、P17、B18、P19、I20(GOP先頭位置P2)、B21、B22、〜」となり、上記GOP同期が指示されている期間内で、互いにGOP先頭位置P1、P2が一致するGOP構造を有している。
That is, the video a3 after the picture type assignment of the
その後、図4(b)に示すように、エンコーダー1、2は、それぞれのピクチャ順序入れ替え処理部12により、上記映像a3、a4の各ピクチャ順序を入れ替えることにより、映像b1、b2を出力する。
Thereafter, as shown in FIG. 4B, the
即ち、エンコーダー1のピクチャ順序入れ替え後の映像b3は、「〜、I2、B0、B1、I5、B3、B4、P8、B6、B7、P11、B9、B10、P14、B12、B13、P17、B15、B16、I20(GOP先頭一致ポイントP3)、B18、B19、P23、B21、〜」となり、エンコーダー2のピクチャ順序入れ替え後の映像b4は、「〜B−1、B0、P4、B2、B3、I5、P8、B6、B7、P11、B9、B10、P14、B12、B13、P17、B15、B16、I20(GOP先頭一致ポイントP3)、B18、B19、P23、B21、〜」となり、GOP先頭位置一致ポイントP3(動作タイミング)で、エンコーダー1、2の互いのGOP先頭位置、即ちI20が一致するようになる。
That is, the video b3 after changing the picture order of the
これにより、GOP後段(I20とその前のピクチャとの間)に切り替えポイントP4を作ることが可能となるため、この切り替えポイントP4でTS切り替え器20から切り替え信号S1を出力してエンコーダー1、2の出力TS1、2を切り替えることにより、出力TS1、2の切り替え前後で互いのSTC及びGOP構造がシームレスに連続した1つの出力TS、即ちTSmがTS切り替え器20から出力される。
This makes it possible to create a switching point P4 after the GOP (between I20 and the previous picture). Therefore, at this switching point P4, the switching signal S1 is output from the
その後、制御装置30からのGOP同期指示信号S2が解除された後は、エンコーダー1、2は通常時の動作に戻り、それぞれ異なるGOP構造で動作する。
Thereafter, after the GOP synchronization instruction signal S2 from the
従って、本実施例によれば、複数のエンコーダー1〜Nに対して基準PCRデータ及びGOP先頭指示信号を分配し、各エンコーダー1〜NのSTCおよびGOP構造を同期させることにより、切り替え後のTS中のPCRおよびGOP構造が不連続になるという事態を回避でき、これにより、TS切り替え器においてTSをシームレスに切り替えることが可能となる。
Therefore, according to the present embodiment, the reference PCR data and the GOP head instruction signal are distributed to the plurality of
なお、本発明の他の実施例として、GOP先頭指示信号S4は、TS内のプライベートデータを割り当てることが可能である。また、STC/GOP発生器20としては、DVB-ASI出力が可能なエンコーダーや圧縮多重化装置を流用することが可能である。さらに、図1において、STC/GOP発生器20よりTSをDVB-ASI方式で各エンコーダー1〜Nに分配しているが、STC/GOP発生器20よりTSをDVB-SPI(Digital Video Broadcast - Synchronous Parallel Interface)方式で各エンコーダー1〜Nに分配することも可能である。また、TSではなく、基準PCRデータおよびGOP先頭指示信号そのものを分配することも可能である。
As another embodiment of the present invention, private data in the TS can be allocated to the GOP head instruction signal S4. As the STC /
10 複数エンコーダー部
11 ピクチャタイプ割り当て処理部
12 ピクチャ順序入れ替え処理部
13 符号化部
14 STCカウンタ
20 TS切り替え器
30 制御装置
40 STC/GOP発生器
S1 切り替え指示信号
S2 GOP同期指示信号
S3 基準PCRデータ
S4 GOP先頭指示信号
DESCRIPTION OF
Claims (8)
前記複数のエンコーダーから出力されるTSから1つのTSを選択して出力するTS切り替え器とを備えたエンコーダー装置において、
GOP同期指示信号を前記複数のエンコーダーに分配する第1の信号分配手段と、
基準プログラム時刻基準参照値(以下、基準PCR)データ及びGOP先頭指示信号を前記複数のエンコーダーに分配する第2の信号分配手段と、
前記複数のエンコーダーに搭載され、且つ、前記入力画像に対し前記ピクチャタイプを割り当てる段階で、前記GOP同期指示信号が分配されたとき、前記基準PCRデータに基づいて互いのシステム・タイム・クロック(以下、STC)による時刻基準の同期をとり且つ前記GOP先頭指示信号に基づいて互いのGOP先頭位置を一致させるようにGOP構造の同期をとる同期手段と、
前記TS切り替え器に搭載され、且つ、前記時刻基準及び前記GOP構造がシームレスに切り替わるように前記複数のエンコーダーの出力TSから互いの前記GOP先頭位置が一致するポイントで1つのTSを選択する手段とを有することを特徴とするエンコーダー装置。 A transport stream (hereinafter referred to as TS) is encoded by assigning any picture type of an I picture, P picture, and B picture having a GOP structure based on the MPEG standard to an input picture that forms a video, and changing the picture order. Multiple encoders that output as
An encoder device comprising a TS switch for selecting and outputting one TS from TS output from the plurality of encoders;
First signal distribution means for distributing a GOP synchronization instruction signal to the plurality of encoders;
Second signal distribution means for distributing reference program time reference value (hereinafter referred to as reference PCR) data and GOP head instruction signal to the plurality of encoders;
When the GOP synchronization instruction signal is distributed in the step of assigning the picture type to the input image and mounted in the plurality of encoders, a mutual system time clock (hereinafter referred to as a system time clock) based on the reference PCR data. , STC) and a synchronization means for synchronizing the GOP structure so as to synchronize the GOP head positions with each other based on the GOP head instruction signal.
Means for selecting one TS at the point where the GOP head positions coincide with each other from the output TSs of the plurality of encoders so as to be seamlessly switched between the time base and the GOP structure; An encoder device comprising:
前記複数のエンコーダーから出力されるTSから1つのTSを選択して出力するTS切り替え器とを備えたエンコーダー装置のエンコード方法において、
GOP同期指示信号を前記複数のエンコーダーに分配する第1の信号分配ステップと、
基準プログラム時刻基準参照値(以下、基準PCR)データ及びGOP先頭指示信号を前記複数のエンコーダーに分配する第2の信号分配ステップと、
前記複数のエンコーダーが、前記入力画像に対し前記ピクチャタイプを割り当てる段階で、前記GOP同期指示信号が分配されたときに、前記基準PCRデータに基づいて互いのシステム・タイム・クロック(以下、STC)による時刻基準の同期をとり且つ前記GOP先頭指示信号に基づいて互いのGOP先頭位置を一致させるようにGOP構造の同期をとる同期ステップと、
前記TS切り替え器が、前記時刻基準及び前記GOP構造がシームレスに切り替わるように前記複数のエンコーダーの出力TSから互いの前記GOP先頭位置が一致するポイントで1つのTSを選択するステップとを有することを特徴とするエンコード方法。 A transport stream (hereinafter referred to as TS) is encoded by assigning any picture type of an I picture, P picture, and B picture having a GOP structure based on the MPEG standard to an input picture that forms a video, and changing the picture order. Multiple encoders that output as
In an encoding method of an encoder device comprising a TS switch for selecting and outputting one TS from TS output from the plurality of encoders,
A first signal distribution step of distributing a GOP synchronization instruction signal to the plurality of encoders;
A second signal distribution step of distributing reference program time reference reference value (hereinafter referred to as reference PCR) data and GOP head instruction signal to the plurality of encoders;
When the plurality of encoders assigns the picture type to the input image and the GOP synchronization instruction signal is distributed, a mutual system time clock (hereinafter referred to as STC) is based on the reference PCR data. A synchronization step of synchronizing the GOP structure so as to synchronize the time base according to GOP and to match the GOP head position with each other based on the GOP head instruction signal;
The TS switcher has a step of selecting one TS at a point where the GOP head positions coincide with each other from the output TSs of the plurality of encoders so that the time reference and the GOP structure are switched seamlessly. Characteristic encoding method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004076381A JP4235951B2 (en) | 2004-03-17 | 2004-03-17 | Encoder apparatus using a plurality of MPEG encoders and encoding method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004076381A JP4235951B2 (en) | 2004-03-17 | 2004-03-17 | Encoder apparatus using a plurality of MPEG encoders and encoding method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005269045A true JP2005269045A (en) | 2005-09-29 |
JP4235951B2 JP4235951B2 (en) | 2009-03-11 |
Family
ID=35093145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004076381A Expired - Lifetime JP4235951B2 (en) | 2004-03-17 | 2004-03-17 | Encoder apparatus using a plurality of MPEG encoders and encoding method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4235951B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008166862A (en) * | 2006-12-26 | 2008-07-17 | Fujitsu Ltd | Encoding and decoding system, encoding system, and decoding system |
KR100991979B1 (en) | 2009-04-16 | 2010-11-04 | (주)라닉스 | Synchronization apparatus and method for multiple CODEC DVR system |
JP2010279082A (en) * | 2010-09-13 | 2010-12-09 | Fujitsu Ltd | Image processing system |
CN102572517A (en) * | 2011-12-21 | 2012-07-11 | 深圳市同洲视讯传媒有限公司 | Bit stream switching method, device, server and system |
JP2012138826A (en) * | 2010-12-27 | 2012-07-19 | Hitachi Ulsi Systems Co Ltd | Video encoder system |
-
2004
- 2004-03-17 JP JP2004076381A patent/JP4235951B2/en not_active Expired - Lifetime
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008166862A (en) * | 2006-12-26 | 2008-07-17 | Fujitsu Ltd | Encoding and decoding system, encoding system, and decoding system |
JP4607856B2 (en) * | 2006-12-26 | 2011-01-05 | 富士通株式会社 | Encoding / decoding system and encoding / decoding method |
US8036266B2 (en) | 2006-12-26 | 2011-10-11 | Fujitsu Limited | Encoding/decoding system, encoding system, and decoding system |
KR100991979B1 (en) | 2009-04-16 | 2010-11-04 | (주)라닉스 | Synchronization apparatus and method for multiple CODEC DVR system |
JP2010279082A (en) * | 2010-09-13 | 2010-12-09 | Fujitsu Ltd | Image processing system |
JP2012138826A (en) * | 2010-12-27 | 2012-07-19 | Hitachi Ulsi Systems Co Ltd | Video encoder system |
CN102572517A (en) * | 2011-12-21 | 2012-07-11 | 深圳市同洲视讯传媒有限公司 | Bit stream switching method, device, server and system |
Also Published As
Publication number | Publication date |
---|---|
JP4235951B2 (en) | 2009-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4609753B2 (en) | Method and system for staggered array statistical multiplexing | |
JP4157617B2 (en) | Method and apparatus for information stream frame synchronization | |
EP1675399A2 (en) | Fast channel switching for digital TV | |
US20090064242A1 (en) | Fast channel switching for digital tv | |
US20050180512A1 (en) | Method and apparatus for determining timing information from a bit stream | |
JP4389883B2 (en) | Encoding apparatus, encoding method, encoding method program, and recording medium recording the encoding method program | |
EP0944249A1 (en) | Encoded stream splicing device and method, and an encoded stream generating device and method | |
US20060285586A1 (en) | Methods and systems for achieving transition effects with MPEG-encoded picture content | |
KR20000069473A (en) | Video data multiplexer, video data multiplexing control method, method and apparatus for multiplexing encoded stream, and encoding method and apparatus | |
JP5524193B2 (en) | Media stream processing | |
JP2007053668A (en) | Moving video distribution system and moving video distribution server | |
CN102326403B (en) | Utilize exterior artwork attribute flags to carry out accelerating channel and change the time | |
JP5881219B2 (en) | Receiver capable of channel change with a single decoder and method at the receiver | |
JP2013172374A (en) | Image processing device, image processing method, and image processing system | |
JP4235951B2 (en) | Encoder apparatus using a plurality of MPEG encoders and encoding method thereof | |
JP2007282023A (en) | Multiplexing device and multiplexing method | |
JP2011166615A (en) | Video synchronizing apparatus, video display device, video synchronizing method and program | |
JP2004096491A (en) | Coding/decoding device | |
JP2009171294A (en) | Video distribution system, video relay apparatus, and video relay method | |
US20100272170A1 (en) | Image encoding apparatus, image encoding method and medium on which image encoding program is recorded | |
KR20040083520A (en) | Video information stream distribution unit | |
JP4363724B2 (en) | Bitstream switching system | |
JP2003333551A (en) | Media multiplexer and encoder using the same | |
JP2004056234A (en) | Image encoder and image encoding method | |
JP6819041B2 (en) | Server system and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070213 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20080430 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081118 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20081121 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081204 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4235951 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111226 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111226 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121226 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121226 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131226 Year of fee payment: 5 |