mittal9878 / mp4parser

Automatically exported from code.google.com/p/mp4parser
0 stars 0 forks source link

Default iv size should be 16 #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a mp4 only contains moof & mdat
2. Click 'senc' box.
3.

What is the expected output? What do you see instead?
The 'senc' box parsing is incorrect.

Please provide any additional information below.
I'm developing MPEG Dash related features, and the content files are divided by 
Init MP4 file and several content MP4 files.
So the 'tenc' and 'senc' boxes are not located in the same MP4 file.
While opening content MP4 file, because of 'tenc' can't read correctly, the IV 
in 'senc' box parsing will be incorrect due to default iv size is 8, not 16 in 
'tenc' defined.
So I'll suggest you modify the default iv size to 16 due to iv size 16 is 
general case for major DRMs.

Original issue reported on code.google.com by lazyf...@gmail.com on 27 Dec 2013 at 3:44

GoogleCodeExporter commented 8 years ago
I don't agree that it should be 16 but I see that this is something that needs 
a fix. Added a heuristic to dynamically determine whether it's 8 or 16 
(1.0-RC-29 includes the fix). 
That should fix your problem

Original comment by Sebastian.Annies on 14 Jan 2014 at 9:02