Contenu | Rechercher | Menus

Annonce

Ubuntu 16.04 LTS
Commandez vos DVD et clés USB Ubuntu-fr !

Appel à contributeurs. Réunion pour la refonte du wiki lundi 26 juin

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

#1 Le 02/03/2017, à 20:53

Merlu

[Résolu] Utiliser une webcam via IP

Bonsoir,

J'aimerais utiliser mon téléphone comme webcam, mais les solutions que j'ai trouvées ne fonctionnent que sous Windows, et wine ne m'est d'aucun secours puisque le flux ne sera pas détecté par les logiciels.

Est-ce qu'il existe une application ubuntu permettant de capturer depuis la caméra du téléphone ?

Merci.

Dernière modification par Merlu (Le 18/03/2017, à 13:28)


OS: Kubuntu 17.04 Kernel: 4.8.0-41-generic
RAM: 3 Go
Proc.: 3 GHZ (amd64)
Graph: Nvidia Geforce 210

Hors ligne

#2 Le 02/03/2017, à 21:24

cqfd93

Re : [Résolu] Utiliser une webcam via IP

Bonjour,

Ça existe mais je n'ai pas testé : DroidCam.

Hors ligne

#3 Le 02/03/2017, à 21:40

jplemoine

Re : [Résolu] Utiliser une webcam via IP

Je l'avais testé... De mémoire, ça fonctionnait sous Xubuntu 14.04.


Cordialement, Jean-Philippe.
Système principal Sous Ubuntu de 2009 à février 2015 - Xubuntu depuis.
Xubuntu 16.04 (poste principal portable) - Ubuntu 16.04 server (desktop converti en serveur DHCP, DNS, dépôt local et supervision (shinken))
Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)

Hors ligne

#4 Le 02/03/2017, à 21:45

Merlu

Re : [Résolu] Utiliser une webcam via IP

J'ai comme un problème.

stem@stem-PC:~$ sudo apt update
[sudo] Mot de passe de stem : 
Atteint:1 http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu xenial InRelease
Atteint:2 http://files2.eid.belgium.be/debian xenial InRelease                 
Atteint:3 http://archive.canonical.com/ubuntu xenial InRelease                 
Atteint:4 http://ppa.launchpad.net/atareao/thumbnailers/ubuntu xenial InRelease
Atteint:5 http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu xenial-updates InRelease
Atteint:6 http://ppa.launchpad.net/dlech/keepass2-plugins/ubuntu xenial InRelease
Atteint:7 http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu xenial-security InRelease
Atteint:8 http://files.eid.belgium.be/debian xenial InRelease                  
Atteint:9 http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial InRelease     
Atteint:10 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial InRelease
Atteint:11 http://ppa.launchpad.net/mdeguzis/libregeek/ubuntu xenial InRelease 
Atteint:12 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu xenial InRelease
Atteint:13 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial InRelease
Ign:14 http://ppa.launchpad.net/paolorotolo/droidcam/ubuntu xenial InRelease   
Err:15 http://ppa.launchpad.net/paolorotolo/droidcam/ubuntu xenial Release     
  404  Not Found
Atteint:16 http://repo.steampowered.com/steam precise InRelease    
Atteint:17 http://download.mono-project.com/repo/debian wheezy InRelease                                     
Atteint:18 http://repository.spotify.com stable InRelease                                                    
Lecture des listes de paquets... Fait                           
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
E: The repository 'http://ppa.launchpad.net/paolorotolo/droidcam/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:41 and /etc/apt/sources.list.d/xenial-partner.list:4
stem@stem-PC:~$ 

Pour faire bref, le dépôt n'a pas l'air de fonctionner.

Dernière modification par Merlu (Le 02/03/2017, à 21:45)


OS: Kubuntu 17.04 Kernel: 4.8.0-41-generic
RAM: 3 Go
Proc.: 3 GHZ (amd64)
Graph: Nvidia Geforce 210

Hors ligne

#5 Le 02/03/2017, à 22:27

cqfd93

Re : [Résolu] Utiliser une webcam via IP

Ah oui, effectivement le dépôt n'a pas de version pour xenial. En plus tu as une ligne en double dans tes sources (lignes 4 et 41).

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

Hors ligne

#6 Le 02/03/2017, à 22:30

Merlu

Re : [Résolu] Utiliser une webcam via IP

Voilà.

stem@stem-PC:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list.d/jtaylor-ubuntu-keepass-xenial.list

     1	deb http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial main

/etc/apt/sources.list.d/obsproject-ubuntu-obs-studio-xenial.list

     1	deb http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial main

/etc/apt/sources.list.d/dlech-ubuntu-keepass2-plugins-xenial.list

     1	deb http://ppa.launchpad.net/dlech/keepass2-plugins/ubuntu xenial main

/etc/apt/sources.list.d/eid.list

     1	# To enable the candidate repository, uncomment the below line, put "deb" in
     2	# front of it, and run "dpkg-reconfigure eid-archive" to enable the archive
     3	# key.
     4	#
     5	# The candidate repository contains unsupported prerelease packages. Use at
     6	# your own risk.
     7	#
     8	# Note, however, that the candidate repository is usually empty; it is
     9	# used when we're preparing (and testing) a new release. Therefore, it
    10	# should be relatively safe.
    11	#
    12	# There is also another "continuous" repository, for which packages get
    13	# recompiled for each and every change to the source. This isn't listed
    14	# (so that it can't be accidentally enabled), but the configuration is
    15	# the same as the below, with "candidate" replaced by "continuous".
    16	#
    17	# http://files.eid.belgium.be/debian candidate/xenial main
    18	# NOTE: files2.eid.belgium.be is a mirror for the main repository ONLY.
    19	# That is, it does not contain the continuous or candidate repositories.
    20	
    21	# The regular repository with released packages. This is what you should
    22	# use.
    23	deb http://files.eid.belgium.be/debian xenial main
    24	deb http://files2.eid.belgium.be/debian xenial main

