JP3607681B2 - Sub-picture data editing apparatus and editing method - Google Patents
Sub-picture data editing apparatus and editing method Download PDFInfo
- Publication number
- JP3607681B2 JP3607681B2 JP2002050776A JP2002050776A JP3607681B2 JP 3607681 B2 JP3607681 B2 JP 3607681B2 JP 2002050776 A JP2002050776 A JP 2002050776A JP 2002050776 A JP2002050776 A JP 2002050776A JP 3607681 B2 JP3607681 B2 JP 3607681B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- sub
- picture
- editing
- range
- 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
【0001】
【発明の属する技術分野】
本発明は、字幕などの副映像データを含むシステムストリーム上の副映像データを編集する副映像データ編集装置および編集方法に関する。
【0002】
【従来の技術】
大量の映像データ、音声データ及び字幕などの副映像データは、MPEG方式を用いて圧縮して1つのビットストリームとして多重化し、光ディスク等の記録媒体に記録される。MPEG方式は、国際規格機構(ISO)が規格化したビットストリームの解釈およびその復号処理に関して規定した規格であり、MPEG2標準としてISO13818が標準化されている。
【0003】
また、光ディスク等の記録媒体に記録する方式として、画像信号の圧縮符号化の方式を定めたMPEGビデオ、音声信号の圧縮符号化の方式を定めたMPEGオーディオ、文字データなどの副映像データの圧縮符号化方式を定めたサブピクチャを同期再生を含め統合して1本のストリームに多重化するMPEG方式(ISO13818−1)およびDVDビデオ方式(DVD Specifications for Read−Only Version 1.0 August 1996)が規定されている。
【0004】
MPEGビデオストリームでは、Iピクチャ、Pピクチャ、Bピクチャの3種類の符号化画像が規定されている。Iピクチャは、他のピクチャを参照せず、そのピクチャ自身で符号化を行うことができる画像である。また、Pピクチャは、前方予測符号化を用いて、符号化する際には、時間的に過去のIピクチャまたは過去のPピクチャが必要となる画像である。さらに、Bピクチャは、双方向予測符号化を用いて、時間的に過去および未来のIピクチャまたはPピクチャから予測して符号化された画像であり、このBピクチャを符号化する際には、過去及び未来のIピクチャ又はPピクチャが必要となる。
【0005】
MPEGビデオストリームは、これらピクチャの集合体(GOPの集合)である。一般に、GOPは、ランダムアクセスと高符号化効率を実現するため、Iピクチャ、Pピクチャ、Bピクチャの組合せによって構成され、GOPの最初の符号化画像はIピクチャである。Iピクチャは参照画面を用いずに独立して復号化できるため、GOPはMPEGデータからのランダムアクセスを行うポイントとして利用することができる。
【0006】
また、MPEGオーディオストリームは、AAU(Audio Access Unit:オーディオアクセスユニット=1つ1つ単独でオーディオ信号に復号化できる最小単位)の集合であり、サブピクチャストリームは、SPU(SubPicture Unit:サブピクチャユニット=1つ1つ単独で文字データに復号できる最小単位)の集合である。
【0007】
MPEGシステムストリームは、MPEGビデオストリーム、MPEGオーディオストリーム及びサブピクチャストリームとを含み、それらが同期再生できるように、ビデオ、やオーディオ並びにサブピクチャの再生単位ごとに、いつ復号再生すべきかの情報を付加して1つに多重化された符号化ストリームである。
【0008】
このようなMPEGシステムストリームの一部分を切り出して、新しいMPEGシステムストリームを作成する編集システムが求められている。
【0009】
従来の編集システムでは、DVDディスクから読み出されたシステムストリームに対して、使用者が指定した編集範囲の区間を切り出して新規のシステムストリームを作成するものがある。
【0010】
このような場合、副映像データは、映像データと比べるとデータ量がかなり小さいため、再生時において、表示時刻より少し前にバッファに送っておくことが可能となり、副映像データは、システムストリーム上において同時刻の映像データより前に配置されることが多い。
【0011】
そのため、編集点からの切り出し範囲に相当する新規のシステムストリームを作成すると、切り出し範囲内に表示すべき副映像データが存在しないこととなり、副映像データが表示されないこととなる。
【0012】
この問題を解決するために、例えば、デマルチプレクサ(分離装置)を用いて、DVDディスクから読み出されたシステムストリームを映像ストリーム、音声ストリーム及び副映像ストリームとに分離する方法が考えられている。
【0013】
分離された各ストリームは、画像データ、字幕などを再生するディスプレイ、音声データを再生するスピーカ、キーボード、マウスのような使用者が編集点を指定するための入力手段により、新規ストリームとなる表示期間を同期するようにして切り出され、更に、夫々のサイズのパックに分割し多重化され、DVDディスクに記録する。
【0014】
【発明が解決しようとする課題】
この従来の方法によると、システムストリームから所定の範囲を切り出して作成したシステムストリームでは、副映像が表示されないことがあるという問題がある。
【0015】
さらに、副映像を表示するために、既存のシステムストリームを分離して編集し、再度多重化する方法もあるが、この方法では、編集、多重化等のデータ加工に膨大な作業時間を費やしてしまうという問題がある。
【0016】
そこで、本発明では、システムストリームを分離して編集し、再度多重化することなく、かつ映像データと同期するような副映像データの編集が可能な副映像データ編集装置及び編集方法を提供することを目的とする。
【0017】
【課題を解決するための手段】
上記課題を解決するために、本発明に係る副映像データ編集装置では、映像データ、音声データ及び副映像データ以外のパケットデータを含むシステムストリーム上の副映像データを編集するものにおいて、編集範囲を決定する手段と、この決定手段にて決定された編集範囲内に相当する副映像データの存在位置を確認し、当該副映像データが編集範囲外に存在する場合には、編集範囲内に存在するパケットデータの位置に当該副映像データを書き込む情報書き換え手段とを具備することを特徴とするものである。
【0018】
また、本発明に係る副映像データ編集装置では、システムストリーム上の副映像データを編集するものにおいて、編集範囲を決定する手段と、この決定手段にて決定された編集範囲内のデータの中から、この範囲内のデータのみでは復号処理が不可能なデータをフレーム単位で削除する編集手段と、この決定手段にて決定された編集範囲内に相当する副映像データの存在位置を確認し、当該副映像データが編集範囲外に存在する場合には、編集手段にて削除されたデータ領域に当該副映像データを書き込む情報書き換え手段とを具備したことを特徴とするものである。
【0019】
すなわち、本発明においては、副映像データを含むシステムストリームの編集の際に、必要である副映像データが編集範囲外に存在する場合には、編集範囲内のパケットデータを副映像データに書き換えることによって、副映像データの表示の欠落を無くし、副映像データを正確に表示することができるものである。
【0020】
また、本発明においては、副映像データを含むシステムストリームの編集の際に、必要である副映像データが編集範囲外に存在する場合には、編集範囲内のデータのみでは復号処理できないデータを削除し、その領域に当該副映像データに書き込むことによって、副映像データの表示の欠落を無くし、副映像データを正確に表示することができるものである。
【0021】
【発明の実施の形態】
以下、この発明の実施の形態について図面を参照して説明する。
まず、図1を用いてMPEGシステムストリームを構成するパックデータにつき説明する。
【0022】
MPEGシステムストリームは、パックPAを単位として構成されており、パックPA、パックヘッダPHと1つ以上のパケットPKから構成されている。
【0023】
パックヘッダPHには、符号化したストリームを復号する際の時刻基準となるSCR(System Clock Reference)の値が記録されているSCRフィールドが設けられている。
【0024】
また、パケットPKは、パケットヘッダPKHと映像データ、音声データまたは副映像データのストリームが記録されるパケットデータPKDから構成されている。また、パケットデータPKDには、映像データ、音声データ及び副映像データのストリームが記録されず、例えばヘッダのみが記録されている領域もある。このようなパケットデータは、後述する処理で、編集範囲外に存在する副映像データを書き込む領域として使用される場合がある。
【0025】
また、パケットヘッダPKHには、パケットデータPKDに含まれるビデオ、オーディオ及びサブピクチャを再生単位ごとに出力させるための時刻管理情報であるPTS(Presentation Time Stamp)が記録されているDTSフィールドが設けられている。
【0026】
次に、このようなMPEGシステムストリームの一部分を切り出して、新しいMPEGシステムストリームを作成する副映像データ編集装置の構成について説明する。
【0027】
図2は、本発明の一実施の形態に係わる副映像データ編集装置の構成を示すものである。
【0028】
この副映像データ編集装置は、DVDディスク1からシステムストリームを読み出す読出装置2、この読み出したシステムストリームを編集する編集装置3及びこの編集されたシステムストリームを再生する再生装置4とによって構成されている。また、編集装置3は、編集範囲決定部5、副映像データ置換部6及びストリーム切り出し部7とから構成されている。
【0029】
読出装置2では、DVDディスク1からシステムストリームを読み出し、これを編集装置3に供給する。
【0030】
編集装置3は、読出装置2にて読み出されたシステムストリームを編集する。まず、編集範囲決定部5において、使用者が指定した編集したい範囲(GOP単位)に基づいて、編集範囲に相当するシステムストリーム中の映像データの区間を切り出し範囲として決定する。編集範囲決定部5は、その切り出し範囲の情報を副映像データ置換部6に供給する。
【0031】
副映像データ置換部6では、編集範囲決定部5より供給された切り出し範囲の情報により切り出し範囲に相当するシステムストリーム上の副映像データの確認を行なう。この際、副映像データが切り出し範囲外に存在する場合には、そのデータを切り出し範囲内のその他のパケットデータに置き換え、置換済みシステムストリームをストリーム切り出し部7に供給する。この場合、副映像データが書き込まれるパケットデータの領域は、映像データ、音声データ及び副映像データが記録されておらず、例えばヘッダの情報のみが記録されている領域である。
【0032】
さらに、編集装置3に設けられているストリーム切り出し部7は、置換済みシステムストリームから編集範囲決定部5にて決定された切り出し範囲を切り出して新規システムストリームを作成する。
【0033】
また、再生装置4では、ストリーム切り出し部7より生成された新システムストリームを再生(表示等)を行なう。
【0034】
次に、図3を用い、映像データと副映像データの表示タイミング及びシステムストリーム上の切り出し範囲及び副映像データの置き換え方法を説明する。
【0035】
システムストリームは、ビデオパックV、サブピクチャパックS、ダミーパック(他のパケットを含むパック)Pから構成され、図3では、切り出し範囲に相当するシステムストリームはビデオパックV5以降となっている。一方、切り出し範囲内に表示すべき副映像ユニットSP2のシステムストリーム上の配置(サブピクチャパックS2)は、ビデオパックV5より前に置かれているので、切り出し範囲内に存在するダミーパック(映像データ、音声データ及び副映像データが記録されていないパケットデータ領域)P3をサブピクチャパックS2に置き換える。図3では、副映像ユニットSPnは、サブピクチャパックSnに対応している。
【0036】
ダミーパックP3をサブピクチャS2に置き換えたシステムストリームは、ストリーム切り出し部7に供給される。このストリーム切り出し部7では、切り出し範囲に従って切り出し処理を実行し、新しいシステムストリームを作成する。この作成されたシステムストリームは、再生装置4に送られて表示される。
【0037】
以上説明したようにこの副映像データ編集装置によれば、システムストリーム上の編集範囲(切り出し範囲)に相当する副映像データの存在位置を確認し、当該副映像データが編集範囲外に存在する場合には、編集範囲内に存在するパケットデータ(映像データ、音声データ及び副映像データが記録されていない領域)の位置に当該副映像データを書き込むことで副映像データの編集処理を実行している。
【0038】
そのため、既存のシステムストリームを分離、編集して再度多重化することなく、且つ副映像の表示も欠けることなく編集することが可能であり、大幅に編集時間を短縮した上で、システムストリームの編集処理を行うことができる。
【0039】
次に、図4を用いて、本発明における副映像データ編集装置の第2の実施の形態の構成について説明する。
【0040】
この副映像データ編集装置では、副映像の表示タイミングに間に合う位置に映像データ、音声データ及び副映像データが記録されていないパケットデータが存在しなくても、スムーズな副映像データの表示を可能とする構成となっている。
【0041】
この副映像データ編集装置では、図4に示す通り、DVDディスク11からシステムストリームを読み出す読出装置12、この読み出したシステムストリームを編集する編集装置13及びこの編集されたシステムストリームを再生する再生装置14とによって構成されている。
【0042】
また、システムストリームを編集する編集装置13は、編集範囲決定部15、検出・ストリーム編集部16、副映像データ置換部17、時間情報書き換え部18及びストリーム切り出し部19の構成を備えている。
【0043】
この編集装置13では、読出装置12から供給されるDVDディスク11から読み出されたシステムストリームに対して、編集範囲決定部15において、使用者が指定した編集したい範囲(GOP単位)に基づいて、編集範囲に相当するシステムストリーム中の映像データの区間を切り出し範囲として決定する。
【0044】
次に、検出・ストリーム編集部16では、編集範囲決定部15より決定された切り出し範囲内のデータの中から復号不可能なデータをフレーム単位で切り出し範囲から除き、切り出し範囲からもれた副映像データに置換するためのスペースを確保する。
【0045】
更に、副映像データ置換部17では、編集範囲決定部15にて決定された切り出し範囲の情報に基づき、切り出し範囲に相当するシステムストリーム上の副映像データの確認を行う。この際、副映像データが切り出し範囲外に存在する場合は、検出・ストリーム編集部16にて作成したスペースに置換した上で、この置換済みシステムストリームを時間情報書き換え部18に供給する。
【0046】
時間情報書き換え部18においては、検出・ストリーム編集部17にてシステムストリーム上にスペースを確保したことに基づき、システムストリームを復号処理するための時刻の管理情報の変更を行なう。
【0047】
ストリーム切り出し部19は、変換済みシステムストリームから編集範囲決定部15にて決定された切り出し範囲を切り出して、新規のシステムストリームを作成するものである。
【0048】
ここで、検出・ストリーム編集部16での編集処理の詳細を図5及び図6を用いて説明する。
【0049】
図5は、編集点におけるビデオストリームの再生不可能なピクチャを説明するための図である。Bピクチャは、双方向予測符号化を用いて、時間的に過去および未来のIピクチャまたはPピクチャから予測して符号化された画像であるため、切り出し範囲の最初のGOPにおいては、Bピクチャは復号化処理ができず、データの再生が不可能となる。
【0050】
そこで、第2の実施の形態に示す副映像データ編集装置では、このBピクチャのデータを削除して、編集範囲外に存在する副映像データを書き込む領域を作成し、システムストリームの編集処理を実行するものである。
【0051】
次に、図6を用いて、システムストリーム上でのBピクチャを削除してデータの編集を行う方法を説明する。
【0052】
この図に示す通り、各ピクチャ(Iピクチャ、Pピクチャ、Bピクチャ)は複数のパケットPAを持ち、必ずしもピクチャ単位でパケットPAが完結しているとは限らず、1つのパケット内に、異なるピクチャが混在する場合がある。図6では、IピクチャとBピクチャとが混在する場合の例を示している。
【0053】
このようなデータ構造の場合、検出・ストリーム編集部16では、まず、パック6から削除されたBピクチャのサイズ(V(B1)_2)を求める。次に、Iピクチャのデータサイズ(V(I2)_1+V(I2)_2+V(I2)_3)を取得して、新規にパケット化する。この際、時間的に後方からパケット化し、パックを後ろ詰で配置する。そこで、先頭のパックは、後方からパケットデータPKHを割り当てていくため、全てを満たされない場合には、パディングパケットPP(ダミーデータの領域)のデータ領域とする。図6では、パック6からパック3に割り当て、パック3は、1パックサイズに満たなかったため、パディングパケットPPを挿入した例が示されており、パック1、2は、パディングパケットPPのみで構成されたダミーデータの領域となっている。
【0054】
すなわち、この例では、削除したBピクチャの領域に対して、パックを後ろ詰めでデータ再配置を行い、データの空き領域を作り、パティングパケットを挿入する領域を確保し、ダミーデータ領域としているものである。
【0055】
このようにデータ編集されたシステムストリームに対して、編集装置13では、次のような副映像データの編集処理を実行することで、副映像データの表示を可能としている。
【0056】
図7は、編集装置13での副映像データの編集を行うための処理の流れを説明するためのものである。
【0057】
この図に示す通り、まず、編集範囲決定部15において、システムストリーム中の映像データの区間を切り出し範囲が決定される(図7(a))。
【0058】
検出・ストリーム編集部16では、図6を用いて説明したように、副映像データに置き換えるためのダミーデータを確保したシステムストリームを生成し、副映像データ置換部17に供給する(図7(b))。
【0059】
副映像データ置換部17では、編集範囲決定部13によって決定された切り出し範囲外に、切り出し範囲内に表示すべき副映像ユニットのシステムストリーム上のサブピクチャパックが存在する場合、検出・ストリーム編集部8で生成されたダミーデータに置き換える。この図に説明する例では、副映像ユニットSP1のシステムストリーム上のサブピクチャS1が2パック存在しており、この2パックのサブピクチャS1をダミーパックと置換してシステムストリームを形成する(図7(c))。
【0060】
副映像データ置換部17で置換されたシステムストリームは、時間情報書き換え部18に供給され、システムストリームの時刻基準参照値と復号の時刻管理情報が、削除したBピクチャのフレームの値だけ後方にずれるように、パックヘッダPHのSCRフィールドの値を書き換える。
【0061】
また、時間情報書き換え部18により、パケットに含まれるMPEGビデオストリームの復号時間情報であるパケットヘッダのDTSフィールドが書き換えられ、ストリーム切り出し部19では、切り出し範囲に従ってデータの切り出し、新しいシステムストリームを作成する。このシステムストリームは、再生装置14に供給されて再生(表示)されることとなる(図7(d))。
【0062】
この副映像データの編集方法によれば、副映像データを含むシステムストリームを編集処理する際に、必要である副映像データが編集範囲(切り出し範囲)外に存在する場合でも、編集範囲内に存在するデータのみでは復号処理できないデータを削除し、その領域に当該副映像データに書き込む処理を実施する。この処理によって、副映像データの表示の欠落を無くし、副映像データを正確に表示することができるものである。
【0063】
そのため、この副映像データの編集処理では、既存のシステムストリームを分離して編集して再度多重化することなく、副映像データを編集することが可能であり、大幅に編集時間を削減することが可能となる。更に、元のシステムストリームに映像データ、音声データ及び副映像データ以外のパケットデータが存在しなくとも、副映像データの編集処理を可能とする。
【0064】
尚、本発明は上述した実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変形実施することが可能である。
【0065】
例えば、上記の実施例では、編集処理する対象のデータとして、DVDディスクから読出したシステムストリームを用いたが、他の記録媒体から読み出すシステムストリームでも同様に適用することが可能であり、更に、受信したデジタルテレビ信号等が入力される場合にも適用することが出来るものである。
【0066】
【発明の効果】
以上説明した通り、本発明においては、副映像データを含むシステムストリームを編集処理する際に、映像データを基準に編集範囲を決定し、必要である副映像データが編集範囲外に存在する場合には、編集範囲内の所定の領域に当該副映像データを書き換えることによって、副映像データの表示の欠落を無くし、副映像データを正確に表示することができるものである。
【図面の簡単な説明】
【図1】本発明の実施の形態に係わる副映像データ編集装置で処理されるシステムストリームを構成するパックを説明するための図である。
【図2】本発明の実施の形態に係わる副映像データ編集装置の一構成例を示す図である。
【図3】図2に示す副映像データ編集装置での編集方法を説明するための図である。
【図4】本発明の実施の形態に係わる副映像データ編集装置の他の一構成例を説明するための図である。
【図5】図4に示す副映像データ編集装置で処理されるシステムストリームの編集点におけるGOP構成を示す図である。
【図6】図4に示す副映像データ編集装置での編集方法を説明するための図である。
【図7】同じく図4に示す副映像データ編集装置での編集方法を説明するための図である。
【符号の説明】
1、11 … DVDディスク
2、12 … 読出装置
3、13 … 編集装置
4、14 … 再生装置
5、15 … 編集範囲決定部
6、17 … 副映像データ置換部
7、19 … ストリーム切り出し部
16 … 検出・ストリーム編集部
18 … 時間情報書き換え部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a sub video data editing apparatus and editing method for editing sub video data on a system stream including sub video data such as subtitles.
[0002]
[Prior art]
A large amount of video data, audio data, and sub-video data such as subtitles are compressed using the MPEG method, multiplexed as one bit stream, and recorded on a recording medium such as an optical disk. The MPEG system is a standard defined by the International Standards Organization (ISO) for interpretation of bitstreams and decoding processing thereof, and ISO 13818 is standardized as an MPEG2 standard.
[0003]
In addition, as a method of recording on a recording medium such as an optical disk, compression of sub-video data such as MPEG video that defines a compression encoding method of an image signal, MPEG audio that defines a compression encoding method of an audio signal, and character data An MPEG method (ISO 13818-1) and a DVD video method (DVD Specifications for Read-Only Version 1.0 August 1996) that integrate and multiplex sub-pictures that define an encoding method into a single stream including synchronous reproduction. It is prescribed.
[0004]
In the MPEG video stream, three types of encoded images of I picture, P picture, and B picture are defined. An I picture is an image that can be encoded by itself without referring to other pictures. A P picture is an image that requires a past I picture or a past P picture in terms of time when coding using forward predictive coding. Further, the B picture is an image that is predicted and encoded from past and future I pictures or P pictures in terms of time using bi-directional predictive encoding. When the B picture is encoded, Past and future I pictures or P pictures are required.
[0005]
An MPEG video stream is a collection of these pictures (a collection of GOPs). In general, a GOP is composed of a combination of an I picture, a P picture, and a B picture in order to realize random access and high coding efficiency, and the first coded image of the GOP is an I picture. Since an I picture can be decoded independently without using a reference screen, the GOP can be used as a point for random access from MPEG data.
[0006]
An MPEG audio stream is a set of AAUs (Audio Access Units: minimum units that can be decoded into audio signals one by one), and a sub-picture stream is a SPU (SubPicture Unit: sub-picture unit). = Minimum unit that can be decoded into character data one by one).
[0007]
The MPEG system stream includes an MPEG video stream, an MPEG audio stream, and a sub-picture stream, and information on when to decode and reproduce is added for each playback unit of video, audio, and sub-picture so that they can be reproduced synchronously. Thus, the encoded stream is multiplexed into one.
[0008]
There is a need for an editing system that cuts out a part of such an MPEG system stream and creates a new MPEG system stream.
[0009]
Some conventional editing systems create a new system stream by cutting out the section of the editing range designated by the user from the system stream read from the DVD disc.
[0010]
In such a case, the amount of sub-video data is much smaller than that of the video data, so it can be sent to the buffer a little before the display time during playback. Are often arranged before the video data at the same time.
[0011]
Therefore, when a new system stream corresponding to the cutout range from the editing point is created, there is no subvideo data to be displayed in the cutout range, and the subvideo data is not displayed.
[0012]
In order to solve this problem, for example, a method of separating a system stream read from a DVD disk into a video stream, an audio stream, and a sub-video stream using a demultiplexer (separation device) is considered.
[0013]
Each separated stream is displayed as a new stream by a display that reproduces image data, subtitles, etc., a speaker that reproduces audio data, a keyboard, a mouse, and other input means for the user to specify edit points. Are divided into packs of different sizes, multiplexed, and recorded on a DVD disc.
[0014]
[Problems to be solved by the invention]
According to this conventional method, there is a problem that a sub-video may not be displayed in a system stream created by cutting out a predetermined range from a system stream.
[0015]
Furthermore, in order to display sub-pictures, there is also a method of separating and editing an existing system stream and multiplexing again. However, in this method, a large amount of work time is spent on data processing such as editing and multiplexing. There is a problem of end.
[0016]
Therefore, the present invention provides a sub-picture data editing apparatus and editing method capable of editing sub-picture data so as to be synchronized with video data without separating and editing the system stream and multiplexing again. With the goal.
[0017]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, the sub-picture data editing apparatus according to the present invention edits sub-picture data on a system stream including packet data other than video data, audio data, and sub-picture data. The means for determining and the existence position of the sub video data corresponding to the editing range determined by the determining means are confirmed, and if the sub video data exists outside the editing range, it exists within the editing range. An information rewriting means for writing the sub-picture data at the position of the packet data is provided.
[0018]
Further, the sub-picture data editing apparatus according to the present invention edits the sub-picture data on the system stream, and determines the editing range and the data within the editing range determined by the determining means. An editing unit that deletes data in units of frames that cannot be decoded only with data within this range, and confirms the position of sub-picture data corresponding to the editing range determined by the determining unit, and When the sub-picture data exists outside the editing range, an information rewriting means for writing the sub-picture data in the data area deleted by the editing means is provided.
[0019]
That is, in the present invention, when editing a system stream including sub-video data, if necessary sub-video data exists outside the editing range, the packet data in the editing range is rewritten to sub-video data. Therefore, the sub-picture data can be accurately displayed by eliminating the lack of display of the sub-picture data.
[0020]
Also, in the present invention, when editing a system stream including sub-video data, if necessary sub-video data exists outside the editing range, data that cannot be decoded only with data within the editing range is deleted. In addition, by writing the sub-picture data in the area, it is possible to eliminate the lack of display of the sub-picture data and display the sub-picture data accurately.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
First, pack data constituting an MPEG system stream will be described with reference to FIG.
[0022]
The MPEG system stream is composed of a pack PA as a unit, and is composed of a pack PA, a pack header PH, and one or more packets PK.
[0023]
The pack header PH is provided with an SCR field in which a value of an SCR (System Clock Reference) serving as a time reference when decoding an encoded stream is recorded.
[0024]
The packet PK includes a packet header PKH and packet data PKD in which a stream of video data, audio data, or sub-video data is recorded. Further, the packet data PKD includes an area in which video data, audio data, and sub-video data streams are not recorded, for example, only a header is recorded. Such packet data may be used as an area in which sub-picture data existing outside the editing range is written in processing to be described later.
[0025]
Further, the packet header PKH is provided with a DTS field in which PTS (Presentation Time Stamp), which is time management information for outputting video, audio, and sub-picture included in the packet data PKD for each playback unit, is recorded. ing.
[0026]
Next, the configuration of a sub-picture data editing apparatus that cuts out a part of such an MPEG system stream and creates a new MPEG system stream will be described.
[0027]
FIG. 2 shows the configuration of a sub-picture data editing apparatus according to an embodiment of the present invention.
[0028]
This sub-picture data editing device is composed of a
[0029]
The
[0030]
The
[0031]
The sub-video data replacement unit 6 checks the sub-video data on the system stream corresponding to the cut-out range based on the cut-out range information supplied from the edit
[0032]
Further, the
[0033]
The playback device 4 plays back (displays, etc.) the new system stream generated by the
[0034]
Next, the display timing of video data and sub-video data, the clipping range on the system stream, and the sub-video data replacement method will be described with reference to FIG.
[0035]
The system stream includes a video pack V, a sub-picture pack S, and a dummy pack (pack including other packets) P. In FIG. 3, the system stream corresponding to the cutout range is the video pack V5 and later. On the other hand, since the arrangement (sub-picture pack S2) of the sub-video unit SP2 to be displayed in the cutout range is placed before the video pack V5, the dummy pack (video data) existing in the cutout range is placed. , Packet data area in which audio data and sub-video data are not recorded) P3 is replaced with sub-picture pack S2. In FIG. 3, the sub-picture unit SPn corresponds to the sub-picture pack Sn.
[0036]
The system stream in which the dummy pack P3 is replaced with the sub picture S2 is supplied to the
[0037]
As described above, according to the sub-picture data editing apparatus, the sub-picture data existing position corresponding to the edit range (cutout range) on the system stream is confirmed, and the sub-picture data exists outside the edit range. The sub-picture data editing process is executed by writing the sub-picture data at the position of packet data (an area in which video data, audio data, and sub-picture data are not recorded) existing in the editing range. .
[0038]
Therefore, it is possible to edit existing system streams without separating, editing and re-multiplexing them, and without sub-picture display being lost. Processing can be performed.
[0039]
Next, the configuration of the second embodiment of the sub-picture data editing apparatus according to the present invention will be described with reference to FIG.
[0040]
This sub-picture data editing apparatus can display sub-picture data smoothly even if there is no packet data in which video data, audio data, and sub-picture data are not recorded at a position in time for the sub-picture display timing. It is the composition to do.
[0041]
In this sub-picture data editing apparatus, as shown in FIG. 4, a
[0042]
The
[0043]
In the
[0044]
Next, the detection /
[0045]
Further, the sub-video
[0046]
The time
[0047]
The
[0048]
Details of the editing process in the detection /
[0049]
FIG. 5 is a diagram for explaining a non-reproducible picture of the video stream at the editing point. Since a B picture is an image that is predicted and encoded from past and future I pictures or P pictures in terms of time using bi-directional predictive coding, in the first GOP of the clipping range, the B picture is Decoding processing cannot be performed, and data cannot be reproduced.
[0050]
Therefore, in the sub-picture data editing apparatus shown in the second embodiment, this B picture data is deleted, an area for writing sub-picture data existing outside the editing range is created, and system stream editing processing is executed. To do.
[0051]
Next, a method of editing data by deleting a B picture on the system stream will be described with reference to FIG.
[0052]
As shown in this figure, each picture (I picture, P picture, B picture) has a plurality of packet PAs, and the packet PA is not necessarily completed in units of pictures, and different pictures are included in one packet. May be mixed. FIG. 6 shows an example in which I picture and B picture are mixed.
[0053]
In the case of such a data structure, the detection /
[0054]
That is, in this example, the rearranged data is rearranged in the deleted B picture area to create an empty area for data, to secure an area for inserting a putting packet, and to be a dummy data area It is.
[0055]
With respect to the system stream edited in this way, the
[0056]
FIG. 7 is a flowchart for explaining the flow of processing for editing the sub-picture data in the
[0057]
As shown in this figure, first, the editing
[0058]
As described with reference to FIG. 6, the detection /
[0059]
The sub-picture
[0060]
The system stream replaced by the sub-picture
[0061]
The time
[0062]
According to this editing method of sub-picture data, when editing processing of a system stream including sub-picture data, the necessary sub-picture data exists within the editing range even if it is outside the editing range (cutout range). Data that cannot be decoded only by the data to be deleted is deleted, and processing for writing the sub-picture data in that area is performed. By this process, sub-picture data can be accurately displayed without missing display of sub-picture data.
[0063]
Therefore, in this editing process of sub-picture data, it is possible to edit the sub-picture data without separating and editing the existing system stream, and then multiplexing it again, which can greatly reduce the editing time. It becomes possible. Further, even if there is no packet data other than video data, audio data, and sub-video data in the original system stream, sub-picture data can be edited.
[0064]
The present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention.
[0065]
For example, in the above embodiment, the system stream read from the DVD disc is used as the data to be edited, but the system stream read from another recording medium can be applied in the same manner. The present invention can also be applied when a digital TV signal or the like is input.
[0066]
【The invention's effect】
As described above, in the present invention, when editing a system stream including sub-video data, the editing range is determined based on the video data, and the necessary sub-video data exists outside the editing range. Is to rewrite the sub-picture data in a predetermined area within the editing range, thereby eliminating the lack of display of the sub-picture data and displaying the sub-picture data accurately.
[Brief description of the drawings]
FIG. 1 is a diagram for explaining packs constituting a system stream processed by a sub-picture data editing apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram showing a configuration example of a sub-picture data editing apparatus according to an embodiment of the present invention.
FIG. 3 is a diagram for explaining an editing method in the sub-picture data editing apparatus shown in FIG. 2;
FIG. 4 is a diagram for explaining another configuration example of the sub-video data editing apparatus according to the embodiment of the present invention.
5 is a diagram showing a GOP configuration at an editing point of a system stream processed by the sub-picture data editing apparatus shown in FIG.
6 is a diagram for explaining an editing method in the sub-picture data editing apparatus shown in FIG. 4; FIG.
7 is a diagram for explaining an editing method in the sub-picture data editing apparatus shown in FIG. 4; FIG.
[Explanation of symbols]
DESCRIPTION OF
Claims (10)
編集範囲を決定する手段と、
この決定手段にて決定された編集範囲内に相当する副映像データの存在位置を確認し、当該副映像データが編集範囲外に存在する場合には、編集範囲内に存在する前記パケットデータの位置に当該副映像データを書き込む情報書き換え手段と
を具備することを特徴とする副映像データ編集装置。In a sub-video data editing device for editing sub-video data on a system stream including packet data other than video data, audio data, and sub-video data,
Means for determining the editing range;
The existence position of the sub video data corresponding to the editing range determined by the determining means is confirmed, and if the sub video data exists outside the editing range, the position of the packet data existing within the editing range. And an information rewriting means for writing the sub-video data to the sub-video data editing apparatus.
指定された編集範囲に基づいて、システムストリーム中の映像データの切り出し範囲を決定し、
この決定された切り出し範囲に相当する副映像データの存在位置を確認し、当該副映像データがシステムストリーム上に切り出し範囲外に存在する場合には、切り出し範囲内に存在する前記パケットデータの位置に当該副映像データを書き込み処理することを特徴とする副映像データの編集方法。In a sub video data editing method for editing sub video data on a system stream including packet data other than video data, audio data, and sub video data,
Based on the specified editing range, determine the clipping range of the video data in the system stream,
The sub video data corresponding to the determined cut-out range is confirmed, and if the sub-video data is outside the cut-out range on the system stream, the position of the packet data existing within the cut-out range is set. A sub-picture data editing method, wherein the sub-picture data is written.
編集範囲を決定する手段と、
この決定手段にて決定された編集範囲内のデータの中から、この範囲内のデータのみでは復号処理が不可能なデータをフレーム単位で削除する編集手段と、
この決定手段にて決定された編集範囲内に相当する副映像データの存在位置を確認し、当該副映像データが編集範囲外に存在する場合には、前記編集手段にて削除されたデータ領域に当該副映像データを書き込む情報書き換え手段と、
を具備したことを特徴とする副映像データ編集装置。In the sub-picture data editing device for editing the sub-picture data on the system stream,
Means for determining the editing range;
Of the data within the editing range determined by the determining means, editing means for deleting data that cannot be decoded only with data within this range in units of frames;
The existence position of the sub video data corresponding to the editing range determined by the determining means is confirmed. If the sub video data exists outside the editing range, the data area deleted by the editing means is stored in the data area. Information rewriting means for writing the sub-picture data;
A sub-picture data editing apparatus comprising:
指定された編集範囲に基づいて、システムストリーム中の映像データの切り出し範囲を決定し、
この決定された切り出し範囲内のデータの中から、この範囲内のデータのみでは復号処理が不可能なデータをフレーム単位で削除し、
前記切り出し範囲に相当する副映像データの存在位置を確認し、当該副映像データがシステムストリーム上の切り出し範囲外に存在する場合には、前記フレーム単位で削除されたデータ領域に当該副映像データを書き込み処理することを特徴とする副映像データの編集方法。In the sub video data editing method for editing the sub video data on the system stream,
Based on the specified editing range, determine the clipping range of the video data in the system stream,
From the data within the determined cutout range, data that cannot be decoded only with data within this range is deleted in frame units,
The sub video data corresponding to the cutout range is confirmed, and if the subvideo data is outside the cutout range on the system stream, the subvideo data is stored in the data area deleted in units of frames. A method of editing sub-picture data, characterized by performing a writing process.
切り出し範囲内のデータのみでは復号処理が不可能なデータをフレーム単位で削除する際には、これらのピクチャの中からBピクチャのデータを削除するものであることを特徴とする請求項7記載の副映像データ編集方法。The video data of the system stream includes an I picture that is encoded using only that picture without referring to another picture, a P picture that is encoded using a temporally past I picture or P picture, and time In particular, it is composed of an encoded image of a B picture that is predicted and encoded from past and future I or P pictures,
8. The data of a B picture is deleted from these pictures when deleting data that cannot be decoded only by data within the cutout range in units of frames. Sub-picture data editing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002050776A JP3607681B2 (en) | 2002-02-27 | 2002-02-27 | Sub-picture data editing apparatus and editing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002050776A JP3607681B2 (en) | 2002-02-27 | 2002-02-27 | Sub-picture data editing apparatus and editing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003259282A JP2003259282A (en) | 2003-09-12 |
JP3607681B2 true JP3607681B2 (en) | 2005-01-05 |
Family
ID=28662921
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002050776A Expired - Fee Related JP3607681B2 (en) | 2002-02-27 | 2002-02-27 | Sub-picture data editing apparatus and editing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3607681B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8077977B2 (en) | 2006-08-15 | 2011-12-13 | Fuji Xerox Co., Ltd. | Image processing system, image processing method, computer readable medium and computer data signal |
JP2008046832A (en) * | 2006-08-15 | 2008-02-28 | Fuji Xerox Co Ltd | Image processing system and image processing program |
JP5229066B2 (en) * | 2009-03-31 | 2013-07-03 | 日本電気株式会社 | Video distribution device, video reception device, video distribution method, video reception method, and program |
-
2002
- 2002-02-27 JP JP2002050776A patent/JP3607681B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003259282A (en) | 2003-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4837868B2 (en) | Method and apparatus for editing digital video recordings, and recordings produced by such methods | |
KR100606591B1 (en) | Recording apparatus and method | |
JP4864203B2 (en) | Precise editing of encoded AV sequence frames | |
US7869691B2 (en) | Apparatus for recording a main file and auxiliary files in a track on a record carrier | |
JP5052763B2 (en) | Information storage medium in which video data is recorded, recording method, recording apparatus, reproducing method, and reproducing apparatus | |
JP4299836B2 (en) | Data processing device | |
JP3900050B2 (en) | Data processing apparatus, video camera, and data processing method | |
US20060245729A1 (en) | Data processing device and data processing method | |
WO2000027113A1 (en) | Recording/reproducing apparatus and method | |
JP3607681B2 (en) | Sub-picture data editing apparatus and editing method | |
KR100577327B1 (en) | Av data recording/reproducing apparatus and method and recording medium on which data is recorded by the av data recording/reproducing apparatus or method | |
JP2001043616A (en) | Recording method, recording medium and recorder | |
JPWO2006075457A1 (en) | Recording device | |
JP2004120099A (en) | Information processing apparatus and method, program, and recording medium | |
JP4464101B2 (en) | Transport stream editing method and apparatus | |
KR100888602B1 (en) | Video data recording apparatus and information storage medium on which the video data is recoreded thereby | |
US20060153540A1 (en) | Data stream reocrding method and device | |
JP4861221B2 (en) | RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF | |
JP2000339860A (en) | Data recording and reproducing device | |
JP2007250180A (en) | Recording and reproducing device and method, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040512 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20040512 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20040512 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20040709 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20040802 |
|
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: 20041005 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041007 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081015 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081015 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091015 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101015 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |