
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (56)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
ANNEXE : Les extensions, plugins SPIP des canaux
11 février 2010, parUn plugin est un ajout fonctionnel au noyau principal de SPIP. MediaSPIP consiste en un choix délibéré de plugins existant ou pas auparavant dans la communauté SPIP, qui ont pour certains nécessité soit leur création de A à Z, soit des ajouts de fonctionnalités.
Les extensions que MediaSPIP nécessite pour fonctionner
Depuis la version 2.1.0, SPIP permet d’ajouter des plugins dans le répertoire extensions/.
Les "extensions" ne sont ni plus ni moins que des plugins dont la particularité est qu’ils se (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (8402)
-
Anomalie #2375 (Nouveau) : redirection d’une mauvaise url arborescente
17 octobre 2011, par James H.Avec les urls arbo : si j’ai une erreur de saisie dans la partie d’une sous-rubrique, on est renvoyé vers la page d’accueil du site au lieu d’avoir une page 404.
-
FFmpeg : cutting and merging videos added some freezed frames in between
3 décembre 2018, par Prashant_SarinI am trying to cut the original video in three parts and applying effect on 1st and 3rd part and then concatenating all parts together. But this introduces few blank frames in between. Please help.
My command for cutting video in three parts is :
var command1 = "-i $path -ss $fadeInStart -t ${fadeInDuration+2} ${getFilePath(partVideoList[0])}"
var command2 = "-i $path -ss ${fadeInDuration+2} -to 00:04:02 -c:v copy -c:a copy ${getFilePath(partVideoList[1])}"
var command3 = "-i $path -ss ${fadeOutStart-2} -t ${fadeOutStart-2+fadeOutDuration} ${getFilePath(partVideoList[2])}" -
copy processed mp3 files from one directory to another directory in php
17 mai 2019, par flashI am working on a php code as shown below which is converting mp4 files into mp3 using ffmpeg. After conversion, everything goes into outgoing_folder.
<?php
const DS = '/';
$src_dir = 'incoming_folder'; /* Place where mp4 file is present */
$destination = 'outgoing_folder'; /* Place where mp3 files come after conversion from mp4 */
$mp3_processed = 'podcast_mp3_processed'; /* Place where I also want mp3 files */
foreach ($mp4_files as $f)
{
$parts = pathinfo($f);
switch ($parts['extension'])
{
case 'mp4' :
$filePath = $src_dir . DS . $f;
system('ffmpeg -i ' . $filePath . ' -map 0:2 -ac 1 ' . $destination . DS . $parts['filename'] . '.mp3', $result); /** Place where mp3 file goes after conversion from mp4 **/
if ($result)
{
// Do something with result if you want
// log for example
}
break;
case 'mp3' :
// copy($f, $destination. DS . $parts['filename']. '.' . $parts['extension']);
copy($f, $destination . DS . $parts['filename'] . '.mp3');
copy('outgoing_folder', 'podcast_mp3_processed'); /* Line #A */
break;
}
}
?>Problem Statement :
I am wondering what changes I need to make in the php code above so that when all mp4 files have been converted to mp3 then it should also go to podcast_mp3_processed folder.
At this moment it is going outgoing_folder but I also want it to go to podcast_mp3_processed folder. I tried with the code at Line#A but it doesn’t seem to work.