I have Google this proplem, Here is a simliar problem
But when i exectue following command
val command = arrayOf("/usr/local/bin/ffmpeg",
"-f", "avfoundation",
"-i", ":2",
"-t", "5",
"-ar", "11025",
"-ac", "1",
"-acodec","aac", "-")
I got this error Unknown input format: 'avfoundation'
Who has ideas for this problem?
PS: My platform is android, i am using android-ffmpeg lib
.