JP2010239546A - Transcoder, transcoding method and transcoding computer program, and moving image transmitting apparatus - Google Patents

Transcoder, transcoding method and transcoding computer program, and moving image transmitting apparatus Download PDF

Info

Publication number
JP2010239546A
JP2010239546A JP2009087270A JP2009087270A JP2010239546A JP 2010239546 A JP2010239546 A JP 2010239546A JP 2009087270 A JP2009087270 A JP 2009087270A JP 2009087270 A JP2009087270 A JP 2009087270A JP 2010239546 A JP2010239546 A JP 2010239546A
Authority
JP
Japan
Prior art keywords
picture
pictures
encoding
moving image
image data
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.)
Withdrawn
Application number
JP2009087270A
Other languages
Japanese (ja)
Inventor
Takayuki Yamamoto
孝幸 山本
Hidenori Takai
秀徳 高井
Yoshimasa Mizuno
佳政 水野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2009087270A priority Critical patent/JP2010239546A/en
Publication of JP2010239546A publication Critical patent/JP2010239546A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a transcoder transcoding input coded moving image data having less delay times. <P>SOLUTION: The transcoder 1 includes: a decoder 12 for decoding each picture contained in first moving image data coded according to a first coding system; a picture-discarding section 14 for discarding the predetermined number of pictures including a first picture that has become a reference for coding other pictures in the first moving image data among the decoded pictures; and an encoder 15 for using a leading picture in the remaining pictures which have not been discarded by the picture discarding section 14, as a picture that serves as a reference for coding the other pictures, and recoding the remaining pictures according to a second coding system. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

ここに開示される実施形態は、符号化された動画像データを他の符号化方式に従って符号化された動画像データに変換するトランスコーダ、トランスコーディング方法、トランスコーディング用コンピュータプログラム及びそれらを用いた動画像伝送装置に関する。   The embodiment disclosed herein uses a transcoder, a transcoding method, a computer program for transcoding, and a computer program for converting encoded moving image data into moving image data encoded according to another encoding method. The present invention relates to a moving image transmission apparatus.

近年、インターネットプロトコル(Internet Protocol、IP)ネットワークを介して、動画像データを配信するサービスが提供されている。このようなサービスの一つとして、地上波デジタルテレビジョン放送を受信することが困難な地域に対して、放送電波により配信された動画像データを受信し、IPネットワークを通じてその動画像データを再配信するサービスが検討されている。   In recent years, services for distributing moving image data via an Internet Protocol (IP) network have been provided. One such service is to receive moving image data distributed by broadcast radio waves to areas where it is difficult to receive terrestrial digital television broadcasts, and redistribute the moving image data through the IP network. Service to be considered.

しかし、IPネットワークで使用可能な通信帯域幅は、放送波で使用可能な通信帯域幅よりも狭い。そこで、入力された符号化動画像データを一旦復号し、その復号された動画像データをより符号化効率の高い符号化方式に従って再度符号化する技術が開発されている(例えば、特許文献1を参照)。このように、特定の符号化方式に従って符号化された動画像データを他の符号化方式に従って符号化された動画像データに変換する処理はトランスコードと呼ばれる。   However, the communication bandwidth that can be used in the IP network is narrower than the communication bandwidth that can be used in broadcast waves. Therefore, a technique has been developed in which the input encoded moving image data is once decoded and the decoded moving image data is encoded again according to an encoding method with higher encoding efficiency (for example, Patent Document 1). reference). In this way, the process of converting moving image data encoded according to a specific encoding method into moving image data encoded according to another encoding method is called transcoding.

特開2004−96491号公報JP 2004-96491 A

また、放送電波により配信された動画像データを受信し、IPネットワークを通じてその動画像データを再配信するサービスでは、その再配信される動画像データに対して、放送電波により直接配信される動画像データとサービス及び技術面での同一性が要求される。そのため、放送電波により配信される動画像データを受信して、その動画像データを再配信する映像再送信システムは、放送電波により直接配信される動画像データに対する再配信される動画像データの遅延を極力小さくしなければならない。
例えば、地上デジタル放送補完再送信審査会は、再送信される動画像データに対する要件を定めた地上デジタル放送IP再送信方式審査ガイドラインを策定している。この地上デジタル放送IP再送信方式審査ガイドラインでは、「映像・音声・データ放送の遅延は、地上デジタルテレビジョン放送の電波による受信の場合に比べて、システム全体で2.5秒以下であること」と定められている。なお、地上デジタル放送IP再送信方式審査ガイドラインに関しては、http://nab.or.jp/shinsakaiに公開されているgideline20071026.pdfを参照されたい。
In addition, in a service that receives moving image data distributed by broadcast radio waves and redistributes the moving image data through the IP network, moving images that are directly distributed by broadcast radio waves to the redistributed moving image data. Data and service and technical identity are required. Therefore, a video re-transmission system that receives moving image data distributed by broadcast radio waves and re-distributes the moving image data is a delay of re-distributed moving image data with respect to moving image data directly distributed by broadcast radio waves. Must be made as small as possible.
For example, the Digital Terrestrial Broadcasting Supplemental Retransmission Screening Committee has formulated terrestrial digital broadcast IP retransmission system screening guidelines that define requirements for moving image data to be retransmitted. This terrestrial digital broadcast IP retransmission system examination guideline stipulates that “the delay of video, audio, and data broadcasts is 2.5 seconds or less for the entire system compared to the reception by radio waves of digital terrestrial television broadcasting”. It has been. Please refer to gideline20071026.pdf published at http://nab.or.jp/shinsakai for terrestrial digital broadcast IP retransmission method examination guidelines.

そこで、本明細書は、入力された符号化動画像データを少ない遅延時間でトランスコード可能なトランスコーダ、トランスコーディング方法及びトランスコーディング用コンピュータプログラムならびに動画像伝送装置を提供することを目的とする。   Accordingly, an object of the present specification is to provide a transcoder, a transcoding method, a computer program for transcoding, and a moving image transmission apparatus capable of transcoding input encoded moving image data with a small delay time.

一つの実施形態によれば、トランスコーダが提供される。このトランスコーダは、第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号するデコーダと、復号された各ピクチャのうち、第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄するピクチャ廃棄部と、廃棄部により廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従ってその残りのピクチャを再符号化するエンコーダとを有する。   According to one embodiment, a transcoder is provided. The transcoder includes a decoder that decodes each picture included in the first moving image data encoded in accordance with the first encoding method, and another one of the decoded pictures in the first moving image data. A picture discard unit that discards a predetermined number of pictures including the first picture that is a reference for encoding a picture, and a first picture among the remaining pictures that are not discarded by the discard unit As an encoding reference picture, an encoder that re-encodes the remaining pictures in accordance with the second encoding method is included.

また他の実施形態によれば、動画像伝送装置が提供される。この動画像伝送装置は、映像信号をパケット単位で受信する受信部と、映像信号から第1の符号化方式により符号化された第1の動画像データと、他のデータを分離するマルチプレクサと、第1の動画像データに含まれる各ピクチャを復号するデコーダと、復号された各ピクチャのうち、第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄するピクチャ廃棄部と、廃棄部により廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従ってその残りのピクチャを再符号化するエンコーダと、他のデータと第2の符号化方式に従って再符号化された各ピクチャを含む動画像データを多重化することによりパケットを作成するマルチプレクサと、パケットを暗号化する暗号化部と、暗号化されたパケットを出力する送信部とを有する。   According to another embodiment, a moving image transmission apparatus is provided. The moving image transmission apparatus includes: a receiving unit that receives a video signal in units of packets; a first moving image data encoded by a first encoding method from a video signal; a multiplexer that separates other data; A decoder that decodes each picture included in the first moving image data; and a first picture that is a reference for encoding other pictures in the first moving image data among the decoded pictures. A second coding scheme in which a picture discarding unit that discards a predetermined number of pictures including the first picture among the remaining pictures that have not been discarded by the discarding unit is used as a reference picture for coding other pictures Multiplexes moving picture data including each picture re-encoded in accordance with the second encoding scheme and an encoder that re-encodes the remaining pictures according to Having a multiplexer for creating a packet, an encryption unit for encrypting the packet, and a transmission section for outputting the encrypted packet by.

さらに他の実施形態によれば、トランスコーディング方法が提供される。このトランスコーディング方法は、第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号し、復号された各ピクチャのうち、第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄し、復号された各ピクチャのうち、廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従ってその残りのピクチャを再符号化することを含む。   According to yet another embodiment, a transcoding method is provided. In this transcoding method, each picture included in the first moving image data encoded according to the first encoding method is decoded, and among the decoded pictures, other pictures in the first moving image data are decoded. A predetermined number of pictures including the first picture that is a reference for encoding the first picture is discarded, and among the decoded pictures, the first picture of the remaining pictures not discarded is replaced with another picture. Includes re-encoding the remaining pictures in accordance with the second encoding method.

さらに他の実施形態によれば、コンピュータに第1の符号化方式に従って符号化された動画像データを第2の符号化方式に従って符号化された動画像データに変換させるトランスコーディング用コンピュータプログラムが提供される。このコンピュータプログラムは、第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号し、復号された各ピクチャのうち、第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄し、復号された各ピクチャのうち、廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従ってその残りのピクチャを再符号化することをコンピュータに実行させる命令を有する。   According to still another embodiment, there is provided a transcoding computer program for causing a computer to convert moving image data encoded according to a first encoding method into moving image data encoded according to a second encoding method. Is done. The computer program decodes each picture included in the first moving image data encoded according to the first encoding method, and among the decoded pictures, the other moving image in the first moving image data. A predetermined number of pictures including the first picture that is a reference for encoding are discarded, and among the decoded pictures, the first picture of the remaining pictures that are not discarded is replaced with the other pictures. As a picture serving as a reference for encoding, an instruction for causing the computer to re-encode the remaining picture according to the second encoding method is included.

本発明の目的及び利点は、請求項において特に指摘されたエレメント及び組み合わせにより実現され、かつ達成される。
上記の一般的な記述及び下記の詳細な記述の何れも、例示的かつ説明的なものであり、請求項のように、本発明を限定するものではないことを理解されたい。
The objects and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims.
It should be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention as claimed.

本明細書に開示されたトランスコーダ、トランスコーディング方法及びトランスコーディング用コンピュータプログラムならびに動画像伝送装置は、入力された符号化動画像データを少ない遅延時間でトランスコードすることができる。   The transcoder, transcoding method, transcoding computer program, and moving image transmission apparatus disclosed in this specification can transcode input encoded moving image data with a small delay time.

第1の実施形態に係るトランスコーダの概略構成図である。1 is a schematic configuration diagram of a transcoder according to a first embodiment. (a)〜(c)は、それぞれ、ピクチャを廃棄しない場合、1枚、2枚のピクチャを廃棄した場合の遅延時間の概念図である。(A)-(c) is a conceptual diagram of the delay time when one picture or two pictures are discarded, respectively, when no picture is discarded. 第1の実施形態に係るトランスコーダにより実行される、符号化動画像データのトランスコード処理の動作フローチャートである。It is an operation | movement flowchart of the transcoding process of the encoding moving image data performed by the transcoder based on 1st Embodiment. 第2の実施形態に係るトランスコーダの概略構成図である。It is a schematic block diagram of the transcoder based on 2nd Embodiment. 第2の実施形態に係るトランスコーダにより生じる遅延時間の概念図である。It is a conceptual diagram of the delay time generated by the transcoder according to the second embodiment. 第2の実施形態に係るトランスコーダにより実行される、符号化動画像データのトランスコード処理の動作フローチャートである。It is an operation | movement flowchart of the transcoding process of the encoding moving image data performed by the transcoder based on 2nd Embodiment. 第3の実施形態に係るトランスコーダの概略構成図である。It is a schematic block diagram of the transcoder which concerns on 3rd Embodiment. 映像再送信システムの概略構成図である。It is a schematic block diagram of a video retransmission system. 図8に示された映像再送信システムが有する、何れかの実施形態によるトランスコーダを有する動画像伝送装置の概略構成図である。It is a schematic block diagram of the moving-image transmission apparatus which has the transcoder by any embodiment which the video re-transmission system shown by FIG. 8 has.

以下、図を参照しつつ、第1の実施形態によるトランスコーダについて説明する。
このトランスコーダは、入力された符号化動画像データに含まれる、符号化演算量が相対的に多い、他のピクチャを符号化する際の基準として参照されるピクチャを含む最初の所定枚数のピクチャを廃棄することで、再符号化による遅延時間の短縮を図る。
なお、トランスコードされる動画像データに含まれるピクチャは、インターレース方式により取得されるフィールド、または、プログレッシブ方式により取得されるフレームの何れであってもよい。
Hereinafter, the transcoder according to the first embodiment will be described with reference to the drawings.
This transcoder is the first predetermined number of pictures including pictures that are included in the input encoded moving image data and that have a relatively large amount of encoding calculation and that are referenced as a reference when encoding other pictures. The delay time is shortened by re-encoding.
Note that the picture included in the moving image data to be transcoded may be either a field acquired by the interlace method or a frame acquired by the progressive method.

