
Recherche avancée
Autres articles (43)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (9076)
-
avconv : split video transcoding out of output_packet().
21 novembre 2011, par Anton Khirnovavconv : split video transcoding out of output_packet().
-
regtest : split video encode/decode tests into individual targets
22 novembre 2011, par Mans Rullgardregtest : split video encode/decode tests into individual targets
-
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!");
}
?>