WO2011024437A1 - 記録装置及び再生装置 - Google Patents

記録装置及び再生装置 Download PDF

Info

Publication number
WO2011024437A1
WO2011024437A1 PCT/JP2010/005194 JP2010005194W WO2011024437A1 WO 2011024437 A1 WO2011024437 A1 WO 2011024437A1 JP 2010005194 W JP2010005194 W JP 2010005194W WO 2011024437 A1 WO2011024437 A1 WO 2011024437A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
packets
recording
unit
null
Prior art date
Application number
PCT/JP2010/005194
Other languages
English (en)
French (fr)
Inventor
太峰 中澤
Original Assignee
パナソニック株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by パナソニック株式会社 filed Critical パナソニック株式会社
Priority to JP2011528641A priority Critical patent/JPWO2011024437A1/ja
Priority to EP10811496A priority patent/EP2472877A4/en
Priority to US13/391,672 priority patent/US20120147900A1/en
Publication of WO2011024437A1 publication Critical patent/WO2011024437A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4344Remultiplexing of multiplex streams, e.g. by modifying time stamps or remapping the packet identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/8042Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/82Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only
    • H04N9/8205Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only involving the multiplexing of an additional signal and the colour video signal

Definitions

  • the present invention relates to a method for recording TS (transport stream) packets on a recording medium, and a recording / reproducing apparatus for outputting recorded TS packets to the outside.
  • JP 2000-165361 A Japanese Patent No. 3408469
  • the problem to be solved is that, in the above technique, when recording on a recording medium, the TS packet is deleted to the minimum necessary. For example, when the recorded TS packet is output to an external device, information is added. Therefore, when it is necessary to add a new TS packet, the same TS packet interval as that at the time of reception cannot be maintained.
  • the transmission speed of the external output means is not in time, or the reception speed of the external receiving device is not in time. Or, even if the external receiving device can receive the data, since the video, audio, and data broadcasting are requested to be read at an excessive speed during reproduction, there is a risk that the buffer of the external receiving device overflows.
  • the TS receiving device guarantees the reception performance and buffer model in conformity with the broadcast TS, it is desirable to output the TS to the external device while keeping the TS interval at the time of TS reception.
  • output to an external device is not taken into account, and there is a technique that allows part or all of a TS packet to be replaced with another TS packet, as in Patent Document 2.
  • a DTCP descriptor is added to the PMT packet.
  • the amount of information recorded in the PMT is larger than the size of the TS packet (188 BYTE), and there are cases where it must be divided into two TS packets. For each recorded PTM packet, another TS packet is inserted. There is a need to.
  • the present invention records Null packets that are unnecessary at the time of recording without deleting them at the minimum necessary for each form to be supported, and keeps the same TS packet interval as at the time of reception. Is realized.
  • FIG. 1 is a block diagram showing a configuration of a recording / reproducing apparatus 1 according to Embodiment 1 of the present invention.
  • FIG. 2 is a block diagram showing the configuration of the recording / reproducing apparatus 2 according to Embodiment 2 of the present invention.
  • FIG. 1 is a block diagram of a recording / reproducing apparatus 1 according to the present invention, which includes a function for determining whether or not to delete a null packet and a counting means used for the PMT in the problem to be solved. It corresponds to the packet addition like the example of.
  • the recording / reproducing apparatus 1 includes a processor 100, a time stamp adding unit 101, a packet selecting unit 102, a packet recording unit 103, a packet replacement unit 104, a memory 105, a packet output unit 106, and a packet deletion. Judgment means 107 and counting means 108 are provided.
  • Time stamp adding means 101 adds a time stamp to the input TS (transport stream).
  • the packet selecting unit 102 is connected to the time stamp adding unit 101 and selects a packet having a predetermined PID.
  • the packet recording unit 103 is connected to the packet selection unit 102 and records the packet selected by the packet selection unit 102.
  • the packet replacement unit 104 is connected to the packet selection unit 102 and replaces the packet selected from the packet selection unit 102.
  • the memory 105 is used when the packet replacement unit 104 replaces a packet.
  • the packet output means 106 is connected to the packet selection means 102 and the packet replacement means 104, and superimposes and outputs the packet replaced by the packet replacement means 104 in addition to the packet selected by the packet selection means 102.
  • the packet deletion determination unit 107 is connected to the packet selection unit 102 and determines whether to delete a packet that has not been selected by the packet selection unit 102.
  • the counting means 108 is connected to the packet selecting means 102 and counts the number of selected predetermined packets by the packet selecting means 102.
  • the processor 100 controls each component of the recording / reproducing apparatus 1.
  • the received TS packet is added with a time stamp at the time of reception by the time stamp adding means 101 and sent to the packet selecting means 102.
  • the packet selection unit 102 selects a TS packet to be recorded by looking at the PID of the TS packet, and sends the selected TS packet to the packet recording unit 103.
  • the processor 100 sets the PID of the TS packet to be recorded.
  • the packet selection unit 102 has a function of transmitting SI information such as PAT and PMT to the processor 100, so that the processor 100 can know the PID of the packet to be recorded.
  • the packet recording means 103 is a non-volatile memory such as a hard disk, and records a TS with a time stamp.
  • Packets not selected by the packet selection unit 102 are sent to the packet deletion determination unit 107 as Null packets.
  • the packet deletion determination unit 107 can set a method for determining whether or not to delete a packet sent from the processor 100.
  • the counting unit 108 is incremented by 1.
  • the packet recording is performed without deleting one Null packet.
  • the count means 108 is decremented by one.
  • a Null packet for adding one PMT can be recorded each time one PMT packet is sent. Null packets not satisfying this condition are deleted without being recorded, as in the prior art.
  • the recording / reproducing apparatus 1 has a time stamp comparison means for making a correct setting and a means for setting a time stamp interval.
  • the above description is based on the condition that the null packet is not deleted when the PMT is detected.
  • the Null packet may be the received packet as it is, but the packet deletion determining unit 107 may have a function of rewriting the PID in order to unify the PID (0x1FFF) of the original Null packet.
  • the processor 100 sets the PID of the Null packet to be recorded in the packet deletion determination unit 107, and the packet deletion determination unit 107 rewrites the PID of the packet to change the packet recording unit 103.
  • the PID of a plurality of Null packets records management information by mounting the packet recording unit 103 or another recording unit.
  • the packet recorded in the packet recording unit 103 is read by the packet selection unit 102, and the packet having the PID to be output is sent to the packet output unit 106.
  • the PID to be output is set by the processor 100.
  • the operation of the packet output means 106 differs depending on the interface that outputs the packet.
  • it When real-time transfer is required as in IEEE 1394, it has a function of controlling the output time by a time stamp, and when it is output as an IP packet as in DLNA, it has a function of outputting to the memory 105.
  • the processor 100 looks at the SI information notified by the packet selection unit 102, and, for example, if it is necessary to add a descriptor to the PMT, the processor 100 determines to replace the PMT, and the packet selection unit 102 and the packet replacement unit 104 Is notified of the PID of the PMT.
  • the packet selection unit 102 sends the notified PID packet to the packet replacement unit 104.
  • the packet replacement unit 104 reads the replacement data prepared by the processor 100 in the memory 105 and replaces the data of the packet having the PID of the PMT sent by the packet selection unit 102.
  • the packet selection unit 102 has a function of sending a packet (Null packet) that is not a PID to be output to the packet replacement unit 104.
  • the processor 100 prepares a plurality of PMTs in the memory 105, and sets the packet replacement unit 104 to a packet having the PID of the PMT and the PID of the Null packet. Setting is made so that the prepared PMTs are sequentially replaced.
  • the processor 100 reads information in which a plurality of PIDs are recorded in a Null packet as described above, and the PID of the PMT and Null packet 1 is read by the packet replacement unit, for example. Is replaced with another plurality of PMTs, and the PAT and the PID of Null packet 2 are replaced with another plurality of PATs.
  • FIG. 2 shows an example of a packet in which a bit rate and a display time such as audio, video and subtitles to be solved are determined by adding display time rewriting means to the recording / reproducing apparatus 1 according to the first embodiment. It is a block diagram of the recording / reproducing apparatus 2 corresponding to addition.
  • the recording / reproducing apparatus 2 includes a processor 200, a time stamp adding unit 201, a packet selecting unit 202, a packet recording unit 203, a packet replacing unit 204, a memory 205, and a packet output unit. 206, a packet deletion determining unit 207, a counting unit 208, and a display time rewriting unit 210.
  • Time stamp adding means 201 adds a time stamp to the input TS (transport stream).
  • the packet selecting unit 202 is connected to the time stamp adding unit 201 and selects a packet having a predetermined PID.
  • the packet recording unit 203 is connected to the packet selection unit 202 and records the packet selected by the packet selection unit 202.
  • the packet replacement unit 204 is connected to the packet selection unit 202 and replaces the packet selected from the packet selection unit 202.
  • the memory 205 is used when the packet replacement unit 204 replaces a packet.
  • the packet output unit 206 is connected to the packet selection unit 202 and the packet replacement unit 204, and superimposes and outputs the packet replaced by the packet replacement unit 204 in addition to the packet selected by the packet selection unit 202.
  • the packet deletion determination unit 207 is connected to the packet selection unit 202 and determines whether to delete a packet that has not been selected by the packet selection unit 202.
  • the counting unit 208 is connected to the packet selection unit 202 and counts the number of selected predetermined packets by the packet selection unit 202.
  • the display time rewriting means 210 changes the time for displaying the selected packet.
  • the processor 200 controls each component of the recording / reproducing apparatus 2.
  • the received TS packet is added with a time stamp at the time of reception by the time stamp adding means 201 and sent to the packet selecting means 202.
  • the packet selection unit 202 selects the TS packet to be recorded by looking at the PID of the TS packet, and sends the selected TS packet to the packet recording unit 203.
  • the processor 200 sets the PID of the TS packet to be recorded.
  • the packet selection unit 202 has a function of transmitting SI information such as PAT and PMT to the processor 200, so that the processor 200 can know the PID of the packet to be recorded.
  • Packet recording means 203 is a non-volatile memory such as a hard disk, and records TS with a time stamp.
  • a packet not selected by the packet selection unit 202 is sent to the packet deletion determination unit 207 as a Null packet.
  • the packet deletion determination unit 207 can set a method for determining whether or not to delete a packet sent from the processor 200.
  • the processor 200 performs the following settings for the packet deletion determination unit 207.
  • 256 Kbps of audio data can be stored as 179 TS packets per second in the minimum case.
  • Null packets of 400 packets are recorded per second in view of excess.
  • the counting means 208 starts from 400 and the packet deletion judging means 207 judges to record a Null packet, it is decremented by 1 and returns to 400 every second.
  • a time stamp comparison means (not shown) and a means for setting the time stamp interval are added, and a value obtained by adding the time stamp and the time stamp interval is received. It may be determined to record when the time stamp of the Null packet matches.
  • the remaining counter value +400 may be controlled instead of resetting to 400.
  • audio packets 256 Kbps, and 400 packets were used for implementation, the same applies to video, captions, and other packets at different bit rates and packet numbers.
  • the counting means 208 can be reset at an arbitrary time interval instead of 1 second, and can be reset at an arbitrary timing by the processor 200.
  • the packet recorded in the packet recording unit 203 is read out to the packet selection unit 202, and the packet having the PID to be output is sent to the packet output unit 206.
  • the PID to be output is set by the processor 200.
  • the processor 200 looks at the SI information notified by the packet selection unit 202, writes the PID of the voice to be added to the PMT, sets the PMT replacement in the packet replacement unit 204 as in the first embodiment, and
  • the packet replacement unit 204 is configured to read and replace the voice packet added from the packet recording unit 203 with respect to the Null packet sent from the packet selection unit 202.
  • the packet replacement unit 204 replaces the Null packet sent by the packet selection unit 202 with a voice packet to be added with the PTS value rewritten, and sends the packet to the packet output unit 206.
  • This configuration and processing method allows unnecessary voice packets to be deleted while adding another voice packet while maintaining the packet interval at the time of reception, enabling output to an external device.
  • the recording / reproducing apparatus deletes a packet selection unit that selects a predetermined packet from input transport packets and a packet that is not selected by the packet selection unit.
  • the recording apparatus records in the packet recording means without deleting the unselected packets.
  • the recording apparatus further includes a packet replacement unit that replaces a packet that has not been selected by the packet selection unit with another type of packet, and the packet replacement unit outputs the replaced packet to the packet recording unit. Also good.
  • the counting means may count N packets every M seconds.
  • the recording apparatus may further include a counting unit, and may include a packet deletion determining unit that records N Null packets every time a certain PID is detected and deletes the remaining Null packets.
  • the recording apparatus may further include a packet deletion determination unit that records N Null packets every M seconds and deletes the remaining Null packets.
  • the recording apparatus further includes a packet deletion determination unit that compares the time stamps as a condition for recording the Null packet, records the Null packet only when there is a certain interval, and deletes the other Null packets. May be.
  • it may be a recording device provided with means for converting and recording a packet having one or more types of IDs included in one program into a packet having one ID.
  • a means for converting a packet having one or more types of IDs contained in one program into a packet having two or more types of IDs and recording, and information for associating the recorded programs with IDs are recorded in a nonvolatile memory.
  • a recording device provided with a means for performing the above.
  • a playback device that outputs a packet having a specific PID and a null packet replaced with a separately recorded packet may be used.
  • the playback device further calculates a time difference from the information of the packet to be replaced and corrects the time information of the packet to be output when it has time information inside the packet to be output after replacement. May be provided.
  • a playback device provided with means for outputting two or more types of packets having different IDs by replacing them with a packet having a certain PID may be used.
  • a playback device including means may be used.
  • the present invention provides a recording / playback device for connecting to an external device in a recording / playback device that supports copyright protection or a service that adds another audio, video, subtitle, etc. later while ensuring the maximum number of packets recorded on the recording medium. And as a technique for ensuring reproduction on an external device.
  • recording / reproducing apparatus 100 200 processor 101, 201 time stamp adding means 102, 202 packet selecting means 103, 203 packet recording means 104, 204 packet replacing means 105, 205 memory 106, 206 packet output means 107, 207 deleting packets Determination means 108, 208 Count means 210 Display time rewriting means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

 入力されたトランスポートパケットから所定のパケットを選択するパケット選択手段(102)と、パケット選択手段(102)により選択されなかったパケットを削除するか否かを判別するパケット削除判断手段(107)と、パケット選択手段(102)により選択された所定のパケット数をカウントするカウント手段(108)とを備え、対応すべき形態毎に、記録時に不必要であったNullパケットを必要最小限で削除せずに記録しておき、受信時と同じTSパケットの間隔を保つことを実現する。

