2

I am inspecting decoder configuration record contained in .mp4 video file recorded from Android devices. Some devices have strange or incorrect parameters written in decoder configuration record.

Here is sample from Galaxy Player 4.0 which is incorrect:

DecoderConfigurationRecord: 010283f2ffe100086742000de90283f201000568ce010f20
       pictureParameterSetNALUnits : 68ce010f20
       AVCLevelIndication : 242
       AVCProfileIndication : 2
       sequenceParameterSetNALUnits : 6742000de90283f2
       lengthSizeMinusOne : 3
       configurationVersion : 1
       profile_compatibility : 131
       profile_idc : 103
       constraint_set : 16
       level_idc : 0

AVCLevelIndication == 242 is wrong because standard states 51 is the highest value.

AVCProfileIndication should be in (66, 77, 88, 100, 120, ..)

profile_compatibility is called constraint_set?_flags and 2 least significant bits are reserved and seposed to be equal to 0

This is how it should look like:

DecoderConfigurationRecord: 0142000dffe100086742000de90283f201000568ce010f20
       pictureParameterSetNALUnits : 68ce010f20
       AVCLevelIndication : 13
       AVCProfileIndication : 66
       sequenceParameterSetNALUnits : 6742000de90283f2
       lengthSizeMinusOne : 3
       configurationVersion : 1
       profile_compatibility : 0
       profile_idc : 103
       constraint_set : 16
       level_idc : 0

How can AVCLevelIndication and AVCProfileIndication be deduced from profile_idc and level_idc ?

Is there a way to check or possibly fix wrong parameters by comparing them to SPS parameters ?

4

1 に答える 1

6

level_idcです10 * level。つまり、 level を使用している場合3.1、それは になります31

profile_idcの附属書 A に指定されていますISO/IEC 14496-10。たとえば、ベースライン プロファイルは66、メイン プロファイルは77、拡張プロファイルです88

さらに、セクション 7.3.2.1 および 7.3.2.2 でそれぞれ SPS RBSP および PPS RBSP の構文を確認できます。符号なし指数ゴロム符号化と符号付き指数ゴロム符号化に注意ue(x)して示します。se(x)

編集:申し訳ありません。AVCProfileIndicationandはand とAVCLevelIndication同じでなければなりませんprofile_idclevel_idc

于 2012-08-08T16:43:51.373 に答える