get
ProbeResult get(Path input) throws CodecMediaException
Convenience alias of {@link #probe(Path)}.
me.tamkungz.codecmedia.CodecMediaEngine
Core media engine contract used by {@link CodecMedia}.
<p>
The current default implementation focuses on practical probing/validation workflows and
light-weight conversion routing. For richer embedded metadata (for example MP3 album cover/APIC),
callers should treat {@link #probe(Path)} output as technical media info rather than full tag extraction.
public interface CodecMediaEngine
ProbeResult get(Path input) throws CodecMediaException
Convenience alias of {@link #probe(Path)}.
ProbeResult probe(Path input) throws CodecMediaException
Detects media format and returns technical stream/container information.
Metadata readMetadata(Path input) throws CodecMediaException
Reads metadata associated with the file. <p> In the default stub implementation this reads sidecar metadata plus base probe fields, not full embedded tag catalogs for every format.
void writeMetadata(Path input, Metadata metadata) throws CodecMediaException
Writes metadata associated with the file. <p> In the default stub implementation this writes a sidecar properties file.
ExtractionResult extractAudio(Path input, Path outputDir, AudioExtractOptions options) throws CodecMediaException
Extracts audio from an input media file into the given output directory.
ConversionResult convert(Path input, Path output, ConversionOptions options) throws CodecMediaException
Converts media according to the requested options.
PlaybackResult play(Path input, PlaybackOptions options) throws CodecMediaException
Starts playback/viewing for supported media.
ValidationResult validate(Path input, ValidationOptions options) throws CodecMediaException
Validates file existence and optional strict format constraints.