Audio conversion software converts audio file formats from one form into another (for example, from FLAC into MP3). Many include the ability to select encoding parameters for each of the output file formats selected to obtain Voice, CD, Telephony and Radio quality sound.
Questions tagged [audio-converter]
71 questions
15
votes
1 answer
Using ffmpeg convert a file from one format to another
I'm new to ffmpeg and I was trying to find out how to convert a audio or video file from one format to another. I don't want to use CLI, I just want to know if I can use ffmpeg as a library and call a function to convert a file from one format to…

Pannu
- 2,547
- 2
- 23
- 29
15
votes
3 answers
Unable to convert mp3 into PCM using AudioConverterFillComplexBuffer in AudioFileStreamOpen's AudioFileStream_PacketsProc callback
I have a AudioFileStream_PacketsProc callback set during an AudioFileStreamOpen which handles converting audio packets into PCM using AudioConverterFillComplexBuffer. The issue that I am having is that I am getting a -50 OSStatus (paramErr) after…

3254523
- 3,016
- 7
- 29
- 43
9
votes
1 answer
OS X / iOS - Sample rate conversion for a buffer using AudioConverterFillComplexBuffer
I'm writing a CoreAudio backend for an audio library called XAL. Input buffers can be of various sample rates. I'm using a single audio unit for output. Idea is to convert the buffers and mix them prior to sending them to the audio unit.
Everything…

Ivan Vučica
- 9,529
- 9
- 60
- 111
7
votes
2 answers
How do I use CoreAudio's AudioConverter to encode AAC in real-time?
All the sample code I can find that uses AudioConverterRef focuses on use cases where I have all the data up-front (such as converting a file on disk). They commonly call AudioConverterFillComplexBuffer with the PCM to be converted as the…

nevyn
- 7,052
- 3
- 32
- 43
6
votes
1 answer
Issue while converting audio file from .wav to MP3 using LAME
I am trying to convert Linear PCM audio file (.wav) to MP3 using LAME for my iOS app. I am successfully able to do it except for one issue , the created MP3 file turns out to be smaller than the orignal .wav file. For 30 seconds wav file , created…

Bhumit Mehta
- 16,278
- 11
- 50
- 64
6
votes
1 answer
avconv : flac to ogg conversion with metadata kept
I'm currently writing a command line tool to convert a input music library with various formats (flac / ogg / mp3 / ...) to an output music library of a given format (flac / ogg / mp3). I've based it on avconv (or ffmpeg if avconv is not available)…

Biapy
- 349
- 3
- 9
6
votes
1 answer
How to Correctly Destroy ToneUnit after Tone Fades Out?
I'm generating tones on iPhone using AudioUnits based on Matt Gallagher's classic example. In order to avoid the chirps and clicks at the beginning/end, I'm fading the amplitude in/out in the RenderTone callback. I'd like to destroy the ToneUnit at…

JohnK
- 6,865
- 8
- 49
- 75
5
votes
1 answer
How to extract just the audio from an MP4 file and convert it to FLAC file in C#?
My goal is to write C# that turns Microsoft LYNC meeting audio into text.
Here is my project so far. Initially I was trying to record from microphone, save it to WAV then convert WAV to FLAC and using GoogleSpeechAPI, convert FLAC to text. But I got…

Awesome_girl
- 484
- 3
- 9
- 30
5
votes
1 answer
Audio compression is not working for Itunes Songs
I am working on project which picks a song from media picker and sends the data to server. I am converting the picked song. Its working fine for normal songs (i.e songs which doesn't belongs to itunes purchased), for the purchased songs I am getting…

girish
- 900
- 12
- 23
5
votes
1 answer
Java audio converter api
I am looking for a comprehensive API in Java that can convert audio across various formats and bitrates.
For example
WAV (6kHz to 48kHz) L16/audio ---TO--- WAV (RIFF header) 8KHz 8-bit mono A-law/U-law
AIFF (6kHz to 48kHz) L16/audio ---TO--- WAV…

AurA
- 12,135
- 7
- 46
- 63
4
votes
1 answer
Gstreamer+python: adding and removing audio sources while pipeline is running
I'm working on a sample python script, originally found here: Adding and removing audio sources to/from GStreamer pipeline on-the-go.
The aim is to make a script such as the one above, able to insert and remove audio sources while the pipeline is…

user1048335
- 61
- 1
- 4
4
votes
1 answer
How do I convert an audio mp3 file to audio type raw in iOS using Swift?
What is the most effective way to convert an audio mp3 file to audio type raw with the following characteristics in iOS using Swift?
single-channel (monaural)
little-endian
unheadered
16-bit signed
PCM
sampled at 16000 Hz

daniel
- 1,446
- 3
- 29
- 65
4
votes
1 answer
Convert 8kHz mulaw to 16KHz PCM in real time
In my POC I'm receiving a conversation streaming from Twilio in 8kHz mulaw and I want to transcribe it using Amazon Transcribe that needs to get the audio in 16KHz and PCM.
I found here how to convert a file but failed to do this in streaming... The…

AsfK
- 3,328
- 4
- 36
- 73
4
votes
0 answers
Extend "Extended Audio File Services" so it can write MP3s by using lame / another codec?
I would like to use the lame mp3 encoder for encoding audio data on the iPhone and save it to a file. I'm able to use lame for encoding and I'm able to use the Extended Audio File Services for writing audio files. I would like to combine the two so…

Daniel S.
- 6,458
- 4
- 35
- 78
3
votes
2 answers
How do you check a file type when there is no extension in c#
How do you check a file type when there is no extension in c#
For instance, I have files with no extension, that are either .mp4 or .flv format (just no extension). I plan on converting these video files to audio files however I would like to…

Thomas07vt
- 219
- 1
- 4
- 11