public Container build(Movie movie) {
        LOG.debug("Creating movie " + movie);
        if (fragmenter == null) {
            fragmenter = new DefaultFragmenterImpl(2);
        }
        BasicContainer isoFile = new BasicContainer();


        isoFile.addBox(createFtyp(movie));
        //isoFile.addBox(createPdin(movie));
        isoFile.addBox(createMoov(movie));

        for (Box box : createMoofMdat(movie)) {
            isoFile.addBox(box);
        }
        isoFile.addBox(createMfra(movie, isoFile));

        return isoFile;
    }
public Container build ( Movie movie ) { LOG . debug ( "Creating movie " + movie ) ; if ( fragmenter == null ) { fragmenter = new DefaultFragmenterImpl ( 2 ) ; } BasicContainer isoFile = new BasicContainer ( ) ; isoFile . addBox ( createFtyp ( movie ) ) ; isoFile . addBox ( createMoov ( movie ) ) ; for ( Box box : createMoofMdat ( movie ) ) { isoFile . addBox ( box ) ; } isoFile . addBox ( createMfra ( movie , isoFile ) ) ; return isoFile ; }
{@inheritDoc}