Git Product home page Git Product logo

camera's Introduction

Camera

Translation status

The camera app designed for elementary OS

Camera Screenshot

Building, Testing, and Installation

You'll need the following dependencies:

  • gstreamer1.0-gtk3
  • libcanberra-dev
  • libclutter-gst-3.0-dev
  • libclutter-gtk-1.0-dev
  • libgranite-dev
  • libgstreamer1.0-dev
  • libgstreamer-plugins-base1.0-dev
  • libgtk-3-dev
  • libhandy-1-dev
  • meson >= 0.46
  • valac

Run meson build to configure the build environment. Change to the build directory and run ninja test to build and run automated tests

meson build --prefix=/usr
cd build
ninja test

To install, use ninja install, then execute with io.elementary.camera

sudo ninja install
io.elementary.camera

camera's People

Contributors

aalhaif avatar bagjunggyu avatar cassidyjames avatar codygarver avatar colindemian avatar comradekingu avatar danirabbit avatar davidmhewitt avatar elementarybot avatar gre0j avatar guanox avatar hugok79 avatar igordsm avatar ihorhordiichuk avatar jendamarek avatar jeremypw avatar johndumpling avatar josprachi avatar marcin-serwin avatar marcuswichelmann avatar marukesu avatar nasserbinlaboun avatar nathanbnm avatar p-bo avatar queeup avatar ryonakano avatar strozzascotte avatar tomiohl avatar weblate avatar yarons avatar

Stargazers

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

Watchers

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

camera's Issues

Video is really choppy with high resolution cameras

Steps to reproduce the issue

  1. Plug in a Logitech C920

Expected behavior

Video to not be really slow.

System information

  • elementary OS 0.4.1 Loki:

I also tried installing guvcview from package and from the ppa on sourceforge, no difference. Also there are some mentions online of changing Auto white balance in guvcview, but this didn't change anything.

In cheese and in Chromium there is no problem. Audio and video works as expected.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Add timer when recording video

This is a problem of UX, when you record a video, you do not know if it is actually being recorded more than the icon change.
A timer could be added to give more information to the user.

The string "%d Sec" is displayed as untranslated

Steps to reproduce the issue

  1. Open the app
  2. Click the "Disabled" label at the top left of the window
  3. The label changes to "3 Sec" and this seems to be displayed as untranslated

Expected behavior

The string "%d Sec" should be displayed as translated.

Actual behavior

screenshot from 2018-07-17 10-56-39

The string "%d Sec" is displayed as untranslated.

System information

  • Juno (in Japanese, since Beta 1 AFAIK)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Switch to USB webcam if connected

Steps to reproduce the issue

  1. Plugin a USB webcam in a laptop
  2. Open Camera application

Expected behavior

I expected it to switch it to the USB webcam

Actual behavior

The application keeps using the built-in webcam, and gives no indication of an external webcam

System information

  • Operating system version: elementary OS 0.4.1 Loki
  • *Laptop: Dell XPS 13 9350
  • Webcam: Logitech C310

Additional information

Both cameras work and can be switched in video calling applications like browser based services and others.

Add a timer widget

A function like this is essential, especially if you want to take a selfie with friends.
This is a possible solution:
camera 4
Some other idea, this is very easy to implement.

Add configuration option for switching between multiple webcams

Simply put, I miss an option for switching between internal & external webcams. For example, my laptop has a built in webcam, but I also have an external USB webcam that I'd like to be able to use. There's currently no option for choosing which webcam to use, and a simple drop-down menu for choosing which cam to use would suffice just fine.

Camera freezes when used with logitech c920

Steps to reproduce the issue

  1. Plug in USB camera
  2. Open App

Expected behavior

Take webcam shots or videos

Actual behavior

The app becomes totally unresponsive. I get an initial still image when the app boots up, but I can neither take pictures or shoot video.
The webcam works with both cheese and GUVCview, so it's not a hardware issue. Possibly a compatibility issue?

System information

Elementary OS Loki 0.4.1