Description

記録装置及び再生装置
 本発明は、記録媒体へのTS(トランスポートストリーム)パケット記録方法、及び記録したTSパケットを外部へ出力する記録再生装置に関するものである。
 記録媒体へのTSパケット記録の際、映像再生時に必要のないTSパケット(以下、これらを総称してNullパケットと記述する)を削除して録画することで、1つの記録媒体で記録できる番組の総量を増やす技術が一般的に用いられている(例えば、特許文献1及び2参照)。
特開2000-165361号公報 特許第3408469号公報
 解決しようとする問題点は、上記技術では、記録媒体に記録する際に、必要最小限までTSパケットを削除した結果、例えば、記録したTSパケットを外部機器へ出力する際に、情報を追加するために新たなTSパケットの追加が必要になった場合、受信時と同じTSパケットの間隔を維持することができなくなる点である。
 具体的には、TSパケットの間隔が維持できず、特にTSパケットの追加によりTSパケット間隔が狭くなる場合、外部出力手段の伝送速度が間に合わない、または、外部受信機器の受信速度が間に合わない、または、外部受信機器が受信できたとしても再生する際に、映像や音声、データ放送の読み出しに過度な速度を要求するため、外部受信機器のバッファがオーバフローする危険がある。
 一般に、TS受信機器は放送TSに即した受信性能、バッファモデルを保証しているため、外部機器へのTS出力はTS受信時のTS間隔を保って行なうことが望ましい。しかしながら、上記特許文献1では外部機器への出力の考慮がなされておらず、また、上記特許文献2のように、TSパケットの一部または全部を別のTSパケットに置き換えることのできる技術もあるが、TSパケットの数が増えるような場合については対応することができない。
 ここで、情報を追加する場合とは、例えば以下のような場合がある。著作権保護が必要なTSをDTCP-IPの著作権保護方式を使用して、接続の外部録画機器へコピーまたはムーブする際には、PMTパケットにDTCPディスクリプタを追記する。これにより、PMTに記録する情報量がTSパケットのサイズ(188BYTE)より大きくなり、2つのTSパケットに分けざるを得ない場合があり、記録したPTMパケット1つにつき、もう1つTSパケットを挿入する必要がある。
 また、ある言語のみで行なわれた放送番組を録画して、後から同番組の別言語の音声TSを記録する手段を用いた場合に、2つの音声を選択可能なTSとして外部出力するためには、音声TSのビットレート相当のTSを記録時のTSに対して挿入して出力する必要がある。
 また、同様に、録画時より品質の高い映像、及び新しいデータ放送、字幕放送を置き換えるというような場合も考えられ、この場合も従来の映像TSのビットレートと置き換えるTSのビットレートの差分に対してTSの挿入を行なう必要がある。
 本発明は、上記課題を鑑み、対応すべき形態毎に、記録時に不必要であったNullパケットを必要最小限で削除せずに記録しておき、受信時と同じTSパケットの間隔を保つことを実現する。
 TS記録時にNullパケットを最大限削除して記録できる番組の総量を増加させつつ、外部の機器へTSを送信する際には、TS受信時と同じTS間隔を保証することが可能となる。このため、外部の機器は通常放送を記録し、再生する機能を有するだけで、送信されたTSを再生することが可能となる。
