JP2010135990A - Apparatus and program for processing digital broadcast signal - Google Patents

Apparatus and program for processing digital broadcast signal Download PDF

Info

Publication number
JP2010135990A
JP2010135990A JP2008308572A JP2008308572A JP2010135990A JP 2010135990 A JP2010135990 A JP 2010135990A JP 2008308572 A JP2008308572 A JP 2008308572A JP 2008308572 A JP2008308572 A JP 2008308572A JP 2010135990 A JP2010135990 A JP 2010135990A
Authority
JP
Japan
Prior art keywords
digital broadcast
broadcast signal
stream
replacement
time information
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
JP2008308572A
Other languages
Japanese (ja)
Inventor
Maki Sakai
真樹 境
Yoshihiko Yagi
芳彦 八木
Takuro Kaneko
拓朗 金子
Ryota Yamashita
亮太 山下
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.)
Hitachi Information and Telecommunication Engineering Ltd
Original Assignee
Hitachi Information and Communication Engineering 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 Hitachi Information and Communication Engineering Ltd filed Critical Hitachi Information and Communication Engineering Ltd
Priority to JP2008308572A priority Critical patent/JP2010135990A/en
Publication of JP2010135990A publication Critical patent/JP2010135990A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Circuits (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a processing apparatus and a processing program which allow a digital broadcast signal to be switched in an MPEG-2 TS signal level at an arbitrary timing in a reception station. <P>SOLUTION: A digital broadcast signal processing apparatus includes a stream switching means which, when switching from one digital broadcast signal to another digital broadcast signal, removes an image frame which is included in a stream of the another digital broadcast signal and refers to an image frame before the switching during decoding, from an output signal to perform switching processing. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、デジタル放送信号の処理装置及び処理プログラムに関し、特に、複数種類の受信信号を部分的に差し替えて出力するためのデジタル放送信号処理装置及びデジタル放送信号処理プログラムに関するものである。   The present invention relates to a digital broadcast signal processing apparatus and processing program, and more particularly, to a digital broadcast signal processing apparatus and digital broadcast signal processing program for partially replacing and outputting a plurality of types of received signals.

従来、地方放送局では、地方局が独自で制作した放送素材(番組、CMその他を言う)と、キー局から伝送される放送素材とを時間帯ごとに編成して放送している。地上アナログ放送等の場合には、放送信号処理装置において、入力される複数種類のアナログ信号を適宜差し替えて出力することで、放送素材の切り替えを行うことができる。出力された放送信号は視聴者に向けて放送される。   Conventionally, a local broadcast station broadcasts broadcast materials (referred to as programs, CMs, and the like) independently produced by the local stations and broadcast materials transmitted from the key stations for each time zone. In the case of terrestrial analog broadcasting or the like, broadcast materials can be switched by appropriately replacing and outputting a plurality of types of input analog signals in a broadcast signal processing device. The output broadcast signal is broadcast toward the viewer.

一方、デジタル放送においても同様に複数種類の放送素材を用いた番組編成が行われている。デジタル放送の場合には、MPEG−2などで符号化・圧縮された放送信号を用いるため、アナログ放送の場合のように受信信号をそのまま差し替えて出力することはできない。
そこで従来、デジタル放送におけるの放送素材の切り替えは、次のような方法で行われる。
第1の方法としては、放送局間(キー局及び地方局の間)では符号化された放送信号を伝送し、受信局(地方局)にて受信信号を復号化(伸張)し、放送データの差し替えを行った後、再度符号化を行った放送信号を出力する方法がある。
第2の方法としては、放送局間では符号化される前の放送データを伝送し、受信局にて放送データの差し替えを行った後、符号化を行った放送信号を出力する方法がある。
特開平11−341492号公報
On the other hand, similarly in digital broadcasting, program organization using a plurality of types of broadcasting materials is performed. In the case of digital broadcasting, since a broadcast signal encoded and compressed by MPEG-2 or the like is used, the received signal cannot be replaced and output as it is in the case of analog broadcasting.
Therefore, conventionally, switching of broadcasting material in digital broadcasting is performed by the following method.
As a first method, an encoded broadcast signal is transmitted between broadcasting stations (between a key station and a local station), and the received signal is decoded (expanded) at a receiving station (local station), and broadcast data is transmitted. There is a method of outputting a broadcast signal which has been encoded again after the replacement.
As a second method, there is a method in which broadcast data before encoding is transmitted between broadcasting stations, and after the broadcast data is replaced at a receiving station, an encoded broadcast signal is output.
Japanese Patent Laid-Open No. 11-341492

しかしながら、上記の第1の方法では、符号化と復号化を繰り返すことにより放送データが劣化する上に、放送に遅延が生じるという問題点がある。この点、上記の第2の方法では劣化や遅延は生じないが、一方で放送局間で非圧縮の放送データ素材を伝送するための通信コストが増大するという問題点がある。   However, the first method has a problem that broadcast data is deteriorated by repeating encoding and decoding, and a delay occurs in broadcasting. In this regard, the second method described above does not cause deterioration or delay, but there is a problem that the communication cost for transmitting uncompressed broadcast data material between broadcast stations increases.

この他、デジタル放送信号の差し替え処理に関しては、例えば、受信局において送信局からの放送信号の一部を差し替えた後、差し替えられた放送信号の先頭部分と当該差し替え範囲より後ろの位置に、それぞれの符号化形式に関する情報を付加することで、地方局の符号化形式情報を記述し符号化を行うことで、迅速かつ容易な放送信号の差し替えを行う技術が提案されている(特許文献1)。   In addition, with regard to the replacement process of the digital broadcast signal, for example, after replacing a part of the broadcast signal from the transmitting station at the receiving station, the first part of the replaced broadcast signal and the position behind the replacement range, respectively, A technique has been proposed in which broadcast signal replacement is performed quickly and easily by adding information on the encoding format of the local station to describe and encode the encoding format information of the local station (Patent Document 1). .

しかしながら、上記の特許文献1に記載の技術では、送信局と受信局との間で放送信号の差し替えポイントを認知し合う必要があるため、受信局側で任意のタイミングでMPEG−2 TS(Transport Stream)信号レベルの差し替えを行うことはできない。   However, in the technique described in Patent Document 1, it is necessary to recognize the replacement point of the broadcast signal between the transmitting station and the receiving station, so that the MPEG-2 TS (Transport) at an arbitrary timing on the receiving station side. Stream) The signal level cannot be replaced.

