+ private static Ffmpeg instance = new Ffmpeg();
+
+ public static Ffmpeg getInstance(){
+ return instance;
+ }
+
+ private Ffmpeg(){
+ Log.e("Ffmpeg", "init");
+ //init();
+ //inithaha(640, 480);
+ //getPerfectDevice();
+ }
+
+ private Logger gLogger = Logger.getLogger("FFmpeg");
+ public void print(String str){
+ gLogger.error(str);
+ }
+