JP2007189570A - Picture alignment method - Google Patents

Picture alignment method Download PDF

Info

Publication number
JP2007189570A
JP2007189570A JP2006007020A JP2006007020A JP2007189570A JP 2007189570 A JP2007189570 A JP 2007189570A JP 2006007020 A JP2006007020 A JP 2006007020A JP 2006007020 A JP2006007020 A JP 2006007020A JP 2007189570 A JP2007189570 A JP 2007189570A
Authority
JP
Japan
Prior art keywords
picture
video
immediately before
mpeg2
pes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006007020A
Other languages
Japanese (ja)
Inventor
Koichi Suzuki
康一 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2006007020A priority Critical patent/JP2007189570A/en
Publication of JP2007189570A publication Critical patent/JP2007189570A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a picture alignment method capable of improving the image quality of an MPEG stream. <P>SOLUTION: In the picture alignment method, stuffing data 18 of video ES (Elementary Stream) are inserted after a B picture 17 immediately before an I picture and after a B picture immediately before a P picture when heads of the I picture and the P picture 16 are aligned immediately after a pack header with the video ES being an IBBP configuration in the case of multiplexing the video ES and an audio ES to generate an MPEG2-PS. Stuffing data are inserted in a video encoding part for encoding a video signal after finishing the encoding of the B picture immediately before the I picture or the P picture. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、MPEG(Moving Picture Experts Group)ストリームを作成する際に使用して好適なピクチャ・アライン方法に関する。   The present invention relates to a picture alignment method suitable for use in creating a Moving Picture Experts Group (MPEG) stream.

図4はMPEG2−PS(Program Stream)のデータ構造を示す図である。図4(A)はMPEG2−PSの一例、図4(B)はMPEG2−PS内のビデオES(Elementary Stream)の一例を示しており、MPEG2−PSでは、システム・レイヤを最上位レイヤとし、その下にビデオ・レイヤ(ビデオES)、オーディオ・レイヤ(オーディオES)が配置される。   FIG. 4 is a diagram showing a data structure of MPEG2-PS (Program Stream). 4A shows an example of MPEG2-PS, and FIG. 4B shows an example of a video ES (Elementary Stream) in MPEG2-PS. In MPEG2-PS, the system layer is the highest layer, Below this, a video layer (video ES) and an audio layer (audio ES) are arranged.

ビデオESは、Iピクチャ、Bピクチャ、Pピクチャが、たとえば、IBBPBBPBBPBBPBBの順で繰り返して並ぶ構成(IBBP構成)とされ、パックに入る単位で分割され、システム・レイヤのパックに格納される。また、MPEG2−PSでは、再生時におけるサーチや編集はピクチャ単位で扱う必要があるため、パックの先頭部に位置するヘッダの直後にピクチャの先頭が揃うようにピクチャをアラインする必要がある。   The video ES has a configuration in which an I picture, a B picture, and a P picture are repeatedly arranged in the order of, for example, IBBPBBPBBPBBPBB (IBBP configuration), and is divided in units of packs and stored in a system layer pack. Also, in MPEG2-PS, search and editing at the time of reproduction must be handled in units of pictures. Therefore, it is necessary to align pictures so that the top of the picture is aligned immediately after the header located at the top of the pack.

図5は従来のピクチャ・アライン方法を説明するための図である。図5の例は、ビデオESがIBBP構成である場合において、Pピクチャの先頭をパック・ヘッダの直後にアラインする場合を示しており、オーディオESは図示を省略している。   FIG. 5 is a diagram for explaining a conventional picture alignment method. The example of FIG. 5 shows a case where the head of the P picture is aligned immediately after the pack header when the video ES has an IBBP configuration, and the audio ES is not shown.

図5の例では、3枚目のBピクチャの後にパディング(padding)PES(Packetized Elementary Stream)を挿入することにより4枚目のPピクチャの先頭をパック・ヘッダの直後にアラインしている。このように、従来では、ピクチャの先頭をパック・ヘッダの直後にアラインする場合、アライン対象のピクチャの直前のピクチャの後にパディングPESを挿入していた。   In the example of FIG. 5, the beginning of the fourth P picture is aligned immediately after the pack header by inserting padding PES (Packetized Elementary Stream) after the third B picture. As described above, conventionally, when the head of a picture is aligned immediately after the pack header, padding PES is inserted after the picture immediately before the picture to be aligned.