本発明は、このような実情に鑑みてなされたものであり、受信局において任意のタイミングで、デジタル放送信号をMPEG−2 TS信号レベルでの差し替えを行うことができるデジタル放送信号処理装置及びデジタル放送信号処理プログラムを提供しようとするものである。   The present invention has been made in view of such circumstances, and a digital broadcast signal processing apparatus and a digital broadcast signal processing apparatus capable of replacing a digital broadcast signal at an MPEG-2 TS signal level at an arbitrary timing in a receiving station. It is intended to provide a broadcast signal processing program.

上記課題に鑑み鋭意研究の結果、本発明者らは、デジタル放送信号の差し替えを行う際に、差し替えポイント直後のGOP中の画像フレームであって復号時に差し替えポイント前のGOP中の画像フレームを参照しなければならない画像フレームを出力信号から除去することにより、復号化・再符号化することなくデジタル放送信号をMPEG−2 TS信号レベルでの差し替えを行うことができることに想到し、下記発明を成すに至った。   As a result of diligent research in view of the above problems, the present inventors refer to the image frame in the GOP immediately after the replacement point and the image frame in the GOP before the replacement point at the time of decoding when replacing the digital broadcast signal. It is conceived that the digital broadcast signal can be replaced at the MPEG-2 TS signal level without decoding and re-encoding by removing the image frame that must be performed from the output signal, and the following invention is achieved. It came to.

すなわち、本発明は、入力された異なる2以上の符号化されたデジタル放送信号ストリームを部分的に差し替えて1ストリームのデジタル放送信号として出力するデジタル放送信号処理装置であって、1つのデジタル放送信号ストリームから他のデジタル放送信号ストリームに差し替える際に、当該他のデジタル放送信号ストリームに含まれる画像フレームであって復号時に前記差し替え前のストリーム位置の画像フレームを参照する画像フレームを出力信号から除去して差し替え処理を行うストリーム差替処理手段を有することを特徴とするデジタル放送信号処理装置を提供するものである。   That is, the present invention is a digital broadcast signal processing apparatus that partially replaces two or more input different encoded digital broadcast signal streams and outputs them as one stream of digital broadcast signals. When replacing a stream with another digital broadcast signal stream, the image frame included in the other digital broadcast signal stream and referring to the image frame at the stream position before replacement at the time of decoding is removed from the output signal. Accordingly, the present invention provides a digital broadcast signal processing apparatus having stream replacement processing means for performing replacement processing.

本発明のデジタル放送信号処理装置はさらに、前記ストリーム差替処理手段により差し替え処理がされたデジタル放送信号中の前記1のデジタル放送信号に対して、当該デジタル放送信号に付加された時刻情報を前記他のデジタル放送信号の時刻情報と同一様式の時刻情報に変換する時刻情報変換処理手段を有することを特徴とする。   The digital broadcast signal processing apparatus of the present invention further includes the time information added to the digital broadcast signal for the one digital broadcast signal in the digital broadcast signal that has been replaced by the stream replacement processing unit. It has time information conversion processing means for converting time information in the same format as time information of other digital broadcast signals.

本発明のデジタル放送信号処理装置はさらに、入力された各デジタル放送信号にパケット単位でタイムスタンプを付加するタイムスタンプ付加処理部と、前記ストリーム差替処理手段により差し替え処理がされたデジタル放送信号に対して、当該デジタル放送信号の各パケットに付加されたタイムスタンプに基づいて各パケットの時間的配置を調整するパケット再配置処理手段とを有することを特徴とする。   The digital broadcast signal processing apparatus of the present invention further includes a time stamp addition processing unit that adds a time stamp to each input digital broadcast signal in units of packets, and a digital broadcast signal that is replaced by the stream replacement processing means. On the other hand, it has a packet rearrangement processing means for adjusting a temporal arrangement of each packet based on a time stamp added to each packet of the digital broadcast signal.

本発明は、また、異なる2以上の符号化されたデジタル放送信号ストリームを受信する受信手段と、前記2以上のデジタル放送信号ストリームを部分的に差し替えて1ストリームのデジタル放送信号を生成するストリーム差替処理手段と、前記ストリーム差替処理手段により生成された1ストリームのデジタル放送信号を出力する出力手段とをデジタル放送信号処理装置において用いられるデジタル放送信号処理プログラムであって、1つのデジタル放送信号ストリームから他のデジタル放送信号ストリームに差し替える際に、当該他のデジタル放送信号ストリームに含まれる画像フレームであって復号時に前記差し替え前のストリーム位置の画像フレームを参照する画像フレームを出力信号から除去して差し替え処理を行うストリーム差替処理ステップを実行することを特徴とするデジタル放送信号処理プログラムを提供するものである。   The present invention also provides a receiving means for receiving two or more different encoded digital broadcast signal streams, and a stream difference for generating one stream of digital broadcast signals by partially replacing the two or more digital broadcast signal streams. A digital broadcast signal processing program used in a digital broadcast signal processing apparatus includes: a replacement processing unit; and an output unit that outputs a digital broadcast signal of one stream generated by the stream replacement processing unit. When replacing a stream with another digital broadcast signal stream, the image frame included in the other digital broadcast signal stream and referring to the image frame at the stream position before replacement at the time of decoding is removed from the output signal. Stream replacement for replacement processing There is provided a digital broadcast signal processing program and executes a management step.

本発明のデジタル放送信号処理プログラムはさらに、前記ストリーム差替処理ステップを実行した後に、差し替え処理されたデジタル放送信号中の前記1のデジタル放送信号に対して、当該デジタル放送信号に付加された時刻情報を前記他のデジタル放送信号の時刻情報と同一様式の時刻情報に変換する時刻情報変換処理ステップを実行することを特徴とする。   The digital broadcast signal processing program of the present invention further includes a time added to the digital broadcast signal with respect to the one digital broadcast signal in the replaced digital broadcast signal after executing the stream replacement processing step. A time information conversion processing step for converting the information into time information in the same format as the time information of the other digital broadcast signal is performed.