図1は、第1の実施形態によるトランスコーダ1の概略構成図である。図1に示すように、トランスコーダ1は、デマルチプレクサ11と、デコーダ12と、エンコード開始位置部13と、ピクチャ廃棄部14と、エンコーダ15と、バッファ16と、マルチプレクサ17とを有する。トランスコーダ1が有するこれらの各部は、例えば、それぞれ別個の回路とすることができる。またトランスコーダ1は、トランスコーダ1が有するこれらの各部の機能を有する回路が集積された集積回路であってもよい。あるいはまた、トランスコーダ1が有するこれらの各部は、トランスコーダ1が有する一つまたは複数のプロセッサ上で実行されるコンピュータプログラムにより実現される機能モジュールであってもよい。   FIG. 1 is a schematic configuration diagram of a transcoder 1 according to the first embodiment. As shown in FIG. 1, the transcoder 1 includes a demultiplexer 11, a decoder 12, an encoding start position unit 13, a picture discard unit 14, an encoder 15, a buffer 16, and a multiplexer 17. Each of these units included in the transcoder 1 may be a separate circuit, for example. The transcoder 1 may be an integrated circuit in which circuits having functions of these units included in the transcoder 1 are integrated. Alternatively, each of these units included in the transcoder 1 may be a functional module realized by a computer program executed on one or a plurality of processors included in the transcoder 1.

デマルチプレクサ11は、トランスコーダ1に入力された多重化された映像信号を、符号化された動画像データと、オーディオ信号、字幕などの他のデータに分離する。そしてデマルチプレクサ11は、符号化された動画像データをデコーダ12に渡す。またデマルチプレクサ11は、符号化された動画像データ以外のデータをバッファ16に保存する。
さらにデマルチプレクサ11は、符号化された動画像データに含まれる各ピクチャの符号化種別、各ピクチャのデータ量及び量子化スケールをエンコード開始位置決定部13に渡す。
The demultiplexer 11 separates the multiplexed video signal input to the transcoder 1 into encoded moving image data and other data such as audio signals and captions. Then, the demultiplexer 11 passes the encoded moving image data to the decoder 12. The demultiplexer 11 stores data other than the encoded moving image data in the buffer 16.
Further, the demultiplexer 11 passes the encoding type of each picture included in the encoded moving image data, the data amount of each picture, and the quantization scale to the encoding start position determination unit 13.

デコーダ12は、デマルチプレクサ11から受け取った、第1の符号化方式により符号化された動画像データに含まれる各ピクチャを、その第1の符号化方式に従った復号方法により復号する。例えば、第1の符号化方式がMoving Picture Experts Group phase 2(MPEG-2)であれば、デコーダ12は、符号化された動画像データの各ピクチャ及び動きベクトルなど付随するデータを可変長復号する。そしてデコーダ12は、可変長復号されたデータに対して逆量子化処理及び逆直交変換処理を実行する。逆量子化処理及び逆直交変換処理が行われることにより、復号対象となるピクチャがIピクチャであれば、そのピクチャは復号される。一方、復号対象となるピクチャがPピクチャあるいはBピクチャであれば、デコーダ12は、逆直交変換処理により得られた差分信号に、既に復号されている参照ピクチャの対応ブロックから求められた予測画像を加算することによりそのピクチャを復号する。
なお、Iピクチャは、符号化対象の1枚のピクチャ内に含まれる情報のみを用いてそのピクチャを符号化するイントラ符号化方法により符号化されるピクチャである。一方、Pピクチャ及びBピクチャは、符号化対象のピクチャの前後のピクチャの情報を用いて符号化するインター符号化方法により符号化されるピクチャである。このうち、Pピクチャは、符号化対象のピクチャよりも時間的に前のピクチャのみを用いて符号化される。またBピクチャは、符号化対象のピクチャよりも時間的に前のピクチャと時間的に後のピクチャの両方を用いて符号化される。
Iピクチャ、Bピクチャ、Pピクチャは、予め定められた一定の周期で繰り返される。この一定周期で繰り返される、連続する複数のピクチャを含み、各ピクチャに対する符号化方法が規定された構造はGroup Of Pictures(GOP)と呼ばれる。
デコーダ12は、GOPの構造に従った符号化順序で各ピクチャを復号する。そしてデコーダ12は、ピクチャが復号される度に、その復号されたピクチャと、復号前におけるそのピクチャの符号化種別(すなわち、Iピクチャ、Pピクチャ、Bピクチャ)を示す情報をピクチャ廃棄部14に渡す。
The decoder 12 decodes each picture included in the moving image data encoded by the first encoding method received from the demultiplexer 11 by a decoding method according to the first encoding method. For example, if the first encoding method is Moving Picture Experts Group phase 2 (MPEG-2), the decoder 12 performs variable-length decoding on accompanying data such as each picture and motion vector of the encoded moving image data. . Then, the decoder 12 performs an inverse quantization process and an inverse orthogonal transform process on the variable length decoded data. If the picture to be decoded is an I picture by performing the inverse quantization process and the inverse orthogonal transform process, the picture is decoded. On the other hand, if the picture to be decoded is a P picture or a B picture, the decoder 12 adds the predicted image obtained from the corresponding block of the reference picture that has already been decoded to the difference signal obtained by the inverse orthogonal transform process. The picture is decoded by adding.
Note that an I picture is a picture that is encoded by an intra-encoding method that encodes the picture using only information included in one picture to be encoded. On the other hand, a P picture and a B picture are pictures that are encoded by an inter-encoding method that performs encoding using information on pictures before and after the picture to be encoded. Among these, the P picture is encoded using only a picture temporally preceding the encoding target picture. Further, the B picture is encoded using both a picture temporally preceding and a picture temporally subsequent to the picture to be encoded.
The I picture, B picture, and P picture are repeated at a predetermined fixed period. A structure including a plurality of consecutive pictures that are repeated at a certain period and in which an encoding method for each picture is defined is called a group of pictures (GOP).
The decoder 12 decodes each picture in the encoding order according to the GOP structure. Each time a picture is decoded, the decoder 12 sends information indicating the decoded picture and the coding type (that is, I picture, P picture, B picture) of the picture before decoding to the picture discarding unit 14. hand over.

エンコード開始位置決定部13は、各ピクチャの符号化種別、各ピクチャのデータ量または量子化スケールに基づいて、トランスコードによる遅延時間が最小となるように、エンコーダ15が最初に再符号化するピクチャである符号化先頭ピクチャの位置を決定する。
GOPでは、一般的に、インター符号化される他のピクチャを符号化するための基準となるIピクチャが、符号化順序において先頭に配置される。そのため、符号化された動画像データをトランスコードするためには、通常、デコーダが各GOPのIピクチャを最初に復号し、次に、エンコーダがその復号されたIピクチャを再度符号化する。この場合、そのIピクチャに対する復号処理、符号化処理及びデータ伝送処理に要する時間がそのままトランスコードによる遅延時間となってしまう。
しかも、符号化されたIピクチャのデータ量は、符号化されたPピクチャ及びBピクチャのデータ量よりも一般的に多い。そのため、Iピクチャの復号処理、符号化処理及びデータ伝送に要する時間は、Pピクチャ及びBピクチャの復号処理、符号化処理及びデータ伝送に要する時間よりも長くなる。
Based on the encoding type of each picture, the data amount of each picture, or the quantization scale, the encoding start position determining unit 13 firstly re-encodes the picture that the encoder 15 re-encodes so that the delay time due to transcoding is minimized The position of the encoded leading picture is determined.
In the GOP, generally, an I picture that serves as a reference for coding other pictures to be inter-coded is arranged at the head in the coding order. Therefore, in order to transcode the encoded moving image data, usually, the decoder first decodes the I picture of each GOP, and then the encoder re-encodes the decoded I picture. In this case, the time required for the decoding process, the encoding process, and the data transmission process for the I picture becomes the delay time due to transcoding.
Moreover, the data amount of the encoded I picture is generally larger than the data amount of the encoded P picture and B picture. For this reason, the time required for the decoding process, encoding process, and data transmission of the I picture is longer than the time required for the decoding process, encoding process, and data transmission of the P picture and B picture.

そこでエンコード開始位置決定部13は、元の動画像データの最初のGOPからIピクチャを含む最初の所定枚数のピクチャを廃棄することにより、再符号化される先頭のピクチャの位置を変更した場合の遅延時間を推定する。なお、放送電波によって配信される映像信号を通信ネットワークを介して再配信する映像再送信システムにこのトランスコーダ1が用いられる場合、上記のようなピクチャの廃棄は、映像再送信システムの起動時のみに発生する。そのため、ピクチャの廃棄に伴う不利益は、廃棄されたピクチャの枚数に相当する非常に僅かな時間だけ、サービス提供開始時刻が遅れること以外に発生しない。   Therefore, the encoding start position determination unit 13 discards the first predetermined number of pictures including the I picture from the first GOP of the original moving image data, thereby changing the position of the first picture to be re-encoded. Estimate the delay time. When this transcoder 1 is used in a video re-transmission system that re-distributes a video signal distributed by broadcast radio waves via a communication network, discarding pictures as described above is performed only when the video re-transmission system is activated. Occurs. Therefore, there is no disadvantage associated with discarding pictures other than that the service provision start time is delayed by a very short time corresponding to the number of discarded pictures.

遅延時間を推定するために、エンコード開始位置決定部13は、符号化先頭ピクチャの復号開始待機期間を推定する。この復号開始待機期間は、元の動画像データの最初のIピクチャがデコーダ12に伝送開始されてから、元の動画像データのGOPの符号化順序に従って符号化先頭ピクチャがデコーダ12に伝送開始されるまでの期間である。またエンコード開始位置決定部13は、所定枚数のピクチャを廃棄したときの符号化先頭ピクチャの再符号化処理期間を推定する。この再符号化処理期間は、元の動画像データの最初のIピクチャがデコーダ12に伝送開始されてから、エンコーダ15が再符号化された符号化先頭ピクチャを出力終了するまでに要する時間である。再符号化処理期間には、元の動画像データのGOPの符号化順序に従って符号化先頭ピクチャまでの各ピクチャが復号されるのに要する期間と、符号化先頭ピクチャがエンコーダ15により再符号化されるのに要する期間が含まれる。さらに再符号化処理期間には、元の動画像データの最初のIピクチャがデマルチプレクサ11からデコーダ12へ伝送されるために要する期間と、復号された符号化先頭ピクチャがデコーダ12からエンコーダ15まで伝送されるために要する期間及び再符号化された符号化先頭ピクチャがエンコーダ15からマルチプレクサ17へ伝送されるために要する期間が含まれる。そしてエンコード開始位置決定部13は、符号化先頭ピクチャの再符号化処理期間から復号開始待機期間の差を遅延時間とする。   In order to estimate the delay time, the encoding start position determination unit 13 estimates the decoding start waiting period of the encoded first picture. In this decoding start waiting period, transmission of the first I picture of the original moving image data to the decoder 12 is started, and then transmission of the encoded first picture to the decoder 12 is started according to the GOP encoding order of the original moving image data. This is the period until In addition, the encoding start position determination unit 13 estimates the re-encoding processing period of the encoded head picture when a predetermined number of pictures are discarded. This re-encoding processing period is the time required from the start of transmission of the first I picture of the original moving image data to the decoder 12 until the encoder 15 finishes outputting the re-encoded head picture. . In the re-encoding processing period, a period required for decoding each picture up to the encoding start picture in accordance with the GOP encoding order of the original moving image data, and the encoding start picture is re-encoded by the encoder 15. This includes the time required for Further, in the re-encoding processing period, the period required for the first I picture of the original moving image data to be transmitted from the demultiplexer 11 to the decoder 12 and the decoded encoded top picture from the decoder 12 to the encoder 15 The period required for transmission and the period required for transmitting the re-encoded encoded first picture from the encoder 15 to the multiplexer 17 are included. Then, the encoding start position determination unit 13 sets the difference between the re-encoding processing period of the encoded head picture and the decoding start standby period as a delay time.

