Recherche avancée

Médias (91)

Autres articles (56)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

Sur d’autres sites (10948)

  • How to sync two videos of different length

    26 août 2020, par Huhngut

    I got two video files. The first one has good resolution but the wrong language and the second one has bad resolution but the wished language. Both of the files got a few seconds of black screen at the beginning but these seconds are different. I got a lot of these files and the intro seems to be always of a different length so I can't say always remove 2 seconds of audio and 3 seconds of video and then merge them.

    


    So I am wondering if there's some tool out there which s able to sync these files automatically.

    


    But it won't be enough to simply search for two identical images and calculate the time distance because the resolution is different (might its possible to scale the better one down for comparison) but even in this case, the program has to evaluate if the image has enough detail for comparison so it won't compare 2 black images. It would be good if the program scales the images to 50x50 to save time while comparing

    


    Does someone know any tool or has suggestions might even some python/java code for developing one. Any search suggestions or name ideas

    


  • lavc/tiff : Fix edge case with full-length/width tiles

    29 août 2019, par Nick Renieris
    lavc/tiff : Fix edge case with full-length/width tiles
    

    When the height is equal to the tile length (full-height tile)
    after `height % tile_length` is applied with the current code,
    it results in the operating tile_length to be 0. This commit
    makes this leftover logic only applies if it's necessary.

    Signed-off-by : Nick Renieris <velocityra@gmail.com>

    • [DH] libavcodec/tiff.c
  • Incorrect values for song length (duration) in Mp3tag after ffmpeg FLAC to MP3 conversion

    29 mars 2024, par Clueless

    The problem

    &#xA;

    As per this post, I use the following command to convert a flac file to mp3 while keeping all metadata :

    &#xA;

    ffmpeg -i input.flac -ab 320k -map_metadata 0 -id3v2_version 3 output.mp3&#xA;

    &#xA;

    When inspecting the converted mp3 file by right-clicking it, going to properties and then details, everything looks in order. The value for "Length" is correct.

    &#xA;

    enter image description here

    &#xA;

    When inspecting the converted mp3 file with Mp3tag, the value for "Length" is different. From my testing, the "Length" value is consistently about 28% of what it is supposed to be.

    &#xA;

    enter image description here

    &#xA;

    Normally, this isn't an issue. Most music players I use, read the correct length value, same as Windows. However, I've recently discovered that Spotify Mobile for some reason ignores the length value that can be seen in the Windows panel and uses the one that can be seen in Mp3tag.

    &#xA;

    I want to figure out what command I should use so that after the flac file has been converted to mp3, Mp3tag shows the correct length, and there by, Spotify Mobile reads the correct length as well.

    &#xA;

    What I have tried

    &#xA;

    1.&#xA;After converting the file to Mp3, I've tried reencoding the mp3 file into a... mp3 file using the following command :

    &#xA;

    ffmpeg -i original.mp3 -c:v copy -c:a mp3 -vn -ar 44100 -ac 2 -b:a 320k copy.mp3&#xA;

    &#xA;

    enter image description here

    &#xA;

    As can be seen in the image above, this fixes the issue and the length is showing correctly in Mp3tag and in Spotify Mobile.

    &#xA;

    Issues with this : Reencoding reduces quality and I don't know how to combine the previous flac conversion command and this one into one line.

    &#xA;

    2.&#xA;I tried https://cloudconvert.com/flac-to-mp3 and it worked. The length is displayed correctly in Mp3tag. (What commands did they use on the server ???)

    &#xA;

    enter image description here

    &#xA;

    Issues with this : I don't want to rely on a cloud service for conversion, I have a lot of files to convert and I'd prefer it to be done locally.

    &#xA;

    Some demo files

    &#xA;

    Here is a folder with a flac file, a bad mp3 file (wrong length) and a good mp3 file. It looks like if you preview the music in google drive, it also plays the wrong length for the bad mp3 (39s not 2m19s), while vlc, groove player, spotify (desktop not mobile) all play the correct full length (2m19s) for the bad mp3 file.

    &#xA;

    Folder : here's the link

    &#xA;