RU | EN

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:

  • example - pipeline status
  • dev - pipeline status

Table of Contents

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

screenshots

Usage options

Record a new video file

  1. On the main screen, press the round red button to start recording
  2. To finish recording on the main screen, press the white square button.

Viewing a recorded video file

  1. On the main screen, click on the folder icon
  2. The screen opens to select a video file.
  3. When selecting a video file, the MP suggests selecting a third-party application for watching the video.

Camera selection

  1. On the main screen, click on the gear icon
  2. 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.

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.