JP2008092391A - Recording stream generating method and reproducing method thereof, recording device, and reproducing device - Google Patents
Recording stream generating method and reproducing method thereof, recording device, and reproducing device Download PDFInfo
- Publication number
- JP2008092391A JP2008092391A JP2006272409A JP2006272409A JP2008092391A JP 2008092391 A JP2008092391 A JP 2008092391A JP 2006272409 A JP2006272409 A JP 2006272409A JP 2006272409 A JP2006272409 A JP 2006272409A JP 2008092391 A JP2008092391 A JP 2008092391A
- Authority
- JP
- Japan
- Prior art keywords
- stream
- time
- packet
- recording
- transmission
- 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
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
本発明は記録ストリーム生成方法及びその再生方法、記録、再生装置に関する。 The present invention relates to a recording stream generating method, a reproducing method thereof, a recording and reproducing apparatus.
MPEG2-TS(Transport Stream)をビデオ、オーディオ伝送方式として採用するディジタル放送を受信し、ディスク記録媒体への記録を行い、元のビデオ、オーディオ情報として再生する、レコーダ装置が開発されている。一方、近年のレコーダ装置は様々な外部装置との接続インターフェイスを備える。例えば、レコーダ機器同士を1対1で接続するシリアルインターフェイスや、複数の機器が接続されるネットワーク網への接続を可能とするLAN(Local Area Network)インターフェイスである。ネットワーク網に接続された機器間でデータ伝送を行う際の通信プロトコルとしてTCP(Transmission Control Protocol)、UDP(User data gram Protocol)が挙げられる。MPEG2-TS等、ビデオ、オーディオ情報の伝送は、データを途切れなく送受信することが重要で有るため、送受信時のオーバヘッドが少ないUDPが用いられる。MPEG2-TSのディスク記録媒体への記録方法については、例えば非特許文献1を参照、UDPについては例えば非特許文献2を参照。
A recorder device has been developed that receives a digital broadcast that employs MPEG2-TS (Transport Stream) as a video and audio transmission method, records it on a disk recording medium, and reproduces the original video and audio information. On the other hand, recent recorder devices have connection interfaces with various external devices. For example, there are a serial interface that connects recorder devices one-to-one, and a LAN (Local Area Network) interface that enables connection to a network network to which a plurality of devices are connected. TCP (Transmission Control Protocol) and UDP (User Data Gram Protocol) are examples of communication protocols for data transmission between devices connected to a network. For transmission of video and audio information such as MPEG2-TS, it is important to transmit and receive data without interruption. Therefore, UDP is used which has less overhead during transmission and reception. See, for example,
レコーダ機器において記録対象となるソースは、ディジタル放送や、機器と1対1で接続された外部機器からの受信ストリームに留まらず、ネットワーク接続機器からの伝送ストリームも挙げられ、マルチストリームに対する蓄積サーバーとして利用することが期待されている。 Sources to be recorded in recorder equipment include not only digital broadcasts and received streams from external equipment connected to equipment on a one-to-one basis, but also transmission streams from network-connected equipment. It is expected to be used.
ネットワーク経由で伝送されるストリームは、ネットワーク上のデータ送受信が混雑している場合や、伝送帯域の狭いネットワークを経由する場合、ストリームを構成するパケットの送信時刻に対し、受信時刻が時系列的にランダムに遅延し、受信ストリームの復号時にジッタ(復号時刻のズレから、不自然なビデオの再生や、ビデオとオーディオの同期が取れない等の問題)が発生する。 When a stream transmitted via a network is congested with data transmission / reception on the network or via a network with a narrow transmission band, the reception time is chronologically related to the transmission time of the packets making up the stream. Randomly delays and causes jitter (problems such as unnatural video reproduction and inability to synchronize video and audio due to deviation in decoding time) when decoding the received stream.
一方でマルチストリーム記録を実現するための方法として、MPEG2-TS形式に従い、複数チャンネルに対するストリームを構成するパケット単位で時分割多重する方法が挙げられるが、前記受信時にランダムな遅延の生じるストリームと、ディジタル放送等で伝送され遅延の生じないストリーム同士を多重化する際に、そのままパケットの時分割多重を行い記録する場合は、再生時に再生ストリームの切り替え時にジッタが生じ、スムーズな切り替えができないという課題がある。 On the other hand, as a method for realizing multi-stream recording, there is a method of time-division multiplexing in units of packets constituting a stream for a plurality of channels according to the MPEG2-TS format. When multiplexing streams that are transmitted in digital broadcasting or the like that do not cause delays, when packets are time-division multiplexed and recorded as they are, jitter occurs at the time of playback stream switching, and smooth switching cannot be performed. There is.
従って本発明の目的は上記課題を解決する記録ストリーム生成方法及びその再生方法、記録、再生装置を提供するものである、 Accordingly, an object of the present invention is to provide a recording stream generation method, a playback method thereof, a recording and playback device, which solve the above-mentioned problems.
上記課題を解決する記録ストリームの生成方法は、第1の伝送路に対する第1のストリームを受信し、その構成単位であるパケットの検出タイミングからから記録ストリームに対する基準時刻を生成し、第2の伝送路に対する第2のストリームを受信し、その構成単位であるパケットに含まれる送信時刻と、該基準時刻から、送信時の時系列となるようにパケット列の間隔を補正し、第1のストリーム、補正後の第2のストリームに対する各パケット列の検出時刻順に多重することで解決される。 A method for generating a recording stream that solves the above problem is to receive a first stream for a first transmission path, generate a reference time for the recording stream from a detection timing of a packet that is a constituent unit, and perform a second transmission. The second stream for the path is received, the transmission time included in the packet that is the structural unit, and the reference time, the interval of the packet sequence is corrected so as to be a time series at the time of transmission, the first stream, The problem is solved by multiplexing the packet streams in the order of detection times for the corrected second stream.
また、上記課題を解決する記録装置の構成は、少なくとも、第1の伝送路に対する第1のストリーム受信手段と、その構成単位であるパケットの検出タイミングから記録ストリームに対する基準時刻を生成する時刻生成手段、第2の伝送路に対する第2のストリーム受信手段、その構成単位であるパケットを一時的に保持するバッファ手段、バッファ手段に保持したパケット列に対する出力タイミングを生成するタイミング生成手段、第1のストリーム、バッファ手段より出力される第2のストリームに対する各パケット列の多重手段を設けることを特徴とし、前記タイミング生成手段は、第2のストリームを構成するパケットに含まれる送信時刻と該基準時刻から、バッファ手段からのパケット列出力が列送信時の時系列間隔となるように出力タイミングを生成する記録装置を構成することで解決される。 In addition, the configuration of the recording apparatus that solves the above-described problem includes at least a first stream receiving unit for the first transmission path and a time generating unit that generates a reference time for the recording stream from the detection timing of the packet that is the unit A second stream receiving means for the second transmission line, a buffer means for temporarily holding the packet as its constituent unit, a timing generating means for generating an output timing for the packet sequence held in the buffer means, a first stream , Characterized in that there is provided a means for multiplexing each packet sequence for the second stream output from the buffer means, the timing generation means, from the transmission time included in the packets constituting the second stream and the reference time, The output timing is such that the packet sequence output from the buffer means becomes the time series interval at the time of sequence transmission. This can be solved by configuring a recording device that generates the recording.
本発明によると、同時記録に適した記録ストリームの生成が可能となり、更に再生時のストリーム切り替え時に発生するジッタが抑制可能となる。 According to the present invention, it is possible to generate a recording stream suitable for simultaneous recording, and it is possible to suppress jitter that occurs when switching streams during reproduction.
以下、図面を用いて本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.
図1は本発明の記録ストリーム生成方法及び再生方法、記録、再生装置についての第1の実施例を示すブロック図である。図において1はLAN等のネットワーク上に接続された複数の機器と、本装置の間で、TCP、UDP通信プロトコルに従いデータ送受信を制御する送受信部、2はネットワーク上の送受信単位であるTCP或いはUDPパケットを構成するヘッダ部に含まれる情報の解析を行うヘッダ解析部、3は受信したUDPパケットを構成するペイロードに含まれ伝送されるTS(Transport Stream)パケット列を格納するTSバッファ、4はヘッダ解析部2で検出した送信時刻と装置における基準時刻の差から、ネットワーク網を介した伝送の際に発生し、送信時のパケット列と受信時のパケット列の間に生じた遅延を検出し、それを基にTSバッファ3に対する出力タイミングを生成するタイミング生成部、5はディジタル放送を受信し、複数チャンネルに対するTSパケット列が多重されたフルTSを出力する放送受信部、6はフルTSに対し、TSパケットIDを指定、記録、再生目的のTSパケットのみを含むパケット列であるパーシャルTSを抽出するTS選択部、7はTSバッファ3より出力される受信パケット列と、パーシャルTSの時分割多重を制御し、更に多重する各パケット列に対するタイムスタンプを多重し、記録ストリームを生成するTS多重部、8は装置に於ける基準時刻の生成を、TS選択部6に於けるパーシャルTSの検出タイミングと、TSバッファ3に対する出力タイミングに従い、多重する各パケット列に対するタイムスタンプを生成する時刻生成部、9はデータ選択部、10は生成した記録ストリームを蓄積する書込みバッファ、11は磁気ディスク装置や光ディスク装置に相当するディスク装置である。
FIG. 1 is a block diagram showing a first embodiment of a recording stream generating method and reproducing method, recording and reproducing apparatus according to the present invention. In the figure, 1 is a transmission / reception unit that controls data transmission / reception between a plurality of devices connected on a network such as a LAN and this device according to the TCP / UDP communication protocol, and 2 is a transmission / reception unit on the network, TCP or UDP. A header analysis unit that analyzes information contained in the header part that constitutes the packet, 3 is a TS buffer that stores a TS (Transport Stream) packet sequence that is contained in the payload that constitutes the received UDP packet, and 4 is a header From the difference between the transmission time detected by the
図1の装置において行われる記録ストリームの生成方法について、図2、図3、図4を用いて説明する。まず、図2において、放送受信部5から出力されるフルTSと、TS選択部6で生成されるパーシャルTSについて説明する。図2(a)は映像、音声に対し圧縮符号化処理を施したビデオ、オーディオストリーム(V1 ES、A1 ES)に対するPESパケット化を示し、これらPESパケットを更に188バイト毎に区切りビデオ、オーディオのTSパケットを時分割多重してTSパケットを生成する。図2(b)はフルTSの一例を示し、複数のチャンネル(チャンネル1、2)に対するTSパケットを時分割多重したフルTSの生成を示す。フルTSには、更にチャンネル1,2に対するプログラム(番組)情報、PSIを含んだTSパケットも多重される。なお、多重チャンネル数は放送網で伝送可能な最大転送レートまで多重可能である。放送受信部5は放送網からの伝送信号に対し復号処理を行い、フルTSを出力する。図2(c)はTS選択部6から出力のパーシャルTSの説明図であり、一例としてチャンネル1に対するTSパケット(V1、A1)の抽出を示している。一方TS選択部6においてはプログラム情報についても、パーシャルTSに含まれ、選択したチャンネル1に対するプログラム情報のみに修正され(PSI1)パーシャルTSに多重される。
A recording stream generation method performed in the apparatus of FIG. 1 will be described with reference to FIGS. First, referring to FIG. 2, the full TS output from the
次に、図3において、ネットワーク網で伝送され、送受信部1において受信される伝送パケットの構成と、TSバッファ3におけるパケット列の格納、タイミング生成部4からの出力タイミングに従ったパケット列の出力制御について説明する。図3(a)(b)はネットワーク上の通信単位であるTCPパケット、UDPパケットの構成例を示している。図3(a)(b)において、各パケットはネットワーク網に接続される機器毎に個別のアドレス情報として与えられるIPパケットヘッダ、TCP、UDPの各通信プロトコルに沿ったデータ伝送制御に用いる情報を格納したTCPパケットヘッダ、UDPパケットヘッダ、伝送データを格納するペイロードで構成される。ビデオ、オーディオストリームの伝送に適したUDPパケットのペイロードにはTSパケットが複数格納される。例えば図2(a)、(c)で説明の方法で生成したPSIを含むTSパケットが複数個格納される。またUDPパケットの伝送中の消失を確認する手段としてシーケンス番号が設けられ、ヘッダ解析部2はUDPパケットの受信ごとにシーケンス番号を確認し、その番号の欠落を検出することでパケットの消失を検出する。一方、TSパケットを含んで伝送するUDPパケットは、ネットワーク網の通信混雑状況や、帯域の狭いネットワーク網を経由することで、送信側機器のUDPパケット列に対し、装置側の受信UDPパケット列との間でランダムな遅延が生じることがある。この場合受信UDPパケットで伝送されたTSパケット列に対するビデオ、オーディオ情報の復号を行う場合、ジッタが発生する。この様なパケット列の送受信で発生する遅延を検出する目的で、UDFパケットのヘッダ部に送信時刻を付加する。
Next, in FIG. 3, the structure of the transmission packet transmitted through the network and received by the transmission /
図3(c)は、ネットワーク網を介してUDPパケットを伝送する際のランダムな遅延の発生を説明する一例であり、この受信UDPパケット列に対し、遅延を補正しながらTSバッファ3よりペイロード(複数のTSパケット列)を出力し、時系列的に送信時のパケット間隔となるようなタイミング制御の一例を示している。図において、便宜上十分な伝送帯域が確保されたネットワーク網での伝送遅延は0としている。
FIG. 3 (c) is an example for explaining the occurrence of a random delay when a UDP packet is transmitted through a network, and the payload (from the
この受信パケット列の遅延を補正するため、TSバッファ3から格納した受信パケット列の読み出しタイミングを制御し、時系列的に送信時のパケット列に対する間隔となるように出力する。出力を制御するタイミングは、タイミング生成部4において生成され、ヘッダ解析部2で検出される送信時刻と、時刻生成部8で生成され装置全体の基準時刻を比較することで生成される。図において、例えば送信時のUDPパケットU3とU4の送信時刻はそれぞれ、t5、t7であるが、受信時の時刻はt6、t10であり、時系列的に見てそれぞれ△t(△tは単位時間)、△t×2の遅延が発生している。タイミング生成部4は各パケットに対する遅延を補正する出力タイミングを生成する。
遅延の補正方法について具体的に説明する、図中例えば送受信の時刻差が0であるU1とU8の有限な範囲において、時刻差が最大(△t×2)のU4を基準とし、U4の受信時刻に対するTSバッファ3出力遅延△t×n(nは正の整数)に対し、時刻差0のU1、U8を△t×(n+2)分遅延させることで、補正する。U2、U3、U5、U6、U7についても同様、U4を基準に△t×(n+1)分遅延させる。また時刻差0のパケット受信が長時間行われない場合については、例えば時刻差1のパケット受信までの間や、TSバッファに格納可能なパケット列の範囲内で最大時刻差を検出し、出力タイミングを生成することも考えられる。
In order to correct the delay of the received packet sequence, the read timing of the received packet sequence stored from the
The delay correction method will be described in detail. In the figure, for example, within the finite range of U1 and U8 where the transmission / reception time difference is 0, the reception of U4 is based on U4 with the maximum time difference (Δt × 2) The
一方、時刻生成部8で生成され、TSバッファ3の出力に対するタイムスタンプは、出力タイミングに対する時刻を採用するため、パケット送信時の時刻に対し、TSバッファによる遅延補正に要する時間分遅延する。図においては時刻t1に送受信されたパケットに対して△t×(n+2)遅延後のt1‘が相当する。しかしながら受信時のパケット列は送信時のパケット列と時系列的に同間隔となる。
On the other hand, the time stamp generated by the time generation unit 8 and the time stamp for the output of the
更に、図4において、TS多重部7で行われ、TSバッファ3出力のTSパケットと、パーシャルTSの多重、時刻生成部8より生成されるタイムスタンプの多重について説明する。時刻生成部8はTSバッファ3の出力タイミングと、パーシャルTSを構成するTSパケット検出タイミングに対応した時刻情報を多重する。図4の一例ではTSバッファ3の出力タイミングとパーシャルTSが図示する時系列で出力されるが、TS多重部7において多重される各TSパケットとタイムスタンプが対応するように多重され、ディスク装置11に対する記録ストリームが生成される。異なる伝送路より受信したパケット列に対し、共通の時系列に対するタイムスタンプを与えることになる。以上説明した方法で生成した記録ストリームの再生の際、途中で再生ストリームの切り替えに伴う基準時刻の同期化処理が容易に行われ、切り替え時のビデオ、オーディオの乱れを抑制される。生成した記録ストリームは、書込みバッファ10に転送され、書込み単位(セクタ)ごとにディスク装置11へ転送、記録を行う。
Further, in FIG. 4, the TS packet output from the
なお図4においてTSバッファ3出力と、パーシャルTSに対するタイムスタンプが同時刻の場合、共通のタイムスタンプを1つ与えるが、同時刻であっても各伝送路からのTSパケットそれぞれにタイムスタンプを与えることも考えられる。
In FIG. 4, when the
またデータ選択部9は、送受信部1、ヘッダ解析部2において、TCPパケット検出の場合はペイロードに対するデータに対し、直接書込みバッファ10への転送を選択し、UDPパケット検出の際にはTS多重部7からの記録ストリーム選択を行う。TS多重部7についても、多重化するソースが選択可能である。多重化選択信号を制御することでTSバッファ3出力、或いはパーシャルTSのみの選択や、多重ストリームの生成を制御する。タイムスタンプについてもその選択状況に応じてTS多重部7の選択に応じて付加される。
Further, the data selection unit 9 selects transmission /
TS選択部6はフルTSから記録、再生目的のチャンネルに対するパーシャルTSへの変換が行われるが、選択可能なチャンネル数は複数或いは、フルTSのままTS多重部7へ出力されることも考えられる。この場合も選択したTSパケットの検出タイミングに従ったタイムスタンプの生成、多重が行われる。 The TS selection unit 6 performs conversion from a full TS to a partial TS for recording / playback channels. However, it is possible that the number of selectable channels is plural or the full TS is output to the TS multiplexing unit 7 as it is. . Also in this case, time stamps are generated and multiplexed according to the detection timing of the selected TS packet.
TS多重部7においては、ディスク装置11への転送レート以下となるように多重するストリームが制限される。例えば、フルTSの記録で転送レート上限付近まで占有する場合、送受信部1においてネットワーク網からの受信制限を行う場合や、TS多重部7における多重を行わないことが考えられる。
In the TS multiplexing unit 7, the streams to be multiplexed are limited so as to be equal to or lower than the transfer rate to the
図1の装置はネットワーク網に接続された複数の機器それぞれからのストリームが時分割多重されて伝送される記録ストリームの記録にも対応可能である。図1のヘッダ解析部2は複数のストリームA、Bそれぞれに対する伝送パケットヘッダの解析から各ストリームに対するパケット送信時刻を検出し、TSバッファ3はストリームA、Bに対するパケットを蓄積する。タイミング生成部は各ストリームに対するバッファ出力タイミングを生成し、それにより各ストリーム受信時に発生したランダムな遅延を吸収し、元の時系列間隔に補正する。それ以降の処理は実施例1と同様であり説明を省略する。
The apparatus of FIG. 1 can also support recording of a recording stream in which streams from a plurality of devices connected to a network are transmitted in a time division multiplexed manner. The
図5は本発明の記録ストリーム生成方法及び再生方法、記録、再生装置についての実施例を示すブロック図である。図1と重複する参照番号に対する構成要素の説明は省略する。11はディスク記録装置であり、実施例1で説明した記録ストリーム生成方法に基づいたストリームが記録されており、例えば図4で説明した放送網、ネットワーク網を経由して伝送された複数チャンネルのTSパケットとタイムスタンプが記録されている。12は、ディスク装置11から再生された記録ストリームを一時的に蓄積するリードバッファ、13は記録ストリームに含まれる複数チャンネルのストリームの識別、分離と、多重されている各TSパケットに対するタイムスタンプの検出を行うストリーム識別部、14、15はストリーム識別部13で分離された各チャンネルに対するTSパケットを一時的に蓄積するストリームバッファA、Bで、ここでは一例として2チャンネル分を設けている。16は2チャンネルのストリームA、Bに対する出力先を選択する出力選択部、17は出力選択部16からの出力TSパケットに対し、ビデオ、オーディオの復号を行い、ディスプレイやスピーカー等に対し出力するストリーム復号部、18は出力選択部16からのTSパケットと、送信時刻等を付加することでUDPパケット化を行うパケット生成部である。UDPパケットについては図3(b)を参照。
FIG. 5 is a block diagram showing an embodiment of the recording stream generating method and reproducing method, recording and reproducing apparatus of the present invention. The description of the constituent elements corresponding to the reference numerals overlapping with those in FIG. 1 is omitted.
図5の装置において行われる再生方法について、図6を用いて説明する。図5、図6においてリードバッファ12には、ディスク装置11から図6(a)の形式で再生ストリームに対するデータが蓄積される。再生ストリームについては実施例1の図2から図4の記録ストリーム生成方法に基づいており説明を省略する。リードバッファ12からの再生ストリーム出力に対し、ストリーム識別部13において、再生ストリームに含まれるTSパケットを識別しながらストリームA、Bを分離し、それぞれストリームバッファA、Bに蓄積する。図6(b)はストリームバッファA、Bそれぞれに蓄積されたTSパケットを示しており、記録ストリーム生成時に多重した各ストリームU1〜U8、T1〜T9が分離される。一方で再生ストリームに多重され、各チャンネルのパケット再生時刻であるタイムスタンプ(t1'〜 t5'、 t7'、 t10'〜 t14'、 t17'〜 t18')も検出する。タイミング生成部4は検出したタイムスタンプに従い、図5の装置内の基準時刻を生成すると共に、ストリームバッファA、Bに対する出力タイミングA、Bを生成する。図6(c)は出力タイミングA、BによるストリームバッファA、Bの出力を時系列的に示したものであり、検出したタイムスタンプに対する時刻で分離したストリームA、Bに対するTSパケットが出力される。
A reproduction method performed in the apparatus of FIG. 5 will be described with reference to FIG. 5 and 6, the
一方ストリーム識別部は、多重ストリームから単独のストリームへの変換を行いキャッシュストリームとして書込みバッファ10に転送する。例えばストリームAに対するTSパケットとタイムスタンプをキャッシュストリームとして出力する。ディスク装置はリードバッファ12への記録ストリーム転送の合間に、書込みバッファ10に蓄積のキャッシュストリームに対する記録を行う。記録ストリームの再生を利用して、多重ストリームから単独のストリームへの変換を行うことになる。書込みバッファ10を複数設ける場合も考えられ、複数の単独ストリームへの変換、ディスク装置への記録を行うことも考えられる。キャッシュストリームの記録については、図5の装置構成に限定されず、別に設けたディスク装置、書込みバッファに供給することも考えられる。
On the other hand, the stream identification unit converts the multiplexed stream into a single stream and transfers the stream to the
検出したタイムスタンプに従った時系列感覚で出力される各ストリームは出力選択部16を介して転送先へ出力される。例えばストリームBはストリーム復号部17へ出力され、そこにおいてTSパケットを構成するペイロードの検出、PESヘッダ解析、ビデオ、オーディオESへ復元、伸張処理が行われ、ディスプレイやスピーカーに出力される。一方でストリームAはパケット生成部18へ出力され、パケット生成部においてストリームAを構成するTSパケットを複数単位でまとめUDPパケットのペイロードとして構成すると共に、UDPパケットヘッダを生成する。UDPパケットヘッダに含まれる送信時刻は、出力タイミングAに対する時刻情報を基に生成される。最後に送受信部1においてネットワーク網を介し、受信先の機器にストリームAが伝送される。
Each stream output in a time-series manner according to the detected time stamp is output to the transfer destination via the
なお図5におけるリードバッファ12は図1の書込みバッファとの兼用化も考えられ、ストリームバッファについても一つのバッファとすることも考えられる。ストリームバッファに対し出力タイミングA、Bが同時発生する場合を考慮し、バッファアクセスを時分割して複数のチャンネルに割り当て、タイムスタンプの基本時間△t内に複数チャンネルのTSパケット出力が終了するアクセススピードのバッファを用いることも考えられる。
Note that the read
また、再生ストリームをネットワーク網へ伝送する場合は、リードバッファ12から直接パケット生成部18に転送する場合や、ストリーム識別部により検出された単独ストリームとsれに対するタイムスタンプを転送する場合も考えられる。この場合タイムスタンプに応じた時系列間隔で伝送されるストリームではなくデータ扱いとなり、TCPパケットを生成、送信することが考えられる。
In addition, when the playback stream is transmitted to the network, it is conceivable that the playback stream is directly transferred from the read
1 …送受信部、2 …ヘッダ解析部、3 …TSバッファ、4 …タイミング生成部、5 …放送受信部、6 …TS選択部、7 …TS多重部、8 …時刻生成部、9 …データ選択部、10 …書込みバッファ、11 …ディスク装置、12 …リードバッファ、13 …ストリーム識別部、14 …ストリームバッファA、15 …ストリームバッファB、16 …出力選択部、17 …ストリーム復号部、18 …パケット生成部。
DESCRIPTION OF
Claims (10)
第1の伝送路に対する第1のストリームを受信し、その構成単位であるパケットの検出タイミングからから記録ストリームに対する基準時刻を生成し、
第2の伝送路に対する第2のストリームを受信し、その構成単位であるパケットに含まれる送信時刻と、該基準時刻から、送信時の時系列となるようにパケット列の間隔を補正し、
第1のストリーム、補正後の第2のストリームに対する各パケット列の検出時刻順に多重することを特徴とした記録ストリーム生成方法 A recording stream suitable for recording on a recording medium is generated from a stream that is received via a first transmission path in which random time-series delay does not occur in packet transmission units and a second transmission path in which delay occurs. A method,
The first stream for the first transmission path is received, and the reference time for the recording stream is generated from the detection timing of the packet that is the structural unit,
The second stream for the second transmission path is received, the transmission time included in the packet that is the structural unit, and from the reference time, the interval of the packet sequence is corrected so as to be a time series at the time of transmission,
Recording stream generation method, wherein multiplexing is performed in order of detection time of each packet sequence for the first stream and the corrected second stream
第1のストリームと補正後の第2のストリームを多重する際に、
第1のストリームに対しては、そのパケット検出に対する該基準時刻、
第2のストリームに対しては補正後のパケット列に対する該基準時刻を多重することを特徴とする記録ストリーム生成方法。 The recording stream generation method according to claim 1,
When multiplexing the first stream and the corrected second stream,
For the first stream, the reference time for the packet detection,
A recording stream generating method, wherein the reference time for the corrected packet sequence is multiplexed for the second stream.
第1のストリームはMチャンネル(Mは正数)に対するパケットが時分割多重され、
第1のストリームに対し、記録目的のN(Nは正数でM≧N)チャンネルに対するパケット列を検出することを特徴とする記録ストリーム生成方法。 The recording stream generation method according to claim 1,
In the first stream, packets for M channels (M is a positive number) are time-division multiplexed,
A recording stream generating method, comprising: detecting a packet sequence for a recording target N channel (N is a positive number and M ≧ N) for a first stream.
第2のストリームは、第2の伝送路に接続されたm個(mは正数でm≧1)の機器から伝送されたmチャンネルのパケット列が時分割多重され、
mチャンネルのパケット列に含まれる送信時刻と該基準時刻から、送信時の時系列となるようにmチャンネルの各パケット列に対し補正することを特徴とする記録ストリーム生成方法。 The recording stream generation method according to claim 1,
In the second stream, m-channel packet sequences transmitted from m devices (m is a positive number and m ≧ 1) connected to the second transmission path are time-division multiplexed.
A recording stream generation method, comprising: correcting each packet sequence of m channels from a transmission time included in an m channel packet sequence and the reference time so as to be a time series at the time of transmission.
少なくとも、
第1の伝送路に対する第1のストリーム受信手段と、
その構成単位であるパケットの検出タイミングから記録ストリームに対する基準時刻を生成する時刻生成手段、
第2の伝送路に対する第2のストリーム受信手段、
その構成単位であるパケットを一時的に保持するバッファ手段、
バッファ手段に保持したパケット列に対する出力タイミングを生成するタイミング生成手段、
第1のストリーム、バッファ手段より出力される第2のストリームに対する各パケット列の多重手段を設けることを特徴とし、
前記タイミング生成手段は、第2のストリームを構成するパケットに含まれる送信時刻と該基準時刻から、バッファ手段からのパケット列出力が列送信時の時系列間隔となるように出力タイミングを生成することを特徴とする記録装置。 A recording stream suitable for recording on a recording medium is generated from a stream that is received via a first transmission path in which random time-series delay does not occur in packet transmission units and a second transmission path in which delay occurs. A recording device,
at least,
First stream receiving means for the first transmission path;
Time generation means for generating a reference time for the recording stream from the detection timing of the packet which is the structural unit;
Second stream receiving means for the second transmission path;
A buffer means for temporarily holding a packet which is the structural unit;
Timing generation means for generating output timing for the packet sequence held in the buffer means;
The first stream, characterized by providing a means for multiplexing each packet sequence for the second stream output from the buffer means,
The timing generation means generates an output timing from the transmission time included in the packets constituting the second stream and the reference time so that the packet string output from the buffer means becomes a time series interval at the time of string transmission. A recording apparatus.
該多重手段は、第1のストリームとバッファ手段より出力されるストリームを多重する際に、
第1のストリームに対しては、そのパケット検出に対する該基準時刻、
第2のストリームに対してはバッファ手段の出力タイミングに対する該基準時刻を多重することを特徴とする記録装置。 In the recording apparatus according to claim 5,
The multiplexing means, when multiplexing the first stream and the stream output from the buffer means,
For the first stream, the reference time for the packet detection,
A recording apparatus for multiplexing the reference time with respect to the output timing of the buffer means for the second stream.
第1のストリームはMチャンネル(Mは正数)に対するパケットが時分割多重され、
第1のストリームに対し、記録目的のN(Nは正数でM≧N)チャンネルに対するパケット列の検出を行う手段を備えることを特徴とする記録装置。 In the recording apparatus according to claim 5,
In the first stream, packets for M channels (M is a positive number) are time-division multiplexed,
A recording apparatus comprising: means for detecting a packet sequence for a recording target N channel (N is a positive number and M ≧ N) for a first stream.
第2のストリームは第2の伝送路に接続されたm個(mは正数でm≧1)の機器から伝送されたmチャンネルのパケット列が時分割多重され、
該タイミング生成手段はmチャンネルのパケット列に含まれる送信時刻と該基準時刻から、mチャンネルの各パケット列に対する出力タイミングを生成することを特徴とする記録装置。 In the recording apparatus according to claim 5,
In the second stream, m-channel packet sequences transmitted from m devices (m is a positive number and m ≧ 1) connected to the second transmission path are time-division multiplexed.
The recording apparatus according to claim 1, wherein the timing generation unit generates an output timing for each packet sequence of the m channel from a transmission time included in the packet sequence of the m channel and the reference time.
再生した多重ストリームから各ストリームを分離すると同時に、
各ストリームを構成するパケット列の再生時刻情報を検出し、
目的のストリームに対するパケット列を、そのパケット列に対する再生時刻に同期させて伝送し、同時に再生時刻情報を含めて伝送することを特徴とするストリーム再生方法。 A reproduction method for a multiplexed stream multiplexed on a packet basis and recorded on a recording medium,
While separating each stream from the reproduced multiple streams,
Detect the playback time information of the packet sequence that makes up each stream,
A stream reproduction method, wherein a packet sequence for a target stream is transmitted in synchronization with a reproduction time for the packet sequence, and simultaneously transmitted including reproduction time information.
少なくとも、
記録媒体より多重ストリームの再生を行う再生手段と、
再生した多重ストリームから核ストリームを分離すると同時に、
各ストリームを構成するパケット列に対する再生時刻情報を検出する分離手段と、
分離した各パケット列を一時的に蓄積するバッファ手段と、
バッファ手段からの各パケット列の出力を制御し、検出した再生時刻に同期したタイミングを生成するタイミング生成手段と、
伝送路におけるパケット列の伝送単位を生成し、パケット列の送受信を制御する手段を備えることを特徴とし、
バッファ手段はタイミングに従いパケット列を出力し、
送受信手段は伝送路に対してパケット列を出力すると共に、再生時刻情報を伝送単位に含めることを特徴とする再生装置。
An apparatus for reproducing a multiplexed stream multiplexed on a packet basis and recorded on a recording medium,
at least,
Playback means for playing back multiple streams from a recording medium;
At the same time as separating the nuclear stream from the regenerated multiple streams,
Separating means for detecting reproduction time information for a packet sequence constituting each stream;
Buffer means for temporarily storing each separated packet sequence;
Timing generation means for controlling the output of each packet sequence from the buffer means and generating timing synchronized with the detected reproduction time;
A unit for generating a transmission unit of a packet sequence in a transmission path and comprising means for controlling transmission / reception of the packet sequence,
The buffer means outputs a packet sequence according to the timing,
The transmission / reception means outputs a packet sequence to the transmission path and includes reproduction time information in a transmission unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006272409A JP2008092391A (en) | 2006-10-04 | 2006-10-04 | Recording stream generating method and reproducing method thereof, recording device, and reproducing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006272409A JP2008092391A (en) | 2006-10-04 | 2006-10-04 | Recording stream generating method and reproducing method thereof, recording device, and reproducing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008092391A true JP2008092391A (en) | 2008-04-17 |
Family
ID=39376025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006272409A Pending JP2008092391A (en) | 2006-10-04 | 2006-10-04 | Recording stream generating method and reproducing method thereof, recording device, and reproducing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008092391A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014007476A (en) * | 2012-06-21 | 2014-01-16 | Sony Corp | Electronic equipment, stream transmission/reception method in electronic equipment, program, host device and stream transmission/reception method in host device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09252290A (en) * | 1996-01-11 | 1997-09-22 | Sony Corp | Coder, coding method, transmitter, transmission method and recording medium |
JP2000031964A (en) * | 1998-07-10 | 2000-01-28 | Digital Vision Laboratories:Kk | Stream distribution system |
JP2000322827A (en) * | 1999-05-07 | 2000-11-24 | Hitachi Ltd | Disc-shaped recording medium and recording apparatus, reproducing apparatus, multiple stream processing apparatus therefor |
JP2001045439A (en) * | 1999-05-27 | 2001-02-16 | Sony Corp | Recorder and method, reproducing device and method and recording medium |
JP2002064788A (en) * | 2000-08-21 | 2002-02-28 | Sony Corp | Data stream processor and method, and program storage medium |
JP2005057733A (en) * | 2003-07-18 | 2005-03-03 | Canon Inc | Digital data transmission apparatus, digital data reception apparatus, digital broadcast receiving apparatus, digital data transmission method, digital data reception method, digital broadcast receiving method, computer program and computer- readable recording medium |
JP2005151434A (en) * | 2003-11-19 | 2005-06-09 | Sony Corp | Reception device, reception method, recording medium, and program |
-
2006
- 2006-10-04 JP JP2006272409A patent/JP2008092391A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09252290A (en) * | 1996-01-11 | 1997-09-22 | Sony Corp | Coder, coding method, transmitter, transmission method and recording medium |
JP2000031964A (en) * | 1998-07-10 | 2000-01-28 | Digital Vision Laboratories:Kk | Stream distribution system |
JP2000322827A (en) * | 1999-05-07 | 2000-11-24 | Hitachi Ltd | Disc-shaped recording medium and recording apparatus, reproducing apparatus, multiple stream processing apparatus therefor |
JP2001045439A (en) * | 1999-05-27 | 2001-02-16 | Sony Corp | Recorder and method, reproducing device and method and recording medium |
JP2002064788A (en) * | 2000-08-21 | 2002-02-28 | Sony Corp | Data stream processor and method, and program storage medium |
JP2005057733A (en) * | 2003-07-18 | 2005-03-03 | Canon Inc | Digital data transmission apparatus, digital data reception apparatus, digital broadcast receiving apparatus, digital data transmission method, digital data reception method, digital broadcast receiving method, computer program and computer- readable recording medium |
JP2005151434A (en) * | 2003-11-19 | 2005-06-09 | Sony Corp | Reception device, reception method, recording medium, and program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014007476A (en) * | 2012-06-21 | 2014-01-16 | Sony Corp | Electronic equipment, stream transmission/reception method in electronic equipment, program, host device and stream transmission/reception method in host device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6801544B1 (en) | Method of converting a packetized stream of information signals into a stream of information signals with time stamps and vice versa | |
EP2628305B1 (en) | Distributed playback architecture for media data using beacon packets for synchronisation | |
JP3943516B2 (en) | Image playback device | |
JP3666625B2 (en) | Data recording method and data recording apparatus | |
JP4468001B2 (en) | Video data and auxiliary data readout synchronization device, processing and related products | |
WO2008028367A1 (en) | A method for realizing multi-audio tracks for mobile mutilmedia broadcasting system | |
JP4650112B2 (en) | RECORDING / OUTPUT DEVICE, RECORDING / OUTPUT METHOD, AND RECORDING DEVICE | |
JPH09330563A (en) | Method for multiplexing data and recording medium | |
KR100989677B1 (en) | Transmission Apparatus and method for packet data of variable length, and Receiving apparatus | |
JP4715306B2 (en) | STREAM CONTROL DEVICE, STREAM REPRODUCTION METHOD, VIDEO RECORDING / REPRODUCTION SYSTEM | |
CN101690083A (en) | System and method for transport of a constant bit rate stream | |
JP6957186B2 (en) | Information processing equipment, information processing methods, programs, and recording medium manufacturing methods | |
JP2008061010A (en) | Video and audio transmitter | |
JP5063944B2 (en) | Digital broadcast receiver with recording function | |
JP2005151462A (en) | System and method for transmitting stream data, system and method for receiving the data, stream data communications system, and method for exchanging the data | |
JP2008092391A (en) | Recording stream generating method and reproducing method thereof, recording device, and reproducing device | |
JP2006246245A (en) | Signal processing apparatus and stream processing method | |
US20050135368A1 (en) | Stream data receiving apparatus | |
JP4439564B2 (en) | IP broadcasting system and multiplexing apparatus and receiving apparatus and method used in the IP broadcasting system | |
JPH1173729A (en) | Recording and reproducing device | |
JP5159973B1 (en) | Transmission packet distribution method | |
KR100376578B1 (en) | Method for recoding digital data stream and providing presentation control information therefor | |
JP6684433B2 (en) | Transmission device, transmission method, and program | |
JP2011061828A (en) | Mpeg type transport stream transmitting/receiving system | |
JP4458350B2 (en) | Transport packet output device and operation method of transport packet output device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090126 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100827 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110118 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120104 |