本発明のデジタル放送信号処理プログラムはさらに、前記ストリーム差替処理ステップを実行する前に、入力された各デジタル放送信号にパケット単位でタイムスタンプを付加するタイムスタンプ付加処理ステップを実行し、前記ストリーム差替処理ステップを実行した後又は前記時刻情報変換処理ステップを実行した後に、差し替え処理されたデジタル放送信号に対して、当該デジタル放送信号の各パケットに付加されたタイムスタンプに基づいて各パケットの時間的配置を調整するパケット再配置処理を実行することを特徴とする。   The digital broadcast signal processing program according to the present invention further executes a time stamp addition processing step of adding a time stamp in packet units to each input digital broadcast signal before executing the stream replacement processing step. After executing the replacement processing step or after executing the time information conversion processing step, the replacement of the digital broadcast signal is performed on the basis of the time stamp added to each packet of the digital broadcast signal. A packet rearrangement process for adjusting temporal arrangement is executed.

以上説明したように、本発明のデジタル放送信号処理装置及びデジタル放送信号処理プログラムによれば、デジタル放送信号の差し替えを行う際に、差し替えポイント直後のGOP中の画像フレームであって復号時に差し替えポイント前のGOP中の画像フレームを参照しなければならない画像フレームを出力信号から除去することにより、復号化・再符号化することなくデジタル放送信号をMPEG−2 TS信号レベルでの差し替えを行うことが可能となっている。
放送局などでは、符号化されたデジタル放送信号からなる放送素材を複号化・再符号化することなく差し替えて放送することができるので、機器数、工数を低減することができ、スペースの確保、ランニングコスト低減、監視対象機器の低減、故障率の向上が期待できる。
As described above, according to the digital broadcast signal processing apparatus and the digital broadcast signal processing program of the present invention, when a digital broadcast signal is replaced, it is an image frame in a GOP immediately after the replacement point and is replaced at the time of decoding. By removing an image frame that must refer to an image frame in the previous GOP from the output signal, the digital broadcast signal can be replaced at the MPEG-2 TS signal level without decoding and re-encoding. It is possible.
In broadcasting stations, etc., broadcast materials consisting of encoded digital broadcast signals can be replaced and broadcast without decoding and re-encoding, so the number of equipment and man-hours can be reduced, and space can be secured. It can be expected to reduce running costs, reduce equipment to be monitored, and improve failure rate.

以下、添付図面を参照しながら、本発明のデジタル放送信号処理装置及びデジタル放送信号処理プログラムを実施するための最良の形態を詳細に説明する。図1〜図12は、本発明の実施の形態を例示する図であり、これらの図において、同一の符号を付した部分は同一物を表わし、基本的な構成及び動作は同様であるものとする。   The best mode for carrying out a digital broadcast signal processing apparatus and a digital broadcast signal processing program according to the present invention will be described below in detail with reference to the accompanying drawings. FIGS. 1-12 is a figure which illustrates embodiment of this invention, In these figures, the part which attached | subjected the same code | symbol represents the same thing, and the fundamental structure and operation | movement are the same. To do.

<構成>
本発明の一実施形態に係るデジタル放送信号処理装置の構成について図を参照して説明する。
図1は、本実施形態のデジタル放送信号処理装置の内部構成を概略的に示す図である。
図1において、本実施形態のデジタル放送信号処理装置は、受信信号に含まれるMPEG−2 TSパケットにタイムスタンプを付加してTTS(Timestamped TS)パケット化するTTS化部110、MPEG−2 TSパケットのデータ部であるES(Elementary Stream)部を差し替えるES差替部111、MPEG−2 TSパケットのES部の差し替えに応じて一方のES部の時刻情報を他方に合致するよう変換する時刻情報変換処理部112、差し替えられたMPEG−2 TSパケットを所定の時間的位置に配置して出力パケットを構成するTS配置部113を有している。また、本実施形態のデジタル放送信号処理装置は、CPU、RAM、ROMその他の記憶部、I/O部を有している。
<Configuration>
A configuration of a digital broadcast signal processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram schematically showing an internal configuration of a digital broadcast signal processing apparatus according to the present embodiment.
In FIG. 1, the digital broadcast signal processing apparatus of this embodiment includes a TTS unit 110 that adds a time stamp to an MPEG-2 TS packet included in a received signal to form a TTS (Timestamped TS) packet, and an MPEG-2 TS packet. Information replacement unit 111 that replaces the ES (Elementary Stream) portion, which is the data portion of the data, and time information conversion that converts the time information of one ES portion to match the other according to the replacement of the ES portion of the MPEG-2 TS packet The processing unit 112 includes a TS placement unit 113 that places the replaced MPEG-2 TS packet at a predetermined temporal position to form an output packet. The digital broadcast signal processing apparatus according to the present embodiment includes a CPU, a RAM, a ROM, other storage units, and an I / O unit.

<動作>
図1に示すように構成されたデジタル放送信号処理装置100において、入力された2種類のデジタル放送信号(MPEG−2 TS信号)は、復号化・再符号化されることなく、適宜部分的に差し替えられて1種類のデジタル放送信号として出力される。
以下、デジタル放送信号処理装置100における各機能部の処理の詳細について説明する。
<Operation>
In the digital broadcast signal processing apparatus 100 configured as shown in FIG. 1, two types of input digital broadcast signals (MPEG-2 TS signals) are appropriately partially decoded without being decoded and re-encoded. It is replaced and output as one type of digital broadcast signal.
Hereinafter, details of processing of each functional unit in the digital broadcast signal processing apparatus 100 will be described.

