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]); | |
} |
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
import binascii | |
import json | |
import struct | |
import os | |
import re | |
# check verisoning | |
__author__ = 'sannies' |