Advertisement
Guest User

Untitled

a guest
Jan 10th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. I am trying to build ffmpeg with opencore-amr and libx264 support, I found this build script http://sourceforge.net/projects/ffmpeg4android/, this compiles as expected, the resultant binary works fine on the device and --enable-libx264 appears in the output of the binary when I pass no arguments.
  2.  
  3. However when I try to include support for libopencore-amr it doesnt seem to work, I have installed libopencore-amr and libopencore-amr-devel (I should add that I have tried this whole procedure on both fedora and ubuntu). I modified the Android_Configure.mk file so that it looks like this:
  4.  
  5. FF_CONFIGURATION_STRING := \
  6. --arch=$(TARGET_ARCH) \
  7. --target-os=linux \
  8. --enable-cross-compile \
  9. --cross-prefix=$(NDK_CROSS_
  10. PREFIX) \
  11. --sysroot=$(NDK_SYSROOT) \
  12. --enable-shared \
  13. --enable-static \
  14. --enable-libopencore-amrnb <-- i've added this line
  15.  
  16. However when I run ./configure I see:
  17.  
  18. libopencore-amrnb support no
  19. libopencore-amrwb support no
  20.  
  21. Despite this the build goes well with zero compilation errors. When I run ffmpeg on the device everything seems to work however there is definitely no support for amrnb.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement