
Recherche avancée
Autres articles (52)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (3583)
-
PHP : Return response immediately, but run multiple lengthy shell_exec functions in the background
15 janvier 2016, par JakeI am creating a simple web service that accepts a video upload, runs multiple different encodes on the video (mp4, webm, ogv), and then uploads the newly created files to our video host.
Let’s say I have multiple commands..
shell_exec('ffmpeg -i input.mp4 -f mp4 -c:v libx264 -preset slow -crf 24 -s 1280x720 -c:a libfdk_aac -profile:a aac_he -ar 22050 -b:a 64k -movflags +faststart output-1280x720.mp4');
shell_exec('ffmpeg -i input.mp4 -f mp4 -c:v libx264 -preset slow -crf 24 -s 1920x1080 -c:a libfdk_aac -profile:a aac_he -ar 22050 -b:a 64k -movflags +faststart output-1920x1080.mp4');
shell_exec('ffmpeg -i input.mp4 -f ogg -c:v libtheora -q:v 5 -s 1280x720 -c:a libvorbis -ar 22050 -b:a 64k -movflags +faststart output-1280x720.ogv');
shell_exec('ffmpeg -i input.mp4 -f ogg -c:v libtheora -q:v 5 -s 1920x1080 -c:a libvorbis -ar 22050 -b:a 64k -movflags +faststart output-1920x1080.ogv');In summary, I want to...
- Print an immediate response : success : true
- Kick off multiple ffmpeg jobs synchronously.
- After each job is complete, send a POST to another server (one POST for each shell_exec).
It would also be nice to only send the POST if the job was successful, but I could easily work around that by just checking to see if the output file exists on the server.
I know that I can force shell_exec to run in the background by simply appending
>/dev/null 2>/dev/null &
to each command — which would allow me to print a response immediately — but I think by doing this, this would cause all of the jobs to run in parallel, and also, since this is diverting the output, I do not get any true callbacks when jobs are complete.Any ideas ??
-
Anomalie #4647 (Fermé) : Erreur de changement du logo dans la modale
5 février 2021Sur SPIP 3.3-dev (version 2021.02.04), si on clique sur le logo la 1er fois
on obtient failed loaded imagesi on regarde la console : on a une erreur de chemin
https://www.xxxx.tld/ecrire/IMG/logo/yyy.jpgsur le 2eme clic, on n’a plus l’erreur on appelle bien
Call lity image ../IMG/logo/yyy.jpg -
Révision 22539 : Report de r22534 : Generalisation de la prise en charge de utilisable p...
10 novembre 2015, par cedric@yterium.com
si le procure est dans une version plus recente que le plugin du meme nom, c’est le procure qui l’emporte
Pour les procure, on attribue un faux repertoire compose du repertoire du plugin qui procure suivi de /procure:xxxx
ce qui permet si besoin de savoir a partir de _DIR_PLUGIN_XXXX que c’est un procure, et qui procure.+ renommage d’une variable ambigue dans plugin_valide_resume