Recherche avancée

Médias (91)

Autres articles (86)

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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (11216)

  • ffmpeg : use drawtext with quote inside text

    18 octobre 2023, par Sulli

    I have a variable that takes its content from a file (I can't change the content of the file) :

    



    echo $variable
It's my variable


    



    I want to print that string on a video with ffmpeg :

    



    ffmpeg -nostdin -i input.mp4 -vf drawtext="text='$variable': fontcolor=white:box=1:boxcolor=black@0.8: x=h/70: y=h/5*4.2" -codec:a copy output.mp4


    



    when I do that, the quote inside $variable is not printed. I have read here that I need to escape the quote multiple times, some say 5 times, some say more.

    



    So I have tried to use

    



    variable=${variable//\'/'\\\\\'\'}


    



    to add between 1 and 10 backslashes, but it never worked : either nothing is printed, or \ are printed :

    



    It\s my variable


    



    Can someone tell me what is the correct syntax, or the correct number of backslashes I should add ?

    


  • ffmpeg : use drawtext with quote inside text

    8 mai 2017, par Sulli

    I have a variable that takes its content from a file (I can’t change the content of the file) :

    echo $variable
    It's my variable

    I want to print that string on a video with ffmpeg :

    ffmpeg -nostdin -i input.mp4 -vf drawtext="text='$variable': fontcolor=white:box=1:boxcolor=black@0.8: x=h/70: y=h/5*4.2" -codec:a copy output.mp4

    when I do that, the quote inside $variable is not printed. I have read here that I need to escape the quote multiple times, some say 5 times, some say more.

    So I have tried to use

    variable=${variable//\'/'\\\\\'\'}

    to add between 1 and 10 backslashes, but it never worked : either nothing is printed, or \ are printed :

    It\s my variable

    Can someone tell me what is the correct syntax, or the correct number of backslashes I should add ?

  • FFMPEG loop video overlay smooth

    20 novembre 2018, par Young King

    I have :

    • 1 image(background.png)
    • 2 videos ( like a sticker will be added to image background by overlay options)

    videoA.mp4 (duration x second)
    videoB.mp4 (duration y second)

    I want to create smooth video by loop videoA and videoB with duration is multiples of x and y

    For example :
    x = 4s
    y = 6s

    Video output will be have duration 12s, videoA loop 3 times, videoB loop 2 times

    How can I create FFMPEG command.