
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (67)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (10717)
-
How To Adjust Volume in An Audio Mix With Node Fluent-FFmpeg
8 octobre 2015, par Alexander PerlsI am using the node Fluent-FFmpeg library to mix together two audio files.
My current code :
var ffmpeg = require('fluent-ffmpeg');
ffmpeg("/audioFileOne.wav")
.input("/audioFileTwo.wav")
.complexFilter('amix=duration=first')
.audioFrequency(44100)
.audioCodec('libmp3lame')
.audioQuality(5)
.output("/mixedFile.wav").run();
}This works well. However, try as I might, I can’t figure out how to change the volume level of
audioFileOne.wav
before it is mixed withaudioFileTwo.wav
I am pretty sure I need to add something to this line
.complexFilter('amix=duration=first')
But I seem to be not smart enough to understand the ComplexFilter documentation on this page.
If necessary I can provide some of the code that I have tried, but I don’t want to create more confusion.
-
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
-
How to do text alignment on box in ffmpeg ?
28 juin 2022, par Dinesh Reddy

ffmpeg -y -i skate.mp4 -filter_complex "drawbox=x=645.7538994800693:y=449.2201039861352:w=700:h=169:color=red@1:t=fill,drawtext=enable='between(t,0,3)':fontfile='344c235b-9bf7-4b13-ad99-ab230b473577.ttf':text='Hello world':fontsize=150:line_spacing=3:x=645.7538994800693:y=449.2201039861352:fontcolor=#000000:borderw=0:bordercolor=#ffffff,rotate=a=0*PI/180:ow=rotw(0*PI/180):oh=roth(0*PI/180):c=black@0" output.mp4


I draw the box using drawbox filter and written the text also but i need to do text alignment in the box like center, right and left. Can you help in this anyone.


Thanks in advance