Video is broken

  1. Try to record a video
  2. Notice that no video is saved

Terminal output: [FATAL 13:06:36.415030] No headers or buffers on pad muxer:video_1814055813

Use Flash with LCD white Blanking

Steps to reproduce the issue

  1. Use Flash with LCD white Blanking

Expected behavior

i think like smart phone which have not front flash usually use LCD blanking

Describe what you expected to happen.

Use Flash with LCD with white Blanking

Actual behavior

Describe what actually happened, being specific about how this differs from your expectations.

System information

  • Operating system version:
    Juno

Mirror image created eg text is reversed

Steps to reproduce the issue

  1. Take a picture of a page and text is mirrored when it needs to be copied

Expected behavior

Option or parameter available to allow eg mirror, or copy mode.

Describe what you expected to happen.
I use camera to take pictures of parcels before sending them and the image is a mirror, so I have to horizontal flip to fix text. I would expect to have mirror or copy sticky setting either in parameters or in UI
Appreciate additional: [Enter] as capture button additional, User define save directory.

Actual behavior

Describe what actually happened, being specific about how this differs from your expectations.

System information

  • Operating system version:

Camera launches but has no image on Dell 5000 Series.

System information

Dell-Inspiron-13-5378
Dual-Core Intel® Core™ i5-7200U CPU @ 2.50GHz
Intel Corporation HD Graphics 620 (rev 02)
8.0 GB memory

  • Operating system version:
    elementary OS 5.0 Juno
    Linux 4.15.0-45-generic
    GTK+ 3.22.30

Output of : io.elementary.camera

(io.elementary.camera:5211): Gtk-WARNING **: 12:17:46.950: Theme parsing error: gtk.css:6655:15: The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'

(io.elementary.camera:5211): Gtk-WARNING **: 12:17:46.950: Theme parsing error: gtk.css:6669:15: The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'

(io.elementary.camera:5211): Gtk-WARNING **: 12:17:46.951: Theme parsing error: gtk.css:6796:28: Missing opening bracket in color definition

(io.elementary.camera:5211): Clutter-Gst-WARNING **: 12:17:47.427: Internal data stream error.

screenshot from 2019-03-04 12 28 40

Camera app can't use the built in camera

Steps to reproduce the issue

  1. Open camera application

Expected behavior

The camera to turn on and the ability to take a picture

Actual behavior

A message that states No Supported Camera Found. The console puts out the following messages:

(io.elementary.camera:17564): Clutter-Gst-CRITICAL **: 09:53:36.925: Unable to setup device without element factory, node and name set 0x5631785cc490 0x7f4bbc00e170 (nil)

System information

image

When using Chromium and Google Meet, it is able to detect and enable the camera without issue.

image

The io.elementary.camera package installs on Ubuntu Disk 19.04 normally, but does not open the video image.

Hello Team Elementary OS

Can you help me with this?

https://answers.launchpad.net/ubuntu/+source/camera-app/+question/679039

edson@edson-p6540br:$ uname -a
Linux edson-p6540br 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:27:25 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
edson@edson-p6540br:
$


edson@edson-p6540br:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu Disco Dingo (development branch)
Release: 19.04
Codename: disco


As for the command: LANG = C sudo dpkg --audit did not appear anything, simply typed the password and did not list anything.

Look:

edson@edson-p6540br:~$ LANG=C sudo dpkg --audit
[sudo] password for edson:


edson@edson-p6540br:$ LANG=C apt-cache policy io.elementary.camera pantheon-camera snap-photobooth
io.elementary.camera:
Installed: 1.0.3+r718+pkg15
dailyubuntu18.10.1
Candidate: 1.0.3+r718+pkg15
dailyubuntu18.10.1
Version table:
*** 1.0.3+r718+pkg15
dailyubuntu18.10.1 500
500 http://ppa.launchpad.net/elementary-os/daily/ubuntu disco/main amd64 Packages
100 /var/lib/dpkg/status
pantheon-camera:
Installed: (none)
Candidate: 1.0.3+r718+pkg15
dailyubuntu18.10.1
Version table:
1.0.3+r718+pkg15
dailyubuntu18.10.1 500
500 http://ppa.launchpad.net/elementary-os/daily/ubuntu disco/main amd64 Packages
snap-photobooth:
Installed: (none)
Candidate: 1.0.3+r718+pkg15
dailyubuntu18.10.1
Version table:
1.0.3+r718+pkg15
dailyubuntu18.10.1 500
500 http://ppa.launchpad.net/elementary-os/daily/ubuntu disco/main amd64 Packages
edson@edson-p6540br:
$