ここで、MPEG2−PSのシステム・ビット・レートをXaとし、そのうち、システム・レイヤのヘッダ分をXb、ピクチャ・アライン用のパディングPES分をXc、オーディオES分をXd、ビデオES分をXeとすると、ビデオES分Xeは、   Here, the MPEG2-PS system bit rate is Xa, of which the header of the system layer is Xb, the pad PES for picture alignment is Xc, the audio ES is Xd, and the video ES is Xe. Then, video ES minutes Xe is

Figure 2007189570
Figure 2007189570

となる。しかしながら、ビデオESの各ピクチャのサイズは絵柄により可変であるため、ピクチャ・アライン用のパディングPESのサイズがどのくらいになるのかは、あらかじめ知ることができず、各ピクチャのビデオESが生成された後に初めて知ることができることから、ピクチャ・アライン用のパディングPESが取り得る最大サイズを考慮し、その分のビット・レートをあらかじめ見込んでおく必要がある。 It becomes. However, since the size of each picture of the video ES is variable depending on the picture, it is impossible to know in advance how large the pad PES for picture alignment will be, and after the video ES of each picture is generated Since it can be known for the first time, it is necessary to consider the maximum size that can be taken by the pad PES for picture alignment, and to estimate the bit rate in advance.

ここで、ピクチャ・アライン用のパディングPESが取り得る最大サイズは、アライン対象のピクチャの直前のピクチャの最後の1バイトだけが入るようなパックが発生した場合であり、この場合には、1パックのほぼ全部がピクチャ・アライン用のパディングPESとなる。たとえば、1パックのサイズを2048byte、パック・ヘッダのサイズを14byte、PESヘッダのサイズを18byteとすると、ピクチャ・アライン用のパディングPESのサイズは、   Here, the maximum size that can be taken by the pad PES for picture alignment is when a pack that contains only the last 1 byte of the picture immediately before the picture to be aligned occurs. In this case, one pack Almost all of this becomes padding PES for picture alignment. For example, if the size of one pack is 2048 bytes, the size of the pack header is 14 bytes, and the size of the PES header is 18 bytes, the size of padding PES for picture alignment is

Figure 2007189570
Figure 2007189570

となる。したがって、たとえば、GOP(group of pictures)がIBBP構成で、1GOPが15ピクチャで、1秒間で2GOPである場合において、IピクチャおよびPピクチャの先頭をパック・ヘッダの直後にアラインする場合、IピクチャおよびPピクチャの枚数は1GOP中では合計5枚、1秒間では合計10枚となるので、ピクチャ・アライン用のパディングPESのビット・レートXcとして、 It becomes. Thus, for example, when the GOP (group of pictures) is an IBBP configuration, 1 GOP is 15 pictures, and 2 GOPs per second, the I picture and the P picture are aligned immediately after the pack header. The number of P pictures is 5 in 1 GOP and 10 in 1 second. Therefore, as the bit rate Xc of padding PES for picture alignment,

Figure 2007189570
Figure 2007189570

を見込んでおく必要があり、この分だけ、ビデオESのビット・レートXeの割り当てが減ることになる。
特開2004−079087号公報
Therefore, the allocation of the bit rate Xe of the video ES is reduced by this amount.
JP 2004-079907 A

通常、DVD-video等では、システム・ビット・レートXaとして10Mbps程度が使用されるが、この場合には、ピクチャ・アライン用のパディングPESのビット・レートXcが数3に示す程度であれば、画質にそれほどの影響を与えないが、長時間録画機能や通信装置の極狭帯域の部分でシステム・ビット・レートXaが1Mbps程度とすると、数3に示す程度のビット・レートXcも無視できないことになる。   Usually, in DVD-video or the like, about 10 Mbps is used as the system bit rate Xa. In this case, if the bit rate Xc of the pad PES for picture alignment is as shown in Equation 3, Although the image quality is not affected so much, if the system bit rate Xa is about 1 Mbps in the extremely narrow band portion of the long-time recording function or communication device, the bit rate Xc as shown in Equation 3 cannot be ignored. become.

本発明は、かかる点に鑑み、MPEGストリームの画質の向上を図ることができるようにしたピクチャ・アライン方法を提供することを目的とする。   In view of the above, an object of the present invention is to provide a picture alignment method capable of improving the image quality of an MPEG stream.

