
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (69)
-
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" (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (10233)
-
FFMPEG not converting or sending new video to folder
7 mars 2016, par David DrawSo recently I wanted to work on converting any video file that isn’t a MP4 file to that very file type. I did a lot of browsing and FFMPEG was the solution.
I tried using FFMPEG_php on my wamp server but seems it is outdated and is no longer updated
So I downloaded the static package off the FFMPEG website and put it into my C : drive and put the path to it in my computer, following some videos and tutorials online to do so.I believe calling it from the php file with a path is what I have to do as there is so much conflicting information on this which isn’t clear.
So I’m on windows 7 build 7601
I use wamp server 2.5 with the Highest PHP, MYSQL and APACHE.I added the below code into my php script after the file is moved to the first folder as by a few tutorials I’ve read. But the uploaded file is not converting nor is being put in the destination_mp4 folder.
Any help would be greatly appreciated. Thank you.
if(move_uploaded_file($file_loc,$folder.$final_file))
{
exec("C:/ffmpeg/bin/ffmpeg.exe -i ".$folder.$final_file." ". $destination_mp4."");
$newName = $_SERVER['REMOTE_ADDR'].'_'.$_SESSION['id'].''.time();
$mp4Name=$newName.'.mp4';
$destination_mp4='C:/wamp/www/include/uploadvideomp4/'.$mp4Name; -
ffmpeg on mac to get thumbnail using php
5 janvier 2017, par freelixai download the ffmpeg for mac and store it into the web folder.
and in the upload.php i store this line of code. the upload part is successfull but the it failed to create a thumbnail from the video that i upload. please help
if(isset($_POST['submit'])){
$ffmpeg = "ffmpeg/ffmpeg";
$name = $_FILES['file']['name'];
$temp = $_FILES['file']['tmp_name'];
$imagefile = "1.jpg";
$size = "120x90";
$getfromsecond = 5;
$cmd = "$ffmpeg -i $temp -an -ss $getfromsecond -s $size $imagefile";
if(shell_exec($cmd)){
echo "thumbnail created";
}else{
echo "error in making thumbnail";
}
// hide .mp4 from video title in mysql, but extension still attached in file
//$name = preg_replace("/\b.mp4\b/i","",$name);
//$name = preg_replace("/\b.flv\b/i","",$name);
// moving the files from temporary name to the actual database and change the name to the actual name
move_uploaded_file($temp,"video/".$name);
$url = "video/$name";
$query = "INSERT INTO `videolist` (`videoname`,`videourl`) VALUES ('$name','$url')";
mysqli_query($connection,$query);
echo "<br /> Congratulations ".$name." has been uploaded";
} -
FFMpeg installation in Ubuntu 12.04 and using it in PHP-FFMpeg
16 mai 2015, par SohelAhmedMI have tried many many failed attempt to install FFMpeg in my Ubuntu 12.04.
I used following links : 1, 2, 3 and many others.Then I need to use it in PHP-FFMpeg
And Then I need to deploy in Linux based server. This is my requirement.But after much trying, I just downloaded static build through this link.
This helped me to successfully convert video and use FFMpeg through terminal in Ubuntu. But I cannot use it through PHP-FFMpeg library which I need to run. In docs of PHP-FFMpeg it is written
This library requires a working FFMpeg install. You will need both
FFMpeg and FFProbe binaries to use it. Be sure that these binaries can
be located with system PATH to get the benefit of the binary
detection, otherwise you should have to explicitely give the binaries
path on load.and I am not getting this.