Hi,

I try to encrypt a content using MPEG CENC method with an IV of 16 hex (=> 8 bytes) as shown below (keyId and key have been removed) :  

mp4encrypt --method MPEG-CENC --property 1:KID:MY_KEYID --key 1:MY_KEY:0000000000000000 --pssh 9A04F07998404286AB92E65BE0885F95: --pssh EDEF8BA979D64ACEA3C827DCD51D21ED: input.mp4 output.mp4

The issue is that my tenc box shows a default_Per_Sample_IV_Size of 16 bytes instead of 8 bytes.

                  [tenc] size=12+20
                    default_isProtected = 1
                    default_Per_Sample_IV_Size = 16
                    default_KID = [24 cd 16 99 e3 69 31 35 a2 9f 77 34 ab 58 9c 15]

Thx for your support.
default_Per_Sample_IV_Size always equal to 16 whatever iv length provided
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : default_Per_Sample_IV_Size always equal to 16 whatever iv length provided
Issue date:

--- start body ---
Hi,

I try to encrypt a content using MPEG CENC method with an IV of 16 hex (=> 8 bytes) as shown below (keyId and key have been removed) :  

mp4encrypt --method MPEG-CENC --property 1:KID:MY_KEYID --key 1:MY_KEY:0000000000000000 --pssh 9A04F07998404286AB92E65BE0885F95: --pssh EDEF8BA979D64ACEA3C827DCD51D21ED: input.mp4 output.mp4

The issue is that my tenc box shows a default_Per_Sample_IV_Size of 16 bytes instead of 8 bytes.

                  [tenc] size=12+20
                    default_isProtected = 1
                    default_Per_Sample_IV_Size = 16
                    default_KID = [24 cd 16 99 e3 69 31 35 a2 9f 77 34 ab 58 9c 15]

Thx for your support.
--- end body ---
