Advanced search

Medias (91)

Other articles (56)

  • Le profil des utilisateurs

    12 April 2011, by

    Chaque 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 (...)

  • Support de tous types de médias

    10 April 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...); audio (MP3, Ogg, Wav et autres...); vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...); contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google (...)

  • Automated installation script of MediaSPIP

    25 April 2011, by

    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 (...)

On other websites (6282)

  • fftools/ffmpeg_dec: abort if avcodec_send_packet() returns EAGAIN

    22 May 2023, by James Almer
    fftools/ffmpeg_dec: abort if avcodec_send_packet() returns EAGAIN
    

    As the comment in the code mentions, EAGAIN is not an expected value here
    because we call avcodec_receive_frame() until all frames have been returned.
    avcodec_send_packet() returning EAGAIN means a packet is still buffered, which
    hints that the underlying decoder is buggy and not fetching packets as it
    should.

    An example of this behavior was in the libdav1d wrapper before f209614290,
    where feeding it split frames (or individual OBUs) would result in the CLI
    eventually printing the confusing "Error submitting packet to decoder: Resource
    temporarily unavailable" error message, and just keep going until EOF without
    returning new frames.

    Signed-off-by: James Almer <jamrial@gmail.com>

    • [DH] fftools/ffmpeg_dec.c
  • FFMPEG returns the wrong time

    22 July 2016, by GeeHopper

    I’m currently trying to cut a file using ffmpeg with the following command: "ffmpeg -sseof -10 -i resourcefile.mp4 -c copy cuttedfile.mp4" but for some reason the new file length is more than 10 seconds (around 15). So now I’m wondering if this is a bug, since this should cut the last 10 seconds in a new file.

    Thanks for the help :)

  • ffmpeg volumedetect returns unstable result

    8 February 2018, by Eric Stdlib

    I am using ffmpeg to calculate the volume of my audio file, but I find that ffmpeg returns different values for different containers (like mp3 v.s. ogg)

    Here is an example. I am using an ogg file from Wikimedia Commons, and converting it to mp3, then analyze the volume of both files. For ogg file, I get -3.0 dB for mean volume, but for mp3 file, I get -3.4 dB. When I use other files, I also get different max volume and histogram.

    [user@localhost tmp]$ wget https://upload.wikimedia.org/wikipedia/commons/b/b9/Audio_Frequency_tone%2C_Middle_C%2C_C4%2C_261.63hz.ogg -O a.ogg 2> /dev/null
    [user@localhost tmp]$ ffmpeg -i a.ogg a.mp3 2> /dev/null
    [user@localhost tmp]$ ffmpeg -i a.ogg -af volumedetect tmp.ogg 2>&amp;1 | grep volumedetect
    [Parsed_volumedetect_0 @ 0x555f69f3f4a0] n_samples: 88768
    [Parsed_volumedetect_0 @ 0x555f69f3f4a0] mean_volume: -3.0 dB
    [Parsed_volumedetect_0 @ 0x555f69f3f4a0] max_volume: 0.0 dB
    [Parsed_volumedetect_0 @ 0x555f69f3f4a0] histogram_0db: 27541
    [user@localhost tmp]$ ffmpeg -i a.mp3 -af volumedetect tmp.mp3 2>&amp;1 | grep volumedetect
    [Parsed_volumedetect_0 @ 0x55fd62be4740] n_samples: 88768
    [Parsed_volumedetect_0 @ 0x55fd62be4740] mean_volume: -3.4 dB
    [Parsed_volumedetect_0 @ 0x55fd62be4740] max_volume: -0.0 dB
    [Parsed_volumedetect_0 @ 0x55fd62be4740] histogram_0db: 21340
    [user@localhost tmp]$

    Why is this bug happening? Which one should I believe?