図1は、本発明の実施の形態1に係る記録再生装置1の構成を示すブロック図である。 図2は、本発明の実施の形態2に係る記録再生装置2の構成を示すブロック図である。
 (実施の形態1)
 本発明の具体的な実施の形態について以下に示す。図1は、本発明の記録再生装置1の構成図であって、Nullパケットを削除するか否かを判断する機能と、それに使用するカウント手段とを備えることによって、上記解決すべき課題におけるPMTの例のようなパケット追加に対応する。
 本発明における記録再生装置1は、プロセッサ100と、タイムスタンプ付加手段101と、パケット選択手段102と、パケット記録手段103と、パケット置き換え手段104と、メモリ105と、パケット出力手段106と、パケット削除判断手段107と、カウント手段108とを備える。
 タイムスタンプ付加手段101は、入力されたTS(トランスポートストリーム)に対して、タイムスタンプを付加する。パケット選択手段102は、タイムスタンプ付加手段101に接続され、所定のPIDをもつパケットを選択する。パケット記録手段103は、パケット選択手段102と接続され、パケット選択手段102により選択されたパケットを記録する。パケット置き換え手段104は、パケット選択手段102と接続され、パケット選択手段102から選択されたパケットを置き換える。メモリ105は、パケット置き換え手段104においてパケットを置き換える際に使用される。
 パケット出力手段106は、パケット選択手段102とパケット置き換え手段104とに接続され、パケット選択手段102において選択されたパケットに加えて、パケット置き換え手段104において置き換えられたパケットを重畳して、出力する。パケット削除判断手段107は、パケット選択手段102と接続され、パケット選択手段102により選択されなかったパケットを削除するか否かを判断する。カウント手段108は、パケット選択手段102に接続され、パケット選択手段102により所定のパケットが選択された個数をカウントする。プロセッサ100は、記録再生装置1の各構成を制御する。
 次に、このような記録再生装置1において、受信したTSを記録する方法について説明する。
 最初に、受信したTSパケットは、タイムスタンプ付加手段101によって受信時のタイムスタンプを付加され、パケット選択手段102に送られる。パケット選択手段102は、TSパケットのPIDを見て記録すべきTSパケットを選択し、選択したTSパケットをパケット記録手段103へ送る。このとき、記録すべきTSパケットのPIDは、プロセッサ100が設定する。また、パケット選択手段102は、PATやPMTなどのSI情報をプロセッサ100へ伝える機能を持ち、これにより、プロセッサ100は、記録すべきパケットのPIDを知ることができる。パケット記録手段103は、ハードディスクなどの不揮発性メモリであり、タイムスタンプ付きTSを記録する。
 パケット選択手段102によって選択されなかったパケットは、Nullパケットとしてパケット削除判断手段107へ送られる。パケット削除判断手段107は、プロセッサ100により送られてきたパケットを削除するか否か判断する方法を設定可能である。
 例えば、PMTのTSパケットが1つ増える場合に対応するには、以下のように設定を行なう。パケット選択手段102でPMTのPIDを1つ見つける毎にカウント手段108を1つインクリメントし、パケット削除判断手段107は、カウント手段108が0でないときは、Nullパケットを1つ削除せずにパケット記録手段103へ送る。Nullパケットを削除しない場合は、カウント手段108を1つデクリメントする。これにより、PMTパケットが1つ送られてくる毎に、PMTを1つ追加するためのNullパケットを記録することができる。この条件に当てはまらないNullパケットは、従来技術と同様に、記録されず削除される。
 なお、PMTの間隔をある程度あけたい場合は、タイムスタンプを監視して、パケット選択手段102においてPMTを検出した時点のタイムスタンプから、いくらかタイムスタンプが空いた時点のNullパケットを削除しない、というような設定を行なうためのタイムスタンプ比較手段とタイムスタンプの間隔を設定する手段とを、記録再生装置1が持つと良い。
 なお、上記は具体例としてPMTを使用したが、PATやその他のTSパケットであっても同様の機能を有する。
 なお、上記は簡単化のためNullパケットを削除しない条件を、PMTを検出した時としたが、複数のPIDについてNullパケットを削除しないことも可能であるし、カウント手段108を複数個持つことによって、条件を複雑化することも可能である。例えば、PMTを2個検出するごとにNullパケットを1つ記録する、あるいはPATを検出する毎にNullパケットを1つ、PMTを検出するごとにNullパケットを2つ記録するというように使用できる。
 なお、Nullパケットは、受信パケットそのままでもよいが、本来のNullパケットが持つPID(0x1FFF)に統一するため、PIDを書き換える機能をパケット削除判断手段107が備える場合もある。
 なお、複数のPIDについてNullパケットを関連付けるために、プロセッサ100は、記録するNullパケットのPIDをパケット削除判断手段107に設定し、パケット削除判断手段107において、パケットのPIDを書き換えてパケット記録手段103に記録する。複数のNullパケットのPIDは、管理情報をパケット記録手段103、または別の記録手段を搭載して記録する。
 次に、本発明の記録再生装置1について、パケット記録手段103に記録したパケットを外部機器へ出力する方法を説明する。パケット記録手段103に記録されたパケットはパケット選択手段102に読み出され、出力すべきPIDを持つパケットは、パケット出力手段106へ送られる。出力すべきPIDは、プロセッサ100によって設定される。
 ここで、パケット出力手段106は、パケットを出力するインタフェースによって動作が異なる。IEEE1394のようにリアルタイムの転送が必要な場合はタイムスタンプによって出力時間を制御する機能を有し、DLNAのようにIPパケットとして出力する場合には、メモリ105へ出力する機能、等を有する。
 また、プロセッサ100は、パケット選択手段102によって通知されるSI情報を見て、例えばPMTにディスクリプタを追加しなくてはいけない場合、PMTを置き換える判断をすると、パケット選択手段102とパケット置き換え手段104とにPMTのPIDを通知する。パケット選択手段102は、通知されたPIDのパケットをパケット置き換え手段104へ送るようになる。一方、パケット置き換え手段104は、プロセッサ100がメモリ105内部に用意する置き換えデータを読み出し、パケット選択手段102が送ってくるPMTのPIDを持つパケットのデータを置き換える。
 また、パケット選択手段102は、出力すべきPIDでないパケット(Nullパケット)をパケット置き換え手段104へ送る機能を有する。プロセッサ100は、PMTに情報を追加した際にパケットが複数になってしまった場合、メモリ105内部に複数のPMTを準備し、パケット置き換え手段104にPMTのPIDを持つパケットとNullパケットのPIDに対して準備したPMTを順に置き換えるよう設定を行なう。
 このような処理を行うことにより、Nullパケットは受信時の間隔で記録されているため、これに対して別のパケットを置き換えた場合でもパケット間隔が変わることはない。つまり、本構成と処理方式により、不要なパケットは削除しつつ、受信時のパケット間隔を保ったまま、パケットを追加し、外部機器への出力を可能にする。
 なお、具体化のためPMTを用いたが、PATやその他のTSパケットについても同様の機能を有する。
 なお、複数のPIDについてパケットの置き換えが必要な場合は、上述したようにNullパケットに複数のPIDを記録した情報をプロセッサ100が読み取り、パケット置き換え手段に対して、例えばPMTとNullパケット1のPIDを別の複数のPMTに置き換え、PATとNullパケット2のPIDを別の複数のPATに置き換えるというように設定を行なう。
 (実施の形態2)
 図2は、実施の形態1に係る記録再生装置1に表示時間書き換え手段を追加することで、解決すべき課題の音声や映像、字幕のようなビットレートと表示時間が定められているパケットの追加に対応する記録再生装置2の構成図である。
 本発明の実施の形態2における記録再生装置2は、プロセッサ200と、タイムスタンプ付加手段201と、パケット選択手段202と、パケット記録手段203と、パケット置き換え手段204と、メモリ205と、パケット出力手段206と、パケット削除判断手段207と、カウント手段208と、表示時間書き換え手段210とを備える。
 タイムスタンプ付加手段201は、入力されたTS(トランスポートストリーム)に対して、タイムスタンプを付加する。パケット選択手段202は、タイムスタンプ付加手段201に接続され、所定のPIDをもつパケットを選択する。パケット記録手段203は、パケット選択手段202と接続され、パケット選択手段202により選択されたパケットを記録する。パケット置き換え手段204は、パケット選択手段202と接続され、パケット選択手段202から選択されたパケットを置き換える。メモリ205は、パケット置き換え手段204においてパケットを置き換える際に使用される。
 パケット出力手段206は、パケット選択手段202とパケット置き換え手段204とに接続され、パケット選択手段202において選択されたパケットに加えて、パケット置き換え手段204において置き換えられたパケットを重畳して、出力する。パケット削除判断手段207は、パケット選択手段202と接続され、パケット選択手段202により選択されなかったパケットを削除するか否かを判断する。カウント手段208は、パケット選択手段202に接続され、パケット選択手段202により所定のパケットが選択された個数をカウントする。表示時間書き換え手段210は、選択されたパケットを表示する時間を変更する。プロセッサ200は、記録再生装置2の各構成を制御する。
 まず、記録再生装置2において、パケットを記録する方法を説明する。
 受信したTSパケットは、タイムスタンプ付加手段201によって受信時のタイムスタンプを付加され、パケット選択手段202に送られる。パケット選択手段202は、TSパケットのPIDを見て、記録すべきTSパケットを選択し、選択したTSパケットをパケット記録手段203へ送る。このとき、記録すべきTSパケットのPIDは、プロセッサ200が設定する。また、パケット選択手段202は、PATやPMTなどのSI情報をプロセッサ200へ伝える機能を持ち、これにより、プロセッサ200は、記録すべきパケットのPIDを知ることができる。
 パケット記録手段203は、ハードディスクなどの不揮発性メモリであり、タイムスタンプ付きTSを記録する。
 一方、パケット選択手段202によって選択されなかったパケットは、Nullパケットとしてパケット削除判断手段207へ送られる。パケット削除判断手段207は、プロセッサ200により送られてきたパケットを削除するか否か判断する方法を設定可能である。
 例えば、最大で256Kbpsの音声パケット追加に対応するには、プロセッサ200は、パケット削除判断手段207に対して、以下のように設定を行なう。なお、256Kbpsの音声データは、最小の場合、1秒間に179TSパケットで格納でき、ここでは余分を見て1秒間に400パケット分のNullパケットを記録する場合を考えるものとする。
 カウント手段208が400からスタートし、パケット削除判断手段207がNullパケットを記録すると判断する毎に1デクリメントされ、1秒毎に400に戻る。
 なお、記録するNullパケットを平滑化したい場合には、タイムスタンプ比較手段(図示せず)とタイムスタンプの間隔を設定する手段とを追加し、タイムスタンプと、タイムスタンプ間隔を足した値が受信したNullパケットのタイムスタンプと一致した場合に記録する判断を行なうと良い。
 なお、1秒間に400のNullパケットが存在しなかった場合には、400にリセットするのでなく残りのカウンタ値+400となるような制御を行なっても良い。
 なお、具体化のために音声パケット、256Kbps、400パケットを用いたが、映像、字幕及びその他のパケットについて、別のビットレート、パケット数においても同様である。
 なお、カウント手段208は、1秒間でなく、任意の時間間隔でリセット可能であるし、プロセッサ200による任意のタイミングでのリセットも可能である。
 次に、本発明の記録再生装置2について、パケット記録手段203に記録したパケットと別途パケット記録手段203に記録したパケットとを追加して、外部機器へ出力する方法を説明する。以下では具体例として、パケット記録手段203に記録したTSパケットに、別途パケット記録手段203に記録した音声パケットを追加する場合を説明する。
 パケット記録手段203に記録されたパケットは、パケット選択手段202に読み出され、出力すべきPIDを持つパケットは、パケット出力手段206へ送られる。出力すべきPIDは、プロセッサ200によって設定される。
 プロセッサ200は、パケット選択手段202によって通知されるSI情報を見て、PMTに追加する音声のPIDを書き込み、上述した実施の形態1と同様にPMTの置き換えをパケット置き換え手段204に設定すると共に、パケット置き換え手段204に対してパケット選択手段202から送られてくるNullパケットに対しパケット記録手段203から追加する音声パケットを読み出して置き換える設定を行なう。
 映像や音声、字幕を追加する際には、パケット内に音声を出力する時刻を表すPTS/DTS(音声ではPTS=DTS)が記録されているため、番組の開始位置における音声のPTSの値と追加する音声のPTSの値との差分をプロセッサ200により計算し、表示時間書き換え手段210に設定する。
 パケット置き換え手段204は、パケット選択手段202が送ってくるNullパケットを、PTSの値を書き換えた追加する音声パケットに置き換えて、パケット出力手段206へ送る。
 本構成と処理方式とにより、不要なパケットは削除しつつ、受信時のパケット間隔を保ったまま、別の音声パケットを追加し、外部機器への出力を可能にする。
 なお、具体化のため音声を用いたが、映像、字幕やその他のTSパケットについても同様の機能を有する。
 以上のように、本発明の実施の形態に係る記録再生装置は、入力されたトランスポートパケットから所定のパケットを選択するパケット選択手段と、パケット選択手段により選択されなかったパケットを削除するか否かを判別するパケット削除判断手段と、パケット選択手段により選択された所定のパケット数をカウントするカウント手段と、外部に出力するパケットを記録するパケット記録手段とを備え、パケット削除判断手段は、カウント手段によりカウントされた所定のパケット数が予め設定したパケット数より少ない場合には、選択されなかったパケットの削除を行わず、パケット記録手段に記録する記録装置である。
 また、記録装置は、さらに、パケット選択手段により選択されなかったパケットを、別の種類のパケットに置き換えるパケット置き換え手段を有し、パケット置き換え手段は、置き換えられたパケットをパケット記録手段に出力してもよい。
 また、カウント手段は、M秒毎にN個のパケットをカウントしてもよい。
 また、TSパケットを録画する際に、再生時に不要なパケットであるNullパケットに対して、任意に変更可能な条件に基づいて少なくとも1つ以上記録し、条件に当てはまらない残りの不要なパケットは削除することを判断する手段を備えてもよい。
 また、記録装置は、さらに、カウント手段を有し、あるPIDを検知する毎にN個のNullパケットを記録し、残りのNullパケットを削除するパケット削除判断手段を備えてもよい。
 また、記録装置は、さらに、M秒毎にN個のNullパケットを記録し、残りのNullパケットは削除するパケット削除判断手段を備えてもよい。
 また、記録装置は、さらに、Nullパケットを記録する条件として、タイムスタンプを比較して、一定の間隔があいた場合のみNullパケットを記録し、それ以外のNullパケットを削除するパケット削除判断手段を備えてもよい。
 また、1つの番組に含まれる1種類以上のIDを持つパケットを1つのIDを持つパケットに変換して記録する手段を備える記録装置でもよい。
 また、1つの番組に含まれる1種類以上のIDを持つパケットを2種類以上のIDを持つパケットに変換して記録する手段と、記録した番組とIDとを対応させる情報を不揮発性メモリに記録する手段とを備える記録装置でもよい。
 また、記録したパケットを外部機器へ出力する際に、特定のPIDを持つパケット、及び、Nullパケットに対して、別途記録したパケットを置き換えて出力する再生装置でもよい。
 また、再生装置は、さらに、置き換えて出力するパケット内部に時間情報を持つ場合に、置き換えられる側のパケットの情報から時間差分を計算し、置き換えて出力するパケットの時間情報を補正するパケット置き換え手段を備えてもよい。
 また、記録したパケットを外部機器へ出力する際に、異なるIDを持つ2種類以上のパケットを、1つのあるPIDを持つパケットに置き換えて出力する手段を備える再生装置でもよい。
 また、記録したパケットを外部機器へ出力する際に、異なるIDを持つ2種類以上のパケットを、1つのあるPIDで、内部のデータが複数のパケットに分割されたパケットに順番に置き換えて出力する手段を備える再生装置でもよい。
 本発明は、記録媒体のパケット記録数を最大限確保しつつ、著作権保護や後から別の音声、映像、字幕などを追加するようなサービスに対応する記録再生機器において、外部機器との接続、及び外部機器での再生を確実にするための技術として使用される。
