humble-video-noarch/src/main/java/io/humble/video/Codec.java
public static Codec findEncodingCodecByName(String id) {
    long cPtr = VideoJNI.Codec_findEncodingCodecByName(id);
    return (cPtr == 0) ? null : new Codec(cPtr, false);
  }
public static Codec findEncodingCodecByName(String id) {
    long cPtr = VideoJNI.Codec_findEncodingCodecByName(id);
    return (cPtr == 0) ? null : new Codec(cPtr, false);
  }
Find a codec that can be used for encoding.<br>
@param id The id of the codec, as a FFMPEG short-name string<br>
(for example, "mpeg4").<br>
@return the codec, or null if we can't find it.