Questions tagged [audio-conversion]
The audio-conversion tag has no usage guidance.
135
questions
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 ...
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?
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?...
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 -...
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 ...
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 ...
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 -...
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 ...
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:
...
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?
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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,...
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 ...
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 ...
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 ...
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,...
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 ...
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?
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 ...
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,...
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 - ...
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 ...
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 ...
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 ...
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? ...
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? ...
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 (...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...