audio_exif

Last updated:

0 purchases

audio_exif Image
audio_exif Images
Add to Cart

Description:

audio exif

Audio Exif #
A package that helps you get the necessary metadata out of audio files
Features #
Gets metadata from audio files.
The list of supported audio file formats:

.mp3
.ogg
.wav

Getting started #
Add the package to your pubspec.yaml file and get started.
Usage #
For getting metadata from file path
// file path
final path = 'path_to_file/file.mp3';
final fileExtension = 'mp3'; // can be mp3, wav, ogg

MetadataExtractor extractor = MetadataExtractorFactory.getExtractor(fileExtension);
final metadata = await extractor.extractMetadataFromPath(path);
copied to clipboard
For getting metadata from file bytes
// bytes
final Uint8List bytes;
final fileExtension = 'mp3'; // can be mp3, wav, ogg

MetadataExtractor extractor = MetadataExtractorFactory.getExtractor(fileExtension);
final metadata = await extractor.extractMetadataFromBytes(bytes);
copied to clipboard
For getting metadata from file
// file object
final File file;
final fileExtension = 'mp3'; // can be mp3, wav, ogg

MetadataExtractor extractor = MetadataExtractorFactory.getExtractor(fileExtension);
final metadata = await extractor.extractMetadataFromFile(file);
copied to clipboard
Additional information #
GitHub Repository

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.