search

Home  >  Q&A  >  body text

java调用ffmpeg一直卡住。

PHPzPHPz2898 days ago789

reply all(1)I'll reply

  • 黄舟

    黄舟2017-04-18 10:39:20

    Print ProgresserrorStream and take a look

    Runtime runtime = Runtime.getRuntime();
    
    String[] cmd = {"cmd1", "cmd2"};
    
    Process exec = runtime.exec(cmd);
    
    exec.getErrorStream();

    Also, can you post the code?

    reply
    0
  • Cancelreply