図2は、デジタル放送信号処理装置100の全体的な動作の概略を示すシーケンス図である。
図2に示すように、デジタル放送信号処理装置100は、入力されたデジタル放送信号に対して、TTS化部110によるTTS化処理、ES差替部111によるES差し替え処理、時刻情報変換処理部112による時刻情報変換処理、TS配置部113によるTS配置処理を順次行って得られた信号を、差し替えられたデジタル放送信号として出力する。
FIG. 2 is a sequence diagram showing an outline of the overall operation of the digital broadcast signal processing apparatus 100.
As illustrated in FIG. 2, the digital broadcast signal processing apparatus 100 performs TTS processing by the TTS unit 110, ES replacement processing by the ES replacement unit 111, and time information conversion processing unit 112 for the input digital broadcast signal. The signal obtained by sequentially performing the time information conversion process by the TS and the TS arrangement process by the TS arrangement unit 113 is output as the replaced digital broadcast signal.

図3Aは、デジタル放送信号処理装置100のTTS化部110によるTTS化処理の概要を示す図である。図示するように、入力信号であるMPEG−2 TSは、TSパケットの間に送信側基準時刻情報を含むPCR(Program Clock Reference)パケットが挿入されたストリームとして構成されているので、隣り合うPCRパケットの送信間隔(Δt1)と、そこに含まれるTSパケットの個数(N)をカウントすることにより、MPEG−2 TSの伝送速度を算出することができる。   FIG. 3A is a diagram showing an overview of the TTS processing by the TTS unit 110 of the digital broadcast signal processing apparatus 100. As shown in the figure, the MPEG-2 TS as an input signal is configured as a stream in which a PCR (Program Clock Reference) packet including transmission-side reference time information is inserted between TS packets. The transmission rate of MPEG-2 TS can be calculated by counting the transmission interval (Δt1) and the number (N) of TS packets included therein.

図3Bは、TTS化部110が行う処理の流れを詳細に示すフロー図である。
図3Bにおいて、TTS化部110は、I/O部を通じてMPEG−2 TS入力信号を受信する(ステップS301)。受信したMPEG−2 TSパケット中のPCRパケットを検索(ステップS302)し、発見されたMPEG−2 TS内のPCRパケット間に配置されたTSパケット数からMPEG−2 TSの伝送速度を算出し(ステップS303)、各パケットの先頭にカウンタ値を付加する処理を行う(ステップS304)。以上の処理を次のMPEG−2 TSパケットが存在しなくなるまで反復して実行する(ステップS305)。
FIG. 3B is a flowchart showing in detail the flow of processing performed by the TTS unit 110.
3B, the TTS unit 110 receives the MPEG-2 TS input signal through the I / O unit (step S301). The PCR packet in the received MPEG-2 TS packet is searched (step S302), and the transmission rate of MPEG-2 TS is calculated from the number of TS packets arranged between the PCR packets in the found MPEG-2 TS ( In step S303), a process of adding a counter value to the head of each packet is performed (step S304). The above processing is repeated until the next MPEG-2 TS packet does not exist (step S305).

図4は、デジタル放送信号処理装置100のES差替部111によるES差し替え処理の概要を示す図である。図示するように、MPEG−2 TSパケットは、シーケンスヘッダ(SH)と画像フレーム群からなるGOP(Group Of Pictures)とを含んでいる。尚、GOPはMPEG−2 TSから復号化・再符号化なしに切り出しできるデータの最小単位である。したがって、ES差し替え処理では、差替信号が発せられると、シーケンスヘッダ及びGOP単位からなるパケット単位で信号の差し替えを行う。   FIG. 4 is a diagram showing an outline of ES replacement processing by the ES replacement unit 111 of the digital broadcast signal processing apparatus 100. As shown in the figure, the MPEG-2 TS packet includes a sequence header (SH) and a GOP (Group Of Pictures) composed of image frames. GOP is the minimum unit of data that can be cut out from MPEG-2 TS without decoding / recoding. Therefore, in the ES replacement process, when a replacement signal is generated, the signal is replaced in units of packets including a sequence header and a GOP unit.

続いて、GOPにおける画像フレームの相互参照について説明する。
GOPには、オープンGOPとクローズドGOPの2種類が存在する。オープンGOPでは隣り合う画像フレームを参照しながら映像が再生されるのに対して、クローズドGOPではそれぞれのGOPが他のGOPを参照することなく映像の再生が可能である。
Next, image frame cross-reference in the GOP will be described.
There are two types of GOPs: open GOPs and closed GOPs. In an open GOP, a video is reproduced while referring to adjacent image frames, whereas in a closed GOP, each GOP can reproduce a video without referring to another GOP.

図5は、オープンGOPにおける画像フレームの参照方法を概略的に示す図である。
オープンGOPを構成する画像フレームには、Iフレーム、Pフレーム、Bフレームの3種類が存在する。Iフレームは通常の画像フレームであり、再生にあたって他のフレームを参照する必要はない。Pフレームは、前のIフレーム又はPフレームとの差分を記録した画像フレームであり、再生にあたって前のIフレーム又はPフレームを参照する必要がある。Bフレームは、前後のIフレーム又はPフレームとの差分を記録した画像フレームであり、再生にあたって前後(の一方又は両方)のIフレーム、Pフレーム又はBフレームを参照する必要がある。
FIG. 5 is a diagram schematically illustrating a method of referring to an image frame in the open GOP.
There are three types of image frames that constitute an open GOP: an I frame, a P frame, and a B frame. The I frame is a normal image frame, and it is not necessary to refer to another frame for reproduction. The P frame is an image frame in which a difference from the previous I frame or P frame is recorded, and it is necessary to refer to the previous I frame or P frame for reproduction. The B frame is an image frame in which a difference from the preceding and following I frames or P frames is recorded, and it is necessary to refer to the preceding and following (one or both) I frame, P frame, or B frame for reproduction.

