
Recherche avancée
Médias (2)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (51)
-
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 (...) -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (3475)
-
How to crop a video in the shape of a square, but crop the square itself at different positions in the video via ffmpeg ?
28 juin 2022, par Ilya Pesterev- 

- I have about 100 videos
- All the videos have the same length — 17 seconds.
- In the first part of the video from 0 to 5 seconds I need to crop a square in one position
- In the second part of the video from 5 to 17 seconds I need to crop a square in a different position










I have attached an image for clarity.


How can I automate this process via ffmpeg ?




-
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
-
Tips for encoding a live stream to IIS Media Services (or Azure Live Media Services) with FFMPEG ?
6 mars 2014, par user3104748We're trying to encode assets, either live or static, in a live stream to IIS Media Services using ffmpeg. Can anyone provide pointers for exactly what kinds of parameters we should be using and setting ?
As part of our test, just to see if we can get things to work, we have a standard plain-old MP4 video static asset that we're trying to stream to the server. It seems to work on the client side, but when we try to view the video on the receiving end, we get nothing.
Here's an example of the command we're using, where gg.mp4 is the static MP4 video (obviously (hostname) is the name of our host and not the actual word in parenthesis :)...
ffmpeg -y -re -i gg.mp4 -movflags isml+frag_keyframe -f ismv -threads 0 -c:a libvo_aacenc -ac 2 -b:a 64k -c:v libx264 -preset fast -profile:v baseline -g 48 -keyint_min 48 -map 0:v -b:v:0 477k -s:v:0 368x152 -map 0:v -b:v:1 331k -s:v:1 288x120 -map 0:v -b:v:2 230k -s:v:2 224x92 -map 0:a:0 http://(hostname)/ingest.isml/Streams(video)