Md. Arafat Al Mahmud
Md. Arafat Al Mahmud

Reputation: 3204

How to build FFmpeg 2.0 for android on linux?

I have downloaded and extracted android-ndk-r9 on my Ubuntu11.04. I want to build FFmpeg latest version which I have downloaded from here using git. I followed the procedure described here. I have replaced this script suggested there with this. But I got the following error:

enter image description here

How to resolve this issue or can you suggest me a better approach ?

Upvotes: 1

Views: 946

Answers (1)

Alex Cohn
Alex Cohn

Reputation: 57173

Either in ./build_android.sh or in ./configure you have an extra ^M. Open the files with vi and clean them from this garbage, see ./configure : /bin/sh^M : bad interpreter

Upvotes: 1

Related Questions