Recherche avancée

Médias (91)

Autres articles (41)

  • 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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (7627)

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


    


  • 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 :)

  • 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