PDF/A version | Conformance level | Class type | Severity |
---|---|---|---|
1, 2, 3 | bua | Conformance | 5 |
The PDF/A document has an action to play movies.
-
Create new document with one page
-
Find /Page dictionary
-
Add /Annots entry with reference to new object (e.g. /Annots [17 0 R])
-
Add the following entries to new object from previous step:
<<
/Type /Annot
/Subtype /Movie
/Border [0 0 0]
/Movie 16 0 R (Reference to movie dictionary)
/F 4
/P 8 0 R
/AP <</N 19 0 R>> (Reference to appereance stream)
/Rect [0 0 612 792]
>>
- Create new object for movie dictionary and new object for file specification dictionary. Add the following entry inside movie dictionary.
<<
/F 18 0 R (18 0 R - reference to file specification dictionary)
>>
- Add the following entries inside file specification dictionary
<<
/Type /Filespec
/F (/HardDisk/Video/SomeVideo.avi) (this is example of path to video file)
>>
- Create new object for appereance stream and add entries for XObject For example:
<<
/Type /XObject
/Subtype /Form
/BBox [0 0 612 792]
/Resources <<>>
/Length 581>>
stream
...
endstream
- Update xref table and trailer