1、2 記録再生装置
100、200 プロセッサ
101、201 タイムスタンプ付加手段
102、202 パケット選択手段
103、203 パケット記録手段
104、204 パケット置き換え手段
105、205 メモリ
106、206 パケット出力手段
107、207 パケット削除判断手段
108、208 カウント手段
210 表示時間書き換え手段
 

Claims (13)

  1.  入力されたトランスポートパケットから所定のパケットを選択するパケット選択手段と、
     前記パケット選択手段により選択されなかったパケットを削除するか否かを判別するパケット削除判断手段と、
     前記パケット選択手段により選択された所定のパケット数をカウントするカウント手段と、
     外部に出力するパケットを記録するパケット記録手段とを備え、
     前記パケット削除判断手段は、
     前記カウント手段によりカウントされた所定のパケット数が予め設定したパケット数より少ない場合には、選択されなかったパケットの削除を行わず、前記パケット記録手段に記録する
     記録装置。
  2.  前記記録装置は、さらに、前記パケット選択手段により選択されなかったパケットを、別の種類のパケットに置き換えるパケット置き換え手段を有し、
     前記パケット置き換え手段は、置き換えられたパケットを前記パケット記録手段に出力する
     請求項1記載の記録装置。
  3.  前記カウント手段は、M秒毎にN個のパケットをカウントする
     請求項1又は2記載の記録装置。
  4.  TSパケットを録画する際に、再生時に不要なパケットであるNullパケットに対して、任意に変更可能な条件に基づいて少なくとも1つ以上記録し、条件に当てはまらない残りの不要なパケットは削除することを判断する手段を備える
     記録装置。
  5.  前記記録装置は、さらに、
     カウント手段を有し、あるPIDを検知する毎にN個のNullパケットを記録し、残りのNullパケットを削除するパケット削除判断手段を備える
     請求項4記載の記録装置。
  6.  前記記録装置は、さらに、
     M秒毎にN個のNullパケットを記録し、残りのNullパケットは削除するパケット削除判断手段を備える
     請求項4記載の記録装置。
  7.  前記記録装置は、さらに、
     Nullパケットを記録する条件として、タイムスタンプを比較して、一定の間隔があいた場合のみNullパケットを記録し、それ以外のNullパケットを削除するパケット削除判断手段を備える
     請求項4~6のいずれか1項に記載の記録装置。
  8.  1つの番組に含まれる1種類以上のIDを持つパケットを1つのIDを持つパケットに変換して記録する手段を備える
     記録装置。
  9.  1つの番組に含まれる1種類以上のIDを持つパケットを2種類以上のIDを持つパケットに変換して記録する手段と、
     記録した番組とIDとを対応させる情報を不揮発性メモリに記録する手段とを備える
     記録装置。
  10.  記録したパケットを外部機器へ出力する際に、特定のPIDを持つパケット、及び、Nullパケットに対して、別途記録したパケットを置き換えて出力する
     再生装置。
  11.  前記再生装置は、さらに、
     置き換えて出力するパケット内部に時間情報を持つ場合に、置き換えられる側のパケットの情報から時間差分を計算し、置き換えて出力するパケットの時間情報を補正するパケット置き換え手段を備える
     請求項10記載の再生装置。
  12.  記録したパケットを外部機器へ出力する際に、異なるIDを持つ2種類以上のパケットを、1つのあるPIDを持つパケットに置き換えて出力する手段を備える
     再生装置。
  13.  記録したパケットを外部機器へ出力する際に、異なるIDを持つ2種類以上のパケットを、1つのあるPIDで、内部のデータが複数のパケットに分割されたパケットに順番に置き換えて出力する手段を備える
     再生装置。
