Git Product home page Git Product logo

deepin-camera's Introduction

Deepin Camera

Deepin camera is Deepin Desktop Environment Camera Software.

Dependencies

Build Dependencies

  • qmake
  • qt5
  • ffmpeg
  • guvc

Runtime Dependencies

  • Qt5 (>= 5.3)
  • Qt5-X11extras
  • Dtk

Installation

Build From Source Code

  1. Make sure you have installed all dependencies.

  2. Build:

$ cd deepin-camera
$ mkdir Build
$ cd Build
$ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr ..
$ make
  1. Install:
$ sudo make install

When install complete, the executable binary file is placed into /usr/bin/deepin-camera.

Getting Help

Any usage issues can ask for help via

Getting Involved

We encourage you to report issues and contribute changes

License

deepin-camera is licensed under GPL-3.0-or-later.

Include Third Libraries Source Codes

Deepin Camera is based on Guvcview which is a excellent software uses USB-camera to take photos & videos.

Reference documents include:

config.c config.h options.c options.h audio.c audio.h audio_fx.c audio_fx.h audio_portaudio.c audio_portaudio.h audio_pulseaudio.c audio_pulseaudio.h audio_codecs.c audio_codecs.h encoder.c encoder.h file_io.c file_io.h libav_encoder.c libav_encoder.h gview.h gviewencoder.hmatroska.h stream_io.h matroska.c muxer.c stream_io.c video_codecs.c render.h render_sdl2.h render.c render_fx.c render_osd_crosshair.c render_osd_vu_meter.c render_sdl2.c colorspaces.h control_profile.h core_io.h core_time.h dct.h frame_decoder.h gui.h gview.h gviewv4l2core.h jpeg_decoder.h save_image.h soft_autofocus.h uvc_h264.h v4l2_comtrols.h v4l2_core.h v4l2_devices.h v4l2_formats.h v4l2_xu_ctrls.h colorspaces.c control_profile.c core_io.c core_time.c dct.c frame_decoder.c gui.c jpeg_decoder.c save_image.c soft_autofocus.c uvc_h264.c v4l2_comtrols.c v4l2_core.c v4l2_devices.c v4l2_formats.c v4l2_xu_ctrls.c save_image_jpeg.c save_image_bmp.c save_image_png.c

deepin-camera's People

Contributors

ang486 avatar chaigec123 avatar deepin-bot[bot] avatar dependon avatar feeengli avatar felixonmars avatar hudeng-go avatar jeffshuai avatar jhkyy avatar ljxdabab avatar lzwind avatar myk1343 avatar pengfeixx avatar rb-union avatar shicetu avatar starhcq avatar tanl123 avatar tsic404 avatar wineee avatar zcyun1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deepin-camera's Issues

Build failures under Arch

In 1.1.2 version:

src/src/imageitem.cpp: In function ‘int open_codec_context(int*, AVCodecParameters**, AVFormatContext*, AVMediaType)’:
src/src/imageitem.cpp:757:39: error: ‘LoadLibs’ {aka ‘struct _LoadLibs’} has no member named ‘m_avcodec_parameters_to_context’; did you mean ‘m_avcodec_parameters_from_context’?
  757 |     if ((ret = getLoadLibsInstance()->m_avcodec_parameters_to_context(dec_ctx, st->codecpar)) < 0) {
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                       m_avcodec_parameters_from_context
src/src/imageitem.cpp:767:32: error: ‘LoadLibs’ {aka ‘struct _LoadLibs’} has no member named ‘m_avcodec_free_context’; did you mean ‘m_avcodec_alloc_context’?
  767 |         getLoadLibsInstance()->m_avcodec_free_context(&dec_ctx);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
      |                                m_avcodec_alloc_context
src/src/imageitem.cpp:771:28: error: ‘LoadLibs’ {aka ‘struct _LoadLibs’} has no member named ‘m_avcodec_free_context’; did you mean ‘m_avcodec_alloc_context’?
  771 |     getLoadLibsInstance()->m_avcodec_free_context(&dec_ctx);
      |                            ^~~~~~~~~~~~~~~~~~~~~~
      |                            m_avcodec_alloc_context

Please remove stale *.pro files

The project currently doesn't build with qmake, since config.h is expected to be generated from config.h.in by cmake. Please remove the stale qmake *.pro files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.