devlup-labs / devlup-labs/MPV

Extend Audio File Format Support

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
1
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### **Description**

Currently, the audio processing pipeline supports limited file formats. This issue proposes extending support for additional formats by improving handling through existing libraries.

### **Files**

Relevant files where modifications may be required:

- [`[AudioReader.cpp](https://github.com/divyansh1010x/MPV/blob/main/audio/AudioReader.cpp)`](https://github.com/divyansh1010x/MPV/blob/main/audio/AudioReader.cpp)
- [`[AudioReader.h](https://github.com/divyansh1010x/MPV/blob/main/audio/AudioReader.h)`](https://github.com/divyansh1010x/MPV/blob/main/audio/AudioReader.h)

### **Expected Behavior**

- Ensure compatibility with a broader range of audio file formats.
- Properly load and process additional formats seamlessly.

### **Actual Behavior**

Currently, only a limited set of formats are supported, restricting usability.

### **Possible Fixes**

- Identify unsupported formats and evaluate necessary changes.
- Improve configuration of existing **libsndfile** and **FFmpeg** for handling additional formats.
- Implement a fallback mechanism: if a format isn't supported by one library, attempt decoding with the other.
- Validate output consistency across different file formats.

### **Additional Information**

- Ensure minimal performance overhead while extending format support.
- Consider user-configurable format preferences if necessary.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.