PCT/JP2010/005194 2009-08-25 2010-08-24 記録装置及び再生装置 WO2011024437A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011528641A JPWO2011024437A1 (ja) 2009-08-25 2010-08-24 記録装置
EP10811496A EP2472877A4 (en) 2009-08-25 2010-08-24 RECORDING DEVICE AND READING DEVICE
US13/391,672 US20120147900A1 (en) 2009-08-25 2010-08-24 Recording and reproducing apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2009194005 2009-08-25
JP2009-194005 2009-08-25

Publications (1)

Publication Number Publication Date
WO2011024437A1 true WO2011024437A1 (ja) 2011-03-03

Family

ID=43627559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2010/005194 WO2011024437A1 (ja) 2009-08-25 2010-08-24 記録装置及び再生装置

Country Status (4)

Country Link
US (1) US20120147900A1 (ja)
EP (1) EP2472877A4 (ja)
JP (1) JPWO2011024437A1 (ja)
WO (1) WO2011024437A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016002573A1 (ja) * 2014-07-03 2016-01-07 ソニー株式会社 データ処理装置、受信装置、データ処理方法、およびプログラム
JP7443076B2 (ja) 2020-01-31 2024-03-05 Tvs Regza株式会社 受信装置
JP7443075B2 (ja) 2020-01-31 2024-03-05 Tvs Regza株式会社 送信装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268518A (ja) * 2000-03-22 2001-09-28 Sharp Corp データ記録再生装置
JP2003229906A (ja) * 2002-02-05 2003-08-15 Matsushita Electric Ind Co Ltd トランスポートストリーム処理装置および方法
JP2004349977A (ja) * 2003-05-21 2004-12-09 Matsushita Electric Ind Co Ltd マルチメディアデータ処理装置および処理方法
JP2006186674A (ja) * 2004-12-27 2006-07-13 Victor Co Of Japan Ltd Mpegストリーム処理方法および処理装置
JP2008061061A (ja) * 2006-09-01 2008-03-13 Renesas Technology Corp 録画再生装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5566174A (en) * 1994-04-08 1996-10-15 Philips Electronics North America Corporation MPEG information signal conversion system
US6169843B1 (en) * 1995-12-01 2001-01-02 Harmonic, Inc. Recording and playback of audio-video transport streams
JP2001359049A (ja) * 2000-06-14 2001-12-26 Mitsubishi Electric Corp プログラム記録再生方法および装置
US6940873B2 (en) * 2000-12-27 2005-09-06 Keen Personal Technologies, Inc. Data stream control system for associating counter values with stored selected data packets from an incoming data transport stream to preserve interpacket time interval information
CN1400754A (zh) * 2001-05-28 2003-03-05 松下电器产业株式会社 数据传送装置
KR100584381B1 (ko) * 2004-02-04 2006-05-26 삼성전자주식회사 엠펙-2 데이터 전송속도 조절 방법 및 그 장치
JP4358081B2 (ja) * 2004-03-31 2009-11-04 パナソニック株式会社 映像記録装置
EP1950962B1 (en) * 2005-10-27 2017-03-29 Panasonic Corporation Transport stream generating apparatus, recording apparatus having the same, and transport stream generating method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268518A (ja) * 2000-03-22 2001-09-28 Sharp Corp データ記録再生装置
JP2003229906A (ja) * 2002-02-05 2003-08-15 Matsushita Electric Ind Co Ltd トランスポートストリーム処理装置および方法
JP2004349977A (ja) * 2003-05-21 2004-12-09 Matsushita Electric Ind Co Ltd マルチメディアデータ処理装置および処理方法
JP2006186674A (ja) * 2004-12-27 2006-07-13 Victor Co Of Japan Ltd Mpegストリーム処理方法および処理装置
JP2008061061A (ja) * 2006-09-01 2008-03-13 Renesas Technology Corp 録画再生装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2472877A4 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016002573A1 (ja) * 2014-07-03 2016-01-07 ソニー株式会社 データ処理装置、受信装置、データ処理方法、およびプログラム
JPWO2016002573A1 (ja) * 2014-07-03 2017-04-27 ソニーセミコンダクタソリューションズ株式会社 データ処理装置、受信装置、データ処理方法、およびプログラム
EP3166322A4 (en) * 2014-07-03 2017-12-06 Sony Semiconductor Solutions Corporation Data processing apparatus, reception apparatus, data processing method, and program
US10178040B2 (en) 2014-07-03 2019-01-08 Sony Semiconductor Solutions Corporation Data processing device, receiving device, data processing method, and program
JP7443076B2 (ja) 2020-01-31 2024-03-05 Tvs Regza株式会社 受信装置
JP7443075B2 (ja) 2020-01-31 2024-03-05 Tvs Regza株式会社 送信装置