図2(a)〜図2(c)は、それぞれ、ピクチャを廃棄しない場合、1枚、2枚のピクチャを廃棄した場合の遅延時間の概念図である。なお、簡単化のために、図2(a)〜図2(c)では、GOPは符号化順序と画像の再生順序が一致し、Bピクチャが含まれないIPPP構成を有するものとして説明する。図2(a)〜図2(c)のそれぞれにおいて、横軸は経過時間を表す。グラフ201は、トランスコーダ1に入力された第1の符号化方式により符号化された元の動画像データのGOPを復号するのに要する時間を表す。そしてグラフ201内の縦線のそれぞれは、GOP内の一つのピクチャがデマルチプレクサ11からデコーダ12に伝送開始された時刻に対応する。またグラフ202〜204は、それぞれ、トランスコーダ1によりトランスコードされた動画像データの一つのGOPのトランスコードに要する時間を表す。グラフ202〜204のそれぞれにおいて、グラフ内の縦線は、それぞれ一つのピクチャについてエンコーダ15が出力を終了した時刻、すなわち、マルチプレクサ17への伝送を終了した時刻に対応する。   FIG. 2A to FIG. 2C are conceptual diagrams of delay times when one picture and two pictures are discarded when the picture is not discarded, respectively. For simplification, in FIG. 2A to FIG. 2C, the GOP will be described as having an IPPP configuration in which the encoding order matches the image playback order and does not include a B picture. In each of FIG. 2A to FIG. 2C, the horizontal axis represents elapsed time. A graph 201 represents the time required to decode the GOP of the original moving image data encoded by the first encoding method input to the transcoder 1. Each vertical line in the graph 201 corresponds to the time when transmission of one picture in the GOP from the demultiplexer 11 to the decoder 12 is started. Graphs 202 to 204 each represent the time required for transcoding one GOP of moving image data transcoded by the transcoder 1. In each of the graphs 202 to 204, each vertical line in the graph corresponds to the time when the encoder 15 finishes outputting one picture, that is, the time when transmission to the multiplexer 17 is finished.

例えば、図2(a)では、遅延時間Δtは、元の動画像データの先頭のIピクチャがデコーダ12に伝送開始された時刻t0と、そのIピクチャがエンコーダ15によりIピクチャとして再符号化され、マルチプレクサ17への伝送が終了した時刻t1との差(t1-t0)となる。この場合、復号処理及びデータ伝送に要する時間が長いIピクチャが再度Iピクチャとして符号化されるため、全体としての遅延時間Δtも長くなる。
一方、図2(b)では、遅延時間Δtは、元の動画像データのGOP内の2番目に位置するPピクチャがデコーダ12に伝送開始された時刻t2と、そのPピクチャがIピクチャとして再符号化され、マルチプレクサ17への伝送が終了した時刻t3との差(t3-t2)となる。この場合、復号処理及びデマルチプレクサ11からデコーダ12へのデータ伝送に要する時間が比較的短いPピクチャがIピクチャとして再符号化されるため、再符号化が開始されるまでに要する時間がグラフ202に示した場合よりも短縮される。同様に、図2(c)では、遅延時間Δtは、元の動画像データの3番目に位置するPピクチャがデコーダ12に伝送開始された時刻t4と、そのPピクチャがIピクチャとして再符号化され、マルチプレクサ17への伝送が終了した時刻t5との差(t5-t4)となる。
For example, in FIG. 2A, the delay time Δt is the time t 0 when transmission of the first I picture of the original moving image data to the decoder 12 is started, and the I picture is re-encoded as an I picture by the encoder 15. And a difference (t 1 −t 0 ) from the time t 1 when the transmission to the multiplexer 17 is completed. In this case, since the I picture having a long time required for the decoding process and data transmission is encoded again as the I picture, the delay time Δt as a whole also becomes long.
On the other hand, in FIG. 2B, the delay time Δt is defined as the time t 2 when transmission of the second P picture in the GOP of the original moving image data is started to the decoder 12 and the P picture as an I picture. It becomes a difference (t 3 -t 2 ) from time t 3 when re-encoding and transmission to the multiplexer 17 is completed. In this case, since a P picture having a relatively short time required for decoding processing and data transmission from the demultiplexer 11 to the decoder 12 is re-encoded as an I picture, the time required until re-encoding is started is shown in the graph 202. It is shorter than the case shown in. Similarly, in FIG. 2C, the delay time Δt is re-encoded as a time t 4 when transmission of the third P picture of the original moving image data is started to the decoder 12 and the P picture as an I picture. And a difference (t 5 −t 4 ) from the time t 5 when the transmission to the multiplexer 17 is completed.

符号化先頭ピクチャの復号開始待機期間及び再符号化処理期間を推定するために、Iピクチャ、Pピクチャなど、ピクチャの符号化種別ごとに復号処理、符号化処理及び各部間のデータ伝送に要する時間が予め設定されてもよい。あるいは、エンコード開始位置決定部13は、各符号化種別のピクチャの復号処理、符号化処理及び各部間のデータ伝送に要する時間を、符号化種別とともに、第1の符号化方式により符号化された各ピクチャの符号化データ量に基づいて決定してもよい。この場合、符号化種別及び符号化データ量と、復号処理、符号化処理及びデータ伝送に要する時間の関係は、トランスコーダ1の処理能力に応じて予め求められる。例えば、その関係を表す参照テーブルがエンコード開始位置決定部13が有するメモリに予め記憶される。そしてエンコード開始位置決定部13は、その参照テーブルを参照することにより、デマルチプレクサ11から受け取った符号化種別及び符号化データ量に対応する復号処理、符号化処理及び各部間のデータ伝送に要する時間を特定できる。さらにエンコード開始位置決定部13は、各符号化種別のピクチャの復号処理、符号化処理及び各部間のデータ伝送に要する時間を、符号化種別、各ピクチャの符号化データ量及びその符号化に用いられた量子化スケールに基づいて決定してもよい。この場合も、符号化種別、符号化データ量及び量子化スケールと、復号処理、符号化処理及びデータ伝送に要する時間の関係は、トランスコーダ1の処理能力に応じて予め求められる。そして、その関係を表す参照テーブルがエンコード開始位置決定部13が有するメモリに予め記憶される。エンコード開始位置決定部13は、その参照テーブルを参照することにより、デマルチプレクサ11から受け取った符号化種別、符号化データ量及び量子化スケールに対応する復号処理、符号化処理及び各部間のデータ伝送に要する時間を特定できる。   In order to estimate the decoding start waiting period and re-encoding processing period of the encoding first picture, the time required for the decoding process, encoding process, and data transmission between each part, such as I picture and P picture, for each picture encoding type May be set in advance. Alternatively, the encoding start position determination unit 13 encodes the time required for the decoding process, the encoding process, and the data transmission between the respective encoding types by the first encoding method together with the encoding type. You may determine based on the encoding data amount of each picture. In this case, the relationship between the encoding type and the encoded data amount and the time required for the decoding process, the encoding process, and the data transmission is obtained in advance according to the processing capability of the transcoder 1. For example, a reference table indicating the relationship is stored in advance in a memory included in the encoding start position determination unit 13. Then, the encoding start position determination unit 13 refers to the reference table to determine the time required for the decoding process corresponding to the encoding type and the encoded data amount received from the demultiplexer 11, the encoding process, and the data transmission between the units. Can be identified. Further, the encoding start position determination unit 13 uses the time required for the decoding process of the pictures of each encoding type, the encoding process, and the data transmission between the parts for the encoding type, the encoded data amount of each picture, and the encoding thereof. It may be determined based on the determined quantization scale. Also in this case, the relationship between the encoding type, the encoded data amount, the quantization scale, and the time required for the decoding process, the encoding process, and the data transmission is obtained in advance according to the processing capacity of the transcoder 1. A reference table representing the relationship is stored in advance in a memory included in the encoding start position determination unit 13. The encoding start position determination unit 13 refers to the reference table, thereby performing decoding processing, encoding processing, and data transmission between the units corresponding to the encoding type, the encoded data amount, and the quantization scale received from the demultiplexer 11. The time required for

エンコード開始位置決定部13は、符号化先頭ピクチャの位置をGOPに含まれる枚数以内で一つずつ変更し、各位置に対する遅延時間をそれぞれ算出する。ただし、元の動画像データのGOPの構造によっては、ピクチャの符号化順序とピクチャの再生順序が異なることがある。符号化順序と再生順序が異なる場合、ピクチャの廃棄枚数によっては、エンコーダ15が何れかのピクチャについて再符号化を開始するまでに、デコーダ12によるそのピクチャの復号処理が終了しないこともある。そこでエンコード開始位置決定部13は、所定の廃棄枚数について、何れかのピクチャの再符号化開始までにそのピクチャの復号が終了しない場合、その廃棄枚数に対応する符号化先頭ピクチャの位置が選択されないように遅延時間を決定する。例えば、エンコード開始位置決定部13は、その所定の廃棄枚数に対する遅延時間を、ピクチャを1枚も廃棄しない場合の遅延時間よりも大きな値とする。
エンコード開始位置決定部13は、遅延時間が最小となる符号化先頭ピクチャの位置に対応するピクチャの廃棄枚数を決定する。そしてエンコード開始位置決定部13は、遅延時間が最小となるピクチャの廃棄枚数をピクチャ廃棄部14に通知する。
The encoding start position determination unit 13 changes the position of the encoded head picture one by one within the number included in the GOP, and calculates the delay time for each position. However, depending on the GOP structure of the original moving image data, the picture encoding order and the picture reproduction order may be different. When the encoding order and the reproduction order are different, depending on the number of discarded pictures, the decoding process of the picture by the decoder 12 may not be completed before the encoder 15 starts re-encoding for any picture. Therefore, the encoding start position determination unit 13 does not select the position of the encoded first picture corresponding to the discard number when the decoding of the picture is not completed before the start of re-encoding of any picture with respect to the predetermined discard number. The delay time is determined as follows. For example, the encoding start position determining unit 13 sets the delay time for the predetermined discard number to a value larger than the delay time when no picture is discarded.
The encoding start position determination unit 13 determines the number of discarded pictures corresponding to the position of the encoded first picture that minimizes the delay time. Then, the encoding start position determining unit 13 notifies the picture discarding unit 14 of the number of pictures discarded with the minimum delay time.

ピクチャ廃棄部14は、デコーダ12から受け取った、復号された動画像データのうち、最初のGOPについて、エンコード開始位置決定部13から通知された廃棄枚数のピクチャを廃棄する。そしてピクチャ廃棄部14は、廃棄されたピクチャ以降のピクチャをエンコーダ15に渡す。   The picture discarding unit 14 discards the discarded number of pictures notified from the encoding start position determining unit 13 for the first GOP in the decoded moving image data received from the decoder 12. Then, the picture discard unit 14 passes the pictures after the discarded picture to the encoder 15.

エンコーダ15は、ピクチャ廃棄部14から受け取った各ピクチャを、第1の符号化方式よりも符号化効率の高い第2の符号化方式に従って再符号化する。例えば、第2の符号化方式がH.264 MPEG-4 Advanced Video Coding(H.264 MPEG-4 AVC)である場合、エンコーダ15は、Iピクチャに対しては、マクロブロック単位でピクチャ内予測を行う。そしてエンコーダ15は、ピクチャ内予測信号の基準となるマクロブロック及びピクチャ内予測信号との差分信号に対して直交変換処理、量子化処理を実行する。一方、PピクチャまたはBピクチャに対しては、エンコーダ15は、マクロブロック単位でピクチャ間の動き予測及び動き補償を行うことにより予測信号を作成し、その予測信号とマクロブロックとの差分信号に対して直交変換処理、量子化処理を実行する。そしてエンコーダ15は、量子化処理された各ピクチャ及び動きベクトルを可変長符号化することにより、第2の方式に従って符号化された符号化動画像データを生成する。
またエンコーダ15は、ピクチャ廃棄部14から受け取った各ピクチャのうち、先頭のピクチャをIピクチャとして再符号化する。なお、エンコーダ15は、元の符号化動画像データのGOP構造とは異なるGOP構造を持つように、動画像データを再符号化してもよい。
エンコーダ15は、第2の符号化方式に従って再符号化された符号化動画像データをマルチプレクサ17へ出力する。
The encoder 15 re-encodes each picture received from the picture discarding unit 14 in accordance with a second encoding scheme that has higher encoding efficiency than the first encoding scheme. For example, when the second encoding method is H.264 MPEG-4 Advanced Video Coding (H.264 MPEG-4 AVC), the encoder 15 performs intra-picture prediction on a macroblock basis for an I picture. Do. Then, the encoder 15 performs orthogonal transform processing and quantization processing on the difference signal between the macroblock serving as the reference of the intra-picture prediction signal and the intra-picture prediction signal. On the other hand, for a P picture or a B picture, the encoder 15 creates a prediction signal by performing motion prediction and motion compensation between pictures in units of macroblocks, and applies a difference signal between the prediction signal and the macroblock. To perform orthogonal transform processing and quantization processing. Then, the encoder 15 performs variable-length coding on each quantized picture and motion vector, thereby generating encoded moving image data encoded according to the second method.
Further, the encoder 15 re-encodes the first picture among the pictures received from the picture discarding unit 14 as an I picture. The encoder 15 may re-encode the moving image data so as to have a GOP structure different from the GOP structure of the original encoded moving image data.
The encoder 15 outputs the encoded moving image data re-encoded according to the second encoding method to the multiplexer 17.

バッファ16は、デマルチプレクサ11から受け取った符号化された動画像データ以外のオーディオ信号、字幕などのデータを一時的に保存する。そしてバッファ16は、動画像データのトランスコードに要する一定期間の後、保存しているデータをマルチプレクサ17へ出力する。   The buffer 16 temporarily stores data such as audio signals and subtitles other than the encoded moving image data received from the demultiplexer 11. Then, the buffer 16 outputs the stored data to the multiplexer 17 after a certain period required for transcoding moving image data.

