JP2018029236A - Image packet switching device and method - Google Patents
Image packet switching device and method Download PDFInfo
- Publication number
- JP2018029236A JP2018029236A JP2016159365A JP2016159365A JP2018029236A JP 2018029236 A JP2018029236 A JP 2018029236A JP 2016159365 A JP2016159365 A JP 2016159365A JP 2016159365 A JP2016159365 A JP 2016159365A JP 2018029236 A JP2018029236 A JP 2018029236A
- Authority
- JP
- Japan
- Prior art keywords
- video
- packet
- switching
- video packet
- time stamp
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本発明は、映像信号のパケット化により生成された映像パケットを切り替える映像パケット切替装置及び方法に関する。 The present invention relates to a video packet switching apparatus and method for switching video packets generated by packetizing a video signal.
従来、映像信号のパケット化により生成された映像パケットを、IPネットワーク上で共有する技術が知られており、そのシステムの開発及び規格化が進められている。映像信号は、映像フレームのライン番号に従って、その順番にシリアルの信号に変換される。映像信号の規格としては、伝送レートが約1.5GBPSのHD−SDI、及び、伝送レートが約3GBPSの3G−SDIが規定されている。 Conventionally, a technique for sharing a video packet generated by packetizing a video signal on an IP network is known, and development and standardization of the system are being promoted. The video signal is converted into a serial signal in that order according to the line number of the video frame. As video signal standards, HD-SDI with a transmission rate of about 1.5 GBPS and 3G-SDI with a transmission rate of about 3 GBPS are defined.
このような映像信号を映像パケットに変換するためのフレームフォーマットについては、非特許文献1に規定されている。映像パケットは、映像信号のデータ(映像データ)を格納するペイロード部分、及び、ヘッダ情報を格納するヘッダ部分から構成される。ヘッダ部分には、当該映像パケットのシーケンス番号、タイムスタンプ、マーカービット(Marker Bit:Mビット)等が記載される。Mビットは、映像フレームの切り替わりの区切りを示す情報ビットであり、その長さは1ビットである。
A frame format for converting such a video signal into a video packet is defined in Non-Patent
図11は、映像パケットのヘッダ部に記載されるMビットを説明する図である。映像フレームの切り替わり直前の映像信号を含む映像パケットの場合、そのヘッダ部分のMビットには「1」が記載され、それ以外の映像バケットの場合、「0」が記載される。 FIG. 11 is a diagram illustrating the M bits described in the header portion of the video packet. In the case of a video packet including a video signal immediately before the switching of the video frame, “1” is described in the M bit of the header portion, and “0” is described in the case of other video buckets.
図11に示すように、第n番目の映像フレームにおいて、最初の映像パケットから最後の1つ手前の映像パケットまでの間、そのヘッダ部分のMビットには「0」が記載される。そして、第n番目の映像フレームにおける最後の映像パケットについて、そのヘッダ部分のMビットには「1」が記載される。第n+1番目の映像フレームについても同様である。 As shown in FIG. 11, in the nth video frame, “0” is written in the M bit of the header portion from the first video packet to the last previous video packet. For the last video packet in the nth video frame, “1” is written in the M bit of the header portion. The same applies to the (n + 1) th video frame.
つまり、映像フレームが切り替わる場合、切り替わる前の映像フレームにおける最後の映像パケットのMビットには、「1」が記載される。また、映像フレームが切り替わった場合、切り替わった後の映像フレームにおける最初の映像パケットのMビットには、「0」が記載され、それ以降の映像パケットのうち、最後の1つ手前までの映像パケットのMビットにも、「0」が記載される。そして、最後の映像パケットのMビットには、「1」が記載される。 That is, when the video frame is switched, “1” is described in the M bit of the last video packet in the video frame before switching. Further, when the video frame is switched, “0” is described in the M bit of the first video packet in the video frame after the switching, and the video packets up to the last one of the video packets after that are switched. “0” is also written in the M bits of. Then, “1” is described in the M bit of the last video packet.
ここで、映像パケットを受信している装置(映像パケット切替装置)が、受信中の映像信号を他の異なる映像信号に切り替える場合を想定する。映像パケット切替装置は、映像パケットのヘッダ部に記載されたMビットに基づいて、映像フレームの区切りを判断し、映像フレームの区切りにて映像信号の切り替えを行う。 Here, it is assumed that a device receiving a video packet (video packet switching device) switches a video signal being received to another different video signal. The video packet switching device determines a video frame break based on the M bits described in the header of the video packet, and switches the video signal at the video frame break.
図9は、従来の映像パケット切替装置の構成例を示すブロック図である。この映像パケット切替装置100は、映像信号#1,#2の各系統に対応した映像パケットα,βを受信し、いずれか一方の系統を選択しているときに、切替制御指示に従って、映像フレームの区切りにて他方の系統へ切り替える装置である。映像パケットαは、映像信号#1のパケット化により生成されたパケットであり、映像パケットβは、映像信号#2のパケット化により生成されたパケットである。映像パケット切替装置100は、パケットバッファ101−1,101−2、バッファ・スイッチ制御部102及び切替スイッチ103を備えている。
FIG. 9 is a block diagram illustrating a configuration example of a conventional video packet switching device. This video packet switching device 100 receives video packets α and β corresponding to each system of the
映像パケット切替装置100が映像信号#1,#2の各系統に対応した映像パケットα,βを受信する。バッファ・スイッチ制御部102は、第1の系統の映像パケットαをパケットバッファ101−1に順次格納すると共に、第2の系統の映像パケットβをパケットバッファ101−2に順次格納する。このとき、バッファ・スイッチ制御部102は、映像パケットαの格納量が一定になるように、パケットバッファ101−1に格納した映像パケットαを、格納した順に破棄する。また、バッファ・スイッチ制御部102は、映像パケットβの格納量が一定になるように、パケットバッファ101−2に格納した映像パケットβを、格納した順に破棄する。
The video packet switching device 100 receives video packets α and β corresponding to each system of the
これにより、パケットバッファ101−1には、一定量の映像パケットαが格納され、パケットバッファ101−2には、一定量の映像パケットβが格納される。例えば一定量は、1映像フレームのパケット量である。 As a result, a fixed amount of video packets α is stored in the packet buffer 101-1, and a fixed amount of video packets β is stored in the packet buffer 101-2. For example, the fixed amount is a packet amount of one video frame.
バッファ・スイッチ制御部102は、既に入力済みの切替制御指示に従い、パケットバッファ101−1から映像パケットαを順次読み出すか、またはパケットバッファ101−2から映像パケットβを順次読み出し、切替スイッチ103に出力する。また、バッファ・スイッチ制御部102は、パケットバッファ101−1から映像パケットαを読み出す場合、パケットバッファ101−1からの映像パケットαを選択して切り替えるように、切替指示を切替スイッチ103に出力する。一方、バッファ・スイッチ制御部102は、パケットバッファ101−2から映像パケットβを読み出す場合、パケットバッファ101−2からの映像パケットβを選択して切り替えるように、切替指示を切替スイッチ103に出力する。
The buffer /
バッファ・スイッチ制御部102は、パケットバッファ101−1,101−2に格納された映像パケットα,βのMビットを監視しており、新たな切替制御指示を入力すると、Mビットに基づいて、映像フレームの区切り(同一映像フレームの映像パケットα、及び同一映像フレームの映像パケットβ)を判断する。切替制御指示は、映像パケットαから映像パケットβへ切り替える指示、または、映像パケットβから映像パケットαへ切り替える指示である。そして、バッファ・スイッチ制御部102は、映像フレームの区切りにて映像パケットα,βを切り替え、映像パケットα,βのいずれか一方を、パケットバッファ101−1,101−2から順次読み出して切替スイッチ103を介して出力する。
The buffer /
切替スイッチ103は、バッファ・スイッチ制御部102から切替指示を入力し、切替指示に従い、パケットバッファ101−1から映像パケットαを入力して出力するか、または、パケットバッファ101−2から映像パケットβを入力して出力する。
The changeover switch 103 inputs a switching instruction from the buffer /
例えば、映像パケット切替装置100から映像パケットαが選択され出力されているときに、映像パケットαから映像パケットβへ切り替える切替制御指示が入力された場合を想定する。 For example, it is assumed that a switching control instruction for switching from the video packet α to the video packet β is input when the video packet α is selected and output from the video packet switching device 100.
この場合、バッファ・スイッチ制御部102は、切替制御指示が映像パケットαから映像パケットβへ切り替える指示に変化したことを判断すると、映像パケットα,βのMビットに基づいて、映像フレームの区切りをそれぞれ判断する。バッファ・スイッチ制御部102は、パケットバッファ101−1から映像フレームの最後の映像パケットαを読み出して切替スイッチ103に出力した後、パケットバッファ101−2から映像フレームの最初の映像パケットβを読み出して切替スイッチ103に出力する。このとき、バッファ・スイッチ制御部102は、映像パケットαから映像パケットβへ切り替えるための切替指示を切替スイッチ103に出力する。
In this case, when the buffer /
図10は、従来の映像パケット切替装置100による映像パケット切替処理の具体例を説明する図である。図10に示すように、パケットバッファ101−1には、映像パケットαとして、シーケンス番号35、タイムスタンプ99054、Mビット「0」及び映像データAを含む映像パケット(シーケンス番号35の映像パケット)、シーケンス番号36、タイムスタンプ100154、Mビット「1」及び映像データBを含む映像パケット(シーケンス番号36の映像パケット)等が格納されている。
FIG. 10 is a diagram for explaining a specific example of the video packet switching process performed by the conventional video packet switching device 100. As shown in FIG. 10, in the packet buffer 101-1, as a video packet α, a video packet including a
前述のとおり、Mビットは、映像フレームの切り替わりの区切りを示す情報ビットであるため、Mビットに基づいて、映像フレームの区切りを判断することができる。シーケンス番号35,36の映像パケットαにおける映像フレームの番号はnであり、シーケンス番号36の映像パケットαが、映像フレームnの最後のパケットである。また、シーケンス番号37,38,39の映像パケットαにおける映像フレームの番号はn+1であり、シーケンス番号37の映像パケットαが、映像フレームn+1の最初のパケットである。
As described above, since the M bit is an information bit indicating a delimiter for switching video frames, the delimiter of the video frame can be determined based on the M bits. The number of the video frame in the video packet α having the
パケットバッファ101−2には、映像パケットβとして、シーケンス番号714、タイムスタンプ7667736、Mビット「0」及び映像データaを含む映像パケット(シーケンス番号714の映像パケット)、シーケンス番号715、タイムスタンプ7668836、Mビット「0」及び映像データbを含む映像パケット(シーケンス番号715の映像パケット)等が格納されている。
In the packet buffer 101-2, as a video packet β, a
シーケンス番号714,715,716の映像パケットβにおける映像フレームの番号はmであり、シーケンス番号716の映像パケットβが、映像フレームmの最後のパケットである。また、シーケンス番号717,718の映像パケットβにおける映像フレームの番号はm+1であり、シーケンス番号717の映像パケットβが、映像フレームm+1の最初のパケットである。
The number of the video frame in the video packet β of
映像パケットα,βは、映像信号#1,#2のパケット化によりそれぞれ生成されたパケットであり、映像信号#1,#2は、非同期のクロックで動作しているものとする。このため、図10に示すように、同じタイミングの映像パケットα,βには、同一でないシーケンス番号及びタイムスタンプが記載されている。
The video packets α and β are packets generated by packetizing the
ここで、映像パケット切替装置100から映像パケットαが出力されているときに、映像パケットαから映像パケットβへ切り替える切替制御指示が入力された場合を想定する。パケットバッファ101−1,101−2には、図10に示した映像パケットα,βが格納されているものとする。 Here, it is assumed that a switching control instruction for switching from the video packet α to the video packet β is input when the video packet α is output from the video packet switching device 100. Assume that the packet buffers 101-1 and 101-2 store the video packets α and β shown in FIG.
映像パケット切替装置100のバッファ・スイッチ制御部102は、パケットバッファ101−1に格納された映像パケットαのMビットに基づいて、映像フレームの区切りを判断する。この場合、バッファ・スイッチ制御部102は、シーケンス番号36,37の映像パケットαが映像フレームの区切りであると判断する。
The buffer /
また、バッファ・スイッチ制御部102は、パケットバッファ101−2に格納された映像パケットβのMビットに基づいて、映像フレームの区切りを判断する。この場合、バッファ・スイッチ制御部102は、シーケンス番号716,717の映像パケットβが映像フレームの区切りであると判断する。
Further, the buffer /
バッファ・スイッチ制御部102は、パケットバッファ101−1から映像フレームnのシーケンス番号35,36の映像パケットαを順次読み出し、切替スイッチ103を介して出力する。その後、バッファ・スイッチ制御部102は、パケットバッファ101−2から映像フレームm+1のシーケンス番号717,718の映像パケットβを順次読み出し、切替スイッチ103を介して出力する。
The buffer /
これにより、映像パケット切替装置100において、映像パケットαから映像パケットβへ切り替える切替制御指示が入力された場合、映像フレームの区切りにて、切替元の映像パケットαの出力から切替先の映像パケットβの出力へ切り替わる。 As a result, in the video packet switching device 100, when a switching control instruction for switching from the video packet α to the video packet β is input, from the output of the switching source video packet α to the switching destination video packet β at the break of the video frame. Switch to output.
映像信号#1,#2が共通クロックで動作し、両信号が同期している場合には、映像パケットα,βのヘッダ部に記載されたシーケンス番号、タイムスタンプ及びMビットは、映像信号#1,#2間で基本的に同一である。このため、映像パケット切替装置100により出力される映像パケットα,βのシーケンス番号及びタイムスタンプは、映像信号#1,#2が切り替わる映像フレームの区切りのタイミングで大きく変化することがない。
When the video signals # 1 and # 2 operate with a common clock and both signals are synchronized, the sequence numbers, time stamps, and M bits described in the header portions of the video packets α and β are the
しかしながら、図10に示したように、非同期のクロックで動作する映像信号#1,#2においては、シーケンス番号、タイムスタンプ及びMビットは、両信号間で同一ではない。 However, as shown in FIG. 10, in the video signals # 1 and # 2 operating with asynchronous clocks, the sequence number, time stamp, and M bit are not the same between the two signals.
このため、映像パケット切替装置100により出力される映像パケットα,βのシーケンス番号及びタイムスタンプは、映像信号#1,#2が切り替わる映像フレームの区切りのタイミングで大きく変化してしまう。図10の例では、映像フレームの区切りのタイミングにおいて、シーケンス番号は36から717に大きく変化し、タイムスタンプは100154から7671038に大きく変化する。 For this reason, the sequence numbers and time stamps of the video packets α and β output by the video packet switching device 100 are greatly changed at the timing of the video frame separation at which the video signals # 1 and # 2 are switched. In the example of FIG. 10, the sequence number greatly changes from 36 to 717 and the time stamp greatly changes from 100154 to 7671038 at the timing of video frame separation.
映像パケット切替装置100の後段に設けられた受信機は、映像パケットαまたは映像パケットβを受信し、映像クロックを再生し、再生した映像クロックを用いて映像信号#1,#2を再生する。しかし、映像パケットα,βの切り替わりのタイミングでシーケンス番号及びタイムスタンプが大きく変化すると、受信機は、映像クロックを再生するのが困難となる。映像クロックは、連続するシーケンス番号に対応するタイムスタンプの差分値に基づいて再生されるからである。受信機は、再生した映像信号#1,#2を安定して出力することができない。
The receiver provided in the subsequent stage of the video packet switching device 100 receives the video packet α or the video packet β, reproduces the video clock, and reproduces the video signals # 1 and # 2 using the reproduced video clock. However, if the sequence number and the time stamp change greatly at the switching timing of the video packets α and β, it becomes difficult for the receiver to reproduce the video clock. This is because the video clock is reproduced based on a difference value of time stamps corresponding to consecutive sequence numbers. The receiver cannot stably output the reproduced
このため、従来の映像パケット切替装置100を用いた場合には、映像信号の切り替えの際に、映像パケットのシーケンス番号及びタイムスタンプが不連続となることから、映像信号を円滑に切り替えることが困難となるという問題があった。 For this reason, when the conventional video packet switching device 100 is used, it is difficult to smoothly switch the video signal because the sequence number and time stamp of the video packet become discontinuous when switching the video signal. There was a problem of becoming.
そこで、本発明は前記課題を解決するためになされたものであり、その目的は、映像フレームの区切りにて、映像信号を円滑に切り替え可能な映像パケット切替装置を提供することにある。 Accordingly, the present invention has been made to solve the above-described problems, and an object of the present invention is to provide a video packet switching device capable of smoothly switching video signals at video frame breaks.
前記課題を解決するために、請求項1の映像パケット切替装置は、複数の異なる系統の映像信号にそれぞれ対応した映像パケットを、複数系統の映像パケットとして入力し、前記複数系統の映像パケットのうち切替元の映像パケットから切替先の映像パケットへ切り替えて出力する映像パケット切替装置において、前記複数系統の映像パケットを格納するパケットバッファと、ユーザにより設定された切替制御指示に従い、前記切替先の映像パケットへ切り替える前まで、前記パケットバッファから、同一の映像フレームにおける前記切替元の映像パケットを順次読み出し、前記同一の映像フレームにおける前記切替元の映像パケットの読み出しが全て完了し、前記切替先の映像パケットに切り替えるとき、前記切替制御指示に対応した切替指示を出力し、前記切替先の映像パケットに切り替えた後、前記パケットバッファから、同一の映像フレームにおける前記切替先の映像パケットを順次読み出す制御部と、前記複数系統の映像パケットのそれぞれについて、前記パケットバッファから前記映像パケットのヘッダ情報に含まれるシーケンス番号及びタイムスタンプを読み出し、連続する2つの前記シーケンス番号に対応する前記タイムスタンプの差分値を算出し、前記制御部により出力された切替指示を入力する前まで、前記切替元の映像パケットについてのタイムスタンプの差分値を順次出力し、前記切替指示を入力した後、前記切替先の映像パケットについてのタイムスタンプの差分値を順次出力するヘッダ情報取得部と、前記制御部により読み出された前記映像パケットを入力する毎に、連続する新たなシーケンス番号を求め、前記ヘッダ情報取得部により出力された前記タイムスタンプの差分値を入力する毎に、当該タイムスタンプの差分値に基づいて新たなタイムスタンプを求め、前記制御部により読み出された前記切替元の映像パケットまたは前記切替先の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記新たなシーケンス番号及び前記新たなタイムスタンプに書き換え、前記切替元の新たな映像パケットを生成して出力し、その後、前記切替先の新たな映像パケットを生成して出力するヘッダ情報書換部と、を備えたことを特徴とする。
In order to solve the above problem, the video packet switching device according to
また、請求項2の映像パケット切替装置は、請求項1に記載の映像パケット切替装置において、前記ヘッダ情報書換部が、前記制御部により読み出された前記切替元の映像パケットを入力する毎に、書換用シーケンス番号に1を加算し、加算結果を第1の書換用シーケンス番号として求め、その後、前記制御部により読み出された前記切替先の映像パケットを入力する毎に、前記書換用シーケンス番号に1を加算し、加算結果を第2の書換用シーケンス番号として求め、前記ヘッダ情報取得部により出力された前記切替元の映像パケットについてのタイムスタンプの差分値を入力する毎に、書換用タイムスタンプに前記タイムスタンプの差分値を加算し、加算結果を第1の書換用タイムスタンプとして求め、その後、前記ヘッダ情報取得部により出力された前記切替先の映像パケットについてのタイムスタンプの差分値を入力する毎に、前記書換用タイムスタンプに前記タイムスタンプの差分値を加算し、加算結果を第2の書換用タイムスタンプとして求め、前記制御部により読み出された前記切替元の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記第1の書換用シーケンス番号及び前記第1の書換用タイムスタンプに書き換え、前記切替元の新たな映像パケットを生成して出力し、その後、前記制御部により読み出された前記切替先の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記第2の書換用シーケンス番号及び前記第2の書換用タイムスタンプに書き換え、前記切替先の新たな映像パケットを生成して出力する、ことを特徴とする。
The video packet switching device according to
また、請求項3の映像パケット切替装置は、請求項1または2に記載の映像パケット切替装置において、前記映像パケットには、前記映像フレームの切り替わりを示す区切り情報が含まれており、前記制御部が、前記区切り情報に基づいて、前記同一の映像フレームの映像パケットを判断する、ことを特徴とする。
The video packet switching device according to claim 3 is the video packet switching device according to
さらに、請求項4の映像パケット切替方法は、複数の異なる系統の映像信号にそれぞれ対応した映像パケットを、複数系統の映像パケットとして入力し、前記複数系統の映像パケットのうち切替元の映像パケットを出力し、その後、切替先の映像パケットへ切り替えて出力する映像パケット切替方法において、前記複数系統の映像パケットをパケットバッファに格納するステップと、前記複数系統の映像パケットのそれぞれについて、前記パケットバッファから前記映像パケットのヘッダ情報に含まれるシーケンス番号及びタイムスタンプを読み出し、連続する2つの前記シーケンス番号に対応する前記タイムスタンプの差分値を算出するステップと、前記切替元の映像パケットから前記切替先の映像パケットへ切り替えることを示す切替制御指示を入力するステップと、前記切替先の映像パケットへ切り替える前まで、前記パケットバッファから、同一の映像フレームにおける前記切替元の映像パケットを順次読み出すと共に、前記切替元の映像パケットについてのタイムスタンプの差分値を順次出力するステップと、前記パケットバッファから、同一の映像フレームにおける前記切替元の映像パケットを読み出す毎に、連続する新たなシーケンス番号を求めるステップと、前記切替元の映像パケットについてのタイムスタンプの差分値を出力する毎に、当該タイムスタンプの差分値に基づいて新たなタイムスタンプを求めるステップと、前記パケットバッファから読み出した前記切替元の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記新たなシーケンス番号及び前記新たなタイムスタンプに書き換え、前記切替元の新たな映像パケットを生成して出力するステップと、前記切替先の映像パケットへ切り替えた後、前記パケットバッファから、同一の映像フレームにおける前記切替先の映像パケットを順次読み出すと共に、前記切替先の映像パケットについてのタイムスタンプの差分値を順次出力するステップと、前記パケットバッファから、同一の映像フレームにおける前記切替先の映像パケットを読み出す毎に、連続する新たなシーケンス番号を求めるステップと、前記切替先の映像パケットについてのタイムスタンプの差分値を出力する毎に、当該タイムスタンプの差分値に基づいて新たなタイムスタンプを求めるステップと、前記パケットバッファから読み出した前記切替先の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記新たなシーケンス番号及び前記新たなタイムスタンプに書き換え、前記切替先の新たな映像パケットを生成して出力するステップと、を有することを特徴とする。 Furthermore, the video packet switching method according to claim 4 inputs video packets respectively corresponding to a plurality of different systems of video signals as a plurality of systems of video packets, and selects a switching source video packet from among the plurality of systems of video packets. In the video packet switching method of outputting and then switching to the switching destination video packet and outputting, the step of storing the plurality of video packets in a packet buffer, and each of the plurality of video packets from the packet buffer Reading a sequence number and a time stamp included in the header information of the video packet, calculating a difference value of the time stamp corresponding to two consecutive sequence numbers, and from the switching source video packet, the switching destination Switching system that indicates switching to video packets Until the switching to the switching destination video packet, the switching source video packet in the same video frame is sequentially read from the packet buffer and the time stamp of the switching source video packet is input. A step of sequentially outputting a difference value; a step of obtaining a new sequence number each time the switching source video packet in the same video frame is read from the packet buffer; and a time for the switching source video packet Each time the difference value of the stamp is output, a step of obtaining a new time stamp based on the difference value of the time stamp, the sequence number included in the header information of the switching source video packet read from the packet buffer, and The time stamp Rewriting to a new sequence number and the new time stamp, generating and outputting the new video packet of the switching source, and after switching to the video packet of the switching destination, from the packet buffer, the same video frame Sequentially reading out the switching destination video packets and sequentially outputting the time stamp difference values for the switching destination video packets, and reading out the switching destination video packets in the same video frame from the packet buffer. A step of obtaining a new sequence number every time, and a step of obtaining a new time stamp based on the difference value of the time stamp each time a difference value of the time stamp for the switching destination video packet is output. , Read from the packet buffer Rewriting the sequence number and the time stamp included in the header information of the switching destination video packet with the new sequence number and the new time stamp, and generating and outputting the new switching destination video packet; It is characterized by having.
以上のように、本発明によれば、映像フレームの区切りにて、映像信号を円滑に切り替えることが可能となる。 As described above, according to the present invention, it is possible to smoothly switch video signals at video frame breaks.
以下、本発明を実施するための形態について図面を用いて詳細に説明する。本発明は、映像信号を映像フレームの区切りにて切り替える際に、映像パケットのヘッダ情報に含まれるシーケンス番号及びタイムスタンプが不連続とならないように、これらのシーケンス番号及びタイムスタンプを書き換えることを特徴とする。 Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings. The present invention is characterized by rewriting these sequence numbers and time stamps so that the sequence numbers and time stamps included in the header information of the video packet do not become discontinuous when the video signal is switched at video frame breaks. And
以下の説明において、切り替え対象の映像信号は、非同期のクロックで動作する映像信号#1,#2であるものとし、映像信号#1,#2は、SDIの規格に従うシリアルの非圧縮信号であるものとする。
In the following description, it is assumed that the video signals to be switched are
〔全体システム〕
まず、本発明の実施形態による映像パケット切替装置を含む全体システムについて説明する。図1は、本発明の実施形態による映像パケット切替装置を含む全体システムの構成例を示す概略図である。このシステムは、非同期のクロックで動作する映像信号#1,#2のうちのいずれか一方から他方へ切り替えるシステムであり、送信機1−1,1−2、映像パケット切替装置2及び受信機3を備えて構成される。
[Overall system]
First, an overall system including a video packet switching device according to an embodiment of the present invention will be described. FIG. 1 is a schematic diagram illustrating a configuration example of an entire system including a video packet switching device according to an embodiment of the present invention. This system is a system for switching from one of
送信機1−1,1−2及び映像パケット切替装置2はIPネットワークを介して接続され、映像パケット切替装置2及び受信機3もIPネットワークを介して接続される。尚、これらは、IPネットワークの代わりに、専用線等のネットワークを用いて接続されるようにしてもよい。
The transmitters 1-1 and 1-2 and the video
送信機1−1は、SDIの規格に従う非圧縮の映像信号#1を入力し、例えば前述の非特許文献1に記載された変換フォーマットに従い、映像信号#1を映像パケットαに変換する。例えば、送信機1−1は、伝送レートが約1.5GBPSのHD−SDIの規格または約3GBPSの3G−SDIの規格に従う映像信号#1を入力する。そして、送信機1−1は、映像パケットαを、IPネットワークを介して映像パケット切替装置2へ送信する。
The transmitter 1-1 receives an uncompressed
映像パケットαは、映像信号#1のデータが格納されるペイロード部と、シーケンス番号、タイムスタンプ及びMビット等のヘッダ情報が格納されるヘッダ部とから構成される。後述する映像パケットβについても同様である。送信機1−1の詳細については後述する。
The video packet α is composed of a payload portion in which data of the
送信機1−2は、映像信号#2を入力し、送信機1−1と同様に、例えば前述の非特許文献1に記載された変換フォーマットに従い、映像信号#2を映像パケットβに変換し、映像パケットβを、IPネットワークを介して映像パケット切替装置2へ送信する。
The transmitter 1-2 receives the
映像パケットβは、映像信号#2のデータが格納されるペイロード部と、シーケンス番号、タイムスタンプ及びMビット等のヘッダ情報が格納されるヘッダ部とから構成される。映像パケット切替装置2の詳細については後述する。
The video packet β is composed of a payload portion in which data of the
映像パケット切替装置2は、送信機1−1からIPネットワークを介して第1の系統の映像パケットαを受信すると共に、送信機1−2からIPネットワークを介して第2の系統の映像パケットβを受信し、ユーザにより設定された切替制御指示を入力する。
The video
映像パケット切替装置2は、切替制御指示に従って、映像フレームの区切りにて、切替元の映像パケットα,βのうちの一方から切替先の映像パケットα,βのうちの他方に切り替える。また、映像パケット切替装置2は、切り替えの際に、映像パケットα,βのヘッダ情報に含まれるシーケンス番号及びタイムスタンプが不連続とならないように、これらのシーケンス番号及びタイムスタンプを書き換える。そして、映像パケット切替装置2は、書き換え後の映像パケットα’または映像パケットβ’を、IPネットワークを介して受信機3へ送信する。
The video
これにより、映像パケット切替装置2にて、映像フレームを単位として、映像信号#1の映像パケットαから映像信号#2の映像パケットβへ切り替わり、または、映像信号#2の映像パケットβから映像信号#1の映像パケットαへ切り替わる。
As a result, the video
受信機3は、映像パケット切替装置2からIPネットワークを介して、映像パケットα’または映像パケットβ’を受信し、映像パケットα’または映像パケットβ’から映像信号#1または映像信号#2のクロック周波数の映像クロックを再生する。そして、受信機3は、再生した映像クロックを用いて映像信号#1または映像信号#2を再生し、再生した映像信号#1または映像信号#2を出力する。映像クロックを再生するのは、映像信号#1,#2が非同期のクロックで動作するからである。
The receiver 3 receives the video packet α ′ or the video packet β ′ from the video
〔送信機1−1,1−2〕
次に、図1に示した送信機1−1,1−2について詳細に説明する。図2は、送信機1−1の構成例を示すブロック図である。この送信機1−1は、映像クロック発振部10、タイムスタンプ生成部11及びパケット化部12を備えている。
[Transmitter 1-1, 1-2]
Next, the transmitters 1-1 and 1-2 shown in FIG. 1 will be described in detail. FIG. 2 is a block diagram illustrating a configuration example of the transmitter 1-1. The transmitter 1-1 includes a video
映像クロック発振部10は、予め設定されたサンプリング周波数で動作するクロック信号(映像クロック)を発振し、タイムスタンプ生成部11に出力する。このサンプリング周波数は、送信機1−1が入力するSDIの規格に従う非圧縮の映像信号#1に応じて、予め設定されている。映像クロックは、例えば映像信号#1がHD−SDI信号の場合、74.25MHzのサンプリング周波数で発振する信号であり、映像信号#1が3G−SDI信号の場合、148.5MHzのサンプリング周波数で発振する信号である。
The
タイムスタンプ生成部11は、映像クロック発振部10から映像クロックを入力し、映像クロックを所定の時間間隔でカウントし、タイムスタンプを生成する。そして、タイムスタンプ生成部11は、タイムスタンプをパケット化部12に出力する。
The time
パケット化部12は、SDIの規格に従う非圧縮の映像信号#1を入力すると共に、タイムスタンプ生成部11からタイムスタンプを入力する。そして、パケット化部12は、映像信号#1のデータをペイロード部に格納し、シーケンス番号、タイムスタンプ及びMビット等のヘッダ情報をヘッダ部に格納することで、映像信号#1をパケット化し、映像パケットαを生成する。パケット化部12は、映像パケットαを映像パケット切替装置2へ送信する。
The packetizing
ここで、パケット化部12は、ペイロード部に格納する映像信号#1のデータが映像フレームの最後のデータである場合、Mビットに「1」を設定し、当該映像信号#1のデータが映像フレームの最後のデータでない場合、Mビットに「0」を設定する。そして、パケット化部12は、Mビットをヘッダ部に格納する。
Here, when the data of the
また、パケット化部12は、映像パケットαを生成する毎に、シーケンス番号に1を加算し、加算後のシーケンス番号をヘッダ部に格納する。これにより、シーケンス番号が増加する毎に、タイムスタンプも増加する映像パケットαが生成される。尚、シーケンス番号は、所定の最大値に到達した後、1にリセットされる。
Further, every time the video packet α is generated, the packetizing
送信機1−2は、図2に示した送信機1−1と同じ構成部を備えている。送信機1−2は、SDIの規格に従う非圧縮の映像信号#2を入力し、映像信号#2をペイロード部に格納し、シーケンス番号、タイムスタンプ及びMビット等のヘッダ情報をヘッダ部に格納することで、映像信号#2をパケット化し、映像パケットβを生成する。そして、送信機1−2は、映像パケットβを映像パケット切替装置2へ送信する。
The transmitter 1-2 includes the same components as the transmitter 1-1 illustrated in FIG. The transmitter 1-2 receives an uncompressed
〔受信機3〕
次に、図1に示した受信機3について詳細に説明する。図3は、受信機3の構成例を示すブロック図である。この受信機3は、映像クロック再生部30及び映像信号再生部31を備えている。受信機3は、映像パケット切替装置2から映像パケットα’または映像パケットβ’を受信する。
[Receiver 3]
Next, the receiver 3 shown in FIG. 1 will be described in detail. FIG. 3 is a block diagram illustrating a configuration example of the receiver 3. The receiver 3 includes a video
映像クロック再生部30は、映像パケットα’または映像パケットβ’を入力し、映像パケットα’または映像パケットβ’に基づいて、送信機1−1が入力する映像信号#1または送信機1−2が入力する映像信号#2の映像クロックを再生する。そして、映像クロック再生部30は、再生した映像クロックを再生映像クロックとして映像信号再生部31に出力する。映像クロック再生部30の詳細については後述する。
The video
映像信号再生部31は、映像パケットα’または映像パケットβ’を入力すると共に、映像クロック再生部30から再生映像クロックを入力し、再生映像クロックを用いて映像信号#1または映像信号#2を再生する。そして、映像信号再生部31は、再生した映像信号#1または映像信号#2を出力する。
The video
図4は、映像クロック再生部30の構成例を示すブロック図である。この映像クロック再生部30は、タイムスタンプ取得部32、制御電圧演算部33及び電圧制御水晶発振器(VCXO:Voltage Control Xtal Oscillator)34を備えている。
FIG. 4 is a block diagram illustrating a configuration example of the video
タイムスタンプ取得部32は、映像パケットα’または映像パケットβ’を入力し、映像パケットα’または映像パケットβ’に含まれるシーケンス番号及びタイムスタンプを取得する。
The time
タイムスタンプ取得部32は、映像パケットα’または映像パケットβ’から取得したシーケンス番号におけるタイムスタンプと、その直前のシーケンス番号におけるタイムスタンプとの間の差分値を求める。そして、タイムスタンプ取得部32は、タイムスタンプの差分値ΔTを制御電圧演算部33に出力する。また、タイムスタンプ取得部32は、連続するシーケンス番号の映像パケットα’または映像パケットβ’について、その入力タイミングの差を求め、パケットの間隔相当の時間ΔRとして制御電圧演算部33に出力する。
The time
制御電圧演算部33は、タイムスタンプ取得部32からタイムスタンプの差分値ΔT及びパケットの間隔相当の時間ΔRを入力すると共に、後段の電圧制御水晶発振器34から再生映像クロックを入力する。そして、制御電圧演算部33は、再生映像クロック信号を、パケットの間隔相当の時間ΔR分カウントし、VCXOカウント値を求める。
The control
これにより、以下の式に示すように、タイムスタンプの差分値ΔTを、パケットの間隔相当の時間ΔRで除算した結果が、送信側における映像信号#1または映像信号#2のクロック周波数fとなる。
〔数1〕
ΔT/ΔR=f ・・・(1)
As a result, as shown in the following equation, the result of dividing the time stamp difference value ΔT by the time ΔR corresponding to the packet interval is the clock frequency f of the
[Equation 1]
ΔT / ΔR = f (1)
制御電圧演算部33は、タイムスタンプの差分値とVCXOカウント値とを比較し、その差分に対応する制御電圧を求める。そして、制御電圧演算部33は、制御電圧を電圧制御水晶発振器34に出力する。
The
電圧制御水晶発振器34は、制御電圧演算部33から制御電圧を入力し、制御電圧に基づいて、再生映像クロックのサンプリング周波数を変化させる。そして、電圧制御水晶発振器34は、サンプリング周波数を変化させた後の再生映像クロックを制御電圧演算部33に出力すると共に、映像信号再生部31に出力する。
The voltage controlled
ここで、図9に示した従来の映像パケット切替装置100では、映像フレームの区切りのタイミングでタイムスタンプが大きく変化するため、タイムスタンプの差分値ΔTとVCXOカウント値との間の差が大きくなり、制御電圧が大きく変化してしまう。これにより、再生映像クロックのサンプリング周波数は急激に変動し、円滑な映像の切り替えを実現することができない。 Here, in the conventional video packet switching apparatus 100 shown in FIG. 9, since the time stamp changes greatly at the timing of the video frame separation, the difference between the time stamp difference value ΔT and the VCXO count value becomes large. The control voltage changes greatly. As a result, the sampling frequency of the reproduced video clock varies rapidly, and smooth video switching cannot be realized.
これに対し、本発明の実施形態では、映像フレームの区切りのタイミングにおいて、タイムスタンプが大きく変化することがないから、タイムスタンプの差分値ΔTとVCXOカウント値との間の差も大きくならず、制御電圧も大きく変化しない。これにより、再生映像クロックのサンプリング周波数は急激に変動しないから、円滑な映像の切り替えを実現することができる。 On the other hand, in the embodiment of the present invention, the time stamp does not change significantly at the timing of the video frame separation, so the difference between the time stamp difference value ΔT and the VCXO count value does not increase, The control voltage does not change greatly. Thereby, since the sampling frequency of the reproduced video clock does not fluctuate rapidly, smooth video switching can be realized.
〔映像パケット切替装置2/第1の実施形態〕
次に、図1に示した映像パケット切替装置2について詳細に説明する。図5は、映像パケット切替装置2における第1の実施形態の構成例を示すブロック図である。この映像パケット切替装置2−1は、パケットバッファ101−1,101−2、バッファ・スイッチ制御部102、切替スイッチ103、ヘッダ情報取得部20及びヘッダ情報書換部21を備えている。
[Video
Next, the video
図9に示した従来の映像パケット切替装置100と図5に示す映像パケット切替装置2−1とを比較すると、両映像パケット切替装置100,2−1は、パケットバッファ101−1,101−2、バッファ・スイッチ制御部102及び切替スイッチ103を備えている点で共通する。一方、映像パケット切替装置2−1は、映像パケット切替装置100の構成に加え、さらに、ヘッダ情報取得部20及びヘッダ情報書換部21を備えている点で、映像パケット切替装置100と相違する。尚、図5において、図9と共通する部分には図9と同一の符号を付し、その詳しい説明は省略する。
Comparing the conventional video packet switching device 100 shown in FIG. 9 with the video packet switching device 2-1 shown in FIG. 5, both the video packet switching devices 100 and 2-1 have packet buffers 101-1 and 101-2. The common point is that a buffer
バッファ・スイッチ制御部102は、ユーザにより設定された切替制御指示を入力すると、映像パケットα,βのヘッダ情報に含まれるMビットに基づいて、映像パケットα,βの映像フレームの区切りをそれぞれ判断する。
When the switching control instruction set by the user is input, the buffer /
バッファ・スイッチ制御部102は、切替先の映像パケットへ切り替える前において、パケットバッファ101−1またはパケットバッファ101−2から、同一の映像フレームにおける切替元の映像パケットαまたは映像パケットβを順次読み出す。そして、バッファ・スイッチ制御部102は、同一の映像フレームにおける切替元の映像パケットαまたは映像パケットβの読み出しが全て完了し、切替先の映像パケットに切り替えるとき、切替制御指示に対応した切替指示を切替スイッチ103及びヘッダ情報取得部20に出力する。
The buffer /
バッファ・スイッチ制御部102は、切替先の映像パケットに切り替えた後において、パケットバッファ101−1またはパケットバッファ101−2から、同一の映像フレームにおける切替先の映像パケットαまたは映像パケットβを順次読み出す。
After switching to the switching destination video packet, the buffer /
ヘッダ情報取得部20は、パケットバッファ101−1から映像パケットαのヘッダ情報を順次読み出して取得すると共に、パケットバッファ101−2から映像パケットβのヘッダ情報を順次読み出して取得する。また、ヘッダ情報取得部20は、バッファ・スイッチ制御部102から切替指示を入力する。
The header
ヘッダ情報取得部20は、映像パケットαのヘッダ情報からシーケンス番号及びタイムスタンプを抽出し、連続する2つのシーケンス番号に対応する2つのタイムスタンプの差分値を常に算出する。同様に、ヘッダ情報取得部20は、映像パケットβのヘッダ情報からシーケンス番号及びタイムスタンプを抽出し、連続する2つのシーケンス番号に対応する2つのタイムスタンプの差分値を常に算出する。シーケンス番号sの映像パケットα,βにおけるタイムスタンプの差分値は、シーケンス番号sのタイムスタンプから、これよりも1つ手前のシーケンス番号s−1のタイムスタンプを減算した値とする。これにより、映像パケットα,βにおけるタイムスタンプの差分値がそれぞれ得られる。
The header
ここで、ヘッダ情報取得部20は、既に入力済みの切替指示に従って、当該映像パケット切替装置2−1が出力している映像パケットα’または映像パケットβ’である切替元のパケットの系統を認識している。
Here, the header
ヘッダ情報取得部20は、当該映像パケット切替装置2−1が現在出力している切替元のパケットの系統において、パケットのタイムスタンプと、当該パケットよりも1つ手前のシーケンス番号を有するパケットのタイムスタンプとの間の差分値を、タイムスタンプの差分値(切替元差分値)としてヘッダ情報書換部21に順次出力する。
The header
そして、ヘッダ情報取得部20は、バッファ・スイッチ制御部102から、切替先のパケットに切り替えることを示す切替指示を入力する。そうすると、ヘッダ情報取得部20は、当該映像パケット切替装置2−1がこれから出力しようとする切替先のパケットの系統において、パケットのタイムスタンプと、当該パケットよりも1つ手前のシーケンス番号を有するパケットのタイムスタンプとの間の差分値を、タイムスタンプの差分値(切替先差分値)としてヘッダ情報書換部21に順次出力する。
Then, the header
つまり、切替指示が入力される前において、ヘッダ情報取得部20は、バッファ・スイッチ制御部102によりパケットバッファ101−1,101−2から切替元のパケットが読み出される毎に、そのタイミングにて、当該パケットとこれよりも1つ手前のシーケンス番号を有するパケットとの間のタイムスタンプの差分値(切替元差分値)をヘッダ情報書換部21に出力する。そして、切替指示が入力された後において、ヘッダ情報取得部20は、バッファ・スイッチ制御部102によりパケットバッファ101−1,101−2から切替先のパケットが読み出される毎に、そのタイミングにて、当該パケットとこれよりも1つ手前のシーケンス番号を有するパケットとの間のタイムスタンプの差分値(切替先差分値)をヘッダ情報書換部21に出力する。
That is, before the switching instruction is input, the header
ヘッダ情報書換部21は、切替スイッチ103から映像パケットαまたは映像パケットβを入力すると共に、ヘッダ情報取得部20からタイムスタンプの差分値を入力する。切替スイッチ103が切替指示を入力する前において、ヘッダ情報書換部21は、切替スイッチ103から切替前のパケットを入力すると共に、ヘッダ情報書換部21から切替前差分値を入力する。また、切替スイッチ103が切替指示を入力した後前において、ヘッダ情報書換部21は、切替スイッチ103から切替後のパケットを入力すると共に、ヘッダ情報書換部21から切替後差分値を入力する。
The header
ヘッダ情報書換部21は、タイムスタンプの差分値を入力する毎に、当該ヘッダ情報書換部21にて用いる書換用タイムスタンプに対し、入力したタイムスタンプの差分値を加算し、新たな書換用タイムスタンプを求める。また、ヘッダ情報書換部21は、映像パケットαまたは映像パケットβを入力する毎に、当該ヘッダ情報書換部21にて用いる書換用シーケンス番号に対して1を加算し、新たなシーケンス番号を求める。ヘッダ情報書換部21は、新たなシーケンス番号が所定の最大値に到達した場合、その次の加算の結果求めた新たなシーケンス番号を、1にリセットする。
Each time the time stamp difference value is input, the header
ヘッダ情報書換部21は、映像パケットαまたは映像パケットβのタイムスタンプを新たな書換用タイムスタンプに書き換えると共に、シーケンス番号を新たな書換用シーケンス番号に書き換えることで、ヘッダ情報を書き換える。そして、ヘッダ情報書換部21は、新たな映像パケットα’または映像パケットβ’を生成し、これを出力する。
The header
このように、タイムスタンプの差分値がヘッダ情報書換部21から入力される毎に、書換用タイムスタンプが更新され、また、映像パケットαまたは映像パケットβが切替スイッチ103から入力される毎に、書換用シーケンス番号が更新される。そして、書換用タイムスタンプ及び書換用シーケンス番号を新たなタイムスタンプ及びシーケンス番号とした新たな映像パケットα’または映像パケットβ’が生成される。
In this way, each time the time stamp difference value is input from the header
ここで、バッファ・スイッチ制御部102、切替スイッチ103、ヘッダ情報取得部20及びヘッダ情報書換部21による処理は、パケットバッファ101−1,101−2から映像パケットαまたは映像パケットβを読み出すタイミングを基準として行われる。このため、ヘッダ情報書換部21において、ヘッダ情報が書き換えられる映像パケットαまたは映像パケットβと、ヘッダ情報取得部20から入力されるタイムスタンプの差分値とは、対応している。
Here, the processing by the buffer /
図6は、映像パケット切替装置2−1の処理例を示すフローチャートである。映像パケット切替装置2−1は、映像パケットα,βを受信し、映像パケットα,βをパケットバッファ101−1,101−2にそれぞれ格納する(ステップS601)。 FIG. 6 is a flowchart illustrating a processing example of the video packet switching device 2-1. The video packet switching device 2-1 receives the video packets α and β, and stores the video packets α and β in the packet buffers 101-1 and 101-2, respectively (step S601).
ヘッダ情報取得部20は、パケットバッファ101−1,101−2から映像パケットα,βのヘッダ情報をそれぞれ取得する。そして、ヘッダ情報取得部20は、ヘッダ情報に含まれるタイムスタンプと、1つ手間のシーケンス番号を有する映像パケットα,βにおけるヘッダ情報に含まれるタイムスタンプとの間の差分値をそれぞれ算出する(ステップS602)。
The header
バッファ・スイッチ制御部102は、パケットバッファ101−1,101−2から映像パケットαまたは映像パケットβを順次読み出し、切替スイッチ103を介してヘッダ情報書換部21に出力する(ステップS603)。
The buffer /
ヘッダ情報取得部20は、バッファ・スイッチ制御部102により映像パケットαまたは映像パケットβが読み出されたタイミングにて、切替指示を入力したか否かを判定する(ステップS604)。ヘッダ情報取得部20は、切替指示を入力していないと判定した場合(ステップS604:N)、切替前の映像パケットαまたは映像パケットβにおけるタイムスタンプの差分値を切替前差分値としてヘッダ情報書換部21に出力する。そして、ヘッダ情報書換部21は、書換用タイムスタンプに切替前差分値を加算して新たな書換用タイムスタンプを求める(ステップS605)。
The header
一方、ヘッダ情報取得部20は、ステップS604において、切替指示を入力したと判定した場合(ステップS604:Y)、切替後の映像パケットαまたは映像パケットβにおけるタイムスタンプの差分値を切替後差分値としてヘッダ情報書換部21に出力する。そして、ヘッダ情報書換部21は、書換用タイムスタンプに切替後差分値を加算して新たな書換用タイムスタンプを求める(ステップS606)。
On the other hand, if the header
ヘッダ情報書換部21は、ステップS605またはステップS606から移行して、切替スイッチ103から映像パケットαまたは映像パケットβを入力したタイミングで、書換用シーケンス番号に1を加算し、新たな書換用シーケンス番号を求める(ステップS607)。
The header
ヘッダ情報書換部21は、映像パケットαまたは映像パケットβのヘッダ情報を、新たな書換用タイムスタンプ及び新たな書換用シーケンス場番号を含むヘッダ情報に書き換える(ステップS608)。そして、ヘッダ情報書換部21は、映像パケットα’または映像パケットβ’を生成し、これを出力する(ステップS609)。
The header
図7は、映像パケット切替装置2−1による映像パケット切替処理の具体例を説明する図である。図7に示すように、パケットバッファ101−1に格納されている映像パケットα、及びパケットバッファ101−2に格納されている映像パケットβは、図10と同一である。 FIG. 7 is a diagram illustrating a specific example of video packet switching processing by the video packet switching device 2-1. As shown in FIG. 7, the video packet α stored in the packet buffer 101-1 and the video packet β stored in the packet buffer 101-2 are the same as those in FIG.
ここで、映像パケット切替装置2−1から映像パケットαが出力されているときに、映像パケットαから映像パケットβへ切り替える切替制御指示が入力された場合を想定する。パケットバッファ101−1,101−2には、図10に示す映像パケットα,βが格納されているものとする。 Here, it is assumed that a switching control instruction for switching from the video packet α to the video packet β is input when the video packet α is output from the video packet switching device 2-1. Assume that the packet buffers 101-1 and 101-2 store the video packets α and β shown in FIG.
映像パケット切替装置2−1のバッファ・スイッチ制御部102は、パケットバッファ101−1,101−2に格納された映像パケットα,βのMビットに基づいて、映像フレームの区切りをそれぞれ判断する。この場合、バッファ・スイッチ制御部102は、シーケンス番号36,37の映像パケットα、及びシーケンス番号716,717の映像パケットβが映像フレームの区切りであるとそれぞれ判断する。
The buffer /
バッファ・スイッチ制御部102は、パケットバッファ101−1から映像フレームnのシーケンス番号35の映像パケットαを読み出し、切替スイッチ103を介して出力する。そして、バッファ・スイッチ制御部102は、パケットバッファ101−1から映像フレームnのシーケンス番号36の映像パケットαを読み出し、切替スイッチ103を介して出力する。
The buffer /
このとき、ヘッダ情報取得部20は、シーケンス番号36の映像パケットαが読み出されたタイミングにて、シーケンス番号36の映像パケットαのタイムスタンプ100154と、シーケンス番号35の映像パケットαのタイムスタンプ99054との間の差分値1100を算出し、これをタイムスタンプの差分値(切替前差分値)としてヘッダ情報書換部21に出力する。
At this time, the header
バッファ・スイッチ制御部102は、パケットバッファ101−1から映像フレームnのシーケンス番号36の映像パケットαを読み出した後、切替指示をヘッダ情報取得部20に出力する。また、バッファ・スイッチ制御部102は、パケットバッファ101−2から映像フレームm+1のシーケンス番号717の映像パケットβを読み出し、切替スイッチ103を介して出力する。そして、バッファ・スイッチ制御部102は、パケットバッファ101−2から映像フレームm+1のシーケンス番号718の映像パケットβを読み出し、切替スイッチ103を介して出力する。
The buffer /
ヘッダ情報取得部20は、切替指示を入力し、シーケンス番号717の映像パケットαが読み出されたタイミングにて、シーケンス番号717の映像パケットβのタイムスタンプ7671038と、シーケンス番号716の映像パケットβのタイムスタンプ7669936との間の差分値1102を算出し、これをタイムスタンプの差分値(切替後差分値)としてヘッダ情報書換部21に出力する。
The header
ヘッダ情報書換部21は、切替スイッチ103から映像フレームnのシーケンス番号36の映像パケットαを入力すると共に、ヘッダ情報取得部20から、シーケンス番号36の映像パケットαに対応するタイムスタンプの差分値1100を入力する。そして、ヘッダ情報書換部21は、タイムスタンプ(書換用タイムスタンプ)200000に差分値1100を加算して、新たなタイムスタンプ201100を求めると共に、シーケンス番号(書換用シーケンス番号)1105に1を加算して、新たなシーケンス番号1106を求める。ヘッダ情報書換部21は、映像フレームnのシーケンス番号36の映像パケットαにおけるシーケンス番号及びタイムスタンプを、新たなシーケンス番号1106及び新たなタイムスタンプ201100に書き換える。
The header
これにより、図7の右側に示すように、映像フレームnのシーケンス番号1106及びタイムスタンプ201100、並びに映像データBを含む映像パケットα’が生成される。
As a result, a video packet α ′ including the
そして、ヘッダ情報書換部21は、切替スイッチ103から映像フレームm+1のシーケンス番号717の映像パケットβを入力すると共に、ヘッダ情報取得部20から、シーケンス番号717の映像パケットβに対応するタイムスタンプの差分値1102を入力する。そして、ヘッダ情報書換部21は、タイムスタンプ(書換用タイムスタンプ)201100に差分値1102を加算して、新たなタイムスタンプ202202を求めると共に、シーケンス番号(書換用シーケンス番号)1106に1を加算して、新たなシーケンス番号1107を求める。ヘッダ情報書換部21は、映像フレームm+1のシーケンス番号717の映像パケットβにおけるシーケンス番号及びタイムスタンプを、新たなシーケンス番号1107及び新たなタイムスタンプ202202に書き換える。
Then, the header
これにより、図7の右側に示すように、映像フレームm+1のシーケンス番号1107及びタイムスタンプ202202、並びに映像データdを含む映像パケットβ’が生成される。
As a result, as shown on the right side of FIG. 7, a video packet β ′ including the
このように、映像パケット切替装置2−1において、映像パケットαから映像パケットβへ切り替える切替制御指示が入力された場合、映像フレームの区切りにて、切替元の映像パケットαの出力から切替先の映像パケットβの出力へ切り替わる。 As described above, in the video packet switching device 2-1, when a switching control instruction for switching from the video packet α to the video packet β is input, the output of the switching source video packet α is changed from the output of the switching source video packet α to the switching destination. Switch to output of video packet β.
この場合、映像パケット切替装置2−1により出力される映像パケットα’,β’のシーケンス番号は、図9及び図10に示した従来技術と異なり、切り替え前後で不連続とならないように、書き換えられる。 In this case, the sequence numbers of the video packets α ′ and β ′ output by the video packet switching device 2-1 are rewritten so as not to be discontinuous before and after switching, unlike the prior art shown in FIGS. 9 and 10. It is done.
また、映像パケット切替装置2−1により出力される映像パケットα’,β’のタイムスタンプは、図9及び図10に示した従来技術と異なり、切り替えのタイミングにて、大きく変化しない。つまり、このタイムスタンプは、映像パケット#1,#2間の非同期の動作を吸収し統一のとれた連続したデータとなるように、書き換えられる。
Also, the time stamps of the video packets α ′ and β ′ output by the video packet switching device 2-1 do not change greatly at the switching timing, unlike the conventional techniques shown in FIGS. 9 and 10. In other words, this time stamp is rewritten so that the asynchronous operation between the
以上のように、本発明の第1の実施形態における映像パケット切替装置2−1によれば、ヘッダ情報取得部20は、映像パケットα,βのそれぞれについて、連続する2つのシーケンス番号に対応する2つのタイムスタンプの差分値を常に算出する。そして、ヘッダ情報取得部20は、切替指示を入力する前において、当該映像パケット切替装置2−1が現在出力している切替元のパケットにつき、タイムスタンプの差分値をヘッダ情報書換部21に出力する。また、ヘッダ情報取得部20は、切替指示を入力した後において、切替先のパケットにつきタイムスタンプの差分値をヘッダ情報書換部21に出力する。
As described above, according to the video packet switching device 2-1 in the first embodiment of the present invention, the header
ヘッダ情報書換部21は、切替元のパケットまたは切替先のパケットを入力する毎に、書換用シーケンス番号に1を加算し、新たな書換用シーケンス番号を求める。また、ヘッダ情報書換部21は、切替元のパケットまたは切替先のパケットについて、書換用タイムスタンプに、ヘッダ情報取得部20から入力したタイムスタンプの差分値を加算し、新たな書換用タイムスタンプを求める。
Each time the switching source packet or the switching destination packet is input, the header
ヘッダ情報書換部21は、切替元のパケットまたは切替先のパケットについて、ヘッダ情報に含まれるシーケンス番号及びタイムスタンプを新たな書換用シーケンス番号及び新たな書換用タイムスタンプに書き換え、新たな映像パケットα’または映像パケットβ’を生成し、受信機3へ送信する。
The header
これにより、映像パケットα’,β’のシーケンス番号及びタイムスタンプが不連続となることがなく、シーケンス番号は連続となり、タイムスタンプは映像信号#1,#2間で同期した時刻となる。したがって、映像フレームの区切りにて、映像信号#1,#2を円滑に切り替えることができ、無瞬断な切り替えを実現することができる。 As a result, the sequence numbers and time stamps of the video packets α ′ and β ′ are not discontinuous, the sequence numbers are continuous, and the time stamp is the time synchronized between the video signals # 1 and # 2. Therefore, the video signals # 1 and # 2 can be smoothly switched at the video frame breaks, and switching without interruption can be realized.
〔映像パケット切替装置2/第2の実施形態〕
次に、図1に示した映像パケット切替装置2について、第2の実施形態を詳細に説明する。図8は、映像パケット切替装置2における第2の実施形態の構成例を示すブロック図である。この映像パケット切替装置2−2は、パケットバッファ101−1,101−2、バッファ・スイッチ制御部102、切替スイッチ103、ヘッダ情報取得部20及びヘッダ情報書換部21−1,21−2を備えている。
[Video
Next, a second embodiment of the video
図5に示した映像パケット切替装置2−1と図8に示す映像パケット切替装置2−2とを比較すると、両映像パケット切替装置2−1,2−2は、パケットバッファ101−1,101−2、バッファ・スイッチ制御部102、切替スイッチ103及びヘッダ情報取得部20を備えている点で共通する。一方、映像パケット切替装置2−2は、映像パケット切替装置2−1に備えたヘッダ情報書換部21の代わりに、ヘッダ情報書換部21−1,21−2を備えている点で相違する。また、映像パケット切替装置2−1では、ヘッダ情報書換部21が切替スイッチ103の後段に設けられているのに対し、映像パケット切替装置2−2では、ヘッダ情報書換部21−1,21−2が切替スイッチ103の前段に設けられている点で相違する。
Comparing the video packet switching device 2-1 shown in FIG. 5 with the video packet switching device 2-2 shown in FIG. 8, both the video packet switching devices 2-1 and 2-2 are packet buffers 101-1 and 101, respectively. -2, which is common in that it includes a buffer /
パケットバッファ101−1,101−2及びバッファ・スイッチ制御部102は、図5に示したそれぞれの構成部と同じであるから、ここでは説明を省略する。バッファ・スイッチ制御部102は、パケットバッファ101−1から映像パケットαを順次読み出してヘッダ情報書換部21−1に出力し、または、パケットバッファ101−2から映像パケットβを順次読み出してヘッダ情報書換部21−2に出力する。
The packet buffers 101-1 and 101-2 and the buffer /
ヘッダ情報取得部20は、図5に示した構成部と同様に、パケットバッファ101−1,101−2から映像パケットα,βのヘッダ情報をそれぞれ読み出して取得し、タイムスタンプの差分値をそれぞれ算出する。そして、ヘッダ情報取得部20は、既に入力済みの切替指示に従い、映像パケットαのタイムスタンプの差分値をヘッダ情報書換部21−1に出力するか、または、映像パケットβのタイムスタンプの差分値をヘッダ情報書換部21−2に出力する。
The header
ヘッダ情報書換部21−1は、パケットバッファ101−1から映像パケットαを入力すると共に、ヘッダ情報取得部20から映像パケットαのタイムスタンプの差分値を入力する。そして、ヘッダ情報書換部21−1は、図5に示したヘッダ情報書換部21と同様に、映像パケットαを入力する毎に、書換用シーケンス番号に1を加算し、新たな書換用シーケンス番号を求める。また、ヘッダ情報書換部21−1は、映像パケットαについて、書換用タイムスタンプに、ヘッダ情報取得部20から入力した映像パケットαのタイムスタンプの差分値を加算し、新たな書換用タイムスタンプを求める。
The header information rewriting unit 21-1 inputs the video packet α from the packet buffer 101-1, and inputs the time stamp difference value of the video packet α from the header
ヘッダ情報書換部21−1は、映像パケットαについて、ヘッダ情報に含まれるシーケンス番号及びタイムスタンプを新たな書換用シーケンス番号及び新たな書換用タイムスタンプに書き換え、新たな映像パケットα’を生成し、切替スイッチ103に出力する。ヘッダ情報書換部21−1は、映像パケットαが切替元のパケット及び切替先のパケットのいずれの場合であっても、同じ処理を行う。
The header information rewriting unit 21-1 rewrites the sequence number and time stamp included in the header information with a new rewriting sequence number and a new rewriting time stamp for the video packet α, and generates a new video packet α ′. And output to the
ヘッダ情報書換部21−2は、パケットバッファ101−2から映像パケットβを入力すると共に、ヘッダ情報取得部20から映像パケットβのタイムスタンプの差分値を入力する。そして、ヘッダ情報書換部21−2は、図5に示したヘッダ情報書換部21及び前述のヘッダ情報書換部21−1と同様に、映像パケットβについて、ヘッダ情報に含まれるシーケンス番号及びタイムスタンプを新たな書換用シーケンス番号及び新たな書換用タイムスタンプに書き換え、新たな映像パケットβ’を生成し、切替スイッチ103に出力する。ヘッダ情報書換部21−2は、映像パケットβが切替元のパケット及び切替先のパケットのいずれの場合であっても、同じ処理を行う。
The header information rewriting unit 21-2 receives the video packet β from the packet buffer 101-2, and inputs the time stamp difference value of the video packet β from the header
切替スイッチ103は、バッファ・スイッチ制御部102から切替指示を入力し、切替指示に従い、ヘッダ情報書換部21−1から映像パケットα’を入力して出力するか、または、ヘッダ情報書換部21−2から映像パケットβ’を入力して出力する。切替スイッチ103により出力された映像パケットα’,β’は、受信機3へ送信される。
The
以上のように、本発明の第2の実施形態における映像パケット切替装置2−2によれば、ヘッダ情報書換部21−1,21−2を切替スイッチ103の前段に設けるようにした。ヘッダ情報書換部21−1,21−2は、映像パケットα,βについて、ヘッダ情報に含まれるシーケンス番号及びタイムスタンプを新たな書換用シーケンス番号及び新たな書換用タイムスタンプに書き換え、新たな映像パケットα’,β’をそれぞれ生成し、切替スイッチ103を介して出力する。そして、映像パケットα’,β’は、受信機3へ送信される。
As described above, according to the video packet switching device 2-2 in the second embodiment of the present invention, the header information rewriting units 21-1 and 21-2 are provided in the front stage of the
これにより、第1の実施形態と同様に、映像パケットα’,β’のシーケンス番号及びタイムスタンプが不連続となることがなく、シーケンス番号は連続となり、タイムスタンプは映像信号#1,#2間で同期した時刻となる。したがって、映像フレームの区切りにて、映像信号#1,#2を円滑に切り替えることができ、無瞬断な切り替えを実現することができる。 Accordingly, as in the first embodiment, the sequence numbers and time stamps of the video packets α ′ and β ′ are not discontinuous, the sequence numbers are continuous, and the time stamps are the video signals # 1 and # 2. It becomes the time synchronized between. Therefore, the video signals # 1 and # 2 can be smoothly switched at the video frame breaks, and switching without interruption can be realized.
以上、実施形態を挙げて本発明を説明したが、本発明は前記実施形態に限定されるものではなく、その技術思想を逸脱しない範囲で種々変形可能である。例えば前記実施形態では、バッファ・スイッチ制御部102は、映像パケットα,βのヘッダ情報に含まれるMビットに基づいて、映像フレームの区切りを判断するようにした。これに対し、バッファ・スイッチ制御部102は、Mビット以外の他の情報(ヘッダ情報に含まれるMビット以外の情報、またはペイロード部に格納された情報)に基づいて、映像フレームの区切りを判断するようにしてもよい。この情報は、映像フレームの切り替わりを示す区切りに関するデータであればよい。
The present invention has been described with reference to the embodiment. However, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the technical idea thereof. For example, in the above-described embodiment, the buffer /
また、前記実施形態では、映像パケット切替装置2−1,2−2は、2つの映像信号#1,#2を切り替え対象とし、映像パケットα,βのいずれかに切り替える処理を行うようにした。これに対し、映像パケット切替装置2−1,2−2は、3以上の映像信号を切り替え対象とし、3以上の映像パケットのいずれかに切り替える処理を行うようにしてもよい。この場合、映像パケット切替装置2−1,2−2は、切り替え対象である映像信号の数に相当するパケットバッファ101を備える。また、映像パケット切替装置2−2は、切り替え対象である映像信号の数に相当するヘッダ情報書換部21を備える。
In the embodiment, the video packet switching devices 2-1 and 2-2 perform the process of switching between the two
また、前記実施形態では、切り替え対象の映像信号#1,#2は、SDIの規格に従う非圧縮信号であるとして説明した。これに対し、切り替え対象の映像信号#1,#2は、圧縮信号であってもよい。この場合、映像パケットα,βには、映像フレームの切り替わりを示す区切りに関する情報が付加されているものとする。 In the above-described embodiment, the video signals # 1 and # 2 to be switched are described as non-compressed signals according to the SDI standard. On the other hand, the video signals # 1 and # 2 to be switched may be compressed signals. In this case, it is assumed that information about a break indicating switching of video frames is added to the video packets α and β.
1−1,1−2 送信機
2,100 映像パケット切替装置
3 受信機
10 映像クロック発振部
11 タイムスタンプ生成部
12 パケット化部
20 ヘッダ情報取得部
21,21−1,21−2 ヘッダ情報書換部
30 映像クロック再生部
31 映像信号再生部
32 タイムスタンプ取得部
33 制御電圧演算部
34 電圧制御水晶発振器(VCXO)
101−1,101−2 パケットバッファ
102 バッファ・スイッチ制御部
103 切替スイッチ
1-1, 1-2 Transmitter 2,100 Video packet switching device 3
101-1, 101-2
Claims (4)
前記複数系統の映像パケットを格納するパケットバッファと、
ユーザにより設定された切替制御指示に従い、前記切替先の映像パケットへ切り替える前まで、前記パケットバッファから、同一の映像フレームにおける前記切替元の映像パケットを順次読み出し、前記同一の映像フレームにおける前記切替元の映像パケットの読み出しが全て完了し、前記切替先の映像パケットに切り替えるとき、前記切替制御指示に対応した切替指示を出力し、前記切替先の映像パケットに切り替えた後、前記パケットバッファから、同一の映像フレームにおける前記切替先の映像パケットを順次読み出す制御部と、
前記複数系統の映像パケットのそれぞれについて、前記パケットバッファから前記映像パケットのヘッダ情報に含まれるシーケンス番号及びタイムスタンプを読み出し、連続する2つの前記シーケンス番号に対応する前記タイムスタンプの差分値を算出し、
前記制御部により出力された切替指示を入力する前まで、前記切替元の映像パケットについてのタイムスタンプの差分値を順次出力し、前記切替指示を入力した後、前記切替先の映像パケットについてのタイムスタンプの差分値を順次出力するヘッダ情報取得部と、
前記制御部により読み出された前記映像パケットを入力する毎に、連続する新たなシーケンス番号を求め、前記ヘッダ情報取得部により出力された前記タイムスタンプの差分値を入力する毎に、当該タイムスタンプの差分値に基づいて新たなタイムスタンプを求め、
前記制御部により読み出された前記切替元の映像パケットまたは前記切替先の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記新たなシーケンス番号及び前記新たなタイムスタンプに書き換え、
前記切替元の新たな映像パケットを生成して出力し、その後、前記切替先の新たな映像パケットを生成して出力するヘッダ情報書換部と、
を備えたことを特徴とする映像パケット切替装置。 Video packets respectively corresponding to video signals of a plurality of different systems are input as video packets of a plurality of systems, and the video packets output by switching from the switching source video packet to the switching destination video packet among the plurality of systems of video packets In the switching device,
A packet buffer for storing the plurality of video packets;
In accordance with the switching control instruction set by the user, the switching source video packets in the same video frame are sequentially read from the packet buffer until the switching to the switching destination video packet, and the switching source in the same video frame is read. When all the video packets are read out and switched to the switching destination video packet, a switching instruction corresponding to the switching control instruction is output, and after switching to the switching destination video packet, the same is read from the packet buffer. A control unit that sequentially reads out the switching destination video packets in the video frame;
For each of the plurality of video packets, the sequence number and the time stamp included in the header information of the video packet are read from the packet buffer, and a difference value between the time stamps corresponding to two consecutive sequence numbers is calculated. ,
Until the switching instruction output by the control unit is input, the time stamp difference value for the switching source video packet is sequentially output, and after the switching instruction is input, the time for the switching destination video packet is output. A header information acquisition unit that sequentially outputs the difference value of the stamp;
Each time the video packet read by the control unit is input, a new sequence number is obtained, and each time the difference value of the time stamp output by the header information acquisition unit is input, the time stamp Find a new time stamp based on the difference value of
Rewriting the sequence number and the time stamp included in header information of the switching source video packet or the switching destination video packet read by the control unit to the new sequence number and the new time stamp;
Generating and outputting a new video packet of the switching source, and then generating and outputting a new video packet of the switching destination;
A video packet switching device comprising:
前記ヘッダ情報書換部は、
前記制御部により読み出された前記切替元の映像パケットを入力する毎に、書換用シーケンス番号に1を加算し、加算結果を第1の書換用シーケンス番号として求め、その後、前記制御部により読み出された前記切替先の映像パケットを入力する毎に、前記書換用シーケンス番号に1を加算し、加算結果を第2の書換用シーケンス番号として求め、
前記ヘッダ情報取得部により出力された前記切替元の映像パケットについてのタイムスタンプの差分値を入力する毎に、書換用タイムスタンプに前記タイムスタンプの差分値を加算し、加算結果を第1の書換用タイムスタンプとして求め、その後、前記ヘッダ情報取得部により出力された前記切替先の映像パケットについてのタイムスタンプの差分値を入力する毎に、前記書換用タイムスタンプに前記タイムスタンプの差分値を加算し、加算結果を第2の書換用タイムスタンプとして求め、
前記制御部により読み出された前記切替元の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記第1の書換用シーケンス番号及び前記第1の書換用タイムスタンプに書き換え、前記切替元の新たな映像パケットを生成して出力し、
その後、前記制御部により読み出された前記切替先の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記第2の書換用シーケンス番号及び前記第2の書換用タイムスタンプに書き換え、前記切替先の新たな映像パケットを生成して出力する、ことを特徴とする映像パケット切替装置。 The video packet switching device according to claim 1, wherein
The header information rewriting unit
Each time the switching source video packet read by the control unit is input, 1 is added to the rewrite sequence number, the addition result is obtained as the first rewrite sequence number, and then read by the control unit. Each time the issued switching destination video packet is input, 1 is added to the rewrite sequence number, and the addition result is obtained as a second rewrite sequence number,
Each time the difference value of the time stamp for the switching source video packet output by the header information acquisition unit is input, the difference value of the time stamp is added to the rewriting time stamp, and the addition result is the first rewriting. Each time the difference value of the time stamp for the switching destination video packet output by the header information acquisition unit is input, the difference value of the time stamp is added to the time stamp for rewriting. The addition result is obtained as the second rewriting time stamp,
Rewriting the sequence number and the time stamp included in the header information of the switching source video packet read by the control unit to the first rewriting sequence number and the first rewriting time stamp; Generate and output a new video packet of the switching source,
Thereafter, the sequence number and the time stamp included in the header information of the switching destination video packet read by the control unit are rewritten to the second rewriting sequence number and the second rewriting time stamp. A video packet switching device characterized in that a new video packet of the switching destination is generated and output.
前記映像パケットには、前記映像フレームの切り替わりを示す区切り情報が含まれており、
前記制御部は、
前記区切り情報に基づいて、前記同一の映像フレームの映像パケットを判断する、ことを特徴とする映像パケット切替装置。 The video packet switching device according to claim 1 or 2,
The video packet includes delimiter information indicating switching of the video frame,
The controller is
The video packet switching device, wherein the video packet of the same video frame is determined based on the delimiter information.
前記複数系統の映像パケットをパケットバッファに格納するステップと、
前記複数系統の映像パケットのそれぞれについて、前記パケットバッファから前記映像パケットのヘッダ情報に含まれるシーケンス番号及びタイムスタンプを読み出し、連続する2つの前記シーケンス番号に対応する前記タイムスタンプの差分値を算出するステップと、
前記切替元の映像パケットから前記切替先の映像パケットへ切り替えることを示す切替制御指示を入力するステップと、
前記切替先の映像パケットへ切り替える前まで、前記パケットバッファから、同一の映像フレームにおける前記切替元の映像パケットを順次読み出すと共に、前記切替元の映像パケットについてのタイムスタンプの差分値を順次出力するステップと、
前記パケットバッファから、同一の映像フレームにおける前記切替元の映像パケットを読み出す毎に、連続する新たなシーケンス番号を求めるステップと、
前記切替元の映像パケットについてのタイムスタンプの差分値を出力する毎に、当該タイムスタンプの差分値に基づいて新たなタイムスタンプを求めるステップと、
前記パケットバッファから読み出した前記切替元の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記新たなシーケンス番号及び前記新たなタイムスタンプに書き換え、前記切替元の新たな映像パケットを生成して出力するステップと、
前記切替先の映像パケットへ切り替えた後、前記パケットバッファから、同一の映像フレームにおける前記切替先の映像パケットを順次読み出すと共に、前記切替先の映像パケットについてのタイムスタンプの差分値を順次出力するステップと、
前記パケットバッファから、同一の映像フレームにおける前記切替先の映像パケットを読み出す毎に、連続する新たなシーケンス番号を求めるステップと、
前記切替先の映像パケットについてのタイムスタンプの差分値を出力する毎に、当該タイムスタンプの差分値に基づいて新たなタイムスタンプを求めるステップと、
前記パケットバッファから読み出した前記切替先の映像パケットのヘッダ情報に含まれる前記シーケンス番号及び前記タイムスタンプを、前記新たなシーケンス番号及び前記新たなタイムスタンプに書き換え、前記切替先の新たな映像パケットを生成して出力するステップと、
を有することを特徴とする映像パケット切替方法。 Video packets respectively corresponding to video signals of a plurality of different systems are input as video packets of a plurality of systems, and a switching source video packet is output from the plurality of systems of video packets, and then switched to a switching destination video packet. In the video packet switching method to output
Storing the plurality of video packets in a packet buffer;
For each of the plurality of video packets, the sequence number and the time stamp included in the header information of the video packet are read from the packet buffer, and a difference value between the time stamps corresponding to two consecutive sequence numbers is calculated. Steps,
Inputting a switching control instruction indicating switching from the switching source video packet to the switching destination video packet;
Before sequentially switching to the switching destination video packet, sequentially reading out the switching source video packet in the same video frame from the packet buffer and sequentially outputting a time stamp difference value for the switching source video packet. When,
Every time the switching source video packet in the same video frame is read from the packet buffer, a new sequence number is obtained.
Each time the difference value of the time stamp for the switching source video packet is output, a step of obtaining a new time stamp based on the difference value of the time stamp;
The sequence number and the time stamp included in the header information of the switching source video packet read from the packet buffer are rewritten to the new sequence number and the new time stamp, and the switching source new video packet is Generating and outputting, and
After switching to the switching destination video packet, sequentially reading out the switching destination video packet in the same video frame from the packet buffer and sequentially outputting a time stamp difference value for the switching destination video packet. When,
Each time the switching destination video packet in the same video frame is read from the packet buffer, a new sequence number is obtained continuously.
Each time a difference value of a time stamp for the switching destination video packet is output, obtaining a new time stamp based on the difference value of the time stamp;
The sequence number and the time stamp included in the header information of the switching destination video packet read from the packet buffer are rewritten to the new sequence number and the new time stamp, and the switching destination new video packet is changed. Generating and outputting, and
A video packet switching method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016159365A JP2018029236A (en) | 2016-08-15 | 2016-08-15 | Image packet switching device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016159365A JP2018029236A (en) | 2016-08-15 | 2016-08-15 | Image packet switching device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018029236A true JP2018029236A (en) | 2018-02-22 |
Family
ID=61249233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016159365A Pending JP2018029236A (en) | 2016-08-15 | 2016-08-15 | Image packet switching device and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018029236A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022503684A (en) * | 2018-09-11 | 2022-01-12 | 華為技術有限公司 | Video stream switching method, equipment and system |
CN115314643A (en) * | 2022-07-28 | 2022-11-08 | 中央广播电视总台 | Method, system, equipment and storage medium for realizing net switching |
-
2016
- 2016-08-15 JP JP2016159365A patent/JP2018029236A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022503684A (en) * | 2018-09-11 | 2022-01-12 | 華為技術有限公司 | Video stream switching method, equipment and system |
JP7273144B2 (en) | 2018-09-11 | 2023-05-12 | 華為技術有限公司 | Video stream switching method, apparatus and system |
CN115314643A (en) * | 2022-07-28 | 2022-11-08 | 中央广播电视总台 | Method, system, equipment and storage medium for realizing net switching |
CN115314643B (en) * | 2022-07-28 | 2023-12-15 | 中央广播电视总台 | Method, system, equipment and storage medium for realizing net switching |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1669290B (en) | Jitter compensation method for systems having wall clocks | |
US10097790B2 (en) | Carriage of PTP time reference data in a real-time video signal | |
JP2007124044A (en) | Reference clock reproduction circuit and data receiver | |
JP3045715B2 (en) | Transmission system, transmitting device, recording / reproducing device, and recording device | |
US7466967B2 (en) | Communication system | |
JPWO2008129816A1 (en) | Clock synchronization method | |
JP2018029236A (en) | Image packet switching device and method | |
JP5041844B2 (en) | PCR correction circuit | |
CN106797342B (en) | Video network | |
US7783200B2 (en) | Method and apparatus for constant bit rate data transmission in an optical burst switching network | |
JP2008061010A (en) | Video and audio transmitter | |
JP3440390B2 (en) | Isochronous type continuous media transmission device, isochronous type continuous media transmission method, and receiving device | |
JP4425115B2 (en) | Clock synchronization apparatus and program | |
EP1667447B1 (en) | Data conversion system | |
JP6484403B2 (en) | Communication device, communication program, and communication method | |
JP2008022407A (en) | Packetizing buffer circuit | |
CN111327923B (en) | Audio stream switching method and device | |
JPH11341056A (en) | Multiplexing device | |
US10178144B1 (en) | Scattering audio streams | |
JP2019211638A (en) | Processing device, output device, synchronization control system, and these control methods, as well as programs | |
JPH0946390A (en) | Digital signal transmitter and recordor | |
JP2006080715A (en) | Transport stream transmitter and receiver | |
JP2003333551A (en) | Media multiplexer and encoder using the same | |
JP2000187940A (en) | Recording/reproducing device and recorder | |
JP4015381B2 (en) | LAN controller and transmission apparatus equipped with LAN controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190701 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200716 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200722 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200909 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210210 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20210806 |