
Recherche avancée
Autres articles (57)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (9597)
-
Revision 6845 : Le champ "type" est un peu pourri lorsqu’on utilise le formulaire dans le ...
7 août 2012, par kent1 — LogLe champ "type" est un peu pourri lorsqu’on utilise le formulaire dans le public avec Z
Au lieu de modifier la base et péter d’autres plugins, on modifie le formulaire d’édition et la fonction d’édition pour gérer un request sur identifiant qui passe à type lors du traitement...
On passe en version 1.1.1 -
get screenshot from video using ffmpeg
6 mars 2016, par LocNguyenI’m building a Wordpress site that allow admin to upload and attach a video clip to a post. After the video was uploaded successfully, I use ffmpeg to get a screenshot from that video, and that screenshot would be the post featured image.
In my case, the screenshot was generated successfully. In next step, I use Wordpress function media_sideload_image() to copy that screenshot to WP ’uploads’ folder and make that image as post featured image.
But for some reasons, the media_sideload_image() returned a WP_Error : http_404. I have checked the url of the temporary screenshot image, but it was valid and display a screenshot nicely.
In this case, I guess that the media_sideload_image() was called after the ffmpeg command, but at that time, the ffmpeg process has not completely finished so the media_sideload_image() encountered http_404 error.
So the question is : Is there any way to make sure the screenshot was saved completely before running media_sideload_image() function after that, to avoid http_404 error ?
Thank you very much !
-
How can i use ffmpeg to add voice note to another mp3 at specific time , let everything play without reducing the original mp3
29 juin 2020, par Adike maduabuchiI have used some code which does not give me what I want, I used PHP shell to execute the code


$var = 'ffmpeg -y -i ' . $voice_note_tag . ' -i ' . $original_music_path . ' -filter_complex "[0]asplit[a][b]; [a]atrim=duration=' . $time_come_vioce . ',volume=\'1-max(0*(t-1),0)\':eval=frame[pre]; [b]atrim=start=' . $time_come_vioce . ',asetpts=PTS-STARTPTS[song]; [song][1]amix=inputs=2:duration=first:dropout_transition=2[post]; [pre][post]concat=n=2:v=0:a=1[mixed]" -map "[mixed]" ' . $output . ' 2>&1';
 shell_exec($var);