How to install JavaCV on Android and use FrameGrabber

后端 未结 4 1268
感动是毒
感动是毒 2021-02-06 07:14

Could someone tell me where I\'m doing wrong? These are the steps that I have followed:

  1. Downloaded the adt-bundle-windows from android developer website

4条回答
  •  别跟我提以往
    2021-02-06 08:02

    Use this example:

    http://javacv4android.blogspot.com.br/2014/02/how-to-import-javacv-libraries-to.html

    later in OnCreate:

    try {
            FrameGrabber grabber2 = new FFmpegFrameGrabber(Environment
                    .getExternalStorageDirectory().getAbsolutePath()
                    + "/TESTE/spell.mp3");
    
            String t = "!";
    
            grabber2 = null;
    
        } catch (Exception e) {
            e.printStackTrace();
        }
    

    if don't exist error, it's ok =)

    Sorry for my english

提交回复
热议问题