- /* Now make a `picture asset'. This is a collection of the JPEG2000 files that make up the picture, one per frame.
- Here we're using a function (video_frame) to obtain the name of the JPEG2000 file for each frame.
+ /* Now make a `picture asset'. This is a collection of the JPEG2000 files that make up the picture; one per frame.
+ First, create the object.
+ */
+
+ boost::shared_ptr<libdcp::MonoPictureAsset> picture_asset (
+ new libdcp::MonoPictureAsset ("My Film DCP", "video.mxf")
+ );
+
+ /* Now set up its parameters; we have the frame rate, the
+ number of frames and the resolution of the frames;
+ 1998x1080 is the DCI Flat specification for 2K projectors.
+ */