本発明のピクチャ・アライン方法は、素材別のエレメンタリ・ストリームを多重化してMPEGストリームを生成する際に、所定のピクチャの先頭をパックの所定位置にアラインする場合、前記所定のピクチャの直前のピクチャの後にビデオESのスタッフィング(stuffing)・データを挿入するというものである。   According to the picture align method of the present invention, when an elementary stream for each material is multiplexed to generate an MPEG stream, when the head of a predetermined picture is aligned at a predetermined position of a pack, the picture immediately before the predetermined picture After that, the stuffing data of the video ES is inserted.

本発明によれば、所定のピクチャの先頭をパックの所定位置にアラインする場合、前記所定のピクチャの直前のピクチャの後にビデオESのスタッフィング・データを挿入するとしているので、従来ではパディングPESを挿入することにより無駄となっていた部分をビデオESに割り当てることができる。したがって、MPEGストリームの画質の向上を図ることができる。この効果は、MPEGストリームのシステム・ビット・レートが低いほど顕著となる。   According to the present invention, when aligning the beginning of a predetermined picture to a predetermined position of the pack, the stuffing data of the video ES is inserted after the picture immediately before the predetermined picture. Therefore, conventionally, padding PES is inserted. By doing so, the wasted portion can be allocated to the video ES. Therefore, the image quality of the MPEG stream can be improved. This effect becomes more prominent as the system bit rate of the MPEG stream is lower.

以下、図1〜図3を参照して、本発明の一実施形態について、MPEG2−PSを生成する場合において、ビデオESがIBBP構成で、IピクチャおよびPピクチャの先頭をパック・ヘッダの直後にアラインする場合を例にして説明する。   1 to 3, in the case of generating MPEG2-PS according to an embodiment of the present invention, the video ES is an IBBP structure, and the head of the I picture and the P picture is immediately after the pack header. A description will be given taking the case of alignment as an example.

図1は本発明の一実施形態を従来のピクチャ・アライン方法と比較して説明するための図である。図1(A)は本発明の一実施形態を適用した場合のMPEG2−PSの一部分、図1(B)は従来のピクチャ・アライン方法を適用した場合のMPEG2−PSの一部分を示している。   FIG. 1 is a diagram for explaining an embodiment of the present invention in comparison with a conventional picture alignment method. 1A shows a part of MPEG2-PS when one embodiment of the present invention is applied, and FIG. 1B shows a part of MPEG2-PS when a conventional picture alignment method is applied.

図1中、10、11、12はパック、13、14、15はパック・ヘッダ、16はIピクチャ又はPピクチャ、17はIピクチャ又はPピクチャ16の直前のBピクチャの最後の部分、18はビデオESのスタッフィング・データ、即ち、ビデオESレイヤに位置付けられる復号されないデータ(具体的には、ISO 13818-2において、5.2.3 Definition of next_start_code() functionで定義されているzero_bit,zero_byte)、19はピクチャ・アライン用のパディングPESである。   In FIG. 1, 10, 11, 12 are packs, 13, 14, 15 are pack headers, 16 is an I picture or P picture, 17 is the last part of the B picture immediately before the I picture or P picture 16, and 18 is Stuffing data of video ES, that is, undecoded data positioned in the video ES layer (specifically, zero_bit, zero_byte defined in 5.2.3 Definition of next_start_code () function in ISO 13818-2), 19 Is a padding PES for picture alignment.

即ち、素材別エレメンタリ・ストリームであるビデオESおよびオーディオESを多重化してMPEG2−PSを生成する場合において、ビデオESがIBBP構成で、IピクチャおよびPピクチャの先頭をパック・ヘッダの直後にアラインする場合、従来では、Iピクチャの直前のBピクチャの後およびPピクチャの直前のBピクチャの後にピクチャ・アライン用のパディングPESを挿入していた。   That is, in the case of generating MPEG2-PS by multiplexing video ES and audio ES, which are elementary streams by material, the video ES has an IBBP configuration, and the heads of the I picture and P picture are aligned immediately after the pack header. In conventional cases, padding PES for picture alignment is inserted after the B picture immediately before the I picture and after the B picture immediately before the P picture.

