
ALLWINNER A33 RATING ANDROID
support android mediacodec h264 hardware encodingġ4. auto drop frame when could't encoding in timeġ3. record segmented video with out dropping any frameġ1. audio capture from tinyalsa/AudioRecordġ0.

This will disable allwinner A33 cedarx hw encoding code, and support android mediacodec hw encoding.ġ. 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.Ģ. So I suggest using NDK version corresponding to Android 4.4.) (I built these codes under AllWinner A33 Android 4.4 source code enviroment. using NDK or android build environment to build test program using build_ffmpeg_for_android.sh to build ffmpeg library.Ģ. The code is simple to read and debug, is great.ġ. above the project C/C++ code, you can write a simple jni for java, then you can write a apk, to implement the camera preview and video recording. This is why I create the v4l2test project.Ĭompared with android camera hal & camera api, my project directly access to camera and mic devices, it is KISS, with out any complex architecture, with out any hal, with out any service, the code is very simple and easy to debug. How is the android standard api for camera and recorder? I say, it just a toy. And it is very diffcult to position the problem code, and fix bugs. My apks often meet fatal error, and crash many times. I meet many bugs and issues, on android camera hal, camera api, recorder api. It aimed to provide api for audio & video recording and live streaming on android platform, with high stability and performace.Īt my work, I am maintaining codes of android DVR app for in-car products, which request high stability and long time work, which using the android standard camera and recorder api.
ALLWINNER A33 RATING MP4
Recordertest - capture audio & video from mic & camera, preview camera on screen, and recording audio & video into mp4 files.Īfter code stable, I will implement jni and test apks.

V4l2test - capture video from camera, and rendering on screenĮncodertest - generate randomize audio & video data, and encode into mp4 file.
ALLWINNER A33 RATING FOR ANDROID
If you have a android standalone toolchain, it's very easy for you, to build out the ffmpeg library for android platform.Īll code are written in C/C++, after building, you get elf binary excutable program, which can execute in adb shell. In the project, I write a script to customize ffmpeg library building, which only including ACC & H264 encoder and MP4 file muxer, to reduce library size.

Rendering camrea preview on screen, and recording audio and video into mp4 files by ffmpeg library. The project implements audio capture via tinyalsa interface, and video capture via v4l2 interface, on android platform. V4l2test is a project for video & audio recording on android platform.
