JP2014017607A - Video distribution device and video distribution method - Google Patents

Video distribution device and video distribution method Download PDF

Info

Publication number
JP2014017607A
JP2014017607A JP2012152626A JP2012152626A JP2014017607A JP 2014017607 A JP2014017607 A JP 2014017607A JP 2012152626 A JP2012152626 A JP 2012152626A JP 2012152626 A JP2012152626 A JP 2012152626A JP 2014017607 A JP2014017607 A JP 2014017607A
Authority
JP
Japan
Prior art keywords
data stream
packet
unit
transport stream
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012152626A
Other languages
Japanese (ja)
Inventor
典佑 ▲高▼尾
Norisuke Takao
Tsutomu Togo
努 藤後
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 JP2012152626A priority Critical patent/JP2014017607A/en
Publication of JP2014017607A publication Critical patent/JP2014017607A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a video distribution device capable of implementing high-quality live distribution with high reliability.SOLUTION: A video distribution device comprises: a first generation unit which generates a first data stream which synchronizes with a first clock signal and in which a plurality of packets are arranged in time series from an input data stream including video information in which a plurality of pictures are arranged in time series; a second generation unit which generates a second data stream which synchronizes with a second clock signal different from the first clock signal and in which the plurality of packets are arranged in time series from the input data stream; and a switching unit which inputs the first data stream and the second data stream, and outputs the first data stream or the second data stream in which time information is corrected on the basis of time difference, on the basis of packet contents having the time information included in the first data stream and the second data stream.

Description

本件開示は、映像を配信する映像配信装置及び映像配信方法に関する。   The present disclosure relates to a video distribution apparatus and a video distribution method for distributing video.

ビデオ・オン・デマンドサービスなどのために、既存のコンテンツに含まれる映像を含むマルチメディアデータを連続的に配信するための技術として、例えば、マルチメディアデータの配信処理を行うサーバを二重化する技術が提案されている(特許文献1参照)。   As a technique for continuously distributing multimedia data including video included in existing contents for video-on-demand services, for example, there is a technique for duplicating a server that performs multimedia data distribution processing. It has been proposed (see Patent Document 1).

特許文献1の技術は、稼動系サーバと待機系サーバとに夫々蓄積された圧縮ビデオデータを一定時間遅延させながら同期して伸長処理を行い、稼動系サーバの障害検知から上述した一定時間の遅延内に待機系サーバに切り替えることで、連続的な配信を達成している。   The technique of Patent Document 1 performs the decompression process in synchronization with the compressed video data stored in the active server and the standby server being delayed for a predetermined time, and the delay of the predetermined time described above from the detection of the failure of the active server. By switching to the standby server, continuous delivery is achieved.

近年では、サーバ内に完成された形で蓄積されたマルチメディアコンテンツを配信するサービスに加えて、ライブカメラからの映像やコンサート会場で撮影された映像などを即時に配信するライブ配信サービスも提供されている。   In recent years, in addition to services that deliver multimedia content that has been completed in the server, live delivery services that provide immediate delivery of images from live cameras and images taken at concert venues have also been provided. ing.

このようなライブ配信サービスにおいて、連続的な配信を実現するための技術として、二重化された伝送経路を用いて配信する技術が提案されている(特許文献2参照)。   In such a live distribution service, as a technique for realizing continuous distribution, a technique for distributing using a duplexed transmission path has been proposed (see Patent Document 2).

特許文献2の技術は、ライブ映像を符号化して得られたパケット列を2系統に分岐させ、各系統のパケット列を互いに異なる伝送経路に送出する。また、受信側でシーケンス番号に基づくパケットの選別を行うことで、2つの伝送経路のいずれかにおける異常発生にかかわらず、受信側の端末装置に全てのパケットを正常な順序で到達させる。   In the technique of Patent Document 2, a packet sequence obtained by encoding live video is branched into two systems, and the packet sequences of each system are sent to different transmission paths. Further, by selecting packets based on the sequence number on the receiving side, all packets reach the receiving-side terminal device in a normal order regardless of the occurrence of an abnormality in one of the two transmission paths.

特開2007−60293号公報JP 2007-60293 A 特開2008−306545号公報JP 2008-306545 A

ところで、特許文献1の技術は、二重化されたサーバの夫々に同一内容の圧縮ビデオデータが蓄積されていることを前提としている。このため、蓄積されたデータが十分に存在しないライブ配信サービスに適用することはできない。   By the way, the technique of Patent Document 1 is based on the premise that compressed video data having the same content is stored in each of the duplicated servers. For this reason, it cannot be applied to a live distribution service in which accumulated data does not exist sufficiently.

一方、特許文献2の技術は、二重化された伝送路の一方に障害が発生した場合に、他方の伝送路経由のパケット列を受信させることにより、ライブ配信サービスを利用者に継続して提供することが可能である。しかしながら、特許文献2の技術においては、ライブ映像の符号化処理などを行う配信サーバ自体に障害が発生した場合には、ライブ配信サービスを継続することができなくなってしまう。また、特許文献2の技術を用いてライブ配信サービスの提供を受けるためには、二重化された伝送路を維持するためのコストを利用者が負担することが必要となる。   On the other hand, the technology of Patent Document 2 continuously provides a user with a live distribution service by receiving a packet sequence via the other transmission path when a failure occurs in one of the duplex transmission paths. It is possible. However, in the technique of Patent Document 2, if a failure occurs in the distribution server itself that performs the encoding process of live video, the live distribution service cannot be continued. In addition, in order to receive the provision of the live distribution service using the technique of Patent Document 2, it is necessary for the user to bear the cost for maintaining the duplexed transmission path.

本件開示の装置は、高品質のライブ配信を高い信頼性で実現可能な映像配信装置及び映像配信方法を提供することを目的とする。   An object of the present disclosure is to provide a video distribution apparatus and a video distribution method capable of realizing high-quality live distribution with high reliability.

一つの観点による映像配信装置は、複数のピクチャが時系列的に配列された映像情報を含む入力データストリームから、複数のパケットが時系列的に配列され第1クロック信号に同期した第1データストリームを生成する第1生成部と、前記入力データストリームから、複数のパケットが時系列的に配列され前記第1クロック信号とは異なる第2クロック信号に同期した第2データストリームを生成する第2生成部と、前記第1データストリームおよび前記第2データストリームを入力し、前記第1データストリーム、および、前記第2データストリームにそれぞれ含まれる時刻情報を有するパケット内容に基づき、前記第1データストリームまたは時刻差分に基づき前記時刻情報を補正された前記第2データストリームのいずれかを出力する切り替え部とを有する。   A video distribution apparatus according to one aspect includes a first data stream in which a plurality of packets are arranged in time series and synchronized with a first clock signal from an input data stream including video information in which a plurality of pictures are arranged in time series And a second generation for generating a second data stream synchronized with a second clock signal different from the first clock signal, in which a plurality of packets are arranged in time series from the input data stream And the first data stream and the second data stream, and based on packet contents having time information included in the first data stream and the second data stream, respectively, the first data stream or One of the second data streams in which the time information is corrected based on a time difference is output. And a switching unit.

また、別の観点による映像配信方法は、複数のピクチャが時系列的に配列された映像情報を含む入力データストリームから、複数のパケットが時系列的に配列され第1クロック信号に同期した第1データストリームを生成し、前記入力データストリームから、複数のパケットが時系列的に配列され前記第1クロック信号とは異なる第2クロック信号に同期した第2データストリームを生成し、前記第1データストリームおよび前記第2データストリームを入力し、前記第1データストリーム、および、前記第2データストリームにそれぞれ含まれる時刻情報を有するパケット内容に基づき、前記第1データストリームまたは時刻差分に基づき前記時刻情報を補正された前記第2データストリームのいずれかを出力する。   According to another aspect of the video delivery method, a first packet signal in which a plurality of packets are arranged in time series and synchronized with a first clock signal from an input data stream including video information in which a plurality of pictures are arranged in time series. Generating a data stream, generating, from the input data stream, a second data stream in which a plurality of packets are arranged in time series and synchronized with a second clock signal different from the first clock signal, and the first data stream And the second data stream is input, based on packet contents having time information included in the first data stream and the second data stream, respectively, the time information based on the first data stream or time difference One of the corrected second data streams is output.

本件開示の映像配信装置及び映像配信方法によれば、高品質のライブ配信を高い信頼性で実現可能である。   According to the video distribution device and the video distribution method of the present disclosure, high-quality live distribution can be realized with high reliability.

映像配信装置の一実施形態を示す図である。It is a figure which shows one Embodiment of a video delivery apparatus. 第1クロックによる時刻と第2クロックによる時刻との違いを説明する図である。It is a figure explaining the difference between the time by a 1st clock, and the time by a 2nd clock. 検出部及び補正部の一実施形態を示す図である。It is a figure which shows one Embodiment of a detection part and a correction | amendment part. 映像配信装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of a video delivery apparatus. トランスポートストリームの切り替えを説明する図である。It is a figure explaining switching of a transport stream. 映像配信装置の別実施形態を示す図である。It is a figure which shows another embodiment of a video delivery apparatus. 障害通知パケットの例を示す図である。It is a figure which shows the example of a failure notification packet. 障害の発生に応じた符号化処理の切り替えの一例を示す図である。It is a figure which shows an example of the switching of the encoding process according to generation | occurrence | production of a failure. 映像配信装置のハードウェア構成の別例を示す図である。It is a figure which shows another example of the hardware constitutions of a video delivery apparatus. 切替ユニットのハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of a switching unit. 第2トランスポートストリームTS2を調整する処理のフローチャートの例を示す図である。It is a figure which shows the example of the flowchart of the process which adjusts 2nd transport stream TS2. スイッチ制御処理のフローチャートの例を示す図である。It is a figure which shows the example of the flowchart of switch control processing. 映像配信装置の別実施形態を示す図である。It is a figure which shows another embodiment of a video delivery apparatus. 切替予告に基づく符号化処理の切り替え例を示す図である。It is a figure which shows the example of a switching of the encoding process based on a switch notice. 映像配信装置のハードウェア構成の別例を示す図である。It is a figure which shows another example of the hardware constitutions of a video delivery apparatus. 予告切り替え処理のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of a notice switching process.

以下、図面に基づいて、本発明の実施形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、映像配信装置の一実施形態を示す。図1に例示した映像配信装置10は、ビデオカメラ1によって取得された映像情報及び音声情報を含む入力データストリームSinから、複数のパケットが時系列的に配列されたデータストリームの一例であるトランスポートストリームを生成する。   FIG. 1 shows an embodiment of a video distribution apparatus. The video distribution apparatus 10 illustrated in FIG. 1 is a transport that is an example of a data stream in which a plurality of packets are arranged in time series from an input data stream Sin including video information and audio information acquired by the video camera 1. Create a stream.

また、映像配信装置10は、生成したトランスポートストリームを伝送路Routに送出し、利用者の受信端末(図示せず)に配信する。   Also, the video distribution device 10 sends the generated transport stream to the transmission path Rout and distributes it to the user's receiving terminal (not shown).

映像配信装置10は、第1生成部11と、第1クロック生成部12と、第2生成部13と、第2クロック生成部14と、切り替え部15とを含んでいる。また、切り替え部15は、第1バッファ151と、第2バッファ152と、検出部153と、補正部154と、切替スイッチ155と、切替制御部156とを含んでいる。   The video distribution device 10 includes a first generation unit 11, a first clock generation unit 12, a second generation unit 13, a second clock generation unit 14, and a switching unit 15. The switching unit 15 includes a first buffer 151, a second buffer 152, a detection unit 153, a correction unit 154, a changeover switch 155, and a switching control unit 156.

図1に示した第1生成部11および第1クロック生成部12は、第1サーバ装置20に含まれており、一方、第2生成部13および第2クロック生成部14は、上述した第1サーバ装置20とは別の第2サーバ装置30に含まれている。なお、第1クロック生成部12は、第1クロック信号CLK1を生成し、第2クロック生成部14は、上述した第1クロック信号CLK1とは異なる第2クロック信号CLK2を生成する。第1クロック信号CLK1は、第1サーバ装置20のシステムタイムクロックとしても用いられ、同様に、第2クロック信号CLK2は、第2サーバ装置30のシステムタイムクロックとしても用いられる。   The first generation unit 11 and the first clock generation unit 12 illustrated in FIG. 1 are included in the first server device 20, while the second generation unit 13 and the second clock generation unit 14 are configured as described above. It is included in a second server device 30 different from the server device 20. The first clock generation unit 12 generates a first clock signal CLK1, and the second clock generation unit 14 generates a second clock signal CLK2 that is different from the first clock signal CLK1 described above. The first clock signal CLK1 is also used as a system time clock for the first server device 20, and similarly, the second clock signal CLK2 is also used as a system time clock for the second server device 30.

また、切り替え部15は、第1サーバ装置20及び第2サーバ装置30とは別の独立した装置として設けてもよいし、また、例えば、図1に示すように、一部の構成要素を、第2サーバ装置30の内部に設けてもよい。図1の例では、切り替え部15に含まれる構成要素のうち、第2バッファ152と検出部153と補正部154とは、上述した第2サーバ装置30に含まれている。一方、切り替え部15に含まれる構成要素のうち、第1バッファ151と切り替えスイッチ155と切替制御部156とは、上述した第1サーバ装置20および第2サーバ装置30から独立した切り替えユニット40に含まれている。なお、図1に示した切替ユニット40は、第2サーバ装置30及び第1サーバ装置20に伝送路を介して接続されている。   In addition, the switching unit 15 may be provided as an independent device different from the first server device 20 and the second server device 30. For example, as illustrated in FIG. You may provide in the inside of the 2nd server apparatus 30. FIG. In the example of FIG. 1, among the components included in the switching unit 15, the second buffer 152, the detection unit 153, and the correction unit 154 are included in the second server device 30 described above. On the other hand, among the components included in the switching unit 15, the first buffer 151, the changeover switch 155, and the switching control unit 156 are included in the switching unit 40 independent from the first server device 20 and the second server device 30 described above. It is. Note that the switching unit 40 illustrated in FIG. 1 is connected to the second server device 30 and the first server device 20 via a transmission path.

図1に示した第1生成部11は、第1クロック生成部12から供給される第1クロック信号CLK1に同期して符号化処理およびパケット化処理を実行することにより、上述した入力データストリームSinから第1トランスポートストリームTS1を生成する。なお、入力データストリームSinに含まれる映像情報は、複数のピクチャが時系列的に配列された情報である。また、第1トランスポートストリームは、複数のパケットが時系列的に配列され、上述した第1クロック信号CLK1に同期した第1データストリームの一例である。   The first generation unit 11 illustrated in FIG. 1 performs the encoding process and the packetization process in synchronization with the first clock signal CLK1 supplied from the first clock generation unit 12, thereby the input data stream Sin described above. To generate a first transport stream TS1. Note that the video information included in the input data stream Sin is information in which a plurality of pictures are arranged in time series. The first transport stream is an example of a first data stream in which a plurality of packets are arranged in time series and synchronized with the first clock signal CLK1 described above.

また、第2生成部13は、第2クロック生成部14から供給される第2クロック信号CLK2に同期して符号化処理およびパケット化処理を実行することにより、上述した入力データストリームSinから第2トランスポートストリームTS2を生成する。なお、第2トランスポートストリームは、複数のパケットが時系列的に配列され、上述した第2クロック信号CLK2に同期した第2データストリームの一例である。   In addition, the second generation unit 13 executes the encoding process and the packetization process in synchronization with the second clock signal CLK2 supplied from the second clock generation unit 14, thereby performing the second generation from the input data stream Sin described above. A transport stream TS2 is generated. The second transport stream is an example of a second data stream in which a plurality of packets are arranged in time series and synchronized with the above-described second clock signal CLK2.

第1トランスポートストリームTS1及び第2トランスポートストリームTS2それぞれに含まれる複数のパケットは固定のデータ長を有し、それぞれ後述する時刻情報を含んでいる。また、各パケットに含まれるデータは、入力データストリームSinの映像情報及び音声情報を符号化して得られる映像エレメンタリストリーム及び音声エレメンタリストリームを所定のデータ長ごとに分割することで得られる。   A plurality of packets included in each of the first transport stream TS1 and the second transport stream TS2 have a fixed data length, and each include time information described later. Further, the data included in each packet is obtained by dividing the video elementary stream and the audio elementary stream obtained by encoding the video information and the audio information of the input data stream Sin for each predetermined data length.

図1に示した切り替え部15は、第1トランスポートストリームTS1及び第2トランスポートストリームTS2を入力する。即ち、切り替え部15は、第1生成部11、第2生成部13から、それぞれ第1トランスポートストリームTS1と第2トランスポートストリームTS2とを受け取る。また、切り替え部15は、第1トランスポートストリームTS1と、後述するようにして時刻情報を補正された第2トランスポートストリームとのいずれかを出力する
図1に示した第1生成部11および第2生成部13は、同一の入力データストリームSinの入力を受けている。したがって、第1生成部11および第2生成部13が、入力データストリームSinの映像情報に含まれる各ピクチャをIピクチャとして符号化すれば、各パケットに含まれる符号化データが互いに同一である2系統のトランスポートストリームを得ることができる。
The switching unit 15 illustrated in FIG. 1 inputs the first transport stream TS1 and the second transport stream TS2. That is, the switching unit 15 receives the first transport stream TS1 and the second transport stream TS2 from the first generation unit 11 and the second generation unit 13, respectively. Further, the switching unit 15 outputs either the first transport stream TS1 or the second transport stream whose time information is corrected as will be described later. The 2 generation unit 13 receives an input of the same input data stream Sin. Therefore, if the first generation unit 11 and the second generation unit 13 encode each picture included in the video information of the input data stream Sin as an I picture, the encoded data included in each packet is the same 2 A system transport stream can be obtained.

しかしながら、上述したように、第1生成部11と第2生成部13とは、互いに異なる第1クロック信号CLK1と第2クロック信号CLK2とに従って動作する。このため、第1トランスポートストリームTS1に含まれるプログラムクロックリファレンス(PCR:Program Clock Reference)などの時刻情報と、第2トランスポートストリームTS2に含まれる対応する時刻情報とは互いに同期していない。つまり、第1トランスポートストリームTS1の各パケットに含まれる時刻情報と、第2トランスポートストリームTS2の各パケットに含まれる時刻情報との間には時刻差分がある。   However, as described above, the first generation unit 11 and the second generation unit 13 operate according to the first clock signal CLK1 and the second clock signal CLK2 which are different from each other. For this reason, time information such as a program clock reference (PCR) included in the first transport stream TS1 and corresponding time information included in the second transport stream TS2 are not synchronized with each other. That is, there is a time difference between the time information included in each packet of the first transport stream TS1 and the time information included in each packet of the second transport stream TS2.

時刻情報が互いに同期していない2つのトランスポートストリームを配信中に切り替えると、2つのトランスポートストリームに含まれる情報が同一であっても、受信側の再生や復元に用いる時刻情報の一貫性が崩れるために、映像が途切れてしまうおそれがある。   When two transport streams whose time information is not synchronized with each other are switched during distribution, the consistency of the time information used for reproduction and restoration on the receiving side is maintained even if the information included in the two transport streams is the same. There is a possibility that the video is interrupted due to collapse.

つまり、第1トランスポートストリームTS1と第2トランスポートストリームTS2に含まれる時刻情報が互いに同期しないこと、即ち、時刻差分が存在することが、2台のサーバ装置を用いてトランスポートストリームの生成を二重化する際の課題であった。   That is, the time information included in the first transport stream TS1 and the second transport stream TS2 is not synchronized with each other, that is, that there is a time difference, it is possible to generate a transport stream using two server devices. It was a problem when duplexing.

本件開示の映像配信装置10は、図1に示すような切り替え部15を用いて第1トランスポートストリームTS1と第2トランスポートストリームTS2とを切り替えることにより、上述した課題の解決を図っている。   The video distribution device 10 according to the present disclosure attempts to solve the above-described problem by switching between the first transport stream TS1 and the second transport stream TS2 using the switching unit 15 as illustrated in FIG.

図1に示した切り替え部15に含まれる第1バッファ151は、第1生成部11から受け取った第1トランスポートストリームTS1に所定の遅延を与え、遅延させた第1トランスポートストリームTS1を切替スイッチ155に渡す。   The first buffer 151 included in the switching unit 15 illustrated in FIG. 1 gives a predetermined delay to the first transport stream TS1 received from the first generation unit 11, and switches the delayed first transport stream TS1 to a switch. Pass to 155.

また、第2バッファ152は、第2生成部13で生成された第2トランスポートストリームTS2に、上述した第1バッファ151と好ましくは同一の遅延を与え、遅延させた第2トランスポートストリームTS2を補正部154に渡す。   In addition, the second buffer 152 gives the second transport stream TS2 generated by the second generation unit 13 preferably the same delay as the first buffer 151 described above, and the second transport stream TS2 that has been delayed is given. It passes to the correction unit 154.

検出部153は、第1トランスポートストリームTS1に含まれる時刻情報と、第2トランスポートストリームTS2に含まれる時刻情報とに基づいて、第1クロック生成部12で示される時刻と第2クロック生成部14で示される時刻と間の時刻差分を検出する。   Based on the time information included in the first transport stream TS1 and the time information included in the second transport stream TS2, the detection unit 153 includes the time indicated by the first clock generation unit 12 and the second clock generation unit. The time difference between the time indicated by 14 is detected.

補正部154は、検出部153で得た時刻差分に基づいて、第2バッファ152から渡された第2トランスポートストリームTS2に含まれる時刻情報を補正することにより、第1生成部11で得られた第1トランスポートストリームTS1の時刻情報に同期させる。補正部154は、後述するように第2トランスポートストリームTS2の時刻情報を補正することで、補正後の時刻情報を、上述した第1クロック信号CLK1に基づいて設定された時刻情報と同等にする。   The correction unit 154 corrects the time information included in the second transport stream TS2 passed from the second buffer 152 based on the time difference obtained by the detection unit 153, thereby obtaining the first generation unit 11. The time information of the first transport stream TS1 is synchronized. The correcting unit 154 corrects the time information of the second transport stream TS2 as described later, thereby making the corrected time information equivalent to the time information set based on the first clock signal CLK1 described above. .

切替スイッチ155は、切替制御部156からの指示に応じて、遅延させられた第1トランスポートストリームTS1を伝送路Routに送出する第1状態と、補正された第2トランスポートストリームTS2を伝送路Routに送出する第2状態とを切り替える。   In response to an instruction from the switching control unit 156, the changeover switch 155 transmits the delayed first transport stream TS1 to the transmission line Rout and the corrected second transport stream TS2 to the transmission line. The second state to be sent to Rout is switched.

切替制御部156は、第1生成部11が正常に動作している場合は、切替スイッチ155を第1状態に設定し、第1生成部11に障害が発生した場合に、切替スイッチ155の状態を第2状態に切り替える。   The switching control unit 156 sets the changeover switch 155 to the first state when the first generation unit 11 is operating normally, and the state of the changeover switch 155 when a failure occurs in the first generation unit 11. Is switched to the second state.

上述したように、補正部154から切替スイッチ155に渡される第2トランスポートストリームTS2の時刻情報と、第1バッファ151から切替スイッチ155に渡される第1トランスポートストリームTS1の時刻情報とは互いに同期している。   As described above, the time information of the second transport stream TS2 passed from the correction unit 154 to the changeover switch 155 and the time information of the first transport stream TS1 passed from the first buffer 151 to the changeover switch 155 are synchronized with each other. doing.

したがって、障害の発生に応じて、切替スイッチ155が、上述した第1状態から第2状態に切り替わった際にも、伝送路Routに送出される第3トランスポートストリームの時刻情報の一貫性を維持することができる。これにより、第1トランスポートストリームTS1から第2トランスポートストリームTS2への切り替えの際に、時刻情報の一貫性が崩れてしまうことによる映像の瞬断などが発生することを防ぐことができる。   Therefore, even when the changeover switch 155 is switched from the first state to the second state according to the occurrence of a failure, the time information of the third transport stream sent to the transmission line Rout is maintained consistent. can do. As a result, when switching from the first transport stream TS1 to the second transport stream TS2, it is possible to prevent the occurrence of an instantaneous interruption of the video due to the inconsistency of the time information.

このように、本件開示の映像配信装置10によれば、第1生成部11と第2生成部13とによってそれぞれ生成される2系統のトランスポートストリームTS1,TS2について、時刻情報の一貫性を維持した切り替えを実現することができる。したがって、第1生成部11における障害の発生した場合でも、伝送路Routを介して第3トランスポートストリームを受信する受信端末は、切れ目のない高品質の映像及び音声を享受することができる。   Thus, according to the video distribution device 10 disclosed herein, the consistency of time information is maintained for the two transport streams TS1 and TS2 generated by the first generation unit 11 and the second generation unit 13, respectively. Switching can be realized. Therefore, even when a failure occurs in the first generation unit 11, the receiving terminal that receives the third transport stream via the transmission path Rout can enjoy high-quality video and audio without a break.

