Last active
August 29, 2015 14:10
-
-
Save sannies/05bfd88e097c38fccff1 to your computer and use it in GitHub Desktop.
isoparser-1.0-RC-27 API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Check { | |
public static void main(String[] args) throws IOException { | |
Movie m = MovieCreator.build("C:\\dev\\mp4parser\\examples\\src\\main\\resources\\1365070268951.mp4"); | |
Track track = m.getTracks().get(0); | |
int sampleNum = 0; | |
for (int i = 0; i < track.getSampleDurations().length; i++) { | |
System.err.println("sample " + sampleNum++ + "'s duration: " + track.getSampleDurations()[i]); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment