
Recherche avancée
Autres articles (104)
-
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (8399)
-
Rotate Video in FFMPEG with bug in output duration [on hold]
6 janvier 2014, par plutovI use FFMPEG for video rotation. I have
file.mp4
video and use this command to rotate :ffmpeg -y -i file.mp4 -vf "transpose=1" -metadata:s:v:0 rotate=0 file.mp4
It rotates video fine. But !
My video is 5 seconds. Rotated video has duration near 2.5s. Do you know this issue ? I tried to add :
-acodec copy
,-vcodec copy
,-sameq
. Tried to separate vf and metadata in 2 commands. -
all pages of the same domain keep loading until background process finish [on hold]
7 juillet 2013, par KalI upload video files to mydomain_1.com and once the upload finish I store info about the uploaded file in mydomain_1 database under table process_queue.
I have process.php under mydomain_2.com that connects to mydomain_1 database and check if process_queue table has any new entries. If there is then process.
notice we are talking two separate domains.
the moment process.php finds a new entry it starts converting the video using exec with ffmpeg.
while the process is happening I cannot access any page under mydomain_1.com. all pages keep loading forever. the moment the process is done on mydomain_2.com I get access to pages on mydomain_1.com
I thought it could be a
mysql
connection issue so on process.php I usedmysql_close($db)
immediately after every call to the database. -
Best way to encode a jpg/png file ? [on hold]
29 juin 2013, par ShirohigeAssuming that I use a command like this :
ffmpeg -i song.mp3 -loop 1 -i cover.jpg -r 1 -t 180 -acodec copy output.mp4
I used an audio file with variable bitrate and everything took about 5 minutes for ffmpeg to encode it while with Camtasia Studio 8 it took 1 minute. In Camtasia I specified the following settings (using the mp4 container) : http://img197.imageshack.us/img197/1222/psrs.png
and since Camtasia doesn't allow to put the audio directly into the container Camtasia converted the audio into an constant bitrate mp3. All together it took 1 minute for the encoding job (audio and video encoding) to be done but the result was a 3 times larger file (compared to the ffmpeg encode) with a visible quality deformation of the picture (again compared to the ffmpeg encode).I would like to know (since I just use one picture throughout the whole video), is there a way to encode it faster with ffmpeg (sacrificing a bit of the quality of the picture) ? I want to upload my videos to Youtube and as far as I know, Google's servers will encode every video anyway and that's why I don't encode the audio file but just put it into the mp4 container.
EDIT :
I am sorry, I will delete it when I am allowed to do so (it says after 2 days).
EDIT 2 :
ffmpeg log file : https://dl.dropboxusercontent.com/u/63836714/ffmpeg-20130628-234613.log