
Recherche avancée
Autres articles (24)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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.
Sur d’autres sites (6907)
-
PHP : Video file is located in s3, need to find duration a video using getid3 php module
14 mars 2019, par kaliyappan$request = $s3Client->createPresignedRequest($cmd, '+20 minutes');
echo $presignedUrl = (string)$request->getUri();
echo "\n";
//$mp3File = '/home/kaliyappan/test-HD.mov';
$getId3 = new GetId3();
$audio = $getId3->analyze($presignedUrl);
//echo '<pre>';
print_r($audio);
exit;
</pre>I have a video file located in s3, using PHP "phansys/getid3" : "^2.1@dev" module need to calculate duration. Created pre-signed URL try to access that file but it returns "could not open that file".
[GETID3_VERSION] => 1.9.4-20120530
[error] => Array
(
[0] => Could not open "Please suggest any other way to do this, but if I directly give video file path which is in my server that’s work perfectly.
-
videoshow npm module not working fine
14 avril 2016, par AnshulI have used videoshow NPM module for creating a video using images but it is not working fine for me it is running twice or thrice and creating multiple videos for same images sometimes. If i am changing the value of loop in the code to ’1’ it is running fine but the slide duration is only one second.
Here is my code :-
var images = [
'public/images/1.png',
'public/images/2.png',
'public/images/3.png',
'public/images/4.png',
'public/images/5.png',
'public/images/6.png',
'public/images/7.png',
'public/images/8.png',
'public/images/9.png'
]
var videoOptions = {
fps: 25,
loop: 3, // seconds
transition: true,
transitionDuration: 1, // seconds
videoBitrate: 1024,
videoCodec: 'libx264',
size: '640x480',
audioBitrate: '128k',
audioChannels: 2,
format: 'mp4'
}
var videoPath = 'public/video/test.mp4';
videoshow(images, videoOptions)
.audio('public/audio/1.mp3')
.save(videoPath)
.on('start', function (command) {
console.log('ffmpeg process started:', command)
})
.on('error', function (err, stdout, stderr) {
res.send({status : false, message: 'Something went wrong. Please try again.'});
res.end();
return;
})
.on('end', function (output) {
res.send({status : true, message: ''});
res.end();
return;
}); -
avdevice/decklink_dec : Convert decklink input module to use codecpar
8 mai 2016, par Felt, Patrickavdevice/decklink_dec : Convert decklink input module to use codecpar
There are still a couple of deprecated calls that I’m not sure what to do with.
They are both related to some logic around AVCodecContext.coded_frame.
I couldn’t find anywhere that really documented what that was, or where it was intended to move to.
I left the warnings on.Reviewed-by : Deti Fliegl <deti@fliegl.de>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>