2010-07-10 118 views

回答

5

是否有可能在鐵軌?

Yes it is possible. 

是否有ffmpeg代碼或任何將任何音頻文件轉換爲mp3?

Yes. 

只要按照this錦繡文章

你的命令類似follwing

system "ffmpeg -i #{full_filename} -r 25 -acodec flv -ar 22050 -y -s 320x240 #{full_filename}.mp3" 
+0

@audio_conv = Audio.find(@ audio.id) \t \t系統「的ffmpeg -i#{ RAILS_ROOT +'/ public'+ @ audio_conv.public_filename} -r 25 -acodec mp3 -ar 22050 -y -s 320x240#{RAILS_ROOT +'/ public'+ @ audio_conv.public_filename} .mp3「\t 我試過了,但是顯示爲 /home/nikhil/sites/musigigs/public/mp3/0000/0016/Airtell.mid:未知格式 false – 2010-07-10 10:55:40

相關問題