図5の上段に例示するフレーム群では、P04フレームは前のP03フレームを、P05フレームは前のI02フレームを参照し、B09フレームは前のP03フレーム及び後のP04フレームを参照し、B10フレームは前のP03フレーム及び後のP04フレームを参照し、B11フレームは前のP04フレーム及び後のI02フレームを参照し、B12フレームは前のP04フレーム及び後のI02フレームを参照し、B13フレームは前のI02フレーム及び後のP05フレームを参照し、B14フレームは前のI02フレーム及び後のP05フレームを参照する。
また、図5の下段に示すように、MPEG−2において出力される信号では、GOPは実際の再生順序とは異なるフレーム配列となっている。これは、Bフレームの双方向参照の特性によるものであり、例えば、図5下段の出力信号列においてはB9、B10フレームの再生のために、P04フレームがこれらよりも前に配置されている。尚、これらフレームの並べ替えはPTS/DTS等の時刻情報を参照して行うことができる。
In the frame group illustrated in the upper part of FIG. 5, the P04 frame refers to the previous P03 frame, the P05 frame refers to the previous I02 frame, the B09 frame refers to the previous P03 frame and the subsequent P04 frame, and the B10 frame is Refer to the previous P03 frame and the subsequent P04 frame, the B11 frame refers to the previous P04 frame and the subsequent I02 frame, the B12 frame refers to the previous P04 frame and the subsequent I02 frame, and the B13 frame refers to the previous P04 frame The I02 frame and the subsequent P05 frame are referred to, and the B14 frame refers to the previous I02 frame and the subsequent P05 frame.
As shown in the lower part of FIG. 5, in the signal output in MPEG-2, the GOP has a frame arrangement different from the actual reproduction order. This is due to the bidirectional reference characteristic of the B frame. For example, in the output signal sequence in the lower part of FIG. 5, the P04 frame is arranged before these for reproduction of the B9 and B10 frames. These frames can be rearranged with reference to time information such as PTS / DTS.

図6は、デジタル放送信号処理装置100のES差替部111によるES差し替え処理におけるGOP画像フレーム単位の調整方法を概略的に示す図である。
図6において、第1GOPと第2GOPとの間でES差し替え処理を行う場合について説明する。尚、本例における入力信号列1、2は図5に示したのと同じ信号列である。
図6の上段に示すように、従来のES差し替え処理方式では、入力信号列1から入力信号列2に差し替えた直後の第2GOPにおけるB11’フレーム及びB12’フレームが、その前の第1GOPに属するP04フレームを参照して復号化されることになるため、ブロックノイズやブラックアウトなどが生じてしまう。
FIG. 6 is a diagram schematically showing an adjustment method in units of GOP image frames in the ES replacement process by the ES replacement unit 111 of the digital broadcast signal processing apparatus 100.
In FIG. 6, the case where the ES replacement process is performed between the first GOP and the second GOP will be described. Note that the input signal trains 1 and 2 in this example are the same signal trains as shown in FIG.
As shown in the upper part of FIG. 6, in the conventional ES replacement processing method, the B11 ′ frame and the B12 ′ frame in the second GOP immediately after replacement from the input signal sequence 1 to the input signal sequence 2 belong to the previous first GOP. Since decoding is performed with reference to the P04 frame, block noise, blackout, and the like occur.

そこで、本発明ではこのような問題点を解消すべく、デジタル放送信号処理装置100のES差替部111において、差し替え処理直後のGOP内で差し替え前のGOPの画像フレームを参照してしまう画像フレーム、すなわち図6の例ではB11’フレーム及びB12’フレームを出力信号から取り除く処理を行うこととしている。これにより、差し替え処理前後に画像の乱れなどが生じることなく、スムーズに差し替え処理を行うことが可能である。   Therefore, in the present invention, in order to solve such a problem, the ES replacement unit 111 of the digital broadcast signal processing apparatus 100 refers to the image frame of the GOP before replacement in the GOP immediately after the replacement processing. That is, in the example of FIG. 6, the process of removing the B11 ′ frame and the B12 ′ frame from the output signal is performed. Thereby, it is possible to perform the replacement process smoothly without causing image distortion before and after the replacement process.

図7は、デジタル放送信号処理装置100のES差替部111が行う処理の流れを詳細に示すフロー図である。
まず、デジタル放送信号処理装置100のES差替部111は、TTS化部からMPEG−2 TSパケット入力1と入力2とを常時受信しており(ステップS701)、これらMPEG−2 TSパケットに含まれるシーケンスヘッダを常時検索している(ステップS702)。ここで、ESの差し替えを指示する差替信号が発せられると、その直後のシーケンスヘッダとこれに続くGOPから差し替えを行う(ステップS703)。
FIG. 7 is a flowchart showing in detail the flow of processing performed by the ES replacement unit 111 of the digital broadcast signal processing apparatus 100.
First, the ES replacement unit 111 of the digital broadcast signal processing apparatus 100 always receives the MPEG-2 TS packet input 1 and the input 2 from the TTS unit (step S701), and is included in these MPEG-2 TS packets. The sequence header to be searched is always searched (step S702). Here, when a replacement signal instructing replacement of ES is issued, replacement is performed from the immediately following sequence header and the subsequent GOP (step S703).

続いて、ES差替部111は、差し替え処理直後のGOP中のIフレームに続くBフレームを検索し(ステップS704)、検索されたBフレームのPTSの値が参照先の画像フレームPTSの値より小さい場合(つまり前方向を参照する場合)には(ステップS705)、当該Bフレームを出力信号から取り除く処理を行う(ステップS706)。一方、検索されたBフレームが前方向を参照するものではない場は、そのまま出力を行う(ステップS707)。
TTS化部からMPEG−2 TSパケットの出力中に次の差替信号が発せられた場合には、ステップS702からの処理を繰り返す(ステップS708)。
次の差替信号がない場合には、差し替え処理されたデータを出力する(ステップS709)。
Subsequently, the ES replacement unit 111 searches for a B frame following the I frame in the GOP immediately after the replacement process (step S704), and the PTS value of the searched B frame is greater than the value of the reference image frame PTS. When it is smaller (ie, when referring to the forward direction) (step S705), a process of removing the B frame from the output signal is performed (step S706). On the other hand, if the retrieved B frame does not refer to the forward direction, it is output as it is (step S707).
When the next replacement signal is issued during the output of the MPEG-2 TS packet from the TTS unit, the processing from step S702 is repeated (step S708).
If there is no next replacement signal, the replaced data is output (step S709).