つまり、本件開示の映像配信装置10によれば、高品質のライブ配信を高い信頼性で実現可能であるので、ライブ配信サービスの利用者に対して、品質の高いサービスを提供することができる。   That is, according to the video distribution device 10 of the present disclosure, high-quality live distribution can be realized with high reliability, and thus a high-quality service can be provided to users of the live distribution service.

次に、図1に示した検出部153により、第1クロック信号CLK1に基づく時刻と第2クロック信号CLK2に基づく時刻との間の時刻差分を検出する手法及び検出した時刻差分に基づいて時刻情報の補正を行う手法について、図2及び図3を参照して説明する。   Next, the detection unit 153 illustrated in FIG. 1 detects a time difference between the time based on the first clock signal CLK1 and the time based on the second clock signal CLK2, and time information based on the detected time difference. A method for performing the correction will be described with reference to FIGS.

図2は、第1クロック生成部12による時刻と第2クロック生成部14による時刻との違いを説明する図である。なお、図2において、符号CLK1は、第1クロック生成部12から供給されるクロック信号CLK1の例を示し、符号CLK2は、第2クロック生成部14から供給されるクロック信号CLK2の例を示している。また、符号NUM1は、第1クロック生成部12に同期した計数動作によって得られる計数値を示し、符号NUM2は、第2クロック生成部14に同期した計数動作によって得られる計数値を示している。   FIG. 2 is a diagram for explaining the difference between the time by the first clock generation unit 12 and the time by the second clock generation unit 14. In FIG. 2, the symbol CLK1 indicates an example of the clock signal CLK1 supplied from the first clock generator 12, and the symbol CLK2 indicates an example of the clock signal CLK2 supplied from the second clock generator 14. Yes. Reference numeral NUM1 represents a count value obtained by a counting operation synchronized with the first clock generation unit 12, and reference numeral NUM2 represents a count value obtained by a counting operation synchronized with the second clock generation unit 14.

図1に示した第1サーバ装置20と第2サーバ装置30とが同等の性能を持っている場合に、クロック信号CLK1の周期τ1とクロック信号CLK2の周期τ2とはほぼ同等である。しかしながら、この場合でも、クロック信号CLK1の周期τ1とクロック信号CLK2の周期τ2とは厳密には一致しない。また、第1サーバ装置20が動作を開始した時刻と第2サーバ装置30が動作を開始した時刻とは、一致しない場合が多い。   When the first server device 20 and the second server device 30 shown in FIG. 1 have equivalent performance, the cycle τ1 of the clock signal CLK1 and the cycle τ2 of the clock signal CLK2 are substantially equal. However, even in this case, the cycle τ1 of the clock signal CLK1 and the cycle τ2 of the clock signal CLK2 do not exactly match. In many cases, the time when the first server device 20 starts operating does not coincide with the time when the second server device 30 starts operating.

このため、図2に示すように、計数値NUM1は、時刻T0以降において、オフセット値Of1から1ずつ増加していくのに対して、計数値NUM2は、上述したオフセット値Of1とは異なるオフセット値Of2から1ずつ増加していく。   Therefore, as shown in FIG. 2, the count value NUM1 increases from the offset value Of1 by 1 after time T0, whereas the count value NUM2 is different from the offset value Of1 described above. It increases by 1 from Of2.

図1に示した第1生成部11は、上述した第1クロック生成部12に同期して第1トランスポートストリームTS1を生成する過程で、500ミリ秒ごとに、上述した計数値NUM1をプログラムクロックリファレンスとして含むPCRパケットを挿入する。以下の説明では、プログラムクロックリファレンスをPCR(Program Clock Reference)と略称する。また、第1生成部13も、上述した第2クロック生成部14に同期して第2トランスポートストリームTS2を生成する過程で、同様に500ミリ秒間隔で上述した計数値NUM2をPCRとして含むPCRパケットを挿入する。なお、図2において、第1トランスポートストリームTS1に挿入されたPCRパケットの例を符号PCR1で示し、第2トランスポートストリームTS2に挿入されたPCRパケットの例を符号PCR2で示している。   The first generation unit 11 illustrated in FIG. 1 generates the first transport stream TS1 in synchronization with the first clock generation unit 12 described above, and generates the above-described count value NUM1 as a program clock every 500 milliseconds. Insert a PCR packet to include as a reference. In the following description, the program clock reference is abbreviated as PCR (Program Clock Reference). The first generation unit 13 also generates the second transport stream TS2 in synchronization with the second clock generation unit 14 described above, and similarly includes a PCR including the count value NUM2 described above at intervals of 500 milliseconds. Insert a packet. In FIG. 2, an example of a PCR packet inserted into the first transport stream TS1 is indicated by reference numeral PCR1, and an example of a PCR packet inserted into the second transport stream TS2 is indicated by reference numeral PCR2.

図1に示した検出部153は、例えば、第1トランスポートストリームTS1と第2トランスポートストリームTS2とにそれぞれに含まれるPCRとを、次のようにして照合する。そして、検出部153は、照合結果に基づいて、第1クロック生成部12による時刻と第2クロック生成部14による時刻との間の時刻差分を検出する。   For example, the detection unit 153 illustrated in FIG. 1 collates the PCR included in each of the first transport stream TS1 and the second transport stream TS2 as follows. Then, the detection unit 153 detects a time difference between the time by the first clock generation unit 12 and the time by the second clock generation unit 14 based on the collation result.

検出部153は、第1トランスポートストリームTS1からPCRパケット(PCR1)を検出した時刻と第2トランスポートストリームTS2からPCRパケット(PCR2)を検出した時刻との差τdを求める。時刻の差τdは、図2に示すように、PCRパケット(PCR1)が第1トランスポートストリームTS1に挿入された時刻T1とPCRパケット(PCR2)が第2トランスポートストリームTS2に挿入された時刻T2との差に相当する。   The detection unit 153 obtains a difference τd between the time when the PCR packet (PCR1) is detected from the first transport stream TS1 and the time when the PCR packet (PCR2) is detected from the second transport stream TS2. As shown in FIG. 2, the time difference τd is equal to the time T1 when the PCR packet (PCR1) is inserted into the first transport stream TS1 and the time T2 when the PCR packet (PCR2) is inserted into the second transport stream TS2. This is equivalent to the difference.

したがって、第1クロック信号CLK1に基づく時刻T2を示す計数値NUM1(T2)は、上述した時刻T1と時刻T2との差τdと上述したPCRパケット(PCR1)にPCRとして設定された値Pcr1とを用いて、式(1)のように表すことができる。
NUM1(T2)=Pcr1+τd/τ1 ・・・(1)
そして、第1クロック信号CLK1に基づく時刻と第2クロック信号CLK2に基づく時刻との時刻差分dは、式(2)に示すように、上述した値NUM1(T2)とPCRパケット(PCR2)にPCRとして設定された値Pcr2との差として得ることができる。
d=Pcr2−NUM1(T2)=Pcr2−Pcr1−τd/τ1 ・・・(2)
図1に示した検出部153は、第1トランスポートストリームTS1と第2トランスポートストリームTS2とを監視することで、上述した式(2)を用いて時刻差分dを得るために必要な情報を取得することができる。つまり、検出部153は、第1トランスポートストリームTS1および第2トランスポートストリームTS2からそれぞれPCRパケット(PCR1),(PCR2)を検出し、これらを検出した時刻T1,T2を取得する。また、検出部153は、検出したPCRパケット(PCR1),(PCR2)から、それぞれにPCRとして設定された値Pcr1,Pcr2を取得する。そして、検出部153は、取得した情報に上述した式(1)、(2)を適用することにより、上述した時刻差分dを求めればよい。
Therefore, the count value NUM1 (T2) indicating the time T2 based on the first clock signal CLK1 is obtained by calculating the difference τd between the time T1 and the time T2 described above and the value Pcr1 set as the PCR in the PCR packet (PCR1) described above. And can be expressed as shown in Equation (1).
NUM1 (T2) = Pcr1 + τd / τ1 (1)
Then, the time difference d between the time based on the first clock signal CLK1 and the time based on the second clock signal CLK2 is represented by the value NUM1 (T2) and the PCR packet (PCR2) as shown in the equation (2). As a difference from the value Pcr2 set as.
d = Pcr2-NUM1 (T2) = Pcr2-Pcr1-τd / τ1 (2)
The monitoring unit 153 illustrated in FIG. 1 monitors the first transport stream TS1 and the second transport stream TS2, and thereby obtains information necessary for obtaining the time difference d using the above-described equation (2). Can be acquired. That is, the detection unit 153 detects the PCR packets (PCR1) and (PCR2) from the first transport stream TS1 and the second transport stream TS2, respectively, and acquires the times T1 and T2 when these are detected. Further, the detection unit 153 acquires values Pcr1 and Pcr2 set as PCR from the detected PCR packets (PCR1) and (PCR2), respectively. And the detection part 153 should just obtain | require the time difference d mentioned above by applying Formula (1), (2) mentioned above to the acquired information.

図3は、検出部153および補正部154の一実施形態を示している。なお、図3に示した構成要素のうち、図1に示した構成要素と同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 3 shows an embodiment of the detection unit 153 and the correction unit 154. 3 that are equivalent to the components shown in FIG. 1 are denoted by the same reference numerals and description thereof is omitted.

図3に示したカウンタCNT2は、第2クロック生成部14からのクロック信号CLK2に同期した計数動作を行い、この計数動作で得られる計数値を、第2生成部13及び検出部153に渡す。   The counter CNT2 illustrated in FIG. 3 performs a counting operation in synchronization with the clock signal CLK2 from the second clock generation unit 14, and passes the count value obtained by this counting operation to the second generation unit 13 and the detection unit 153.

図3に示した検出部153は、2つのPCR検出部52a,52bおよび2つのレジスタ53a,53bを含む照合回路51と、推定部54と、差分算出部55とを含んでいる。PCR検出部52aは、第1トランスポートストリームTS1からPCRパケットを検出し、検出したPCRパケットに設定された値Pcr1を推定部54に渡す。同様に、PCR検出部52bは、第2トランスポートストリームTS2からPCRパケットを検出し、検出したPCRパケットにPCRとして設定された値Pcr2を差分算出部55に渡す。レジスタ53aは、PCR検出部52aによるPCRパケットの検出に応じて、上述したカウンタCNT2の計数値を第1計数値として保持する。レジスタ53bは、PCR検出部52bによるPCRパケットの検出に応じて、上述したカウンタCNT2の計数値を第2計数値として保持する。   The detection unit 153 illustrated in FIG. 3 includes a matching circuit 51 including two PCR detection units 52a and 52b and two registers 53a and 53b, an estimation unit 54, and a difference calculation unit 55. The PCR detection unit 52a detects a PCR packet from the first transport stream TS1, and passes the value Pcr1 set in the detected PCR packet to the estimation unit 54. Similarly, the PCR detection unit 52b detects a PCR packet from the second transport stream TS2, and passes the value Pcr2 set as the PCR to the detected PCR packet to the difference calculation unit 55. The register 53a holds the count value of the counter CNT2 described above as the first count value in response to the detection of the PCR packet by the PCR detection unit 52a. The register 53b holds the count value of the counter CNT2 described above as the second count value in response to the detection of the PCR packet by the PCR detection unit 52b.

ここで、第1トランスポートストリームTS1のPCRパケットが到来した時刻は、図2に示した時刻T1に相当し、第2トランスポートストリームTS2のPCRパケットが到来した時刻は、図2に示した時刻T2に相当する。つまり、第1計数値は、図2において、第2クロック信号CLK2に基づく時刻T1を示す計数値NUM2(T1)であり、第2計数値は、第2クロック信号CLK2に基づく時刻T2を示す計数値NUM2(T2)である。   Here, the time when the PCR packet of the first transport stream TS1 arrives corresponds to the time T1 shown in FIG. 2, and the time when the PCR packet of the second transport stream TS2 arrives is the time shown in FIG. Corresponds to T2. That is, in FIG. 2, the first count value is a count value NUM2 (T1) indicating the time T1 based on the second clock signal CLK2, and the second count value is a total value indicating the time T2 based on the second clock signal CLK2. It is the numerical value NUM2 (T2).

図3に示した推定部54は、レジスタ53aに保持された第1計数値と、レジスタ53bに保持された第2計数値と、PCR検出部52aから受け取った値Pcr1とに基づき、第1クロック信号CLK1に基づく時刻T2を示す計数値NUM1(T2)を推定する。   3 is based on the first count value held in the register 53a, the second count value held in the register 53b, and the value Pcr1 received from the PCR detection unit 52a. A count value NUM1 (T2) indicating a time T2 based on the signal CLK1 is estimated.

推定部54は、例えば、式(3)に示すように、第2計数値と第1計数値との差τpを、上述した値Pcr1に加算することで、第1クロック信号CLK1に基づく時刻T2を示す計数値NUM1(T2)を推定してもよい。
NUM1(T2)=Pcr1+τp ・・・(3)
なお、第2計数値と第1計数値との差τpは、図2に示した時刻T1と時刻T2との間におけるカウンタCNT2の計数値の増分であり、上述した時間τdを第2クロック信号CLK2の周期τ2で除算した値に相当する。上述したように、クロック信号CLK1の周期τ1と上述した周期τ2とはほぼ一致するので、式(3)を用いて推定した値NUM1(T2)と式(1)を用いて算出した値NUM1(T2)とは同等である。
For example, the estimation unit 54 adds the difference τp between the second count value and the first count value to the above-described value Pcr1 as shown in the equation (3), so that the time T2 based on the first clock signal CLK1 is obtained. The count value NUM1 (T2) indicating
NUM1 (T2) = Pcr1 + τp (3)
The difference τp between the second count value and the first count value is an increment of the count value of the counter CNT2 between the time T1 and the time T2 shown in FIG. 2, and the time τd described above is used as the second clock signal. This corresponds to the value divided by the period τ2 of CLK2. As described above, since the cycle τ1 of the clock signal CLK1 and the cycle τ2 described above substantially coincide with each other, the value NUM1 (T2) estimated using the equation (3) and the value NUM1 ( It is equivalent to T2).

また、図3に示した照合回路51は、2つのレジスタ53a,53bの代わりにカウンタを含んでもよい。このカウンタにより、PCR検出部52aによるPCRパケットの検出からPCR検出部52bによるPCRパケットの検出までの期間にわたってクロック信号CLK2に同期した計数を行うことで、上述した第2時刻と第1時刻との差τpを取得してもよい。   Further, the verification circuit 51 shown in FIG. 3 may include a counter instead of the two registers 53a and 53b. The counter performs counting in synchronization with the clock signal CLK2 over the period from the detection of the PCR packet by the PCR detection unit 52a to the detection of the PCR packet by the PCR detection unit 52b, thereby allowing the second time and the first time described above to be obtained. The difference τp may be acquired.

また、図3に示した差分算出部55は、例えば、減算器であり、PCR検出部52bから受け取ったPCR値(Pcr2)から、上述した推定部54で得られた値NUM1(T2)を減算する。差分算出部55は、この減算結果を、第1クロック信号CLK1に基づく時刻と第2クロック信号CLK2に基づく時刻との時刻差分dとして、補正部154に渡す。   3 is a subtracter, for example, and subtracts the value NUM1 (T2) obtained by the estimation unit 54 from the PCR value (Pcr2) received from the PCR detection unit 52b. To do. The difference calculation unit 55 passes this subtraction result to the correction unit 154 as a time difference d between the time based on the first clock signal CLK1 and the time based on the second clock signal CLK2.

図3に示した補正部154は、時刻情報抽出部56と、減算器57と、ヘッダ書換部58とを含んでいる。   The correction unit 154 illustrated in FIG. 3 includes a time information extraction unit 56, a subtracter 57, and a header rewriting unit 58.

時刻情報抽出部56は、第2トランスポートストリームTS2から、第2クロック信号CLK2に基づいて設定された時刻情報を抽出する。時刻情報抽出部56は、例えば、第2トランスポートストリームTS2の各パケットに含まれるタイムスタンプとともに、第2トランスポートストリームTS2に挿入されたPCRパケットにPCRとして設定された値を抽出すればよい。なお、時刻情報抽出部56が抽出するタイムスタンプは、符号化データの復元処理順序を示すデコーディングタイムスタンプ及び復元されたピクチャの再生時刻を示すプレゼンテーションタイムスタンプを含んでいる。   The time information extraction unit 56 extracts time information set based on the second clock signal CLK2 from the second transport stream TS2. For example, the time information extraction unit 56 may extract the value set as the PCR in the PCR packet inserted into the second transport stream TS2, together with the time stamp included in each packet of the second transport stream TS2. Note that the time stamp extracted by the time information extraction unit 56 includes a decoding time stamp indicating the restoration processing order of the encoded data and a presentation time stamp indicating the reproduction time of the restored picture.

減算器57は、時刻情報抽出部56によって抽出されたタイムスタンプおよびPCR値から、上述したようにして得られた時刻差分dを減算することにより、それぞれの補正後の値を求める。減算器57は、例えば、プレゼンテーションタイムスタンプ(PTS)、デコーディングタイムスタンプ(DTS)及びPCR値(Pcr)について、以下に示す式(4)〜(6)を適用することで対応する補正値PTSc、DTSc、Pcrcを求める。
PTSc=PTS−d ・・・(4)
DTSc=DTS−d ・・・(5)
Pcrc=Pcr−d ・・・(6)
なお、上述したプレゼンテーションタイムスタンプ(PTS)、デコーディングタイムスタンプ(DTS)及びPCR値(Pcr)は、それぞれトランスポートストリームに含まれる時刻情報の一例である。
The subtractor 57 obtains each corrected value by subtracting the time difference d obtained as described above from the time stamp and the PCR value extracted by the time information extraction unit 56. The subtractor 57 applies the correction values PTSc corresponding to the presentation time stamp (PTS), decoding time stamp (DTS), and PCR value (Pcr) by applying the following equations (4) to (6), for example. , DTSc, Pcrc.
PTSc = PTS-d (4)
DTSc = DTS-d (5)
Pcrc = Pcr−d (6)
The presentation time stamp (PTS), decoding time stamp (DTS), and PCR value (Pcr) described above are examples of time information included in the transport stream.

また、図3に示したヘッダ書換部58は、上述したようにして得られた補正値PTSc、DTSc、Pcrcを用いて、各パケットのヘッダに含まれる対応する時刻情報を書き換える。つまり、ヘッダ書換部58は、各パケットのヘッダに設定されたプレゼンテーションタイムスタンプ(PTS)およびデコーディングタイムスタンプ(DTS)を、対応する補正値PTSc、DTScに書き換える。また、ヘッダ書換部58は、PCRパケットのヘッダに設定されたPCR値(Pcr)を、同様に、対応する補正値Pcrcに書き換える。   Further, the header rewriting unit 58 shown in FIG. 3 rewrites the corresponding time information included in the header of each packet, using the correction values PTSc, DTSc, and Pcrc obtained as described above. That is, the header rewriting unit 58 rewrites the presentation time stamp (PTS) and decoding time stamp (DTS) set in the header of each packet to the corresponding correction values PTSc and DTSc. Similarly, the header rewriting unit 58 rewrites the PCR value (Pcr) set in the header of the PCR packet to the corresponding correction value Pcrc.

上述した補正値への書き換えを行うことにより、第2バッファ152によって遅延された第2トランスポートストリームTS2に含まれる時刻情報を、図1に示した第1クロック生成部12を基準とする値に補正することができる。したがって、補正部154による補正後の第2トランスポートストリームTS2に含まれる時刻情報は、図1に示した第1クロック生成部12を基準として設定された時刻情報と同等に扱うことができる。つまり、補正部154による補正後の第2トランスポートストリームTS2は、第2バッファ152による遅延時間だけ前に第1生成部11で生成された第1トランスポートストリームTS1に同期している。   By rewriting the correction value as described above, the time information included in the second transport stream TS2 delayed by the second buffer 152 is set to a value based on the first clock generation unit 12 shown in FIG. It can be corrected. Therefore, the time information included in the second transport stream TS2 corrected by the correction unit 154 can be handled in the same way as the time information set with reference to the first clock generation unit 12 shown in FIG. That is, the second transport stream TS2 corrected by the correcting unit 154 is synchronized with the first transport stream TS1 generated by the first generating unit 11 by the delay time by the second buffer 152.

ここで、図1及び図3に示した第1バッファ151は、第2バッファ152と同等の遅延を第1トランスポートストリームTS1に与える。したがって、第1バッファ151によって遅延させられた第1トランスポートストリームTS1と、補正部154による補正後の第2トランスポートストリームTS2とは、互いに同期している。   Here, the first buffer 151 shown in FIG. 1 and FIG. 3 gives a delay equivalent to that of the second buffer 152 to the first transport stream TS1. Therefore, the first transport stream TS1 delayed by the first buffer 151 and the second transport stream TS2 corrected by the correcting unit 154 are synchronized with each other.

つまり、図3に示した検出部153と補正部154とにより、第1バッファ151によって遅延させられた第1トランスポートストリームTS1と、第2バッファ152で遅延させられた第2トランスポートストリームTS2との同期を実現することができる。したがって、切替スイッチ155により、伝送路Routから送出する第3トランスポートストリームを、第1トランスポートストリームTS1から第2トランスポートストリームTS2に切り替えた場合にも、切り替えの前後で時刻情報の一貫性を維持することができる。   That is, the first transport stream TS1 delayed by the first buffer 151 and the second transport stream TS2 delayed by the second buffer 152 by the detection unit 153 and the correction unit 154 illustrated in FIG. Can be synchronized. Therefore, even when the third transport stream sent from the transmission path Rout is switched from the first transport stream TS1 to the second transport stream TS2 by the changeover switch 155, the consistency of time information before and after the switching is achieved. Can be maintained.

また、図3に示したように、本件開示の映像配信装置10に含まれる検出部153及び補正部154は、いずれも、小規模のハードウェアを第2サーバ装置に追加することによって実現可能である。   Further, as shown in FIG. 3, both the detection unit 153 and the correction unit 154 included in the video distribution device 10 of the present disclosure can be realized by adding small-scale hardware to the second server device. is there.

また、第1バッファ151及び第2バッファ152として望ましい記憶容量は、例えば、15枚のピクチャに対応するトランスポートストリームを保持可能な容量である。15枚のピクチャに対応するトランスポートストリームに対応する記憶容量は、例えば、1つの配信プログラムを蓄積するために必要とされる記憶容量などに比べて非常に小さい。したがって、第1バッファ151及び第2バッファ152もまた、小規模のハードウェアによって実現可能である。   A desirable storage capacity for the first buffer 151 and the second buffer 152 is, for example, a capacity that can hold a transport stream corresponding to 15 pictures. The storage capacity corresponding to the transport stream corresponding to 15 pictures is very small compared to the storage capacity required for storing one distribution program, for example. Therefore, the first buffer 151 and the second buffer 152 can also be realized by small-scale hardware.

また、図3に示した検出部153は、第1サーバ装置20から第1クロック信号CLK1に基づく時刻を示す情報を直接取得する代わりに、2系統のトランスポートストリームTS1、TS2に夫々含まれるPCRパケットを照合することで、時刻差分dを検出する。したがって、第1サーバ装置20と第2サーバ装置30との間に、例えば、第1クロック生成部12からの第1クロック信号CLK1に基づく時刻を示す情報を渡すために新規の信号線を設ける必要はない。   In addition, the detection unit 153 illustrated in FIG. 3 does not directly acquire information indicating the time based on the first clock signal CLK1 from the first server device 20, but includes PCRs included in the two transport streams TS1 and TS2, respectively. The time difference d is detected by collating the packets. Therefore, it is necessary to provide a new signal line between the first server device 20 and the second server device 30 in order to pass information indicating the time based on the first clock signal CLK1 from the first clock generation unit 12, for example. There is no.

これにより、図3に示した検出部153及び補正部154によれば、第1サーバ装置20と第2サーバ装置30の独立性を維持しつつ、第2トランスポートストリームTS2の時刻情報の補正を実現することができる。   Thus, according to the detection unit 153 and the correction unit 154 illustrated in FIG. 3, the time information of the second transport stream TS2 is corrected while maintaining the independence of the first server device 20 and the second server device 30. Can be realized.

図3に例示した検出部153及び補正部154を有する映像配信装置10は、例えば、図4に示すようなハードウェア構成によって実現することが可能である。   The video distribution apparatus 10 including the detection unit 153 and the correction unit 154 illustrated in FIG. 3 can be realized by, for example, a hardware configuration as illustrated in FIG.

図4は、映像配信装置10のハードウェア構成例を示している。なお、図4に示した構成要素のうち、図1および図3に示した構成要素と同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 4 shows a hardware configuration example of the video distribution device 10. 4 that are the same as those shown in FIG. 1 and FIG. 3 are given the same reference numerals, and descriptions thereof are omitted.

