Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (96)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (9667)

  • How to fix "Cannot find a valid font for the family Sans' while adding text on image using react-native-ffmpeg

    13 mai 2024, par coffee

    I am trying to add text on image using the code below
RNFFmpeg
.execute(`-y -i ${input} -vf "drawtext=text='Hello World':fontcolor=white:fontsize=75:x=0:y=0" ${output}`) ;

    


    I am not using any custom font but still get this error.

    


    Error :

    


    [Parsed_drawtext_0 @ 0x7f87a1ce40] Cannot find a valid font for the family Sans

    


    index.js:115 [AVFilterGraph @ 0x7f6765e760] Error initializing filter 'drawtext'
index.js:115 [AVFilterGraph @ 0x7f6765e760] with args 'text=Hello World:fontcolor=white:fontsize=75:x=0:y=0'
index.js:115 [AVFilterGraph @ 0x7f6765e760]

    


    index.js:115 Error reinitializing filters !

    


    index.js:115 Failed to inject frame into filter network : No such file or directory

    


    index.js:115 Error while processing the decoded data for stream #0:0

    


    Note :

    


    I also tried using a custom font but not able to do it.
When I use RNFFmpegConfig.setFontDirectory('../../assets/fonts') function and with it the following code to add text on image
RNFFmpeg
.execute(`-y -i ${input} -vf "drawtext=text='Hello World':fontfile='../../assets/fonts/MyFont.ttf':fontcolor=white:fontsize=75:x=0:y=0" ${output}`) ;

    


    It gives me the same error.

    


    How can I fix this issue.

    


  • Draw text ffmpeg does not end when the word ends

    25 juin 2018, par Kion Dung

    It works very well. But it can not end the video while the text has run out. And it runs forever. The bottom is my code. It has gaps with the background image forever. I want to stop it when the text is over. please complete it help me.

       ffmpeg -loop 1 -i "C:\Users\Cu\Desktop\Lam\Lam\a.jpg" -i "C:\Users\Cu\Desktop\Lam\Lam\a.mp3" -vf drawtext='fontfile="Arial"\:style=bold:fontsize=70:textfile="C\:/Users/CuEm/Desktop/91990756.txt":fontcolor=#FFFFFF':x=0:y=h-20*t,format=yuv420p,scale=852x480,setsar=1:1  -vcodec libx264 -b:v 1000k -preset superfast "C:\Users\Cu\Desktop\b_o.mp4"

    enter image description here

  • Update docs.

    10 septembre 2013, par XhmikosR
    Update docs.
    

    Use code syntax in more places and link to jquery.