図8Aは、デジタル放送信号処理装置100の時刻情報変換処理部112による時刻情報変換処理の概要を示す図である。
図8Aに示すように、入力信号1と入力信号2に付されたPTS/DTSなどの時刻情報は必ずしも同期されているものではない。ES差し替えにより異なる時刻情報が付加されたMPEG−2TSパケットが混在すると、受信機側にて時刻情報が乱れを修正するため時刻情報の再取得を行うなどして、映像・音声が乱れてしてしまう。
そこで、デジタル放送信号処理装置100では、時刻情報変換処理部112において、いずれか一方の入力信号(図の例では入力信号1)の基準に合致するよう他方の入力信号の時刻情報を書き換える処理を行う。
FIG. 8A is a diagram showing an overview of time information conversion processing by the time information conversion processing unit 112 of the digital broadcast signal processing apparatus 100.
As shown in FIG. 8A, time information such as PTS / DTS attached to the input signal 1 and the input signal 2 is not necessarily synchronized. When MPEG-2 TS packets with different time information added by ES replacement are mixed, the video / audio is disturbed by re-acquisition of time information on the receiver side to correct the disturbance. End up.
Therefore, in the digital broadcast signal processing apparatus 100, the time information conversion processing unit 112 performs a process of rewriting the time information of the other input signal so as to meet the standard of any one of the input signals (input signal 1 in the illustrated example). Do.

図8Bは、時刻情報変換処理部112が行う処理の流れを詳細に示すフロー図である。
図8Bにおいて、時刻情報変換処理部112は、ES差替部111からMPEG−2 TSパケットを受信し(ステップS801)、MPEG−2TSパケット中のPESヘッダに付加されたPTS/DTSを検索し(ステップS802)、基準とする入力信号以外の入力信号のPTS/DTSについては基準とする入力信号のPTS/DTSに合致するよう時刻情報の書き換えを行う(ステップS803)。
以上の処理を、MPEG−2 TSパケット単位で繰り返す(ステップS804)。
FIG. 8B is a flowchart showing in detail the flow of processing performed by the time information conversion processing unit 112.
In FIG. 8B, the time information conversion processing unit 112 receives the MPEG-2 TS packet from the ES replacement unit 111 (step S801), and searches for the PTS / DTS added to the PES header in the MPEG-2 TS packet ( In step S802), for the PTS / DTS of the input signal other than the reference input signal, the time information is rewritten so as to match the PTS / DTS of the reference input signal (step S803).
The above processing is repeated for each MPEG-2 TS packet (step S804).

図9Aは、デジタル放送信号処理装置100のTS配置部113によるTS配置処理の概要を示す図である。
TS配置部113では、TTS化部110により各MPEG−2TSパケットに付加されたTTSカウンタ値に基づき、差替え対象となるパケット(Pkt01,03,06)のTTSの間隔を判断し、その間隔にもっとも近いポイント(Δt1≒Δt1’、 Δt2≒Δt2’)に差替え対象となるパケット(Pkt11にPkt01を、Pkt14にPkt03を、Pkt18にPkt06をそれぞれ配置)を配置する。こうすることにより、入力されたパケットに極めて近い間隔でのパケット出力が可能となる。
FIG. 9A is a diagram showing an outline of TS arrangement processing by the TS arrangement unit 113 of the digital broadcast signal processing apparatus 100.
Based on the TTS counter value added to each MPEG-2TS packet by the TTS unit 110, the TS placement unit 113 determines the TTS interval of the packet (Pkt01, 03, 06) to be replaced, Packets to be replaced (Pkt01 is arranged in Pkt11, Pkt03 is arranged in Pkt14, and Pkt06 is arranged in Pkt18) are arranged at close points (Δt1≈Δt1 ′, Δt2≈Δt2 ′). This makes it possible to output packets at intervals very close to the input packet.

図9Bは、デジタル放送信号処理装置100のTS配置部113が行う処理の流れを詳細に示すフロー図である。
図9Bにおいて、TS配置部113は、時刻情報変換処理部112からMPEG−2 TSパケットを受信し(ステップS901)、差替え対象となるMPEG−2 TSパケットに付加されたTTSカウンタ値を検索し(ステップS902)、入力されたTTSの間隔を基に、入力されたパケットに対して近い間隔でパケットの配置を行う(ステップS903)。
以上の処理を、MPEG−2 TSパケット単位で繰り返す(ステップS904)。
TS配置部113によりTS配置処理されたMPEG−2 TSがデジタル放送信号処理装置100からの出力信号として出力される。
FIG. 9B is a flowchart showing in detail the flow of processing performed by the TS placement unit 113 of the digital broadcast signal processing apparatus 100.
9B, the TS arrangement unit 113 receives the MPEG-2 TS packet from the time information conversion processing unit 112 (step S901), and searches for the TTS counter value added to the MPEG-2 TS packet to be replaced ( In step S902), based on the input TTS interval, the packets are arranged at an interval close to the input packet (step S903).
The above processing is repeated for each MPEG-2 TS packet (step S904).
The MPEG-2 TS subjected to TS placement processing by the TS placement unit 113 is output as an output signal from the digital broadcast signal processing apparatus 100.

以上、本発明のデジタル放送信号処理装置及びデジタル放送信号処理プログラムについて、具体的な実施の形態を示して説明したが、本発明はこれらに限定されるものではない。当業者であれば、本発明の要旨を逸脱しない範囲内において、上記各実施形態における各処理部の構成及び機能に様々な変更・改良を加えることが可能である。   The digital broadcast signal processing apparatus and the digital broadcast signal processing program of the present invention have been described with reference to specific embodiments, but the present invention is not limited to these. A person skilled in the art can make various changes and improvements to the configuration and function of each processing unit in each of the above embodiments without departing from the scope of the present invention.

本発明のデジタル放送信号処理装置及びデジタル放送信号処理プログラムは、図1に示すように、コンピュータのCPU、メモリ、補助記憶装置、入出力デバイス等のハードウェア資源上に構築されたソフトウェアによって実現されるものであり、複数種類のデジタル放送信号の差し替え処理という情報処理が、上記のハードウェア資源を図2〜図9Bに示すように動作させることによって実現されるものであるから、自然法則を利用した技術的思想に該当し、産業上利用することが可能な発明である。   As shown in FIG. 1, the digital broadcast signal processing apparatus and the digital broadcast signal processing program of the present invention are realized by software built on hardware resources such as a computer CPU, memory, auxiliary storage device, and input / output device. Since the information processing that replaces multiple types of digital broadcast signals is realized by operating the above hardware resources as shown in FIGS. 2 to 9B, the natural law is used. This invention falls under the technical idea and can be used industrially.

