Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (57)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (6728)

  • Reading file metadata in nodejs with ffmetadata and fs returns undefined

    10 novembre 2020, par Citanaf

    I cant seem to get this right. I am attempting to read a file's metadata (title) with ffmetadata via a loop on the folder using fs. I would then like to push those properties into an object array called files. If I place the push method inside the ffmetadata, it throws a "push is not a function" error. If I place the push method outside ffmetadata, but inside readdirSync, the object gets created, but the titles are undefined.

    


    I think I'm running into a asynchronous issue or a variable scope issue ? I've place several Console.logs over this and the return from the metadata returns after code that comes well after this section.

    


    Any help is appreciated.

    


    var path = './AudioFiles/'
var files = [];
var fTitle

//Read list of files
fs.readdirSync(path).forEach((file) => {
    ffmetadata.read(path + file, function(err, data){
        if (err) console.error("Error reading metadata", err);
        else {
            fTitle = data.title
        }
    })
    files.push({name:file.replace('.mp3',''),title:fTitle})
})


    


    This is what I am receiving :

    


    files = [{name:"myFile1",title:undefined},{name:"myFile2",title:undefined}...]


    


    I am expecting the below results :

    


    files = [{name:"myFile1",title:"myFile1Title"},{name:"myFile2",title:"myFile2Title"}...]


    


  • creating videos with ffmpeg/MoviePy - returns error

    9 avril 2021, par danielsulux

    After using moviepy, it has been shown to have worked, everything is updated. I see no issue with the code, but somehow it returns error.

    


    raise IOError(("MoviePy error: failed to read the duration of file %s.\n"


    


    OSError : MoviePy error : failed to read the duration of file ./Memes_APR_2021_V8/2546583872676854731-pubity-750-1333.mp4.
Here are the file infos returned by ffmpeg :

    


    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-amf —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000208f86182c0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible !
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000208f86182c0] moov atom not found
./Memes_APR_2021_V8/2546583872676854731-pubity-750-1333.mp4 : Invalid data found when processing input

    


    What it is doing is :
Grabbing videos from my library and making a video with them
thats it...

    


    How do I get this to work ?

    


  • avutil/mastering_display_metadata : add a new allocator function that returns a size

    22 mars 2024, par James Almer
    avutil/mastering_display_metadata : add a new allocator function that returns a size
    

    av_mastering_display_metadata_alloc() is not useful in scenarios where you need to
    know the runtime size of AVMasteringDisplayMetadata.

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

    • [DH] doc/APIchanges
    • [DH] libavutil/mastering_display_metadata.c
    • [DH] libavutil/mastering_display_metadata.h
    • [DH] libavutil/version.h