Comments (3)
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:
- source build/envsetup.sh
- lunch (and select a combo, ex. aosp_arm-eng)
- make -j8
- cd v4l2test
- 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.
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.
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)
- Build Errors HOT 14
- context-aware encoding
- Preview video is delayed and interlaced HOT 32
- native_window_dequeue_buffer_and_wait will block camdev_capture_thread_proc HOT 1
- av_interleaved_write_frame sometimes consumes too much time, will cause dropping frame HOT 1
- Release proposal HOT 3
- 支持双usb摄像头吗 HOT 6
- How to detect lost connection from Camera? HOT 2
- ffmpeg问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v4l2test.