Skip to content

Latest commit

 

History

History
62 lines (50 loc) · 1.29 KB

23.md

File metadata and controls

62 lines (50 loc) · 1.29 KB

Action Movie

PDF/A version Conformance level Class type Severity
1, 2, 3 bua Conformance 5

The PDF/A document has an action to play movies.

Reproducibility

Adobe Acrobat X Professional

  1. Create new document with one page

  2. Find /Page dictionary

  3. Add /Annots entry with reference to new object (e.g. /Annots [17 0 R])

  4. 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]
>>
  1. 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)
>>
  1. Add the following entries inside file specification dictionary
<<
/Type /Filespec
/F (/HardDisk/Video/SomeVideo.avi) (this is example of path to video file)
>>
  1. 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
  1. Update xref table and trailer