When you open the camera through the terminal the following error message appears:

edson@edson-p6540br:~$ io.elementary.camera

(io.elementary.camera:16631): Clutter-WARNING **: 09:27:57.062: Whoever translated default:LTR did so wrongly.

(io.elementary.camera:16631): Clutter-Gst-CRITICAL **: 09:27:57.166: Unable to setup device without element factory, node and name set 0x55c94c5293c0 0x7fc58c00dd00 (nil)


https://bugs.launchpad.net/ubuntu/+source/camera-app/+bug/1818902

Hello guys

I installed the io.elementary.camera package from Elementary OS on Ubuntu Disk 19.04 normally, but message appears that it does not recognize the webcam. Note I have the Juno Elementary OS installed on the same machine and the Webcam works normally.

I installed through the repository:

sudo add-apt-repository ppa: elementary-os / daily
sudo apt update
sudo apt install io.elementary.camera

In the description, there is the option pantheon-camera, but this one says to be with broken package and does not install. Could it be this that does not let the webcam work? Look!

sudo apt install pantheon-camera
[sudo] password for edson:
Reading package lists ... Ready
Building dependency tree
Reading status information ... Ready
Some packages could not be installed. This may mean that
you asked for an impossible situation or, if you are using the
unstable distribution, that some required packages have not been created yet or have been removed from Incoming.
The following information may help resolve the situation:

The following packages have mismatched dependencies:
pantheon-camera: Depends: io.elementary.camera but will not install
E: Impossible to fix problems, you kept (hold) broken packages.

Note When I enter synaptcis there is no broken package.

If you uninstall io.elementary.camera and try to install the pantheon-camera the same broken package information appears.

The installation of io.elementary.camera is performed successfully on Ubuntu 19.04 Disk, but does not appear the image of the video and nor does it recognize the webcam, video attachments.

When you try to open the camera through the terminal the following error message appears:

edson @ edson-p6540br: ~ $ io.elementary.camera

(io.elementary.camera:10218): Clutter-WARNING **: 16: 43: 29.698: Whoever translated default: LTR did so wrongly.

(io.elementary.camera:10218): Clutter-Gst-CRITICAL **: 16: 43: 29.753: Unable to setup device without element factory, node and name set 0x55a19aa51200 0x7fc2ec00e240 (nil)
edson @ edson-p6540br: ~ $

I ask you to forward the responsible team so that the correction can be carried out.

I thank you for your attention

Serial.com

Note Even after updating the version on today's date, the io-elementary-camera does not work on Ubuntu 19.04 Disk.

