
Recherche avancée
Autres articles (37)
-
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (7074)
-
PHP - How to run commandline apps on server ? [duplicate]
20 décembre 2016, par zeddexThis question is an exact duplicate of :
-
How to install ffmpeg for PHP
1 answer
I have been coding with PHP for a while now and have used things like FFMPEG on Windows XAMPP without any problems. Now however i have been trying to run the FFMPEG commandline on my Godaddy hosting account with PHP as i wanted to make a web based project but cannot get it working.
On windows with ffmpeg.exe and sound.wav in the same directory this works :
WavToMP3.php
<?php
exec("ffmpeg.exe -i sound.wav -ar 44100 -ac 2 -c:a libmp3lame -b:a 320k sound.mp3");
?>Yet it does not run on Godaddy, i know they use linux though so i tried this :
I downloaded :
Then in the script i changed "ffmpeg.exe" to just "ffmpeg" but it still did not work.
I have no idea about running linux commandlines as i have only ever used Windows in the past.
What are the instructions needed that can get the above PHP code or a modified version to generate a .mp3 file using my Godaddy hosting account ?
-
How to install ffmpeg for PHP
-
Paperclip AV Transcoder not working on remote server
25 novembre 2017, par zreitanoI am able to upload videos locally. The videos are processed using paperclip and all the meta data is saved correctly, as well. When I tried to upload a video using our remote server, I received the error :
Av::UnableToDetect (Unable to detect any supported library)
I have installed
ffmpeg
using LinuxBrew. It says everything is installed correctly (checking which brew and whichffmpeg
, as well as checking if the gem is appropriately installed).When I have styling in my model for the video (which is what enables the meta information to be stored and to have control over how the video is uploaded) it doesn’t work remotely.
has_attached_file :video, path: "/posts/:id/:style.:extension",
:styles => {
:medium => { :geometry => "493x877", :format => 'flv' },
:thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 },
# :mobile => {:geometry => "640X480", :format => 'mp4', :streaming => true}
}, :processors => [:transcoder]However, when I remove this from my model and have :
has_attached_file :video, path: "/posts/:id/:style.:extension"
The video is uploaded to S3 (without the data or styling that I need).
Any help would be greatly appreciated. I think AV is having trouble finding ffmpeg but I am not sure why or how to go about fixing it. Thanks in advance for any advice.
-
Paperclip AV Transcoder not working on remote server
16 juin 2016, par zreitanoI am able to upload videos locally. The videos are processed using paperclip and all the meta data is saved correctly, as well. When I tried to upload a video using our remote server, I received the error :
Av::UnableToDetect (Unable to detect any supported library)
I have installed
ffmpeg
using LinuxBrew. It says everything is installed correctly (checking which brew and whichffmpeg
, as well as checking if the gem is appropriately installed).When I have styling in my model for the video (which is what enables the meta information to be stored and to have control over how the video is uploaded) it doesn’t work remotely.
has_attached_file :video, path: "/posts/:id/:style.:extension",
:styles => {
:medium => { :geometry => "493x877", :format => 'flv' },
:thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 },
# :mobile => {:geometry => "640X480", :format => 'mp4', :streaming => true}
}, :processors => [:transcoder]However, when I remove this from my model and have :
has_attached_file :video, path: "/posts/:id/:style.:extension"
The video is uploaded to S3 (without the data or styling that I need).
Any help would be greatly appreciated. I think AV is having trouble finding ffmpeg but I am not sure why or how to go about fixing it. Thanks in advance for any advice.