humble-video-noarch/src/main/java/io/humble/video/Codec.java
public static Codec guessEncodingCodec(MuxerFormat fmt, String shortName, String url, String mimeType, MediaDescriptor.Type type) {
    long cPtr = VideoJNI.Codec_guessEncodingCodec(MuxerFormat.getCPtr(fmt), fmt, shortName, url, mimeType, type.swigValue());
    return (cPtr == 0) ? null : new Codec(cPtr, false);
  }
public static Codec guessEncodingCodec(MuxerFormat fmt, String shortName, String url, String mimeType, MediaDescriptor.Type type) {
    long cPtr = VideoJNI.Codec_guessEncodingCodec(MuxerFormat.getCPtr(fmt), fmt, shortName, url, mimeType, type.swigValue());
    return (cPtr == 0) ? null : new Codec(cPtr, false);
  }
Ask us to guess an encoding codec based on the inputs<br>
passed in.<br>
<p><br>
You must pass in at least one non null fmt, shortName,<br>
url or mime_type.<br>
</p><br>
@param fmt A SinkFormat for the container you'll want to encode into.<br>
@param shortName The FFMPEG short name of the codec (e.g. "mpeg4").<br>
@param url The URL you'll be writing packets to.<br>
@param mimeType The mime type of the container.<br>
@param type The codec type.<br>
@return the codec, or null if we can't find it.