図4に示した第1生成部11は、動画像エンコーダ111と、音声エンコーダ112と、多重化装置113とを含んでいる。動画像エンコーダ111は、入力データストリームSinに含まれる映像情報VSinの符号化処理を行うことにより、映像エレメンタリストリームを生成し、生成した映像エレメンタリストリームを多重化装置113に渡す。また、音声エンコーダ112は、入力データストリームSinに含まれる音声情報ASinの符号化処理を行うことにより、音声エレメンタリストリームを生成し、生成した音声エレメンタリストリームを多重化装置113に渡す。また、多重化装置113は、映像エレメンタリストリームおよび音声エレメンタリストリームをそれぞれ固定長のパケットに分割してパケット化するとともに多重化することにより、第1トランスポートストリームTS1を生成する。   The first generation unit 11 illustrated in FIG. 4 includes a moving image encoder 111, a voice encoder 112, and a multiplexing device 113. The moving image encoder 111 generates a video elementary stream by performing the encoding process of the video information VSin included in the input data stream Sin, and passes the generated video elementary stream to the multiplexing device 113. Also, the audio encoder 112 generates an audio elementary stream by performing encoding processing of the audio information ASin included in the input data stream Sin, and passes the generated audio elementary stream to the multiplexing device 113. Also, the multiplexing device 113 generates the first transport stream TS1 by dividing the video elementary stream and the audio elementary stream into fixed-length packets, packetizing them, and multiplexing them.

また、図4に示した第1サーバ装置20は、プロセッサ21とシステムタイムクロック(STC:System Time Clock)生成部22と、伝送路インタフェース(I/F)23とを含んでいる。プロセッサ21は、第1生成部11及び伝送路インタフェース23の動作を制御する。また、STC生成部22は、図1に示した第1クロック生成部12の一例であり、プロセッサ21及び第1生成部11に第1クロック信号CLK1を供給する。また、伝送路インタフェース23は、多重化装置113から第1トランスポートストリームTS1を受け取り、伝送路C1を介して図1に示した第1バッファ151に送出する。   The first server device 20 shown in FIG. 4 includes a processor 21, a system time clock (STC) generation unit 22, and a transmission path interface (I / F) 23. The processor 21 controls operations of the first generation unit 11 and the transmission path interface 23. The STC generation unit 22 is an example of the first clock generation unit 12 illustrated in FIG. 1 and supplies the first clock signal CLK1 to the processor 21 and the first generation unit 11. Also, the transmission path interface 23 receives the first transport stream TS1 from the multiplexer 113 and sends it to the first buffer 151 shown in FIG. 1 via the transmission path C1.

図4に示した第2生成部13は、上述した第1生成部11と同様に、動画像エンコーダ131と、音声エンコーダ132と、多重化装置133とを含んでいる。動画像エンコーダ131、音声エンコーダ132及び多重化装置133は、上述した動画像エンコーダ111、音声エンコーダ112および多重化装置113と同様にして、入力データストリームSinから第2トランスポートストリームTS2を生成する。   Similar to the first generation unit 11 described above, the second generation unit 13 illustrated in FIG. 4 includes a moving image encoder 131, a voice encoder 132, and a multiplexing device 133. The moving image encoder 131, the audio encoder 132, and the multiplexing device 133 generate the second transport stream TS2 from the input data stream Sin in the same manner as the moving image encoder 111, the audio encoder 112, and the multiplexing device 113 described above.

また、図4に示した第2サーバ装置30は、プロセッサ31とSTC生成部32と、2つの伝送路インタフェース(I/F)33a,33bとを含んでいる。プロセッサ31は、第2生成部13及び伝送路インタフェース33a,33bの動作を制御する。また、STC生成部32は、図1に示した第2クロック生成部14の一例であり、プロセッサ31及び第2生成部13に第2クロック信号CLK2を供給する。   The second server device 30 shown in FIG. 4 includes a processor 31, an STC generation unit 32, and two transmission path interfaces (I / F) 33a and 33b. The processor 31 controls the operations of the second generation unit 13 and the transmission path interfaces 33a and 33b. The STC generation unit 32 is an example of the second clock generation unit 14 illustrated in FIG. 1 and supplies the second clock signal CLK2 to the processor 31 and the second generation unit 13.

図4に示した第2サーバ装置30において、伝送路インタフェース33aは、第2生成部13で生成された第2トランスポートストリームTS2を伝送路C2−1を介して第2バッファ152に渡す。また、伝送路インタフェース33bは、補正部154によって時刻情報が補正された第2トランスポートTS2を伝送路C2−2を介して図1に示した切り替えユニット40に渡す。   In the second server device 30 shown in FIG. 4, the transmission path interface 33a passes the second transport stream TS2 generated by the second generation unit 13 to the second buffer 152 via the transmission path C2-1. In addition, the transmission path interface 33b passes the second transport TS2 whose time information is corrected by the correction unit 154 to the switching unit 40 illustrated in FIG. 1 via the transmission path C2-2.

また、図4に示した検出部153は、図3に示した照合回路51とプロセッサ31とを含んでいる。照合回路51は、伝送路C1を介して受け取った第1トランスポートストリームTS1に含まれるPCRパケットと、伝送路C2−1を介して受け取った第2トランスポートストリームTS2に含まれるPCRパケットとについて、上述した照合処理を行う。この照合処理結果に基づいて、プロセッサ31が、図3に示した推定部165及び差分算出部166の機能を果たすための処理を実行することにより、図3に示した検出部153と同等の機能を果たすことができる。   4 includes the matching circuit 51 and the processor 31 shown in FIG. The matching circuit 51 uses the PCR packet included in the first transport stream TS1 received via the transmission path C1 and the PCR packet included in the second transport stream TS2 received via the transmission path C2-1. The above-described collation process is performed. Based on the result of this collation processing, the processor 31 executes a process for performing the functions of the estimation unit 165 and the difference calculation unit 166 illustrated in FIG. 3, and thus functions equivalent to the detection unit 153 illustrated in FIG. 3. Can be fulfilled.

なお、図4に示した伝送路インタフェース23から照合回路51までの経路長は、伝送路インタフェース33aから照合回路51までの経路長とほぼ同等とすることが望ましい。上述した2つの経路長を同等とすることにより、図2に示した第1時刻T1と第2時刻T2との差τdを高い精度で取得することができるので、この差τdに基づいてプロセッサ31が式(2)を用いて算出する時刻差分dの精度を向上することができる。   Note that the path length from the transmission path interface 23 to the verification circuit 51 shown in FIG. 4 is desirably substantially equal to the path length from the transmission path interface 33a to the verification circuit 51. By making the two path lengths equal to each other, the difference τd between the first time T1 and the second time T2 shown in FIG. 2 can be obtained with high accuracy. Therefore, the processor 31 is based on the difference τd. However, the accuracy of the time difference d calculated using the equation (2) can be improved.

また、図4に示した補正部154は、プロセッサ31と、図3に示したヘッダ書換部58とを含んでいる。プロセッサ31は、第2バッファ152から出力される各パケットの時刻情報を抽出する処理を実行することにより、図3に示した時刻情報抽出部56の機能を果たすことができる。また、プロセッサ31は、各パケットから抽出した時刻情報から、上述した検出部153で得られた検出結果を減算する処理を実行することにより、図3に示した減算器57の機能を果たし、補正後の時刻情報を得ることができる。また、プロセッサ31が、上述したようにして取得した補正後の時刻情報をヘッダ書換部58に渡し、各パケットのヘッダの書換処理を実行させることにより、図1に示した補正部154と同等の機能を果たすことができる。   The correction unit 154 shown in FIG. 4 includes the processor 31 and the header rewriting unit 58 shown in FIG. The processor 31 can perform the function of the time information extraction unit 56 shown in FIG. 3 by executing the process of extracting the time information of each packet output from the second buffer 152. Further, the processor 31 performs the function of the subtractor 57 shown in FIG. 3 by executing a process of subtracting the detection result obtained by the detection unit 153 from the time information extracted from each packet, and the correction is performed. Later time information can be obtained. Further, the processor 31 passes the corrected time information acquired as described above to the header rewriting unit 58 and causes the header rewriting process of each packet to be executed, so that it is equivalent to the correcting unit 154 shown in FIG. Can fulfill the function.

また、ヘッダ書換部58は、上述したようにしてヘッダ書換処理が完了したパケットを伝送路インタフェース33bに渡す。また、伝送路インタフェース33bは、上述した伝送路C2−1とは別の伝送路C2−2を介して、図1に示した切替スイッチ155に送出する。   The header rewriting unit 58 passes the packet for which the header rewriting process has been completed as described above to the transmission path interface 33b. Further, the transmission line interface 33b sends out to the changeover switch 155 shown in FIG. 1 via a transmission line C2-2 different from the transmission line C2-1 described above.

このように、第2サーバ装置30は、第1サーバ装置20と同様の構成に、第2バッファ152と、伝送路インタフェース33aと、照合回路51及びヘッダ書換部58を付加し、また、プロセッサ31のソフトウェアを変更することにより実現できる。   Thus, the second server device 30 adds the second buffer 152, the transmission path interface 33a, the verification circuit 51, and the header rewriting unit 58 to the same configuration as the first server device 20, and also the processor 31. This can be realized by changing the software.

ここで、図3を用いて説明したように、照合回路51は小規模の回路によって実現可能である。また、ヘッダ書換部58も小規模のハードウェアあるいはプロセッサ31のソフトウェアの変更によって実現が可能である。   Here, as described with reference to FIG. 3, the verification circuit 51 can be realized by a small-scale circuit. The header rewriting unit 58 can also be realized by changing small-scale hardware or software of the processor 31.

したがって、本件開示の映像配信装置10は、同等の構成を持つ2台のサーバ装置の一方に、上述した小規模のハードウェアを追加するとともに、追加した機能のためのソフトウェアを追加することによって実現することができる。このような変更は、比較的小さなコストで実現することが可能であるから、本件開示の映像配信装置10によれば、高品質のライブ配信を高い信頼性で実現可能なライブ配信システムを低コストで提供することができる。   Therefore, the video distribution device 10 disclosed herein is realized by adding the above-described small-scale hardware and software for the added function to one of the two server devices having the same configuration. can do. Since such a change can be realized at a relatively low cost, according to the video distribution apparatus 10 disclosed herein, a live distribution system capable of realizing high-quality live distribution with high reliability can be realized at low cost. Can be offered at.

ところで、図1に示した伝送路Routを介して送出される現用系のトランスポートストリームは、映像情報VSinを、所定数のピクチャを含むピクチャの集合ごとに符号化して得られるエレメンタリストリームから生成することが望ましい。例えば、MPEG(Moving Picture Experts Group)方式における再生及び編集単位であるGOP(Group of Picture)は、上述したピクチャの集合の一例である。また、ピクチャの集合における各ピクチャの符号化処理には、例えば、ピクチャの集合における各ピクチャの配置に応じて、画面内予測符号化処理、双方向予測符号化処理および前方予測符号化処理を組み合わせて適用することが望ましい。なお、以下の説明において、GOPに属するピクチャの配列に応じて、適用する予測符号化処理の種類を示した情報をGOP構造と称する。   By the way, the working transport stream transmitted via the transmission path Rout shown in FIG. 1 is generated from the elementary stream obtained by encoding the video information VSin for each set of pictures including a predetermined number of pictures. It is desirable to do. For example, GOP (Group of Picture), which is a reproduction and editing unit in the MPEG (Moving Picture Experts Group) system, is an example of the above-described set of pictures. In addition, the encoding process of each picture in the set of pictures is combined with, for example, an intra-screen predictive encoding process, a bidirectional predictive encoding process, and a forward predictive encoding process according to the arrangement of each picture in the set of pictures. It is desirable to apply. In the following description, information indicating the type of predictive coding processing to be applied according to the arrangement of pictures belonging to the GOP is referred to as a GOP structure.

図1に示した第1生成部11によって生成される第1トランスポートストリームTS1は、第1生成部11が正常に動作している限り、第3トランスポートストリームとして伝送路に送出される。したがって、第1生成部11は、例えば、画面内予測符号化処理を適用するIピクチャとともに、前方予測符号化処理を適用するPピクチャと、双方向予測符号化処理を適用するBピクチャとを含むGOP構造を適用して符号化処理を行うことが望ましい。なお、望ましいGOP構造の一例は、15枚のピクチャにつき、「IBBPBBPBBPBBPBB」のように、先頭のIピクチャの後に、2枚のBピクチャと1枚のPピクチャとの組が反復するGOP構造である。   The first transport stream TS1 generated by the first generation unit 11 shown in FIG. 1 is sent to the transmission line as a third transport stream as long as the first generation unit 11 operates normally. Accordingly, the first generation unit 11 includes, for example, a P picture to which the forward prediction encoding process is applied and a B picture to which the bidirectional prediction encoding process is applied, together with an I picture to which the intra prediction encoding process is applied. It is desirable to perform encoding processing by applying the GOP structure. An example of a desirable GOP structure is a GOP structure in which a set of two B pictures and one P picture repeats after the first I picture, such as “IBBPBBPBBPBBPBB” for 15 pictures. .

上述したGOP構造のように、BピクチャやPピクチャを含むGOP構造を適用した符号化で得られた符号化データを受信側で正常に復元するためには、トランスポートストリームにおいてもGOP構造が維持されていることが望ましい。   As in the GOP structure described above, the GOP structure is maintained in the transport stream in order to successfully restore the encoded data obtained by encoding using the GOP structure including the B picture and the P picture on the receiving side. It is desirable that

このため、図1に示した切替制御部156は、第1トランスポートストリームTS1におけるGOPの区切りを考慮して、切替スイッチ155による第1トランスポートストリームTS1から第2トランスポートストリームTS2への切り替えを行うことが望ましい。   For this reason, the switching control unit 156 shown in FIG. 1 considers the GOP separation in the first transport stream TS1, and switches the first transport stream TS1 to the second transport stream TS2 by the changeover switch 155. It is desirable to do.

次に、第1生成部11の障害発生に応じて第1トランスポートストリームTS1から第2トランスポートストリームTS2に切り替える際に、当該切り替えをGOPの区切りにおいて実行する手法として好適な例を、図5を参照しつつ説明する。   Next, when switching from the first transport stream TS1 to the second transport stream TS2 in response to the occurrence of a failure in the first generation unit 11, an example suitable as a technique for executing the switching at the GOP break is shown in FIG. Will be described with reference to FIG.

図5は、トランスポートストリームの切り替えを説明する図である。なお、図5に示した構成要素のうち、図1に示した構成要素と同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 5 is a diagram for explaining switching of transport streams. Note that among the components shown in FIG. 5, components equivalent to those shown in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted.

ここで、第1生成部11と第2生成部13とが、上述したGOP構造を適用した符号化処理をそれぞれに実行すると、第1生成部11と第2生成部13とが、同一のピクチャをGOP内の異なる順番のピクチャとして符号化する可能性がある。この場合に、第1生成部11で生成された第1トランスポートストリームTS1と第2生成部13で生成された第2トランスポートストリームTS2とでは、GOPの区切りが一致しない可能性がある。   Here, when the first generation unit 11 and the second generation unit 13 execute the encoding process to which the GOP structure is applied, respectively, the first generation unit 11 and the second generation unit 13 have the same picture. May be encoded as pictures in different orders within the GOP. In this case, the first transport stream TS1 generated by the first generation unit 11 and the second transport stream TS2 generated by the second generation unit 13 may not match the GOP delimiter.

このため、以下では、第2生成部13が、映像情報VSinに含まれる各ピクチャを、それぞれ独立して復号可能なIピクチャとして符号化する場合について説明する。このように、映像情報VSinに含まれる各ピクチャをIピクチャとして符号化した場合は、各ピクチャを1つのGOPとして捉えることができる。したがって、第1トランスポートストリームTS1と第2トランスポートストリームTS2とのGOPの区切りを一致させることができる。   Therefore, hereinafter, a case will be described in which the second generation unit 13 encodes each picture included in the video information VSin as an independently decodable I picture. Thus, when each picture included in the video information VSin is encoded as an I picture, each picture can be regarded as one GOP. Therefore, the GOP delimiters between the first transport stream TS1 and the second transport stream TS2 can be matched.

図5は、映像情報VSinに含まれるn番目のピクチャに対応するトランスポートストリームのパケットを生成する過程で、第1生成部11において障害が発生した場合を示している。なお、図5の例は、m番目のGOP(m)の先頭から4番目に位置するPピクチャとして、第1生成部11が上述したn番目のピクチャを符号化・パケット化する過程で障害が発生したことを示している。   FIG. 5 illustrates a case where a failure occurs in the first generation unit 11 in the process of generating a transport stream packet corresponding to the nth picture included in the video information VSin. In the example of FIG. 5, there is a failure in the process in which the first generation unit 11 encodes / packetizes the nth picture described above as the fourth P picture from the beginning of the mth GOP (m). Indicates that it occurred.

図5の例において、第1バッファ151は、上述したn番目のピクチャに先立って第1生成部11に入力された映像情報VSinに対応するトランスポートストリームTS1のパケットP1(n−15)〜P1(n−1)を保持している。ここで、例えば、図5に示したパケットP1(n−15)は、映像情報VSinのn−15番目のピクチャを、第1生成部11が符号化して得た映像符号化データの一部をそれぞれ含む複数の固定長パケットを示している。同様に、図5の例では、GOP内の各ピクチャとトランスポートストリームに含まれるパケットとの対応関係の把握を容易にするために、複数の固定長パケットをまとめて示している。また、図5に示した第1トランスポートストリームTS1,第2トランスポートストリームTS2においては、音声エレメンタリストリームから生成されたパケットの図示は省略している。   In the example of FIG. 5, the first buffer 151 includes packets P1 (n-15) to P1 of the transport stream TS1 corresponding to the video information VSin input to the first generation unit 11 prior to the above-described nth picture. (n-1) is held. Here, for example, the packet P1 (n-15) shown in FIG. 5 includes a part of video encoded data obtained by encoding the n-15th picture of the video information VSin by the first generation unit 11. A plurality of fixed-length packets each included is shown. Similarly, in the example of FIG. 5, a plurality of fixed-length packets are collectively shown in order to make it easy to understand the correspondence between each picture in the GOP and the packets included in the transport stream. Further, in the first transport stream TS1 and the second transport stream TS2 shown in FIG. 5, illustration of packets generated from the audio elementary stream is omitted.

第1バッファ151に保持されたパケットのうち、パケットP1(n−15)〜P1(n−4)は、正常に符号化が完了したm−1番目のGOP(m−1)に含まれるn−15番目〜n−1番目のピクチャに対応している。一方、パケットP1(n−3)〜P1(n−1)は、障害の発生によって、第1生成部11による符号化が完了していないGOP(m)に含まれるn−3番目〜n−1番目のピクチャに対応する符号化データを含むパケットである。つまり、図5の例において、パケットP1(n−3)は、上述した障害の発生によって未完成となったGOPの先頭に当たる境界ピクチャの符号化データを含むパケットであり、第1トランスポートストリームTS1におけるGOPの区切りに対応している。   Of the packets held in the first buffer 151, the packets P1 (n-15) to P1 (n-4) are included in the (m−1) th GOP (m−1) that has been normally encoded. Corresponds to the -15th to (n-1) th pictures. On the other hand, packets P1 (n-3) to P1 (n-1) are n-3th to n- included in GOP (m) that has not been encoded by the first generation unit 11 due to the occurrence of a failure. It is a packet including encoded data corresponding to the first picture. That is, in the example of FIG. 5, the packet P1 (n-3) is a packet including the encoded data of the boundary picture that corresponds to the head of the GOP that has not been completed due to the occurrence of the above-described failure, and the first transport stream TS1. Corresponds to the GOP delimiter.

また、図5に示した第2バッファ152は、映像情報VSinのn−15番目〜n−1番目までの各ピクチャをIピクチャとして符号化して得られた符号化データを含む第2トランスポートストリームTS2のパケットP2(n−15)〜P2(n−1)を保持している。   Further, the second buffer 152 shown in FIG. 5 includes a second transport stream including encoded data obtained by encoding each of the n-15th to n−1th pictures of the video information VSin as an I picture. The packets P2 (n-15) to P2 (n-1) of TS2 are held.

ここで、第2バッファ152に保持されているパケットのうち、パケットP2(n−3)〜P2(n−1)は、第1バッファ151に保持されたパケットP1(n−3)〜P1(n−1)と同様に、映像情報VSinに含まれるn−3番目〜n−1番目のピクチャに対応している。   Of the packets held in the second buffer 152, packets P2 (n-3) to P2 (n-1) are packets P1 (n-3) to P1 ( Similarly to n-1), it corresponds to the (n-3) th to (n-1) th pictures included in the video information VSin.

また、上述したように、補正部154は、第2バッファ152から出力される各パケットに含まれる時刻情報を、第1バッファ151から出力されるトランスポートストリームTS1の各パケットに同期させる。   Further, as described above, the correction unit 154 synchronizes the time information included in each packet output from the second buffer 152 with each packet of the transport stream TS1 output from the first buffer 151.

したがって、補正部154によって時刻情報が補正されたパケットP2(n−3)〜P2(n−1)は、第1バッファ151に保持されたパケットP1(n−15)〜P1(n−4)にシームレスに連続するトランスポートストリームとして扱うことができる。   Therefore, the packets P2 (n-3) to P2 (n-1) whose time information has been corrected by the correction unit 154 are packets P1 (n-15) to P1 (n-4) held in the first buffer 151. Can be handled as a seamless transport stream.

つまり、切替スイッチ155により、上述したパケットP1(n−15)〜P1(n−4)を伝送路Routに送出した後に、パケットP2(n−3)〜P2(n−1)を送出すれば、時刻情報の一貫性とともにGOP構造を維持したトランスポートストリームが得られる。   That is, after the packets P1 (n-15) to P1 (n-4) are sent to the transmission line Rout by the changeover switch 155, the packets P2 (n-3) to P2 (n-1) are sent. Thus, a transport stream maintaining the GOP structure with the consistency of time information can be obtained.

上述したように、GOPの区切りを考慮して2系統のトランスポートストリームTS1,TS2を切り替える手法は、例えば、図6に示すような映像配信装置10によって実現することができる。   As described above, the method of switching between the two transport streams TS1 and TS2 in consideration of the GOP delimiter can be realized by, for example, a video distribution device 10 as shown in FIG.

図6は、映像配信装置10の別実施形態を示している。なお、図6に示した構成要素のうち、図1に示した構成要素と同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 6 shows another embodiment of the video distribution device 10. 6 that are the same as those shown in FIG. 1 are given the same reference numerals, and descriptions thereof are omitted.

図6に示した第1サーバ装置20は、図1に示した第1生成部11及び第1クロック生成部12に加えて、挿入部16を含んでいる。挿入部16は、第1生成部11に障害が発生したときに、当該障害を通知する情報を含む障害通知パケットを、第1トランスポートストリームTS1に挿入する。   The first server device 20 illustrated in FIG. 6 includes an insertion unit 16 in addition to the first generation unit 11 and the first clock generation unit 12 illustrated in FIG. When a failure occurs in the first generation unit 11, the insertion unit 16 inserts a failure notification packet including information for notifying the failure into the first transport stream TS1.

図7は、障害通知パケットの例を示している。図7に示した障害通知パケットは、トランスポートストリームに含まれる他のパケットと同様に、固定長のペイロードと、所定のデータ長を持つヘッダとを含んでいる。   FIG. 7 shows an example of a failure notification packet. The failure notification packet illustrated in FIG. 7 includes a fixed-length payload and a header having a predetermined data length, like other packets included in the transport stream.

図7に示した障害通知パケットのヘッダにおいて、符号Syncは同期ワードを示し、符号PIDはパケット識別子を示している。また、図7に示すように、ペイロードの一部に設けたペイロードヘッダPLhに所定の値を設定することにより、当該パケットが障害通知パケットであることを示してもよい。   In the failure notification packet header shown in FIG. 7, the symbol Sync indicates a synchronization word, and the symbol PID indicates a packet identifier. Further, as shown in FIG. 7, a predetermined value may be set in the payload header PLh provided in a part of the payload to indicate that the packet is a failure notification packet.

なお、上述したパケット識別子は、当該パケットが属するトランスポートストリームを特定する情報である。また、パケット識別子として、特定の値「NULL」を設定することにより、当該パケットが有効なトランスポートストリームに属していない旨を示すことができる。したがって、挿入部16により、障害通知パケットのパケット識別子として上述した特定の値「NULL」を設定することにより、この障害通知パケットが、復号処理の対象となる符号化データを含んでいないパケットである旨を受信端末に対して示してもよい。   The packet identifier described above is information for specifying the transport stream to which the packet belongs. Also, by setting a specific value “NULL” as the packet identifier, it can be shown that the packet does not belong to a valid transport stream. Therefore, by setting the above-mentioned specific value “NULL” as the packet identifier of the failure notification packet by the insertion unit 16, this failure notification packet is a packet that does not include the encoded data to be decoded. This may be shown to the receiving terminal.

図6に示した挿入部16を有する第1サーバ装置20によれば、上述した障害通知パケットによって、第1サーバ装置20において障害が発生したことを、第2サーバ装置30あるいは切替ユニット40に配置された切替制御部156に伝えることができる。したがって、第1サーバ装置20における障害の発生を、切替制御部156に伝達するための信号線などを設けなくてもよい。   According to the first server device 20 having the insertion unit 16 shown in FIG. 6, it is arranged in the second server device 30 or the switching unit 40 that a failure has occurred in the first server device 20 due to the failure notification packet described above. The switching control unit 156 can be notified. Therefore, it is not necessary to provide a signal line or the like for transmitting the occurrence of a failure in the first server device 20 to the switching control unit 156.

