Recherche avancée

Médias (91)

Autres articles (30)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (5958)

  • avutil/log : added av_log_format_line2 which returns buffer length

    27 avril 2016, par Andreas Weis
    avutil/log : added av_log_format_line2 which returns buffer length
    

    The new function behaves the same as av_log_format_line, but also forwards
    the return value from the underlying snprintf call. This will allow
    callers to accurately determine the size requirements for the line buffer.

    Signed-off-by : Andreas Weis <github@ghulbus-inc.de>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] doc/APIchanges
    • [DH] libavutil/log.c
    • [DH] libavutil/log.h
    • [DH] libavutil/version.h
  • 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.

    &#xA;

    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.

    &#xA;

    Any help is appreciated.

    &#xA;

    var path = &#x27;./AudioFiles/&#x27;&#xA;var files = [];&#xA;var fTitle&#xA;&#xA;//Read list of files&#xA;fs.readdirSync(path).forEach((file) => {&#xA;    ffmetadata.read(path &#x2B; file, function(err, data){&#xA;        if (err) console.error("Error reading metadata", err);&#xA;        else {&#xA;            fTitle = data.title&#xA;        }&#xA;    })&#xA;    files.push({name:file.replace(&#x27;.mp3&#x27;,&#x27;&#x27;),title:fTitle})&#xA;})&#xA;

    &#xA;

    This is what I am receiving :

    &#xA;

    files = [{name:"myFile1",title:undefined},{name:"myFile2",title:undefined}...]&#xA;

    &#xA;

    I am expecting the below results :

    &#xA;

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

    &#xA;

  • 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.

    &#xA;

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

    &#xA;

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

    &#xA;

    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers&#xA;built with gcc 9.2.1 (GCC) 20200122&#xA;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&#xA;libavutil 56. 31.100 / 56. 31.100&#xA;libavcodec 58. 54.100 / 58. 54.100&#xA;libavformat 58. 29.100 / 58. 29.100&#xA;libavdevice 58. 8.100 / 58. 8.100&#xA;libavfilter 7. 57.100 / 7. 57.100&#xA;libswscale 5. 5.100 / 5. 5.100&#xA;libswresample 3. 5.100 / 3. 5.100&#xA;libpostproc 55. 5.100 / 55. 5.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 00000208f86182c0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible !&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 00000208f86182c0] moov atom not found&#xA;./Memes_APR_2021_V8/2546583872676854731-pubity-750-1333.mp4 : Invalid data found when processing input

    &#xA;

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

    &#xA;

    How do I get this to work ?

    &#xA;