
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (67)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (11351)
-
FFMpeg doesn't convert the video, just creates a thumb... It was working now not ?
20 septembre 2011, par Matt ReidTheres a site im making for someone where it uses FFMpeg to convert the files to MP4's... I set it up and got the converter working... but now a week or so later ive came to use it and it doesn't convert the video, it runs the create thumbnail exec() but the video exec() doesn't run. It returns a 1 status like its gone through but there is no converted file and the browser quickly processes the convert file rather than lagging for a few seconds like it did when it was working...
Any ideas ?
<?php
//Thumbnail VARS
$tn_size = '480x360';
$tn_interval = 3;
$tn_type = 'mjpeg';
//Video VARS
$vi_size = '480x360';
$vi_fileto = 'mp4';
//Default Setup
$id = $_GET['ListingID'];
$ext = $_GET['Ext'];
$temp_url = '/var/www/files/videos-tmp/'.$id.".".$ext;
$new_url = '/var/www/files/videos/'.$id.".mp4";
$new_url_thumb = '/var/www/files/videos-thumb/'.$id.".jpg";
//echo $new_url."<br />".$id." ".$ext. " " .$temp_url;
//Do
if(file_exists($temp_url)) {
@unlink($new_url);
//echo "/usr/local/bin/ffmpeg -i {$temp_url} -f {$vi_fileto} -r 25 -ar 22050 -ab 48000 -ac 1 -s {$vi_size} {$new_url}";
exec("/usr/local/bin/ffmpeg -i {$temp_url} -deinterlace -an -ss $tn_interval -f {$tn_type} -t 1 -r 1 -y -s $tn_size '{$new_url_thumb}'"); //make thumbnai
exec("/usr/local/bin/ffmpeg -i {$temp_url} -f {$vi_fileto} -r 25 -ar 22050 -ab 48000 -ac 1 -s {$vi_size} {$new_url}",$output,$status); //convert video
//@unlink($temp_url);
if(isset($_GET['UsrOvr'])) { } else {
echo "<b>Convert Complete</b>";
echo "<br /><br />Return to listings <a href="http://stackoverflow.com/feeds/tag/'admin_listings.php'">page</a>.";
exit;
}
} else {
die("The video selected does not exist!");
}
?> -
how to play a avi/mpeg video on webpage ?
27 novembre 2011, par PrashantI wanna play a video avi/mpeg video on php webpage. How can I do this ?
I also want to generate the thumbnails for every video as well. Could anyone suggest some tools ?
Thanks.
-
ffmpeg random images from video but in order
28 novembre 2011, par RussellHarrowerOk, so I am using linux, and I have ffmpeg working, coding videos and making the image
But what I would like is to make ffmpeg make up to 10 images from the video.
I was wondering how I would do this. currently I use the following for images.
//execute ffmepg to get picture
exec("/usr/bin/ffmpeg -vframes 1 -ss ".$time_in_seconds." -i converted_vids/".$name.".".$type." video_images/".$name."_%02d.jpg -y 2> log/image_".$name.".txt");