Recherche avancée

Médias (91)

Autres articles (52)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (7602)

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

    


  • choosing outbound IP (eth0 or eth1) in FFMPEG

    4 septembre 2018, par Ba Ta

    I have 2 IP addresses on my server.

    $curl --interface eth0 ifconfig.co      
    111.111.111.111

    $curl --interface eth0:0 ifconfig.co      
    222.222.222.222

    So via curl I can switch via interfaces so my IP address changes when I visit any url based on eth IP

    How can I use same thing via ffmpeg ?

    For example, if want to access this video via ffmpeg (it uses 111.111.111.111 to access it)

    ffmpeg -i 123.com/video.mp4

    how can I access same video from my second IP 222.222.222.222 ?

    Is there any command like this, perhaps ?

    ffmpeg --interface eth0:0  -i 123.com/video.mp4
  • I want to use C# to get the first frame of a video as a preview image of the video without using ffmpeg to achieve it [closed]

    19 avril 2023, par anton

    I have some video files here. My client asked me to edit and format these video files and some text content and display them. Of course, C# is required. Since ffmpeg has 100+ mb, it's too big. Is there any other alternative or other more portable three-party library ?

    


    I'm using ffmpeg now, but it's too big, it needs to be started from the command line, and it can't be packaged perfectly with fody.

    


    I wonder if there is a more lightweight or embedded way to replace it to get the first frame of the video as a preview of the video

    


    I'm using winform not WPF