
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (67)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (6096)
-
How to directly embed an flv in actionscript so ffmpeg can convert from the compiled swf ?
3 décembre 2012, par user1872755I have an flv that needs to be embedded into a swf. I am currently using the Embed tag and playing the flv with NetStream. The problem is that it does not seem to be directly embedding the flv file, as ffmpeg does not detect it. I am currently using mxmlc to compile. If published from Flash Professional the conversion works. I can't use Flash Professional because I need to use the command line. Is there a way to embed an FLV in actionscript and have ffmpeg convert it ?
-
How to take snapshot with multiple web cameras at the same time using PHP in Centos ?
13 novembre 2014, par galengodisI’m trying to take still photos / snapshots with multiple web cameras at the same time through php / shell_execute.
This is what I use so I can the cameras in the background.
shell_exec('ffmpeg -f video4linux2 -s 1280x960 -i /dev/video0 -q:v 0 -b:v 10000k -vcodec mjpeg -vframes 1 /var/www/html/cam1.jpg -y > /dev/null 2>/dev/null &');
shell_exec('ffmpeg -f video4linux2 -s 1280x960 -i /dev/video1 -q:v 0 -b:v 10000k -vcodec mjpeg -vframes 1 /var/www/html/cam2.jpg -y > /dev/null 2>/dev/null &');It outputs only one image from the cameras. If i run them one at a time with the same code everything works. Fyi the "&" at the end makes the php run in background. Read more here about shell_exec background process : Is there a way to use shell_exec without waiting for the command to complete ?
> [root@localhost ~]# lsusb
> Bus 001 Device 002: ID 8087:8000 Intel Corp.
> Bus 002 Device 004: ID 1a40:0201 Terminus Technology Inc. FE 2.1
> 7-port Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
> hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus
> 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002
> Device 006: ID 046d:0825 Logitech, Inc. Webcam C270 Bus 002 Device
> 005: ID 0c45:6340 Microdia
>
> [root@localhost ~]# find /dev/bus/ /dev/bus/ /dev/bus/usb
> /dev/bus/usb/003 /dev/bus/usb/003/001 /dev/bus/usb/002
> /dev/bus/usb/002/006 /dev/bus/usb/002/005 /dev/bus/usb/002/004
> /dev/bus/usb/002/001 /dev/bus/usb/001 /dev/bus/usb/001/002
> /dev/bus/usb/001/001I’ve tried with altering applications between ffmpeg and streamer. So the problem seems to be USB-related. The both cameras are plugged into a USB-hub (with an external power supply). The cameras are of different brands.
I’m on Centos 7, 64bit.
-
Adjusting webcam settings before shooting a photo (v4l2 and fswebcam)
18 septembre 2021, par MikeyI'm shooting photos with


sudo fswebcam -d /dev/video0 -r 1920x1080 --no-banner /media/networkshare/public/"Temp Photo Holder SolidScape Right"/timelapse_$DATE.jpg



on a Raspberry Pi 3 B+ running a recent version of Raspbian.


The script is controlling a Logitech c920 that has adjustable features like focus, brightness, contrast, etc.


I think the reason the 'manual' settings are not being saved is because I call the v4l2-ctl commands, add a delay, and then use fswebcam to shoot, like so :


#!/bin/bash
DATE=$(date +"%y%m%d%H%M%S")
#sudo v4l2-ctl -d /dev/video0 -c focus_auto=false
#sudo v4l2-ctl -d /dev/video0 -c focus_absolute=35
sudo v4l2-ctl -d /dev/video0 -c brightness=128
sudo v4l2-ctl -d /dev/video0 -c contrast=128
sudo v4l2-ctl -d /dev/video0 -c saturation=128
sudo v4l2-ctl -d /dev/video0 -c gain=15
sudo v4l2-ctl -d /dev/video0 -c sharpness=128
sleep 2

sudo v4l2-ctl -c exposure_auto_priority=1

#fswebcam -d /dev/video0 -r 1920x1080 --no-banner /media/networkshare/public/RasPi/"Temp Photo Holder SS"/timelapse_$DATE.jpg

sudo fswebcam -d /dev/video0 -r 1920x1080 --no-banner /media/networkshare/public/"Temp Photo Holder SolidScape Right"/timelapse_$DATE.jpg

sleep 9

sudo fswebcam -d /dev/video0 -r 1920x1080 --no-banner /media/networkshare/public/"Temp Photo Holder SolidScape Right"/timelapse_$DATE.jpg

sleep 9



How can I take a photo with manual settings appended ? Maybe I need to add commands to fswebcam inline instead of calling v4l2-ctl first ?