How to convert wav file to mp4 using ffmpeg in and

2019-06-05 21:03发布

I am having a wav file.How to convert wav file into mp4 file container format with AAC as audio stream using FFmpeg in android.I know how compile and port ffmpeg for android.Can anybody give me right direction

thanks,

1条回答
混吃等死
2楼-- · 2019-06-05 21:20

you'll need to compile libfaac if you want to have a decent quality encoder. Then, something like ffmpeg -i foo.wav -vn -acodec libfaac -ab BITRATE output.mp4 should do the trick.

查看更多
登录 后发表回答