
Recherche avancée
Autres articles (20)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (3086)
-
Stop/cancel execution of FFmpeg command
5 juin 2018, par user155There is FFmpeg Static (binary) available for Android and we can stop/cancel some FFmpeg execution (command) while it’s doing something https://github.com/WritingMinds/ffmpeg-android-java/issues/33
But I want to use FFmpeg shared libraries and JNI, I found next library https://github.com/IljaKosynkin/FFmpeg-Development-Kit (it works ok)
But there is no option to stop execution of FFmpeg command (or killing the process)
We use Java native
run
method there to start execute some command :and then in C we call FFmpeg’s
main
method :C :
https://github.com/IljaKosynkin/FFmpeg-Development-Kit/blob/master/JNI/app/jni/videokit.c#L41How can I stop/cancel some FFmpeg executing after I called Java run and C main methods ?
-
Merge branch ’master’ of https://github.com/dolmen/SoundManager2 into dolmen-master
16 mars 2011, par Scott Schillerm .gitignore m build.xml Merge branch ’master’ of https://github.com/dolmen/SoundManager2 into dolmen-master
-
How to use pathinfo in php ?
10 juin 2019, par flashI am working on a php code as shown below on which Line#A prints the following array (shown below php code). My code doesn’t seems to go inside switch statement. I am not sure why.
I added
print_r($parts)
at Line A in order to print the value of $parts.php code :
<?php
if (!empty($_POST['id']))
{
for($i=0; $i / Line A
switch ($parts['extension'])
{
echo "Hello World"; // Line B
case 'mp4' :
$filePath = $src_dir . DS . $f;
system('ffmpeg -i ' . $filePath . ' -map 0:2 -ac 1 ' . $destination_dir . DS . $parts['filename'] . '.mp3', $result);
}
}
}
}
?>Output (Line#A) :
Array
(
[dirname] => .
[basename] => hello.mp4
[extension] => mp4
[filename] => hello
)I have used
echo "Hello World"
at Line B but for some reasons, its not getting printed and throwing500 internal server error
on console.Problem Statement :
I am wondering what changes I should make in the php code so that it goes inside switch statement.