
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
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. -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (8970)
-
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
-
Shall_exec() is not working in Cent OS 6.5 with php 5.5
5 décembre 2014, par hiteshIt is the follow up from the question here. I was not sure if it was good idea to edit that question, So I am asking a new question here
As explained in my previous question I am using
ffmpeg
for getting screenshot from video.it seems to working fine in my local but in my Cent OS 6.5 server it is not working, it throws error that
ffmpeg extension is not enabled
."Error in Loading ffmpeg"
To debug this, I commented the line
extension_loaded('ffmpeg') or die('Error in loading ffmpeg');
and I found out that in Cent OS terminal, ffmpeg command were working but if I use it with full path as I am doing in windows it did not work.So i deleted full path and used
ffmpeg
alone, I am not sure what was the reason behind this.Here is my new command
$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 $cmd ."<br />";
echo $cmd2."<br />";
exec($cmd, $output, $return);
echo '$output :' ; print_r($output); echo "<br />";echo '$return' . $return . "<br />";
if ($return != 0) {
// an error occurred
echo "Error in EXEC command ";
}
if(!shell_exec($cmd2)){
echo "Remote video Thumbnail created". "<br />";
}else{
echo "Error Creating Remote video thumbnail". "<br />";
}now again it was not working in server, but when I tried both command
` echo $cmd ."<br />";
echo $cmd2."<br />";`in dev terminal, it got executed successfully I could see the screenshot.
So while searching for the problem, I found this question here based on this answer here. I understood that some server may not allow it so I checked it.
if (isEnabled('shell_exec')) {
echo "Shell_exec is enabled "."<br />";
shell_exec('echo "hello world"');
echo "<br />";
}else{
echo "shell exec command is not allowed";
}I got the output
"Shell_exec is enabled "
butshell_exec('echo "hello world"');
does not seems to work, Also when I run the command directly in terminal it works.Help me find the issue here, is it issue with shall_exec() or something else ?
Any help is appreciated. Thanks
-
Expanding media capabilities of Win Embedded CE 6.0
1er décembre 2014, par Simo ErkinheimoI have an embedded device with WinCE 6.0 as OS. The manufacturer provides an IDE for 3rd party development to it. The IDE pretty much allows nothing else than
- .NET 3.5 Compact Framework scripting that’s invoked from various events from the main application
- Adding files to the device.
The included mediaplayer seems to be using DirectShow and the OS has media codec only for mpeg-1 encoded video playback. My goal is to to be able to play media encoded with some other codecs as well inside that main application.
I’ve already managed to use DirectShowNETCF (DirectShow wrapper for .NET Compact Framework) and successfully playback mpeg-1 encoded video.
I’m totally new with this stuff and I have tons of (stupid) questions. I’ll try to narrow them down :
-
The OS is based on WinCE, but as far as I’ve understood, it’s actually always some customized version of it (via Platform Builder). Only "correct way" of developing anything for it afterwards is to use the SDK the manufacturer usually provides. Right ? In my case, the SDK is extremely limited and tightly integrated into IDE as noted above. However, .NET CF 3.5 is capable for interop so its possible to call native libraries -as long as they are compiled for correct platform.
-
Compiled code is pretty much just instructions for the processor (assembler code) and the compiler chooses the correct instructions based on the target processor setting. Also there’s the PE-header that defines under which platform the program is meant to be run. If I target my "helloworld.exe" (does nothing but returns specific exit code) to x86 and compile it with VC, should it work ?
-
If the PE-header is in fact the problem, is it possible to setup for WINCE without the SDK ? Do I REALLY need the whole SDK for creating a simple executable that uses only base types ? I’m using VS2010, which doesn’t even support smart device dev anymore and I’d hate to downgrade just for testing purposes.
-
Above questions are prequel to my actual idea : Porting ffmpeg/ffdshow for WinCE. This actually already exists, but not targeted nor built for Intel Atom. Comments ?
-
If the native implementation is not possible and I would end up implementing some specific codec with C#...well that would probably be quite a massive task. But having to choose C# over native, could I run into problems with codec performance ? I mean.. is C# THAT much slower ?
Thank you.