Package net.sf.ffmpeg_java.AVCodecLibrary

Examples of net.sf.ffmpeg_java.AVCodecLibrary.AVCodec


    return contentDescriptors;
  }
 
  static void listDecoder(){
    int i = 1;
    AVCodec avCodec = AVCODEC.avcodec_find_decoder_by_name(FIRST_FFMPEG_DECODER_NAME);
//    AVCodec avCodec = new AVCodec((Pointer)AVCodecLibrary.first_avcodec.getValue());
    while (avCodec != null){
      logger.log(Level.FINEST, i++ + ". " + avCodec.name + " (" + getCodecType(avCodec.type) + ")");
      if (avCodec.next != null /*&& avCodec.next.isValid()*/) {
        avCodec = new AVCodec(avCodec.next);
      }else{
        avCodec = null;
      }
    }
  }
View Full Code Here


    }
  }
 
  static void listEncoder(){
    int i = 1;
    AVCodec avCodec = AVCODEC.avcodec_find_decoder_by_name(FIRST_FFMPEG_ENCODER_NAME);
//    AVCodec avCodec = new AVCodec((Pointer)AVCodecLibrary.first_avcodec.getValue());
    while (avCodec != null){
      logger.log(Level.FINEST, i++ + ". " + avCodec.name + " (" + getCodecType(avCodec.type) + ")");
      if (avCodec.next != null /*&& avCodec.next.isValid()*/) {
        avCodec = new AVCodec(avCodec.next);
      }else{
        avCodec = null;
      }
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.ffmpeg_java.AVCodecLibrary.AVCodec

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.