Uses of Class
com.avpkit.core.ICodec.ID
-
Packages that use ICodec.ID Package Description com.avpkit.core An advanced API for reading, decoding, re-sampling, encoding and writing of most media files.com.avpkit.mediatool A simple API for to decoding, viewing and encoding media: tutorial here; start withToolFactory. -
-
Uses of ICodec.ID in com.avpkit.core
Methods in com.avpkit.core that return ICodec.ID Modifier and Type Method Description ICodec.IDIContainerFormat. establishOutputCodecId(ICodec inputCodec)For a given input codec guess an ID supported by this IContainerFormat that might be good for encoding.ICodec.IDIContainerFormat. establishOutputCodecId(ICodec.ID inputCodecId)For a given input codec id guess an ID supported by this IContainerFormat that might be good for encoding.ICodec.IDIContainerFormat. establishOutputCodecId(ICodec.Type type)For a given output codec type guess the best codec for encoding into this container.ICodec.IDIContainerFormat. establishOutputCodecId(ICodec.Type type, ICodec.ID inputCodecId)For a given input codec guess an ID supported by this IContainerFormat that might be good for encoding.ICodec.IDISimpleMediaFile. getAudioCodec()Get the audio codec set on this configuration object.ICodec.IDSimpleMediaFile. getAudioCodec()Get the audio codec set on this configuration object.ICodec.IDIStreamCoder. getCodecID()A short hand for getCodec().getID().
ICodec.IDICodec. getID()Get the ID of this codec as an enumeration.ICodec.IDIContainerFormat. getOutputCodecID(int index)Queries for a supported codec id from the list of codecs
that can be encoded into this ContainerFormat.
ICodec.IDIContainerFormat. getOutputDefaultAudioCodec()Get the default audio codec this container prefers, if known.
ICodec.IDIContainerFormat. getOutputDefaultSubtitleCodec()Get the default subtitle codec this container prefers, if known.
ICodec.IDIContainerFormat. getOutputDefaultVideoCodec()Get the default video codec this container prefers, if known.
ICodec.IDISimpleMediaFile. getVideoCodec()Get the video codec that packets are encoded with.ICodec.IDSimpleMediaFile. getVideoCodec()Get the video codec that packets are encoded with.static ICodec.IDICodec.ID. swigToEnum(int swigValue)static ICodec.IDICodec.ID. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ICodec.ID[]ICodec.ID. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.avpkit.core that return types with arguments of type ICodec.ID Modifier and Type Method Description java.util.List<ICodec.ID>IContainerFormat. getOutputCodecsSupported()Returns a list of all codecs supported for this Object.Methods in com.avpkit.core with parameters of type ICodec.ID Modifier and Type Method Description IStreamIContainer. addNewStream(ICodec.ID id)Add a new stream that will use the given codec.
ICodec.IDIContainerFormat. establishOutputCodecId(ICodec.ID inputCodecId)For a given input codec id guess an ID supported by this IContainerFormat that might be good for encoding.ICodec.IDIContainerFormat. establishOutputCodecId(ICodec.Type type, ICodec.ID inputCodecId)For a given input codec guess an ID supported by this IContainerFormat that might be good for encoding.static ICodecICodec. findDecodingCodec(ICodec.ID id)Find a codec that can be used for decoding or
find a HW codec that can be used for decoding.static ICodecICodec. findDecodingCodec(ICodec.ID id, IPixelFormat.Type arg1)Find a codec that can be used for decoding or
find a HW codec that can be used for decoding.static ICodecICodec. findEncodingCodec(ICodec.ID id)Find a codec that can be used for encoding or
find a HW codec that can be used for encoding.static ICodecICodec. findEncodingCodec(ICodec.ID id, IPixelFormat.Type arg1)Find a codec that can be used for encoding or
find a HW codec that can be used for encoding.intIContainerFormat. getOutputCodecTag(ICodec.ID id)Get the 4-byte tag the container would output for
the given codec id.
booleanIContainerFormat. isCodecSupportedForOutput(ICodec.ID id)Returns true if this container format can output media
encoded with the given codec.
static IStreamCoderIStreamCoder. make(IStreamCoder.Direction direction, ICodec.ID id)Create a standalone StreamCoder that can encode or decode data independent
of the stream it is attached to.
voidISimpleMediaFile. setAudioCodec(ICodec.ID audioCodec)Set the audio codec to use.voidSimpleMediaFile. setAudioCodec(ICodec.ID audioCodec)Set the audio codec to use.voidIStreamCoder. setCodec(ICodec.ID id)Look up a Codec based on the passed in ID, and then set it.voidIStreamCoder. setCodecID(ICodec.ID id)Look up a Codec based on the passed in ID, and then set it.intIContainer. setForcedAudioCodec(ICodec.ID id)Forces the {IContainer} to assume all audio streams are
encoded with the given audio codec when demuxing.intIContainer. setForcedSubtitleCodec(ICodec.ID id)Forces the {IContainer} to assume all subtitle streams are
encoded with the given subtitle codec when demuxing.intIContainer. setForcedVideoCodec(ICodec.ID id)Forces the {IContainer} to assume all video streams are
encoded with the given video codec when demuxing.voidISimpleMediaFile. setVideoCodec(ICodec.ID videoCodec)Set the video codec that packets are encoded with.voidSimpleMediaFile. setVideoCodec(ICodec.ID videoCodec)Set the video codec that packets are encoded with. -
Uses of ICodec.ID in com.avpkit.mediatool
Methods in com.avpkit.mediatool with parameters of type ICodec.ID Modifier and Type Method Description intIMediaWriter. addAudioStream(int inputIndex, int streamId, ICodec.ID codecId, int channelCount, int sampleRate)Add an audio stream that will later have data encoded withIMediaWriter.encodeAudio(int, IAudioSamples).intIMediaWriter. addVideoStream(int inputIndex, int streamId, ICodec.ID codecId, int width, int height)Add a video stream that will later have data encoded withIMediaWriter.encodeVideo(int, IVideoPicture).intIMediaWriter. addVideoStream(int inputIndex, int streamId, ICodec.ID codecId, IRational frameRate, int width, int height)Add a video stream that will later have data encoded withIMediaWriter.encodeVideo(int, IVideoPicture).
-