1
1
I am trying to turn and split an audio file into two separate mp3 files with different qualities;
- One at 128k
- One at 320k
What I 've come up so far is this:
ffmpeg -i myaudiofile.wav [i1]asplit=2[o1][o2] \
-map [o1] -acodec libmp3lame -ar 48000 -ab 192k -ac 2 win1.mp3 \
-map [o2] -acodec libmp3lame -ar 48000 -ab 320k -ac 2 win2.mp3
Unfortunately this doesn't work. Any ideas?
Thanks in advance.
"Turn and split"- what does that mean? If you simply need to encode one file into 2 different qualities, consider 2 separate ffmpeg runs on the same file with different encoding parameters. – Rajib – 2014-10-29T16:07:36.750
@Rajib By saying "Turn and split" I mean convert the given wav file to mp3 format and then encode it to 2 different qualities. I just need to do it in exactly one pass. – kstratis – 2014-10-29T16:10:07.963