Git Product home page Git Product logo

Comments (3)

rockcarry avatar rockcarry commented on June 4, 2024

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.

from v4l2test.

Rainbow87 avatar Rainbow87 commented on June 4, 2024

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

from v4l2test.

YuGuorong avatar YuGuorong commented on June 4, 2024

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

from v4l2test.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.