ffmpeg. My version refuses to give it the .m4a suffix though.
ffmpeg -i filename.mp3 -codec copy filename.mp4
works, but not if you write "m4a" in place of "mp4"
Could you do a
ffmpeg -version
for us?
Here's mine:
ffmpeg version 3.3.3-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.4.0 (Debian 6.4.0-2) 20170724
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
I like John's FFmpeg builds. They come with Vid.Stab should anyone ever need them, etc. And he updates regularly. The only thing that's missing and that I'd love to have at my disposal, is if it were compiled with libfdk_aac.
It seems FFmpeg refuses to put anything into a file suffixed with ".m4a" unless the codec is an AAC codec.
ffmpeg -i audio.mp3 -c:a aac audio.m4a
works as expected, but
ffmpeg -i audio.mp3 -c:a copy audio.m4a
does not. Looks to me more like an oversight, to be honest. FFmpeg says it cannot find a codec tag for that format, I believe someone simply forgot to make sure MP3 is among the codecs supported in an m4a file.
Someone may or may not make a bug report?