Recherche avancée

Médias (91)

Autres articles (96)

  • Contribute to documentation

    13 avril 2011

    Documentation 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, par

    L’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, par

    To 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 Niedermayer
    avformat/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 checks

    Fixes Ticket5136

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/utils.c
  • 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>

    • [DH] tests/checkasm/af_afir.c
  • ffmpeg, stretch audio to x seconds

    8 mai, par Max Doumit

    I am trying to make an audio file be exactly x second.

    &#xA;

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

    &#xA;

    Audio length / desired length = atempo.

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

    Here is a sample command

    &#xA;

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

    &#xA;

    UPDATE :

    &#xA;

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

    &#xA;

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

    &#xA;

    Audio Length = file size / (sample rate * 2)&#xA;

    &#xA;

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

    &#xA;