/etc/apt/sources.list.d/paolorotolo-ubuntu-droidcam-xenial.list

     1	deb http://ppa.launchpad.net/paolorotolo/droidcam/ubuntu xenial main

/etc/apt/sources.list.d/atareao-ubuntu-thumbnailers-xenial.list

     1	deb http://ppa.launchpad.net/atareao/thumbnailers/ubuntu xenial main

/etc/apt/sources.list.d/nathan-renniewaldock-ubuntu-flux-xenial.list

     1	deb http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu xenial main

/etc/apt/sources.list.d/steam.list

     1	deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam

/etc/apt/sources.list.d/mdeguzis-ubuntu-libregeek-xenial.list

     1	deb http://ppa.launchpad.net/mdeguzis/libregeek/ubuntu xenial main

/etc/apt/sources.list.d/spotify.list

     1	deb http://repository.spotify.com stable non-free

/etc/apt/sources.list.d/mono-xamarin.list

     1	deb http://download.mono-project.com/repo/debian wheezy main

/etc/apt/sources.list.d/xenial-partner.list

     1	# channel for the xenial (16.04) partner channel
     2	# 
     3	#:description:This channel contains the partner software for xenial
     4	deb http://archive.canonical.com/ubuntu xenial partner

/etc/apt/sources.list.d/kdenlive-ubuntu-kdenlive-stable-xenial.list

     1	deb http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial main

/etc/apt/sources.list

     1	
     2	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3	# newer versions of the distribution.
     4	deb http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu/ xenial main restricted
     5	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
     6	
     7	## Major bug fix updates produced after the final release of the
     8	## distribution.
     9	deb http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu/ xenial-updates main restricted
    10	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    11	
    12	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    13	## team. Also, please note that software in universe WILL NOT receive any
    14	## review or updates from the Ubuntu security team.
    15	deb http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu/ xenial universe
    16	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
    17	deb http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu/ xenial-updates universe
    18	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
    19	
    20	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    21	## team, and may not be under a free licence. Please satisfy yourself as to 
    22	## your rights to use the software. Also, please note that software in 
    23	## multiverse WILL NOT receive any review or updates from the Ubuntu
    24	## security team.
    25	deb http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu/ xenial multiverse
    26	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
    27	deb http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu/ xenial-updates multiverse
    28	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    29	
    30	## N.B. software from this repository may not have been tested as
    31	## extensively as that contained in the main release, although it includes
    32	## newer versions of some applications which may provide useful features.
    33	## Also, please note that software in backports WILL NOT receive any review
    34	## or updates from the Ubuntu security team.
    35	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    36	
    37	## Uncomment the following two lines to add software from Canonical's
    38	## 'partner' repository.
    39	## This software is not part of Ubuntu, but is offered by Canonical and the
    40	## respective vendors as a service to Ubuntu users.
    41	deb http://archive.canonical.com/ubuntu xenial partner
    42	
    43	deb http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu/ xenial-security main restricted
    44	# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    45	deb http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu/ xenial-security universe
    46	# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    47	deb http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ubuntu/ xenial-security multiverse
    48	# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
stem@stem-PC:~$

OS: Kubuntu 17.04 Kernel: 4.8.0-41-generic
RAM: 3 Go
Proc.: 3 GHZ (amd64)
Graph: Nvidia Geforce 210

Hors ligne

#7 Le 02/03/2017, à 22:47

cqfd93

Re : [Résolu] Utiliser une webcam via IP

sudo rm -v /etc/apt/sources.list.d/xenial-partner.list*

et

sudo apt update
sudo apt full-upgrade

Hors ligne

#8 Le 03/03/2017, à 00:01

jplemoine

Re : [Résolu] Utiliser une webcam via IP

Regarde ce tuto
Je viens de tester.
une fois qui tu as fait le ./install, tu lances droidcam coté Téléphone (ça et donne l'IP) puis driodcam coté PC.
Et tu utilises ton logiciel habituel.


Cordialement, Jean-Philippe.
Système principal Sous Ubuntu de 2009 à février 2015 - Xubuntu depuis.
Xubuntu 16.04 (poste principal portable) - Ubuntu 16.04 server (desktop converti en serveur DHCP, DNS, dépôt local et supervision (shinken))
Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)

Hors ligne

#9 Le 03/03/2017, à 00:47

cqfd93

Re : [Résolu] Utiliser une webcam via IP

jplemoine a écrit :

Regarde ce tuto
Je viens de tester.
une fois qui tu as fait le ./install, tu lances droidcam coté Téléphone (ça et donne l'IP) puis driodcam coté PC.
Et tu utilises ton logiciel habituel.

Ça marche au poil, merci pour le lien vers le tuto !

Hors ligne

#10 Le 18/03/2017, à 13:27

Merlu

Re : [Résolu] Utiliser une webcam via IP

Super, ça marche.

Merci.


OS: Kubuntu 17.04 Kernel: 4.8.0-41-generic
RAM: 3 Go
Proc.: 3 GHZ (amd64)
Graph: Nvidia Geforce 210

Hors ligne