Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any plan to simplify the build steps? #8

Open
belveder79 opened this issue Dec 13, 2017 · 3 comments
Open

any plan to simplify the build steps? #8

belveder79 opened this issue Dec 13, 2017 · 3 comments

Comments

@belveder79
Copy link

Hi,

your project looks very interesting. However, we were not able to build it, except for the ffmpeg/x264 part.

Could you elaborate more on the dependencies? The infrastructure you have, A33 sdk, is hardly available. I stopped after cloning 6 different git repos from the original google android git and going back to tag android-4.4.4_r2.0.1, but still no luck. It seems to be almost impossible to build it without the A33 SDK.

Best
Clemens

@rockcarry
Copy link
Owner

if you cloned google AOSP source code, and switch to tag android-4.4.4_r2.0.1, I think it's possible to build v4l2test.

under android source dir:

  1. source build/envsetup.sh
  2. lunch (and select a combo, ex. aosp_arm-eng)
  3. make -j8
  4. cd v4l2test
  5. mm -B -j8

if not using A33 platform, remove
-DUSE_MEDIASERVER_H264ENC
-DPLATFORM_ALLWINNER_A33
from Android.mk

and add
-DUSE_MEDIACODEC_H264ENC

this will disable allwinner A33 cedarx hw encoding code, and support android mediacodec hw encoding.

@Rainbow87
Copy link

Hi,
"It seems to be almost impossible to build it without the A33 SDK."
I think it can be build on other platforms. i build success on iMX platform

@YuGuorong
Copy link

build ffmpeg/x264 looks correct , but failure when mm instruction in A33/Android6 SDK:
make: Entering directory `/work/a83/a33-6.0v2.1'
target Executable: v4l2test (out/target/product/astar-h7/obj/EXECUTABLES/v4l2test_intermediates/LINKED/v4l2test)
external/v4l2test/ffmpeg/lib/libavcodec.a(aaccoder.o):aaccoder.c:function search_for_ms: error: undefined reference to '__powisf2'
external/v4l2test/ffmpeg/lib/libavcodec.a(aacpsy.o):aacpsy.c:function ath.constprop.5: error: undefined reference to '__powidf2'
external/v4l2test/ffmpeg/lib/libavutil.a(mathematics.o):mathematics.c:function av_gcd: error: undefined reference to '__ctzdi2'
external/v4l2test/ffmpeg/lib/libavutil.a(mathematics.o):mathematics.c:function av_gcd: error: undefined reference to '__ctzdi2'
external/v4l2test/ffmpeg/lib/libavutil.a(mathematics.o):mathematics.c:function av_gcd: error: undefined reference to '__ctzdi2'
collect2: error: ld returned 1 exit status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants