
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (77)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (4924)
-
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"); -
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 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!");
}
?>