Questions tagged [audio-conversion]

131 questions
110
votes
7 answers

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 FILE.mp3 but this seems to reduce the bitrate to a…
user3728501
  • 2,486
  • 6
  • 28
  • 46
55
votes
3 answers

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
  • 1,574
  • 6
  • 21
  • 30
42
votes
10 answers

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
  • 429
  • 1
  • 4
  • 3
31
votes
1 answer

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 container, codec and bitrate used, probably various…
n611x007
  • 6,336
  • 14
  • 61
  • 88
31
votes
2 answers

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 -ar 48000 -ac 2 -y output.aac ffmpeg is throwing an…
Soham Dasgupta
  • 1,574
  • 6
  • 21
  • 30
24
votes
8 answers

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 to find one regarding this simple operation. Does…
Andrew Cheong
  • 1,588
  • 6
  • 22
  • 43
19
votes
2 answers

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 -acodec flac -map 0 -f segment -segment_list…
xulen
  • 195
  • 1
  • 1
  • 7
17
votes
5 answers

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 these MP3s to video and add same set of images (one…
malhobayyeb
  • 513
  • 2
  • 5
  • 18
17
votes
2 answers

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: Audio ID :…
sebastian
  • 301
  • 1
  • 4
  • 8
12
votes
6 answers

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
  • 6,793
  • 3
  • 38
  • 39
12
votes
2 answers

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 sources, the solution is to compile the program from…
Hashim Aziz
  • 11,898
  • 35
  • 98
  • 166
10
votes
3 answers

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 LC) without loss of quality? So far, I am using …
Sun
  • 6,192
  • 10
  • 34
  • 54
10
votes
4 answers

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 with FFmpeg defaults fails: libfaac doesn't support…
Camille Goudeseune
  • 2,297
  • 4
  • 32
  • 41
10
votes
1 answer

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 converting back) without reencoding? (Alternative…
H.v.M.
  • 547
  • 2
  • 5
  • 20
8
votes
2 answers

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 lossless, because the PCM audio stream is just being…
Robin Hood
  • 3,411
  • 2
  • 19
  • 37
1
2 3
8 9