
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (19)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
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 (...)
Sur d’autres sites (2716)
-
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.


-
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 -
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