これに対して、本発明の一実施形態は、Iピクチャの直前のBピクチャの後およびPピクチャの直前のBピクチャの後にビデオESのスタッフィング・データを挿入することにより、IピクチャおよびPピクチャの先頭をパック・ヘッダの直後にアラインするというものである。なお、このスタッフィング・データの挿入は、ビデオ信号を符号化するビデオ符号化部において、Iピクチャ又はPピクチャの直前のBピクチャの符号化が終わった後に行う。   On the other hand, an embodiment of the present invention inserts video ES stuffing data after the B picture immediately before the I picture and after the B picture immediately before the P picture. The head is aligned immediately after the pack header. The stuffing data is inserted after the encoding of the B picture immediately before the I picture or P picture is completed in the video encoding unit that encodes the video signal.

本発明の一実施形態においては、前述のように、MPEG2−PSのシステム・ビット・レートをXaとし、そのうち、システム・レイヤのヘッダ分をXb、ピクチャ・アライン用のパディングPES分をXc、オーディオES分をXd、ビデオES分をXeとすると、パディングPES分Xcは、ビデオES分Xeに割り当てられることになるので、ビデオES分Xeは、   In one embodiment of the present invention, as described above, the MPEG2-PS system bit rate is Xa, of which the system layer header is Xb, the picture alignment padding PES is Xc, and the audio If the ES part is Xd and the video ES part is Xe, the padding PES part Xc is assigned to the video ES part Xe.

Figure 2007189570
Figure 2007189570

となる。たとえば、システム・ビット・レートXaを1Mbpsとし、そのうち、システム・レイヤのヘッダ分Xbを200kbps、ピクチャ・アライン用のパディングPES分Xcを160kbps、オーディオES分Xdを256kbpsとすると、ビデオES分Xeは、本発明の一実施形態を適用すると、 It becomes. For example, if the system bit rate Xa is 1 Mbps, the system layer header portion Xb is 200 kbps, the picture alignment padding PES portion Xc is 160 kbps, and the audio ES portion Xd is 256 kbps. Applying an embodiment of the present invention,

Figure 2007189570
Figure 2007189570

となる。これに対して、従来のピクチャ・アライン方法を適用すると、 It becomes. In contrast, when the conventional picture alignment method is applied,

Figure 2007189570
Figure 2007189570

となる。このように、従来のピクチャ・アライン方法を適用すると、システム・ビット・レートXa=1Mbps中、ビデオES分Xeとして384kbpsしか見込むことができないが、本発明の一実施形態を適用すると、ビデオES分Xeとして544kbpsを見込むことができる。 It becomes. As described above, when the conventional picture alignment method is applied, only 384 kbps can be expected as the video ES portion Xe in the system bit rate Xa = 1 Mbps. However, when one embodiment of the present invention is applied, the video ES portion is used. 544kbps can be expected as Xe.

但し、スタッフィング・データを挿入すると、ビデオESのビット・レートXeは実質的には544kbpsよりも低くなる。しかしながら、ビデオESのビット・レートXeが最も低くなる場合は、ピクチャ・アライン毎に2015byteのスタッフィング・データを挿入する場合であり、この場合には、ビデオESのビット・レートXeは、実質的には384kbpsになるが、それ以外は、384kbpsよりも高くなる。   However, when stuffing data is inserted, the bit rate Xe of the video ES is substantially lower than 544 kbps. However, when the bit rate Xe of the video ES is lowest, 2015 byte stuffing data is inserted for each picture alignment. In this case, the bit rate Xe of the video ES is substantially equal to Is 384 kbps, but otherwise it is higher than 384 kbps.

これに対して、従来のピクチャ・アライン方法においては、ピクチャ・アライン用のパディングPESに割り当てられる160kbpsはビデオESになることはないので、ビデオESのビット・レートXeが384kbpsよりも高くなることはない。   On the other hand, in the conventional picture alignment method, the 160 kbps allocated to the pad PES for picture alignment does not become the video ES, so that the bit rate Xe of the video ES is higher than 384 kbps. Absent.

図2はMPEG2−PS作成装置の一部分を示すブロック回路図である。図2(A)は本発明の一実施形態を実施するMPEG2−PS作成装置、図2(B)は従来のピクチャ・アライン方法を実施するMPEG2−PS装置を示している。   FIG. 2 is a block circuit diagram showing a part of the MPEG2-PS creation apparatus. 2A shows an MPEG2-PS creation apparatus that implements an embodiment of the present invention, and FIG. 2B shows an MPEG2-PS apparatus that implements a conventional picture alignment method.

