Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (9807)

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

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