Skip to main content

Questions tagged [audio-conversion]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
126 votes
7 answers
171k views

FFMPEG: Convert m4a to mp3 without significant loss

I have a load of audio files (about 1000) which I want to convert from m4a to mp3 so I can use play them on a CD player which has a USB port. I tried doing something simple like: ffmpeg -i FILE.m4a ...
user3728501's user avatar
  • 2,954
59 votes
3 answers
164k views

Convert mp3 to wav using FFmpeg for VBR

What command should I use to convert a mp3 file to wav whose bitrate is variable. Or better how would I know whether that source audio is fixed bitrate or variable?
Soham Dasgupta's user avatar
45 votes
10 answers
58k views

How do I split an MP3 file without re-encoding it?

I have a 400 MB MP3 file at 96 kbps, taken from a CD.  I want to split this into many files. Is there any way to do that without affecting the quality of audio, or maybe without re-encoding the file?...
user103534's user avatar
34 votes
2 answers
80k views

FFmpeg command to convert MP3 to AAC

I can issue this command: ffmpeg -i input.mp3 -acodec alac -ab 128k -ar 48000 -ac 2 -y output.m4a to create a m4a file. But when I issue this command ffmpeg -i input.mp3 -acodec alac -ab 128k -...
Soham Dasgupta's user avatar
31 votes
1 answer
32k views

ffmpeg - How to copy|extract encoding settings from existing media file?

I wished to be able do this multiple times now so I ask. If I have an existing video or audio file, ffmpeg, mplayer and other media players can detect at least some of it's "propreties" like ...
n611x007's user avatar
  • 6,416
25 votes
8 answers
50k views

Splitting an audio file into chunks of a specified length

I have several long audio files (80 minutes each; m4a) and want them split into 5- or 10-minute pieces. I see many questions for splitting an audio file at extended pauses, tones, etc. but can't seem ...
Andrew Cheong's user avatar
20 votes
2 answers
66k views

How do I change the bit depth in FFmpeg?

I need FFmpeg to grab an audio feed and reencode it to 16-Bit FLAC. How do I force a 16-Bit FLAC output? ./ffmpeg -i http://7359.live.streamtheworld.com:80/CONTINENTALAAC_SC -vn -ac 1 -ar 16000 -...
xulen's user avatar
  • 305
19 votes
5 answers
21k views

How to convert MP3 to YouTube-allowed video format?

I have many MP3 files on my website and I have decided to upload them to Youtube, but unfortunately for me, YouTube does not allow me to do that. It requires video format only. How can I convert ...
malhobayyeb's user avatar
17 votes
2 answers
30k views

ffmpeg stereo channels into two mono channels

I wanted to know if there is a way to split stereo into two mono wav files. My first guess was ffmpeg -threads "16" -i "$2" -map 0:1:1 "$3" because my example video has the following informations: ...
sebastian's user avatar
  • 301
13 votes
6 answers
10k views

How can I convert FLAC to other formats in OS X?

I have a few FLAC files that I'd like to play with iTunes. I would like to retain the metadata if possible. How can I convert the files to a format supported by iTunes?
jweede's user avatar
  • 6,883
12 votes
2 answers
21k views

How to compile the best version of FFmpeg for Cygwin/Windows

It's generally accepted that, by default, FFmpeg comes packaged with lower-quality encoders - particularly when it comes to the default AAC encoder and the default resampler. According to these ...
Hashim Aziz's user avatar
10 votes
4 answers
8k views

Which audio encoders in FFmpeg support 8 kHz?

I have an old video (made by a Casio Exilim EX-Z40, if it matters), whose audio stream ffprobe reports as pcm_u8, 8000 Hz, mono, u8. I would like to transcode it into something modern. Transcoding ...
Camille Goudeseune's user avatar
10 votes
3 answers
21k views

Convert YouTube DASH audio (youtube-dl) to m4a (AAC DL)