図2(A)において、20はビデオ信号を符号化してビデオESを出力するビデオ符号化部、21はオーディオ信号を符号化してオーディオESを出力するオーディオ符号化部、22はビデオ符号化部20が出力するビデオESとオーディオ符号化部21が出力するオーディオESを多重化してMPEG2−PSを作成する多重化部である。   In FIG. 2A, 20 is a video encoding unit that encodes a video signal and outputs a video ES, 21 is an audio encoding unit that encodes an audio signal and outputs an audio ES, and 22 is a video encoding unit 20. Is a multiplexing unit that multiplexes the video ES output by the audio encoding unit 21 and the audio ES output by the audio encoding unit 21 to create MPEG2-PS.

図2(B)において、23はビデオ信号を符号化してビデオESを出力するビデオ符号化部、24はオーディオ信号を符号化してオーディオESを出力するオーディオ符号化部、25はビデオ符号化部23が出力するビデオESとオーディオ符号化部24が出力するオーディオESを多重化してMPEG2−PSを作成する多重化部、26はピクチャ・アライン用のパディングPES挿入機構である。   2B, reference numeral 23 denotes a video encoding unit that encodes a video signal and outputs a video ES, 24 denotes an audio encoding unit that encodes an audio signal and outputs an audio ES, and 25 denotes a video encoding unit 23. A multiplexing unit 26 multiplexes the video ES output from the audio ES and the audio ES output from the audio encoding unit 24 to create an MPEG2-PS, and 26 is a padding PES insertion mechanism for picture alignment.

即ち、従来のピクチャ・アライン方法では、ピクチャ・アライン用のパディングPESの挿入が行われるので、多重化部25にピクチャ・アライン用のパディングPES挿入機構26を必要とする。   That is, in the conventional picture align method, since the pad PES for picture alignment is inserted, the multiplexing unit 25 needs the pad PES insertion mechanism 26 for picture align.

これに対して、本発明の一実施形態では、ビデオESのスタッフィング・データの挿入が行われるが、これは、ビデオ符号化部20において、Iピクチャ又はPピクチャの直前のBピクチャの符号化が終わった後に行われ、ビデオ符号化部20から出力されるビデオESでは、IピクチャおよびPピクチャの先頭はアラインされているため、多重化部22にパディングPES挿入機構26を設ける必要がない。   On the other hand, in the embodiment of the present invention, the stuffing data of the video ES is inserted. This is because the video encoding unit 20 encodes the B picture immediately before the I picture or P picture. In the video ES that is performed after completion and output from the video encoding unit 20, since the heads of the I picture and the P picture are aligned, it is not necessary to provide the padding PES insertion mechanism 26 in the multiplexing unit 22.

図3は本発明の一実施形態を実施する場合におけるVBV(Video Buffer Verifier)バッファの制御方法を説明するための図であり、VBVバッファの占有量の変化を示している。本発明の一実施形態では、1ピクチャの最後に2015byteのスタッフィング・データを出力する場合があるので、VBVバッファに関しては、VBVバッファ下限より2015byteだけ高い値をVBVバッファ仮下限とし、常にVBVバッファ仮下限以上の値で通常のレートコントロールを行うようにする。   FIG. 3 is a diagram for explaining a control method of a VBV (Video Buffer Verifier) buffer when the embodiment of the present invention is implemented, and shows a change in the occupation amount of the VBV buffer. In one embodiment of the present invention, 2015 bytes of stuffing data may be output at the end of one picture. Therefore, for the VBV buffer, a value higher than the VBV buffer lower limit by 2015 bytes is used as the VBV buffer temporary lower limit, and the VBV buffer temporary limit is always set. Make normal rate control at a value above the lower limit.

このようにすると、仮に、1ピクチャの最後に最大2015byteのスタッフィング・データを出力することがあっても、レートコントロールを破綻させないようにすることができる。   In this way, even if stuffing data with a maximum of 2015 bytes is output at the end of one picture, rate control can be prevented from failing.

