如何使用ffmpeg API将AAC数据分组编码到flv文件? [英] How to packet encoded AAC data to flv file with ffmpeg API?
本文介绍了如何使用ffmpeg API将AAC数据分组编码到flv文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的问题是:
如何使用ffmpeg将AAC数据分组到flv?
解决方案
如果您只想分组音频进入flv:
ffmpeg -i input.aac -c copy out.flv
如果您有视频轨迹可以使用:
ffmpeg -i input.mp4 -i input.aac -c copy out.flv
I have captured the Audio data from Android Microphone and encoded them by MediaCodec.
My question is:
How to packet encoded AAC data to flv with ffmpeg ?
解决方案
If you only want to packet audio into flv :
ffmpeg -i input.aac -c copy out.flv
If you have a video track to go with :
ffmpeg -i input.mp4 -i input.aac -c copy out.flv
这篇关于如何使用ffmpeg API将AAC数据分组编码到flv文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文