マルチプレクサ17は、エンコーダ15から受け取った符号化動画像データと、バッファ16から受け取ったオーディオ信号、字幕などのデータを多重化する。そしてマルチプレクサ17は、その多重化により生成された映像データを、例えばMPEG-2 TS形式に従ってパケット単位に分割し、パケットごとに出力する。   The multiplexer 17 multiplexes the encoded moving image data received from the encoder 15 and the data such as audio signals and captions received from the buffer 16. And the multiplexer 17 divides | segments the video data produced | generated by the multiplexing into a packet unit according to the MPEG-2 TS format, for example, and outputs it for every packet.

図3は、トランスコーダ1により実行されるトランスコード処理の動作フローチャートである。なお、トランスコーダ1の各部がコンピュータプログラムにより実現される機能モジュールである場合、図3に示す動作フローは、トランスコーダ1が有するプロセッサ上で動作するコンピュータプログラムにより制御される。
まず、デマルチプレクサ11は、トランスコーダ1に入力された多重化された映像信号を、第1の符号化方式に従って符号化された動画像データと、オーディオ信号、字幕などの他のデータに分離する(ステップS101)。そしてデマルチプレクサ11は、符号化された動画像データをピクチャ単位でデコーダ12に渡す。またデマルチプレクサ11は、符号化された動画像データ以外のデータをバッファ16に保存する。さらにデマルチプレクサ11は、符号化された動画像データに含まれる各ピクチャの符号化種別、各ピクチャのデータ量及び量子化スケールをエンコード開始位置決定部13に渡す。
デコーダ12は、デマルチプレクサ11から符号化されたピクチャを受け取る度に、その符号化されたピクチャを第1の符号化方式に応じた復号方法によって復号する(ステップS102)。そしてデコーダ12は、ピクチャを復号する度に、その復号されたピクチャをピクチャ廃棄部14に渡す。
FIG. 3 is an operation flowchart of transcoding processing executed by the transcoder 1. If each part of the transcoder 1 is a functional module realized by a computer program, the operation flow shown in FIG. 3 is controlled by a computer program that operates on a processor of the transcoder 1.
First, the demultiplexer 11 separates the multiplexed video signal input to the transcoder 1 into moving image data encoded according to the first encoding method and other data such as audio signals and captions. (Step S101). Then, the demultiplexer 11 passes the encoded moving image data to the decoder 12 in units of pictures. The demultiplexer 11 stores data other than the encoded moving image data in the buffer 16. Further, the demultiplexer 11 passes the encoding type of each picture included in the encoded moving image data, the data amount of each picture, and the quantization scale to the encoding start position determination unit 13.
Each time the decoder 12 receives the encoded picture from the demultiplexer 11, the decoder 12 decodes the encoded picture by a decoding method corresponding to the first encoding method (step S102). The decoder 12 delivers the decoded picture to the picture discarding unit 14 every time the picture is decoded.

また、エンコード開始位置決定部13は、符号化された動画像データの最初のGOPについて、再符号化される符号化先頭ピクチャの位置を変更しつつ、各位置に対する遅延時間を推定する(ステップS103)。そしてエンコード開始位置決定部13は、遅延時間が最小となる符号化先頭ピクチャの位置に対応するピクチャの廃棄枚数を決定する(ステップS104)。エンコード開始位置決定部13は、求めた廃棄枚数をピクチャ廃棄部14へ通知する。   In addition, the encoding start position determination unit 13 estimates the delay time for each position while changing the position of the encoded first picture to be re-encoded for the first GOP of the encoded moving image data (step S103). ). Then, the encoding start position determination unit 13 determines the number of discarded pictures corresponding to the position of the encoded leading picture that minimizes the delay time (step S104). The encoding start position determining unit 13 notifies the picture discarding unit 14 of the obtained discard number.

ピクチャ廃棄部14は、デコーダ12から順次受け取った、復号されたピクチャのうち、先頭のピクチャからエンコード開始位置決定部13により決定された廃棄枚数分のピクチャを廃棄する(ステップS105)。そしてピクチャ廃棄部14は、残りのピクチャをエンコーダ15に渡す。エンコーダ15は、ピクチャ廃棄部14から受け取った残りのピクチャの先頭ピクチャをIピクチャとして、各ピクチャを第2の符号化方式に従って符号化することで再符号化された動画像データを作成する(ステップS106)。エンコーダ15は、1枚のピクチャの符号化処理が終了する度に、その符号化されたピクチャをマルチプレクサ17に渡す。そしてマルチプレクサ17は、再符号化された動画像データと、オーディオ信号、字幕などの他のデータを多重化することで映像信号を作成し、その多重化された映像信号を出力する(ステップS107)。
なお、トランスコーダ1は、ステップS102とステップS103、S104の処理順序を入れ替えてもよい。あるいは、トランスコーダ1は、ステップS102の処理とステップS103、S104の処理を並列に実行してもよい。
The picture discarding unit 14 discards the number of pictures determined by the encoding start position determining unit 13 from the first picture among the decoded pictures sequentially received from the decoder 12 (step S105). Then, the picture discarding unit 14 passes the remaining pictures to the encoder 15. The encoder 15 uses the first picture of the remaining pictures received from the picture discarding unit 14 as an I picture, and encodes each picture according to the second encoding method to create re-encoded moving image data (step) S106). The encoder 15 passes the encoded picture to the multiplexer 17 every time encoding of one picture is completed. Then, the multiplexer 17 creates a video signal by multiplexing the re-encoded moving image data and other data such as an audio signal and subtitle, and outputs the multiplexed video signal (step S107). .
Note that the transcoder 1 may change the processing order of step S102 and steps S103 and S104. Alternatively, the transcoder 1 may execute the process of step S102 and the processes of steps S103 and S104 in parallel.

以上に説明してきたように、第1の実施形態によるトランスコーダは、入力された符号化動画像データに含まれる、トランスコードに要する時間が長いIピクチャを含む最初の所定枚数のピクチャを廃棄する。これにより、このトランスコーダは、データ伝送及び復号処理の時間が短いPピクチャまたはBピクチャをIピクチャとして再符号化できるため、トランスコードによる遅延時間を短縮することができる。   As described above, the transcoder according to the first embodiment discards the first predetermined number of pictures including I pictures included in the input encoded video data, which require a long time for transcoding. . As a result, this transcoder can re-encode a P picture or a B picture with a short data transmission and decoding time as an I picture, and therefore can reduce a delay time due to transcoding.

なお、ピクチャ廃棄部は、復号された動画像データに含まれる最初のGOPにおいて、Iピクチャを含む予め定められた所定枚数のピクチャを廃棄してもよい。この所定枚数は、例えば、1枚からGOPに含まれるピクチャ枚数の総計よりも1少ない枚数の範囲内の任意の枚数の設定される。この場合、エンコード開始位置決定部は省略されてもよい。   Note that the picture discarding unit may discard a predetermined number of pictures including an I picture in the first GOP included in the decoded moving image data. For example, the predetermined number is set to an arbitrary number within a range from one to one less than the total number of pictures included in the GOP. In this case, the encoding start position determination unit may be omitted.

次に、第2の実施形態に係るトランスコーダについて説明する。
このトランスコーダは、映像信号を受信したときの基準ピクチャの受信タイミングに基づいて、トランスコードされた基準ピクチャの送信タイミングを決定し、送信タイミング調整をマルチプレクサで実行する。そしてこのトランスコーダは、デコーダ、エンコーダなどの各部がピクチャを出力するタイミングを調節するために、一時的にデータをバッファしなくてもよくすることにより、冗長な待機時間を省くことで遅延時間の短縮を図る。
Next, a transcoder according to the second embodiment will be described.
This transcoder determines the transmission timing of the transcoded reference picture based on the reception timing of the reference picture when the video signal is received, and executes the transmission timing adjustment by the multiplexer. And this transcoder adjusts the timing at which each part such as a decoder and encoder outputs a picture, so that it is not necessary to temporarily buffer data, thereby reducing the delay time by eliminating redundant waiting time. Shorten.

図4は、第2の実施形態によるトランスコーダ2の概略構成図である。図2に示すように、トランスコーダ2は、デマルチプレクサ11と、デコーダ12と、エンコーダ15と、バッファ16と、マルチプレクサ17と、ピクチャタイミング検出部18とを有する。
第2の実施形態によるトランスコーダ2は、エンコード開始位置決定部13およびピクチャ廃棄部14の代わりに、ピクチャタイミング検出部18を有する点で、第1の実施形態によるトランスコーダ1と異なる。そのため、以下では、第1の実施形態によるトランスコーダ1と異なる点を主として説明する。なお、図4に示されるトランスコーダ2の各構成要素には、図1に示されたトランスコーダ1の対応する構成要素と同一の参照番号を付した。
またトランスコーダ2が有するこれらの各部は、例えば、それぞれ別個の回路とすることができる。またトランスコーダ2は、トランスコーダ2が有するこれらの各部の機能を有する回路が集積された集積回路であってもよい。あるいはまた、トランスコーダ2が有するこれらの各部は、トランスコーダ2が有する一つまたは複数のプロセッサ上で実行されるコンピュータプログラムにより実現される機能モジュールであってもよい。
FIG. 4 is a schematic configuration diagram of the transcoder 2 according to the second embodiment. As shown in FIG. 2, the transcoder 2 includes a demultiplexer 11, a decoder 12, an encoder 15, a buffer 16, a multiplexer 17, and a picture timing detection unit 18.
The transcoder 2 according to the second embodiment differs from the transcoder 1 according to the first embodiment in that it includes a picture timing detection unit 18 instead of the encoding start position determination unit 13 and the picture discard unit 14. Therefore, in the following, differences from the transcoder 1 according to the first embodiment will be mainly described. Note that the same reference numerals as those of the corresponding components of the transcoder 1 shown in FIG. 1 are assigned to the components of the transcoder 2 shown in FIG.
Each of these units included in the transcoder 2 can be a separate circuit, for example. The transcoder 2 may be an integrated circuit in which circuits having functions of these units included in the transcoder 2 are integrated. Alternatively, each unit included in the transcoder 2 may be a functional module realized by a computer program executed on one or a plurality of processors included in the transcoder 2.

デマルチプレクサ11は、トランスコーダ1にパケット単位で入力された多重化された映像信号を、第1の符号化方式に従って符号化された動画像データと、オーディオ信号、字幕などの他のデータに分離する。そしてデマルチプレクサ11は、符号化された動画像データをピクチャ単位でデコーダ12に渡す。またデマルチプレクサ11は、符号化された動画像データ以外のデータをバッファ16に保存する。
さらにデマルチプレクサ11は、入力された映像信号のパケットから、符号化された動画像データのピクチャが含まれるパケットのヘッダ情報をピクチャタイミング検出部18に通知する。このパケットは、例えば、MPEG-2のPacketized Elementary Stream(PES)パケットである。またデマルチプレクサ11は、各パケットの受信時刻をピクチャタイミング検出部18に通知する。
The demultiplexer 11 separates the multiplexed video signal input to the transcoder 1 in units of packets into moving image data encoded according to the first encoding method and other data such as audio signals and captions. To do. Then, the demultiplexer 11 passes the encoded moving image data to the decoder 12 in units of pictures. The demultiplexer 11 stores data other than the encoded moving image data in the buffer 16.
Further, the demultiplexer 11 notifies the picture timing detection unit 18 of header information of a packet including a picture of encoded moving image data from the input video signal packet. This packet is, for example, an MPEG-2 Packetized Elementary Stream (PES) packet. In addition, the demultiplexer 11 notifies the reception timing of each packet to the picture timing detection unit 18.

ピクチャタイミング検出部18は、デマルチプレクサ11から受け取ったパケットのヘッダ情報から、基準となるピクチャ、例えば、最初のGOPのIピクチャが含まれるパケットを検出する。そしてデマルチプレクサ11は、そのパケットに対して、基準ピクチャが含まれていることを示す識別情報を基準ピクチャ識別情報として抽出する。なお、この識別情報は、例えば、MPEG-2 TS/PSにおいて使用されるPresentation Time Stamp(PTS)とすることができる。   The picture timing detection unit 18 detects, from the packet header information received from the demultiplexer 11, a packet including a reference picture, for example, the first GOP I picture. Then, the demultiplexer 11 extracts the identification information indicating that the reference picture is included in the packet as the reference picture identification information. This identification information can be, for example, a Presentation Time Stamp (PTS) used in MPEG-2 TS / PS.

