私は最初の Xuggler メディア アプリケーションの作成に取り組んでいました。最初のメディア アプリケーションの作成方法に関する彼らのビデオを見ながらコーディングしていました。
コード
package demo;
import com.xuggle.xuggler.IContainer;
public class GetContainerInfo {
public static void main(String[] args) {
if(args.length!=1){
throw new IllegalArgumentException("no file");
}
IContainer container = IContainer.make();
if(container.open(args[0],IContainer.Type.READ,null)<0){
throw new IllegalArgumentException("could not open");
}
}
}
エラー
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
依存関係はありますか?
はい、そうです!私はすべての依存関係を持っています。プロジェクトの作成中にそれらをインポートしました。
画像: