
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 (100)
-
MediaSPIP en mode privé (Intranet)
17 septembre 2013, parÀ partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)
Sur d’autres sites (8349)
-
Why can I run this command from the terminal but I get an error when my python runs it from the terminal for me ?
9 mai 2019, par mu234I’m trying to write a python script that basically captures webcam videos from the terminal. When I put the command in a string and use
subprocess.call(script, True)
, I get an error, but when I literally copy/paste the same command to the terminal it works fine.This is my python :
import subprocess
import os
if (os.path.isdir("Videos/Webcam/temp") is False):
dirmake = 'mkdir Videos/Webcam/temp'
subprocess.call(dirmake, True)
cmd = 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm'
subprocess.call(cmd, True)and this is the error
`FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm': 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm'`
If I just run
ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm
from the terminal it works fine.Originally the video was supposed to go in Videos/Webcam/temp but I took it out to see if the error had something to do with where I was putting the video. I’m using Ubuntu 18.04.2 LTS if that makes a difference.
-
movenc : write ’chan’ tag for AC-3 in MOV
6 décembre 2011, par Justin Rugglesmovenc : write ’chan’ tag for AC-3 in MOV
-
movenc : write ’chan’ tag for AC-3 in MOV
6 décembre 2011, par Justin Rugglesmovenc : write ’chan’ tag for AC-3 in MOV