さらにピクチャタイミング検出部18は、トランスコードされた基準ピクチャが含まれるパケットをトランスコーダ2が送出するタイミングである送信タイミングを決定する。そこでピクチャタイミング検出部18は、基準となるピクチャを含むパケットがトランスコーダ2に入力されてから、トランスコードされた基準ピクチャを含むパケットが送出されるまでの遅延時間を表す遅延設定量を決定する。この遅延設定量は、例えば、トランスコーダ2の各部が基準ピクチャに対して一連の処理を実行するために必要とする演算量と、トランスコーダ2の処理能力に基づいて予め設定される。あるいは、この遅延設定量は、基準ピクチャを含むパケットがデマルチプレクサ11に入力されてから、その基準ピクチャについてマルチプレクサ17への伝送が終了するまでの所要時間の履歴に基づいて設定されてもよい。この場合、トランスコーダ2は、基準ピクチャが入力される度にその所要時間を計測し、その所要時間をトランスコーダ2が有するメモリ(図示せず)に記憶しておく。そしてピクチャタイミング検出部18は、例えば、記憶されている所要時間の最大値を遅延設定量とする。   Furthermore, the picture timing detection unit 18 determines a transmission timing that is a timing at which the transcoder 2 transmits a packet including the transcoded reference picture. Therefore, the picture timing detection unit 18 determines a delay setting amount indicating a delay time from when a packet including a reference picture is input to the transcoder 2 until a packet including a transcoded reference picture is transmitted. . This delay setting amount is set in advance based on, for example, the amount of calculation required for each unit of the transcoder 2 to execute a series of processing on the reference picture and the processing capability of the transcoder 2. Alternatively, the delay setting amount may be set based on a history of a required time from when a packet including a reference picture is input to the demultiplexer 11 until transmission of the reference picture to the multiplexer 17 is completed. In this case, the transcoder 2 measures the required time each time a reference picture is input, and stores the required time in a memory (not shown) included in the transcoder 2. For example, the picture timing detection unit 18 uses the maximum value of the stored required time as the delay setting amount.

ピクチャタイミング決定部18は、デマルチプレクサ11から通知された、各パケットの受信時刻から、基準ピクチャが含まれるパケットの受信時刻を特定する。そしてピクチャタイミング決定部18は、基準ピクチャが含まれるパケットの受信時刻に、遅延設定量を加算することにより、送信タイミングを決定する。
ピクチャタイミング検出部18は、基準ピクチャ識別情報及び基準ピクチャを含むパケットの送信タイミングをマルチプレクサ17へ通知する。
The picture timing determination unit 18 specifies the reception time of the packet including the reference picture from the reception time of each packet notified from the demultiplexer 11. Then, the picture timing determination unit 18 determines the transmission timing by adding the delay setting amount to the reception time of the packet including the reference picture.
The picture timing detection unit 18 notifies the multiplexer 17 of the transmission timing of the packet including the reference picture identification information and the reference picture.

デコーダ12は、第1の符号化方式(例えば、MPEG-2)に従って符号化された動画像データに含まれる各ピクチャを復号し、復号された各ピクチャをエンコーダ15に渡す。またエンコーダ15は、その復号された各ピクチャを第2の符号化方式(例えば、H.264 MPEG-4 AVC)に従って再符号化し、その再符号化された各ピクチャ、すなわち、トランスコードされた各ピクチャをマルチプレクサ17へ出力する。
またデマルチプレクサ11、デコーダ12及びエンコーダ15は、デマルチプレクサ11が受信したパケットのうち、基準ピクチャが含まれているパケットから抽出された基準ピクチャを示す識別情報を基準ピクチャとともに伝送する。デマルチプレクサ11から、デコーダ12及びエンコーダ15を経由してマルチプレクサ17へ伝送されるこの識別情報は、ピクチャタイミング検出部18により抽出される基準ピクチャ識別情報と同一である。そのため、マルチプレクサ17は、エンコーダ15から受け取った識別情報が基準ピクチャ識別情報と一致するか否かを調べることにより、基準ピクチャを受け取ったか否か判別できる。
The decoder 12 decodes each picture included in the moving image data encoded according to the first encoding method (for example, MPEG-2), and passes each decoded picture to the encoder 15. The encoder 15 re-encodes each decoded picture according to a second encoding scheme (for example, H.264 MPEG-4 AVC), and re-encodes each picture, that is, each transcoded picture. The picture is output to the multiplexer 17.
The demultiplexer 11, the decoder 12, and the encoder 15 transmit identification information indicating the reference picture extracted from the packet including the reference picture among the packets received by the demultiplexer 11 together with the reference picture. The identification information transmitted from the demultiplexer 11 to the multiplexer 17 via the decoder 12 and the encoder 15 is the same as the reference picture identification information extracted by the picture timing detection unit 18. Therefore, the multiplexer 17 can determine whether or not the reference picture has been received by checking whether or not the identification information received from the encoder 15 matches the reference picture identification information.

マルチプレクサ17は、エンコーダ15から受け取った符号化動画像データと、バッファ16から受け取ったオーディオ信号、字幕などのデータを多重化し、それらのデータが含まれるパケットを作成する。
またマルチプレクサ17は、エンコーダ15から再符号化されたピクチャとともに受け取った識別情報が、ピクチャタイミング検出部18から受け取った基準ピクチャ識別情報と一致するか否か判定する。そしてそれら二つの識別情報が一致する場合、マルチプレクサ17は、基準ピクチャを受け取ったと判定する。そしてマルチプレクサ17は、その基準ピクチャが格納されたパケットを、ピクチャタイミング検出部18から受け取った送信タイミングにおいて送出開始する。
なお、マルチプレクサ17は、基準ピクチャ以後の各ピクチャが含まれるパケットの送信タイミングを、基準ピクチャに対応するクロック(例えば、Program Clock Reference、PCR)を基準として決定する。そしてマルチプレクサ17は、各ピクチャが含まれるパケットの送信タイミングを、基準ピクチャに対応するクロックと、各ピクチャに対応するクロックとの差を基準ピクチャが含まれるパケットの送信タイミングに加算することにより決定する。
The multiplexer 17 multiplexes the encoded moving image data received from the encoder 15 and the data such as the audio signal and caption received from the buffer 16, and creates a packet including these data.
Further, the multiplexer 17 determines whether or not the identification information received together with the re-encoded picture from the encoder 15 matches the reference picture identification information received from the picture timing detection unit 18. If the two pieces of identification information match, the multiplexer 17 determines that the reference picture has been received. Then, the multiplexer 17 starts sending the packet storing the reference picture at the transmission timing received from the picture timing detection unit 18.
The multiplexer 17 determines the transmission timing of a packet including each picture after the reference picture with reference to a clock (for example, Program Clock Reference, PCR) corresponding to the reference picture. The multiplexer 17 determines the transmission timing of the packet including each picture by adding the difference between the clock corresponding to the reference picture and the clock corresponding to each picture to the transmission timing of the packet including the reference picture. .

図5は、トランスコーダ2により生じる遅延時間の概念図である。図5において、パケット群510は、トランスコーダ2に入力される映像信号が含まれるパケット群である。またパケット群520は、トランスコーダ2によりトランスコードされた動画像データが含まれ、トランスコーダ2により出力されるパケット群である。そしてパケット群510のうちのパケットA〜Dに基準ピクチャが含まれている。特にパケットAに、基準ピクチャに対応するPTSが含まれており、12時0分0秒丁度にパケットAがトランスコーダ2に入力されたとする。また遅延設定量は500m秒に設定される。
この場合、マルチプレクサ17は、エンコーダ15から再符号化されたピクチャとともに送られてきたPTSが、ピクチャタイミング決定部18から送られてきたPTSと一致すると、そのピクチャが基準ピクチャであると判定する。そしてマルチプレクサ17は、パケット群520のうちの基準ピクチャが含まれるパケットa〜cを、パケットaから順に、12時0分0秒に遅延設定量である500m秒を加えた時刻に送出開始する。
FIG. 5 is a conceptual diagram of a delay time generated by the transcoder 2. In FIG. 5, a packet group 510 is a packet group including a video signal input to the transcoder 2. The packet group 520 is a packet group that includes moving image data transcoded by the transcoder 2 and is output by the transcoder 2. The reference pictures are included in the packets A to D of the packet group 510. In particular, it is assumed that the packet A includes a PTS corresponding to the reference picture, and the packet A is input to the transcoder 2 at 12:00:00. The delay setting amount is set to 500 milliseconds.
In this case, when the PTS sent together with the re-encoded picture from the encoder 15 matches the PTS sent from the picture timing determination unit 18, the multiplexer 17 determines that the picture is the reference picture. Then, the multiplexer 17 starts transmitting packets a to c including the reference picture in the packet group 520 in order from the packet a at a time obtained by adding 500 msec as a delay setting amount to 12:00:00.

図6は、トランスコーダ2により実行されるトランスコード処理の動作フローチャートである。なお、トランスコーダ2の各部がコンピュータプログラムにより実現される機能モジュールである場合、図6に示す動作フローは、トランスコーダ2が有するプロセッサ上で動作するコンピュータプログラムにより制御される。   FIG. 6 is an operation flowchart of transcoding processing executed by the transcoder 2. When each part of the transcoder 2 is a functional module realized by a computer program, the operation flow shown in FIG. 6 is controlled by a computer program that operates on a processor included in the transcoder 2.

先ず、デマルチプレクサ11は、パケット単位で入力された多重化された映像信号を、第1の符号化方式に従って符号化された動画像データと、オーディオ信号、字幕などの他のデータに分離する(ステップS201)。そしてデマルチプレクサ11は、符号化された動画像データをピクチャ単位でデコーダ12に渡す。その際、デマルチプレクサ11は、パケットのヘッダ情報から基準ピクチャに対する識別情報を検出し、その識別情報を基準ピクチャとともにデコーダ12に渡す。またデマルチプレクサ11は、符号化された動画像データ以外のデータをバッファ16に保存する。さらにデマルチプレクサ11は、符号化された動画像データのピクチャが含まれるパケットのヘッダ情報をピクチャタイミング検出部18に通知する。
ピクチャタイミング検出部18は、パケットのヘッダ情報から基準ピクチャ識別情報を検出し、かつ基準ピクチャが含まれるパケットの受信時刻に所定の遅延時間を加算することにより、送信タイミングを決定する(ステップS202)。そしてピクチャタイミング検出部18は、基準ピクチャ識別情報及び送信タイミングをマルチプレクサ17に通知する。
First, the demultiplexer 11 separates the multiplexed video signal input in units of packets into moving image data encoded according to the first encoding method and other data such as audio signals and subtitles ( Step S201). Then, the demultiplexer 11 passes the encoded moving image data to the decoder 12 in units of pictures. At that time, the demultiplexer 11 detects identification information for the reference picture from the header information of the packet, and passes the identification information to the decoder 12 together with the reference picture. The demultiplexer 11 stores data other than the encoded moving image data in the buffer 16. Further, the demultiplexer 11 notifies the picture timing detection unit 18 of header information of a packet including a picture of encoded moving image data.
The picture timing detection unit 18 determines the transmission timing by detecting the reference picture identification information from the header information of the packet and adding a predetermined delay time to the reception time of the packet including the reference picture (step S202). . Then, the picture timing detection unit 18 notifies the multiplexer 17 of the reference picture identification information and transmission timing.

デコーダ12は、デマルチプレクサ11から符号化されたピクチャを受け取る度に、各ピクチャを第1の符号化方式に応じた復号方法により復号する(ステップS203)。そしてデコーダ12は、復号された各ピクチャをエンコーダ15に渡す。その際、デコーダ12は、基準ピクチャに対する識別情報を復号された基準ピクチャとともにエンコーダ15に渡す。エンコーダ15は、復号された各ピクチャを第2の符号化方式に従って符号化する(ステップS204)。そしてエンコーダ15は、再符号化された各ピクチャをマルチプレクサ17に渡す。その際、エンコーダ15は、基準ピクチャに対する識別情報を再符号化された基準ピクチャとともにマルチプレクサ17に渡す。   Each time the decoder 12 receives the encoded picture from the demultiplexer 11, the decoder 12 decodes each picture by a decoding method according to the first encoding method (step S203). Then, the decoder 12 passes each decoded picture to the encoder 15. At that time, the decoder 12 passes the identification information for the reference picture to the encoder 15 together with the decoded reference picture. The encoder 15 encodes each decoded picture according to the second encoding method (step S204). Then, the encoder 15 passes each re-encoded picture to the multiplexer 17. At that time, the encoder 15 passes the identification information for the reference picture to the multiplexer 17 together with the re-encoded reference picture.

マルチプレクサ17は、再符号化された動画像データの各ピクチャと、オーディオ信号、字幕などの他のデータを多重化してパケット作成する(ステップS205)。またマルチプレクサ17は、基準ピクチャ識別情報と一致する識別情報をエンコーダ15から受信したか否か判定する(ステップS206)。基準ピクチャ識別情報と一致する識別情報をエンコーダ15から受信していない場合(ステップS206−No)、マルチプレクサ17は、ステップS206の処理を繰り返す。一方、基準ピクチャ識別情報と一致する識別情報をエンコーダ15から受信した場合(ステップS206−Yes)、マルチプレクサ17は、その識別情報とともに受信したピクチャを基準ピクチャと判定することにより、基準ピクチャが含まれるパケットを特定する(ステップS207)。   The multiplexer 17 multiplexes each picture of the re-encoded moving image data with other data such as an audio signal and subtitles to create a packet (step S205). Further, the multiplexer 17 determines whether or not identification information that matches the reference picture identification information has been received from the encoder 15 (step S206). If identification information that matches the reference picture identification information has not been received from the encoder 15 (step S206—No), the multiplexer 17 repeats the process of step S206. On the other hand, when the identification information matching the reference picture identification information is received from the encoder 15 (step S206—Yes), the multiplexer 17 determines that the picture received together with the identification information is the reference picture, thereby including the reference picture. A packet is specified (step S207).

