BlackBerry 10 NDK sample app for libffbb (camera API with FFmpeg support).
C++ C Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
ffmpeg
libx264
src
.cproject
.gitignore
FFCameraSample.pri
FFCameraSample.pro
LICENSE
Makefile
NOTICE
README.md
bar-descriptor.xml
code-formatter.xml
icon.png
mkpri.sh

README.md

FFCameraSample uses the native camera API to record video. However instead of using the platform encoder to write to an MP4 file, this app will use FFmpeg to write out to an MPEG-2 file. This app currently only records video and not audio. While recording, the video file will be read, decoded and displayed on the screen.

The FFmpeg related functionality is provided through libffbb which has been copied into the src directory. See libffbb for instructions on building FFmpeg.

Demo video:
This was the initial demo video. The playback lag should be fixed.
[![Demo Video][baOL5EJrJ9U_img]][baOL5EJrJ9U_link] [baOL5EJrJ9U_link]: http://www.youtube.com/watch?v=baOL5EJrJ9U "Demo Video" [baOL5EJrJ9U_img]: http://img.youtube.com/vi/baOL5EJrJ9U/2.jpg "Demo Video"

Related support forum post:
Camera API NV12 frame to AVFrame (FFmpeg)

Built using the 10.0.6 BlackBerry 10 NDK, and tested on the BlackBerry Dev Alpha device.