以上のように、本発明の一実施形態においては、ビデオESおよびオーディオESを多重化してMPEG2−PSを生成する場合において、ビデオESがIBBP構成で、IピクチャおよびPピクチャの先頭をパック・ヘッダの直後にアラインする場合、Iピクチャの直前のBピクチャの後およびPピクチャの直前のBピクチャの後にビデオESのスタッフィング・データを挿入するとしている。   As described above, in one embodiment of the present invention, when video ES and audio ES are multiplexed to generate MPEG2-PS, the video ES has an IBBP configuration, and the beginning of the I picture and P picture is the pack header. When the alignment is performed immediately after the video picture, the stuffing data of the video ES is inserted after the B picture immediately before the I picture and after the B picture immediately before the P picture.

したがって、MPEG2−PSのシステム・ビット・レート中に固定ビット・レートのパディングPES分を割り当てる必要がなく、この分をビデオESに割り当てることができるので、MPEG2−PSの画質の向上を図ることができる。この効果は、MPEG2−PSのビット・レートが低い場合に顕著になる。   Therefore, it is not necessary to allocate the fixed bit rate padding PES in the MPEG2-PS system bit rate, and this can be allocated to the video ES, so that the image quality of MPEG2-PS can be improved. it can. This effect becomes remarkable when the bit rate of MPEG2-PS is low.

なお、本発明の一実施形態では、MPEG2−PSを生成する場合を例にして説明したが、本発明は、MPEG4等、ピクチャの先頭のアラインをビデオESレイヤにおけるスタッフィング・データの挿入により行うことが可能な全てのMPEGストリームに適用することができる。   In the embodiment of the present invention, the case of generating MPEG2-PS has been described as an example. However, the present invention performs alignment of the beginning of a picture, such as MPEG4, by inserting stuffing data in the video ES layer. It can be applied to all MPEG streams that are possible.

また、本発明の一実施形態では、GOPがIBBP構成の場合を例にして説明したが、本発明は、ピクチャがIIIIIと並ぶ場合やIPPPと並ぶ場合等、GOPがいかなる構成の場合にも適用することができる。   In the embodiment of the present invention, the case where the GOP has the IBBP configuration has been described as an example. However, the present invention can be applied to any configuration of the GOP, such as when the picture is aligned with IIIII or IPPP. can do.

また、本発明の一実施形態では、GOPがIBBP構成の場合において、IピクチャおよびPピクチャの先頭をパック・ヘッダの直後にアラインする場合について説明したが、本発明は、Iピクチャ、PピクチャおよびBピクチャの先頭をパック・ヘッダの直後にアラインする場合にも適用することができ、また、システム・ビット・レートとして、1ピクチャが1パック以上のビット・レートならば、適用可能である。   Further, in the embodiment of the present invention, when the GOP has the IBBP configuration, the case where the heads of the I picture and P picture are aligned immediately after the pack header has been described. The present invention can also be applied to the case where the head of the B picture is aligned immediately after the pack header, and can be applied as long as one picture has a bit rate of one pack or more as the system bit rate.

本発明の一実施形態を従来のピクチャ・アライン方法と比較して説明するための図である。It is a figure for demonstrating one Embodiment of this invention compared with the conventional picture alignment method. MPEG2−PS作成装置の一部分を示すブロック回路図である。It is a block circuit diagram which shows a part of MPEG2-PS production apparatus. 本発明の一実施形態を実施する場合におけるVBVバッファの制御方法を説明するための図である。It is a figure for demonstrating the control method of the VBV buffer in the case of implementing one Embodiment of this invention. MPEG2−PSのデータ構造を示す図である。It is a figure which shows the data structure of MPEG2-PS. 従来のピクチャ・アライン方法を説明するための図である。It is a figure for demonstrating the conventional picture alignment method.

符号の説明Explanation of symbols

10、11、12…パック
13、14、15…パック・ヘッダ
16…Iピクチャ又はPピクチャ
17…Iピクチャ又はPピクチャの直前のBピクチャの最後の部分
18…ビデオESのスタッフィング・データ
19…ピクチャ・アライン用のパディングPES
20…ビデオ符号化部
21…オーディオ符号化部
22…多重化部
23…ビデオ符号化部
24…オーディオ符号化部
25…多重化部
26…パディングPES挿入機構