I am unable to listen to m4a DASH audio I download from YouTube via youtube-dl on Winamp. Is there an option in youtube-dl to remove the DASH audio part of m4a file and download/save it as an m4a (AAC ...
Sun's user avatar
  • 6,342
10 votes
1 answer
11k views

Convert m4a to aac without quality loss?

I wanna use a program on an .m4a file, but the program can't handle .m4a. It can handle .aac, however, and the codec of the file is MPEG-4 AAC. Is there a way to convert to .aac (and preferably ...
H.v.M.'s user avatar
  • 557
9 votes
2 answers
9k views

How to convert audible AAX file to M4B format, while preserving all information (including artwork)

I tried to find a solution that will allow me to batch-process a whole bunch of AAX files (which I bought over the years) into M4B. I tried using the audible-activator in order to extract the secret, ...
Eh'den's user avatar
  • 121
9 votes
6 answers
15k views

Converting wma to mp3 in bulk without changing directory

I have thousands of music tracks in WMA format from when I used to use Windows Media Player to rip CDs. Now I'm having problems playing them on my Linux desktop at work. Is there a good solution (for ...
Eddy's user avatar
  • 3,397
8 votes
1 answer
14k views

What is the ffmpeg command to convert 3gp to ulaw?

I am able to convert it to wav using: ffmpeg -i audio.3pg audio.wav but I need the command to convert it to ulaw. Anyone?
meda's user avatar
  • 571
8 votes
2 answers
5k views

Why Is Conversion From An MP3 To WAV (PCM) Lossless?

I understand that when converting between audio formats where no stream encoding is involved like when converting between WAV (PCM), AIFF, FLAC, ALAC, WMA Lossless, and etc, the process is usually ...
Robin Hood's user avatar
  • 3,451
8 votes
5 answers
41k views

VLC media player select audio track for conversion

When using VLC media player to convert a video with multiple audio tracks into another format (that may support only one audio track) using only one audio track, how do I select the audio track that ...
RimaNari's user avatar
  • 193
7 votes
4 answers
45k views

How to convert WAV files of some frequency to 44100 Hertz?

I'm using Source Filmmaker, and need to convert an audio file I have to 44100 Hertz, otherwise SFM will not accept it. I believe the frequency of the file is less than 44100 Hertz, and therefore will ...
Jacklynn's user avatar
  • 223
7 votes
5 answers
7k views

How to convert WAV to MP3 without adding silence at the beginning in LAME?

Here's what I need to do: convert a 30.0 sec WAV to a 30.0 MP3. I've tried doing this using LAME however no matter what I try LAME always adds a short moment of silence to the output mp3. Using LAME ...
Niklas's user avatar
  • 71
6 votes
1 answer
4k views

Embedding artwork with FFmpeg during FLAC to ALAC conversion

How does one embed artwork during FLAC → ALAC conversion? ffmpeg -i track.flac -acodec alac track.m4a transfers metadata but not artwork.
KentH's user avatar
  • 245
6 votes
2 answers
17k views

is it possible to convert .nmf audio file to .wav format

Can audio files in "nmf" format be converted to "wav" format? If so, what is the appropriate tool to do so? If it cannot be converted, then what is the workaround? Some sites on the net say that ...
Kamalakshi's user avatar
5 votes
1 answer
7k views

Converting MP3 to AAC and outputting to stdout

ffmpeg.exe -i s.mp3 -f aac - This is the command I run but it doesn't recognize the format AAC. Requested output format 'aac' is not a suitable output format pipe:: Invalid argument However when I ...
ad0ke2's user avatar
  • 53
5 votes
3 answers
480 views

Convert Amiga Oktalyzer format to MIDI

I have some very old audio files from an old DOS game, which are in oktalyzer (.okt) format. I don't know much about the octalyzer format so I'm not sure what these are based on, though, when played ...
Matthew Layton's user avatar
5 votes
1 answer
10k views

FFmpeg `Guessed Channel Layout for Input Stream`

Consider a simple FFmpeg conversion, such as: ffmpeg -i dream.wav dream-ffmpeg.mp3 -y It produces the following warning: Guessed Channel Layout for Input Stream #0.0 : mono How can I tell FFmpeg,...
Fabien Snauwaert's user avatar
4 votes
5 answers
9k views

Converting a bunch of MP3s to mono?

I have a bunch of stereo MP3s I'd like to convert to mono. What is the best way to do this? I would prefer something that would let be batch process them. I want to keep the quality as close to the ...
Wil's user avatar
  • 41
4 votes
2 answers
6k views

How to convert audio file of type G.723.1 into wav format?

I have few audio files which have .wav extension. I tried to get information about this file using soxi <foo.wav> command but I got following error : soxi FAIL formats: can't open input file ...
Shekhar's user avatar
  • 731
4 votes
1 answer
374 views

How can I use an audio file without having to re-encode it to output an audio stream with the same format?

I have two input files, a still image that's going to repeat itself as frames and an audio file. How can I use the audio file without having to re-encode it to output an audio stream with the same ...
Karolinger's user avatar
4 votes
1 answer
11k views

Change codec of WAV file

Is there a way to change the codec/format of WAV file? Can I use ffmpegor anything else? From RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 8000 Hz to RIFF (little-endian) data,...
S.I.'s user avatar
  • 173
4 votes
3 answers
36k views

Extract High Quality vs Original quality audio from YouTube?

The name of the program being used is 4K Video Downloader. Question is, if for example, the Original Quality says it's 128k, is it really going to get any better if I try to extract it with High ...
ZenVentzi's user avatar
  • 165
3 votes
3 answers
30k views

How can I convert G.729 or G.711 files to WAV?

I need to convert G.729 or G.711 files to WAV/WMA/MP3 or any other format which can be played in for example Windows Media Player. How can I do that?
user31310's user avatar
  • 139
3 votes
2 answers
175 views

How to replace WMAs with MP3s

Around 60% of my music collection has been ripped using Windows Media Player and thus in WMA format. I want to convert them to MP3 so they are more compatible with other music players. Is there a ...
David's user avatar
  • 209
3 votes
1 answer
3k views

ffmpeg with blackhole audio "crackling" noises, why?

So I think the title explains most of this, I am trying to record my screen on macOS catalina using ffmpeg while directing the audio in using blackhole I am getting audio in but the sound is crackling,...
Nebulloyd's user avatar
  • 131
2 votes
3 answers
203 views

CD to MP3 converter with full control over filenames and folders [closed]

I'm looking for a good CD to MP3 converter (doesn't have to be free) that gives full control over the names of the mp3s in terms of any combination of - artist, track number, track name, album name - ...
Jonathan's user avatar
  • 3,799