次に、マルチプレクサ17は、現在時刻が送信タイミングになったか否か判定する(ステップS208)。現在時刻が送信タイミングになっていない場合(ステップS208−No)、マルチプレクサ17は、ステップS208の処理を繰り返す。一方、現在時刻が送信タイミングになった場合(ステップS208−Yes)、マルチプレクサ17は、再符号化された基準ピクチャが含まれるパケットから送信開始する(ステップS209)。   Next, the multiplexer 17 determines whether or not the current time has reached the transmission timing (step S208). When the current time is not the transmission timing (No at Step S208), the multiplexer 17 repeats the process at Step S208. On the other hand, when the current time is the transmission timing (step S208—Yes), the multiplexer 17 starts transmission from the packet including the re-encoded reference picture (step S209).

以上に説明してきたように、第2の実施形態によるトランスコーダは、映像信号を受信したときの基準ピクチャの受信タイミングに基づいて、トランスコードされた基準ピクチャの送信タイミングを決定する。そしてこのトランスコーダは、その送信タイミング調整をマルチプレクサで実行する。そのため、このトランスコーダは、デコーダ、エンコーダなどの各部がピクチャを出力するタイミングを調節するために、一時的にデータをバッファしなくてもよいため、冗長な待機時間を省くことができる。したがって、このトランスコーダは、トランスコードによる遅延時間を短縮することができる。   As described above, the transcoder according to the second embodiment determines the transmission timing of the transcoded reference picture based on the reception timing of the reference picture when the video signal is received. The transcoder executes the transmission timing adjustment by a multiplexer. Therefore, this transcoder does not need to temporarily buffer data in order to adjust the timing at which each unit such as a decoder and encoder outputs a picture, so that redundant waiting time can be saved. Therefore, this transcoder can reduce the delay time due to transcoding.

次に、第3の実施形態によるトランスコーダについて説明する。このトランスコーダは、第1の実施形態によるトランスコーダの機能と第2の実施形態によるトランスコーダの機能を組み合わせることにより、さらなる遅延時間の短縮を図るものである。   Next, a transcoder according to the third embodiment will be described. This transcoder is intended to further reduce the delay time by combining the function of the transcoder according to the first embodiment and the function of the transcoder according to the second embodiment.

図7は、第3の実施形態によるトランスコーダ3の概略構成図である。図7に示すように、トランスコーダ3は、デマルチプレクサ11と、デコーダ12と、エンコード開始位置決定部13と、ピクチャ廃棄部14と、エンコーダ15と、バッファ16と、マルチプレクサ17と、ピクチャタイミング検出部18とを有する。なお、図7に示されるトランスコーダ3の各構成要素には、図1に示されたトランスコーダ1及び図4に示されたトランスコーダ2の対応する構成要素と同一の参照番号を付した。   FIG. 7 is a schematic configuration diagram of the transcoder 3 according to the third embodiment. As shown in FIG. 7, the transcoder 3 includes a demultiplexer 11, a decoder 12, an encoding start position determination unit 13, a picture discard unit 14, an encoder 15, a buffer 16, a multiplexer 17, and a picture timing detection. Part 18. 7 are denoted by the same reference numerals as the corresponding components of the transcoder 1 shown in FIG. 1 and the transcoder 2 shown in FIG.

第3の実施形態によるトランスコーダ3は、第1の実施形態によるトランスコーダ1の各部と、第2の実施形態によるトランスコーダ2の各部を併せ持つ。そしてエンコーダ3の各部は、トランスコーダ1の対応する各部及びトランスコーダ2の対応する各部と同様の機能を有する。
ただし、デマルチプレクサ11は、元の動画像データに含まれる最初のIピクチャだけでなく、最初のGOPの各ピクチャとともに、それぞれのピクチャが含まれるパケットを示す識別情報をデコーダ12に伝送する。ピクチャタイミング検出部18は、エンコード開始位置決定部13により決定された、再符号化される符号化先頭ピクチャを基準ピクチャとする。そしてピクチャタイミング検出部18は、その基準ピクチャに対応する基準ピクチャ識別情報及び送信タイミングを決定する。またピクチャタイミング検出部18は、送信タイミングの決定に用いる遅延設定量を、第2の実施形態によるトランスコーダ2が使用する遅延設定量よりも短く設定できる。これは、第1の実施形態について説明したように、最初の所定枚数のピクチャが廃棄されることで、トランスコード処理による遅延時間が短縮されるためである。
そのため、第3の実施形態によるトランスコーダは、第1の実施形態及び第2の実施形態によるトランスコーダよりも、トランスコード処理による遅延時間を短縮することができる。
なお、トランスコーダ3においても、ピクチャ廃棄部14が、元の動画像データに含まれる最初のGOPのIピクチャを含む、予め定められた所定枚数のピクチャを廃棄する場合、エンコード開始位置決定部13は省略されてもよい。この場合、ピクチャタイミング検出部18は、その廃棄される所定枚数のピクチャの次のピクチャを基準ピクチャとする。
The transcoder 3 according to the third embodiment has both the parts of the transcoder 1 according to the first embodiment and the parts of the transcoder 2 according to the second embodiment. Each part of the encoder 3 has the same function as each corresponding part of the transcoder 1 and each corresponding part of the transcoder 2.
However, the demultiplexer 11 transmits not only the first I picture included in the original moving image data but also identification information indicating a packet including each picture to the decoder 12 together with each picture of the first GOP. The picture timing detection unit 18 uses the encoded first picture to be re-encoded determined by the encoding start position determination unit 13 as a reference picture. Then, the picture timing detection unit 18 determines reference picture identification information and transmission timing corresponding to the reference picture. The picture timing detection unit 18 can set the delay setting amount used for determining the transmission timing to be shorter than the delay setting amount used by the transcoder 2 according to the second embodiment. This is because the delay time due to the transcoding process is shortened by discarding the first predetermined number of pictures as described in the first embodiment.
Therefore, the transcoder according to the third embodiment can reduce the delay time due to the transcoding process, compared to the transcoder according to the first and second embodiments.
Also in the transcoder 3, when the picture discarding unit 14 discards a predetermined number of pictures including the first GOP I picture included in the original moving image data, the encoding start position determining unit 13 May be omitted. In this case, the picture timing detection unit 18 sets the next picture after the predetermined number of discarded pictures as a reference picture.

なお、上記の各実施形態において、第1の符号化方式は、MPEG-2に限られず、他の符号化方式であってもよい。例えば、第1の符号化方式は、Digital Video(DV)方式であってもよい。また、第2の符号化方式も、H.264 MPEG-4 AVCに限られず、他の符号化方式であってもよい。例えば、第2の符号化方式は、MPEG-4であってもよい。
また、第1の符号化方式と第2の符号化方式は同一であってもよい。ただしこの場合には、トランスコーダが有するエンコーダは、第1の符号化方式により符号化された元の動画像データのGOP構成よりも圧縮効率の高いGOP構成の動画像データに変換することが好ましい。例えば、元の動画像データのGOP構成が、Bピクチャを含まない、いわゆるIPPP構成である場合、エンコーダは、動画像データのGOP構成を、Bピクチャを含む、例えば、IBBP構成に変換する。
In each of the above embodiments, the first encoding method is not limited to MPEG-2, and may be another encoding method. For example, the first encoding method may be a Digital Video (DV) method. Also, the second encoding method is not limited to H.264 MPEG-4 AVC, and may be another encoding method. For example, the second encoding method may be MPEG-4.
Further, the first encoding method and the second encoding method may be the same. However, in this case, it is preferable that the encoder included in the transcoder converts the moving image data to the GOP configuration with higher compression efficiency than the GOP configuration of the original moving image data encoded by the first encoding method. . For example, when the GOP configuration of the original moving image data is a so-called IPPP configuration that does not include a B picture, the encoder converts the GOP configuration of the moving image data into, for example, an IBBP configuration that includes a B picture.

図8は、上記の各実施形態の何れかのトランスコードを含む、映像再送信システムの概略構成図である。図8に示すように、映像再送信システム100は、アンテナ101と、チューナー装置102と、動画像伝送装置103と、TS−IP変換装置104とを有する。
映像再送信システム100は、アンテナ101を介して、放送電波により搬送された映像信号を受信する。そしてその映像信号は、アンテナ101と接続されたチューナー装置102に伝送される。
チューナー装置102は、受け取った映像信号をアナログ−デジタル変換する。そしてチューナー装置102は、デジタル化された映像信号を放送電波の変調方式に応じた復調方式(例えば、直交周波数分割多重(Orthogonal Frequency Division Multiplexing、OFDM)復調方式)にて復調する。チューナー装置102は、その復調された映像信号に対して、前方誤り訂正などの誤り訂正処理を実行する。そしてチューナー装置102は、復調され、かつ誤り訂正処理が施されることにより得られたMPEG-2 TSパケットなどのようにパケット化された映像信号を動画像伝送装置103に出力する。
FIG. 8 is a schematic configuration diagram of a video retransmission system including the transcode of any of the above embodiments. As illustrated in FIG. 8, the video retransmission system 100 includes an antenna 101, a tuner device 102, a moving image transmission device 103, and a TS-IP conversion device 104.
The video re-transmission system 100 receives a video signal carried by broadcast radio waves via an antenna 101. The video signal is transmitted to a tuner device 102 connected to the antenna 101.
The tuner device 102 performs analog-digital conversion on the received video signal. The tuner device 102 demodulates the digitized video signal by a demodulation method (for example, Orthogonal Frequency Division Multiplexing (OFDM) demodulation method) according to the modulation method of the broadcast radio wave. The tuner device 102 performs error correction processing such as forward error correction on the demodulated video signal. Then, the tuner device 102 outputs a video signal that is packetized like an MPEG-2 TS packet obtained by being demodulated and subjected to error correction processing to the moving image transmission device 103.

動画像伝送装置103は、チューナー装置102から受け取った、パケット化された映像信号をトランスコードする。
図9は、動画像伝送装置103の概略構成図である。図9に示すように、動画像伝送装置103は、受信部41と、リアルタイムトランスコーダ42と、暗号化部43と、送信部44とを有する。
The moving image transmission apparatus 103 transcodes the packetized video signal received from the tuner apparatus 102.
FIG. 9 is a schematic configuration diagram of the moving image transmission apparatus 103. As illustrated in FIG. 9, the moving image transmission apparatus 103 includes a reception unit 41, a real-time transcoder 42, an encryption unit 43, and a transmission unit 44.

受信部41は、チューナー装置102と動画像伝送装置103とを接続するための通信インターフェースを有する。そして受信部41は、チューナー装置102からパケット化された映像信号を受信し、その映像信号をリアルタイムトランスコーダ42に渡す。   The receiving unit 41 has a communication interface for connecting the tuner device 102 and the moving image transmission device 103. The reception unit 41 receives the packetized video signal from the tuner device 102 and passes the video signal to the real-time transcoder 42.

リアルタイムトランスコーダ42は、受信部41を介して受け取った映像信号に含まれる、第1の符号化方式による符号化された動画像データを第2の符号化方式に従った符号化動画像データに変換する。そしてリアルタイムトランスコーダ42は、第2の符号化方式で符号化された動画像データを、再度MPEG-2 TSパケットなど、動画像伝送用の規格に従ったパケットに含める。そのために、リアルタイムトランスコーダ42は、上記の各実施形態のトランスコーダの何れかとすることができる。   The real-time transcoder 42 converts the moving image data encoded by the first encoding method included in the video signal received via the receiving unit 41 into encoded moving image data according to the second encoding method. Convert. Then, the real-time transcoder 42 includes the moving image data encoded by the second encoding method again in a packet conforming to a moving image transmission standard such as an MPEG-2 TS packet. Therefore, the real-time transcoder 42 can be any of the transcoders of the above-described embodiments.

暗号化部43は、リアルタイムトランスコーダ42から受け取った映像信号を暗号化する。暗号化部43は、映像信号を暗号化するために、例えば、Advanced Encryption Standard(AES)、Camelliaなどの共通鍵暗号方式、あるいはRSA暗号などの公開鍵暗号方式を用いることができる。   The encryption unit 43 encrypts the video signal received from the real time transcoder 42. The encryption unit 43 can use, for example, a common key encryption method such as Advanced Encryption Standard (AES) or Camellia or a public key encryption method such as RSA encryption in order to encrypt the video signal.