DESCRIPTION OF SYMBOLS 10, 11, 12 ... Pack 13, 14, 15 ... Pack header 16 ... I picture or P picture 17 ... Last part of B picture immediately before I picture or P picture 18 ... Stuffing data of video ES 19 ... Picture -Padding PES for alignment
DESCRIPTION OF SYMBOLS 20 ... Video encoding part 21 ... Audio encoding part 22 ... Multiplexing part 23 ... Video encoding part 24 ... Audio encoding part 25 ... Multiplexing part 26 ... Padding PES insertion mechanism

Claims (3)

素材別のエレメンタリ・ストリームを多重化してMPEGストリームを生成する際に、所定のピクチャの先頭をパックの所定位置にアラインする場合、前記所定のピクチャの直前のピクチャの後にビデオ・エレメンタリ・ストリームのスタッフィング・データを挿入することを特徴とするピクチャ・アライン方法。   When an elementary stream for each material is multiplexed to generate an MPEG stream, if the head of a predetermined picture is aligned with a predetermined position of the pack, the stuffing of the video elementary stream is performed after the picture immediately before the predetermined picture. A picture alignment method characterized by inserting data. 前記スタッフィング・データの挿入は、ビデオ符号化部において、前記所定のピクチャの直前のピクチャの符号化が終わった後に行うことを特徴とする請求項1記載のピクチャ・アライン方法。   2. The picture alignment method according to claim 1, wherein the stuffing data is inserted after the encoding of the picture immediately before the predetermined picture is completed in the video encoding unit. VBVバッファの下限より前記スタッフィング・データ分だけ高い値を前記VBVバッファの仮下限とし、前記仮下限以上の値でレートコントロールを行うようにすることを特徴とする請求項1又は2記載のピクチャ・アライン方法。

3. A picture according to claim 1, wherein a value higher than the lower limit of the VBV buffer by the stuffing data is set as a temporary lower limit of the VBV buffer, and rate control is performed at a value equal to or higher than the temporary lower limit. Align method.

JP2006007020A 2006-01-16 2006-01-16 Picture alignment method Pending JP2007189570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006007020A JP2007189570A (en) 2006-01-16 2006-01-16 Picture alignment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006007020A JP2007189570A (en) 2006-01-16 2006-01-16 Picture alignment method

Publications (1)

Publication Number Publication Date
JP2007189570A true JP2007189570A (en) 2007-07-26

Family

ID=38344423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006007020A Pending JP2007189570A (en) 2006-01-16 2006-01-16 Picture alignment method

Country Status (1)

Country Link
JP (1) JP2007189570A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0738857A (en) * 1993-07-16 1995-02-07 Pioneer Electron Corp Synchronization system for time-division video and audio signals

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0738857A (en) * 1993-07-16 1995-02-07 Pioneer Electron Corp Synchronization system for time-division video and audio signals

Similar Documents

Publication Publication Date Title
US8503541B2 (en) Method and apparatus for determining timing information from a bit stream
JP6040282B2 (en) Method and apparatus for decoding an enhanced video stream
US7227899B2 (en) Method and system for re-multiplexing of content-modified MPEG-2 transport streams using interpolation of packet arrival times
US20160080755A1 (en) Method for decoding data, data decoding device, and method for transmitting data
US9083993B2 (en) Video/audio data multiplexing apparatus, and multiplexed video/audio data decoding apparatus
JP4294660B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING MEDIUM THEREOF
JP4613860B2 (en) MPEG encoded stream decoding apparatus
US9420278B2 (en) Audiovisual content generation method for multistage high-speed reproduction
JP2007189570A (en) Picture alignment method
KR102222543B1 (en) Method and apparatus for method and apparatus for encoding video data for synchronous playback of video data
JP5046907B2 (en) Recording apparatus, control method therefor, and program
EP1521461B1 (en) Image data processing device and method
JP2008258858A (en) Moving image coding device
JP2008176918A (en) Reproducing apparatus and method, and recording medium
JP2009171339A (en) Apparatus, method and program for encoding moving image
US8385727B2 (en) Recording apparatus, recording method, program and storage medium
WO2004006573A1 (en) Image data processing device and method
JP2005347787A (en) Information recorder and recording method
KR20050025328A (en) Image data processing device and method
JP2007259195A (en) Multiplexed stream conversion device and method
JP2009100303A (en) Moving image encoding device and data processing method therefor
JP2006262465A (en) Apparatus and method for video synchronization by parsing time stamps from buffered packet
JP2007336574A (en) Mpeg data recording and reproducing apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080730

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100629

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101026