JP5030986B2 - Video transmission apparatus and video transmission system - Google Patents
Video transmission apparatus and video transmission system Download PDFInfo
- Publication number
- JP5030986B2 JP5030986B2 JP2009063078A JP2009063078A JP5030986B2 JP 5030986 B2 JP5030986 B2 JP 5030986B2 JP 2009063078 A JP2009063078 A JP 2009063078A JP 2009063078 A JP2009063078 A JP 2009063078A JP 5030986 B2 JP5030986 B2 JP 5030986B2
- Authority
- JP
- Japan
- Prior art keywords
- video
- time information
- time
- encoded data
- packet
- 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.)
- Expired - Fee Related
Links
Images
Description
この発明は、入力映像の1フレームを所定の符号化単位(例えば、スライス単位)で圧縮符号化して複数の映像符号化データを生成し、複数の映像符号化データをパケット化してネットワークに伝送する映像伝送装置と、その映像伝送装置を適用する映像伝送システムとに関するものである。 The present invention compresses and encodes one frame of an input video in a predetermined encoding unit (for example, a slice unit) to generate a plurality of encoded video data, packetizes the plurality of encoded video data, and transmits the packetized data to a network. The present invention relates to a video transmission device and a video transmission system to which the video transmission device is applied.
近年、ネットワークの高速化に伴って、ネットワークに対するデジタル映像の伝送要求が高まり、複数の伝送方式が提案されている。
圧縮映像ストリームをネットワークに伝送する伝送方式として、IETF(Internet Enginnering Task Force)のRFC(Request For Comment)で定められている伝送方式が有名である。
例えば、ITU−T H.264に準拠している映像ストリームをIP伝送するRTP(Real Time Transport Protocol)を規定しているRFC1889(非特許文献1)が存在する。
RTPでは、オーディオやビデオなどのリアルタイム性があるデータをネットワーク上で伝送するのに適している伝送プロトコルを定義している。
In recent years, with the increase in network speed, the demand for digital video transmission over the network has increased, and a plurality of transmission methods have been proposed.
As a transmission method for transmitting a compressed video stream to a network, a transmission method defined by RFC (Request For Comment) of IETF (Internet Engineering Task Force) is well known.
For example, ITU-T H.I. There is RFC1889 (Non-Patent Document 1) that defines RTP (Real Time Transport Protocol) for IP transmission of video streams conforming to H.264.
RTP defines a transmission protocol suitable for transmitting real-time data such as audio and video over a network.
図6はRTPパケットのヘッダのデータフォーマットを示す説明図である。
図6において、“timestamp”は、RTPパケットのペイロード(RTPパケットで伝送しようとするデータ自体)の時刻情報を表現している。
MPEGやH264などのビデオ符号化データを伝送するRFCの場合、“timestamp”には、ペイロードを表示する時刻(90KHz単位の時間)を示す時刻情報を格納することになっている。
RTPパケットの受信側では、RTPパケットのヘッダに含まれている“timestamp”を参照することで、復号処理により得られる映像を正しい時刻で表示する。
FIG. 6 is an explanatory diagram showing the data format of the header of the RTP packet.
In FIG. 6, “timestamp” expresses time information of a payload of the RTP packet (data itself to be transmitted by the RTP packet).
In the case of RFC that transmits video encoded data such as MPEG or H264, time information indicating the time (90 KHz unit time) at which the payload is displayed is stored in “timestamp”.
On the receiving side of the RTP packet, the video obtained by the decoding process is displayed at the correct time by referring to “timestamp” included in the header of the RTP packet.
したがって、映像伝送装置がRTPパケットを使用すれば、RTPパケットで伝送する映像データの表示時刻を90KHzの精度で表現することができる。
しかし、RTPパケットのヘッダに含まれている“timestamp”の初期値はランダム値が与えられるため、絶対時刻を表現することができない。
即ち、“timestamp”を用いれば、一つ前の映像フレームの表示時刻から、次の映像フレームの相対的な表示時間を90KHzの精度で表現することは可能であるが、映像フレームの表示時刻として、年月日時分秒を示す絶対時刻を表現することができない。
Therefore, if the video transmission apparatus uses the RTP packet, the display time of the video data transmitted by the RTP packet can be expressed with an accuracy of 90 KHz.
However, since the initial value of “timestamp” included in the header of the RTP packet is given a random value, the absolute time cannot be expressed.
That is, if “timestamp” is used, it is possible to express the relative display time of the next video frame with an accuracy of 90 KHz from the display time of the previous video frame. The absolute time indicating year, month, day, hour, minute and second cannot be expressed.
従来の映像伝送装置は以上のように構成されているので、RTPパケットを使用すれば、RTPパケットで伝送する映像データの表示時刻を90KHzの精度で表現することができるが、絶対時刻を表現することができない。
このため、例えば、多数のカメラから送信されてくる映像を同時に表示して、映像監視を行うような場合には、厳密な意味で複数の映像の同期を取ることができない課題があった。
また、一つのカメラがマルチキャスト通信などを用いて、映像を多数の受信機に送信するような場合には、同一フレームに異なる時刻情報が関連付けられることになるため、不都合を生じる可能性がある課題があった。
Since the conventional video transmission apparatus is configured as described above, if the RTP packet is used, the display time of the video data transmitted by the RTP packet can be expressed with an accuracy of 90 KHz, but the absolute time is expressed. I can't.
For this reason, for example, when video images transmitted from a large number of cameras are displayed at the same time and video monitoring is performed, there is a problem that a plurality of videos cannot be synchronized in a strict sense.
In addition, when one camera uses multicast communication or the like to transmit video to many receivers, different time information is associated with the same frame, which may cause inconvenience. was there.
この発明は上記のような課題を解決するためになされたもので、ヘッダの情報量を増やすことなく、RTPの伝送方式に準拠して絶対時刻を示す時刻情報を送信することができる映像伝送装置及び映像伝送システムを得ることを目的とする。 The present invention has been made to solve the above-described problems, and is a video transmission apparatus capable of transmitting time information indicating an absolute time in accordance with the RTP transmission method without increasing the amount of information in the header. And to obtain a video transmission system.
この発明に係る映像伝送装置は、符号化手段により生成された複数の映像符号化データのうち、1フレームの最後の映像符号化データ以外の映像符号化データのヘッダに対しては、符号化手段により生成された時刻情報の中で小時刻単位の時刻情報を挿入し、1フレームの最後の映像符号化データのヘッダに対しては、その時刻情報の中で大時刻単位の時刻情報を挿入するようにしたものである。 The video transmission apparatus according to the present invention provides encoding means for a header of video encoded data other than the last video encoded data of one frame among a plurality of video encoded data generated by the encoding means. The time information in small time units is inserted in the time information generated by, and the time information in large time units is inserted in the time information for the header of the last video encoded data of one frame. It is what I did.
この発明によれば、符号化手段により生成された複数の映像符号化データのうち、1フレームの最後の映像符号化データ以外の映像符号化データのヘッダに対しては、符号化手段により生成された時刻情報の中で小時刻単位の時刻情報を挿入し、1フレームの最後の映像符号化データのヘッダに対しては、その時刻情報の中で大時刻単位の時刻情報を挿入するように構成したので、ヘッダの情報量を増やすことなく、RTPの伝送方式に準拠して絶対時刻を示す時刻情報を送信することができる効果がある。 According to the present invention, among the plurality of video encoded data generated by the encoding means, the header of the video encoded data other than the last video encoded data of one frame is generated by the encoding means. The time information in the small time unit is inserted in the time information, and the time information in the large time unit is inserted in the time information in the header of the last encoded video data of one frame. Therefore, there is an effect that time information indicating the absolute time can be transmitted in accordance with the RTP transmission method without increasing the amount of information in the header.
実施の形態1.
図1はこの発明の実施の形態1による映像伝送システムを示す構成図である。
図1において、映像伝送装置1は映像の1フレームを入力する毎に、当該フレームを所定の符号化単位(例えば、スライス単位)で圧縮符号化して複数の映像符号化データを生成し、複数の映像符号化データをパケット化してネットワーク2に送信する処理を実施する。
ネットワーク2は映像伝送装置1と映像受信装置3を接続している伝送路であり、映像伝送装置1から送信された映像パケットを映像受信装置3まで伝送する。
映像受信装置3はネットワーク2によって伝送された映像パケットを受信すると、その映像パケットから複数の映像符号化データと時刻情報を分離して、複数の映像符号化データから映像を復号し、その時刻情報に対応するタイミングで映像を出力する処理を実施する。
1 is a block diagram showing a video transmission system according to
In FIG. 1, each time a
The
When receiving the video packet transmitted by the
映像伝送装置1のクロック生成部11はクロックを生成する処理を実施する。
ビデオ符号化部12はクロック生成部11により生成されたクロックを用いて、入力映像の1フレームを所定の符号化単位(例えば、MPEG系の符号化では、スライス単位)で圧縮符号化して、複数の映像符号化データを生成するとともに、その映像符号化データを表示する絶対時刻を示す時刻情報tを生成する処理を実施する。なお、ビデオ符号化部12は符号化手段を構成している。
The
The
パケット送出部13はビデオ符号化部12により生成された時刻情報tを含むヘッダを複数の映像符号化データに付加することで映像パケットを生成して、その映像パケットをネットワーク2に送信する処理を実施する。
即ち、パケット送出部13はビデオ符号化部12により生成された複数の映像符号化データのうち、1フレームの最後の映像符号化データ以外の映像符号化データのヘッダに対しては、ビデオ符号化部12により生成された時刻情報tの中で小時刻単位(例えば、ミリ秒単位)の時刻情報を挿入し、1フレームの最後の映像符号化データのヘッダに対しては、その時刻情報tの中で大時刻単位(例えば、秒単位)の時刻情報を挿入する処理を実施する。
なお、パケット送出部13は映像パケット送信手段を構成している。
The packet transmission unit 13 generates a video packet by adding a header including the time information t generated by the
That is, the packet sending unit 13 performs video coding on the header of video encoded data other than the last video encoded data of one frame among the plurality of video encoded data generated by the
The packet sending unit 13 constitutes a video packet sending unit.
映像受信装置3のクロック生成部31はクロックを生成する処理を実施する。
パケット受信部32は映像伝送装置1から送信された映像パケットを受信し、その映像パケットから複数の映像符号化データと時刻情報tを分離する処理を実施する。なお、パケット受信部32は映像パケット受信手段を構成している。
ビデオ復号部33はパケット受信部32により分離された複数の映像符号化データから映像を復号し、クロック生成部31により生成されたクロックを参照して、その時刻情報tに対応するタイミングで映像を出力する処理を実施する。なお、ビデオ復号部33は復号手段を構成している。
The
The packet receiving unit 32 receives the video packet transmitted from the
The
次に動作について説明する。
映像伝送装置1のクロック生成部11は、クロックを生成する処理を実施する。
ビデオ符号化部12は、映像の1フレームを入力すると、クロック生成部11により生成されたクロックを用いて、その1フレームを所定の符号化単位(例えば、MPEG系の符号化では、スライス単位)で圧縮符号化して、複数の映像符号化データを生成するとともに、その映像符号化データを表示する絶対時刻を示す時刻情報tを生成する。
Next, the operation will be described.
The
When one frame of video is input, the
ここで、図2はビデオ符号化部12の符号化処理を示す説明図である。
以下、図2を参照して、ビデオ符号化部12の符号化処理を具体的に説明する。
図2では、時刻t0,t1,t2、t3で映像フレームを入力する例を示している。
ビデオ符号化部12では、例えば、時刻t0のとき、1枚の映像フレーム50を入力すると、例えば、スライス単位で独立している圧縮符号化処理を実施することにより、1枚の映像フレーム50から複数の映像符号化データ51〜54を生成している。
ビデオ符号化部12は、複数の映像符号化データ51〜54を生成すると、クロック生成部11により生成されたクロックを参照して、映像符号化データ51〜54を表示する絶対時刻(年月日時分秒)を示す時刻情報tを生成するが、映像符号化データ51〜54は同一フレームの映像を構成するものであるため、映像符号化データ51〜54の表示時刻は同一時刻である。
Here, FIG. 2 is an explanatory diagram showing the encoding process of the
Hereinafter, the encoding process of the
FIG. 2 shows an example in which video frames are input at times t0, t1, t2, and t3.
In the
When the
パケット送出部13は、ビデオ符号化部12が映像符号化データ51〜54と、映像符号化データ51〜54を表示する絶対時刻を示す時刻情報tを生成すると、その時刻情報tを含むヘッダを映像符号化データ51〜54に付加することで映像パケットを生成し、その映像パケットをネットワーク2に送信する。
When the
ここで、図3はパケット送出部13のパケット化処理を示す説明図である。
以下、図3を参照して、パケット送出部13のパケット化処理を具体的に説明する。
まず、映像符号化データ51〜54に付加するヘッダとして、図6のRTPヘッダを想定する。
RTPヘッダには、上記した“timestamp”を格納する32bitのデータフィールドが存在している。
また、RTPの場合、1フレームの最後の映像符号化データである映像符号化データ54のRTPヘッダ中のMビット(図6を参照)には“1”を格納し、最後の映像符号化データでない映像符号化データ51〜53のRTPヘッダ中のMビットには“0”を格納することが規定されている。
Here, FIG. 3 is an explanatory diagram showing packetization processing of the packet transmission unit 13.
Hereinafter, the packetization process of the packet transmission unit 13 will be described in detail with reference to FIG.
First, the RTP header of FIG. 6 is assumed as a header added to the video encoded
The RTP header has a 32-bit data field for storing the above “timestamp”.
In the case of RTP, “1” is stored in the M bit (see FIG. 6) in the RTP header of the video encoded
そこで、パケット送出部13は、映像符号化データ51〜53に付加するRTPヘッダ中のMビットに“0”を格納し、ビデオ符号化部12により生成された時刻情報tの中で小時刻単位(例えば、ミリ秒単位)の時刻情報、即ち、ビデオ符号化部12により生成された時刻情報tの中の下位32bitを上記RTPヘッダの“timestamp”のデータフィールドに格納することで、RTPヘッダ付の映像符号化データ55〜57を生成する。
Therefore, the packet transmission unit 13 stores “0” in the M bits in the RTP header added to the video encoded
また、パケット送出部13は、最後の映像符号化データである映像符号化データ54に付加するRTPヘッダ中のMビットに“1”を格納し、ビデオ符号化部12により生成された時刻情報tの中で大時刻単位(例えば、秒単位)の時刻情報、即ち、ビデオ符号化部12により生成された時刻情報tの中の下位32bitより上位のビット(例えば、時刻情報が64bitの情報であれば上位32bit、時刻情報が48bitの情報であれば上位16bit)を上記RTPヘッダの“timestamp”のデータフィールドに格納することで、RTPヘッダ付の映像符号化データ58を生成する。
Further, the packet transmission unit 13 stores “1” in the M bit in the RTP header added to the video encoded
なお、RTPヘッダにおける“timestamp”以外の情報は、RTPで定義されている情報と同じである(図6を参照)。
パケット送出部13は、上記のようにして、映像パケット(RTPヘッダ付の映像符号化データ55〜58)を生成し、その映像パケットをネットワーク2に送信する。
Information other than “timestamp” in the RTP header is the same as the information defined in RTP (see FIG. 6).
As described above, the packet transmission unit 13 generates a video packet (video encoded
映像受信装置3のパケット受信部32は、映像伝送装置1から送信された映像パケットを受信すると、その映像パケットから映像符号化データ51〜54と時刻情報を含むRTPヘッダを分離する。
パケット受信部32は、RTPヘッダ中のMビットが“1”であれば、そのRTPヘッダの“timestamp”のデータフィールドに格納されているビットが、時刻情報tの上位ビットであり、RTPヘッダ中のMビットが“0”であれば、そのRTPヘッダの“timestamp”のデータフィールドに格納されているビットが、時刻情報tの下位ビットであると判断して、その上位ビットと下位ビットを合成することで時刻情報tを復元する。
t=上位ビット+下位ビット
パケット受信部32は、時刻情報tを復元すると、その時刻情報tと映像符号化データ51〜54をビデオ復号部33に出力する。
When receiving the video packet transmitted from the
If the M bit in the RTP header is “1”, the packet receiver 32 indicates that the bit stored in the “timestamp” data field of the RTP header is the upper bit of the time information t, If the M bit is “0”, it is determined that the bit stored in the “timestamp” data field of the RTP header is the lower bit of the time information t, and the higher bit and the lower bit are combined. Thus, the time information t is restored.
t = upper bit + lower bit When the packet receiving unit 32 restores the time information t, the packet receiving unit 32 outputs the time information t and the encoded
ビデオ復号部33は、パケット受信部32から時刻情報tと映像符号化データ51〜54を受けると、その映像符号化データ51〜54から映像を復号する。
ビデオ復号部33は、映像符号化データ51〜54から映像を復号すると、クロック生成部31により生成されたクロックを参照して、その時刻情報tに対応するタイミングで復号映像を出力することで、正しい時刻で復号映像を表示する。
When receiving the time information t and the encoded
When the
以上で明らかなように、この実施の形態1によれば、ビデオ符号化部12により生成された映像符号化データ51〜54のうち、1フレームの最後の映像符号化データ以外の映像符号化データ51〜53のRTPヘッダに対しては、ビデオ符号化部12により生成された時刻情報tの中で小時刻単位の時刻情報を挿入し、1フレームの最後の映像符号化データである映像符号化データ54のRTPヘッダに対しては、その時刻情報tの中で大時刻単位の時刻情報を挿入するように構成したので、RTPヘッダの情報量を増やすことなく、RTPの伝送方式に準拠して絶対時刻を示す時刻情報を送信することができる効果を奏する。
As is apparent from the above, according to the first embodiment, video encoded data other than the last video encoded data of one frame among the video encoded
実施の形態2.
図4はこの発明の実施の形態2による映像伝送システムを示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
パケット送出部14はビデオ符号化部12により生成された時刻情報tを含むヘッダを複数の映像符号化データに付加することで映像パケットを生成して、その映像パケットをネットワーク2に送信する処理を実施する。
即ち、パケット送出部14はビデオ符号化部12により生成された時刻情報tのうち、小時刻単位(例えば、ミリ秒単位)の時刻情報については下位の時刻情報を削除して、複数の映像符号化データのヘッダに挿入し、大時刻単位の時刻情報については分割して、分割後の各時刻情報を別々の映像符号化データのヘッダに挿入する処理を実施する。
なお、パケット送出部14は映像パケット送信手段を構成している。
4 is a block diagram showing a video transmission system according to
The packet sending unit 14 generates a video packet by adding a header including the time information t generated by the
That is, the packet transmission unit 14 deletes the time information in the small time unit (for example, in milliseconds) from the time information t generated by the
The packet sending unit 14 constitutes a video packet sending unit.
映像受信装置3のパケット受信部34は映像伝送装置1から送信された映像パケットを受信し、その映像パケットから複数の映像符号化データと時刻情報tを分離する処理を実施する。なお、パケット受信部34は映像パケット受信手段を構成している。
The packet receiving unit 34 of the
次に動作について説明する。
“timestamp”の最小単位が極めて小さく、映像受信装置3側の時刻情報として、誤差とみなされるような単位で表現されている場合、ビデオ符号化部12により生成された時刻情報tのうち、小時刻単位(例えば、ミリ秒単位)の時刻情報については下位の時刻情報を削除するようにしてもよい。
Next, the operation will be described.
When the minimum unit of “timestamp” is extremely small and is expressed in a unit that is regarded as an error as time information on the
即ち、時刻情報tの最小単位がRTPで定義されているような90KHz単位の場合、時刻情報tの最小単位が極めて小さく、8bit長のデータでは、最大で256/90000秒の誤差(2msec程度の誤差)となる。
この程度の誤差は、映像のフレームレート(1/30秒)を考慮すると、概ね無視できる範囲である。このため、例えば、時刻情報tの下位8bitを削除しても、時刻情報の誤差による劣化が発生しない。
That is, when the minimum unit of time information t is 90 KHz unit as defined by RTP, the minimum unit of time information t is extremely small, and in the case of 8-bit data, the maximum error is 256/90000 seconds (about 2 msec). Error).
This level of error is in a range that can be generally ignored in consideration of the frame rate of the video (1/30 seconds). For this reason, for example, even if the lower 8 bits of the time information t are deleted, the deterioration due to the time information error does not occur.
そこで、この実施の形態2では、時刻情報tの下位8bitを削除して伝送する形態について説明する。
映像伝送装置1のビデオ符号化部12は、上記実施の形態1と同様に、映像の1フレームを入力すると、クロック生成部11により生成されたクロックを用いて、その1フレームを所定の符号化単位(例えば、MPEG系の符号化では、スライス単位)で圧縮符号化して、映像符号化データ51〜54を生成するとともに、その映像符号化データ51〜54を表示する絶対時刻を示す時刻情報tを生成する。
Therefore, in the second embodiment, a mode in which the lower 8 bits of the time information t are deleted and transmitted will be described.
When the
パケット送出部14は、ビデオ符号化部12が映像符号化データ51〜54と、映像符号化データ51〜54を表示する絶対時刻を示す時刻情報tを生成すると、その時刻情報tを含むRTPヘッダを映像符号化データ51〜54に付加することで映像パケットを生成し、その映像パケットをネットワーク2に送信する。
When the
ここで、図5はパケット送出部14のパケット化処理を示す説明図である。
以下、図5を参照して、パケット送出部14のパケット化処理を具体的に説明する。
この実施の形態2でも、映像符号化データ51〜54に付加するヘッダとして、図6のRTPヘッダを想定する。
Here, FIG. 5 is an explanatory diagram showing packetization processing of the packet transmission unit 14.
Hereinafter, the packetization process of the packet transmission unit 14 will be described in detail with reference to FIG.
Also in the second embodiment, the RTP header of FIG. 6 is assumed as a header added to the encoded video data 51-54.
まず、パケット送出部14は、ビデオ符号化部12により生成された時刻情報tから小時刻単位(例えば、ミリ秒単位)の時刻情報である下位32bitを抽出し、その時刻情報の下位8bitを削除する。
パケット送出部14は、下位8bitを削除することで残った24bitの時刻情報を映像符号化データ51〜54におけるRTPヘッダの“timestamp”のデータフィールド(図5では、「ts」と記述しているフィールド)に格納する。
First, the packet sending unit 14 extracts the lower 32 bits that are time information in small time units (for example, milliseconds) from the time information t generated by the
The packet sending unit 14 describes the 24-bit time information remaining by deleting the lower 8 bits as the “timestamp” data field of the RTP header in the video encoded
次に、パケット送出部14は、ビデオ符号化部12により生成された時刻情報tの中の下位32bitより上位のビット(例えば、時刻情報が64bitの情報であれば上位32bit、時刻情報が48bitの情報であれば上位16bit)を4つに分割する。
例えば、上位ビットが32bitであれば、4つに分割することで、8bitの分割データn0,n1,n2,n3が生成される。
パケット送出部14は、8bitの分割データn0,n1,n2,n3を生成すると、図5に示すように、分割データn0,n1,n2,n3を映像符号化データ51〜54におけるRTPヘッダの“timestamp”の残りのデータフィールドに格納する。
Next, the packet sending unit 14 has bits higher than the lower 32 bits in the time information t generated by the video encoding unit 12 (for example, if the time information is 64-bit information, the upper 32 bits and the time information is 48 bits). If it is information, the upper 16 bits are divided into four.
For example, if the upper bit is 32 bits, 8 bits of divided data n0, n1, n2, and n3 are generated by dividing into 4 parts.
When the packet sending unit 14 generates the 8-bit divided data n0, n1, n2, and n3, as shown in FIG. 5, the divided data n0, n1, n2, and n3 are converted into “RTP header“ Store in the remaining data fields of timestamp.
RTPヘッダには、データパケットの連続性を確保するために、4ビットのシーケンス番号が挿入されており、そのシーケンス番号の値が最も小さいRTPヘッダには、分割データn0が格納され、次にシーケンス番号の値が小さいRTPヘッダには、分割データn1が格納される。また、次にシーケンス番号の値が小さいRTPヘッダには、分割データn2が格納され、シーケンス番号の値が最も大きいRTPヘッダには、分割データn3が格納される。 In order to ensure the continuity of data packets, a 4-bit sequence number is inserted in the RTP header, and the divided data n0 is stored in the RTP header having the smallest value of the sequence number. The divided data n1 is stored in the RTP header having a small number value. Further, the divided data n2 is stored in the RTP header having the next smallest sequence number value, and the divided data n3 is stored in the RTP header having the largest sequence number value.
なお、RTPヘッダにおける“timestamp”以外の情報は、RTPで定義されている情報と同じである(図6を参照)。
パケット送出部14は、上記のようにして、時刻情報tに相当する時刻情報t’(下位8bitを削除している時刻情報)を含むRTPヘッダを映像符号化データ51〜54に付加することで映像パケット(RTPヘッダ付の映像符号化データ61〜64)を生成すると、その映像パケットをネットワーク2に送信する。
Information other than “timestamp” in the RTP header is the same as the information defined in RTP (see FIG. 6).
As described above, the packet transmission unit 14 adds the RTP header including the time information t ′ corresponding to the time information t (time information from which the lower 8 bits are deleted) to the video encoded
映像受信装置3のパケット受信部34は、映像伝送装置1から送信された映像パケットを受信すると、その映像パケットから映像符号化データ51〜54と時刻情報t’を含むRTPヘッダを分離する。
パケット受信部34は、映像符号化データ61〜64に付加されているRTPヘッダから“timestamp”のTSフィールドから24bitの時刻情報を取得するとともに、“timestamp”の残りのデータフィールドから分割データn0,n1,n2,n3を取得し、下位ビットである24bitの時刻情報と、分割データn0,n1,n2,n3とを合成することで、時刻情報tに相当する時刻情報t’を復元する。
t≒t’=n0+n1+n2+n3+下位24bit
パケット受信部34は、時刻情報t’を復元すると、その時刻情報t’と映像符号化データ51〜54をビデオ復号部33に出力する。
When receiving the video packet transmitted from the
The packet receiving unit 34 obtains 24-bit time information from the TS field of “timestamp” from the RTP header added to the video encoded
t≈t ′ = n0 + n1 + n2 + n3 + lower 24 bits
When the packet reception unit 34 restores the time information t ′, the packet reception unit 34 outputs the time information t ′ and the encoded
ビデオ復号部33は、パケット受信部34から時刻情報t’と映像符号化データ51〜54を受けると、上記実施の形態1と同様に、その映像符号化データ51〜54から映像を復号する。
ビデオ復号部33は、映像符号化データ51〜54から映像を復号すると、クロック生成部31により生成されたクロックを参照して、その時刻情報t’に対応するタイミングで復号映像を出力することで、正しい時刻で復号映像を表示する。
When receiving the time information t ′ and the encoded
When the
以上で明らかなように、この実施の形態2によれば、ビデオ符号化部12により生成された時刻情報tのうち、小時刻単位(例えば、ミリ秒単位)の時刻情報については下位の時刻情報を削除して、映像符号化データ51〜54のRTPヘッダに挿入し、大時刻単位の時刻情報については分割して、分割データn0,n1,n2,n3を映像符号化データ51〜54のRTPヘッダにそれぞれ挿入するように構成したので、上記実施の形態1と同様に、RTPヘッダの情報量を増やすことなく、RTPの伝送方式に準拠して絶対時刻を示す時刻情報を送信することができる効果を奏する。
As apparent from the above, according to the second embodiment, the time information in the small time unit (for example, millisecond unit) among the time information t generated by the
実施の形態3.
上記実施の形態1,2では、ビデオ符号化部12が映像符号化データ51〜54を表示する絶対時刻を示す時刻情報tを生成するものについて示したが、例えば、UNIX(商標登録:以下記載を省略する)やLinux(商標登録:以下記載を省略する)システムで簡単に取得可能な「1970年1月1日0時0分0秒」を基点とする時刻を示す時刻情報tを生成するようにしてもよい。
In the first and second embodiments, the
具体的には、ビデオ符号化部12が、例えば、時刻情報tの上位32bitを「1970年1月1日0時0分0秒」を基点とする時刻とし、時刻情報tの下位32bitをUNIXやLinuxシステムで簡単に取得可能な起動時からのミリ秒単位の時刻とする。
これにより、UNIXやLinuxシステムと整合性が高い時刻情報tを得ることができる効果を奏する。
Specifically, for example, the
As a result, it is possible to obtain time information t that is highly consistent with the UNIX or Linux system.
実施の形態4.
上記実施の形態3では、ビデオ符号化部12が、時刻情報tの下位32bitをシステム起動後のミリ秒単位の時刻とするものについて示したが、時刻情報tの下位32bitの値が所定時間(例えば、1時間)分をカウントしたら、時刻情報tの下位32bitをゼロリセットするようにしてもよい。
これにより、時刻情報tの上位32bitで示される「年月日時分秒」との関連付けを容易に行うことができる。
In the third embodiment, the
Thereby, the association with “year / month / day / hour / minute / second” indicated by the upper 32 bits of the time information t can be easily performed.
1 映像伝送装置、2 ネットワーク、3 映像受信装置、11 クロック生成部、12 ビデオ符号化部(符号化手段)、13,14 パケット送出部(映像パケット送信手段)、31 クロック生成部、32,34 パケット受信部(映像パケット受信手段)、33 ビデオ復号部(復号手段)、50 映像フレーム、51〜54 映像符号化データ、55〜58 RTPヘッダ付の映像符号化データ、61〜64 RTPヘッダ付の映像符号化データ。 1 video transmission device, 2 network, 3 video reception device, 11 clock generation unit, 12 video encoding unit (encoding unit), 13, 14 packet transmission unit (video packet transmission unit), 31 clock generation unit, 32, 34 Packet receiver (video packet receiver), 33 video decoder (decoder), 50 video frames, 51-54 video encoded data, 55-58 video encoded data with RTP header, 61-64 RTP header Video encoded data.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009063078A JP5030986B2 (en) | 2009-03-16 | 2009-03-16 | Video transmission apparatus and video transmission system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009063078A JP5030986B2 (en) | 2009-03-16 | 2009-03-16 | Video transmission apparatus and video transmission system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010219767A JP2010219767A (en) | 2010-09-30 |
JP5030986B2 true JP5030986B2 (en) | 2012-09-19 |
Family
ID=42978142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009063078A Expired - Fee Related JP5030986B2 (en) | 2009-03-16 | 2009-03-16 | Video transmission apparatus and video transmission system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5030986B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016225906A (en) | 2015-06-02 | 2016-12-28 | ソニー株式会社 | Transmitter, transmission method, receiver and reception method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3991795B2 (en) * | 2002-07-10 | 2007-10-17 | 株式会社日立プラントテクノロジー | Screen printing machine |
JP2004159101A (en) * | 2002-11-06 | 2004-06-03 | Ntt Docomo Inc | Data transmission method, data transmitter, data receiver, and data transmission system |
JP3769752B2 (en) * | 2002-12-24 | 2006-04-26 | ソニー株式会社 | Information processing apparatus and information processing method, data communication system, and program |
JP4876427B2 (en) * | 2005-04-11 | 2012-02-15 | ソニー株式会社 | COMMUNICATION SYSTEM, TRANSMISSION DEVICE, TRANSMISSION METHOD, RECEPTION DEVICE, RECEPTION METHOD, AND PROGRAM |
JP5092493B2 (en) * | 2007-03-28 | 2012-12-05 | 富士通株式会社 | Reception program, reception apparatus, communication system, and communication method |
-
2009
- 2009-03-16 JP JP2009063078A patent/JP5030986B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010219767A (en) | 2010-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7843974B2 (en) | Audio and video synchronization | |
KR101340762B1 (en) | Internet protocol packet re-transporting method for digital multimedia broadcasting service | |
EP2086237B1 (en) | Method and device for reordering and multiplexing multimedia packets from multimedia streams pertaining to interrelated sessions | |
JP5778672B2 (en) | Backward looking robust header compression receiver | |
US7869420B2 (en) | Method and system for in-band signaling of multiple media streams | |
EP2077669A2 (en) | Transcoder and receiver | |
JP2003023413A (en) | System decoder and method for correcting packet data | |
CN102685588A (en) | Decoder and method at the decoder for synchronizing rendering of contents received through different networks | |
JP5372143B2 (en) | Device and method for synchronizing interactive marks with streaming content | |
US20110050851A1 (en) | Method and system for transmitting a 1080p60 video in 1080i format to a legacy 1080i capable video receiver without resolution loss | |
JP2021121108A (en) | Decoding device | |
EP2276192A2 (en) | Method and apparatus for transmitting/receiving multi - channel audio signals using super frame | |
KR20160114586A (en) | Transmission device, transmission method, reception device, and reception method | |
JP5030986B2 (en) | Video transmission apparatus and video transmission system | |
WO2012077855A1 (en) | Method and device for packetizing a video stream | |
KR20150079367A (en) | Image data communication method and image data communication device | |
JP2007324876A (en) | Data transmitter, data receiver, data transmitting method, data receiving method, and program | |
JP5632711B2 (en) | Transmitting apparatus, receiving apparatus and transmission system | |
JP2001148853A (en) | Moving picture encoder and decoder | |
WO2013145225A1 (en) | Method, device, and program for encoding and multiplexing, or decoding elementary streams | |
KR20180027281A (en) | Method and Apparatus for Recovering Packet Loss | |
JP2010239433A (en) | Video coding apparatus, method and program | |
JP5579657B2 (en) | Video frame synchronization system | |
JP6911989B2 (en) | Receiver and communication system | |
US9479823B2 (en) | Transmitting device and receiving device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110921 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120522 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120529 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120626 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150706 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |