
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (41)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (4933)
-
App engine php flex env exec("ffmpeg...") - Unable to open logfile : /dev/stderr
15 octobre 2018, par danI’m trying to run FFMPEG on the app engine flex env for php.
I’ve whitelisted the exec() function in my app.yaml and installed FFMPEG using the docker file - so far so good.
When I’m running a exec("usr/bin/ffmpeg [args]...") I get an error that ffmpeg can’t access the dev/stderr and the function shuts down. see ref :
WARNING : [pool app] child 44 said into stderr : "NOTICE : PHP message : ALERT - Unable to open logfile : /dev/stderr (attacker ’’, file ’/app/index.php’, line 49)"
WARNING : [pool app] child 44 said into stderr : "NOTICE : PHP message : PHP Warning : exec() has been disabled for security reasons in /app/index.php on line 49"
My configuration files are as follows :
APP.YAML :
runtime: custom
env: flex
runtime_config:
document_root: .COMPOSER.JSON :
{
"require": {
"php": "5.6.*",
"google/cloud-storage": "^1.0",
}
}DOCKERFILE :
FROM gcr.io/google-appengine/php:latest
ENV DOCUMENT_ROOT /app
RUN apt-get -y update && apt-get install -y ffmpegINDEX.PHP :
<?php
//downloaded images into /tmp folder
$cmd = "/usr/bin/ffmpeg -r 24 -i /tmp/frame_%05d.png -r 24 -vcodec libx264 -pix_fmt yuv420p -b 50M -s 1920x1080 -y /tmp/export.mp4";
exec($cmd);
?>I’ve tried using all the other shell function - system(), exec_shell(),proc_open()
With the same result.Any help ?
Thank you
-
Cannot open ".mp4" video files using OpenCV 2.4.3, Python 2.7 in Windows 7 machine
24 octobre 2017, par TJ MonserratI am currently working on a project that involves reading mp4 video files.
The problem I encountered is that it using Python 2.7 (32 bit), OpenCV 2.4.3 (cv2.pyd) in a Windows 7 machine.The code snippet is as follows :
try:
video = cv2.VideoCapture("video.mp4")
except:
print "Could not open video file"
raise
print video.grab()"
video.grab()
" always returns false : meaning it doesn’t read the file "video.mp4
"
But when we try this :try:
video = cv2.VideoCapture("video.avi")
except:
print "Could not open video file"
raise
print video.grab()"
video.grab()
" returns true : meaning it is able to read ".avi
" files.Another is we have tried this same snippet on Linux and Mac and it seems to work fine, meaning it is able to read both mp4 files and avi files.
This problem is similar to this problem and this problem. Both still don’t have a clear and workable answer.
I would appreciate any help or workaround aside from just using Linux or Mac for programming this as I need this to work on all three systems.
-
Using ffmpeg dshow option "HP Webcam Splitter" leaves a process running and the webcam light on
7 septembre 2017, par Matt MahonyI am streaming from a webcam using a command line like (simplified) :
ffmpeg.exe -f dshow -i video="HP Webcam Splitter" -c:v libx264 -an -f rtp rtp://localhost:50041
When the "HP Webcam Splitter" option is used, it launches a "HPMediaSmartWebcam.exe" process. This is a process used to stream the webcam to more than one process. My problem is when ffmpeg closes, that executable is still running, and it leaves the webcam light on.
I can manually kill the HPMediaSmartWebcam.exe process, but I’m hoping for a cleaner way to do this. Does ffmpeg have any idea another external process was launched ? Can ffmpeg detect that and close the new process ? Or is this a bug in the HPMediaSmartWebcam.exe program ?