また、図6に示した第2サーバ装置30において、切替制御部156は、複写バッファ34と、特定部157と、スイッチ制御部36とを含んでいる。   In the second server device 30 shown in FIG. 6, the switching control unit 156 includes a copy buffer 34, a specifying unit 157, and a switch control unit 36.

図6に示した複写バッファ34は、第1生成部11から第1バッファ151に渡される第1トランスポートストリームTS1の複写を保持することにより、第1バッファ151と同等の情報を保持する。   The copy buffer 34 shown in FIG. 6 holds information equivalent to the first buffer 151 by holding a copy of the first transport stream TS1 passed from the first generation unit 11 to the first buffer 151.

特定部157は、上述した第1トランスポートストリームTS1から、第1サーバ装置20の挿入部16によって挿入された障害通知パケットを検出する。また、特定部157は、障害通知パケットを検出した場合に、当該障害通知パケットに先立って複写バッファ34に保持された情報に基づいて、障害によって未完成となったGOPの先頭のピクチャに当たる境界ピクチャを特定する。   The identifying unit 157 detects the failure notification packet inserted by the inserting unit 16 of the first server device 20 from the first transport stream TS1 described above. Further, when detecting the failure notification packet, the specifying unit 157, based on the information held in the copy buffer 34 prior to the failure notification packet, defines a boundary picture corresponding to the first picture of the GOP that has not been completed due to the failure. Is identified.

上述したように、複写バッファ34に保持される情報は、第1バッファ151に保持される情報と同等である。したがって、特定部157は、複写バッファ34を参照することにより、第1バッファ151を参照することで得られる情報と同等の情報を取得することができる。つまり、第2サーバ装置30内に複写バッファ34を設け、特定部157がこの複写バッファ34を参照する構成は、特定部157に第1バッファ151内の情報を参照させる構成の一例である。したがって、特定部157は、障害通知パケットの検出に応じて、複写バッファ34を参照することにより、境界ピクチャを特定するための情報を取得することができる。   As described above, the information held in the copy buffer 34 is equivalent to the information held in the first buffer 151. Therefore, the specifying unit 157 can acquire information equivalent to the information obtained by referring to the first buffer 151 by referring to the copy buffer 34. That is, the configuration in which the copy buffer 34 is provided in the second server device 30 and the specifying unit 157 refers to the copy buffer 34 is an example of a configuration in which the specifying unit 157 refers to information in the first buffer 151. Therefore, the specifying unit 157 can acquire information for specifying the boundary picture by referring to the copy buffer 34 in response to the detection of the failure notification packet.

特定部157は、例えば、障害の直前に複写バッファ34に保持されたパケットのプレゼンテーションタイムスタンプに基づいて、当該パケットが、未完成となったGOPの先頭のピクチャから何番目のピクチャに対応するかを示す情報を取得してもよい。このようにして取得した情報は、障害発生時に処理中であったピクチャから未完成となったGOPの先頭のピクチャまでのピクチャ数を示している。つまり、特定部157が、上述したパケットのプレゼンテーションスタンプに基づいて取得した情報で示されるピクチャ数は、上述した境界ピクチャを特定する情報の一例である。   For example, based on the presentation time stamp of the packet held in the copy buffer 34 immediately before the failure, the specifying unit 157 corresponds to which number of pictures from the first picture of the unfinished GOP the packet corresponds to. You may acquire the information which shows. The information acquired in this way indicates the number of pictures from the picture being processed at the time of the failure to the first picture of the incomplete GOP. That is, the number of pictures indicated by the information acquired by the specifying unit 157 based on the presentation stamp of the packet described above is an example of information for specifying the boundary picture described above.

なお、特定部157は、上述したようにして得られたピクチャ数の代わりに、1つのGOPに属するピクチャ数(例えば、15枚)から上述したピクチャ数を差し引いた値を、境界ピクチャを特定する情報としてスイッチ制御部36に渡してもよい。このようにして得られた値は、正常に処理が完了したGOPに属するピクチャのうち、障害が発生した時点において第1バッファ151に未送出のまま残っているパケットに対応するピクチャの数を示している。以下では、特定部157が、正常に処理が完了したGOPに属するピクチャのうち、未送出の第1トランスポートストリームTS1に対応するピクチャ数をスイッチ制御部36に渡す場合について説明する。   The specifying unit 157 specifies the boundary picture by subtracting the number of pictures described above from the number of pictures belonging to one GOP (for example, 15 pictures) instead of the number of pictures obtained as described above. Information may be passed to the switch control unit 36. The value obtained in this way indicates the number of pictures corresponding to packets that remain unsent in the first buffer 151 at the time of failure, among the pictures belonging to the GOP that has been successfully processed. ing. Hereinafter, a case will be described in which the specifying unit 157 passes the number of pictures corresponding to the untransmitted first transport stream TS1 among the pictures belonging to the GOP that has been processed normally to the switch control unit 36.

図6に示したスイッチ制御部36は、上述した特定部157から渡される情報に基づいて、境界ピクチャに対応して生成された第2トランスポートストリームTS2のパケットが、切替スイッチ155に渡されるタイミングを特定する。また、スイッチ制御部36は、特定したタイミングで、切替スイッチ155の状態を、第1状態から第2状態に切り替える制御を行う。ここで、第1状態は、切替スイッチ155が、遅延された第1トランスポートストリームTS1を伝送路Routに送出する状態である。また、第2状態は、切替スイッチ155が、補正された第2トランスポートストリームTS2を伝送路Routに送出する状態である。   The switch control unit 36 illustrated in FIG. 6 is a timing at which the packet of the second transport stream TS2 generated corresponding to the boundary picture based on the information passed from the specifying unit 157 is passed to the changeover switch 155. Is identified. In addition, the switch control unit 36 performs control to switch the state of the changeover switch 155 from the first state to the second state at the specified timing. Here, the first state is a state in which the changeover switch 155 sends the delayed first transport stream TS1 to the transmission line Rout. Further, the second state is a state in which the changeover switch 155 sends the corrected second transport stream TS2 to the transmission line Rout.

スイッチ制御部36は、例えば、補正部154から出力されるパケットを監視し、障害が検出された後に、補正部154から第2トランスポートストリームTS2のパケットとして符号化データが出力されたピクチャの数を計数する。また、スイッチ制御部36は、上述した計数値が特定部157から渡された情報で示されるピクチャ数に一致したときに、当該パケットを、境界ピクチャに対応して生成された第2トランスポートストリームTS2のパケットとして検出する。このようにして、境界ピクチャに対応して生成された第2トランスポートストリームTS2のパケットを検出したタイミングで、スイッチ制御部36は、切替スイッチ155の状態を、上述した第1状態から第2状態に切り替える。   For example, the switch control unit 36 monitors the packet output from the correction unit 154, and after the failure is detected, the number of pictures in which encoded data is output as a packet of the second transport stream TS2 from the correction unit 154 Count. In addition, when the count value described above matches the number of pictures indicated by the information passed from the specifying unit 157, the switch control unit 36 generates the second transport stream generated corresponding to the boundary picture. Detect as TS2 packet. In this way, at the timing when the packet of the second transport stream TS2 generated corresponding to the boundary picture is detected, the switch control unit 36 changes the state of the changeover switch 155 from the first state to the second state. Switch to.

このような制御を切替制御部156が行うことにより、障害の発生タイミングにかかわらず、GOPの区切りにおいて、第1トランスポートストリームTS1から第2トランスポートストリームTS2への切り替えを実現できる。   By performing such control by the switching control unit 156, switching from the first transport stream TS1 to the second transport stream TS2 can be realized at the GOP break regardless of the failure occurrence timing.

図5の例で説明すれば、上述した境界ピクチャに対応するパケットP2(n−3)が、第2バッファ152から出力され、補正部154を介して切替スイッチ155に渡されるタイミングで、スイッチ制御部36は、切替スイッチ155を第2状態に切り替える。このようにして第2状態に切り替えられた切替スイッチ155は、上述したパケットP2(n−3)以降に第2バッファ152および補正部154を介して渡される各パケットを伝送路Routに送出する。なお、第2バッファ152から上述したパケットP2(n−3)が出力されるまでは、切替スイッチ155の状態は第1状態を維持している。したがって、障害が発生した時点において第1バッファ151に未送出のまま残っているパケットP1(n−15)〜P1(n−4)は、上述したタイミングの到来前に、切替スイッチ155を介して伝送路Routに送出済みである。   In the example of FIG. 5, the switch control is performed at the timing when the packet P2 (n-3) corresponding to the boundary picture described above is output from the second buffer 152 and passed to the changeover switch 155 via the correction unit 154. The unit 36 switches the changeover switch 155 to the second state. The changeover switch 155 thus switched to the second state sends each packet passed through the second buffer 152 and the correction unit 154 to the transmission line Rout after the packet P2 (n-3) described above. Note that the state of the changeover switch 155 maintains the first state until the packet P2 (n-3) described above is output from the second buffer 152. Therefore, the packets P1 (n-15) to P1 (n-4) that remain unsent in the first buffer 151 at the time of the failure are transmitted via the changeover switch 155 before the arrival of the above-described timing. It has been sent to the transmission line Rout.

このように、図6に示した切替制御部156を有する映像配信装置10では、障害の発生タイミングから時間的に遡った位置にあるGOPの区切りにおいて、第1トランスポートストリームTS1から第2トランスポートストリームTS2への切り替えが可能である。   In this manner, in the video distribution apparatus 10 having the switching control unit 156 shown in FIG. 6, the first transport stream TS1 to the second transport are separated at the GOP segment that is in the position that is temporally back from the failure occurrence timing. Switching to the stream TS2 is possible.

更に、図6に示すように、映像配信装置10は、第1置換部158と符号化制御部17とを含んでもよい。   Furthermore, as shown in FIG. 6, the video distribution device 10 may include a first replacement unit 158 and an encoding control unit 17.

図6に示した第1置換部158は、上述した境界ピクチャよりも前に入力されたピクチャに対応して生成された第2トランスポートストリームTS2のパケットについて、パケット識別子を上述した特定の値「NULL」に置換する処理を行う。また、第1置換部158は、境界ピクチャ以降に入力されたピクチャに対応して生成された第2トランスポートストリームTS2のパケットについて、パケット識別子を第一トランスポートストリームTS1を示す値に置換する処理を行う。なお、第1置換部158は、第1トランスポートストリームTS1を示すパケット識別子の値を、例えば、上述した複写バッファ34に保持された各パケットのヘッダを参照することで取得してもよい。   The first replacement unit 158 illustrated in FIG. 6 sets the packet identifier for the packet of the second transport stream TS2 generated corresponding to the picture input before the above-described boundary picture, to the specific value “ A process of replacing with “NULL” is performed. Further, the first replacement unit 158 replaces the packet identifier with a value indicating the first transport stream TS1 for the packet of the second transport stream TS2 generated corresponding to the picture input after the boundary picture. I do. Note that the first replacement unit 158 may obtain the value of the packet identifier indicating the first transport stream TS1, for example, by referring to the header of each packet held in the copy buffer 34 described above.

第2トランスポートストリームTS2に属する各パケットのパケット識別子を、第1トランスポートストリームTS1を示す値に置換することにより、当該パケットを、第1トランスポートストリームTS1の一部として扱うことができる。   By replacing the packet identifier of each packet belonging to the second transport stream TS2 with a value indicating the first transport stream TS1, the packet can be handled as a part of the first transport stream TS1.

図5の例を用いて説明すれば、例えば、補正部154の後に配置された第1置換部158は、第2バッファ152から出力されるパケットP2(n−15)〜P2(n−4)のパケット識別子を値「NULL」に置換する。これらのパケットのパケット識別子についてこのような置換処理を行うことにより、これらのパケットを無効化することができる。その後、第2バッファ152からパケットP2(n−3)が出力されたときに、第1置換部158は、上述したパケットP2(n−3)及び当該パケット以降に第2バッファ152から出力される各パケットについて、パケット識別子を第1トランスポートストリームTS1に対応する値に置換する処理を行う。この置換処理により、時刻情報が補正されたトランスポートストリームTS2の各パケットを、境界ピクチャの直前のピクチャに対応するパケットP1(n−4)に続く第1トランスポートストリームTS1のパケットとすることができる。   Referring to the example of FIG. 5, for example, the first replacement unit 158 disposed after the correction unit 154 includes the packets P2 (n-15) to P2 (n-4) output from the second buffer 152. Is replaced with the value “NULL”. By performing such replacement processing on the packet identifiers of these packets, these packets can be invalidated. Thereafter, when the packet P2 (n-3) is output from the second buffer 152, the first replacement unit 158 outputs the packet P2 (n-3) described above and the second buffer 152 after the packet. For each packet, a process of replacing the packet identifier with a value corresponding to the first transport stream TS1 is performed. By this replacement processing, each packet of the transport stream TS2 whose time information is corrected may be a packet of the first transport stream TS1 following the packet P1 (n-4) corresponding to the picture immediately before the boundary picture. it can.

このような第1置換部158を有する映像配信装置10によれば、上述した境界ピクチャ以降に対応する第2トランスポートストリームTS2のパケットを、あたかも第1トランスポートストリームのパケットであるかのように伝送路Routに送出できる。   According to the video distribution apparatus 10 having the first replacement unit 158 as described above, the packet of the second transport stream TS2 corresponding to the above-described boundary picture and after is as if it were the packet of the first transport stream. It can be sent to the transmission line Rout.

なお、上述した第1置換部158を有する映像配信装置10によれば、境界ピクチャより前のピクチャに対応する第2トランスポートストリームTS2の各パケットは無効化されている。つまり、境界ピクチャより前のピクチャに対応する第2トランスポートストリームTS2の各パケットが伝送路Routに送出されても、受信端末における復号処理の対象となることはない。したがって、図6に示した切替スイッチ155を、例えば、第1置換部158の出力を伝送路Routに接続する経路と、第1バッファ151の出力を伝送路Routから切り離すスイッチとを用いて実現してもよい。   Note that according to the video distribution device 10 having the first replacement unit 158 described above, each packet of the second transport stream TS2 corresponding to a picture before the boundary picture is invalidated. That is, even if each packet of the second transport stream TS2 corresponding to the picture before the boundary picture is sent to the transmission path Rout, it is not subject to decoding processing at the receiving terminal. Therefore, the changeover switch 155 shown in FIG. 6 is realized using, for example, a path that connects the output of the first replacement unit 158 to the transmission line Rout and a switch that disconnects the output of the first buffer 151 from the transmission line Rout. May be.

また、図6に示した符号化制御部17は、第1生成部11が正常に動作している間は、第2生成部13に対して、入力データストリームSinに含まれる各ピクチャに対して個々のピクチャを単位とする符号化処理を適用させる制御を行う。例えば、符号化制御部17は、第1生成部11が正常に動作している間は、第2生成部13に対して、各ピクチャをIピクチャとして符号化する旨を指示すればよい。一方、符号化制御部17は、第1生成部11の動作が停止した場合に、第2生成部13に対して、上述したピクチャの集合を単位とする符号化処理を適用させる制御を行う。例えば、符号化制御部17は、第1生成部11の動作が停止した場合に、第1生成部11が符号化処理に適用していたGOP構造を適用して符号化する旨を、第2生成部13に対して指示すればよい。   In addition, the encoding control unit 17 illustrated in FIG. 6 performs, for each picture included in the input data stream Sin, the second generation unit 13 while the first generation unit 11 is operating normally. Control is performed to apply an encoding process in units of individual pictures. For example, the encoding control unit 17 may instruct the second generation unit 13 to encode each picture as an I picture while the first generation unit 11 is operating normally. On the other hand, when the operation of the first generation unit 11 stops, the encoding control unit 17 controls the second generation unit 13 to apply the above-described encoding process in units of pictures. For example, when the operation of the first generation unit 11 is stopped, the encoding control unit 17 applies the GOP structure that has been applied to the encoding process by the first generation unit 11 to perform encoding. What is necessary is just to instruct | indicate with respect to the production | generation part 13. FIG.

なお、符号化制御部17は、例えば、第1生成部11で生成されたトランスポートストリームTS1を監視し、上述した障害通知パケットを検出したときに、第1生成部11の動作が停止したと判断してもよい。また、符号化制御部17は、第1生成部11で生成されたトランスポートストリームTS1を監視する過程で、第1生成部11が入力データストリームSinに含まれる各ピクチャの符号化処理に適用していたGOP構造を示す情報を取得してもよい。   For example, the encoding control unit 17 monitors the transport stream TS1 generated by the first generation unit 11, and when the failure notification packet described above is detected, the operation of the first generation unit 11 is stopped. You may judge. In addition, the encoding control unit 17 applies the encoding process of each picture included in the input data stream Sin in the process of monitoring the transport stream TS1 generated by the first generation unit 11. Information indicating the GOP structure that has been stored may be acquired.

上述した符号化制御部17を有する映像配信装置10において、第2生成部13は、上述した障害通知パケットが到来するまでは、入力データストリームSinに含まれる各ピクチャをIピクチャとして符号化している。したがって、障害通知パケットが到来したときに、符号化制御部17からの指示に応じて、第2生成部13は、即座に、上述した符号化制御部17からの指示で指定されたGOP構造に従う符号化処理を開始することができる。   In the video distribution device 10 having the encoding control unit 17 described above, the second generation unit 13 encodes each picture included in the input data stream Sin as an I picture until the above-described failure notification packet arrives. . Therefore, when a failure notification packet arrives, in response to an instruction from the encoding control unit 17, the second generation unit 13 immediately follows the GOP structure specified by the instruction from the encoding control unit 17 described above. The encoding process can be started.

符号化制御部17が上述した制御を行うことにより、第2生成部13は、例えば、図5に示したピクチャG(n+1)以降の各ピクチャを、図8に示すように、新たなGOPに属する各ピクチャとして符号化する。   When the encoding control unit 17 performs the above-described control, the second generation unit 13 converts each picture after the picture G (n + 1) shown in FIG. 5 into a new GOP as shown in FIG. Encode as each picture to which it belongs.

図8は、障害の発生に応じた符号化処理の切り替えの一例を示している。なお、図8に示した要素のうち、図5に示した要素と同等のものについては同一の符号を付して示し、説明を省略する。   FIG. 8 shows an example of switching of encoding processing according to the occurrence of a failure. Of the elements shown in FIG. 8, the same elements as those shown in FIG. 5 are designated by the same reference numerals, and the description thereof is omitted.

図8は、GOP(m)の4番目のPピクチャについての符号化が第1生成部11で行われている途中で障害が発生した際に、第2生成部13の符号化モードを切り替えた場合を示している。なお、図8において、第1生成部11において障害が発生した時刻を、符号Taで示した。また、符号Tpは、第1生成部11による符号化が完成している最後のGOP(m−1)と未完成となったGOP(m)との境界に当たる境界ピクチャが映像配信装置10に入力された時刻を示している。   FIG. 8 shows a case where the encoding mode of the second generator 13 is switched when a failure occurs while the first P-picture of GOP (m) is being encoded by the first generator 11. Shows the case. In FIG. 8, the time at which a failure occurs in the first generation unit 11 is indicated by a symbol Ta. In addition, a boundary picture corresponding to the boundary between the last GOP (m−1) that has been encoded by the first generation unit 11 and the unfinished GOP (m) is input to the video distribution device 10 as the code Tp. Time.

図8において、符号TS1−dは、第1バッファ151によって遅延させられた第1トランスポートストリームTS1を示している。また、符号TS2−dは、第2バッファ152によって遅延させられた第2トランスポートストリームTS2を示している。また、符号TSoutは、切り替えスイッチ155を介して伝送路Routに送出される第3トランスポートストリームを示している。なお、図8に示した第1トランスポートストリームTS1,第2トランスポートストリームTS2及び第3トランスポートストリームTSoutにおいては、音声エレメンタリストリームから生成されたパケットの図示は省略している。   In FIG. 8, the code TS1-d indicates the first transport stream TS1 delayed by the first buffer 151. A code TS2-d indicates the second transport stream TS2 delayed by the second buffer 152. Reference sign TSout indicates a third transport stream sent to the transmission line Rout via the changeover switch 155. Note that, in the first transport stream TS1, the second transport stream TS2, and the third transport stream TSout shown in FIG. 8, illustration of packets generated from the audio elementary stream is omitted.

図8に示した例では、図6に示した符号化制御部17からの指示に応じて、第2生成部13は、時刻Ta以降に入力される映像情報VSinに含まれる各ピクチャについて、第1生成部11と同様のGOP構造を適用した符号化処理を開始する。なお、図8において、符号GOP(m+1)は、第2生成部13が上述したGOP構造を適用して生成した1GOP分の第2トランスポートストリームTS2を示している。   In the example illustrated in FIG. 8, in response to an instruction from the encoding control unit 17 illustrated in FIG. 6, the second generation unit 13 performs the operation for each picture included in the video information VSin input after time Ta. The encoding process to which the same GOP structure as that of the 1 generation unit 11 is applied is started. In FIG. 8, the code GOP (m + 1) indicates the second transport stream TS2 for 1 GOP generated by the second generation unit 13 applying the GOP structure described above.

ここで、上述した時刻Taの時点で、図6に示した第2バッファ152は、未完成となったGOP(m)に対応する4ピクチャ分の第2トランスポートストリームTS2を保持している。第2バッファ152は、この4ピクチャ分の第2トランスポートストリームTS2を1GOP分遅延させ、時刻Ts〜時刻Tqにおいて出力する。なお、時刻Tsは、上述した時刻Tpから1GOP分の時間が経過した時刻であり、図6に示した切り替えスイッチ155が、遅延させられた第2トランスポートストリームTS2−dの送出を開始する時刻である。また、時刻Tqは、第1生成部11において障害が発生した時刻Taから1GOP分の時間が経過した時刻である。   Here, at the time Ta described above, the second buffer 152 shown in FIG. 6 holds the second transport stream TS2 for four pictures corresponding to the unfinished GOP (m). The second buffer 152 delays the second transport stream TS2 for four pictures by 1 GOP, and outputs it from time Ts to time Tq. Note that the time Ts is the time when 1 GOP has elapsed from the time Tp described above, and the time at which the changeover switch 155 shown in FIG. 6 starts sending the delayed second transport stream TS2-d. It is. The time Tq is a time when a time corresponding to 1 GOP has elapsed since the time Ta when the failure occurred in the first generation unit 11.

また、上述した4ピクチャ分の第2トランスポートストリームTS2に続いて、切り替えスイッチ155は、GOP(m+1)に対応する第2トランスポートストリームTS2を、トランスポートストリームTSoutとして伝送路Routに送出する。   Further, following the above-described second transport stream TS2 for four pictures, the changeover switch 155 sends the second transport stream TS2 corresponding to GOP (m + 1) to the transmission path Rout as the transport stream TSout.

このように、符号化制御部17が上述した符号化モードの切り替えを行うことで、伝送路Routに送出されるトランスポートストリームにおいて、Iピクチャが連続している期間を境界ピクチャから障害が発生したピクチャまでに対応する期間に限定できる。   As described above, when the encoding control unit 17 performs the above-described switching of the encoding mode, a failure has occurred from the boundary picture during the period in which the I pictures are continuous in the transport stream transmitted to the transmission path Rout. It can be limited to the period corresponding to the picture.

ここで、各ピクチャをIピクチャとした予測符号化によって得られる符号化データは、BピクチャやPピクチャを含むGOP構造を適用した予測符号化処理で得られる符号化データに比べて大きい場合が多い。このため、第2生成部13は、各ピクチャをIピクチャとして符号化する際に、予測符号化によって得られる符号化データに対して、高い圧縮率を適用した圧縮を施す場合が多く、このような圧縮処理の際に情報の一部が失われることがある。つまり、伝送路Routに送出されるトランスポートストリームの中で、各ピクチャをIピクチャとして符号化して得られた符号化データを含むパケットが多くなると、受信側で復元される画像の品質が低下するおそれがある。したがって、上述したようにして、Iピクチャが連続している期間を境界ピクチャから障害が発生したピクチャまでに対応する期間に限定することにより、受信側で復元される画像の品質の低下を抑制することができる。   Here, encoded data obtained by predictive encoding with each picture being an I picture is often larger than encoded data obtained by predictive encoding processing to which a GOP structure including a B picture and a P picture is applied. . For this reason, when the second generation unit 13 encodes each picture as an I picture, the second generation unit 13 often performs compression using a high compression rate on encoded data obtained by predictive encoding. Part of the information may be lost during the compression process. In other words, when the number of packets including encoded data obtained by encoding each picture as an I picture in the transport stream sent to the transmission path Rout increases, the quality of the image restored on the receiving side decreases. There is a fear. Therefore, as described above, the period in which I pictures are continuous is limited to the period corresponding to the picture from the boundary picture to the picture in which the failure has occurred, thereby suppressing deterioration in the quality of the image restored on the receiving side. be able to.

