JP5171270B2 - Multiplexing method and apparatus for moving picture, and program and computer-readable recording medium - Google Patents
Multiplexing method and apparatus for moving picture, and program and computer-readable recording medium Download PDFInfo
- Publication number
- JP5171270B2 JP5171270B2 JP2008001009A JP2008001009A JP5171270B2 JP 5171270 B2 JP5171270 B2 JP 5171270B2 JP 2008001009 A JP2008001009 A JP 2008001009A JP 2008001009 A JP2008001009 A JP 2008001009A JP 5171270 B2 JP5171270 B2 JP 5171270B2
- Authority
- JP
- Japan
- Prior art keywords
- moving image
- frame
- encoded data
- file
- multiplexing
- 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.)
- Active
Links
Images
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Description
本発明は,フレーム間予測符号化方式を使った画像符号化データの多重化に関する技術である。 The present invention is a technique related to multiplexing of encoded image data using an inter-frame predictive encoding method.
映像符号化には,スケーラブル符号化や多視点映像符号化といった,レイヤ符号化を適用する符号化方式がある。スケーラブル符号化では,SNRスケーラビリティや空間スケーラビリティ等の機能を実現できる。SNRスケーラビリティとは,ベースレイヤの符号化データに対して符号化データを追加することで画像の画品質を向上する機能であり,空間スケーラビリティとは,ベースレイヤの符号化データに対して符号化データを追加することで画像の空間解像度を向上する機能である。 Video coding includes coding methods that apply layer coding, such as scalable coding and multi-view video coding. In scalable coding, functions such as SNR scalability and spatial scalability can be realized. The SNR scalability is a function that improves the image quality of an image by adding the encoded data to the base layer encoded data. The spatial scalability is the encoded data for the base layer encoded data. This is a function that improves the spatial resolution of an image by adding.
スケーラブル符号化の概念図を図11に示す。スケーラブル符号化では,図11に示すように,復号画像あるいは符号化情報をレイヤ間で再利用することにより,符号量の削減が図られている。 FIG. 11 shows a conceptual diagram of scalable coding. In scalable encoding, as shown in FIG. 11, the amount of code is reduced by reusing a decoded image or encoded information between layers.
近年では,映像符号化方式H.264の拡張方式としてSVCと呼ぶ方式がAnnexGとして標準化されている(非特許文献1参照)。 In recent years, the video encoding system As a H.264 extension method, a method called SVC is standardized as Annex G (see Non-Patent Document 1).
また,多視点映像符号化においてもレイヤ符号化が適用される。近年では,やはり映像符号化方式H.264の拡張方式としてMVCと呼ぶ方式が標準化されようとしている。MVCでは,複数の視点映像をまとめて符号化する仕組みが採用されている。動画像の符号化では動き補償符号化が利用されるが,多視点映像の場合には,動き補償に加えて,視点映像間でフレーム間予測符号化を適用する視差補償符号化を利用する。MVCでは視差補償を利用することで,個別に視点映像を符号化するよりも圧縮効率を向上できる。また,MVCでは,アプリケーションとして自由視点映像といった,視聴者が自由に視点位置を選択できる映像表現を想定している(非特許文献2,非特許文献3参照)。
Layer coding is also applied in multi-view video coding. In recent years, the video encoding system H.264 A method called MVC is being standardized as an H.264 extension method. In MVC, a mechanism for collectively encoding a plurality of viewpoint videos is employed. In motion picture encoding, motion compensation encoding is used. In the case of multi-view video, in addition to motion compensation, disparity compensation encoding that applies inter-frame prediction encoding between viewpoint videos is used. In MVC, by using parallax compensation, the compression efficiency can be improved as compared to encoding the viewpoint video individually. In addition, MVC assumes a video expression that allows a viewer to freely select a viewpoint position, such as a free viewpoint video as an application (see Non-Patent
このため,映像シーンを非常に多くのカメラで撮影しておき,視聴者が見たい視点位置の映像を選択するような利用方法が想定されている。すなわち,撮影した多くの視点映像データのうち,いくつかを選択して復号して再生することが想定されている。このように非常に多くの視点映像からいくつかの視点映像を選択して復号する機能を視点映像スケーラビリティと呼ぶ。MVCは多視点映像を想定した符号化方式ではあるが,まとめて符号化する対象はカメラ映像に限定されない。すなわち,一般的に複数の動画像をまとめて圧縮する符号化方式と考えることができる。 For this reason, it is assumed that the video scene is photographed by a large number of cameras and the video at the viewpoint position that the viewer wants to view is selected. That is, it is assumed that some of the captured viewpoint video data are selected, decoded, and reproduced. Such a function of selecting and decoding several viewpoint videos from a very large number of viewpoint videos is called viewpoint video scalability. MVC is an encoding method that assumes multi-view video, but the target to be encoded together is not limited to camera video. That is, it can be considered as a coding method that generally compresses a plurality of moving images together.
このMVCでは,前述のとおり,非常に多くの動画像からいくつかの動画像を選択して復号することを実現するため,スケーラブル符号化のように1つのベースレイヤに対してレイヤ構造を持つのではなく,複数のベースレイヤに対してレイヤ構造を持つような構成となる。 As described above, this MVC has a layer structure for one base layer as in scalable coding in order to select and decode several moving images from a large number of moving images. Instead, the configuration is such that a plurality of base layers have a layer structure.
図12はMVCの参照関係の例,図13はMVCの符号化データの構成例を示す図である。例えば,図12に示すような参照関係がある場合には,MVCの符号化データは同じ時刻のフレームについて図13に示すような構成になる。この同じ時刻のフレームの固まりをアクセスユニットと呼ぶ。MVCではベースレイヤに相当するレイヤが複数存在する。MVCでは動画像間の参照関係をサブセットSPS(subset_seq _parameter _set )の中のMVC拡張部分で記述する。サブセットSPSは符号化データ中に含まれ,複数設定できる。各フレームでは,利用するサブセットSPSを指定することができる。 FIG. 12 is a diagram illustrating an example of a reference relationship of MVC, and FIG. 13 is a diagram illustrating a configuration example of encoded data of MVC. For example, if there is a reference relationship as shown in FIG. 12, the encoded data of MVC has a configuration as shown in FIG. 13 for frames at the same time. This group of frames at the same time is called an access unit. In MVC, there are a plurality of layers corresponding to the base layer. In MVC, a reference relationship between moving images is described by an MVC extension in a subset SPS (subset_seq_parameter_set). The subset SPS is included in the encoded data, and a plurality of subsets can be set. In each frame, a subset SPS to be used can be designated.
一方,このような映像符号化データをファイル化して保存するために,ファイルフォーマット技術が利用される。ファイルフォーマットとは,符号化データを多重化するための技術でもあり,符号化データストリームを構造化しておくことで,特定の情報に関する符号化データを低遅延で取り出す機能を有する。一般的にファイルフォーマットでは,各種のデータストリームをトラックに格納して,トラックの情報を特定の時刻を単位に分割して多重化する。各トラックには,映像または音声の符号化データの他に,CGデータや著作権情報などのメタデータが格納される。 On the other hand, a file format technique is used to store such encoded video data as a file. The file format is also a technique for multiplexing encoded data, and has a function of extracting encoded data related to specific information with low delay by structuring the encoded data stream. Generally, in a file format, various data streams are stored in a track, and track information is divided and multiplexed in units of specific times. Each track stores metadata such as CG data and copyright information in addition to video or audio encoded data.
もっとも簡単なファイルフォーマットとしては,AVIフォーマットが挙げられる。AVIフォーマットは,映像データと音声データを1フレーム単位に多重化する。そのほかにも国際標準化されているフォーマットとして,ISOメディアファイルフォーマットが挙げられる。ISOフォーマットでは,フレームに相当するものとしてサンプルを定義し,サンプルを単位にトラックを分割して多重化する。 The simplest file format is the AVI format. In the AVI format, video data and audio data are multiplexed in units of one frame. Another ISO standard file format is an international standardized format. In the ISO format, a sample is defined as being equivalent to a frame, and a track is divided and multiplexed in units of samples.
ISOメディアファイルフォーマットでは,符号化データの他に,フレーム番号等の時刻情報とフレーム先頭のファイル中の位置情報を管理情報として別のトラックとして構成することができる。ファイルを再生する場合には,この管理情報を記録したトラックを調べることで,フレームの先頭位置情報を知ることができ,所望のフレームの先頭に低遅延でアクセスすることが可能となる。 In the ISO media file format, in addition to encoded data, time information such as a frame number and position information in the file at the head of the frame can be configured as separate tracks as management information. When playing back a file, by checking the track in which this management information is recorded, it is possible to know the start position information of the frame, and to access the start of the desired frame with low delay.
ファイル中におけるトラックや管理情報の関係の例を図14に示す。符号化データトラックには,各動画像の符号化データが格納され,管理情報トラックには,各時刻におけるフレームの位置情報等が格納される。前述したSVC用にもファイルフォーマットが提案されている。SVCもトラックを単位にファイルを構成する(非特許文献4参照)。
例えばSVCのように,従来のレイヤ符号化を用いて符号化された符号化データを復号する場合,必ず下位レイヤを復号して上位レイヤの復号を行っていた。一方で,MVCのように複数のベースレイヤがある場合には,必ずしも下位レイヤを復号する必要はない。したがって,所望の動画像を復号するにあたっては,復号に必要な動画像のみを選択して復号すればよい。MVCにおける,このような動画像の参照関係はSPSに記述されているため,デコーダはSPSを復号することで参照関係を導いていた。 For example, when decoding encoded data encoded using conventional layer encoding, such as SVC, the lower layer is always decoded and the upper layer is decoded. On the other hand, when there are a plurality of base layers as in MVC, it is not always necessary to decode lower layers. Therefore, when decoding a desired moving image, only a moving image necessary for decoding may be selected and decoded. Since such a moving image reference relationship in MVC is described in SPS, the decoder has derived the reference relationship by decoding SPS.
しかしながら,SPSを復号するためには,そのSPSを符号化データ中から探し出す必要がある。このため,特にファイルに蓄積されている場合には,ファイルの先頭からSPSを順次探して復号する必要があり,大きな負荷がかかっていた。この負荷を低減することが本発明の課題である。 However, in order to decode the SPS, it is necessary to find the SPS from the encoded data. For this reason, in particular, when it is stored in a file, it is necessary to sequentially search and decode the SPS from the beginning of the file, which is a heavy load. It is an object of the present invention to reduce this load.
本発明の技術的背景を踏まえて,さらに詳しく本発明の課題について説明する。複数の動画像をまとめて符号化する場合に,動画像間でフレーム間予測符号化を適用する。必ずしもすべての動画像が他の動画像を参照する必要はなく,自分の画像のみ参照する動画像が存在する。このような動画像は,逆に単独で復号できるメリットがある。多視点動画像符号化では,このような単独で復号できる動画像をベースレイヤとして,その他の動画像を拡張レイヤとして符号化する。多視点動画像符号化の場合には,多くの動画像をまとめて符号化するため,ベースレイヤを符号化データ中に複数持つことができるという特徴がある。 Based on the technical background of the present invention, the problem of the present invention will be described in more detail. When encoding a plurality of moving images collectively, inter-frame prediction encoding is applied between the moving images. It is not always necessary for all moving images to refer to other moving images, and there exists a moving image that refers only to its own image. Conversely, such a moving image has an advantage that it can be decoded independently. In multi-view video encoding, a video that can be decoded independently is used as a base layer, and other video is encoded as an enhancement layer. In the case of multi-view video encoding, since many video are encoded together, there is a feature that a plurality of base layers can be included in encoded data.
符号化データ中に複数のベースレイヤがある場合に,そのベースレイヤのみを取り出すことができると,部分的な動画像を復号することができため,大変有効である。符号化データ中に,どの動画像がベースレイヤなのかといった情報を含めることができる。 When there are a plurality of base layers in the encoded data, if only the base layer can be extracted, a partial moving image can be decoded, which is very effective. Information such as which moving image is the base layer can be included in the encoded data.
しかしながら,従来の符号化データの構成では,ファイル中の各ベースレイヤの位置を知るためには,符号化データを復号する必要があった。このため,ベースレイヤの符号化データのみを取り出すために,大きな負荷がかかるという問題があった。 However, in the configuration of the conventional encoded data, it is necessary to decode the encoded data in order to know the position of each base layer in the file. For this reason, there is a problem that a large load is applied to extract only the encoded data of the base layer.
本発明は,このようなベースレイヤ(単独で復号できる動画像)の符号化データを取り出すときの負荷を低減する新しい技術手段を提供することを目的とする。 It is an object of the present invention to provide a new technical means for reducing the load when taking out encoded data of such a base layer (moving image that can be decoded independently).
本発明は,以上の課題を次のように解決する。符号化データを多重化するファイルフォーマット技術がある。このファイルフォーマット技術では,符号化データと管理情報に分けて,管理情報に各フレーム先頭位置情報を格納することが行われている。本発明では,このような管理情報に,フレーム先頭位置情報のほかに,他の動画像に関係なく単独で復号できるかどうかの情報を含める。これにより,管理情報を読み取るだけで,単独で復号できるフレームの先頭位置を知ることができ,そのようなフレームの符号化データを低負荷で取り出すことができる。 The present invention solves the above problems as follows. There is a file format technique for multiplexing encoded data. In this file format technology, each frame head position information is stored in management information separately into encoded data and management information. In the present invention, such management information includes, in addition to the frame head position information, information indicating whether or not independent decoding is possible regardless of other moving images. Thereby, it is possible to know the head position of a frame that can be decoded independently only by reading the management information, and the encoded data of such a frame can be taken out with a low load.
具体的には,本発明は,n個(n≧2)の動画像の間で予測符号化して作成された符号化データを多重化してファイルを構成する多重化方法であって,動画像のフレームの時刻ごとに,動画像のフレーム先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームを復号する際に他の動画像のフレームの復号画像情報が必要かどうかを示す独立復号識別情報とを含むn個の動画像分の管理情報を多重化し,符号化データの特定の位置に設定することを特徴とする。 Specifically, the present invention is a multiplexing method in which encoded data created by predictive encoding among n (n ≧ 2) moving images is multiplexed to form a file . For each frame time , the position information in the file at the head of the moving image, the moving image number for distinguishing the moving image, and whether the decoded image information of another moving image frame is necessary when decoding the frame The management information for n moving images including the independent decoding identification information indicating the above is multiplexed and set at a specific position of the encoded data.
この多重化方法によれば,符号化データ中の特定の位置にある管理情報を復号することで,すべての符号化データを復号することなく,ファイルからベースレイヤとなる動画像のフレームの先頭位置を求めて,そのフレームの符号化データを取り出すことができる。同時に,符号化データを復号することなく,その動画像の動画像番号も求めることができる。これにより,ベースレイヤとなる動画像の動画像番号が予め分かっている場合に,符号化データ中に含まれる動画像間の参照関係の情報を探索して復号することなく,低演算負荷かつ低遅延で,所望の動画像の符号化データを復号して再生することができる。 According to this multiplexing method, by decoding the management information at a specific position in the encoded data, the start position of the frame of the moving image frame that becomes the base layer from the file without decoding all the encoded data And the encoded data of the frame can be extracted. At the same time, the moving image number of the moving image can be obtained without decoding the encoded data. As a result, when the moving image number of the moving image serving as the base layer is known in advance, the information of the reference relationship between the moving images included in the encoded data is not searched and decoded, and the calculation load is low. The encoded data of the desired moving image can be decoded and reproduced with a delay.
この発明において,独立復号識別情報等の管理情報を符号化データに多重化する位置については,すべての符号化データの最後,すべての符号化データの前などの,予め定められたファイル中の位置や,符号化データを含むトラックの前や後などでもよい。 In this invention, with respect to the position where management information such as independent decoding identification information is multiplexed in the encoded data, the position in the predetermined file such as the end of all encoded data, before all encoded data, etc. Or before or after the track including the encoded data.
また,本発明は,n個(n≧2)の動画像の間で予測符号化して作成された符号化データを多重化してファイルを構成する多重化方法であって,動画像のフレーム先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームを復号する際に他の動画像のフレームの復号画像情報が必要かどうかを示す独立復号識別情報とを含むn個の動画像分の管理情報を第一のトラックとし,符号化データと動画像間の予測符号化における参照関係情報を第二のトラックとして,第一のトラックと第二のトラックとをそれぞれ独立に多重化することを特徴とする。 Further, the present invention is a multiplexing method for forming a file by multiplexing encoded data created by predictive encoding between n (n ≧ 2) moving images, and comprising a file at the head of a frame of the moving image. N pieces of information including position information in the file, a moving image number for distinguishing moving images, and independent decoding identification information indicating whether or not decoded image information of a frame of another moving image is necessary when decoding the frame The management information for the moving image is the first track, the reference relationship information in the predictive coding between the encoded data and the moving image is the second track, and the first track and the second track are multiplexed independently. It is characterized by becoming.
この多重化方法によれば,第一のトラックに含まれる独立復号識別情報を復号することで,第二のトラックの符号化データを復号することなく,ファイルからベースレイヤとなる動画像のフレームの先頭位置を求めて,そのフレームの符号化データを取り出すことができる。同時に,符号化データを復号することなく,その動画像の動画像番号も求めることができる。これにより,ベースレイヤとなる動画像の動画像番号が予め分かっている場合に,符号化データ中に含まれる動画像間の参照関係の情報を復号することなく,低演算負荷かつ低遅延で,所望の動画像の符号化データを復号して再生することができる。 According to this multiplexing method, by decoding the independent decoding identification information included in the first track, it is possible to decode the frame of the moving image frame serving as the base layer without decoding the encoded data of the second track. The head position can be obtained and the encoded data of the frame can be extracted. At the same time, the moving image number of the moving image can be obtained without decoding the encoded data. Thereby, when the moving image number of the moving image serving as the base layer is known in advance, the information on the reference relationship between the moving images included in the encoded data is not decoded, and with low calculation load and low delay, It is possible to decode and reproduce encoded data of a desired moving image.
さらに,動画像間の参照関係を示す情報のファイル中の位置情報を,符号化データの位置情報と一緒に多重化しておいてもよい。この場合には,この位置情報を参照することで,動画像間の参照関係を示す情報を符号化データから読み出すことができる。読み出して得られる参照関係から,その動画像を参照する動画像番号を求めることができる。これにより,ベースレイヤとなる動画像の動画像番号が予め分かっている場合に,ベースレイヤの符号化データと,それを参照する動画像の符号化データを取り出して,低演算負荷かつ低遅延で,所望の動画像の符号化データを復号して再生することができる。 Furthermore, the position information in the information file indicating the reference relationship between the moving images may be multiplexed together with the position information of the encoded data. In this case, by referring to this position information, information indicating the reference relationship between moving images can be read from the encoded data. From the reference relationship obtained by reading, a moving image number referring to the moving image can be obtained. As a result, when the moving image number of the moving image serving as the base layer is known in advance, the encoded data of the base layer and the encoded data of the moving image that refers to the extracted data are extracted, and the calculation load is low and the delay is low. , The encoded data of the desired moving image can be decoded and reproduced.
また,本発明の関連発明は,複数の動画像の間で予測符号化して作成された符号化データを多重化してファイルを構成する多重化方法であって,動画像のフレーム先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームを復号する際に必要な動画像の動画像番号である参照動画像番号を多重化し,符号化データの特定の位置に設定することを特徴とする。 Further, a related invention of the present invention is a multiplexing method for forming a file by multiplexing encoded data created by predictive encoding between a plurality of moving images, in a file at the head of a frame of a moving image. Multiplexing position information, a moving picture number for distinguishing moving pictures, and a reference moving picture number that is a moving picture number of a moving picture necessary for decoding the frame, and setting it to a specific position of encoded data It is characterized by.
この多重化方法によれば,符号化データ中の特定の位置にある管理情報を復号することで,すべての符号化データを復号することなく,復号する対象のフレームを復号するために必要な動画像の動画像番号である参照動画像番号を求めて,その動画像の符号化データ全てを取り出すことができる。これにより,符号化データ中に含まれる動画像間の参照関係の情報を探索して復号することなく,低演算負荷かつ低遅延で,所望の動画像の符号化データを復号して再生することができる。 According to this multiplexing method, by decoding management information at a specific position in the encoded data, the moving image necessary for decoding the frame to be decoded without decoding all the encoded data. A reference moving image number which is a moving image number of an image is obtained, and all encoded data of the moving image can be extracted. As a result, it is possible to decode and reproduce the encoded data of a desired moving image with low computational load and low delay without searching for and decoding information on the reference relationship between the moving images included in the encoded data. Can do.
参照動画像番号の他に,参照動画像番号に対応する動画像番号のフレームのフレーム先頭位置情報を,管理情報として多重化してもよい。 In addition to the reference moving image number, frame head position information of a frame having a moving image number corresponding to the reference moving image number may be multiplexed as management information.
この発明において,参照動画像番号等の管理情報を符号化データに多重化する位置については,すべての符号化データの最後,すべての符号化データの前などの,予め定められたファイル中の位置や,符号化データを含むトラックの前や後などでもよい。 In the present invention, with respect to the position where the management information such as the reference video number is multiplexed with the encoded data, the position in the predetermined file such as the end of all the encoded data, before all the encoded data, etc. Or before or after the track including the encoded data.
また他の本発明の関連発明は,複数の動画像の間で予測符号化して作成された符号化データを多重化してファイルを構成する多重化方法であって,動画像のフレーム先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームを復号する際に必要な動画像の動画像番号である参照動画像番号を第一のトラックとし,符号化データと動画像間の予測符号化における参照関係情報を第二のトラックとして,第一のトラックと第二のトラックをそれぞれ独立に多重化することを特徴とする。 Another related invention of the present invention is a multiplexing method in which encoded data created by predictive encoding between a plurality of moving images is multiplexed to form a file. Position information, a moving image number for distinguishing moving images, and a reference moving image number which is a moving image number of a moving image necessary for decoding the frame as a first track, and between encoded data and moving images The reference relationship information in the predictive encoding is used as the second track, and the first track and the second track are multiplexed independently.
この多重化方法によれば,第一のトラックに含まれる参照動画像番号を復号することで,第二のトラックの符号化データを復号することなく,ファイルから復号する対象のフレームを復号するために必要な動画像の動画像番号を求めて,その動画像の符号化データ全てを取り出すことができる。これにより,符号化データ中に含まれる動画像間の参照関係の情報を復号することなく,低演算負荷かつ低遅延で,所望の動画像の符号化データを復号して再生することができる。 According to this multiplexing method, by decoding the reference video number included in the first track, the frame to be decoded from the file can be decoded without decoding the encoded data of the second track. Thus, it is possible to obtain the moving image number of the moving image necessary for obtaining all the encoded data of the moving image. As a result, the encoded data of the desired moving image can be decoded and reproduced with low computational load and low delay without decoding the reference relationship information between the moving images included in the encoded data.
さらに他の本発明の関連発明は,複数の動画像の間で予測符号化して作成された符号化データを多重化してファイルを構成する多重化方法であって,動画像のフレーム先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームの復号画像または符号化データが他の動画像の復号に利用される場合には,その利用先の動画像の動画像番号である利用先動画像番号を多重化し,符号化データの特定の位置に設定することを特徴とする。 Still another related invention of the present invention is a multiplexing method for forming a file by multiplexing encoded data created by predictive encoding between a plurality of moving images, and in a file at the head of a frame of a moving image. If the decoded image or encoded data of the frame is used for decoding other moving images, the position information of the moving image, the moving image number of the moving image of the use destination, It is characterized in that a certain use destination moving picture number is multiplexed and set at a specific position of encoded data.
この多重化方法によれば,符号化データ中の特定の位置にある情報を復号することで,すべての符号化データを復号することなく,特定のフレーム(処理対象フレーム)について,以後のフレーム(利用先フレーム)の符号化データを復号する際に,処理対象フレームの復号画像または符号化データを利用するかどうかを判定することができる。これにより,映像データを配信する際の配信サーバの処理負荷を低減できる。例えば,映像配信サーバがファイルを読み込んで,クライアントが所望の動画像の符号化データを要求する配信システムにおいて,クライアントが要求する動画像の利用先フレームの符号化データを配信する際に,利用先フレームの復号で必要な処理対象フレームの符号化データを選択して配信することができる。 According to this multiplexing method, by decoding the information at a specific position in the encoded data, the subsequent frame (frame to be processed) can be determined for a specific frame (processing target frame) without decoding all the encoded data. When decoding the encoded data of the use destination frame), it is possible to determine whether to use the decoded image or encoded data of the processing target frame. Thereby, the processing load of the distribution server when distributing the video data can be reduced. For example, in a distribution system in which a video distribution server reads a file and a client requests encoded data of a desired moving image, when the encoded data of a moving image usage frame requested by the client is distributed, It is possible to select and distribute encoded data of a processing target frame necessary for frame decoding.
この発明において,利用先動画像番号等の管理情報を符号化データに多重化する位置については,すべての符号化データの最後,すべての符号化データの前などの,予め定められたファイル中の位置や,符号化データを含むトラックの前や後などでもよい。 In the present invention, the position where the management information such as the use destination video number is multiplexed with the encoded data, the end of all the encoded data, before all the encoded data, etc. It may be before or after the position or the track containing the encoded data.
さらに他の本発明の関連発明は,複数の動画像の間で予測符号化して作成された符号化データを多重化してファイルを構成する多重化方法であって,動画像のフレーム先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームの復号画像または符号化データが他の動画像の復号に利用される場合には,その利用先の動画像の動画像番号である利用先動画像番号を第一のトラックとし,符号化データと動画像間の予測符号化における参照関係情報を第二のトラックとして,第一のトラックと第二のトラックをそれぞれ独立に多重化することを特徴とする。 Still another related invention of the present invention is a multiplexing method for forming a file by multiplexing encoded data created by predictive encoding between a plurality of moving images, and in a file at the head of a frame of a moving image. If the decoded image or encoded data of the frame is used for decoding other moving images, the position information of the moving image, the moving image number of the moving image of the use destination, A certain destination video number is set as the first track, reference relationship information in predictive encoding between the encoded data and the video is set as the second track, and the first track and the second track are multiplexed independently. It is characterized by doing.
この多重化方法によれば,第一のトラックに含まれる管理情報を復号することで,第二のトラックの符号化データを復号することなく,特定のフレーム(処理対象フレーム)について,以後のフレーム(利用先フレーム)の符号化データを復号する際に,処理対象フレームの復号画像または符号化データを利用するかどうかを判定することができる。これにより,映像データを配信する際の配信サーバの処理負荷を低減できる。例えば,映像配信サーバがファイルを読み込んで,クライアントが所望の動画像の符号化データを要求する配信システムにおいて,クライアントが要求する動画像の利用先フレームの符号化データを配信する際に,利用先フレームの復号で必要な処理対象フレームの符号化データを選択して配信することができる。 According to this multiplexing method, the management information contained in the first track is decoded, so that the subsequent frames of the specific frame (processing target frame) are decoded without decoding the encoded data of the second track. When decoding the encoded data of (use destination frame), it is possible to determine whether to use the decoded image or encoded data of the processing target frame. Thereby, the processing load of the distribution server when distributing the video data can be reduced. For example, in a distribution system in which a video distribution server reads a file and a client requests encoded data of a desired moving image, when the encoded data of a moving image usage frame requested by the client is distributed, It is possible to select and distribute encoded data of a processing target frame necessary for frame decoding.
なお,以上では,フレーム単位に管理情報を設定する例について説明したが,本発明において,フレームを分割したスライス単位に管理情報を設定してもよい。この場合には,管理情報はフレーム先頭位置の代わりに,スライス先頭位置情報を含む。また,多重化や読み取りもフレーム単位ではなく,スライス単位で行う。 Although an example in which management information is set for each frame has been described above, in the present invention, management information may be set for each slice obtained by dividing a frame. In this case, the management information includes slice head position information instead of the frame head position. In addition, multiplexing and reading are performed not on a frame basis but on a slice basis.
本発明によれば,複数の動画像をまとめて符号化した符号化データを多重化したファイルの中から,符号化データを復号することなく低演算負荷で,独立して復号できる動画像の符号化データや,所望の動画像の符号化データを取り出すことができる。 According to the present invention, a moving image code that can be decoded independently from a file obtained by multiplexing encoded data obtained by collectively encoding a plurality of moving images with low computational load without decoding the encoded data. Encoded data and encoded data of a desired moving image can be extracted.
以下,図面を用いて本発明および関連発明による多重化方法と,多重化されたファイルを読み込んで再生する方法の実施例を説明する。主に,以下で説明する第1の実施例が本発明の実施例であり,第2,第3の実施例が本発明の関連発明の実施例である。 Embodiments of a multiplexing method according to the present invention and related invention and a method for reading and reproducing a multiplexed file will be described below with reference to the drawings. The first embodiment described below is mainly an embodiment of the present invention, and the second and third embodiments are embodiments of the related invention of the present invention.
第1の実施例では,フレーム先頭の位置情報と動画像番号と独立復号識別情報を管理情報として多重化し,全ての符号化データを多重化した最後に設定する場合の例を示す。動画像はA,B,C,Dの4つあり,予め符号化されていて,各動画像におけるフレーム先頭の位置情報は分かっているものとする。 In the first embodiment, an example is shown in which the frame head position information, moving picture number, and independent decoding identification information are multiplexed as management information, and all encoded data are set at the end of multiplexing. It is assumed that there are four moving images A, B, C, and D, which are encoded in advance, and the position information of the frame head in each moving image is known.
図1に,多重化装置の構成を示す。この多重化装置10は,動画像A,B,C,Dの符号化データをそれぞれ入力する動画像A符号化データ入力部101,動画像B符号化データ入力部102,動画像C符号化データ入力部103,動画像D符号化データ入力部104と,各動画像のフレーム先頭の動画像中の位置情報をそれぞれ入力する動画像Aフレーム位置情報入力部106,動画像Bフレーム位置情報入力部107,動画像Cフレーム位置情報入力部108,動画像Dフレーム位置情報入力部109と,動画像間の参照関係を示す情報を入力する参照関係データ入力部105と,動画像の符号化データやフレーム位置情報の入力を切り替えるデータ切り替え部110と,符号化データを多重化する符号化データ多重化部111と,動画像番号を設定する動画像番号設定部112と,独立復号識別情報を設定する独立復号識別情報設定部113と,フレーム位置の先頭情報を設定するフレーム先頭位置情報設定部114と,管理情報を多重化する管理情報多重化部116と,符号化データと管理情報を多重化するファイル多重化部115とから構成される。
FIG. 1 shows the configuration of the multiplexing apparatus. The
以上のうち,動画像番号設定部112では,動画像A,B,C,Dに対してそれぞれ動画像番号0,1,2,3を設定するものとする。動画像AからDまでのフレーム位置情報入力部101〜104は,次のフレームの位置情報を入力するものとする。フレーム先頭位置情報設定部114は,各動画像のフレーム位置情報をカウントし,符号化データ多重化部111で符号化データを多重化した後における各フレームの位置情報を設定するものとする。独立復号識別情報設定部113は,独立して復号できる場合には独立復号識別情報として1を設定し,独立して復号できない場合には独立復号識別情報として0を設定するものとする。ファイル多重化部115は,符号化データ多重化部111で作成された符号化データの後に,管理情報多重化部116で作成された管理情報を設定するものとする。符号化データ多重化部111は,参照関係データがある場合には各動画像の符号化データの前に多重化するものとする。
Among the above, the moving image
データ切り替え部110は,参照関係データに従い,次のように符号化データとファイル先頭位置情報を切り替えるものとする。動画像AからDまで順に,まず独立して復号できる動画像かどうかを判定する。独立して復号できる場合には,そのまま選択する。独立して復号できない場合には,参照する動画像の符号化データを既に選択したかどうかを判定する。既に選択した場合には,そのまま選択し,まだ選択していない場合には,参照する動画像が全て選択されるまで,その動画像を選択しない。
The
動画像間の参照関係は,次のようになっているとする。まず先頭から2フレームでは,動画像AとCは独立して復号でき,動画像Bは動画像Aを参照し,動画像Dは動画像Cを参照するものとする。その後2フレームでは,動画像AとDは独立して復号でき,動画像Bと動画像Cは動画像Aと動画像Dを参照するものとする。 Assume that the reference relationship between moving images is as follows. First, in the first two frames, moving images A and C can be decoded independently, moving image B refers to moving image A, and moving image D refers to moving image C. Thereafter, in two frames, moving images A and D can be decoded independently, and moving images B and C refer to moving images A and D.
以上の前提で動画像A,B,C,Dを4フレーム多重化する場合には,これらの動画像の各フレームは,次のように多重化される。 When four frames of the moving images A, B, C, and D are multiplexed on the above assumption, each frame of these moving images is multiplexed as follows.
まず,先頭フレームについては次のように多重化される。参照関係データ入力部105は,動画像間の参照関係データを入力する。データ切り替え部110は,参照関係データに従って符号化データを多重化する順序を決定する。ここでは,次の順序に決定する。動画像Aは独立して復号できるため,まず動画像Aを選択する。動画像Bは動画像Aのみを参照するため,次に動画像Bを選択する。動画像Cは独立して復号できるため,次に動画像Cを選択する。そして動画像Dを選択する。符号化データ多重化部111は,参照関係データを多重化する。フレーム先頭位置情報設定部114は,参照関係データのデータサイズ分だけファイルサイズを加算する。
First, the first frame is multiplexed as follows. The reference relationship
多重化する順序に従い,データ切り替え部110は,符号化データとフレーム先頭位置情報を切り替える。まず動画像Aを選択する。動画像A符号化データ入力部101は,符号化データを1フレーム分入力し,動画像Aフレーム位置情報入力部106は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号0を設定する。独立復号識別情報設定部113は,独立復号識別情報として1を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と独立復号識別情報を多重化する。
In accordance with the order of multiplexing, the
続いてデータ切り替え部110は,動画像Bを選択する。動画像B符号化データ入力部102は,符号化データを1フレーム分入力し,動画像Bフレーム位置情報入力部107は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号1を設定する。独立復号識別情報設定部113は,独立復号識別情報として0を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と独立復号識別情報を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Cを選択する。動画像C符号化データ入力部103は,符号化データを1フレーム分入力し,動画像Cフレーム位置情報入力部108は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号2を設定する。独立復号識別情報設定部113は,独立復号識別情報として1を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と独立復号識別情報を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Dを選択する。動画像D符号化データ入力部104は,符号化データを1フレーム分入力し,動画像Dフレーム位置情報入力部109は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号3を設定する。独立復号識別情報設定部113は,独立復号識別情報として0を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と独立復号識別情報を多重化する。
Subsequently, the
以上の動画像A,B,C,Dの処理をそれぞれさらに1フレーム分実行する。 The above processing of the moving images A, B, C, and D is further performed for one frame.
次に参照関係データ入力部105は,動画像間の参照関係データを入力する。データ切り替え部110は,参照関係データに従って符号化データを多重化する順序を決定する。ここでは,次の順序に決定する。動画像Aは独立して復号できるため,まず動画像Aを選択する。動画像Bは動画像Aと動画像Dを参照するため,動画像Bは選択しない。動画像Cは動画像Aと動画像Dを参照するため,動画像Cは選択しない。動画像Dは独立して復号できるため,次に動画像Dを選択する。そして動画像Bを選択し,動画像Cを選択する。符号化データ多重化部111は,参照関係データを多重化する。フレーム先頭位置情報設定部114は,参照関係データのデータサイズ分だけファイルサイズを加算する。
Next, the reference relationship
多重化する順序に従い,データ切り替え部110は,符号化データとフレーム先頭位置情報を切り替える。まず動画像Aを選択する。動画像A符号化データ入力部101は,符号化データを1フレーム分入力し,動画像Aフレーム位置情報入力部106は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号0を設定する。独立復号識別情報設定部113は,独立復号識別情報として1を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と独立復号識別情報を多重化する。
In accordance with the order of multiplexing, the
続いてデータ切り替え部110は,動画像Dを選択する。動画像D符号化データ入力部104は,符号化データを1フレーム分入力し,動画像Dフレーム位置情報入力部109は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号3を設定する。独立復号識別情報設定部113は,独立復号識別情報として1を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と独立復号識別情報を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Bを選択する。動画像B符号化データ入力部102は,符号化データを1フレーム分入力し,動画像Bフレーム位置情報入力部107は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号1を設定する。独立復号識別情報設定部113は,独立復号識別情報として0を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と独立復号識別情報を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Cを選択する。動画像C符号化データ入力部103は,符号化データを1フレーム分入力し,動画像Cフレーム位置情報入力部108は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号2を設定する。独立復号識別情報設定部113は,独立復号識別情報として0を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と独立復号識別情報を多重化する。
Subsequently, the
以上の動画像A,D,B,Cの処理をそれぞれさらに1フレーム分実行する。最後にファイル多重化部115は,符号化データ多重化部111で得られる符号化データと,管理情報多重化部116で得られる管理情報を多重化してファイルを作成する。以上の処理でファイルに多重化することができる。
The above processing of the moving images A, D, B, and C is further executed for one frame. Finally, the
本実施例では,予め符号化して得られた符号化データとファイル先頭位置情報から多重化してファイルを作成する例を示したが,符号化データを作成しつつファイルを構成してもよい。 In the present embodiment, an example is shown in which a file is created by multiplexing from encoded data obtained by encoding in advance and file head position information, but a file may be configured while creating encoded data.
次に,多重化されたファイルから特定の動画像の符号化データを取り出すファイル読み込み方法について動作を説明する。図2にファイル読み込み装置の構成を示す。この図2に示すファイル読み込み装置20は,ファイルを読み込むファイル入力部201と,管理情報を読み取る管理情報読み取り部202と,管理情報から所望の動画像番号を探索する動画像番号探索部203と,管理情報から独立復号識別情報を判定する独立復号識別情報判定部204と,管理情報からフレーム先頭位置情報を読み取るフレーム先頭位置情報設定部205と,フレーム先頭位置情報に従ってファイルから符号化データを読み取る符号化データ読み取り部206とで構成される。
Next, the operation of a file reading method for extracting encoded data of a specific moving image from the multiplexed file will be described. FIG. 2 shows the configuration of the file reading apparatus. 2 includes a
図1の多重化装置10で作成されたファイルから動画像Dで独立して復号できるフレームの符号化データを読み取る場合の動作を示す。
An operation when reading encoded data of a frame that can be independently decoded with a moving image D from a file created by the multiplexing
ファイル入力部201は,ファイルを入力する。管理情報読み取り部202は,ファイルの後半にある管理情報を読み取る。動画像番号探索部203は,動画像Dの第1フレームの管理情報を探索する。独立復号識別情報判定部204は,探索して得られた管理情報の独立復号識別情報から独立して復号できるかどうかを判定する。第1フレームでは独立復号識別情報は0であるので独立して復号できない。
The
次に動画像番号探索部203は,動画像Dの第2フレームの管理情報を探索する。独立復号識別情報判定部204は,探索して得られた管理情報の独立復号識別情報から独立して復号できるかどうかを判定する。第2フレームでは独立復号識別情報は0であるので独立して復号できない。
Next, the moving image
次に動画像番号探索部203は,動画像Dの第3フレームの管理情報を探索する。独立復号識別情報判定部204は,探索して得られた管理情報の独立復号識別情報から独立して復号できるかどうかを判定する。第3フレームでは独立復号識別情報は1であるので独立して復号できる。そしてフレーム先頭位置情報設定部205は,このフレームのフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。
Next, the moving image
次に動画像番号探索部203は,動画像Dの第4フレームの管理情報を探索する。独立復号識別情報判定部204は,探索して得られた管理情報の独立復号識別情報から独立して復号できるかどうかを判定する。第3フレームでは独立復号識別情報は1であるので独立して復号できる。そしてフレーム先頭位置情報設定部205は,このフレームのフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。
Next, the moving image
以上により,動画像Dについて,独立して復号できるフレームの符号化データを取り出すことができる。 As described above, the encoded data of the frame that can be decoded independently can be extracted from the moving image D.
次に,多重化されたファイルから独立して復号できる動画像の符号化データを取り出すファイル読み込み方法について動作を説明する。図3にファイル読み込み装置の構成を示す。この図3に示すファイル読み込み装置21は,ファイルを読み込むファイル入力部201と,管理情報を読み取る管理情報読み取り部202と,管理情報から所望の独立復号識別情報を探索する独立復号識別情報探索部207と,管理情報からフレーム先頭位置情報を読み取るフレーム先頭位置情報設定部205と,フレーム先頭位置情報に従ってファイルから符号化データを読み取る符号化データ読み取り部206とで構成される。
Next, the operation of a file reading method for extracting encoded data of moving images that can be decoded independently from the multiplexed file will be described. FIG. 3 shows the configuration of the file reading apparatus. The
図1の多重化装置10で作成されたファイルから独立して復号できる動画像の符号化データを読み取る場合の動作を示す。
An operation when reading encoded data of a moving image that can be decoded independently from a file created by the multiplexing
ファイル入力部201は,ファイルを入力する。管理情報読み取り部202は,ファイルの後半にある管理情報を読み取る。独立復号識別情報探索部207は,第1フレームの管理情報で独立復号識別情報が1のものを探索する。独立復号識別情報が1として,まず動画像Aが探索される。そしてフレーム先頭位置情報設定部205は,このフレームのフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。続いて,独立復号識別情報探索部207では動画像Cが探索される。そしてフレーム先頭位置情報設定部205は,このフレームのフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。以上から動画像Aと動画像Cの符号化データを読み取る。
The
第2フレームについても同様にして動画像Aと動画像Cの符号化データを読み取る。 Similarly, the encoded data of the moving image A and the moving image C is read for the second frame.
次に独立復号識別情報探索部207は,第3フレームの管理情報で独立復号識別情報が1のものを探索する。独立復号識別情報が1として,まず動画像Aが探索される。そしてフレーム先頭位置情報設定部205は,このフレームのフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。続いて,独立復号識別情報探索部207では動画像Dが探索される。そしてフレーム先頭位置情報設定部205は,このフレームのフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。以上から動画像Aと動画像Dの符号化データを読み取る。
Next, the independent decoding identification
第4フレームについても同様にして動画像Aと動画像Cの符号化データを読み取る。 Similarly, the encoded data of the moving image A and the moving image C are read for the fourth frame.
以上により,独立して復号できる動画像の符号化データを取り出すことができる。 As described above, encoded video data that can be decoded independently can be extracted.
このように本実施例によれば,符号化データ中に含まれる参照関係データを復号することなく,独立して復号できるフレームの符号化データを取り出すことができる。 As described above, according to this embodiment, it is possible to extract encoded data of a frame that can be decoded independently without decoding the reference relation data included in the encoded data.
なお,本実施例の多重化装置10では符号化データの後に管理情報を設定したが,ファイルにトラックの構造が設定されている場合には,管理情報を第一トラックに設定し,符号化データを第二トラックに設定してもよい。
In the
図4に,ファイル中におけるトラックや管理情報の構成例を示す。作成されたファイルには,符号化データトラック30と管理情報トラック40とがあり,符号化データトラック30には,動画像A符号化データ31,動画像B符号化データ32,…が格納される。また,管理情報トラック40には,各時刻Tnごとの管理情報41,42,43,…が格納され,これらには各々,フレーム先頭位置情報,動画像番号,独立復号識別情報などの情報が格納される。
FIG. 4 shows a configuration example of tracks and management information in a file. The created file includes an encoded
次に第2の実施例として,フレーム先頭の位置情報と動画像番号と参照動画像番号を管理情報として多重化し,全ての符号化データを多重化した最後に設定する場合の例を示す。第1の実施例と同様に,動画像はA,B,C,Dの4つあり,予め符号化されていて,各動画像におけるフレーム先頭の位置情報は分かっているものとする。 Next, as a second embodiment, an example is shown in which the frame head position information, moving picture number, and reference moving picture number are multiplexed as management information, and all encoded data are set at the end of multiplexing. As in the first embodiment, it is assumed that there are four moving images A, B, C, and D, which are encoded in advance, and the position information of the frame head in each moving image is known.
図5に多重化装置の構成を示す。図5に示す多重化装置11は,動画像A,B,C,Dの符号化データをそれぞれ入力する動画像A符号化データ入力部101,動画像B符号化データ入力部102,動画像C符号化データ入力部103,動画像D符号化データ入力部104と,各動画像のフレーム先頭の動画像中の位置情報をそれぞれ入力する動画像Aフレーム位置情報入力部106,動画像Bフレーム位置情報入力部107,動画像Cフレーム位置情報入力部108,動画像Dフレーム位置情報入力部109と,動画像間の参照関係を示す情報を入力する参照関係データ入力部105と,動画像の符号化データやフレーム位置情報の入力を切り替えるデータ切り替え部110と,符号化データを多重化する符号化データ多重化部111と,動画像番号を設定する動画像番号設定部112と,参照動画像番号を設定する参照動画像番号設定部117と,フレーム位置の先頭情報を設定するフレーム先頭位置情報設定部114と,管理情報を多重化する管理情報多重化部116と,符号化データと管理情報を多重化するファイル多重化部115とから構成される。
FIG. 5 shows the configuration of the multiplexing apparatus. The multiplexing apparatus 11 shown in FIG. 5 has a moving image A encoded
以上のうち,動画像番号設定部112では,動画像A,B,C,Dに対してそれぞれ動画像番号0,1,2,3を設定するものとする。動画像AからDまでのフレーム位置情報入力部106〜109は,次のフレームの位置情報を入力するものとする。フレーム先頭位置情報設定部114は,各動画像のフレーム位置情報をカウントし,符号化データ多重化部111で符号化データを多重化した後における各フレームの位置情報を設定するものとする。参照動画像番号設定部117は,参照する動画像の動画像番号を設定するものとする。ファイル多重化部115は,符号化データ多重化部111で作成された符号化データの後に,管理情報多重化部116で作成された管理情報を設定するものとする。符号化データ多重化部111は,参照関係データがある場合には各動画像の符号化データの前に多重化するものとする。
Among the above, the moving image
データ切り替え部110は,参照関係データに従い,次のように符号化データとファイル先頭位置情報を切り替えるものとする。動画像AからDまで順に,まず独立して復号できる動画像かどうかを判定する。独立して復号できる場合には,そのまま選択する。独立して復号できない場合には,参照する動画像の符号化データを既に選択したかどうかを判定する。既に選択した場合には,そのまま選択し,まだ選択していない場合には,参照する動画像が全て選択されるまで,その動画像を選択しない。
The
動画像間の参照関係は,次のようになっているとする。まず先頭から2フレームでは,動画像AとCは独立して復号でき,動画像Bは動画像Aを参照し,動画像Dは動画像Cを参照するものとする。その後2フレームでは,動画像AとDは独立して復号でき,動画像Bと動画像Cは動画像Aと動画像Dを参照するものとする。 Assume that the reference relationship between moving images is as follows. First, in the first two frames, moving images A and C can be decoded independently, moving image B refers to moving image A, and moving image D refers to moving image C. Thereafter, in two frames, moving images A and D can be decoded independently, and moving images B and C refer to moving images A and D.
以上の前提で動画像A,B,C,Dを4フレーム多重化する場合には,これらの動画像の各フレームは,次のように多重化される。 When four frames of the moving images A, B, C, and D are multiplexed on the above assumption, each frame of these moving images is multiplexed as follows.
まず先頭フレームについては,次のように多重化される。参照関係データ入力部105は,動画像間の参照関係データを入力する。データ切り替え部110は,参照関係データに従って符号化データを多重化する順序を決定する。ここでは,次の順序に決定する。動画像Aは独立して復号できるため,まず動画像Aを選択する。動画像Bは動画像Aのみを参照するため,次に動画像Bを選択する。動画像Cは独立して復号できるため,次に動画像Cを選択する。そして動画像Dを選択する。符号化データ多重化部111は,参照関係データを多重化する。フレーム先頭位置情報設定部114は,参照関係データのデータサイズ分だけファイルサイズを加算する。
First, the first frame is multiplexed as follows. The reference relationship
多重化する順序に従い,データ切り替え部110は,符号化データとフレーム先頭位置情報を切り替える。まず動画像Aを選択する。動画像A符号化データ入力部101は,符号化データを1フレーム分入力し,動画像Aフレーム位置情報入力部106は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号0を設定する。参照動画像番号設定部117は,参照動画像番号として0を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と参照動画像番号を多重化する。
In accordance with the order of multiplexing, the
続いてデータ切り替え部110は,動画像Bを選択する。動画像B符号化データ入力部102は,符号化データを1フレーム分入力し,動画像Bフレーム位置情報入力部107は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号1を設定する。参照動画像番号設定部117は,参照動画像番号として0と1を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と参照動画像番号を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Cを選択する。動画像C符号化データ入力部103は,符号化データを1フレーム分入力し,動画像Cフレーム位置情報入力部108は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号2を設定する。参照動画像番号設定部117は,参照動画像番号として2を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と参照動画像番号を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Dを選択する。動画像D符号化データ入力部104は,符号化データを1フレーム分入力し,動画像Dフレーム位置情報入力部109は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号3を設定する。参照動画像番号設定部117は,参照動画像番号として2と3を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と参照動画像番号を多重化する。
Subsequently, the
以上の動画像A,B,C,Dの処理をそれぞれさらに1フレーム分実行する。 The above processing of the moving images A, B, C, and D is further performed for one frame.
次に参照関係データ入力部105は,動画像間の参照関係データを入力する。データ切り替え部110は,参照関係データに従って符号化データを多重化する順序を決定する。ここでは,次の順序に決定する。動画像Aは独立して復号できるため,まず動画像Aを選択する。動画像Bは動画像Aと動画像Dを参照するため,動画像Bは選択しない。動画像Cは動画像Aと動画像Dを参照するため,動画像Cは選択しない。動画像Dは独立して復号できるため,次に動画像Dを選択する。そして動画像Bを選択し,動画像Cを選択する。符号化データ多重化部111は,参照関係データを多重化する。フレーム先頭位置情報設定部114は,参照関係データのデータサイズ分だけファイルサイズを加算する。
Next, the reference relationship
多重化する順序に従い,データ切り替え部110は,符号化データとフレーム先頭位置情報を切り替える。まず動画像Aを選択する。動画像A符号化データ入力部101は,符号化データを1フレーム分入力し,動画像Aフレーム位置情報入力部106は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号0を設定する。参照動画像番号設定部117は,参照動画像番号として0を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と参照動画像番号を多重化する。
In accordance with the order of multiplexing, the
続いてデータ切り替え部110は,動画像Dを選択する。動画像D符号化データ入力部104は,符号化データを1フレーム分入力し,動画像Dフレーム位置情報入力部109は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号3を設定する。参照動画像番号設定部117は,参照動画像番号として3を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と参照動画像番号を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Bを選択する。動画像B符号化データ入力部102は,符号化データを1フレーム分入力し,動画像Bフレーム位置情報入力部107は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号1を設定する。参照動画像番号設定部117は,参照動画像番号として0と3と1を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と参照動画像番号を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Cを選択する。動画像C符号化データ入力部103は,符号化データを1フレーム分入力し,動画像Cフレーム位置情報入力部108は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号2を設定する。参照動画像番号設定部117は,参照動画像番号として0と3と2を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と参照動画像番号を多重化する。
Subsequently, the
以上の動画像A,D,B,Cの処理をそれぞれさらに1フレーム分実行する。最後にファイル多重化部115は,符号化データ多重化部111で得られる符号化データと,管理情報多重化部116で得られる管理情報を多重化してファイルを作成する。以上の処理でファイルに多重化することができる。
The above processing of the moving images A, D, B, and C is further executed for one frame. Finally, the
本実施例では予め符号化して得られた符号化データとファイル先頭位置情報から多重化してファイルを作成する例を示したが,符号化データを作成しつつファイルを構成してもよい。 In the present embodiment, an example is shown in which a file is created by multiplexing from encoded data obtained by encoding in advance and file head position information, but a file may be configured while generating encoded data.
次に,多重化されたファイルから特定の動画像の符号化データを取り出すファイル読み込み方法について動作を説明する。図6にファイル読み込み装置の構成を示す。図6に示すファイル読み込み装置22は,ファイルを読み込むファイル入力部201と,管理情報を読み取る管理情報読み取り部202と,管理情報から所望の動画像番号を探索する動画像番号探索部203と,管理情報から参照動画像番号で指定される動画像の管理情報を探索する参照動画像番号探索部208と,管理情報からフレーム先頭位置情報を読み取るフレーム先頭位置情報設定部205と,フレーム先頭位置情報に従ってファイルから符号化データを読み取る符号化データ読み取り部206とで構成される。
Next, the operation of a file reading method for extracting encoded data of a specific moving image from the multiplexed file will be described. FIG. 6 shows the configuration of the file reading apparatus. 6 includes a
図5の多重化装置11で作成されたファイルから動画像Dを復号するために必要な符号化データを読み取る場合の動作を示す。 The operation when reading the encoded data necessary for decoding the moving image D from the file created by the multiplexing device 11 of FIG. 5 will be described.
ファイル入力部201は,ファイルを入力する。管理情報読み取り部202は,ファイルの後半にある管理情報を読み取る。動画像番号探索部203は,動画像Dの第1フレームの管理情報を探索する。参照動画像番号探索部208は,参照動画像番号で指定される動画像番号についての管理情報を探索する。この場合には動画像番号2と3に関する管理情報を探索する。フレーム先頭位置情報設定部205は,動画像番号2のフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。次にフレーム先頭位置情報設定部205は,動画像番号3のフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。
The
第2フレームについても同様にして符号化データを読み取る。 The encoded data is read in the same manner for the second frame.
次に第3フレームについて,動画像番号探索部203は,動画像Dの第3フレームの管理情報を探索する。参照動画像番号探索部208は,参照動画像番号で指定される動画像番号についての管理情報を探索する。この場合には,動画像番号3に関する管理情報を探索する。フレーム先頭位置情報設定部205は,動画像番号3のフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。
Next, for the third frame, the moving image
第4フレームについても同様にして符号化データを読み取る。以上により,動画像Dを復号できる符号化データを取り出すことができる。 The encoded data is read in the same manner for the fourth frame. Thus, encoded data that can decode the moving image D can be extracted.
このように本実施例によれば,符号化データ中に含まれる参照関係データを復号することなく,所望の動画像の符号化データを取り出すことができる。 As described above, according to this embodiment, it is possible to extract encoded data of a desired moving image without decoding the reference relation data included in the encoded data.
なお,本実施例の多重化装置11では符号化データの後に管理情報を設定したが,ファイルにトラックの構造が設定されている場合には,管理情報を第一トラックに設定し,符号化データを第二トラックに設定してもよい。 In the multiplexing apparatus 11 of this embodiment, the management information is set after the encoded data. However, when the track structure is set in the file, the management information is set in the first track, and the encoded data is set. May be set as the second track.
図7に,ファイル中におけるトラックや管理情報の構成例を示す。作成されたファイルには,符号化データトラック30と管理情報トラック40とがあり,符号化データトラック30には,動画像A符号化データ31,動画像B符号化データ32,…が格納される。また,管理情報トラック40には,各時刻Tnごとの管理情報41,42,43,…が格納され,これらには各々,フレーム先頭位置情報,動画像番号,参照動画像番号などの情報が格納される。
FIG. 7 shows a configuration example of tracks and management information in a file. The created file includes an encoded
なお本実施例では,独立して復号できる動画像の場合にも,参照動画像番号として自分の動画像番号を設定したが,この場合には参照動画像番号を設定しない方法や,参照動画像番号として予め定めた特別な値を設定する方法も好適である。 In this embodiment, even in the case of moving images that can be decoded independently, the own moving image number is set as the reference moving image number. However, in this case, a method that does not set the reference moving image number or the reference moving image A method of setting a predetermined special value as the number is also suitable.
また本実施例では,参照動画像番号で指定された動画像のフレームにつき,そのフレームに対する管理情報をさらに探索することで参照動画像のフレーム先頭位置情報を読み出したが,管理情報に予め参照動画像番号で指定される動画像のフレーム先頭位置情報を含めて多重化してもよい。 In this embodiment, for the frame of the moving image designated by the reference moving image number, the frame start position information of the reference moving image is read by further searching the management information for the frame. It may be multiplexed including the frame head position information of the moving image specified by the image number.
次に第3の実施例として,フレーム先頭の位置情報と動画像番号と利用先動画像番号を管理情報として多重化し,全ての符号化データを多重化した最後に設定する場合の例を示す。第1の実施例と同様に,動画像はA,B,C,Dの4つあり,予め符号化されていて,各動画像におけるフレーム先頭の位置情報は分かっているものとする。 Next, as a third embodiment, an example in which the position information at the beginning of the frame, the moving image number, and the usage destination moving image number are multiplexed as management information and all the encoded data is set at the end of multiplexing is shown. As in the first embodiment, it is assumed that there are four moving images A, B, C, and D, which are encoded in advance, and the position information of the frame head in each moving image is known.
図8に多重化装置の構成を示す。図8に示す多重化装置12は,動画像A,B,C,Dの符号化データをそれぞれ入力する動画像A符号化データ入力部101,動画像B符号化データ入力部102,動画像C符号化データ入力部103,動画像D符号化データ入力部104と,各動画像のフレーム先頭の動画像中の位置情報をそれぞれ入力する動画像Aフレーム位置情報入力部106,動画像Bフレーム位置情報入力部107,動画像Cフレーム位置情報入力部108,動画像Dフレーム位置情報入力部109と,動画像間の参照関係を示す情報を入力する参照関係データ入力部105と,動画像の符号化データやフレーム位置情報の入力を切り替えるデータ切り替え部110と,符号化データを多重化する符号化データ多重化部111と,動画像番号を設定する動画像番号設定部112と,利用先動画像番号を判定する利用先動画像番号判定部118と,利用先動画像番号を設定する利用先動画像番号設定部119と,フレーム位置の先頭情報を設定するフレーム先頭位置情報設定部114と,管理情報を多重化する管理情報多重化部116と,符号化データと管理情報を多重化するファイル多重化部115とから構成される。
FIG. 8 shows the configuration of the multiplexing apparatus. The
以上のうち,動画像番号設定部112では,動画像A,B,C,Dに対してそれぞれ動画像番号0,1,2,3を設定するものとする。動画像AからDまでのフレーム位置情報入力部106〜109は,次のフレームの位置情報を入力するものとする。フレーム先頭位置情報設定部114は,各動画像のフレーム位置情報をカウントし,符号化データ多重化部111で符号化データを多重化した後における各フレームの位置情報を設定するものとする。ファイル多重化部115は,符号化データ多重化部111で作成された符号化データの後に,管理情報多重化部116で作成された管理情報を設定するものとする。符号化データ多重化部111は,参照関係データがある場合には各動画像の符号化データの前に多重化するものとする。
Among the above, the moving image
データ切り替え部110は,参照関係データに従い,次のように符号化データとファイル先頭位置情報を切り替えるものとする。動画像AからDまで順に,まず独立して復号できる動画像かどうかを判定する。独立して復号できる場合には,そのまま選択する。独立して復号できない場合には,参照する動画像の符号化データを既に選択したかどうかを判定する。既に選択した場合には,そのまま選択し,まだ選択していない場合には,参照する動画像が全て選択されるまで,その動画像を選択しない。
The
動画像間の参照関係は,次のようになっているとする。まず先頭から2フレームでは,動画像AとCは独立して復号でき,動画像Bは動画像Aを参照し,動画像Dは動画像Cを参照するものとする。その後2フレームでは,動画像AとDは独立して復号でき,動画像Bと動画像Cは動画像Aと動画像Dを参照するものとする。 Assume that the reference relationship between moving images is as follows. First, in the first two frames, moving images A and C can be decoded independently, moving image B refers to moving image A, and moving image D refers to moving image C. Thereafter, in two frames, moving images A and D can be decoded independently, and moving images B and C refer to moving images A and D.
利用先動画像番号判定部118は,参照関係データから,各動画像について,その復号画像や符号化データが利用される動画像番号を判定する。動画像間の参照関係から,最初の2フレームについては,動画像Aの利用先動画像は動画像Aと動画像Bであり,動画像Bの利用先動画像は動画像Bであり,動画像Cの利用先動画像は動画像Cと動画像Dであり,動画像Dの利用先動画像は動画像Dであると判定される。その後2フレームについては,動画像Aの利用先動画像は動画像Aと動画像Bと動画像Cであり,動画像Bの利用先動画像は動画像Bであり,動画像Cの利用先動画像は動画像Cであり,動画像Dの利用先動画像は動画像Dと動画像Bと動画像Cであると判定される。
The use destination moving image
以上の前提で動画像A,B,C,Dを4フレーム多重化する場合には,次のように多重化される。 When the moving images A, B, C, and D are multiplexed in four frames based on the above premise, they are multiplexed as follows.
まず先頭フレームについては,次のように多重化される。参照関係データ入力部105は,動画像間の参照関係データを入力する。データ切り替え部110は,参照関係データに従って符号化データを多重化する順序を決定する。ここでは,次の順序に決定する。動画像Aは独立して復号できるため,まず動画像Aを選択する。動画像Bは動画像Aのみを参照するため,次に動画像Bを選択する。動画像Cは独立して復号できるため,次に動画像Cを選択する。そして動画像Dを選択する。符号化データ多重化部111は,参照関係データを多重化する。フレーム先頭位置情報設定部114は,参照関係データのデータサイズ分だけファイルサイズを加算する。利用先動画像番号判定部118は,各動画像について,参照データに対応した利用先動画像番号を判定する。
First, the first frame is multiplexed as follows. The reference relationship
多重化する順序に従い,データ切り替え部110は,符号化データとフレーム先頭位置情報を切り替える。まず動画像Aを選択する。動画像A符号化データ入力部101は,符号化データを1フレーム分入力し,動画像Aフレーム位置情報入力部106は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号0を設定する。利用先動画像番号設定部119は,利用先動画像番号として0と1を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と利用先動画像番号を多重化する。
In accordance with the order of multiplexing, the
続いてデータ切り替え部110は,動画像Bを選択する。動画像B符号化データ入力部102は,符号化データを1フレーム分入力し,動画像Bフレーム位置情報入力部107は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号1を設定する。利用先動画像番号設定部119は,利用先動画像番号として1を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と利用先動画像番号を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Cを選択する。動画像C符号化データ入力部103は,符号化データを1フレーム分入力し,動画像Cフレーム位置情報入力部108は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号2を設定する。利用先動画像番号設定部119は,利用先動画像番号として2と3を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と利用先動画像番号を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Dを選択する。動画像D符号化データ入力部104は,符号化データを1フレーム分入力し,動画像Dフレーム位置情報入力部109は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号3を設定する。利用先動画像番号設定部119は,利用先動画像番号として3を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と利用先動画像番号を多重化する。
Subsequently, the
以上の動画像A,B,C,Dの処理をそれぞれさらに1フレーム分実行する。 The above processing of the moving images A, B, C, and D is further performed for one frame.
次に参照関係データ入力部105は,動画像間の参照関係データを入力する。データ切り替え部110は,参照関係データに従って符号化データを多重化する順序を決定する。ここでは,次の順序に決定する。動画像Aは独立して復号できるため,まず動画像Aを選択する。動画像Bは動画像Aと動画像Dを参照するため,動画像Bは選択しない。動画像Cは動画像Aと動画像Dを参照するため,動画像Cは選択しない。動画像Dは独立して復号できるため,次に動画像Dを選択する。そして動画像Bを選択し,動画像Cを選択する。符号化データ多重化部111は,参照関係データを多重化する。フレーム先頭位置情報設定部114は,参照関係データのデータサイズ分だけファイルサイズを加算する。利用先動画像番号判定部118は,各動画像について,参照データに対応した利用先動画像番号を判定する。
Next, the reference relationship
多重化する順序に従い,データ切り替え部110は,符号化データとフレーム先頭位置情報を切り替える。まず動画像Aを選択する。動画像A符号化データ入力部101は,符号化データを1フレーム分入力し,動画像Aフレーム位置情報入力部106は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号0を設定する。利用先動画像番号設定部119は,参照動画像番号として0と1と2を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と利用先動画像番号を多重化する。
In accordance with the order of multiplexing, the
続いてデータ切り替え部110は,動画像Dを選択する。動画像D符号化データ入力部104は,符号化データを1フレーム分入力し,動画像Dフレーム位置情報入力部109は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号3を設定する。利用先動画像番号設定部119は,利用先動画像番号として3と1と2を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と利用先動画像番号を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Bを選択する。動画像B符号化データ入力部102は,符号化データを1フレーム分入力し,動画像Bフレーム位置情報入力部107は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号1を設定する。利用先動画像番号設定部119は,利用先動画像番号として1を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と利用先動画像番号を多重化する。
Subsequently, the
続いてデータ切り替え部110は,動画像Cを選択する。動画像C符号化データ入力部103は,符号化データを1フレーム分入力し,動画像Cフレーム位置情報入力部108は,次のフレームのフレーム位置情報を入力する。符号化データ多重化部111は,符号化データを多重化する。フレーム先頭位置情報設定部114は,入力されたフレーム位置情報をファイルサイズに加算し,ファイルのフレーム位置情報として設定する。動画像番号設定部112は,動画像番号2を設定する。利用先動画像番号設定部119は,利用先動画像番号として2を設定する。管理情報多重化部116は,フレーム位置情報と動画像番号と利用先動画像番号を多重化する。
Subsequently, the
以上の動画像A,D,B,Cの処理をそれぞれさらに1フレーム分実行する。最後にファイル多重化部115は,符号化データ多重化部111で得られる符号化データと,管理情報多重化部116で得られる管理情報を多重化してファイルを作成する。以上の処理でファイルに多重化することができる。
The above processing of the moving images A, D, B, and C is further executed for one frame. Finally, the
本実施例では,予め符号化して得られた符号化データとファイル先頭位置情報から多重化してファイルを作成する例を示したが,符号化データを作成しつつファイルを構成してもよい。 In the present embodiment, an example is shown in which a file is created by multiplexing from encoded data obtained by encoding in advance and file head position information, but a file may be configured while creating encoded data.
次に,多重化されたファイルから特定の動画像の符号化データを取り出すファイル読み込み方法について動作を説明する。図9にファイル読み込み装置の構成を示す。図9に示すファイル読み込み装置23は,ファイルを読み込むファイル入力部201と,管理情報を読み取る管理情報読み取り部202と,管理情報から所望の動画像に対応する利用先動画像番号を探索する利用先動画像番号探索部209と,管理情報からフレーム先頭位置情報を読み取るフレーム先頭位置情報設定部205と,フレーム先頭位置情報に従ってファイルから符号化データを読み取る符号化データ読み取り部206とで構成される。
Next, the operation of a file reading method for extracting encoded data of a specific moving image from the multiplexed file will be described. FIG. 9 shows the configuration of the file reading apparatus. The
図8の多重化装置12で作成されたファイルから動画像Dを復号するために必要な符号化データを読み取る場合の動作を示す。
The operation when reading the encoded data necessary for decoding the moving picture D from the file created by the multiplexing
ファイル入力部201は,ファイルを入力する。管理情報読み取り部202は,ファイルの後半にある管理情報を読み取る。利用先動画像番号探索部209は,第1フレームの管理情報から利用先動画像番号として3がある動画像を,動画像Aの管理情報から順に探索する。動画像C(動画像番号2)の管理情報に利用先動画像番号が3であることを探索する。フレーム先頭位置情報設定部205は,動画像番号2のフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。続いて,利用先動画像番号探索部209は,動画像D(動画像番号3)の管理情報に利用先動画像番号が3であることを探索する。フレーム先頭位置情報設定部205は,動画像番号3のフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。
The
第2フレームについても同様にして符号化データを読み取る。 The encoded data is read in the same manner for the second frame.
次に第3フレームについて,利用先動画像番号探索部209は,第3フレームの管理情報から利用先動画像番号として3がある動画像を,動画像Aの管理情報から順に探索する。動画像D(動画像番号3)の管理情報に利用先動画像番号が3であることを探索する。フレーム先頭位置情報設定部205は,動画像番号3のフレーム先頭位置情報を設定する。符号化データ読み取り部206は,設定されたファイル位置から符号化データを読み取る。このとき,フレーム先頭位置情報設定部205で得られる次のフレームの先頭位置までを読み取る。
Next, for the third frame, the use destination moving image
第4フレームについても同様にして符号化データを読み取る。以上により,動画像Dを復号できる符号化データを取り出すことができる。 The encoded data is read in the same manner for the fourth frame. Thus, encoded data that can decode the moving image D can be extracted.
このように本実施例によれば,符号化データ中に含まれる参照関係データを復号することなく,所望の動画像の符号化データを取り出すことができる。 As described above, according to this embodiment, it is possible to extract encoded data of a desired moving image without decoding the reference relation data included in the encoded data.
なお,本実施例の多重化装置12では,符号化データの後に管理情報を設定したが,ファイルにトラックの構造が設定されている場合には,管理情報を第一トラックに設定し,符号化データを第二トラックに設定してもよい。
In the
図10に,ファイル中におけるトラックや管理情報の構成例を示す。作成されたファイルには,符号化データトラック30と管理情報トラック40とがあり,符号化データトラック30には,動画像A符号化データ31,動画像B符号化データ32,…が格納される。また,管理情報トラック40には,各時刻Tnごとの管理情報41,42,43,…が格納され,これらには各々,フレーム先頭位置情報,動画像番号,利用先動画像番号などの情報が格納される。
FIG. 10 shows a configuration example of tracks and management information in a file. The created file includes an encoded
なお本実施例では,利用先動画像番号として自分の動画像番号も設定したが,利用先動画像番号として自分の動画像番号を設定しない方法や,利用先動画像番号として予め定めた特別な値を設定する方法も好適である。 In this embodiment, the user's moving image number is also set as the use destination moving image number. However, a method in which the user's moving image number is not set as the use destination moving image number, or a special method predetermined as the use destination moving image number. A method of setting the value is also suitable.
以上の実施例の説明では,フレーム単位に管理情報を設定する例について説明したが,フレームを分割したスライス単位に管理情報を設定してもよい。この場合には,管理情報はフレーム先頭位置の代わりに,スライス先頭位置情報を含む。また,多重化や読み取りもフレーム単位ではなく,スライス単位で行う。すなわち,上記実施例の説明において,フレームをスライスに読み替えて本発明を実施することも可能である。 In the above description of the embodiment, an example in which management information is set in units of frames has been described. However, management information may be set in units of slices obtained by dividing a frame. In this case, the management information includes slice head position information instead of the frame head position. In addition, multiplexing and reading are performed not on a frame basis but on a slice basis. That is, in the description of the above embodiment, the present invention can be implemented by replacing a frame with a slice.
以上の多重化装置およびファイル読み込み装置による処理は,コンピュータとソフトウェアプログラムとによって実現することもでき,そのプログラムをコンピュータ読み取り可能な記録媒体に記録して提供することも,ネットワークを通して提供することも可能である。 The above processing by the multiplexing device and the file reading device can be realized by a computer and a software program, and the program can be provided by being recorded on a computer-readable recording medium or provided through a network. It is.
10,11,12 多重化装置
101 動画像A符号化データ入力部
102 動画像B符号化データ入力部
103 動画像C符号化データ入力部
104 動画像D符号化データ入力部
105 参照関係データ入力部
106 動画像Aフレーム位置情報入力部
107 動画像Bフレーム位置情報入力部
108 動画像Cフレーム位置情報入力部
109 動画像Dフレーム位置情報入力部
110 データ切り替え部
111 符号化データ多重化部
112 動画像番号設定部
113 独立復号識別情報設定部
114 フレーム先頭位置情報設定部
115 ファイル多重化部
116 管理情報多重化部
117 参照動画像番号設定部
118 利用先動画像番号判定部
119 利用先動画像番号設定部
20,21,22,23 ファイル読み込み装置
201 ファイル入力部
202 管理情報読み取り部
203 動画像番号探索部
204 独立復号識別情報判定部
205 フレーム先頭位置情報設定部
206 符号化データ読み取り部
207 独立復号識別情報探索部
208 参照動画像番号探索部
209 利用先動画像番号探索部
10, 11, 12
Claims (10)
動画像のフレームまたはスライスの時刻ごとに,動画像のフレームまたはスライス先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームまたはスライスを復号する際に他の動画像のフレームまたはスライスの復号画像情報が必要かどうかを示す独立復号識別情報とを含むn個の動画像分の管理情報を多重化する過程と,
前記多重化した情報を,各動画像のフレームまたはスライスの復号対象となる符号化データとは別の特定の位置に設定してファイルを構成する過程と,
を有することを特徴とする動画像の多重化方法。 A multiplexing method for multiplexing encoded data created by predictive encoding between n (n ≧ 2) moving images to form a file,
For each moving image frame or slice time , position information in the moving image frame or slice head file, a moving image number for distinguishing moving images, and other moving images when decoding the frame or slice. A process of multiplexing management information for n moving images including independent decoding identification information indicating whether decoded image information of a frame or a slice is necessary;
A process of configuring the multiplexed information at a specific position different from the encoded data to be decoded of each moving image frame or slice, and configuring a file;
A method for multiplexing moving images, comprising:
動画像のフレームまたはスライス先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームまたはスライスを復号する際に他の動画像のフレームまたはスライスの復号画像情報が必要かどうかを示す独立復号識別情報とを含むn個の動画像分の管理情報を第一のトラックとし,
各フレームまたはスライスの符号化データと動画像間の予測符号化における参照関係情報を第二のトラックとして,
前記第一のトラックと前記第二のトラックとをそれぞれ独立に多重化してファイルを構成する
ことを特徴とする動画像の多重化方法。 A multiplexing method for multiplexing encoded data created by predictive encoding between n (n ≧ 2) moving images to form a file,
Position information in the file at the beginning of a moving image frame or slice, a moving image number for distinguishing moving images, and whether decoding image information of other moving image frames or slices is necessary when decoding the frame or slice Management information for n moving images including independent decoding identification information indicating
The reference relationship information in the predictive encoding between the encoded data of each frame or slice and the moving image is used as the second track.
A method for multiplexing moving images, wherein the first track and the second track are multiplexed independently to form a file.
動画像のフレームまたはスライスの時刻ごとに,動画像のフレームまたはスライス先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームまたはスライスを復号する際に他の動画像のフレームまたはスライスの復号画像情報が必要かどうかを示す独立復号識別情報とを含むn個の動画像分の管理情報を多重化する管理情報多重化部と,
各動画像のフレームまたはスライスの復号対象となる符号化データとは別の特定の位置に前記管理情報多重化部で作成された管理情報を設定してファイルを構成するファイル多重化部と,
を備えることを特徴とする動画像の多重化装置。 A multiplexing device that multiplexes encoded data created by predictive encoding between n (n ≧ 2) moving images to form a file,
For each moving image frame or slice time , position information in the moving image frame or slice head file, a moving image number for distinguishing moving images, and other moving images when decoding the frame or slice. A management information multiplexing unit that multiplexes management information for n moving images including independent decoding identification information indicating whether decoded image information of a frame or a slice is necessary;
A file multiplexing unit that configures a file by setting the management information created by the management information multiplexing unit at a specific position different from the encoded data to be decoded for each moving image frame or slice;
An apparatus for multiplexing moving images, comprising:
動画像のフレームまたはスライスの時刻ごとに,動画像のフレームまたはスライス先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームまたはスライスを復号する際に他の動画像のフレームまたはスライスの復号画像情報が必要かどうかを示す独立復号識別情報とを含むn個の動画像分の管理情報を第一のトラックとして多重化する管理情報多重化部と,
各フレームまたはスライスの符号化データと動画像間の予測符号化における参照関係情報を第二のトラックとして多重化する符号化データ多重化部と,
前記第一のトラックと前記第二のトラックとを多重化してファイルを構成するファイル多重化部と,
を備えることを特徴とする動画像の多重化装置。 A multiplexing device that multiplexes encoded data created by predictive encoding between n (n ≧ 2) moving images to form a file,
For each moving image frame or slice time , position information in the moving image frame or slice head file, a moving image number for distinguishing moving images, and other moving images when decoding the frame or slice. A management information multiplexing unit that multiplexes management information for n moving images including independent decoding identification information indicating whether decoded image information of a frame or a slice is necessary, as a first track;
An encoded data multiplexing unit that multiplexes the reference relationship information in the predictive encoding between the encoded data of each frame or slice and the moving image as a second track;
A file multiplexing unit configured to multiplex the first track and the second track to form a file;
An apparatus for multiplexing moving images, comprising:
動画像のフレームまたはスライスの時刻ごとに,動画像のフレームまたはスライス先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームまたはスライスを復号する際に必要な動画像の動画像番号である参照動画像番号とを含むn個の動画像分の管理情報を多重化する過程と,
前記多重化した情報を,各動画像のフレームまたはスライスの復号対象となる符号化データとは別の特定の位置に設定してファイルを構成する過程と,
を有することを特徴とする動画像の多重化方法。 A multiplexing method for multiplexing encoded data created by predictive encoding between n (n ≧ 2) moving images to form a file,
For each moving image frame or slice time , position information in the moving image frame or slice head file, a moving image number for distinguishing the moving image, and a moving image necessary for decoding the frame or slice. A process of multiplexing management information for n moving images including a reference moving image number that is a moving image number;
A process of configuring the multiplexed information at a specific position different from the encoded data to be decoded of each moving image frame or slice, and configuring a file;
A method for multiplexing moving images, comprising:
動画像のフレームまたはスライスの時刻ごとに,動画像のフレームまたはスライス先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームまたはスライスを復号する際に必要な動画像の動画像番号である参照動画像番号とを含むn個の動画像分の管理情報を第一のトラックとし,
各フレームまたはスライスの符号化データと動画像間の予測符号化における参照関係情報を第二のトラックとして,
前記第一のトラックと前記第二のトラックとをそれぞれ独立に多重化してファイルを構成する
ことを特徴とする動画像の多重化方法。 A multiplexing method for multiplexing encoded data created by predictive encoding between n (n ≧ 2) moving images to form a file,
For each moving image frame or slice time , position information in the moving image frame or slice head file, a moving image number for distinguishing the moving image, and a moving image necessary for decoding the frame or slice. Management information for n moving images including a reference moving image number that is a moving image number is set as a first track,
The reference relationship information in the predictive encoding between the encoded data of each frame or slice and the moving image is used as the second track.
A method for multiplexing moving images, wherein the first track and the second track are multiplexed independently to form a file.
動画像のフレームまたはスライスの時刻ごとに,動画像のフレームまたはスライス先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームまたはスライスを復号する際に必要な動画像の動画像番号である参照動画像番号とを含むn個の動画像分の管理情報を多重化する管理情報多重化部と,
各動画像のフレームまたはスライスの復号対象となる符号化データとは別の特定の位置に前記管理情報多重化部で作成された管理情報を設定してファイルを構成するファイル多重化部と,
を備えることを特徴とする動画像の多重化装置。 A multiplexing device that multiplexes encoded data created by predictive encoding between n (n ≧ 2) moving images to form a file,
For each moving image frame or slice time , position information in the moving image frame or slice head file, a moving image number for distinguishing the moving image, and a moving image necessary for decoding the frame or slice. A management information multiplexing unit that multiplexes management information for n moving images including a reference moving image number that is a moving image number;
A file multiplexing unit that configures a file by setting the management information created by the management information multiplexing unit at a specific position different from the encoded data to be decoded for each moving image frame or slice;
An apparatus for multiplexing moving images, comprising:
動画像のフレームまたはスライスの時刻ごとに,動画像のフレームまたはスライス先頭のファイル中の位置情報と,動画像を区別する動画像番号と,該フレームまたはスライスを復号する際に必要な動画像の動画像番号である参照動画像番号とを含むn個の動画像分の管理情報を第一のトラックとして多重化する管理情報多重化部と,
各フレームまたはスライスの符号化データと動画像間の予測符号化における参照関係情報を第二のトラックとして多重化する符号化データ多重化部と,
前記第一のトラックと前記第二のトラックとを多重化してファイルを構成するファイル多重化部と,
を備えることを特徴とする動画像の多重化装置。 A multiplexing device that multiplexes encoded data created by predictive encoding between n (n ≧ 2) moving images to form a file,
For each moving image frame or slice time , position information in the moving image frame or slice head file, a moving image number for distinguishing the moving image, and a moving image necessary for decoding the frame or slice. A management information multiplexing unit that multiplexes management information for n moving images including a reference moving image number that is a moving image number as a first track;
An encoded data multiplexing unit that multiplexes the reference relationship information in the predictive encoding between the encoded data of each frame or slice and the moving image as a second track;
A file multiplexing unit configured to multiplex the first track and the second track to form a file;
An apparatus for multiplexing moving images, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008001009A JP5171270B2 (en) | 2008-01-08 | 2008-01-08 | Multiplexing method and apparatus for moving picture, and program and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008001009A JP5171270B2 (en) | 2008-01-08 | 2008-01-08 | Multiplexing method and apparatus for moving picture, and program and computer-readable recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009164936A JP2009164936A (en) | 2009-07-23 |
JP5171270B2 true JP5171270B2 (en) | 2013-03-27 |
Family
ID=40967010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008001009A Active JP5171270B2 (en) | 2008-01-08 | 2008-01-08 | Multiplexing method and apparatus for moving picture, and program and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5171270B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3598754B1 (en) | 2011-12-15 | 2021-03-17 | Tagivan Ii Llc | Signaling of luminance-chrominance coded block flags (cbf) in video coding |
KR101748779B1 (en) * | 2013-01-18 | 2017-06-19 | 캐논 가부시끼가이샤 | Method, device, and computer program for encapsulating partitioned timed media data |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3882822B2 (en) * | 2004-03-11 | 2007-02-21 | カシオ計算機株式会社 | Compressed data recording apparatus, compressed data reproducing apparatus and method |
KR101245251B1 (en) * | 2006-03-09 | 2013-03-19 | 삼성전자주식회사 | Method and apparatus for encoding and decoding multi-view video to provide uniform video quality |
-
2008
- 2008-01-08 JP JP2008001009A patent/JP5171270B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2009164936A (en) | 2009-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106063271B (en) | For executing cross-layer video coding/decoding method and its equipment and the cross-layer video coding method and its equipment for executing the prediction based on sub-block of the prediction based on sub-block | |
KR101265990B1 (en) | System and method for processing video files | |
US20180192046A1 (en) | Encoding method, decoding method, encoding apparatus, decoding apparatus, and encoding and decoding apparatus | |
WO2015152608A2 (en) | Interlayer video decoding method for performing sub-block-based prediction and apparatus therefor, and interlayer video encoding method for performing sub-block-based prediction and apparatus therefor | |
JP2010515400A (en) | Multi-view video encoding and decoding method and apparatus using global difference vector | |
TW201524192A (en) | Multi-layer video file format designs | |
JPWO2015137237A1 (en) | Image decoding device | |
TW201230747A (en) | Arranging sub-track fragments for streaming video data | |
CN101617537A (en) | Be used to handle the method and apparatus of vision signal | |
KR101087194B1 (en) | Encoding System and Method of Moving Picture | |
CN114342402A (en) | Information processing apparatus, information processing method, reproduction processing apparatus, and reproduction processing method | |
CN106464889A (en) | Inter-layer video decoding method and apparatus therefor performing sub-block-based prediction, and inter-layer video encoding method and apparatus therefor performing sub-block-based prediction | |
CN112369016A (en) | Information processing apparatus, information processing method, and program | |
JP2015195543A (en) | Image decoder and image encoder | |
WO2013146636A1 (en) | Image encoding device, image decoding device, image encoding method, image decoding method and program | |
KR101386651B1 (en) | Multi-View video encoding and decoding method and apparatus thereof | |
US9648336B2 (en) | Encoding apparatus and method | |
EP3800888A1 (en) | Encoding and decoding a video | |
JP5171270B2 (en) | Multiplexing method and apparatus for moving picture, and program and computer-readable recording medium | |
JP5128963B2 (en) | Multiplexing method of moving image, method and apparatus for reading file, program thereof and computer-readable recording medium | |
JP2024533759A (en) | Video processing method, device and medium | |
JP6320450B2 (en) | Image encoding device, image decoding device, image encoding method, and image decoding method | |
US20140003502A1 (en) | Systems and Methods for Decoding Video Encoded Using Predictions that Reference Higher Rate Video Sequences | |
JP6690536B2 (en) | Image processing apparatus, image processing method, and program | |
KR101361317B1 (en) | System for storage section of moving picture and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100331 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101203 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120118 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120221 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120416 |
|
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: 20121225 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121225 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5171270 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |