Skip to content

Instantly share code, notes, and snippets.

View isoparser-1.0-RC-27-example.java
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]);
}
@sannies
sannies / create_cek_json_from_solekai_delivery.py
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
View create_cek_json_from_solekai_delivery.py
import binascii
import json
import struct
import os
import re
# check verisoning
__author__ = 'sannies'