Stream Camera
Description
The sample application that uses capabilities of the StreamCamera library API. It provides basic features for working with video and audio streams using the ffmpeg library. The application supports H264 encoding and MP4 container, but can be extended to work with other codecs and formats.
Build status:
Table of Contents
- Table of Contents
- Detailed description
- Compatibility
- Branch info
- Install and Build
- Screenshots
- Usage options
- Project Structure
- Terms of Use and Participation in Development
Detailed description
The application depends on the ffmpeg library. The repository contains already compiled versions of this library for different architectures that can only work with the H264 codec and the MP4 container. If you want to use more features of the ffmpeg library, then you need to rebuild it by adding the necessary configuration parameters from the file build_ffmpeg.md .
Compatibility
The project is compatible with all the current versions of the Aurora OS.
Branch info
Application versions conform to the branch naming convention
Install and Build
The project is built in the usual way using the Aurora SDK. Documentation to build.
Screenshots
Usage options
Record a new video file
- On the main screen, press the round red button to start recording
- To finish recording on the main screen, press the white square button.
Viewing a recorded video file
- On the main screen, click on the folder icon
- The screen opens to select a video file.
- When selecting a video file, the MP suggests selecting a third-party application for watching the video.
Camera selection
- On the main screen, click on the gear icon
- The screen opens with a choice of camera: front or main
Project Structure
The project has a standard structure of an application based on C++ and QML for Aurora OS.
-
app directory contains the application source code:
- ru.auroraos.StreamCamera.pro file describes the project structure for the qmake build system.
- icons directory contains application icons for different screen resolutions.
-
qml directory contains the QML source code and the UI resources.
- cover directory contains the application cover implementations.
- icons directory contains the custom UI icons.
- pages directory contains the application pages.
- StreamCamera.qml file provides the application window implementation.
-
src directory contains the C++ source code.
- main.cpp file is the application entry point.
- translations directory contains the UI translation files.
- ru.auroraos.StreamCamera.desktop file defines the display and parameters for launching the application.
-
lib directory contains additional libraries.
- ffmpeg directory contains already compiled versions of ffmpeg library for different architectures.
-
rpm directory contains the rpm-package build settings.
- ru.auroraos.MapTemplate.spec file is used by rpmbuild tool.
Terms of Use and Participation
The source code of the project is provided under the license, which allows its use in third-party applications.
The contributor agreement documents the rights granted by contributors of the Open Mobile Platform.
Information about the contributors is specified in the AUTHORS file.
Code of conduct is a current set of rules of the Open Mobile Platform which informs you how we expect the members of the community will interact while contributing and communicating.
