FileDocCategorySizeDatePackage
SmoothStreamingTrackTest.javaAPI Docmp4parser 1.0-RC-171205Wed Dec 19 20:10:21 GMT 2012com.googlecode.mp4parser.tools.smoothstreamingdownloader

SmoothStreamingTrackTest

public class SmoothStreamingTrackTest extends Object
Created with IntelliJ IDEA. User: sannies Date: 8/11/12 Time: 5:29 AM To change this template use File | Settings | File Templates.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        URL anchor = SmoothStreamingTrackTest.class.getProtectionDomain().getCodeSource().getLocation();
        Movie m = new Movie();
        m.addTrack(new SmoothStreamingTrack(new File(anchor.getFile(), "testdata/Manifest").toURI(), "video", "70090"));
        DefaultMp4Builder builder = new DefaultMp4Builder();
        IsoFile isoFile = builder.build(m);
        RandomAccessFile raf = new RandomAccessFile("output.mp4", "rw");
        isoFile.getBox(raf.getChannel());
        raf.close();
    
public voidtest()