本発明の一実施形態に係るデジタル放送信号処理装置内部構成を概略的に示す図である。It is a figure which shows schematically the internal structure of the digital broadcast signal processing apparatus concerning one Embodiment of this invention. 図1に示すデジタル放送信号処理装置の全体的な動作の概略を示すシーケンス図である。It is a sequence diagram which shows the outline of the whole operation | movement of the digital broadcast signal processing apparatus shown in FIG. 図1に示すデジタル放送信号処理装置のTTS化部によるTTS化処理の概要を示す図である。It is a figure which shows the outline | summary of the TTS conversion process by the TTS conversion part of the digital broadcast signal processing apparatus shown in FIG. 図1に示すデジタル放送信号処理装置のTTS化部が行う処理の流れを詳細に示すフロー図である。It is a flowchart which shows in detail the flow of the process which the TTS part of the digital broadcast signal processing apparatus shown in FIG. 1 performs. 図1に示すデジタル放送信号処理装置のES差替部によるES差し替え処理の概要を示す図である。It is a figure which shows the outline | summary of ES replacement | exchange process by ES replacement part of the digital broadcast signal processing apparatus shown in FIG. オープンGOPにおける画像フレームの参照方法を概略的に示す図である。It is a figure which shows schematically the reference method of the image frame in open GOP. 図1に示すデジタル放送信号処理装置のES差替部によるES差し替え処理におけるGOP画像フレーム単位の調整方法を概略的に示す図である。It is a figure which shows roughly the adjustment method of the GOP image frame unit in the ES replacement process by ES replacement part of the digital broadcast signal processing apparatus shown in FIG. 図1に示すデジタル放送信号処理装置のES差替部が行う処理の流れを詳細に示すフロー図である。It is a flowchart which shows in detail the flow of the process which ES replacement part of the digital broadcast signal processing apparatus shown in FIG. 1 performs. 図1に示すデジタル放送信号処理装置の時刻情報変換処理部による時刻情報変換処理の概要を示す図である。It is a figure which shows the outline | summary of the time information conversion process by the time information conversion process part of the digital broadcast signal processing apparatus shown in FIG. 図1に示すデジタル放送信号処理装置の時刻情報変換処理部が行う処理の流れを詳細に示すフロー図である。It is a flowchart which shows in detail the flow of the process which the time information conversion process part of the digital broadcast signal processing apparatus shown in FIG. 1 performs. 図1に示すデジタル放送信号処理装置のTS配置部によるTS配置処理の概要を示す図である。It is a figure which shows the outline | summary of the TS arrangement | positioning process by TS arrangement | positioning part of the digital broadcast signal processing apparatus shown in FIG. 図1に示すデジタル放送信号処理装置のTS配置部が行う処理の流れを詳細に示すフロー図である。It is a flowchart which shows in detail the flow of the process which TS arrangement | positioning part of the digital broadcast signal processing apparatus shown in FIG. 1 performs.

符号の説明Explanation of symbols

100 デジタル放送信号処理装置
110 TTS化部
111 ES差替部
112 時刻情報変換処理部
113 TS配置部
100 Digital Broadcasting Signal Processing Device 110 TTS Unit 111 ES Replacement Unit 112 Time Information Conversion Processing Unit 113 TS Arrangement Unit

Claims (6)