つまり、図6に示した符号化制御部17を有する本件開示の映像配信装置10によれば、第1トランスポートストリームTS1から第2トランスポートストリームTS2への切替に伴う映像の品質低下を最小限に抑えることが可能である。   That is, according to the video distribution device 10 of the present disclosure having the encoding control unit 17 illustrated in FIG. 6, the video quality degradation caused by switching from the first transport stream TS1 to the second transport stream TS2 is minimized. It is possible to suppress it.

なお、図6に示した映像配信装置10において、上述した境界ピクチャから障害が発生したピクチャまでの各ピクチャに対応する第2トランスポートストリームTS2が第2バッファ152から出力される期間は、1GOP以内である。したがって、各ピクチャをIピクチャとして符号化して得た符号化データを含むトランスポートストリームが伝送路Routに送出される期間は、最小で30ミリ秒程度であり、最大でも1GOPに相当する0.5秒程度である。このため、本件開示の映像配信装置10によるライブ配信を受信している利用者が、上述したトランスポートストリームの切替処理の過程で、配信される映像の画質の低下に気付くおそれは非常に小さい。   In the video distribution apparatus 10 shown in FIG. 6, the period during which the second transport stream TS2 corresponding to each picture from the boundary picture to the picture where the failure has occurred is output from the second buffer 152 is within 1 GOP. It is. Therefore, the period during which the transport stream including the encoded data obtained by encoding each picture as an I picture is sent to the transmission path Rout is about 30 milliseconds at the minimum, and 0.5 at maximum corresponds to 1 GOP. About seconds. For this reason, it is very unlikely that the user receiving the live distribution by the video distribution apparatus 10 of the present disclosure will notice a decrease in the image quality of the distributed video in the process of switching the transport stream described above.

図6に示した本件開示の映像配信装置10は、例えば、図9及び図10に示すようなハードウェア構成によって実現することができる。   The video distribution apparatus 10 of the present disclosure shown in FIG. 6 can be realized by a hardware configuration as shown in FIGS. 9 and 10, for example.

図9は、第1サーバ装置20及び第2サーバ装置30のハードウェア構成の別例を示している。なお、図9に示した構成要素のうち、図4及び図6に示した構成要素と同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 9 shows another example of the hardware configuration of the first server device 20 and the second server device 30. Note that among the constituent elements shown in FIG. 9, the same constituent elements as those shown in FIG. 4 and FIG.

図9に示した第1サーバ装置20は、パケット生成部25を含んでいる。図9に示したパケット生成部25は、プロセッサ21からの指示に応じて、図7に例示した障害通知パケットを生成し、生成した障害通知パケットを伝送路インタフェース23に渡す。つまり、プロセッサ21が、例えば、第1サーバ装置20に障害が発生したときに、パケット生成部25に障害通知パケットの生成を指示することにより、図6に示した挿入部16の機能を実現することができる。   The first server device 20 illustrated in FIG. 9 includes a packet generation unit 25. The packet generation unit 25 illustrated in FIG. 9 generates the failure notification packet illustrated in FIG. 7 in response to an instruction from the processor 21, and passes the generated failure notification packet to the transmission path interface 23. That is, for example, when a failure occurs in the first server device 20, the processor 21 instructs the packet generation unit 25 to generate a failure notification packet, thereby realizing the function of the insertion unit 16 illustrated in FIG. be able to.

また、図9に示した第2サーバ装置30は、上述した複写バッファ34とともに、パケット監視部35を含んでいる。図9に示したパケット監視部35は、例えば、第1サーバ装置20が伝送路C1に送出する第1トランスポートストリームTS1の各パケットのヘッダ部を監視し、パケット識別子として上述した特定の値「NULL」が設定された障害通知パケットを検出する。   The second server device 30 shown in FIG. 9 includes a packet monitoring unit 35 along with the copy buffer 34 described above. The packet monitoring unit 35 illustrated in FIG. 9 monitors, for example, the header portion of each packet of the first transport stream TS1 sent from the first server device 20 to the transmission path C1, and the above-described specific value “ A failure notification packet in which “NULL” is set is detected.

図9に示したプロセッサ31は、パケット監視部35から障害通知パケットについての検出結果を示す通知を受け、受け取った通知に応じて、後述するように、第2トランスポートストリームTS2を調整する処理を実行する。プロセッサ31は、例えば、第2サーバ装置30に設けられたメモリ(図示せず)に格納された第1アプリケーションプログラムを実行することにより、第2トランスポートストリームTS2を調整する処理を実行する。   The processor 31 illustrated in FIG. 9 receives a notification indicating the detection result for the failure notification packet from the packet monitoring unit 35, and performs processing for adjusting the second transport stream TS2 in accordance with the received notification, as will be described later. Run. The processor 31 executes a process for adjusting the second transport stream TS2, for example, by executing a first application program stored in a memory (not shown) provided in the second server device 30.

なお、第1アプリケーションプログラムは、図9に示した照合回路51による照合結果に基づいて、第1クロック生成部12に基づく時刻と第2クロック生成部14に基づく時刻との時刻差分dを検出する処理を行うためのプログラムを含んでいる。また、第1アプリケーションプログラムは、ヘッダ書換部58に対して、各パケットに含まれる時刻情報を、補正後の時刻情報に書き換える処理を実行させるためのプログラムを含んでいる。   The first application program detects a time difference d between the time based on the first clock generation unit 12 and the time based on the second clock generation unit 14 based on the collation result by the collation circuit 51 shown in FIG. A program for processing is included. In addition, the first application program includes a program for causing the header rewriting unit 58 to execute processing for rewriting the time information included in each packet with the corrected time information.

更に、第1アプリケーションプログラムは、障害通知パケットを検出した際に、第1トランスポートストリームTS1におけるGOPの区切りで第2トランスポートストリームTS2への切り替えを行う処理のための切替制御プログラムを含んでいる。   Further, the first application program includes a switching control program for processing to switch to the second transport stream TS2 at the GOP break in the first transport stream TS1 when a failure notification packet is detected. .

プロセッサ31は、切替制御プログラムを実行する過程で、複写バッファ34に保持された情報に基づいて、上述した境界ピクチャを特定する処理を行うことにより、図6に示した特定部157の機能を実現する。また、プロセッサ31は、切替制御プログラムを実行する過程で、ヘッダ書換部58に、上述したパケット識別子の置換処理を実行させることにより、図6に示した第1置換部158の機能を実現する。更に、プロセッサ31は、切替制御プログラムを実行する過程で、第2生成部13が映像情報VSinの符号化処理に適用するGOP構造を切り替える制御を行うことにより、図6に示した符号化制御部17の機能を実現する。   The processor 31 realizes the function of the specifying unit 157 shown in FIG. 6 by performing the above-described process of specifying the boundary picture based on the information held in the copy buffer 34 in the course of executing the switching control program. To do. The processor 31 realizes the function of the first replacement unit 158 illustrated in FIG. 6 by causing the header rewriting unit 58 to perform the above-described packet identifier replacement processing in the course of executing the switching control program. Further, in the process of executing the switching control program, the processor 31 performs control to switch the GOP structure applied to the encoding process of the video information VSin by the second generation unit 13, thereby the encoding control unit illustrated in FIG. 6. 17 functions are realized.

なお、図9においては図示を省略しているが、プロセッサ31は、照合回路51による照合結果に基づいて、上述した時刻の時刻差分dを検出する処理のためのプログラムを実行することで、図1に示した検出部153の機能を果たす。同様に、図9においては図示を省略しているが、プロセッサ31は、上述した時刻情報の書換処理のためのプログラムに従って、ヘッダ書換部58の動作を制御することで、図1に示した補正部154の機能を果たす。   Although not shown in FIG. 9, the processor 31 executes a program for detecting the time difference d at the above-described time based on the collation result by the collation circuit 51. 1 functions as the detection unit 153 shown in FIG. Similarly, although not shown in FIG. 9, the processor 31 controls the operation of the header rewriting unit 58 according to the above-described program for rewriting time information, thereby correcting the correction shown in FIG. 1. It fulfills the function of the part 154.

また、図10は、切替ユニット40のハードウェア構成の別例を示している。なお、図10に示した構成要素のうち、図4に示した構成要素と同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 10 shows another example of the hardware configuration of the switching unit 40. Note that, among the components shown in FIG. 10, components equivalent to those shown in FIG. 4 are denoted by the same reference numerals and description thereof is omitted.

図10に示した切替ユニット40は、パケット監視部42とプロセッサ43とを有するユニット制御部41を含んでいる。図10に示したパケット監視部42は、図9に示したパケット監視部35と同様にして、第1サーバ装置20が伝送路C1に送出した第1トランスポートストリームTS1から、上述した障害通知パケットを検出する。また、プロセッサ43は、パケット監視部42から障害通知パケットを検出した旨の通知を受けたときに、後述するスイッチ制御処理を実行する。   The switching unit 40 illustrated in FIG. 10 includes a unit control unit 41 having a packet monitoring unit 42 and a processor 43. The packet monitoring unit 42 illustrated in FIG. 10 performs the above-described failure notification packet from the first transport stream TS1 sent to the transmission path C1 by the first server device 20 in the same manner as the packet monitoring unit 35 illustrated in FIG. Is detected. When the processor 43 receives notification from the packet monitoring unit 42 that a failure notification packet has been detected, the processor 43 executes a switch control process to be described later.

プロセッサ43は、スイッチ制御処理を実行する過程で、第1バッファ151に保持された情報に基づいて、上述した境界ピクチャを特定する処理を行うことにより、図6に示した特定部157の機能を実現する。また、プロセッサ43は、スイッチ制御処理を実行する過程で、境界ピクチャに対応するパケットが切替スイッチ155に渡されるタイミングで、切替スイッチ155を第2状態に切り替える処理を行うことにより、図6に示したスイッチ制御部36の機能を実現する。   In the course of executing the switch control process, the processor 43 performs the process of specifying the boundary picture described above based on the information held in the first buffer 151, thereby enabling the function of the specifying unit 157 illustrated in FIG. Realize. Further, the processor 43 performs the process of switching the changeover switch 155 to the second state at the timing when the packet corresponding to the boundary picture is passed to the changeover switch 155 in the process of executing the switch control process, thereby performing the process illustrated in FIG. The function of the switch control unit 36 is realized.

図10に示したように、切替ユニット40は、図6に示した特定部157及びスイッチ制御部36の機能を果たすユニット制御部41を含んでいる。このユニット制御部41によれば、第2サーバ装置30から切替スイッチ155の動作を制御するための信号を受け取らなくても、境界ピクチャに対応するパケットが切替スイッチ155に渡されるタイミングでの切り替えを実現できる。   As shown in FIG. 10, the switching unit 40 includes a unit control unit 41 that functions as the specifying unit 157 and the switch control unit 36 shown in FIG. 6. According to this unit control unit 41, even when a signal for controlling the operation of the changeover switch 155 is not received from the second server device 30, the switching at the timing when the packet corresponding to the boundary picture is passed to the changeover switch 155 is performed. realizable.

つまり、第1サーバ装置20及び第2サーバ装置30と切替ユニット40とを、上述した伝送路C1,C2−2を用いて接続することで、GOPの区切りで2系統のトランスポートストリームTS1,TS2の切り替え可能な映像配信装置10を実現できる。これにより、第1サーバ装置20、第2サーバ装置30及び切替ユニット40それぞれのハードウェアとして独立性を高めることができるので、映像配信装置10の保守・管理を容易にすることができる。   That is, by connecting the first server device 20 and the second server device 30 to the switching unit 40 using the transmission paths C1 and C2-2 described above, two transport streams TS1 and TS2 are separated by GOP. Switchable video distribution apparatus 10 can be realized. Thereby, since independence can be improved as each hardware of the 1st server apparatus 20, the 2nd server apparatus 30, and the switching unit 40, the maintenance and management of the video delivery apparatus 10 can be made easy.

図11は、第2トランスポートストリームTS2を調整する処理のフローチャートの一例を示している。図11に示したステップS301〜ステップS315の各処理は、第2トランスポートストリームTS2を調整する処理のための第1アプリケーションプログラムに含まれる処理の一例である。また、これらのステップS301〜ステップS315の各処理は、プロセッサ31によって実行される。   FIG. 11 shows an example of a flowchart of processing for adjusting the second transport stream TS2. Each process of step S301 to step S315 illustrated in FIG. 11 is an example of a process included in the first application program for the process of adjusting the second transport stream TS2. In addition, each processing of step S301 to step S315 is executed by the processor 31.

まず、プロセッサ31は、パケット監視部35からの通知に基づいて、障害通知パケットが検出されたか否かを判定する(ステップ301)。   First, the processor 31 determines whether or not a failure notification packet has been detected based on the notification from the packet monitoring unit 35 (step 301).

例えば、図9に示した第1生成部11が正常に動作している場合のように、障害通知パケットが未検出である場合に、プロセッサ31は、ステップ301の否定判定ルートに従ってステップ302に進む。   For example, when the failure notification packet has not been detected as in the case where the first generation unit 11 illustrated in FIG. 9 is operating normally, the processor 31 proceeds to step 302 according to the negative determination route of step 301. .

ステップ302において、プロセッサ31は、図2を用いて説明したようにして、図9に示した照合回路51による照合結果に基づいて、第1クロック生成部12に基づく時刻と第2クロック生成部14に基づく時刻と間の時刻差分dを算出する。   In step 302, as described with reference to FIG. 2, the processor 31 determines the time based on the first clock generation unit 12 and the second clock generation unit 14 based on the collation result by the collation circuit 51 illustrated in FIG. A time difference d from the time based on is calculated.

次いで、プロセッサ31は、ステップ302で求めた時刻差分dと、上述した式(4)〜式(6)とに基づいて、各パケットに含まれる時刻情報を補正する(ステップ303)。プロセッサ31は、ステップ303の処理において、各パケットのヘッダから時刻情報を抽出し、抽出した時刻情報と上述した式(4)〜(6)とに基づいて、各パケットに含まれる時刻情報の補正値を求める。また、プロセッサ31は、求めた時刻情報をヘッダ書換部58に渡して、各パケットのヘッダに含まれる時刻情報を書換させることで、時刻情報の補正を行う。   Next, the processor 31 corrects the time information included in each packet based on the time difference d obtained in step 302 and the above-described equations (4) to (6) (step 303). In the process of step 303, the processor 31 extracts time information from the header of each packet, and corrects the time information included in each packet based on the extracted time information and the above-described equations (4) to (6). Find the value. Further, the processor 31 corrects the time information by passing the obtained time information to the header rewriting unit 58 and rewriting the time information included in the header of each packet.

また、プロセッサ31は、ヘッダ書換部58に対して、各パケットのヘッダに含まれる第2トランスポートストリームTS2のパケット識別子を、上述した特定の値「NULL」に置換する処理を実行させる(ステップ304)。なお、プロセッサ31は、上述したステップ303の時刻情報の補正処理とステップ304のパケット識別子の置換処理とを同時に実行してもよいし、また、逆の順番で実行してもよい。   Further, the processor 31 causes the header rewriting unit 58 to execute processing for replacing the packet identifier of the second transport stream TS2 included in the header of each packet with the specific value “NULL” described above (step 304). ). The processor 31 may execute the time information correction process in step 303 and the packet identifier replacement process in step 304 at the same time, or may be executed in the reverse order.

次いで、プロセッサ31は、映像配信装置10による映像の配信が完了したか否かを判定する(ステップ305)。未配信の入力データストリームSinがある場合に、プロセッサ31は、ステップ305の否定判定ルートに従ってステップ301の処理に戻る。   Next, the processor 31 determines whether or not the video distribution by the video distribution device 10 is completed (step 305). When there is an undelivered input data stream Sin, the processor 31 returns to the process of step 301 according to the negative determination route of step 305.

したがって、第1生成部11が正常に動作している間は、プロセッサ31は、ステップ301〜ステップ305の処理を繰り返して実行する。プロセッサ31は、ステップ301〜ステップ305の処理を繰り返して実行する過程で、第2トランスポートストリームTS2に対する調整処理として、時刻情報を第1トランスポートストリームTS1に同期させる処理とともに、無効化する処理を実行する。また、プロセッサ31が、ステップ301〜ステップ305の処理を繰り返す過程で、映像の配信が完了した場合に、プロセッサ31は、ステップ305の肯定判定ルートに従って、第2トランスポートストリームTS2を調整する処理を終了する。   Therefore, while the first generation unit 11 is operating normally, the processor 31 repeatedly executes the processing of step 301 to step 305. In the process of repeatedly executing the processing of Step 301 to Step 305, the processor 31 performs processing for invalidating the time information as well as processing for synchronizing the time information with the first transport stream TS1, as adjustment processing for the second transport stream TS2. Run. Further, in the process where the processor 31 repeats the processes of steps 301 to 305, when the video distribution is completed, the processor 31 performs a process of adjusting the second transport stream TS2 according to the affirmative determination route of step 305. finish.

一方、第1生成部11に障害が発生した場合に、図9に示したパケット監視部35は、障害通知パケットを検出した旨をプロセッサ31に通知する。この通知を受け取ったときに、プロセッサ31は、ステップ301の肯定判定ルートに進み、以下に述べる切替制御処理を実行する。なお、プロセッサ31は、例えば、第1トランスポートストリームTS1のパケットが所定の時間以上にわたって途切れた場合などに、第1サーバ装置20に障害が発生したと判断し、ステップ301の肯定判定ルートの処理を実行してもよい。   On the other hand, when a failure occurs in the first generation unit 11, the packet monitoring unit 35 illustrated in FIG. 9 notifies the processor 31 that a failure notification packet has been detected. When receiving this notification, the processor 31 proceeds to the affirmative determination route of step 301 and executes the switching control process described below. The processor 31 determines that a failure has occurred in the first server device 20 when, for example, the packet of the first transport stream TS1 is interrupted for a predetermined time or more, and the processing of the affirmative determination route in step 301 is performed. May be executed.

まず、プロセッサ31は、第2生成部13に対して、第1生成部11による符号化処理で適用されていた符号化モードの適用を指示することで、符号化モードの切り替えを行う(ステップ306)。プロセッサ31は、例えば、第1生成部11が正常に動作している間に、図9に示した複写バッファ34に保持されている情報に基づいて、第1生成部11による符号化処理で適用されているGOP構造を含む符号化モードを示す情報を取得してもよい。また、プロセッサ31は、このようにして取得した情報を第2生成部13に含まれる動画像エンコーダ131(図4参照)に渡し、符号化モードの切り替えを指示すればよい。   First, the processor 31 switches the encoding mode by instructing the second generation unit 13 to apply the encoding mode applied in the encoding process by the first generation unit 11 (step 306). ). For example, the processor 31 applies the encoding process by the first generation unit 11 based on the information held in the copy buffer 34 illustrated in FIG. 9 while the first generation unit 11 is operating normally. Information indicating a coding mode including the GOP structure being used may be acquired. Further, the processor 31 may pass the information acquired in this way to the moving image encoder 131 (see FIG. 4) included in the second generation unit 13 and instruct the switching of the encoding mode.

次いで、プロセッサ31は、複写バッファ34を参照することで、障害通知パケットの直前に生成された第1トランスポートストリームTS1のパケットに対応するピクチャを示す情報を取得する(ステップ307)。次に、プロセッサ31は、ステップ306の処理で取得した情報に基づいて、第1バッファ151に保持された第1トランスポートストリームTS1に対応するピクチャのうち、境界ピクチャよりも前に入力されたピクチャの数npを算出する(ステップ308)。このようにして得られたピクチャ数npは、境界ピクチャを特定する情報の一例である。したがって、プロセッサ31が、ステップ301の肯定判定ルートにおいて、ステップ307及びステップ308の処理を実行することは、図6に示した特定部157の実施形態の一つである。   Next, the processor 31 refers to the copy buffer 34 to obtain information indicating a picture corresponding to the packet of the first transport stream TS1 generated immediately before the failure notification packet (step 307). Next, based on the information acquired in step 306, the processor 31 selects pictures that are input before the boundary picture among the pictures corresponding to the first transport stream TS1 held in the first buffer 151. Np is calculated (step 308). The number of pictures np obtained in this way is an example of information for specifying a boundary picture. Therefore, it is one of the embodiments of the specifying unit 157 illustrated in FIG. 6 that the processor 31 executes the processing of step 307 and step 308 in the affirmative determination route of step 301.

なお、プロセッサ31は、上述したステップ306の処理と、ステップ307及びステップ308の処理とを、図11に示した順番とは逆の順序で実行してもよい。   Note that the processor 31 may execute the processing in step 306 and the processing in steps 307 and 308 in the order opposite to the order shown in FIG.

次に、プロセッサ31は、第1生成部11に障害が発生した以降に第2バッファ152から出力された分の第2トランスポートストリームTS2に対応するピクチャの数nsを計数する(ステップ309)。例えば、プロセッサ31は、第2バッファ152から出力されるパケットを監視し、1枚のピクチャに対応するパケットが第2バッファ152から出力されるごとに、上述したピクチャ数nsに数値「1」を加算する処理を行うことで、計数処理を行ってもよい。   Next, the processor 31 counts the number ns of pictures corresponding to the second transport stream TS2 output from the second buffer 152 after the failure has occurred in the first generation unit 11 (step 309). For example, the processor 31 monitors a packet output from the second buffer 152, and each time a packet corresponding to one picture is output from the second buffer 152, a numerical value “1” is added to the number of pictures ns described above. The counting process may be performed by performing the adding process.

次いで、プロセッサ31は、ステップ309で得られたピクチャ数nsとステップ308で得られたピクチャ数npとを比較する(ステップ310)。境界ピクチャの位置を示すピクチャ数npよりもピクチャ数nsの方が小さい場合に、プロセッサ31は、まだ境界ピクチャに対応するパケットは第2バッファ152から出力されていないと判断し、ステップ310の肯定判定ルートの処理を実行する。   Next, the processor 31 compares the number of pictures ns obtained in step 309 with the number of pictures np obtained in step 308 (step 310). When the picture number ns is smaller than the picture number np indicating the position of the border picture, the processor 31 determines that the packet corresponding to the border picture has not been output from the second buffer 152, and the result of step 310 is affirmative. Execute the judgment route process.

ステップ310の肯定判定ルートにおいて、プロセッサ31は、上述したステップ304と同様にして、第2バッファ152から出力されたパケットのヘッダに含まれるパケット識別子を、特定の値「NULL」に置換する処理を行う(ステップ311)。次いで、プロセッサ31は、ステップ303と同様にして、第2バッファ152から出力されたパケットに含まれる時刻情報を補正する処理を行う(ステップ312)。なお、ステップ312の処理において、プロセッサ31は、最後にステップ302の処理を実行した際に得られた時刻差分dの値に基づいて、各時刻情報に対応する補正値を求めればよい。次に、プロセッサ31は、ステップ313において、映像の配信処理が完了したか否かを判定し、未配信の入力データストリームSinがある場合に、ステップ313の否定判定ルートに従ってステップ309の処理に戻る。   In the affirmative determination route of step 310, the processor 31 performs processing for replacing the packet identifier included in the header of the packet output from the second buffer 152 with a specific value “NULL” in the same manner as in step 304 described above. Perform (step 311). Next, the processor 31 performs a process of correcting time information included in the packet output from the second buffer 152 in the same manner as in step 303 (step 312). In the process of step 312, the processor 31 may obtain a correction value corresponding to each time information based on the value of the time difference d obtained when the process of step 302 was executed last. Next, in step 313, the processor 31 determines whether or not the video distribution processing is completed. If there is an undistributed input data stream Sin, the processor 31 returns to the processing in step 309 according to the negative determination route in step 313. .

したがって、第2バッファ152から上述した境界ピクチャより前にピクチャに対応するパケットが出力されている期間は、プロセッサ31は、上述したステップ309〜ステップ313の処理を繰り返して実行する。このようにして、プロセッサ31は、上述した境界ピクチャより前のピクチャに対応する第2トランスポートストリームTS2に対して、時刻情報を第1トランスポートストリームTS1に同期させる処理と無効化する処理とを含む調整処理を実行する。   Therefore, during a period in which the packet corresponding to the picture is output from the second buffer 152 before the boundary picture described above, the processor 31 repeatedly executes the processes of Steps 309 to 313 described above. In this way, the processor 31 performs a process of synchronizing the time information with the first transport stream TS1 and a process of invalidating the second transport stream TS2 corresponding to the picture preceding the boundary picture. Execute the adjustment process including.

その後、ステップ309で得られたピクチャ数nsが上述した境界ピクチャの位置を示すピクチャ数np以上となったときに(ステップ310の否定判定)、プロセッサ31は、第2バッファ152から境界ピクチャに対応するパケットが出力されたと判断する。   After that, when the number of pictures ns obtained in step 309 is equal to or greater than the number of pictures np indicating the position of the boundary picture described above (negative determination in step 310), the processor 31 corresponds to the boundary picture from the second buffer 152. It is determined that the packet to be output has been output.