É preciso baixar 36,9 kB de arquivos.
Depois desta operação, 0 B adicionais de espaço em disco serão usados.
Obter:1 http://ppa.launchpad.net/elementary-os/daily/ubuntu disco/main amd64 io.elementary.camera amd64 1.0.3+r718+pkg15dailyubuntu19.04.1 [36,9 kB]
Baixados 36,9 kB em 1s (26,8 kB/s)
(Lendo banco de dados ... 313409 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../io.elementary.camera_1.0.3+r718+pkg15dailyubuntu19.04.1_amd64.deb ...
A descompactar io.elementary.camera (1.0.3+r718+pkg15dailyubuntu19.04.1) sobre (1.0.3+r718+pkg15dailyubuntu18.10.1) ...
Configurando io.elementary.camera (1.0.3+r718+pkg15dailyubuntu19.04.1) ...
A processar 'triggers' para desktop-file-utils (0.23-4ubuntu1) ...
A processar 'triggers' para mime-support (3.60ubuntu1) ...
A processar 'triggers' para gnome-menus (3.31.4-2ubuntu2) ...
A processar 'triggers' para libglib2.0-0:amd64 (2.60.0-1) ...
override for key “transparency-mode” in schema “org.gnome.shell.extensions.dash-to-dock” in override file “/usr/share/glib-2.0/schemas/10_ubuntu-dock.gschema.override” is not in the list of valid choices; ignorando sobrescrita para esta chave.
A processar 'triggers' para bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Calculando atualização... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Calculando atualização... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
edson@edson-p6540br:~$ io.elementary.camera

(io.elementary.camera:4241): Clutter-WARNING **: 11:47:25.308: Whoever translated default:LTR did so wrongly.

(io.elementary.camera:4241): Clutter-Gst-CRITICAL **: 11:47:25.368: Unable to setup device without element factory, node and name set 0x556a5d8eb3c0 0x7fe59800dd00 (nil)
edson@edson-p6540br:~$

captura de tela de 2019-03-08 11-47-46
54423260_10210561449992488_5834765603360997376_n

dependence on non-standard icon in the .desktop file

The camera desktop file references an icon that is neither defined in the XDG icon naming spec, nor present in most icon themes (except elementary's) - accessories-camera. This leads to multiple issues.

Please consider shipping and using a branded io.elementary.camera icon with camera (or just an accessories-camera icon, since it's non-XDG-standard anyway).


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Adding Silesian translation file

Hi, could you add translation files for Silesian?

ISO 639-3: szl
Plurals: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);

Thank you!

There's no feedback when taking a photo

Photos are succesfully taken, but there's no feedback to indicate that they were. There should probably be some kind of

  • audio cue (shutter sound) and
  • visual cue ("flash" to black so that we don't actually flash and mess up the photo)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

GStreamer error: negotiation problem

Steps to reproduce the issue

Open camera app via terminal io.elementary.camera

Expected behavior

Camera should load live image and be able to take video or snapshot.

Actual behavior

Window is completely black. Terminal outputs the following warning:
(io.elementary.camera:10892): Clutter-Gst-WARNING **: 10:46:09.371: GStreamer error: negotiation problem.

System information

  • elementary Juno

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Camera not detected: Clutter-Gst-CRITICAL

Overview

After the latest update (or after I tried to install xserver-xorg-core-hwe-18.4), the camera app stopped working. Previously, I was able to use it normally.

The camera works fine under Skype, Cheese and VLC.

Expected behavior

The camera app must detect my default available camera.

Actual behavior

When I open the app, it prints the error in the main window: No Supported Camera Found. Connect a webcam or other supported video device to take photos and video.

Also, I see the following console error:

(io.elementary.camera:29113): Clutter-Gst-CRITICAL **: 14:19:09.325: Unable to setup device without element factory, node and name set 0x56461611fc60 0x7f297800c810 (nil)

System information

Acer Swift 3 315-52G UHD

  • Operating system version: Juno with latest updates

Webcam is not detected on Zenbook 14 UX433FA

Steps to reproduce the issue

  1. Open the app.

Expected behavior

Is that my webcam be detected

Actual behavior

My webcam is not being detected.

System information

  • Operating system version: elementary OS 5.0 Juno

Camera doesn't work

It just print this:
(io.elementary.camera:23548): Clutter-Gst-WARNING **: 21:17:22.625: Internal data stream error.

System information

  • Operating system version: Juno daily

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Right-click the preview to capture

When left clicking and draging on webcam's output image (aka canvas) it should move the whole window.

When right clicking on webcam's canvas it should trigger the shooting just like left clicking on the red button.

These features also exist in audience (aka pantheon-videos)
right clicking on video canvas pauses or plays the movie
left clicking and draging on video canvas moves the whole window

So snap (aka pantheon-camera) and audience (aka pantheon-videos) became coherent.

Add configuration option for switching resolution (Logitech cameras)

Steps to reproduce the issue

Currently using a Logitech C615 webcam.

Expected behavior

Logitech C615 supports 2 recording resolution/modes, both wide and standard. I am able to record in 16:9 in other applications such as Zoom, or even the browser. It'd be great if we can have an option to switch the resolution.

Actual behavior

Currently the Camera app is only giving me a 4:3 video without any options to change it to wide.

System information

  • Operating system version: Juno

Keep the webcam's aspect ratio while resizing the window

Lock window resizing to the aspect ratio of the webcam so that there are no black borders appearing. Just like it's advertised on elementary.io
https://elementary.io/images/screenshots/camera.jpg
On that screenshot you see no black borders on each side or on top and bottom of the window.
Even while resizing the window with the mouse, the window is locked to the canvas' aspect ratio of the webcam.
This feature also exists in audience (aka pantheon-videos) but it's broken and this feature exists in mpv-player.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

camera not detected

Steps to reproduce the issue

  1. using Lenovo Thinkpad x220
  2. click on bundled camera app
  3. camera not detected

Expected behavior

camera would turn on
Describe what you expected to happen.

Actual behavior

camera is not found
Describe what actually happened, being specific about how this differs from your expectations.

System information

  • Operating system version:

After running: hwinfo -usb

P: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0 E: DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0 E: DEVTYPE=usb_interface E: DRIVER=uvcvideo E: ID_MODEL_FROM_DATABASE=Lenovo Integrated Camera (0.3MP) E: ID_USB_CLASS_FROM_DATABASE=Miscellaneous Device E: ID_USB_PROTOCOL_FROM_DATABASE=Interface Association E: ID_VENDOR_FROM_DATABASE=Chicony Electronics Co., Ltd E: INTERFACE=14/1/0 E: MODALIAS=usb:v04F2pB217d0854dcEFdsc02dp01ic0Eisc01ip00in00 E: PRODUCT=4f2/b217/854 E: SUBSYSTEM=usb E: TYPE=239/2/1 E: USEC_INITIALIZED=31094031

after that i initialized the camera with modprobe uvcvideo
installed cheese camera app sudo apt-get install cheese
ran cheese

And it worked.

App's name and comment in menu stays in English

Steps to reproduce the issue

  1. Open "Applications" menu
  2. Find Camera app

Expected behavior

Application's name should be translated.

Actual behavior

Application's name and comment stays in English.

System information

Juno Beta

Improve Type Change Widget

The widget to change the type is not very intuitive, we could use a Gtk.Switch for this, I am sending a PR, to see what you think.

Stock Camera App doesn't work on Del Vostro 15 series

Steps to reproduce the issue

  1. Install elementary juno on dell vostro 15 laptop
  2. open stock "camera" application
  3. Camera doesn't work

Expected behavior

Stock Camera app should work , camera light show light up.

Actual behavior

Dark screen on camera app , camera light doesn't blink

System information

elementary Juno

There's no feedback when a video is recorded

When the video is recorded successfully, there's no no way to tell the user that the video was recorded correctly and where it was saved.

Solution

We can send a notification to the user indicating that their video was saved correctly and if the user clicks on the notification, that the notification opens the file browser where the video was saved.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Camera Effect

Feature

Effects on camera. You know how in Photo Booth on MacOS and to a lesser extent, Cheese on Gnome, has camera effects that makes your photo looks more "funky" and "cool".

Describe the solution you'd like
It would be cool if we can have those same camera effects that Cheese on Gnome has.

Existing work
https://github.com/GNOME/cheese

Describe alternatives you've considered
If we can have unique and more cool effects than what Cheese has, it would be cool too. Added plus if we can innovate on the kind of effect that already existed.

Additional context
Screenshot from 2019-09-30 06-13-11


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Improvements in the UX

After a session of selfies. I realized that there are many things to improve in this application.

  1. The Widget to change the type is very ugly and unintuitive.
  2. If a picture is taken, only one sound is thrown, but it could be improved by adding a flash.
  3. Add timer function.

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.