Recherche avancée

Médias (1)

Mot : - Tags -/vidéo

Autres articles (95)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (5529)

  • Applescript to batch convert videos with ffmpeg

    13 mai 2022, par Thad_Supersperm

    I'm trying to add padding to a large amount of videos in their folders. I created an app with AppleScriptEditor so I can drag and drop files and they're automatically converted. I found a script on the web, I edited it with the ffmpeg command I need, but it won't work because it wants to overwrite the source file.

    


    on open argv
    set paths to ""
    repeat with f in argv
        set paths to paths & quoted form of POSIX path of f & " "
    end repeat
    tell application "Terminal"
        do script "for f in " & paths & "; do ffmpeg -i \"$f\"  -vf pad=\"9/8*iw:ih:(ow-iw)/2:0:color=black\" \"$f\"; done"
        activate
    end tell
end open


    


    Note that I want to keep the filename, filetype and put the new file next to the old one but just add an underscore at the end of the new file, before the extension ; e.g. : file.ext. > file_.ext

    


  • How do I run ffmpeg with PHP on a Mac

    8 avril 2017, par Please Help

    There is literally nothing on this anywhere, the little there is does not work and is too advanced for me. If you can answer this you would make my life. How do I run ffmpeg commands from php which is running on my localhost ? I prefer XAMPP, but MAMP will do just fine, at this stage I will use anything. Do I need to install ffmpeg on the XAMPP server itself, or does it just need to be installed on the mac ? I can run the ffmpeg commands fine from terminal, for example,

    ffmpeg -i Tmpfile.mp4 -c:v libx264 -preset ultrafast video.mp4

    works fine, but

    echo shell_exec("ffmpeg -i Tmpfile.mp4 -c:v libx264 -preset ultrafast video.mp4");

    does nothing when I load the webpage with the index.php that that code is in.

    I will buy you a cookie if you can solve my problem :)

  • How to close all the threads and multiprocesses in a tkinter app when app closes ?

    16 juillet 2021, par kup

    I am creating a tkinter app which start a multiprocess.process (daeman = True) and then that process further starts a couple threads and that thread further starts a ffmpeg process.

    


                    for i, val in enumerate(group):
                    threads.append(Thread(target = self.ffmpeg, args=(val, )))
                    threads[i].start()


    


    But when i close the app the process does not stops, i can still see log in the terminal after i closes the app.

    


    I just want them to close when app shuts down.

    


    i also tried :

    


    sys.exit()