入力された異なる2以上の符号化されたデジタル放送信号ストリームを部分的に差し替えて1ストリームのデジタル放送信号として出力するデジタル放送信号処理装置であって、
1つのデジタル放送信号ストリームから他のデジタル放送信号ストリームに差し替える際に、当該他のデジタル放送信号ストリームに含まれる画像フレームであって復号時に前記差し替え前のストリーム位置の画像フレームを参照する画像フレームを出力信号から除去して差し替え処理を行うストリーム差替処理手段を有することを特徴とするデジタル放送信号処理装置。
A digital broadcast signal processing apparatus that partially replaces two or more input different encoded digital broadcast signal streams and outputs the digital broadcast signal stream as one stream,
When switching from one digital broadcast signal stream to another digital broadcast signal stream, an image frame included in the other digital broadcast signal stream and referring to the image frame at the stream position before replacement at the time of decoding A digital broadcast signal processing apparatus comprising stream replacement processing means for performing replacement processing by removing from an output signal.
前記ストリーム差替処理手段により差し替え処理がされたデジタル放送信号中の前記1のデジタル放送信号に対して、当該デジタル放送信号に付加された時刻情報を前記他のデジタル放送信号の時刻情報と同一様式の時刻情報に変換する時刻情報変換処理手段を有することを特徴とする請求項1に記載のデジタル放送信号処理装置。   For the one digital broadcast signal in the digital broadcast signal replaced by the stream replacement processing means, the time information added to the digital broadcast signal is the same format as the time information of the other digital broadcast signal. 2. The digital broadcast signal processing apparatus according to claim 1, further comprising time information conversion processing means for converting the time information into the time information. 入力された各デジタル放送信号にパケット単位でタイムスタンプを付加するタイムスタンプ付加処理部と、
前記ストリーム差替処理手段により差し替え処理がされたデジタル放送信号に対して、当該デジタル放送信号の各パケットに付加されたタイムスタンプに基づいて各パケットの時間的配置を調整するパケット再配置処理手段とを有することを特徴とする請求項1又は2に記載のデジタル放送信号処理装置。
A time stamp addition processing unit for adding a time stamp to each input digital broadcast signal in units of packets;
A packet rearrangement processing unit that adjusts a temporal arrangement of each packet based on a time stamp added to each packet of the digital broadcast signal with respect to the digital broadcast signal subjected to the replacement process by the stream replacement processing unit; The digital broadcast signal processing apparatus according to claim 1 or 2, characterized by comprising:
異なる2以上の符号化されたデジタル放送信号ストリームを受信する受信手段と、
前記2以上のデジタル放送信号ストリームを部分的に差し替えて1ストリームのデジタル放送信号を生成するストリーム差替処理手段と、
前記ストリーム差替処理手段により生成された1ストリームのデジタル放送信号を出力する出力手段とをデジタル放送信号処理装置において用いられるデジタル放送信号処理プログラムであって、
1つのデジタル放送信号ストリームから他のデジタル放送信号ストリームに差し替える際に、当該他のデジタル放送信号ストリームに含まれる画像フレームであって復号時に前記差し替え前のストリーム位置の画像フレームを参照する画像フレームを出力信号から除去して差し替え処理を行うストリーム差替処理ステップを実行することを特徴とするデジタル放送信号処理プログラム。
Receiving means for receiving two or more different encoded digital broadcast signal streams;
Stream replacement processing means for partially replacing the two or more digital broadcast signal streams to generate one stream of digital broadcast signals;
A digital broadcast signal processing program used in the digital broadcast signal processing apparatus, and an output means for outputting a digital broadcast signal of one stream generated by the stream replacement processing means,
When switching from one digital broadcast signal stream to another digital broadcast signal stream, an image frame included in the other digital broadcast signal stream and referring to the image frame at the stream position before replacement at the time of decoding A digital broadcast signal processing program for executing a stream replacement processing step for performing replacement processing by removing from an output signal.
前記ストリーム差替処理ステップを実行した後に、
差し替え処理されたデジタル放送信号中の前記1のデジタル放送信号に対して、当該デジタル放送信号に付加された時刻情報を前記他のデジタル放送信号の時刻情報と同一様式の時刻情報に変換する時刻情報変換処理ステップを実行することを特徴とする請求項4に記載のデジタル放送信号処理プログラム。
After executing the stream replacement process step,
Time information for converting the time information added to the digital broadcast signal into time information of the same format as the time information of the other digital broadcast signal with respect to the one digital broadcast signal in the replaced digital broadcast signal 5. The digital broadcast signal processing program according to claim 4, wherein the conversion processing step is executed.
前記ストリーム差替処理ステップを実行する前に、
入力された各デジタル放送信号にパケット単位でタイムスタンプを付加するタイムスタンプ付加処理ステップを実行し、
前記ストリーム差替処理ステップを実行した後又は前記時刻情報変換処理ステップを実行した後に、
差し替え処理されたデジタル放送信号に対して、当該デジタル放送信号の各パケットに付加されたタイムスタンプに基づいて各パケットの時間的配置を調整するパケット再配置処理を実行することを特徴とする請求項4又は5に記載のデジタル放送信号処理プログラム。
Before executing the stream replacement process step,
Execute a time stamp addition processing step of adding a time stamp to each input digital broadcast signal in units of packets;
After executing the stream replacement processing step or after executing the time information conversion processing step,
A packet rearrangement process is performed on the digital broadcast signal subjected to the replacement process, and the packet rearrangement process is performed to adjust a temporal arrangement of each packet based on a time stamp added to each packet of the digital broadcast signal. The digital broadcast signal processing program according to 4 or 5.
JP2008308572A 2008-12-03 2008-12-03 Apparatus and program for processing digital broadcast signal Withdrawn JP2010135990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008308572A JP2010135990A (en) 2008-12-03 2008-12-03 Apparatus and program for processing digital broadcast signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008308572A JP2010135990A (en) 2008-12-03 2008-12-03 Apparatus and program for processing digital broadcast signal

Publications (1)

Publication Number Publication Date
JP2010135990A true JP2010135990A (en) 2010-06-17

Family

ID=42346847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008308572A Withdrawn JP2010135990A (en) 2008-12-03 2008-12-03 Apparatus and program for processing digital broadcast signal

Country Status (1)

Country Link
JP (1) JP2010135990A (en)

Similar Documents

Publication Publication Date Title
JP4039417B2 (en) Recording / playback device
US9438924B2 (en) Video encoding apparatus, video decoding apparatus, video encoding method, and video decoding method
US20200177907A1 (en) Video encoding apparatus, video decoding apparatus, video encoding method, and video decoding method
JP4650112B2 (en) RECORDING / OUTPUT DEVICE, RECORDING / OUTPUT METHOD, AND RECORDING DEVICE
JP2008236667A (en) Digital broadcast receiver
CN102326403B (en) Utilize exterior artwork attribute flags to carry out accelerating channel and change the time
JP2006229510A (en) Digital satellite broadcasting system, transmitting station, and receiver
US20140003519A1 (en) Video encoding apparatus, video decoding apparatus, video encoding method, and video decoding method
US20080232782A1 (en) Recording apparatus, image reproducing apparatus, and special reproduction method therefor
JP2010135990A (en) Apparatus and program for processing digital broadcast signal
JP2010081141A (en) Closed caption system and closed caption method
US20060104255A1 (en) Broadcast data transmission/reception system and broadcast data transmission/reception method
JP4764707B2 (en) Program unit separation device and program unit separation program
KR101356737B1 (en) Method and apparatus for updating decoder configuration
JP4762340B2 (en) Signal processing apparatus and signal processing method
JP2006262319A (en) Broadcast signal sending system
JP2008154049A (en) Transcoding system, transcoding method, transcoding program including method, and storage medium where same program is stored
JP2008153955A (en) Video recording and reproducing device, and its method for special reproduction
JP2007259195A (en) Multiplexed stream conversion device and method
JP2013098721A (en) Transport stream recording device and transport stream recording method
JP5358247B2 (en) Digital broadcast receiving apparatus, control method thereof, and program
JP2014132730A (en) Sync information generation device and program thereof, and sync data reproduction device and program thereof
JP2009231920A (en) Content encoding device and content encoding/multiplexing device
JP2004200798A (en) Mpeg transport stream generating apparatus and mpeg stream recording- reproducing apparatus
JP2007089208A (en) Transcoding method, digital video data transmitting method, digital video data receiving method, digital video data recording method, transcoding apparatus, digital video data transmitting apparatus, digital video data receiving apparatus, digital video data recording apparatus and program

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: 20120207