送信部44は、TS−IP変換装置104と動画像伝送装置103を接続する通信インターフェースを有する。そして送信部44は、暗号化部43により暗号化された映像信号をTS−IP変換装置104へ出力する。   The transmission unit 44 has a communication interface that connects the TS-IP conversion device 104 and the moving image transmission device 103. Then, the transmission unit 44 outputs the video signal encrypted by the encryption unit 43 to the TS-IP conversion device 104.

TS−IP変換装置104は、動画像伝送装置103から受け取った映像信号を、インターネットプロトコル(Internet Protocol、IP)に従ったIPパケットに分割する。そしてTS−IP変換装置104は、そのIPパケットを、インターネットプロトコルに従ってデータ通信するコンテンツ配信網(Contents Delivery Network、CDN)105を介して、各映像再生機106へ送信する。
なお、動画像伝送装置103とTS−IP変換装置104の接続順序は入れ替わってもよい。この場合、動画像伝送装置103は、IPパケット化された映像信号を受信することになるので、リアルタイムトランスコーダ42のデマルチプレクサは、そのIPパケットから動画像伝送用の規格に従ってパケット化された映像信号を取り出す。また送信部44は、暗号化部43から出力された、動画像伝送用の規格に従ってパケット化された映像信号をIPパケット化して出力する。
The TS-IP conversion device 104 divides the video signal received from the moving image transmission device 103 into IP packets according to the Internet Protocol (IP). The TS-IP conversion device 104 transmits the IP packet to each video player 106 via a content delivery network (CDN) 105 that performs data communication according to the Internet protocol.
Note that the connection order of the moving image transmission apparatus 103 and the TS-IP conversion apparatus 104 may be switched. In this case, since the moving image transmission apparatus 103 receives the IP packetized video signal, the demultiplexer of the real-time transcoder 42 uses the IP packet packetized video according to the moving image transmission standard. Retrieve the signal. The transmission unit 44 converts the packetized video signal output from the encryption unit 43 according to the moving image transmission standard into an IP packet and outputs the IP packet.

この映像再送信システムは、上記の実施形態の何れかのトランスコーダを用いて映像信号に含まれる動画像データをトランスコードしているため、動画像伝送装置におけるトランスコードにより発生する遅延時間を低減できる。そのため、この映像再送信システムは、放送電波により直接される映像信号に対する、再送信された映像信号の遅延を抑制することができる。   Since this video re-transmission system uses the transcoder of any of the above embodiments to transcode moving image data included in a video signal, the delay time generated by transcoding in the moving image transmission apparatus is reduced. it can. Therefore, this video re-transmission system can suppress the delay of the re-transmitted video signal with respect to the video signal directly transmitted by the broadcast radio wave.

ここに挙げられた全ての例及び特定の用語は、読者が、本発明及び当該技術の促進に対する本発明者により寄与された概念を理解することを助ける、教示的な目的において意図されたものであり、本発明の優位性及び劣等性を示すことに関する、本明細書の如何なる例の構成、そのような特定の挙げられた例及び条件に限定しないように解釈されるべきものである。本発明の実施形態は詳細に説明されているが、本発明の精神及び範囲から外れることなく、様々な変更、置換及び修正をこれに加えることが可能であることを理解されたい。   All examples and specific terms listed herein are intended for instructional purposes to help the reader understand the concepts contributed by the inventor to the present invention and the promotion of the technology. It should be construed that it is not limited to the construction of any example herein, such specific examples and conditions, with respect to showing the superiority and inferiority of the present invention. Although embodiments of the present invention have been described in detail, it should be understood that various changes, substitutions and modifications can be made thereto without departing from the spirit and scope of the present invention.

以上説明した実施形態及びその変形例に関し、更に以下の付記を開示する。
(付記1)
第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号するデコーダと、
前記復号された各ピクチャのうち、前記第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄するピクチャ廃棄部と、
前記廃棄部により廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従って当該残りのピクチャを再符号化するエンコーダと、
を有するトランスコーダ。
(付記2)
前記先頭ピクチャの位置を変更しつつ、それぞれの先頭ピクチャの位置に対する、当該先頭ピクチャが前記デコーダへ伝送開始されてから、前記エンコーダが当該符号化された先頭ピクチャを出力終了するまでの所要時間である遅延時間を推定し、該推定された遅延時間が最小となる先頭ピクチャの位置と前記第1のピクチャの位置との差に対応するピクチャの枚数を、前記廃棄するピクチャの枚数として算出し、該枚数を前記ピクチャ廃棄部に通知するエンコード開始位置決定部をさらに有する、付記1に記載のトランスコーダ。
(付記3)
前記エンコード開始位置決定部は、前記第1の符号化方式に応じた復号順序に従って前記第1のピクチャが前記デコーダへ伝送開始されてから前記先頭ピクチャが前記デコーダへ伝送開始されるまでの復号開始待機期間と、前記第1のピクチャが前記デコーダへ伝送開始されてから前記エンコーダが再符号化された前記先頭ピクチャを出力終了するまでの再符号化処理期間とを推定し、該再符号化処理期間と前記復号開始待機期間の差を前記遅延時間とする、付記2に記載のトランスコーダ。
(付記4)
前記エンコード開始位置決定部は、前記第1の符号化方式により符号化された前記第1のピクチャから前記先頭ピクチャまでの各ピクチャのデータ量及びピクチャの符号化方法の種別と、ピクチャのデータ伝送、前記デコーダによる復号処理に要する時間及び前記エンコーダによる符号化処理に要する時間の関係を示すテーブルを参照することにより、前記復号開始待機期間及び前記再符号化処理期間を算出する、付記3に記載のトランスコーダ。
(付記5)
映像信号をパケット単位で受信し、該映像信号から第1の符号化方式により符号化された動画像データを抽出し、該動画像データに含まれる各ピクチャ及び該各ピクチャのうちの他のピクチャの符号化の基準となる基準ピクチャに対応する第1の識別情報を出力するデマルチプレクサと、
前記基準ピクチャが含まれる第1のパケットを受信した時刻に所定の遅延時間を加算することにより、前記基準ピクチャが送信されるタイミングを表す送信タイミングを決定し、かつ前記第1のパケットから前記基準ピクチャを識別する第2の識別情報を抽出するピクチャタイミング決定部と、
第1の符号化方式に応じて前記符号化された各ピクチャを復号し、該復号されたピクチャのそれぞれを出力し、かつ復号された前記基準ピクチャに関連付けて前記デマルチプレクサから受け取った前記第1の識別情報を出力するデコーダと、
前記復号された各ピクチャを、第2の符号化方式に従って再符号化し、該再符号化されたピクチャのそれぞれを出力し、かつ再符号化された前記基準ピクチャに関連付けて前記デコーダから受け取った前記第1の識別情報を出力するエンコーダと、
前記再符号化された各ピクチャをパケット化するとともに、前記ピクチャタイミング決定部から受け取った前記第2の識別情報と一致する前記エンコーダから受け取った前記第1の識別情報に関連付けられた基準ピクチャを含むパケットを前記送信時刻に送信開始するマルチプレクサと、
を有するトランスコーダ。
(付記6)
映像信号をパケット単位で受信し、該映像信号から第1の符号化方式により符号化された動画像データを抽出し、該動画像データに含まれる各ピクチャ及び各ピクチャを識別する第1の識別情報をそれぞれ出力するデマルチプレクサと、
第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号し、該復号されたピクチャのそれぞれを出力し、かつ復号された前記ピクチャのそれぞれに対応する前記デマルチプレクサから受け取った前記第1の識別情報を出力するデコーダと、
前記復号された各ピクチャのうち、前記第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄するピクチャ廃棄部と、
前記廃棄部により廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となる基準ピクチャとして、第2の符号化方式に従って当該残りのピクチャを再符号化し、該再符号化されたピクチャのそれぞれを出力し、かつ再符号化された前記ピクチャのそれぞれに対応する前記デコーダから受け取った前記第1の識別情報を出力するするエンコーダと、
前記基準ピクチャが含まれる第1のパケットを受信した時刻に所定の遅延時間を加算することにより、前記基準ピクチャが送信されるタイミングを表す送信タイミングを決定し、かつ前記第1のパケットから前記基準ピクチャを識別する第2の識別情報を抽出するピクチャタイミング決定部と、
前記エンコーダから受け取った前記再符号化された各ピクチャをパケット化するとともに、前記ピクチャタイミング決定部から受け取った前記第2の識別情報と前記第1の識別情報が一致する場合、当該第1の識別情報に対応する基準ピクチャを含むパケットを前記送信時刻に送信開始するマルチプレクサと、
を有するトランスコーダ。
(付記7)
映像信号をパケット単位で受信する受信部と、
前記映像信号から第1の符号化方式により符号化された第1の動画像データと、他のデータを分離するマルチプレクサと、
前記第1の動画像データに含まれる各ピクチャを復号するデコーダと、
前記復号された各ピクチャのうち、前記第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄するピクチャ廃棄部と、
前記廃棄部により廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従って当該残りのピクチャを再符号化するエンコーダと、
前記他のデータと前記第2の符号化方式に従って再符号化された各ピクチャを含む動画像データを多重化することによりパケットを作成するマルチプレクサと、
前記パケットを暗号化する暗号化部と、
暗号化された前記パケットを出力する送信部と、
を有する動画像伝送装置。
(付記8)
第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号し、
前記復号された各ピクチャのうち、前記第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄し、
前記復号された各ピクチャのうち、廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従って当該残りのピクチャを再符号化する、
ことを含むトランスコーディング方法。
(付記9)
第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号し、
前記復号された各ピクチャのうち、前記第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄し、
前記復号された各ピクチャのうち、廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従って当該残りのピクチャを再符号化する、
ことをコンピュータに実行させるトランスコーディング用コンピュータプログラム。
The following supplementary notes are further disclosed regarding the embodiment described above and its modifications.
(Appendix 1)
A decoder that decodes each picture included in the first moving image data encoded according to the first encoding method;
A picture discarding unit for discarding a predetermined number of pictures including a first picture that is a reference for encoding other pictures in the first moving image data among the decoded pictures;
An encoder that re-encodes the remaining picture according to the second encoding method, with the first picture of the remaining pictures not discarded by the discarding unit as a picture that is a reference for encoding other pictures; ,
Transcoder with.
(Appendix 2)
While changing the position of the first picture, the time required from the start of transmission of the first picture to the decoder for the position of each first picture until the end of output of the encoded first picture by the encoder. Estimating a certain delay time, and calculating the number of pictures corresponding to the difference between the position of the first picture and the position of the first picture that minimizes the estimated delay time as the number of pictures to be discarded, The transcoder according to appendix 1, further comprising an encoding start position determining unit that notifies the picture discarding unit of the number of sheets.
(Appendix 3)
The encoding start position determining unit starts decoding until the first picture starts to be transmitted to the decoder after the first picture starts to be transmitted to the decoder according to a decoding order according to the first encoding method. Estimating a waiting period and a re-encoding process period from the start of transmission of the first picture to the decoder until the encoder finishes outputting the re-encoded leading picture, and the re-encoding process The transcoder according to appendix 2, wherein a difference between a period and the decoding start waiting period is the delay time.
(Appendix 4)
The encoding start position determination unit includes a data amount of each picture from the first picture encoded by the first encoding method to a first picture, a type of picture encoding method, and data transmission of the picture The calculation start waiting period and the re-encoding process period are calculated by referring to a table indicating a relationship between a time required for the decoding process by the decoder and a time required for the encoding process by the encoder, Transcoder.
(Appendix 5)
A video signal is received in packet units, moving image data encoded by the first encoding method is extracted from the video signal, and each picture included in the moving image data and other pictures of the pictures A demultiplexer that outputs first identification information corresponding to a reference picture that is a reference for encoding
A transmission timing representing a timing at which the reference picture is transmitted is determined by adding a predetermined delay time to the time when the first packet including the reference picture is received, and the reference packet is determined from the first packet. A picture timing determination unit for extracting second identification information for identifying a picture;
Decoding each encoded picture according to a first encoding scheme, outputting each of the decoded pictures, and receiving the first picture received from the demultiplexer in association with the decoded reference picture A decoder that outputs the identification information of
Re-encoding each decoded picture according to a second encoding scheme, outputting each of the re-encoded pictures, and receiving from the decoder in association with the re-encoded reference picture An encoder that outputs first identification information;
Packetizing each re-encoded picture and including a reference picture associated with the first identification information received from the encoder that matches the second identification information received from the picture timing determination unit A multiplexer that starts transmitting a packet at the transmission time;
Transcoder with.
(Appendix 6)
First identification for receiving a video signal in packet units, extracting moving image data encoded by the first encoding method from the video signal, and identifying each picture and each picture included in the moving image data A demultiplexer that outputs information respectively;
Each picture included in the first moving image data encoded according to the first encoding method is decoded, each of the decoded pictures is output, and each of the decoded pictures corresponding to each of the decoded pictures is output. A decoder for outputting the first identification information received from the multiplexer;
A picture discarding unit for discarding a predetermined number of pictures including a first picture that is a reference for encoding other pictures in the first moving image data among the decoded pictures;
The first picture of the remaining pictures not discarded by the discarding unit is used as a reference picture serving as a reference for encoding other pictures, and the remaining pictures are re-encoded according to the second encoding method, An encoder that outputs each of the re-encoded pictures and outputs the first identification information received from the decoder corresponding to each of the re-encoded pictures;
A transmission timing representing a timing at which the reference picture is transmitted is determined by adding a predetermined delay time to the time when the first packet including the reference picture is received, and the reference packet is determined from the first packet. A picture timing determination unit for extracting second identification information for identifying a picture;
When each of the re-encoded pictures received from the encoder is packetized and the second identification information received from the picture timing determination unit matches the first identification information, the first identification A multiplexer that starts transmitting a packet including a reference picture corresponding to information at the transmission time;
Transcoder with.
(Appendix 7)
A receiver for receiving video signals in units of packets;
A first moving image data encoded by the first encoding method from the video signal, and a multiplexer for separating other data;
A decoder for decoding each picture included in the first moving image data;
A picture discarding unit for discarding a predetermined number of pictures including a first picture that is a reference for encoding other pictures in the first moving image data among the decoded pictures;
An encoder that re-encodes the remaining picture according to the second encoding method, with the first picture of the remaining pictures not discarded by the discarding unit as a picture that is a reference for encoding other pictures; ,
A multiplexer that creates packets by multiplexing the other data and moving image data including each picture re-encoded according to the second encoding scheme;
An encryption unit for encrypting the packet;
A transmission unit for outputting the encrypted packet;
A moving image transmission apparatus.
(Appendix 8)
Decoding each picture included in the first moving image data encoded according to the first encoding method;
Among the decoded pictures, discard a predetermined number of pictures including a first picture that is a reference for encoding other pictures in the first moving image data,
Among the decoded pictures, the first picture of the remaining pictures that have not been discarded is used as a reference picture for coding other pictures, and the remaining pictures are re-executed according to the second coding scheme. Encoding,
A transcoding method.
(Appendix 9)
Decoding each picture included in the first moving image data encoded according to the first encoding method;
Among the decoded pictures, discard a predetermined number of pictures including a first picture that is a reference for encoding other pictures in the first moving image data,
Among the decoded pictures, the first picture of the remaining pictures that have not been discarded is used as a reference picture for coding other pictures, and the remaining pictures are re-executed according to the second coding scheme. Encoding,
A computer program for transcoding that causes a computer to execute this.

