Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (92)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (10051)

  • Anomalie #4109 (Fermé) : Calcul des visites d’un referer la veille en partie faux ?

    5 mars 2018, par BoOz -

    Hello,

    En regardant le code du plugins stats je vois que la première fois qu’on tombe sur un referer nouveau dans un paquet de visites récentes, on enregistre le nombre de visites pour ce referer qu’on a reçu dans ce lot de visites, et donc aussi aujourd’hui, très bien, mais aussi HIER o_O ??

    https://zone.spip.org/trac/spip-zone/browser/_core_/plugins/statistiques/genie/visites.php#L230

    Pourquoi enregistrer des visites hier si c’est la première fois qu’on voit ce referer aujourd’hui ??

    On pourrait mettre 0 pour visites_veille si ça vous va.

  • Anomalie #3767 (Nouveau) : typo.css pour moins de 640px

    12 avril 2016, par Joachim SENE

    Le code, modifié, issu d’AlsaCréations, pour mobile et écrans de moins de 640px, peut provoquer des erreurs d’affichages.

    Le code est dans typo.css ligne 516
    en particulier le premier bloc qui définit max-width : 100% !important ;

    Le  !important (ajouté, par rapport à la proposition d’AlsaCréations) va pouvoir créer des effets de bord pour des plugins qui utiliseraient une des balises ainsi redéfinie (img, table, td, blockquote, code, pre, textarea, input, iframe, object, embed, video).

    Par exemple en utilisant OpenStreetMap, la carte disparaît pour ces écrans, en raison de ce code. Apparaissent les engrenages de chargement.

    J’ai dû commenter tout le bloc (pas seulement virer le !important, ça ne suffit pas, le 100% pose problème, ni même redéfinir ce qui est impossible en raison précisément du !important…) pour que la carte apparaisse sur mobile.

    J’ignore totalement comment tester que ce code a un effet bénéfique pour petits écrans et que le retirer va provoquer une régression.

    J’ajoute aussi qu’il s’agit d’une régression par rapport à Spip 3.0.x : la carte s’affichait bien dans tous le cas : ce code dans typo.css n’était pas présent !

  • Incorrect values for song length (duration) in Mp3tag after ffmpeg FLAC to MP3 conversion

    29 mars 2024, par Clueless

    The problem

    


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

    


    ffmpeg -i input.flac -ab 320k -map_metadata 0 -id3v2_version 3 output.mp3


    


    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.

    


    enter image description here

    


    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.

    


    enter image description here

    


    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.

    


    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.

    


    What I have tried

    


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

    


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


    


    enter image description here

    


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

    


    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.

    


    2.
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 ???)

    


    enter image description here

    


    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.

    


    Some demo files

    


    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.

    


    Folder : here's the link