Transformation builder doesn't support converting audio files to WAV, though Exoplayer can play WAV.
Open
Nobody has claimed this yet.
editing
enhancement
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Before filing a feature request:
- Search existing open issues, specifically with the label ‘enhancement’:
https://github.com/androidx/media/labels/enhancement - For ExoPlayer-related feature requests, please also check for existing feature
requests on the ExoPlayer tracker:
https://github.com/google/ExoPlayer/labels/enhancement - Search existing pull requests:
- On this tracker: https://github.com/androidx/media/pulls,
- On the ExoPlayer tracker: https://github.com/google/ExoPlayer/pulls
When filing a feature request:
Replace the content in the sections below.
[REQUIRED] Use case description
I'm building an Audio Production app, and the files I generate will be in WAV format. I'd like to be able to import non-WAV files and convert them to WAV files so I can treat all audio files in the same way. However, DefaultMuxer.Factory() doesn't list WAV files as supported, so attempting to transform into WAV fails.
Proposed solution
Add MimeTypes.AUDIO_WAV to Muxer.Factory#SUPPORTED_AUDIO_SAMPLE_MIME_TYPES and support converting a supported audio file type to WAV, ie
Transformer.Builder(context)
.setAudioMimeType(MimeTypes.AUDIO_WAV)
.build()
Alternatives considered
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.