1、2、3 トランスコーダ
11 デマルチプレクサ
12 デコーダ
13 エンコード開始位置決定部
14 ピクチャ廃棄部
15 エンコーダ
16 バッファ
17 マルチプレクサ
18 ピクチャタイミング検出部
100 映像再送信システム
101 アンテナ
102 チューナー装置
103 動画像伝送装置
104 TS−IP変換装置
41 受信部
42 リアルタイムトランスコーダ
43 暗号化部
44 送信部
1, 2, 3 Transcoder 11 Demultiplexer 12 Decoder 13 Encoding start position determining unit 14 Picture discarding unit 15 Encoder 16 Buffer 17 Multiplexer 18 Picture timing detecting unit 100 Video retransmission system 101 Antenna 102 Tuner device 103 Video transmission device 104 TS -IP converter 41 Receiver 42 Real-time transcoder 43 Encryptor 44 Transmitter

Claims (7)

第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号するデコーダと、
前記復号された各ピクチャのうち、前記第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄するピクチャ廃棄部と、
前記廃棄部により廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従って当該残りのピクチャを再符号化するエンコーダと、
を有するトランスコーダ。
A decoder that decodes each picture included in the first moving image data encoded according to the first encoding method;
A picture discarding unit for discarding a predetermined number of pictures including a first picture that is a reference for encoding other pictures in the first moving image data among the decoded pictures;
An encoder that re-encodes the remaining picture according to the second encoding method, with the first picture of the remaining pictures not discarded by the discarding unit as a picture that is a reference for encoding other pictures; ,
Transcoder with.
前記先頭ピクチャの位置を変更しつつ、それぞれの先頭ピクチャの位置に対する、当該先頭ピクチャが前記デコーダへ伝送開始されてから、前記エンコーダが該符号化された先頭ピクチャを出力終了するまでの所要時間である遅延時間を推定し、当該推定された遅延時間が最小となる先頭ピクチャの位置と前記第1のピクチャの位置との差に対応するピクチャの枚数を、前記廃棄するピクチャの枚数として算出し、該枚数を前記ピクチャ廃棄部に通知するエンコード開始位置決定部をさらに有する、請求項1に記載のトランスコーダ。   While changing the position of the head picture, the time required from the start of transmission of the head picture to the decoder for the position of each head picture until the encoder finishes outputting the encoded head picture. Estimating a certain delay time, calculating the number of pictures corresponding to the difference between the position of the first picture and the position of the first picture that minimizes the estimated delay time as the number of pictures to be discarded, The transcoder according to claim 1, further comprising an encoding start position determination unit that notifies the picture discarding unit of the number of sheets. 前記エンコード開始位置決定部は、前記第1の符号化方式に応じた復号順序に従って前記第1のピクチャが前記デコーダへ伝送開始されてから前記先頭ピクチャが前記デコーダへ伝送開始されるまでの復号開始待機期間と、前記第1のピクチャが前記デコーダへ伝送開始されてから前記エンコーダが再符号化された前記先頭ピクチャを出力終了するまでの再符号化処理期間とを推定し、該再符号化処理期間と前記復号開始待機期間の差を前記遅延時間とする、請求項2に記載のトランスコーダ。   The encoding start position determining unit starts decoding until the first picture starts to be transmitted to the decoder after the first picture starts to be transmitted to the decoder according to a decoding order according to the first encoding method. Estimating a waiting period and a re-encoding process period from the start of transmission of the first picture to the decoder until the encoder finishes outputting the re-encoded leading picture, and the re-encoding process The transcoder according to claim 2, wherein a difference between a period and the decoding start waiting period is the delay time. 前記エンコード開始位置決定部は、前記第1の符号化方式により符号化された前記第1のピクチャから前記先頭ピクチャまでの各ピクチャのデータ量及びピクチャの符号化方法の種別と、ピクチャのデータ伝送、前記デコーダによる復号処理に要する時間及び前記エンコーダによる符号化処理に要する時間の関係を示すテーブルを参照することにより、前記復号開始待機期間及び前記再符号化処理期間を算出する、請求項3に記載のトランスコーダ。   The encoding start position determination unit includes a data amount of each picture from the first picture encoded by the first encoding method to a first picture, a type of picture encoding method, and data transmission of the picture The decoding start waiting period and the re-encoding process period are calculated by referring to a table indicating a relationship between a time required for the decoding process by the decoder and a time required for the encoding process by the encoder. The described transcoder. 映像信号をパケット単位で受信する受信部と、
前記映像信号から第1の符号化方式により符号化された第1の動画像データと、他のデータを分離するマルチプレクサと、
前記第1の動画像データに含まれる各ピクチャを復号するデコーダと、
前記復号された各ピクチャのうち、前記第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄するピクチャ廃棄部と、
前記廃棄部により廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従って当該残りのピクチャを再符号化するエンコーダと、
前記他のデータと前記第2の符号化方式に従って再符号化された各ピクチャを含む動画像データを多重化することによりパケットを作成するマルチプレクサと、
前記パケットを暗号化する暗号化部と、
暗号化された前記パケットを出力する送信部と、
を有する動画像伝送装置。
A receiver for receiving video signals in units of packets;
A first moving image data encoded by the first encoding method from the video signal, and a multiplexer for separating other data;
A decoder for decoding each picture included in the first moving image data;
A picture discarding unit for discarding a predetermined number of pictures including a first picture that is a reference for encoding other pictures in the first moving image data among the decoded pictures;
An encoder that re-encodes the remaining picture according to the second encoding method, with the first picture of the remaining pictures not discarded by the discarding unit as a picture that is a reference for encoding other pictures; ,
A multiplexer that creates packets by multiplexing the other data and moving image data including each picture re-encoded according to the second encoding scheme;
An encryption unit for encrypting the packet;
A transmission unit for outputting the encrypted packet;
A moving image transmission apparatus.
第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号し、
前記復号された各ピクチャのうち、前記第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄し、
前記復号された各ピクチャのうち、廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従って当該残りのピクチャを再符号化する、
ことを含むトランスコーディング方法。
Decoding each picture included in the first moving image data encoded according to the first encoding method;
Among the decoded pictures, discard a predetermined number of pictures including a first picture that is a reference for encoding other pictures in the first moving image data,
Among the decoded pictures, the first picture of the remaining pictures that have not been discarded is used as a reference picture for coding other pictures, and the remaining pictures are re-executed according to the second coding scheme. Encoding,
A transcoding method.
第1の符号化方式に従って符号化された第1の動画像データに含まれる各ピクチャを復号し、
前記復号された各ピクチャのうち、前記第1の動画像データにおいて他のピクチャを符号化するための基準となった第1のピクチャを含む所定枚数のピクチャを廃棄し、
前記復号された各ピクチャのうち、廃棄されなかった残りのピクチャのうちの先頭のピクチャを、他のピクチャの符号化の基準となるピクチャとして、第2の符号化方式に従って当該残りのピクチャを再符号化する、
ことをコンピュータに実行させるトランスコーディング用コンピュータプログラム。
Decoding each picture included in the first moving image data encoded according to the first encoding method;
Among the decoded pictures, discard a predetermined number of pictures including a first picture that is a reference for encoding other pictures in the first moving image data,
Among the decoded pictures, the first picture of the remaining pictures that have not been discarded is used as a reference picture for coding other pictures, and the remaining pictures are re-executed according to the second coding scheme. Encoding,
A computer program for transcoding that causes a computer to execute this.
JP2009087270A 2009-03-31 2009-03-31 Transcoder, transcoding method and transcoding computer program, and moving image transmitting apparatus Withdrawn JP2010239546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009087270A JP2010239546A (en) 2009-03-31 2009-03-31 Transcoder, transcoding method and transcoding computer program, and moving image transmitting apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009087270A JP2010239546A (en) 2009-03-31 2009-03-31 Transcoder, transcoding method and transcoding computer program, and moving image transmitting apparatus

Publications (1)

Publication Number Publication Date
JP2010239546A true JP2010239546A (en) 2010-10-21

Family

ID=43093463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009087270A Withdrawn JP2010239546A (en) 2009-03-31 2009-03-31 Transcoder, transcoding method and transcoding computer program, and moving image transmitting apparatus

Country Status (1)

Country Link
JP (1) JP2010239546A (en)

Similar Documents

Publication Publication Date Title
JP4836326B2 (en) Method and apparatus for converting an incoming MPEG-2 bitstream into a bitstream compatible with SMPTE-259, and an incoming bitstream compatible with MPEG-2 with a bitstream compatible with SMPTE-259 To convert to
US8711929B2 (en) Network-based dynamic encoding
KR100975311B1 (en) I-picture insertion on request
EP2011332B1 (en) Method for reducing channel change times in a digital video apparatus
US10812841B2 (en) Apparatus for encoding and transcoding which applies multi-format ultra-high definition high-efficiency codec
EP2297957B1 (en) Fast channel switching in tv broadcast systems
JP2009528709A (en) Video encoder and decoder for improved zapping service for mobile video reception
TW201026078A (en) Video decoding method
EP2695390A2 (en) Fast channel change for hybrid device
US20100239001A1 (en) Video streaming system, transcoding device, and video streaming method
US8229000B2 (en) Moving image conversion method, moving image conversion apparatus, moving image conversion system, and server apparatus, and program
EP1501228A1 (en) Encoded packet transmission/reception method, device thereof, and program
WO2008146892A1 (en) Moving image converting apparatus, moving image converting method, and moving image converting program
JP2007507927A (en) System and method combining advanced data partitioning and efficient space-time-SNR scalability video coding and streaming fine granularity scalability
JP4662085B2 (en) Moving image storage system, moving image storage method, and moving image storage program
KR100823062B1 (en) Motion image data converting method and apparatus, and computer-readable recording medium for storing a motion image data converting program
JP2010239546A (en) Transcoder, transcoding method and transcoding computer program, and moving image transmitting apparatus
JP2017535171A (en) An apparatus and method for cutting several encoded video streams without prior decoding.
JP2001128164A (en) Method and system for processing video code
JP2005072995A (en) Rate converter
JP2008244781A (en) Ip retransmission system of terrestrial digital broadcast, and seamless switchover control method therefor in mottled composition
JP6512700B2 (en) Video signal transmission system and video signal transmission method
JP2016116069A (en) Image encoder, image decoder, image encoding method, image decoding method, and image encoding/decoding system
JP2008136001A (en) Encoding method conversion device
Warrier Multiplexing and demultiplexing HEVC video and AAC audio and achieving lip synchronization during playback

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120605