0

I do not know whether it's suitable to ask this question here. If not, please tell me , thanks in advance.

Recently I am working on FFmpeg for Android. Everything works well but its size is too large so I decide to reduce the size.

I think I should at first only enable some encoders that I maybe use. What's common encoders and decodes on Android?

In additional, I can use ./configure --list-encoders to show all available encodes.

CoXier
  • 2,523
  • 8
  • 33
  • 60
  • What are you using `ffmpeg` to do? Do you just need to decode or are you encoding as well? What formats do you intend to work with? – llogan May 28 '18 at 17:12
  • 2
    The good practice on mobile is to use hardware codecs. They are not only faster than SW, they also reduce battery consumption significantly. Typically, for video this includes some limited h264. The highest supported profile depends on the manufacturer. – Alex Cohn May 28 '18 at 19:31

1 Answers1

1

As Alex says in the comments, the support will be different from device to device, but Android does specify minimum sets for given releases:

Mick
  • 24,231
  • 1
  • 54
  • 120