ステップ310の否定判定ルートにおいて、プロセッサ31は、ヘッダ書換部58に対して、各パケットのヘッダに含まれるパケット識別子を、第1トランスポートストリームTS1のパケット識別子に置換する処理を実行させる(ステップ314)。プロセッサ31は、例えば、第1生成部11が正常に動作している間に、上述した複写バッファ34に保持されている情報に基づいて、第1トランスポートストリームTS1のパケット識別子を取得してもよい。また、プロセッサ31は、このようにして取得したパケット識別子をヘッダ書換部58に渡すとともに、ヘッダ書換部58に対して、パケット識別子の書き換えを指示すればよい。このようなパケット識別子の書き換え処理を行うことにより、書き換え処理後のパケットを、第1トランスポートストリームTS1に属するパケットとすることが可能となる。   In the negative determination route of step 310, the processor 31 causes the header rewriting unit 58 to execute a process of replacing the packet identifier included in the header of each packet with the packet identifier of the first transport stream TS1 (step 314). ). For example, the processor 31 may acquire the packet identifier of the first transport stream TS1 based on the information held in the copy buffer 34 described above while the first generation unit 11 is operating normally. Good. The processor 31 may pass the packet identifier acquired in this way to the header rewriting unit 58 and instruct the header rewriting unit 58 to rewrite the packet identifier. By performing such a packet identifier rewriting process, the packet after the rewriting process can be a packet belonging to the first transport stream TS1.

次いで、プロセッサ31は、上述したステップ312の処理を実行することにより、各パケットに含まれる時刻情報の補正を行う。次に、プロセッサ31は、ステップ313において、映像の配信処理が完了したか否かを判定し、未配信の入力データストリームSinがある場合に、ステップ313の否定判定ルートに従ってステップ309の処理に戻り、以降の各パケットについての処理を行う。   Next, the processor 31 corrects the time information included in each packet by executing the process of step 312 described above. Next, in step 313, the processor 31 determines whether or not the video distribution processing is completed. If there is an undistributed input data stream Sin, the processor 31 returns to the processing in step 309 according to the negative determination route in step 313. Then, processing for each subsequent packet is performed.

このようにして、プロセッサ31は、第2バッファ152から出力される境界ピクチャ以降の各ピクチャに対応するパケットについて、上述したステップ309,ステップ310,ステップ314,ステップ312及びステップ313の処理を繰り返し実行する。この処理の過程で、プロセッサ31は、境界ピクチャ以降のピクチャに対応する各パケットに対して、第1トランスポートストリームTS1のパケットにする処理と、時刻情報を第1トランスポートストリームTS1に同期させる処理とを含む調整処理を実行する。   In this way, the processor 31 repeatedly executes the processing of step 309, step 310, step 314, step 312 and step 313 described above for the packet corresponding to each picture after the boundary picture output from the second buffer 152. To do. In the course of this processing, the processor 31 performs processing for converting each packet corresponding to a picture after the boundary picture into a packet of the first transport stream TS1, and processing for synchronizing time information with the first transport stream TS1. The adjustment process including is executed.

その後、入力データストリームSinの配信が終了したときに、プロセッサ31は、ステップ313の肯定判定ルートに従って、第2トランスポートストリームTS2の調整処理を終了する。   Thereafter, when the distribution of the input data stream Sin is finished, the processor 31 finishes the adjustment process of the second transport stream TS2 according to the affirmative determination route of Step 313.

図11に示したフローチャートでは、プロセッサ31は、ステップ310の判定結果に応じて、ステップ311あるいはステップ314の処理を実行する。このように、プロセッサ31が、境界ピクチャの前後で、ヘッダ書き換え後の各パケットを無効化する処理と、各パケットを第1トランスポートストリームTS1の一部とする処理とを切り替えて実行することは、図6に示した第1置換部158の実施形態の一つである。また、プロセッサ31が、ステップ301の肯定判定ルートと否定判定ルートとにおいて、それぞれ時刻情報を補正する処理としてステップ303及びステップ312を実行することは、図1に示した補正部154の実施形態の一つである。なお、ステップ301の否定判定ルートにおいて、ステップ312の時刻情報を補正する処理を、例えば、ステップ310の処理の前に実行することにより、時刻情報の補正処理とパケット識別子の置換処理の順序を入れ替えて実行してもよい。   In the flowchart shown in FIG. 11, the processor 31 executes the process of step 311 or step 314 according to the determination result of step 310. In this way, the processor 31 performs switching between the process of invalidating each packet after header rewriting and the process of making each packet a part of the first transport stream TS1 before and after the boundary picture. FIG. 6 is one embodiment of the first replacement unit 158 shown in FIG. 6. In addition, the processor 31 executes steps 303 and 312 as processes for correcting time information in the affirmative determination route and the negative determination route in step 301, respectively, in the embodiment of the correction unit 154 shown in FIG. One. Note that, in the negative determination route of step 301, the process of correcting the time information of step 312 is executed before the process of step 310, for example, thereby switching the order of the time information correction process and the packet identifier replacement process. May be executed.

このような処理をプロセッサ31が実行することにより、第2トランスポートストリームTS2のうち、境界ピクチャ以降の各ピクチャに対応する部分を、第1トランスポートストリームTS1の一部として切替ユニット40に渡すことができる。   When the processor 31 executes such processing, a part of the second transport stream TS2 corresponding to each picture after the boundary picture is passed to the switching unit 40 as a part of the first transport stream TS1. Can do.

図12は、スイッチ制御処理のフローチャートの例を示している。図12に示したステップS321〜ステップS326の各処理は、スイッチ制御処理の一例である。また、これらのステップS321〜ステップS326の各処理は、図10に示したプロセッサ43によって実行される。   FIG. 12 shows an example of a flowchart of the switch control process. Each process of step S321 to step S326 illustrated in FIG. 12 is an example of a switch control process. In addition, each processing of step S321 to step S326 is executed by the processor 43 shown in FIG.

まず、プロセッサ43は、図10に示したパケット監視部42からの通知に基づいて、第1トランスポートストリームTS1から障害通知パケットが検出されたか否かを判定する(ステップ321)。   First, the processor 43 determines whether or not a failure notification packet is detected from the first transport stream TS1 based on the notification from the packet monitoring unit 42 shown in FIG. 10 (step 321).

例えば、図9に示した第1生成部11が正常に動作している場合のように、障害通知パケットが未検出である場合に、プロセッサ43は、ステップ321の否定判定ルートに従って、ステップ321の処理を繰り返す。一方、パケット監視部42から障害通知パケットを検出した旨が通知されたときに、プロセッサ43は、ステップ321の肯定判定ルートに進み、切替スイッチ155の状態を切り替える処理を実行する。   For example, when the failure notification packet has not been detected as in the case where the first generation unit 11 illustrated in FIG. 9 is operating normally, the processor 43 follows the negative determination route of step 321 to Repeat the process. On the other hand, when it is notified from the packet monitoring unit 42 that the failure notification packet has been detected, the processor 43 proceeds to the affirmative determination route of step 321 and executes a process of switching the state of the changeover switch 155.

ステップ321の肯定判定ルートにおいて、プロセッサ43は、まず、図10に示した第1バッファ151を参照し、障害通知パケットの直前に生成された第1トランスポートストリームTS1のパケットに対応するピクチャを示す情報を取得する(ステップ322)。   In the affirmative determination route of step 321, the processor 43 first refers to the first buffer 151 illustrated in FIG. 10 and indicates a picture corresponding to the packet of the first transport stream TS 1 generated immediately before the failure notification packet. Information is acquired (step 322).

次いで、プロセッサ43は、ステップ322の処理で取得した情報に基づいて、第1バッファ151に保持された第1トランスポートストリームTS1に対応するピクチャのうち、境界ピクチャよりも前に入力されたピクチャの数npを算出する(ステップ323)。   Next, the processor 43 selects, based on the information acquired in the process of step 322, the picture input before the boundary picture among the pictures corresponding to the first transport stream TS1 held in the first buffer 151. The number np is calculated (step 323).

次に、プロセッサ43は、第1生成部11に障害が発生した以降に第1バッファ151から出力された分の第1トランスポートストリームTS1に対応するピクチャの数nsを計数する(ステップ324)。例えば、プロセッサ43は、第1バッファ151から出力されるパケットを監視し、1枚のピクチャに対応するパケットが第1バッファ151から出力されるごとに、上述したピクチャ数nsに数値「1」を加算する処理を行うことで、計数処理を行ってもよい。   Next, the processor 43 counts the number ns of pictures corresponding to the first transport stream TS1 output from the first buffer 151 after the failure has occurred in the first generation unit 11 (step 324). For example, the processor 43 monitors a packet output from the first buffer 151, and each time a packet corresponding to one picture is output from the first buffer 151, a numerical value “1” is added to the number of pictures ns described above. The counting process may be performed by performing the adding process.

次いで、プロセッサ31は、ステップ324で得られたピクチャ数nsとステップ323で得られたピクチャ数npとを比較する(ステップ325)。境界ピクチャの位置を示すピクチャ数npよりもピクチャ数nsが小さい場合に、プロセッサ43は、ステップ325の否定判定ルートに従ってステップ324の処理に戻り、ステップ324及びステップ325の処理を繰り返す。   Next, the processor 31 compares the number of pictures ns obtained in step 324 with the number of pictures np obtained in step 323 (step 325). When the picture number ns is smaller than the picture number np indicating the position of the boundary picture, the processor 43 returns to the process of step 324 according to the negative determination route of step 325 and repeats the processes of step 324 and step 325.

その後、第1バッファ151から出力されたピクチャ数nsが、境界ピクチャの位置を示すピクチャ数npに到達したときに(ステップ325の肯定判定)、プロセッサ43は、ステップ326の処理に進む。   Thereafter, when the number of pictures ns output from the first buffer 151 has reached the number of pictures np indicating the position of the boundary picture (affirmative determination in step 325), the processor 43 proceeds to the process of step 326.

ステップ326において、プロセッサ43は、切替スイッチ155を、第1バッファ151の出力を選択する第1状態から、図10に示した伝送路C2−2経由の第2トランスポートストリームTS2を選択する第2状態に切り替え、切替制御処理を終了する。   In step 326, the processor 43 selects the second transport stream TS2 via the transmission line C2-2 shown in FIG. 10 from the first state where the selector 155 selects the output of the first buffer 151. Switch to the state and end the switching control process.

このような切替制御処理をプロセッサ43が実行することにより、第1トランスポートストリームTS1におけるGOPの区切りで、図11を用いて説明した調整処理が施された第2トランスポートストリームTS2への切り替えを実現することができる。つまり、図10に示したプロセッサ43が、ステップ321〜ステップ326の処理を実行することにより、図6に示した切替制御部157の機能を実現することができる。   When the processor 43 executes such switching control processing, switching to the second transport stream TS2 to which the adjustment processing described with reference to FIG. 11 is performed at the GOP break in the first transport stream TS1. Can be realized. That is, the function of the switching control unit 157 shown in FIG. 6 can be realized by the processor 43 shown in FIG. 10 executing the processing of step 321 to step 326.

また、この切り替え処理以降は、切替スイッチ155は、伝送路C2−2経由の第2トランスポートストリームTS2を選択する第2状態を維持し、上述した調整処理が施された第2トランスポートストリームTS2の各パケットを伝送路Routに送出する。   In addition, after this switching process, the selector switch 155 maintains the second state in which the second transport stream TS2 via the transmission line C2-2 is selected, and the second transport stream TS2 subjected to the adjustment process described above. Are sent to the transmission line Rout.

このようにして伝送路Routに送出された第2トランスポートストリームTS2の各パケットは、第1トランスポートストリームTS1に同期した時刻情報と第1トランスポートストリームTS1と同一のパケット識別子を含んでいる。したがって、これらの各パケットを受信した受信端末は、上述した切り替え前に送出された第1トランスポートストリームTS1の一部として復元・再生することが可能であるので、遅滞や映像の脱落などが発生することはない。   Thus, each packet of the second transport stream TS2 sent to the transmission path Rout includes time information synchronized with the first transport stream TS1 and the same packet identifier as that of the first transport stream TS1. Therefore, the receiving terminal that receives these packets can be restored and reproduced as a part of the first transport stream TS1 sent before the switching described above, so that a delay or dropout of the video occurs. Never do.

このように、図9及び図10に示したハードウェア構成を有する映像配信装置10によれば、第1生成部11を含む第1サーバ装置20に障害が発生した場合でも、上述した切替処理により、高い信頼性で、高品質のライブ映像の配信サービスを継続することができる。   As described above, according to the video distribution device 10 having the hardware configuration illustrated in FIGS. 9 and 10, even when a failure occurs in the first server device 20 including the first generation unit 11, the switching process described above is performed. High-quality live video distribution service can be continued with high reliability.

ところで、ライブ映像の配信サービスを継続的に提供していくためには、映像配信装置10に含まれる第1サーバ装置20及び第2サーバ装置30の状態を定期的に点検することが望ましい。また、予備系として動作している第2サーバ装置30についての点検についても、現用系として動作している第1サーバ装置20についての点検も、ライブ映像の配信サービスを継続しながら実施することが望ましい。   By the way, in order to continuously provide a live video distribution service, it is desirable to periodically check the states of the first server device 20 and the second server device 30 included in the video distribution device 10. In addition, both the inspection of the second server device 30 operating as the standby system and the inspection of the first server device 20 operating as the active system can be performed while continuing the live video distribution service. desirable.

次に、ライブ映像の配信サービスを継続しながら、第1サーバ装置20の定期点検などを実施可能とする方法について説明する。   Next, a method for enabling periodic inspection of the first server device 20 while continuing the live video distribution service will be described.

図13は、映像配信装置10の別実施形態を示している。なお、図13に示した構成要素のうち、図1に示した構成要素と同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 13 shows another embodiment of the video distribution apparatus 10. Note that among the constituent elements shown in FIG. 13, the same constituent elements as those shown in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted.

図13に示した第1サーバ装置20は、第1生成部11から第2生成部13への現用系の切り替えに先立って、当該切り替えを実行する第1タイミングを指定する情報を含む切替予告を切り替え部15に通知する予告部18を含んでいる。予告部18は、例えば、定期点検によって第1サーバ装置20を停止させる時刻を示すスケジュール情報などに基づいて切替予告を生成し、上述した時刻に対応する第1タイミングの前に、生成した切替予告を切り替え部15に通知すればよい。   The first server device 20 shown in FIG. 13 gives a switching notice including information specifying the first timing for executing the switching prior to switching the working system from the first generating unit 11 to the second generating unit 13. A notice unit 18 for notifying the switching unit 15 is included. For example, the notice unit 18 generates a switching notice based on schedule information indicating the time to stop the first server device 20 by periodic inspection, and the generated switching notice is generated before the first timing corresponding to the above-described time. May be notified to the switching unit 15.

予告部18は、例えば、第1生成部11において採用中の符号化モードにおいて1つのGOPに含まれるピクチャ数を含む制御パケットを切替予告として生成してもよい。また、予告部18は、第1生成部11によって最後に符号化されるGOPの先頭に対応するパケットの直前に、上述したようにして生成した制御パケットを挿入し、第1トランスポートストリームTS1の一部として送出することで、切替予告を通知してもよい。なお、予告部18は、上述した制御パケットを生成する際に、図7に示した障害通知パケットと同様に、パケット識別子に特定の値「NULL」を設定することが望ましい。   For example, the notification unit 18 may generate a control packet including the number of pictures included in one GOP in the encoding mode employed by the first generation unit 11 as the switching notification. Further, the notifying unit 18 inserts the control packet generated as described above immediately before the packet corresponding to the head of the GOP encoded last by the first generating unit 11, and the first transport stream TS1. A change notice may be notified by sending it as a part. In addition, when the notification part 18 produces | generates the control packet mentioned above, it is desirable to set specific value "NULL" to a packet identifier similarly to the failure notification packet shown in FIG.

また、図13に示した第2サーバ装置30は、切り替え部15に属する構成要素として、予告制御部159と、第2置換部160とを含んでいる。なお、図13に示した例のように、予告制御部159及び第2置換部160を第2サーバ装置30に配置する代わりに、予告制御部159及び第2置換部160を切替ユニット40に配置してもよい。   Further, the second server device 30 illustrated in FIG. 13 includes a notice control unit 159 and a second replacement unit 160 as components belonging to the switching unit 15. As in the example shown in FIG. 13, the notice control unit 159 and the second replacement unit 160 are arranged in the switching unit 40 instead of arranging the notice control unit 159 and the second substitution unit 160 in the second server device 30. May be.

図13に示した予告制御部159は、切替予告で指定された第1タイミングから、第1バッファ151による遅延に相当する時間の経過した後の第2タイミングにおいて、切替スイッチ155の状態を、上述した第1状態から第2状態に切り替える制御を行う。   The notice control unit 159 shown in FIG. 13 changes the state of the changeover switch 155 at the second timing after the time corresponding to the delay by the first buffer 151 from the first timing designated by the notice of switching. Control to switch from the first state to the second state is performed.

上述した第2タイミングは、第1バッファ151から切り替えスイッチ155に渡される遅延させられた第1トランスポートストリームTS1が途切れるタイミングに相当する。また、この第2タイミングは、上述した第1タイミング以降の入力データストリームSinから第2生成部13が生成したパケットが、第2バッファ152による遅延及び補正部154による時刻情報の補正を経て切り替えスイッチ155に到達するタイミングでもある。   The second timing described above corresponds to the timing at which the delayed first transport stream TS1 passed from the first buffer 151 to the changeover switch 155 is interrupted. In addition, the second timing is switched by a packet generated by the second generation unit 13 from the input data stream Sin after the first timing described above after the delay by the second buffer 152 and the correction of time information by the correction unit 154. It is also the timing to reach 155.

したがって、予告制御部159が上述した制御を行うことにより、第1タイミングの到来前に生成された第1トランスポートストリームTS1から第1タイミングの到来後に生成された第2トランスポートストリームTS2への切り替えを実現することができる。   Therefore, the advancement control unit 159 performs the above-described control to switch from the first transport stream TS1 generated before the arrival of the first timing to the second transport stream TS2 generated after the arrival of the first timing. Can be realized.

また、第2置換部160は、上述した第2タイミングまでは、第2バッファ152あるいは補正部154から出力される各パケットのパケット識別子を上述した特定の値「NULL」に置換する。第2置換部160が、このような置換処理を行うことにより、第2タイミングの到来前に切り替えスイッチ155に渡される第2トランスポートストリームTS2を無効化することができる。   The second replacement unit 160 replaces the packet identifier of each packet output from the second buffer 152 or the correction unit 154 with the specific value “NULL” until the second timing described above. By performing such replacement processing, the second replacement unit 160 can invalidate the second transport stream TS2 passed to the changeover switch 155 before the arrival of the second timing.

また、第2置換部160は、上述した第2タイミング以降に第2バッファ151あるいは補正部154から出力される各パケットのパケット識別子を、第1トランスポートストリームTS1を示す値に置換する。第2置換部160が、このような置換処理を行うことにより、第1タイミングの到来以降に第2生成部13で生成された各パケットを、第1トランスポートストリームTS1のパケットとして切り替えスイッチ155に渡すことができる。   Further, the second replacement unit 160 replaces the packet identifier of each packet output from the second buffer 151 or the correction unit 154 after the second timing described above with a value indicating the first transport stream TS1. When the second replacement unit 160 performs such replacement processing, each packet generated by the second generation unit 13 after the arrival of the first timing is sent to the changeover switch 155 as a packet of the first transport stream TS1. Can pass.

また、図13に示すように、第2サーバ装置30は、符号化制御部17を含んでもよい。なお、図13に示した符号化制御部17は、第1サーバ装置20から出力される第1トランスポートストリームTS1のパケットが消失したときに、第1生成部11の動作が停止したと判断してもよい。また、符号化制御部17は、上述した制御パケットを検出してから、この制御パケットに含まれるピクチャ数分の第1トランスポートストリームTS1が第1サーバ装置20から出力されたときに、第1生成部11の動作停止を検出してもよい。   Further, as illustrated in FIG. 13, the second server device 30 may include an encoding control unit 17. Note that the encoding control unit 17 illustrated in FIG. 13 determines that the operation of the first generation unit 11 has stopped when the packet of the first transport stream TS1 output from the first server device 20 is lost. May be. In addition, after detecting the control packet described above, the encoding control unit 17 outputs the first transport stream TS1 for the number of pictures included in the control packet when the first server device 20 outputs the first transport stream TS1. An operation stop of the generation unit 11 may be detected.

符号化制御部17が、第1生成部11の動作状態に応じて、第2生成部13の符号化モードを切り替えることにより、上述した第1タイミングの到来に応じて、第2生成部13に第1生成部11と同様のGOP構造を適用した符号化処理を開始させることができる。   The encoding control unit 17 switches the encoding mode of the second generation unit 13 in accordance with the operation state of the first generation unit 11, thereby causing the second generation unit 13 to respond to the arrival of the first timing described above. An encoding process to which the same GOP structure as that of the first generation unit 11 is applied can be started.

これにより、図14に示すように、第2生成部13が上述したGOP構造を適用して生成した第2トランスポートストリームTS2を、上述した第2タイミングに合わせて、切り替えスイッチ155に渡すことができる。   As a result, as shown in FIG. 14, the second transport stream TS2 generated by applying the above-described GOP structure by the second generation unit 13 is transferred to the changeover switch 155 in accordance with the above-described second timing. it can.

図14は、切り替え予告に基づく符号化モードの切り替え例を示している。なお、図14に示した要素のうち、図8に示した要素と同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 14 shows an example of coding mode switching based on the switching notice. Of the elements shown in FIG. 14, elements equivalent to those shown in FIG. 8 are denoted by the same reference numerals, and description thereof is omitted.

図14の例は、図13に示した予告部18により、m−1番目のGOPとm番目のGOPとの境界に上述した制御パケットP1(CTL)が挿入された場合を示している。この場合に、第1生成部11は、符号GOP(m)で示した1GOP分の第1トランスポートストリームTS1の生成が完了した時刻Tc1において動作を停止する。すなわち、図14の例では、時刻Tc1は、第1サーバ装置20から第2サーバ装置30への切り替えを実行する第1タイミングに相当する。また、この第1タイミングにおいて、第2生成部13は、第1トランスポートストリームTS1のGOP(m−1)と同様のGOP構造を適用した符号化処理を開始している。なお、図14において、符号GOP(m+1)は、時刻Tc1以降の1GOP分の各ピクチャに対応して第2生成部13が生成した第2トランスポートストリームTS2を示している。   The example of FIG. 14 shows a case where the control packet P1 (CTL) described above is inserted at the boundary between the m−1th GOP and the mth GOP by the notice unit 18 shown in FIG. In this case, the first generation unit 11 stops the operation at time Tc1 when the generation of the first transport stream TS1 for 1 GOP indicated by the code GOP (m) is completed. That is, in the example of FIG. 14, the time Tc1 corresponds to the first timing at which switching from the first server device 20 to the second server device 30 is executed. In addition, at the first timing, the second generation unit 13 starts an encoding process using the same GOP structure as the GOP (m−1) of the first transport stream TS1. In FIG. 14, the code GOP (m + 1) indicates the second transport stream TS2 generated by the second generation unit 13 corresponding to each picture for 1 GOP after time Tc1.

また、図14の例において、上述した時刻Tc1から1GOP分の遅延時間が経過した時刻Tc2は、第1タイミングから1GOP分の時間が経過した後の第2タイミングに相当する。この第2タイミングにおいて、図14において符号GOP(m+1)で示した第2トランスポートストリームTS2は、符号GOP(m)で示した第1トランスポートストリームTS1に続いて、トランスポートストリームTSoutの一部として送出される。   In the example of FIG. 14, the time Tc2 when the delay time of 1 GOP has elapsed from the time Tc1 described above corresponds to the second timing after the time of 1 GOP has elapsed from the first timing. At this second timing, the second transport stream TS2 indicated by the symbol GOP (m + 1) in FIG. 14 is part of the transport stream TSout following the first transport stream TS1 indicated by the symbol GOP (m). Is sent out as

このように、図13に示した映像配信装置10によれば、上述した予告切り替え制御を行うことにより、切り替え直後のトランスポートストリームにおいても、高品質の映像を少ない情報量で伝送可能なGOP構造を適用させることができる。   As described above, according to the video distribution apparatus 10 shown in FIG. 13, the GOP structure capable of transmitting high-quality video with a small amount of information even in the transport stream immediately after switching by performing the above-described notice switching control. Can be applied.

なお、第1生成部11は、最後に生成するGOP(m)を、後続のGOPに含まれる情報に依存せずに復元可能なGOP構造を持つクローズドGOPとすることが望ましい。なお、クロ−ズドGOPの構造の一例は、図14に示したように、最後のピクチャをPピクチャとして符号化する構造である。このように、切り替え前の最後のGOPをクローズドGOPとすることにより、受信端末において、第1トランスポートストリームTS1の最後のGOPを、後続の第2トランスポートストリームTS2の情報を用いずに復元することが可能となる。これにより、トランスポートストリームの切り替えに伴って画像の乱れが発生することを、より高い確度で防ぐことができる。   Note that the first generation unit 11 desirably uses the GOP (m) to be generated last as a closed GOP having a GOP structure that can be restored without depending on information included in the subsequent GOP. An example of the structure of the closed GOP is a structure in which the last picture is encoded as a P picture, as shown in FIG. In this way, by setting the last GOP before switching as a closed GOP, the receiving terminal restores the last GOP of the first transport stream TS1 without using the information of the subsequent second transport stream TS2. It becomes possible. Thereby, it is possible to prevent the image from being disturbed with the switching of the transport stream with higher accuracy.

