How to packet encoded AAC data to flv file with ffmpeg API?
Asked Answered
S

1

1

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 ?

Soybean answered 1/7, 2015 at 11:29 Comment(0)
N
1

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
Nonobedience answered 1/7, 2015 at 14:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.