2 votes
1 answer
425 views

Old family videos with no audio... any hope of recovering the audio?

I have limited experience but have used simple tools like mediainfo and ffmpeg before, though I don't usually know what is happening. I dug up some old digital video files of family members that are ...
bcsteeve's user avatar
  • 299
2 votes
1 answer
6k views

ffmpeg loudnorm: normalize audio volume with two pass

https://trac.ffmpeg.org/wiki/AudioVolume#LoudnessNormalization However, it is recommended to run the normalization with two passes, extracting the measured values from the first run, then using the ...
user avatar
2 votes
2 answers
2k views

Downmix stereo audio file to one channel using afconvert

I am using afconvert to convert wav files into caf. Is it possible to mix existing channels (in my case two) down to one channel? I don't want to drop any sound. I see the --mix option but am not sure ...
Jonny's user avatar
  • 555
2 votes
2 answers
15k views

How to convert PCM to MP3?

I have some .pcm files and I want to convert them to high quality .mp3 format. How can I do that? I've tried searching online but haven't found any programs that can do this. Ay suggestions? ...
avirk's user avatar
  • 15.8k
2 votes
1 answer
71 views

What happens when enabling different "spatializing audio" sofware at the same time?

For example: If I enable spatial audio from windows settings: , from logitech(gaming headphones company) ghub application: and dolby atmos in the game(overwatcH): what will happen with the audio? ...
fatFeather's user avatar
2 votes
1 answer
13k views

How to convert raw PCM data to a valid WAV file with ffmpeg?

I run this command: ffmpeg -f f32le -i pipe:0 -f wav pipe:1 ffmpeg version 4.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2018 the FFmpeg developers built with Apple LLVM version 10.0.0 (...
Maxime Dupré's user avatar
2 votes
2 answers
4k views

Handbrake’s stereo downmixing of an MKV 5.1 audio track results in “Center” being right channel and practically nothing is the left channel

So I have successfully used Handbrake (version 1.1.2) to convert many large MKV files into smaller, iOS and macOS compatible video files I can play on my iPhone and MacBook Air for a while without ...
Giacomo1968's user avatar
2 votes
2 answers
673 views

What's a good way of batch converting tracker files?

So, as the title says, I would like to know a good way to convert tracker files (*.mod, *.xm, *.s3m, et cetera) to a format like *.mp3 or *.ogg. A command-line solution would be preferred.
Atlas Sullivan's user avatar
2 votes
1 answer
1k views

Windows Batch & VLC Issues

Currently I am attempting to write a batch file that recursively converts all .wav files in my folder into .ogg files and places them into a folder on a different disk using vlc's command line ...
Miki Fox's user avatar
2 votes
1 answer
3k views

How to create MP3 from WAV without silence at the start and end?

I´m creating MP3 files from WAV in FL Studio. But in created MP3 file is a very short silence (for example 0.02 sec) at the beginning and at the end of the file. In my program, I want to merge these ...
user1700767's user avatar
2 votes
1 answer
2k views

How to transfer recorded audio ATRAC3® files from a Sony MZ-NH900 to a PC?

I have a Sony MZ-NH900 mini-disc reader and recorder. I had recorded (using a microphone) audio files back in the past, and I would like to transfer these files to a PC now. I had to use a software ...
Wok's user avatar
  • 187
2 votes
0 answers
2k views

Need help converting a .wav RIFF WAVEfmt to MP3

I have a couple of .wav files from a Palm Pilot or possibly an old Windows Pocket PC that are in the format of a .wav RIFF WAVEfmt file. I can't play them, and would like to convert them to some ...
Magwich's user avatar
  • 261
2 votes
0 answers
174 views

Can I get separate output on retasked jacks?

I'm using realtek audio console, and I've retasked my mic jack to speaker output. I wanted to have two separate output(2nd output), but instead I got only one, and 2nd output activates only when front ...
me in let's user avatar
2 votes
0 answers
91 views

Error when adding silent channels to ProRes file in FFMpeg

I'm trying to follow this guide to build a usable 5.1 audio for a piece of hardware with specific needs. When I run the command: ffmpeg -ar 48000 -acodec pcm_s24le -f s24le -ac 5 -i /dev/zero -i ...
Brenton Henry's user avatar
2 votes
0 answers
2k views

Concatenate wav audio files leaving a small gap using SoX or other command line tool

I've been looking at using Sox to concatenate multiple raw audio files together. With SoX this is as simple as sox file1.wav file2.wav file3.wav out.wav However I want to join the files with a small ...
Rob's user avatar
  • 729