Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.07 KB

README.md

File metadata and controls

14 lines (10 loc) · 1.07 KB

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.