図13に例示した映像配信装置10は、図15に示すようなハードウェア構成で実現することが可能である。   The video distribution apparatus 10 illustrated in FIG. 13 can be realized with a hardware configuration as illustrated in FIG.

図15は、映像配信装置10のハードウェア構成の別例を示している。なお、図15に示した構成要素のうち、図4及び図9に示した構成要素と同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 15 shows another example of the hardware configuration of the video distribution device 10. 15 that are the same as those shown in FIGS. 4 and 9 are given the same reference numerals, and descriptions thereof are omitted.

図15に示した第1サーバ装置20において、パケット生成部25は、プロセッサ21からの指示に応じて、上述した予告切り替えのための制御パケットを生成し、プロセッサ21からの指示に応じて、生成した制御パケットを伝送路インタフェース23に渡す。   In the first server device 20 shown in FIG. 15, the packet generator 25 generates a control packet for the above-described notice switching in response to an instruction from the processor 21, and generates it in response to an instruction from the processor 21. The control packet is passed to the transmission path interface 23.

また、プロセッサ21は、例えば、第1サーバ装置20に設けられたメモリ(図示せず)に設定されたスケジュール情報に基づいて、パケット生成部25に制御パケットを生成させるとともに、制御パケットを出力させるタイミングを制御する。   Further, for example, the processor 21 causes the packet generation unit 25 to generate a control packet and output the control packet based on schedule information set in a memory (not shown) provided in the first server device 20. Control timing.

このように、プロセッサ21が、予め設定されたスケジュール情報に基づいてパケット生成部25による制御パケットの生成動作及び出力動作を制御することにより、図13に示した予告部18の機能を実現することができる。   Thus, the processor 21 realizes the function of the notice unit 18 shown in FIG. 13 by controlling the control packet generation operation and output operation by the packet generation unit 25 based on preset schedule information. Can do.

また、図15に示した第2サーバ装置30においてパケット監視部35は、第1サーバ装置20が伝送路C1に送出する第1トランスポートストリームTS1から、上述した制御パケットを検出する。   In the second server device 30 shown in FIG. 15, the packet monitoring unit 35 detects the control packet described above from the first transport stream TS1 sent from the first server device 20 to the transmission path C1.

図15に示したプロセッサ31は、パケット監視部35によって制御パケットが検出されたときに、後述するように、第2生成部13を現用系として動作させるための予告切り替え処理を実行する。プロセッサ31は、例えば、第2サーバ装置30に設けられたメモリ(図示せず)に格納された第2アプリケーションプログラムを実行することにより、予告切り替え処理を実行する。   The processor 31 illustrated in FIG. 15 executes a notice switching process for operating the second generation unit 13 as an active system, as will be described later, when a control packet is detected by the packet monitoring unit 35. For example, the processor 31 executes the notice switching process by executing a second application program stored in a memory (not shown) provided in the second server device 30.

第2アプリケーションプログラムは、図15に示した照合回路51による照合結果に基づいて、第1クロック生成部12に基づく時刻と第2クロック生成部14に基づく時刻との間の時刻差分dを検出する処理を行うためのプログラムを含んでいる。プロセッサ31は、照合回路51による照合結果に基づいて、上述した時刻差分dを検出する処理のためのプログラムを実行することで、図13に示した検出部153の機能を果たす。なお、図15においては、検出部153の図示は省略している。   The second application program detects a time difference d between the time based on the first clock generation unit 12 and the time based on the second clock generation unit 14 based on the collation result by the collation circuit 51 shown in FIG. A program for processing is included. The processor 31 performs the function of the detection unit 153 illustrated in FIG. 13 by executing a program for the above-described processing for detecting the time difference d based on the collation result by the collation circuit 51. In addition, in FIG. 15, illustration of the detection part 153 is abbreviate | omitted.

また、第2アプリケーションプログラムは、ヘッダ書換部58に対して、各パケットに含まれる時刻情報を、補正後の時刻情報に書き換える処理を実行させるためのプログラムを含んでいる。プロセッサ31は、上述した時刻情報の書換処理のためのプログラムに従って、ヘッダ書換部58の動作を制御することで、図1に示した補正部154の機能を果たす。なお、図15においては、補正部154の図示は省略している。   Further, the second application program includes a program for causing the header rewriting unit 58 to execute a process of rewriting the time information included in each packet with the corrected time information. The processor 31 performs the function of the correction unit 154 shown in FIG. 1 by controlling the operation of the header rewriting unit 58 in accordance with the above-described program for rewriting time information. In FIG. 15, the correction unit 154 is not shown.

更に、第2アプリケーションプログラムは、検出した制御パケットに含まれる情報に基づいて、切り替えスイッチ155の切り替えを制御する処理のためのプログラムを含んでいる。プロセッサ31は、パケット監視部35から受け取った情報に基づいて、切り替えスイッチ155の切り替えを制御する処理を行うことにより、図13に示した予告制御部159の機能を実現する。   Further, the second application program includes a program for processing for controlling switching of the selector switch 155 based on information included in the detected control packet. The processor 31 realizes the function of the notice control unit 159 shown in FIG. 13 by performing processing for controlling switching of the changeover switch 155 based on the information received from the packet monitoring unit 35.

また、第2アプリケーションプログラムは、検出した制御パケットに含まれる情報に基づいて、ヘッダ書換部58によるパケット識別子の書換動作を制御する処理のためのプログラムを含んでいる。プロセッサ31は、パケット監視部35から受け取った情報に基づいて、ヘッダ書換部58によるパケット識別子の書換動作を制御する処理を行うことにより、図13に示した第2置換部160の機能を実現する。   In addition, the second application program includes a program for processing for controlling the packet identifier rewriting operation by the header rewriting unit 58 based on the information included in the detected control packet. The processor 31 realizes the function of the second replacement unit 160 illustrated in FIG. 13 by performing processing for controlling the packet identifier rewriting operation by the header rewriting unit 58 based on the information received from the packet monitoring unit 35. .

つまり、図15に示したハードウェア構成例に含まれるプロセッサ31が、パケット監視部35から上述した制御パケットを検出した旨が通知されたときに、図16に示す予測切り替え処理を実行することで、図13に示した映像配信装置10を実現できる。   That is, when the processor 31 included in the hardware configuration example illustrated in FIG. 15 is notified from the packet monitoring unit 35 that the control packet described above has been detected, the prediction switching process illustrated in FIG. 16 is performed. The video distribution apparatus 10 shown in FIG. 13 can be realized.

図16は、予告切り替え処理のフローチャートの一例を示している。なお、図16に示したステップのうち、図11に示したステップと同等のものについては、同一の符号を付して示し、その説明は省略する。   FIG. 16 shows an example of a flowchart of the notice switching process. Of the steps shown in FIG. 16, the same steps as those shown in FIG. 11 are denoted by the same reference numerals and description thereof is omitted.

図16に示した各ステップの処理は、予測切り替え処理のための第2アプリケーションプログラムに含まれる処理の一例である。また、これらの各ステップの処理は、プロセッサ31によって実行される。   The process of each step shown in FIG. 16 is an example of a process included in the second application program for the prediction switching process. Further, the processing of each step is executed by the processor 31.

プロセッサ31は、まず、パケット監視部35から、上述した制御パケットに含まれる情報の通知を受け、受け取った情報から、切り替え前に符号化される最後のGOPに属するピクチャ数npを取得する(ステップ331)。   First, the processor 31 receives a notification of the information included in the control packet described above from the packet monitoring unit 35, and acquires the number of pictures np belonging to the last GOP encoded before switching from the received information (step S31). 331).

次に、プロセッサ31は、第1生成部11が動作中であるか否かを判定する(ステップ332)。プロセッサ31は、例えば、パケット監視部35による検出状況を示す情報を受け取り、この検出状況を示す情報に基づいて、ステップ332の判定処理を実行してもよい。   Next, the processor 31 determines whether or not the first generation unit 11 is operating (step 332). For example, the processor 31 may receive information indicating the detection status by the packet monitoring unit 35 and execute the determination process in step 332 based on the information indicating the detection status.

パケット監視部35から、第1トランスポートストリームTS1のパケットを検出している状態が継続している旨が通知されている場合に、プロセッサ31は、第1生成部11は動作中であると判断し、ステップ332の肯定判定ルートに進む。   When it is notified from the packet monitoring unit 35 that the state of detecting the packet of the first transport stream TS1 is continuing, the processor 31 determines that the first generation unit 11 is operating. Then, the process proceeds to the affirmative determination route in step 332.

ステップ332の肯定判定ルートにおいて、プロセッサ31は、図11に示したステップ302〜ステップ304と同様に、第2トランスポートストリームTS2の各パケットについて時刻差分dを補正するとともに無効化する処理を実行する。その後、プロセッサ31は、ステップ332の処理に戻る。   In the affirmative determination route of step 332, the processor 31 executes processing for correcting and invalidating the time difference d for each packet of the second transport stream TS2, as in steps 302 to 304 shown in FIG. . Thereafter, the processor 31 returns to the process of step 332.

ここで、ステップ332で第1生成部11が動作中であるとする判定が継続する期間は、第1生成部11によって、切り替え前の最後のGOPに対応する第1トランスポートストリームが生成されている期間に相当する。つまり、プロセッサ31は、切り替え前の最後のGOPに対応する第1トランスポートストリームが生成されている期間にわたって、ステップ332の処理及びステップ302〜ステップ304の処理を繰り返して実行する。なお、この期間は、図14に示した例では、制御パケットP1(CTL)が第1トランスポートストリームTS1に挿入されたタイミングから、第1タイミングに相当する時刻Tc1までの期間である。   Here, during the period in which the determination that the first generation unit 11 is operating in step 332 continues, the first transport stream corresponding to the last GOP before switching is generated by the first generation unit 11. It corresponds to the period. That is, the processor 31 repeatedly executes the processing in step 332 and the processing in steps 302 to 304 over the period in which the first transport stream corresponding to the last GOP before switching is generated. In the example shown in FIG. 14, this period is a period from the timing when the control packet P1 (CTL) is inserted into the first transport stream TS1 to the time Tc1 corresponding to the first timing.

第1生成部11が最後のGOPに対応する第1トランスポートストリームTS1の生成を完了したときに、パケット監視部35は、第1トランスポートストリームTS1のパケットが検出できなくなった旨をプロセッサ31に通知する。この通知に応じて、プロセッサ31は、第1生成部11の動作が停止したと判断し、ステップ332の否定判定ルートの処理を開始する。   When the first generation unit 11 completes the generation of the first transport stream TS1 corresponding to the last GOP, the packet monitoring unit 35 notifies the processor 31 that the packet of the first transport stream TS1 can no longer be detected. Notice. In response to this notification, the processor 31 determines that the operation of the first generation unit 11 has stopped, and starts processing of a negative determination route in step 332.

ステップ332の否定判定ルートにおいて、プロセッサ31は、まず、図11に示したステップ306と同様にして、第2生成部13の符号化モードを切り替える。このように、プロセッサ31が、ステップ332の否定判定ルートにおいて、ステップ306の処理を実行することで、図13に示した符号化制御部17の機能を実現することができる。これにより、図14に示したように、第1生成部11によって最後のGOP(m)に対応する第1トランスポートストリームTS1の生成が完了したタイミングで、第2生成部13に、第1生成部11と同様のGOP構造を適用した符号化処理を開始させることができる。   In the negative determination route of step 332, the processor 31 first switches the encoding mode of the second generation unit 13 in the same manner as in step 306 shown in FIG. As described above, the processor 31 executes the process of step 306 in the negative determination route of step 332, thereby realizing the function of the encoding control unit 17 illustrated in FIG. As a result, as shown in FIG. 14, the first generation unit 11 causes the second generation unit 13 to generate the first generation at the timing when the generation of the first transport stream TS1 corresponding to the last GOP (m) is completed. An encoding process to which the same GOP structure as that of the unit 11 is applied can be started.

次いで、プロセッサ31は、上述したステップ306で符号化モードを切り替えた以降に、第2バッファ152から出力された第2トランスポートストリームTS2に対応するピクチャ数nsを計数する(ステップ333)。   Next, the processor 31 counts the number of pictures ns corresponding to the second transport stream TS2 output from the second buffer 152 after switching the encoding mode in step 306 described above (step 333).

次に、プロセッサ31は、第1トランスポートストリームTS1の最後のGOPに属するピクチャ数npとステップ333の処理で得られたピクチャ数nsとを比較する(ステップ334)。   Next, the processor 31 compares the number of pictures np belonging to the last GOP of the first transport stream TS1 with the number of pictures ns obtained in the process of step 333 (step 334).

ピクチャ数nsがピクチャ数npより小さい場合に(ステップ334の肯定判定)、プロセッサ31は、まだ、第1トランスポートストリームTS1の最後のGOPに対応する第2トランスポートストリームTS2の出力が完了していないと判断する。この場合に、プロセッサ31は、ステップ334の肯定判定ルートの処理として、図11に示したフローチャートと同様に、ステップ311〜ステップ313の処理を実行する。つまり、第2バッファ152が、切り替え前の最後のGOPに対応する第2トランスポートストリームTS2の各パケットを出力している間は、プロセッサ31は、上述したステップ333,334及びステップ311〜ステップ313の処理を繰り返して実行する。このようにして、プロセッサ31は、切り替え前の最後のGOPに対応する第2トランスポートストリームTS2に対して、時刻情報を第1トランスポートストリームTS1に同期させる処理と無効化する処理とを実行する。   When the picture number ns is smaller than the picture number np (Yes in step 334), the processor 31 has yet to output the second transport stream TS2 corresponding to the last GOP of the first transport stream TS1. Judge that there is no. In this case, the processor 31 executes the processing of step 311 to step 313 as the processing of the affirmative determination route of step 334 as in the flowchart shown in FIG. That is, while the second buffer 152 outputs each packet of the second transport stream TS2 corresponding to the last GOP before switching, the processor 31 performs steps 333 and 334 and steps 311 to 313 described above. Repeat the process. In this way, the processor 31 performs the process of synchronizing the time information with the first transport stream TS1 and the process of invalidating the second transport stream TS2 corresponding to the last GOP before switching. .

その後、ステップ333で得られたピクチャ数nsが最後のGOPに属するピクチャ数np以上となったときに(ステップ334の否定判定)、プロセッサ31は、符号化モードの切り替え後に生成されたパケットが第2バッファ152から出力されたと判断する。   Thereafter, when the number of pictures ns obtained in step 333 becomes equal to or greater than the number of pictures np belonging to the last GOP (negative determination in step 334), the processor 31 determines that the packet generated after switching the coding mode is the first one. It is determined that the data is output from the second buffer 152.

ステップ334の否定判定ルートにおいて、プロセッサ31は、まず、ステップ333で得られたピクチャ数nsと最後のGOPに属するピクチャ数npとが等しいか否かを判定する(ステップ335)。ステップ335の肯定判定の場合に、プロセッサ31は、図15に示した切替スイッチ155に対して、上述した第2状態への切り替えを指示することで、切替スイッチ155に第2トランスポートストリームTS2を伝送路Routに送出させる(ステップ336)。なお、ステップ335の肯定判定となるタイミングは、図14に示した時刻Tc2に対応する第2タイミングである。つまり、ステップ334の否定判定ルートの処理の過程で、ステップ335の肯定判定に応じて、プロセッサ31が、ステップ336の処理を実行することにより、図13に示した予告制御部159の機能を実現することができる。   In the negative determination route of step 334, the processor 31 first determines whether or not the number of pictures ns obtained in step 333 is equal to the number of pictures np belonging to the last GOP (step 335). If the determination in step 335 is affirmative, the processor 31 instructs the changeover switch 155 shown in FIG. 15 to change to the second state described above, and thereby sends the second transport stream TS2 to the changeover switch 155. The data is sent to the transmission line Rout (step 336). Note that the timing at which the determination in step 335 is affirmative is the second timing corresponding to the time Tc2 shown in FIG. That is, in the course of the negative determination route processing of step 334, the processor 31 executes the processing of step 336 according to the positive determination of step 335, thereby realizing the function of the notice control unit 159 shown in FIG. can do.

また、上述したステップ336の処理の実行後も含めて、ステップ334の否定判定ルートの処理において、プロセッサ31は、図11に示したステップ314と同様のパケット識別子の置換処理を行う。これにより、上述した符号化モードの切り替え後に、第2生成部13によって生成された第2トランスポートストリームTS2のパケットを、第1トランスポートストリームTS1に属するパケットとして伝送路Routに送出することが可能となる。   In addition, in the negative determination route processing of step 334, including after execution of the processing of step 336 described above, the processor 31 performs the same packet identifier replacement processing as that of step 314 shown in FIG. Thereby, after switching the encoding mode described above, the packet of the second transport stream TS2 generated by the second generation unit 13 can be sent to the transmission path Rout as a packet belonging to the first transport stream TS1. It becomes.

このようにして伝送路Routに送出された第2トランスポートストリームTS2の各パケットは、第1トランスポートストリームTS1に同期した時刻情報と第1トランスポートストリームTS1と同一のパケット識別子を含んでいる。したがって、これらの各パケットを受信した受信端末は、上述した切り替え前に送出された第1トランスポートストリームTS1の一部として復元・再生することが可能であるので、遅滞や映像の脱落などが発生することはない。   Thus, each packet of the second transport stream TS2 sent to the transmission path Rout includes time information synchronized with the first transport stream TS1 and the same packet identifier as that of the first transport stream TS1. Therefore, the receiving terminal that receives these packets can be restored and reproduced as a part of the first transport stream TS1 sent before the switching described above, so that a delay or dropout of the video occurs. Never do.

上述したように、プロセッサ31が、予告切り替え処理のための第2アプリケーションプログラムを実行することにより、第2サーバ装置30により、図13に示した予告制御部159および第2置換部160を含む、切り替え部15の機能を実現することができる。   As described above, when the processor 31 executes the second application program for the notice switching process, the second server apparatus 30 includes the notice control unit 159 and the second replacement unit 160 illustrated in FIG. The function of the switching unit 15 can be realized.

予告切り替え処理のための第2アプリケーションプログラムは、第2サーバ装置30を予備系の映像配信装置として動作させるためのアプリケーションプログラムの一部を変更することによって実現可能である。また、パケット監視部35及びヘッダ書換部58を設けたことによるハードウェアの増大も小規模である。   The second application program for the notice switching process can be realized by changing a part of the application program for causing the second server device 30 to operate as a standby video distribution device. The increase in hardware due to the provision of the packet monitoring unit 35 and the header rewriting unit 58 is also small.

このように、本件開示の映像配信装置10によれば、第2サーバ装置30のハードウェア及びソフトウェアに小規模の機能を追加することにより、映像配信を継続しつつ、第1サーバ装置20から第1サーバ装置30への切り替えを実現できる。これにより、ライブ映像の配信サービスを継続しながら、第1サーバ装置20の定期点検などを実施することが可能となるので、映像配信装置10の信頼性を更に向上することができる。   As described above, according to the video distribution device 10 of the present disclosure, by adding small-scale functions to the hardware and software of the second server device 30, the first server device 20 performs the first distribution while continuing the video distribution. Switching to one server device 30 can be realized. As a result, it is possible to carry out periodic inspections and the like of the first server device 20 while continuing the live video distribution service, so that the reliability of the video distribution device 10 can be further improved.

なお、図10に示したように、切り替えユニット40にもパケット監視部42とプロセッサ43と含むユニット制御部41を設け、このユニット制御部41により、予告制御部159の機能を実現してもよい。   As shown in FIG. 10, the switching unit 40 may be provided with a unit control unit 41 including a packet monitoring unit 42 and a processor 43, and the function of the notice control unit 159 may be realized by the unit control unit 41. .

また、図16に示した予告切り替え処理を、図11に示した第2トランスポートストリームTS2を調整する処理の一部として組み込んでもよい。例えば、図11のフローチャートにおいて、ステップ301の否定判定ルートでの最初の処理として、プロセッサ31に、パケット監視部35で上述した制御パケットを検出したか否かを判定する処理を実行させるように第1アプリケーションプログラムを変更してもよい。そして、上述した判定処理の肯定判定ルートの処理として、プロセッサ31に、図16に示した予告切り替え処理を実行させればよい。   Also, the notice switching process shown in FIG. 16 may be incorporated as part of the process for adjusting the second transport stream TS2 shown in FIG. For example, in the flowchart of FIG. 11, as the first process in the negative determination route in step 301, the processor 31 is caused to execute a process of determining whether or not the control packet described above is detected by the packet monitoring unit 35. One application program may be changed. And what is necessary is just to make the processor 31 perform the notice switching process shown in FIG. 16 as a process of the affirmation determination route of the determination process mentioned above.

