I'm new to FFMPEG, and can't find much clear documentation on this specifically.
I'm concatenating 3 mp3's (I just want muxing, no encoding/transcoding).
Both of these commands seem to work fine. Is there any difference between using '-c' and '-acodec'?
ffmpeg -i "concat:a.mp3|b.mp3|c.mp3" -acodec copy out.mp3
ffmpeg -i "concat:a.mp3|b.mp3|c.mp3" -c copy out.mp3
I've searched Google for hours, I've found various documentation of ffmpeg but none that explain what -c or -acodec actually do. I think -c stands for 'codec' and -acodec stands for 'audio codec'?? What does each do / is there a difference / is one better?
Documentation I've found that doesn't help:
https://ffmpeg.org/ffmpeg-all.html
https://gist.github.com/tayvano/6e2d456a9897f55025e25035478a3a50
Also any suggestions on how to improve this most welcome (I just need to sequentially join together 3 mp3s).
Thanks.
FFmpegdocumentation clearly states that they do the same thing. Just be careful if you ever work with videos - you would have to use-c:a copyto only copy the audio codec, like-acodec– pigeonburger Jan 25 '21 at 00:41copy /bhad issues is that it's a hack. Using ffmpeg as you are, the output should play as well as the individual mp3 files play. I did once use ffmpeg to create an mp4 file and the mp4 wouldn't play because the audio codec was too advanced, but changing the audio codec to mp3 made it more compatible. You can always keep the original files and if for some reason you find out that things don't work in some player then you have everything you could possibly need to fix it and you can look into it if it happens. Really mp3 files and compatibility is pretty safe! – barlop Jan 25 '21 at 21:32