Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (104)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (7249)

  • aarch64 : vp9itxfm : Make the larger core transforms standalone functions

    23 novembre 2016, par Martin Storsjö
    aarch64 : vp9itxfm : Make the larger core transforms standalone functions
    

    This work is sponsored by, and copyright, Google.

    This reduces the code size of libavcodec/aarch64/vp9itxfm_neon.o from
    19496 to 14740 bytes.

    This gives a small slowdown of a couple of tens of cycles, but makes
    it more feasible to add more optimized versions of these transforms.

    Before :
    vp9_inv_dct_dct_16x16_sub4_add_neon : 1036.7
    vp9_inv_dct_dct_16x16_sub16_add_neon : 1372.2
    vp9_inv_dct_dct_32x32_sub4_add_neon : 5180.0
    vp9_inv_dct_dct_32x32_sub32_add_neon : 8095.7

    After :
    vp9_inv_dct_dct_16x16_sub4_add_neon : 1051.0
    vp9_inv_dct_dct_16x16_sub16_add_neon : 1390.1
    vp9_inv_dct_dct_32x32_sub4_add_neon : 5199.9
    vp9_inv_dct_dct_32x32_sub32_add_neon : 8125.8

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/aarch64/vp9itxfm_neon.S
  • Playing ffmpeg converted video on Google slides

    1er avril 2019, par user1056585

    I have a PNG image and an MP3 audio file. I’d like to create a video with a still image and use it in a Google slides presentation. From Google’s documentation, these formats (and codecs) are supported : https://support.google.com/drive/answer/2423694?hl=en&co=GENIE.Platform=Desktop

    1) FFMPEG is the easiest tool I can find to make a video from image + audio. But if you have other options, please suggest.
    2) I tried a couple commands :

    ## Command 1
    ffmpeg -i image.png -i audio.mp3 -acodec mp3 -vcodec flv1 video9.flv

    ## Command 2
    ffmpeg -i image.png -i audio.mp3 -acodec aac -vcodec mpeg4 video7.mov

    ## Command 3
    ffmpeg -i image.png -i audio.mp3 -vcodec wmv1 final14.wmv

    But all of these display the error Video cannot be played in Google slides. When I try to play them in Google drive, I get the error Unable to process this video.

    Any thoughts on how I can produce a video file that’ll play in Google slides ?

  • Mathematical formula to always center text along X and Y axis ffmpeg python ?

    18 février 2023, par Sixtus Anyanwu

    I am trying to center a text horizontally and vertically with ffmpeg python but I can't seem to get it right. The mid point shifts depending on the amount of characters in the text.

    &#xA;

    How do I always center the text to the centre of the screen no matter the length of the text ?

    &#xA;

    Here is my code.

    &#xA;

    &#xA;v_width = 1080&#xA;&#xA;v_height = 1633&#xA;&#xA;def create_video():&#xA;&#xA;    overlay1 = ffmpeg.input("sukuna.gif").filter("scale", 1080, -1, height = 1633 / 2)&#xA;&#xA;    overlay2 = ffmpeg.input("akaza_long.mp4").filter("scale", 1080, -1, height = 1633 / 2 )&#xA;&#xA;    (&#xA;&#xA;    ffmpeg.input(&#x27;letsgo.mp4&#x27;)&#xA;&#xA;    .overlay(overlay1)&#xA;&#xA;    .overlay(overlay2, x = 0, y = v_height / 2)&#xA;&#xA;    .drawtext(textfile = "char_names.txt", fontfile = "/storage/emulated/0/PyFiles/Helvetica-Bold.ttf", fontcolor = "yellow", bordercolor = "black", escape_text = True, start_number = 0, fontsize = "80", x = (v_width / 2) - 40, y = (v_height / 2) - 40, borderw = 4, line_spacing = 3)&#xA;&#xA;    .output("newVideo.mp4")&#xA;&#xA;    .run()&#xA;&#xA;    )&#xA;

    &#xA;

    The - 40 is for adding some extra padding to the text.

    &#xA;

    How do I go about this ?

    &#xA;

    I want the below position always no matter how big or amount of characters in the text.&#xA;Centred text

    &#xA;

    Already tried adding a couple of offset to the text but once the text gets longer, it loses its alignment.

    &#xA;