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 ?

Jerikc XIONG
  • 3,517
  • 5
  • 42
  • 71

1 Answers1

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
Ely
  • 1,189
  • 9
  • 12