Recherche avancée

Médias (91)

Autres articles (80)

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

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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (9912)

  • avformat/mpegts : add support for ATSC E-AC-3 streams

    14 novembre 2024, par Scott Theisen
    avformat/mpegts : add support for ATSC E-AC-3 streams
    

    ATSC A/52:2018 Digital Audio Compression (AC-3, E-AC-3), Annex G
    defines stream_type 0x87 for E-AC-3 bit streams.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/mpegts.c
  • Evolution #3924 : Changer #FILE dans la boucle DATA source ls pour mettre le chemin complet

    28 février 2018, par BoOz -

    Fil : oui le seul risque avec ça c’est si on est dans ecrire/
    autrement dit il faut peut-être _DIR_RACINE.$v

    Dans écrire avec $b[’file’] = $v ; j’ai le bon résultat, avec _DIR_RACINE un ../ de trop.

    */ !par mtime"
    "
    0,10> [(#VALY-m-d H:i:s|date#MTIME)] - file : [(#FILE)] - basename : [(#BASENAME)]

    Donne

    2018-02-28 17:33:25 - file : ../IMG/gif/ - basename : gif
    2018-02-28 17:33:20 - file : ../IMG/png/ - basename : png
    2018-02-28 17:30:03 - file : ../IMG/jpg/ - basename : jpg
    

    Donc je mets $b[’file’] = $v

  • What is the proper input format for drawtext's timecode option in fluent-ffmpeg (node.js) ?

    24 janvier 2023, par Gil Dekel

    I am trying to generate short video clips from 3 images with a simple millisecond counter at the top left per user request. So far I was able to generate the clips using the videoshow npm lib, no issues here.

    &#xA;&#xA;

    However, when I try to add the timer via fluent-ffmpeg's drawtext filter to an already generated video, I run into the following issue.

    &#xA;&#xA;

    Here's what I have so far :

    &#xA;&#xA;

    ffmpeg(&#x27;video.mp4&#x27;)&#xA;    .on(&#x27;error&#x27;, function(err, stdout, stderr) {&#xA;      console.log("ffmpeg stdout:\n" &#x2B; stdout);&#xA;      console.log("ffmpeg stderr:\n" &#x2B; stderr);&#xA;    })&#xA;    .videoCodec(&#x27;libx264&#x27;)&#xA;    .format(&#x27;mp4&#x27;)&#xA;    .fps(fps)&#xA;    .complexFilter([&#xA;        {&#xA;            filter: &#x27;drawtext&#x27;,&#xA;            options: {&#xA;                fontsize: 15,&#xA;                timecode: &#x27;00\:00\:00\:00&#x27;,  //&lt;--- Issue is most likely here&#xA;                fontsize: 32,&#xA;                fontcolor: &#x27;white&#x27;,&#xA;                boxcolor: &#x27;black&#x27;,&#xA;                box: 1&#xA;            }&#xA;        }&#xA;    ]).save(&#x27;out.mp4&#x27;);&#xA;

    &#xA;&#xA;

    From what I found online I am quite convinced that my problem is with the timecode input format. Here's my error log :

    &#xA;&#xA;

    ffmpeg stderr:&#xA;ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers&#xA;  built with Apple LLVM version 9.0.0 (clang-900.0.39.2)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-nonfree&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;video.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf57.83.100&#xA;  Duration: 00:00:01.03, start: 0.000000, bitrate: 585 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x1136 [SAR 923:924 DAR 130:231], 573 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;[Parsed_drawtext_0 @ 0x7f91aa700700] Both text and text file provided. Please provide only one&#xA;[AVFilterGraph @ 0x7f91aa700440] Error initializing filter &#x27;drawtext&#x27; with args &#x27;fontsize=32:timecode=00:00:00:00:fontcolor=white:boxcolor=black:box=1&#x27;&#xA;Error initializing complex filters.&#xA;Invalid argument&#xA;

    &#xA;&#xA;

    Specifically this :

    &#xA;&#xA;

    [Parsed_drawtext_0 @ 0x7f91aa700700] Both text and text file provided. Please provide only one&#xA;

    &#xA;&#xA;

    When I run what should be the equivalent to my code in shell, it works perfectly :

    &#xA;&#xA;

    ffmpeg -i video.mp4 \&#xA;       -vf drawtext="fontsize=15:timecode=&#x27;00\:00\:00\:00&#x27;:rate=60:fontsize=32:fontcolor=&#x27;white&#x27;:\&#xA;           boxcolor=0x000000AA:box=1" \&#xA;       -f mp4 out.mp4&#xA;

    &#xA;&#xA;

    I already spent a whole day trying to find any previous solutions to this problem, or documentation online regarding the proper format of drawtext's timecode option within node.js with no luck. It seems most of the information out there is for bash/shell use. I need to do this programmatically on a server per request, and I just can't find the right example to solve this.

    &#xA;&#xA;

    Any help to resolve this would be appreciated.

    &#xA;