How do I programmatically convert mp3 to an itunes-playable aac/m4a file?

前端 未结 7 1585
无人及你
无人及你 2021-01-06 01:38

I\'ve been looking for a way to convert an mp3 to aac programmatically or via the command line with no luck. Ideally, I\'d have a snippet of code that I could call from my

7条回答
  •  悲哀的现实
    2021-01-06 01:51

    After installing the converting app on the linux/window machine you're running your Rails application on, use the "system()" command in Ruby to invoke the converting application on the system. system("command_here");

提交回复
热议问题