Skip to content

Instantly share code, notes, and snippets.

public class Check {
public static void main(String[] args) throws IOException {
Movie m ="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]);
sannies /
Last active Oct 29, 2016
extracts keyIds from uvu files, extracts keys from a CSV file, matches the keys to form a json file that can be imported in catsLbas' DSP
import binascii
import json
import struct
import os
import re
# check verisoning
__author__ = 'sannies'