First pass at adding transcode support

This does a hard-coded audio encode to vorbis-in-ogg. In the long term,
this should use encodebin and real encoding profiles.
This commit is contained in:
Arun Raghavan 2012-11-11 11:06:09 +05:30
parent efecef0a6c
commit e915be9208
4 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,10 @@
package org.wikimedia.commons;
public class Transcoder {
public static native int transcode(String infile, String outfile,
String profile);
static {
System.loadLibrary("transcode");
}
}