Questions tagged [audio-conversion]
142 questions
145
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
- 3,404
- 9
- 39
- 54
64
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,684
46
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
- 469
34
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,684
32
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,566
- 15
- 67
- 91
29
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,818
20
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
- 305
- 1
- 2
- 7
19
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
- 543
18
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
- 311
14
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,933
13
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
- 13,835
11
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,721
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,480
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.
- 577
9
votes
6 answers
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 Windows or Linux) for converting all the WMAs to…
Eddy
- 3,427