
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
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
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (96)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (8994)
-
avformat/utils : Discard huge timestamps which would cause overflows if used in basic...
25 septembre 2016, par Michael Niedermayeravformat/utils : Discard huge timestamps which would cause overflows if used in basic computations
Allowing larger timestamps makes it impossible to calculate basic things like the
difference of 2 timestamps or their sum without checking each individual computation for
overflow.
This should avoid a significant number of overflow checksFixes Ticket5136
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>
-
checkasm : af_afir : Use a dynamic tolerance depending on values
11 décembre 2019, par Martin Storsjöcheckasm : af_afir : Use a dynamic tolerance depending on values
As the values generated by av_bmg_get can be arbitrarily large
(only the stddev is specified), we can't use a fixed tolerance.
Calculate a dynamic tolerance (like in float_dsp from 38f966b2222db),
based on the individual steps of the calculation.This fixes running this test with certain seeds, when built with
clang for mingw/x86_32.Signed-off-by : Martin Storsjö <martin@martin.st>
-
ffmpeg, stretch audio to x seconds
8 mai, par Max DoumitI am trying to make an audio file be exactly x second.


So far i tried using the
atempo
filter by doing the following calculation

Audio length / desired length = atempo.


But this is not accurate, and I am having to tweak the tempo manually to get it to an exact fit.


Are there any other solutions to get this work ? Or am I doing this incorrectly ?


My original file is a wav file, and my output in an mp3


Here is a sample command


ffmpeg -i input.wav -codec:a libmp3lame -filter:a "atempo=0.9992323" -b:a 320K output.mp3



UPDATE :


I was able to correctly calculate the tempo by changing the way I am receiving the audio length.


I am now calculating the current audio length using the actual file size and the sample rate.


Audio Length = file size / (sample rate * 2)



Sample rate is something like 16000 Hz. You can get that by using ffprob or ffmpeg.