以上の説明に関して、更に、以下の各項を開示する。
(付記1)
複数のピクチャが時系列的に配列された映像情報を含む入力データストリームから、複数のパケットが時系列的に配列され第1クロック信号に同期した第1データストリームを生成する第1生成部と、
前記入力データストリームから、複数のパケットが時系列的に配列され前記第1クロック信号とは異なる第2クロック信号に同期した第2データストリームを生成する第2生成部と、
前記第1データストリームおよび前記第2データストリームを入力し、前記第1データストリーム、および、前記第2データストリームにそれぞれ含まれる時刻情報を有するパケット内容に基づき、前記第1データストリームまたは時刻差分に基づき前記時刻情報を補正された前記第2データストリームのいずれかを出力する切り替え部とを備えた映像配信装置。
(付記2)
付記1に記載の映像配信装置において、
前記切り替え部は、
前記第1データストリームに所定の遅延を与える第1バッファと、
前記第2データストリームに前記所定の遅延を与える第2バッファと、
前記第1データストリームに含まれる時刻情報と、前記第2データストリームに含まれる時刻情報とに基づいて、前記第1クロック信号に基づく時刻と前記第2クロック信号に基づく時刻と間の差分を前記時刻差分として検出する検出部と、
前記時刻差分に基づいて、前記第2バッファによって遅延された前記第2データストリームに含まれる時刻情報を、前記第1データストリームに含まれる時刻情報に同期するように補正する補正部と、
前記遅延された前記第1データストリームを前記伝送路に送出する第1状態と、前記補正された前記第2データストリームを前記伝送路に送出する第2状態とを切り替える切替スイッチと、
前記第1生成部が正常に動作している場合に、前記切替スイッチを前記第1状態に設定し、前記第1生成部に障害が発生した場合に、前記切替スイッチを前記第2状態に設定する切替制御部とを有する
ことを特徴とする映像配信装置。
(付記3)
付記2に記載の映像配信装置において、
前記第1データストリームの時刻情報は、第1クロック信号に同期した計数動作で得られる第1計数値を示す第1プログラムクロックリファレンスを含み、
前記第2データストリームの時刻情報は、第2クロック信号に同期した計数動作で得られる第2計数値を示す第2プログラムクロックリファレンスを含み、
前記検出部は、
前記第1データストリームに含まれる前記第1プログラムクロックリファレンスと、当該第1プログラムクロックリファレンスを検出した第1時刻と、前記第2データストリームから前記第2プログラムクロックリファレンスを検出した第2時刻とに基づいて、前記第2時刻における前記第1計数値を推定する推定部と、
前記推定部によって得られた推定結果と前記第2時刻に前記第2データストリームから検出された前記第2プログラムクロックリファレンスとの差を算出し、算出結果を前記時刻差分として出力する差分算出部とを有する
ことを特徴とする映像配信装置。
(付記4)
付記2に記載の映像配信装置において、
前記第1生成部は、所定数のピクチャを含むピクチャの集合を単位とする符号化処理を実行し、
前記第1バッファと前記第2バッファは、前記所定数のピクチャが前記映像情報として入力される時間に相当する遅延を前記第1データストリームと前記第2データストリームとにそれぞれ与え、
前記切替制御部は、
前記第1生成部における障害が検出された場合に、前記第1バッファに保持された情報に基づいて、前記障害によって符号化処理およびパケット化処理が未完成となった前記ピクチャ集合の先頭のピクチャに当たる境界ピクチャを特定する特定部を有し、
前記境界ピクチャに対応して生成された第2データストリームのパケットが前記切替スイッチに渡されるタイミングで、前記切替スイッチの状態を、前記遅延された前記第1データストリームを前記伝送路に送出する第1状態から、前記補正された前記第2データストリームを前記伝送路に送出する第2状態に切り替える
ことを特徴とする映像配信装置。
(付記5)
付記4に記載の映像配信装置において、
前記第2データストリームに含まれる前記パケットのうち、前記境界ピクチャよりも前に入力されたピクチャに対応するパケットに含まれる、当該パケットが属するデータストリームを示すパケット識別子を、当該パケットが無効なデータストリームに属する旨を示す特定の値に置換し、前記境界ピクチャ以降に入力されたピクチャに対応するパケットに含まれる前記パケット識別子を前記第1データストリームを示す値に置換する第1置換部を有する
ことを特徴とする映像配信装置。
(付記6)
付記4に記載の映像配信装置において、
前記第1生成部における障害の発生に応じて、当該障害の発生を示す情報とともに前記パケット識別子として前記特定の値を含む障害通知パケットを生成し、生成した障害通知パケットを前記第1データストリームに挿入する挿入部を有し、
前記特定部は、前記障害通知パケットに基づいて、前記第1生成部における障害を検出する
ことを特徴とする映像配信装置。
(付記7)
付記4に記載の映像配信装置において、
前記第1生成部が正常に動作している間は、前記第2生成部に対して、前記データストリームに含まれる各ピクチャに対して個々のピクチャを単位とする符号化処理を適用させ、前記第1生成部の動作が停止した場合に、前記第2生成部に対して、前記ピクチャの集合を単位とする符号化処理を適用させる制御を行う符号化制御部を備える
ことを特徴とする映像配信装置。
(付記8)
付記1に記載の映像配信装置において、
更に、
前記切り替え部による出力の切り替えに先立って、当該切り替えを実行する第1タイミングを指定する情報を含む切替予告を前記切り替え部に通知する予告部とを備えた
ことを特徴とする映像配信装置。
(付記9)
付記8に記載の映像配信装置において、
前記切り替え部は、
前記第1データストリームに所定の遅延を与える第1バッファと、
前記第2データストリームに前記所定の遅延を与える第2バッファと、
前記第1データストリームに含まれる時刻情報と、前記第2データストリームに含まれる時刻情報とに基づいて、前記第1クロック信号に基づく時刻と前記第2クロック信号に基づく時刻との差分を前記時刻差分として検出する検出部と、
前記時刻差分に基づいて、前記第2バッファによって遅延された前記第2データストリームに含まれる時刻情報を、前記第1データストリームに含まれる時刻情報に同期するように補正する補正部と、
前記遅延された前記第1データストリームを前記伝送路に送出する第1状態と、前記補正された前記第2データストリームを前記伝送路に送出する第2状態とを切り替える切替スイッチと、
前記切替予告で指定された前記第1タイミングから前記所定の遅延に相当する時間が経過した後の第2タイミングにおいて、前記切替スイッチの状態を前記第1状態から前記第2状態に切り替える制御を行う予告制御部とを有する
ことを特徴とする映像配信装置。
(付記10)
付記8に記載の映像配信装置において、
前記第1生成部は、所定数のピクチャを含むピクチャの集合を単位とする符号化処理を実行し、
前記第1バッファと前記第2バッファは、前記所定数のピクチャが前記映像情報として入力される時間に相当する遅延を前記第1データストリームと前記第2データストリームとにそれぞれ与え、
前記予告部は、前記ピクチャの集合に含まれるピクチャ数を含む制御パケットを、前記第1生成部によって最後に符号化される前記ピクチャの集合の先頭に対応するパケットの直前に挿入し、
前記予告制御部は、前記制御パケットに含まれる前記ピクチャ数に基づいて、前記第2タイミングを特定する
ことを特徴とする映像配信装置。
(付記11)
付記8に記載の映像配信装置において、
前記切り替え部は、
前記第2タイミングまでは、前記第2バッファあるいは前記補正部から出力される各パケットのパケット識別子を前記特定の値に置換し、前記第2タイミング以降に前記第2バッファあるいは前記補正部から出力される各パケットのパケット識別子を、前記第1データストリームを示す値に置換する第2置換部を有する
ことを特徴とする映像配信装置。
(付記12)
複数のピクチャが時系列的に配列された映像情報を含む入力データストリームから、複数のパケットが時系列的に配列され第1クロック信号に同期した第1データストリームを生成し、
前記入力データストリームから、複数のパケットが時系列的に配列され前記第1クロック信号とは異なる第2クロック信号に同期した第2データストリームを生成し、
前記第1データストリームおよび前記第2データストリームを入力し、前記第1データストリーム、および、前記第2データストリームにそれぞれ含まれる時刻情報を有するパケット内容に基づき、前記第1データストリームまたは時刻差分に基づき前記時刻情報を補正された前記第2データストリームのいずれかを出力する
ことを特徴とする映像配信方法。
Regarding the above description, the following items are further disclosed.
(Appendix 1)
A first generator for generating a first data stream in which a plurality of packets are arranged in time series and synchronized with a first clock signal from an input data stream including video information in which a plurality of pictures are arranged in time series;
A second generation unit configured to generate a second data stream synchronized with a second clock signal different from the first clock signal in which a plurality of packets are arranged in time series from the input data stream;
The first data stream and the second data stream are input, and based on packet contents having time information included in the first data stream and the second data stream, respectively, the first data stream or the time difference is obtained. And a switching unit that outputs one of the second data streams in which the time information is corrected.
(Appendix 2)
In the video distribution device according to attachment 1,
The switching unit is
A first buffer for providing a predetermined delay to the first data stream;
A second buffer for providing the predetermined delay to the second data stream;
Based on the time information included in the first data stream and the time information included in the second data stream, the difference between the time based on the first clock signal and the time based on the second clock signal is A detection unit that detects the time difference;
A correction unit configured to correct the time information included in the second data stream delayed by the second buffer based on the time difference so as to be synchronized with the time information included in the first data stream;
A changeover switch for switching between a first state in which the delayed first data stream is sent to the transmission line and a second state in which the corrected second data stream is sent to the transmission line;
When the first generation unit is operating normally, the changeover switch is set to the first state, and when a failure occurs in the first generation unit, the changeover switch is set to the second state. And a switching control unit.
(Appendix 3)
In the video distribution device according to attachment 2,
The time information of the first data stream includes a first program clock reference indicating a first count value obtained by a counting operation synchronized with a first clock signal,
The time information of the second data stream includes a second program clock reference indicating a second count value obtained by a counting operation synchronized with the second clock signal,
The detector is
The first program clock reference included in the first data stream, a first time when the first program clock reference is detected, and a second time when the second program clock reference is detected from the second data stream. Based on the estimation unit for estimating the first count value at the second time,
A difference calculation unit that calculates a difference between the estimation result obtained by the estimation unit and the second program clock reference detected from the second data stream at the second time, and outputs the calculation result as the time difference; A video distribution apparatus comprising:
(Appendix 4)
In the video distribution device according to attachment 2,
The first generation unit performs an encoding process in units of a set of pictures including a predetermined number of pictures,
The first buffer and the second buffer give a delay corresponding to a time when the predetermined number of pictures are input as the video information to the first data stream and the second data stream, respectively.
The switching control unit
When a failure is detected in the first generation unit, based on the information held in the first buffer, the first picture of the picture set in which encoding processing and packetization processing are incomplete due to the failure Has a specific part that identifies the border picture that corresponds to
At the timing when the packet of the second data stream generated corresponding to the boundary picture is passed to the changeover switch, the state of the changeover switch is sent and the delayed first data stream is sent to the transmission line. The video distribution apparatus according to claim 1, wherein the video distribution device is switched from a first state to a second state in which the corrected second data stream is sent to the transmission path.
(Appendix 5)
In the video distribution device according to attachment 4,
Among the packets included in the second data stream, a packet identifier indicating a data stream to which the packet belongs is included in a packet corresponding to a picture input before the boundary picture, and data in which the packet is invalid A first replacement unit that replaces the packet identifier included in a packet corresponding to a picture input after the boundary picture with a value indicating the first data stream, replacing the specific value indicating that it belongs to the stream; A video distribution apparatus characterized by that.
(Appendix 6)
In the video distribution device according to attachment 4,
In response to the occurrence of a failure in the first generation unit, a failure notification packet including the specific value as the packet identifier together with information indicating the occurrence of the failure is generated, and the generated failure notification packet is generated in the first data stream. Having an insertion part to be inserted,
The said specific | specification part detects the failure in a said 1st production | generation part based on the said failure notification packet. The video delivery apparatus characterized by the above-mentioned.
(Appendix 7)
In the video distribution device according to attachment 4,
While the first generation unit is operating normally, the second generation unit is made to apply an encoding process in units of individual pictures to each picture included in the data stream, and A video control unit that controls the second generation unit to apply an encoding process in units of the set of pictures when the operation of the first generation unit is stopped; Distribution device.
(Appendix 8)
In the video distribution device according to attachment 1,
Furthermore,
A video delivery apparatus comprising: a notice section that notifies the switch section of a notice of switching including information specifying a first timing for executing the switch prior to output switching by the switch section.
(Appendix 9)
In the video distribution device according to attachment 8,
The switching unit is
A first buffer for providing a predetermined delay to the first data stream;
A second buffer for providing the predetermined delay to the second data stream;
Based on the time information included in the first data stream and the time information included in the second data stream, a difference between the time based on the first clock signal and the time based on the second clock signal is calculated as the time. A detection unit that detects the difference;
A correction unit configured to correct the time information included in the second data stream delayed by the second buffer based on the time difference so as to be synchronized with the time information included in the first data stream;
A changeover switch for switching between a first state in which the delayed first data stream is sent to the transmission line and a second state in which the corrected second data stream is sent to the transmission line;
Control is performed to switch the state of the changeover switch from the first state to the second state at a second timing after the time corresponding to the predetermined delay has elapsed from the first timing specified in the change notice. A video distribution device comprising a notice control unit.
(Appendix 10)
In the video distribution device according to attachment 8,
The first generation unit performs an encoding process in units of a set of pictures including a predetermined number of pictures,
The first buffer and the second buffer give a delay corresponding to a time when the predetermined number of pictures are input as the video information to the first data stream and the second data stream, respectively.
The notice unit inserts a control packet including the number of pictures included in the set of pictures immediately before a packet corresponding to the head of the set of pictures encoded last by the first generation unit,
The video notice device, wherein the notice control unit specifies the second timing based on the number of pictures included in the control packet.
(Appendix 11)
In the video distribution device according to attachment 8,
The switching unit is
Until the second timing, the packet identifier of each packet output from the second buffer or the correction unit is replaced with the specific value, and output from the second buffer or the correction unit after the second timing. And a second replacement unit that replaces a packet identifier of each packet with a value indicating the first data stream.
(Appendix 12)
Generating a first data stream in which a plurality of packets are arranged in time series and synchronized with a first clock signal from an input data stream including video information in which a plurality of pictures are arranged in time series;
Generating a second data stream synchronized with a second clock signal different from the first clock signal in which a plurality of packets are arranged in time series from the input data stream;
The first data stream and the second data stream are input, and based on packet contents having time information included in the first data stream and the second data stream, respectively, the first data stream or the time difference is obtained. One of the second data streams in which the time information is corrected is output based on the video distribution method.

10…映像配信装置;11…第1生成部;12…第1クロック生成部;13…第2生成部;14…第2クロック生成部;15…切り替え部;16…挿入部;17…符号化制御部;18…予告部;20…第1サーバ装置;21,31,43…プロセッサ;22,32…システムタイムクロック(STC)生成部;23,33a,33b…伝送路インタフェース(I/F);34…複写バッファ;35,42…パケット監視部;36…スイッチ制御部;41…ユニット制御部;51…照合部;52a,52b…PCR検出部;53a,53b…レジスタ;54…推定部;55…差分算出部;56…時刻情報抽出部;57…減算器;58…ヘッダ書換部;111,131…動画像エンコーダ;112、132…音声エンコーダ;113,133…多重化装置;151…第1バッファ;152…第2バッファ;153…検出部;154…補正部;155…切替スイッチ;156…切替制御部;157…特定部;158…第1置換部;159…予告制御部;160…第2置換部

DESCRIPTION OF SYMBOLS 10 ... Video delivery apparatus; 11 ... 1st production | generation part; 12 ... 1st clock production | generation part; 13 ... 2nd production | generation part; 14 ... 2nd clock production | generation part; 15 ... Switching part; 16 ... Insertion part; Control unit; 18 ... notice unit; 20 ... first server device; 21, 31, 43 ... processor; 22, 32 ... system time clock (STC) generation unit; 23, 33a, 33b ... transmission line interface (I / F) 34 ... Copy buffer; 35, 42 ... Packet monitoring unit; 36 ... Switch control unit; 41 ... Unit control unit; 51 ... Verification unit; 52a, 52b ... PCR detection unit; 53a, 53b ... Register; 55 ... Difference calculation unit; 56 ... Time information extraction unit; 57 ... Subtractor; 58 ... Header rewriting unit; 111, 131 ... Video encoder; 112, 132 ... Audio encoder; 113, 133 ... Multiplexer 151 ... 1st buffer; 152 ... 2nd buffer; 153 ... detection part; 154 ... correction | amendment part; 155 ... changeover switch; 156 ... switching control part; 157 ... specific | specification part; 158 ... 1st replacement part; Control unit; 160 ... second replacement unit

Claims (7)

複数のピクチャが時系列的に配列された映像情報を含む入力データストリームから、複数のパケットが時系列的に配列され第1クロック信号に同期した第1データストリームを生成する第1生成部と、
前記入力データストリームから、複数のパケットが時系列的に配列され前記第1クロック信号とは異なる第2クロック信号に同期した第2データストリームを生成する第2生成部と、
前記第1データストリームおよび前記第2データストリームを入力し、前記第1データストリーム、および、前記第2データストリームにそれぞれ含まれる時刻情報を有するパケット内容に基づき、前記第1データストリームまたは時刻差分に基づき前記時刻情報を補正された前記第2データストリームのいずれかを出力する切り替え部とを備えた映像配信装置。
A first generator for generating a first data stream in which a plurality of packets are arranged in time series and synchronized with a first clock signal from an input data stream including video information in which a plurality of pictures are arranged in time series;
A second generation unit configured to generate a second data stream synchronized with a second clock signal different from the first clock signal in which a plurality of packets are arranged in time series from the input data stream;
The first data stream and the second data stream are input, and based on packet contents having time information included in the first data stream and the second data stream, respectively, the first data stream or the time difference is obtained. And a switching unit that outputs one of the second data streams in which the time information is corrected.
請求項1に記載の映像配信装置において、
前記切り替え部は、
前記第1データストリームに所定の遅延を与える第1バッファと、
前記第2データストリームに前記所定の遅延を与える第2バッファと、
前記第1データストリームに含まれる時刻情報と、前記第2データストリームに含まれる時刻情報とに基づいて、前記第1クロック信号に基づく時刻と前記第2クロック信号に基づく時刻との差分を前記時刻差分として検出する検出部と、
前記時刻差分に基づいて、前記第2バッファによって遅延された前記第2データストリームに含まれる時刻情報を、前記第1データストリームに含まれる時刻情報に同期するように補正する補正部と、
前記遅延された前記第1データストリームを前記伝送路に送出する第1状態と、前記補正された前記第2データストリームを前記伝送路に送出する第2状態とを切り替える切替スイッチと、
前記第1生成部が正常に動作している場合に、前記切替スイッチを前記第1状態に設定し、前記第1生成部に障害が発生した場合に、前記切替スイッチを前記第2状態に設定する切替制御部とを有する
ことを特徴とする映像配信装置。
The video distribution device according to claim 1,
The switching unit is
A first buffer for providing a predetermined delay to the first data stream;
A second buffer for providing the predetermined delay to the second data stream;
Based on the time information included in the first data stream and the time information included in the second data stream, a difference between the time based on the first clock signal and the time based on the second clock signal is calculated as the time. A detection unit that detects the difference;
A correction unit configured to correct the time information included in the second data stream delayed by the second buffer based on the time difference so as to be synchronized with the time information included in the first data stream;
A changeover switch for switching between a first state in which the delayed first data stream is sent to the transmission line and a second state in which the corrected second data stream is sent to the transmission line;
When the first generation unit is operating normally, the changeover switch is set to the first state, and when a failure occurs in the first generation unit, the changeover switch is set to the second state. And a switching control unit.
請求項2に記載の映像配信装置において、
前記第1生成部は、所定数のピクチャを含むピクチャの集合を単位とする符号化処理を実行し、
前記第1バッファと前記第2バッファは、前記所定数のピクチャが前記映像情報として入力される時間に相当する遅延を前記第1データストリームと前記第2データストリームとにそれぞれ与え、
前記切替制御部は、
前記第1生成部における障害が検出された場合に、前記第1バッファに保持された情報に基づいて、前記障害によって符号化処理およびパケット化処理が未完成となった前記ピクチャ集合の先頭のピクチャに当たる境界ピクチャを特定する特定部を有し、
前記境界ピクチャに対応して生成された第2データストリームのパケットが前記切替スイッチに渡されるタイミングで、前記切替スイッチの状態を、前記遅延された前記第1データストリームを前記伝送路に送出する第1状態から、前記補正された前記第2データストリームを前記伝送路に送出する第2状態に切り替える
ことを特徴とする映像配信装置。
The video distribution device according to claim 2,
The first generation unit performs an encoding process in units of a set of pictures including a predetermined number of pictures,
The first buffer and the second buffer give a delay corresponding to a time when the predetermined number of pictures are input as the video information to the first data stream and the second data stream, respectively.
The switching control unit
When a failure is detected in the first generation unit, based on the information held in the first buffer, the first picture of the picture set in which encoding processing and packetization processing are incomplete due to the failure Has a specific part that identifies the border picture that corresponds to
At the timing when the packet of the second data stream generated corresponding to the boundary picture is passed to the changeover switch, the state of the changeover switch is sent and the delayed first data stream is sent to the transmission line. The video distribution apparatus according to claim 1, wherein the video distribution device is switched from a first state to a second state in which the corrected second data stream is sent to the transmission path.
請求項3に記載の映像配信装置において、
前記切り替え部は、
前記第2データストリームに含まれる前記パケットのうち、前記境界ピクチャよりも前に入力されたピクチャに対応するパケットに含まれる、当該パケットが属するデータストリームを示すパケット識別子を、当該パケットが無効なデータストリームに属する旨を示す特定の値に置換し、前記境界ピクチャ以降に入力されたピクチャに対応するパケットに含まれる前記パケット識別子を前記第1データストリームを示す値に置換する第1置換部を有する
ことを特徴とする映像配信装置。
The video distribution device according to claim 3,
The switching unit is
Among the packets included in the second data stream, a packet identifier indicating a data stream to which the packet belongs is included in a packet corresponding to a picture input before the boundary picture, and data in which the packet is invalid A first replacement unit that replaces the packet identifier included in a packet corresponding to a picture input after the boundary picture with a value indicating the first data stream, replacing the specific value indicating that it belongs to the stream; A video distribution apparatus characterized by that.
請求項3に記載の映像配信装置において、
前記第1生成部が正常に動作している間は、前記第2生成部に対して、前記データストリームに含まれる各ピクチャに対して個々のピクチャを単位とする符号化処理を適用させ、前記第1生成部の動作が停止した場合に、前記第2生成部に対して、前記ピクチャの集合を単位とする符号化処理を適用させる制御を行う符号化制御部を備える
ことを特徴とする映像配信装置。
The video distribution device according to claim 3,
While the first generation unit is operating normally, the second generation unit is made to apply an encoding process in units of individual pictures to each picture included in the data stream, and A video control unit that controls the second generation unit to apply an encoding process in units of the set of pictures when the operation of the first generation unit is stopped; Distribution device.
請求項1に記載の映像配信装置において、
更に、
前記切り替え部による出力の切り替えに先立って、当該切り替えを実行する第1タイミングを指定する情報を含む切替予告を前記切り替え部に通知する予告部を備えた映像配信装置。
The video distribution device according to claim 1,
Furthermore,
Prior to switching of output by the switching unit, a video distribution apparatus including a notification unit that notifies the switching unit of a switching notification including information specifying a first timing for executing the switching.
複数のピクチャが時系列的に配列された映像情報を含む入力データストリームから、複数のパケットが時系列的に配列され第1クロック信号に同期した第1データストリームを生成し、
前記入力データストリームから、複数のパケットが時系列的に配列され前記第1クロック信号とは異なる第2クロック信号に同期した第2データストリームを生成し、
前記第1データストリームおよび前記第2データストリームを入力し、前記第1データストリーム、および、前記第2データストリームにそれぞれ含まれる時刻情報を有するパケット内容に基づき、前記第1データストリームまたは時刻差分に基づき前記時刻情報を補正された前記第2データストリームのいずれかを出力する
ことを特徴とする映像配信方法。
Generating a first data stream in which a plurality of packets are arranged in time series and synchronized with a first clock signal from an input data stream including video information in which a plurality of pictures are arranged in time series;
Generating a second data stream synchronized with a second clock signal different from the first clock signal in which a plurality of packets are arranged in time series from the input data stream;
The first data stream and the second data stream are input, and based on packet contents having time information included in the first data stream and the second data stream, respectively, the first data stream or the time difference is obtained. One of the second data streams in which the time information is corrected is output based on the video distribution method.
JP2012152626A 2012-07-06 2012-07-06 Video distribution device and video distribution method Pending JP2014017607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012152626A JP2014017607A (en) 2012-07-06 2012-07-06 Video distribution device and video distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012152626A JP2014017607A (en) 2012-07-06 2012-07-06 Video distribution device and video distribution method

Publications (1)

Publication Number Publication Date
JP2014017607A true JP2014017607A (en) 2014-01-30

Family

ID=50111945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012152626A Pending JP2014017607A (en) 2012-07-06 2012-07-06 Video distribution device and video distribution method

Country Status (1)

Country Link
JP (1) JP2014017607A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018082287A (en) * 2016-11-15 2018-05-24 株式会社東芝 Broadcast master system, switching method in the same, and program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08275204A (en) * 1995-03-31 1996-10-18 Sony Corp Signal processing unit
JP2001078156A (en) * 1999-09-08 2001-03-23 Sharp Corp Digital broadcast receiver
JP2002290967A (en) * 2001-03-26 2002-10-04 Toshiba Corp Stream synchronizing and switching device
WO2008035657A1 (en) * 2006-09-20 2008-03-27 Panasonic Corporation Monitor video accumulation system
JP2008227599A (en) * 2007-03-08 2008-09-25 Toshiba Corp Ip broadcast transmission system and ip broadcast transmission method
JP2010103845A (en) * 2008-10-24 2010-05-06 Nec Corp Ts signal delay detecting and adjusting method and apparatus
JP2011217137A (en) * 2010-03-31 2011-10-27 Fujitsu Ltd Encoder, encoding system and signal transmission method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08275204A (en) * 1995-03-31 1996-10-18 Sony Corp Signal processing unit
JP2001078156A (en) * 1999-09-08 2001-03-23 Sharp Corp Digital broadcast receiver
JP2002290967A (en) * 2001-03-26 2002-10-04 Toshiba Corp Stream synchronizing and switching device
WO2008035657A1 (en) * 2006-09-20 2008-03-27 Panasonic Corporation Monitor video accumulation system
JP2008227599A (en) * 2007-03-08 2008-09-25 Toshiba Corp Ip broadcast transmission system and ip broadcast transmission method
JP2010103845A (en) * 2008-10-24 2010-05-06 Nec Corp Ts signal delay detecting and adjusting method and apparatus
JP2011217137A (en) * 2010-03-31 2011-10-27 Fujitsu Ltd Encoder, encoding system and signal transmission method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018082287A (en) * 2016-11-15 2018-05-24 株式会社東芝 Broadcast master system, switching method in the same, and program

Similar Documents

Publication Publication Date Title
EP3806477B1 (en) Video transcoding system and method, apparatus, and storage medium
US10154320B2 (en) Dynamic time synchronization
JP3925311B2 (en) Data distribution system
EP2823616B1 (en) Method, device and system for packet transmission over ip networks
US7796598B2 (en) Synchronizing redundant video streams encapsulated in IP/UDP packets
US9060201B2 (en) Stream synchronization for live video encoding
US6330286B1 (en) Flow control, latency control, and bitrate conversions in a timing correction and frame synchronization apparatus
JP4358910B2 (en) Method and apparatus for connecting compressed information streams
US8781003B2 (en) Splicing of encrypted video/audio content
EP2675129B1 (en) Streaming media service processing method
US8526501B2 (en) Decoder and decoding method based on video and audio time information
US20150109411A1 (en) Image playback apparatus for 3dtv and method performed by the apparatus
EP2882191B1 (en) Synchronization of streaming data
EP3195533B1 (en) Video network
JP2014127762A (en) Video information reproduction method and system
JP2014017607A (en) Video distribution device and video distribution method
JP2009171294A (en) Video distribution system, video relay apparatus, and video relay method
GB2500175A (en) Redundant packet transmission over IP networks with buffer overwriting
JP5352545B2 (en) Digital broadcast transmission device
JP2015046708A (en) Communication system, communication method, transmission-side synchronous signal distribution device, transmission-side synchronous control device, reception-side synchronous signal distribution device, reception-side synchronous control device and program
JP2000092049A (en) Multi-cast system, receiver and multi-cast control method
JP6684433B2 (en) Transmission device, transmission method, and program
JP5720285B2 (en) Streaming system
JP2002344890A (en) Data recording/reproducing device
JP4718499B2 (en) Audio transmission apparatus and audio transmission method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150406

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160405

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20161018