
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (71)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9126)
-
Improve ffmpeg performance
8 décembre 2014, par hiteshI am using
ffmpeg
to take screen shot from video , it is video from CDN.I am doing below steps
1.Upload video to CDN using html file tag.
2.Get CDN url and use it for creating screen shot using
ffmpeg
.3.Upload the screenshot in CDN.
4.Save video and screenshot CDN url to DB
the whole process is really time consuming, even if I put loader it is really slow.
This is code of POC I did for ffmpeg :
$imageFile = realpath("./videos") . '/test5.png';
$imageFile2 = realpath("./videos") . '/test6.png';
$size = "230x155";
$getfromsecond = 8;
if (isEnabled('shell_exec')) {
echo "Shall_exec is enabled " . "<br />";
shell_exec('echo "hello world"');
echo "<br />";
} else {
echo "shall exec command is not allowed";
}
$cmd = "ffmpeg -i $vid -an -ss $getfromsecond -s $size -vframes 1 $imageFile";
$cmd2 = "ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size -vframes 1 $imageFile2";
echo 'command 1 - local Image : ' . $cmd . "<br />";
echo 'command 2 - remote video : ' . $cmd2 . "<br />";
echo "<br />command 2 - remote video shell_exec output : " . shell_exec($cmd) . "<br />";
echo '<br />command 2 - remote video shell_exec output : ' . shell_exec($cmd2) . "<br />";
if (!shell_exec($cmd)) {
echo " video Thumbnail created" . "<br />";
} else {
echo "Error Creating video thumbnail" . "<br />";
}
if (!shell_exec($cmd2)) {
echo "Remote video Thumbnail created" . "<br />";
} else {
echo "Error Creating Remote video thumbnail" . "<br />";
}
function isEnabled($func) {
return is_callable($func) && false === stripos(ini_get('disable_functions'), $func);
}Is there some way to improve ffmpeg performance ?
Thanks
-
Creating a pipe between C# and Ffmpeg
13 septembre 2011, par John OliverI have a C# program that creates a video and saves it to the disk in real-time. Instead of doing that, I want it to write it directly in a pipe connected with ffmpeg...
The function that keeps saving the video in the disk, which I can not control, receives an IntPtr with a reference to the file.
So, I need to create a pipe or something like that with ffmpeg, get a pointer to that, and use that pointer in the function, so that it streams the file to ffmpeg and not the disk...
Regards,
John Oliver -
Creating a pipe between C# and Ffmpeg
15 décembre 2011, par John OliverI have a C# program that creates a video and saves it to the disk in real-time. Instead of doing that, I want it to write it directly in a pipe connected with ffmpeg...
The function that keeps saving the video in the disk, which I can not control, receives an IntPtr with a reference to the file.
So, I need to create a pipe or something like that with ffmpeg, get a pointer to that, and use that pointer in the function, so that it streams the file to ffmpeg and not the disk...
Regards,
John Oliver