Also Published As

Publication number Publication date
JPWO2011024437A1 (ja) 2013-01-24
EP2472877A1 (en) 2012-07-04
EP2472877A4 (en) 2012-07-04
US20120147900A1 (en) 2012-06-14

Similar Documents

Publication Publication Date Title
JP4250832B2 (ja) データ送出装置
US6956869B1 (en) Data recording and/or reproducing apparatus, method, and system and recording medium
US7965634B2 (en) Transmission rate adjustment device and method
KR100966387B1 (ko) 전자 디바이스, 수신기 및 mpeg 프로그램 스트림 생성방법
CN101207764B (zh) 记录装置、记录方法和再现装置
JP6219330B2 (ja) 送信システム、多重化装置及びうるう秒補正対応方法
JP4113104B2 (ja) データ列間の連続再生を保障するための付加情報生成方法、この情報を貯蔵する記録媒体及び記録、編集及び/または再生装置
WO2011024437A1 (ja) 記録装置及び再生装置
KR100534291B1 (ko) 디지털 방송 기록 재생 장치
JP7024787B2 (ja) 情報処理装置、および情報処理方法、並びにプログラム
US11375151B2 (en) Information processing apparatus, information recording medium, and information processing method
US8484754B2 (en) Output control method
US20090210588A1 (en) Output Circuit, Control Program Product, and Control Method
JP4852384B2 (ja) トランスポートストリーム補正装置
JP5041080B2 (ja) データ出力システム
JP4888459B2 (ja) データ送出装置
JP4702381B2 (ja) データ出力システム、データ記録及び出力方法
KR100851001B1 (ko) 프로그램 기록/재생 장치
JP3090129B2 (ja) 多重化装置
JP4888458B2 (ja) データ送出装置
JP2006019954A (ja) 通信装置、通信ネットワークシステム、および通信方法
JP2008199516A (ja) データ処理装置
JP2007066511A (ja) 記録再生装置、記録装置、再生装置および記録再生方法
JP2005117173A (ja) パケットフィルタ装置とパケットフィルタ処理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10811496

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2011528641

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2010811496

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13391672

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE