
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (78)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (13920)
-
Anomalie #4668 (Nouveau) : Erreur 500 : failed to open dir : Permission denied
15 février 2021, par Pierre KUHNBonjour,
Avec la dernière version de 4.3.0 on bloque à la fin :
- <span class="CodeRay"><span class="constant">Fatal</span> error: <span class="constant">Uncaught</span> <span class="constant">UnexpectedValueException</span>: <span class="constant">RecursiveDirectoryIterator</span>::__construct(./docker/database/mysql): failed to open dir: <span class="constant">Permission</span> denied in /<span class="keyword">var</span>/www/html/octoshow/spip_loader.php:<span class="integer">998</span> <span class="constant">Stack</span> trace: <span class="comment">#0 [internal function]: RecursiveDirectoryIterator->__construct('./docker/databa...', 12288) #1 [internal function]: RecursiveDirectoryIterator->getChildren() #2 [internal function]: FilterIterator->rewind() #3 /var/www/html/octoshow/spip_loader.php(998): FilterIterator->rewind() #4 /var/www/html/octoshow/spip_loader.php(928): SL_lister_contenus_superflus(Array, './', Array) #5 /var/www/html/octoshow/spip_loader.php(887): SL_comparer_contenus(Array, './') #6 /var/www/html/octoshow/spip_loader.php(1187): SL_nettoyer_superflus(Array, './') #7 /var/www/html/octoshow/spip_loader.php(1345): spip_deballe_paquet('spip/archives/s...', './spip-v3.2.9.z...', '', 0) #8 /var/www/html/octoshow/spip_loader.php(1462): spip_deballe('spip/archives/s...', 'fichier', '', 0) #9 {main} thrown in /var/www/html/octoshow/spip_loader.php on line 998</span>
- </span>
Je travail sur docker, les droits
rw-rw---1 999 999
Merci -
Anomalie #3689 (Nouveau) : Des messages d’erreurs qui ne semblent pas avoir lieu d’être
9 février 2016, par Franck DalotBonjour :-)
SPIP 3.1.0 [22811]
Php 5.6.15
Table en MySQL
Prefix des table : test12Quand je télécharge le squelette "scolaspip" en version 4 http://plugins.spip.net/scolaspip.html via SVP, j’ai systématiquement un message d’erreur qui ne me semble pas avoir lieu d’être (voir copie d’écran erreur 0)
Si dans .../ecrire/ ?exec=admin_plugin&voir=actif je clique sur "Tout cocher", que je choisi "désinstaller", j’ai systématiquement un autre message (voir copie d’écran erreur 1)A savoir que cela fait pareil en SPIP 3.0.21 [22462]
J’ai fait aussi un test en 3.0.21 avec le squelette "SPIPMine 2.0.1 - dev" http://plugins.spip.net/spipmine.html car il necessite également spipr, j’ai le même message que la copie d’écran 0, par contre, je ne peux pas dire pour l’autre message, car SVP semble avoir un problème quand il y a pas mal de necessite, je suis dans l’obligation de réactualiser la page, mais ce point demanderait confirmation par une autre personne
Franck -
Update Database After shell_exec() Using FFMPEG/Laravel
25 avril 2020, par MikeI want to update a database record (MySQL) after the FFMPEG process is complete. Normally I would just call a function just after the FFMPEG command, but I needed to add
> /dev/null 2>/dev/null &
so I didn't have to wait for the FFMPEG process to complete which would mean the REST call would hang for a LONG time and that would cause bad UX for the front-end.


I'm not sure where to begin with it. My first thought is to make a REST request, but maybe calling the method in Laravel directly would be better.



Can I do a curl call after the FFMPEG command ? Or can I call a PHP method ? Or is there a better way ?



PHP FFMPEG Method



private function transcode($movie)
{
 try {
 $name = 'master.' . $movie->extension;
 $this->path = storage_path('app/public/movies/') . $movie->id . '/';
 $fps = $this->getFrameRate($name);
 $width = $this->getVideoWidth($name);
 $height = $this->getVideoHeight($name);

 // ffmpeg commands
 $c = $this->buildCommand($width, $height, $fps);

 // ffmpeg - added '> /dev/null 2>/dev/null &' so it will not wait to finish
 $ffmpeg = shell_exec('ffmpeg -i ' . $this->path . $name . ' -progress ' . $this->path . 'transcode.log' . $c . ' > /dev/null 2>/dev/null &');

 return response()->json(['message' => 'transcode initiated'], 200); 

 }
 catch(\Exception $e)
 {
 return response()->json(['error' => $e->getMessage()], 500);
 }
}




Here is the bash curl post idea



$curl = 'curl --data "param1=value1&param2=value2" http://hostname/transcode/complete';

$ffmpeg = shell_exec('ffmpeg -i ' . $this->path . $name . ' -progress ' . $this->path . 'transcode.log' . $c . '; $curl > /dev/null 2>/dev/null &');




I could be going down the wrong path with the above, but I'm trying to move forward with something.