Recherche avancée

Médias (91)

Autres articles (34)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (3878)

  • create extended context menu for ffmpeg

    29 mai 2020, par Rami Magdi

    this should be the completed version that i'm unable to achieve

    



    enter image description here

    



    this is what i achieved

    



    enter image description here

    



    this is my convertingto.reg code

    



    Windows Registry Editor Version 5.00

    ;command in context menu
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\converting to]

"MUIVerb"="converting to"
"SubCommands"="rotate1;rotate2;rotate0;rotate3"

"SeparatorBefore"=""
"SeparatorAfter"=""

    ;rotate 90 clockwise
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate1]
@="rotate 90 clockwise"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate1\command]
@="\"C:\\ffmpeg\\rotate1.bat\"\"%1\""


    ;rotate 90 counterclockwise
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate2]
@="rotate 90 counterclockwise"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate2\command]
@="\"C:\\ffmpeg\\rotate2.bat\"\"%1\""


    ;rotate 90 counterclockwise & vertically flip
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate0]
@="90 counterclockwise & vertically flip"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate0\command]
@="\"C:\\ffmpeg\\rotate0.bat\"\"%1\""


    ;rotate 90 clockwise & vertically flip
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate3]
@="rotate 90 clockwise & vertically flip"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\rotate3\command]
@="\"C:\\ffmpeg\\rotate3.bat\"\"%1\""


    



    i understand this can be done using extendedsubcommandskey unfortunately i can't reproduce microsoft's notes https://docs.microsoft.com/en-us/windows/win32/shell/how-to-create-cascading-menus-with-the-extendedsubcommandskey-registry-entry

    


  • Calling ffmpeg from subprocess.run and refering to specific directory

    27 décembre 2018, par Akalyn

    I’m trying to compile images contained in a given directory D into an mp4 video from a python script. I decided to use ffmpeg and hence called it through
    subprocess.run().

    When I issue the following command from another directory than D :

    ffmpeg -framerate 30 -pattern_type glob -i 'path/to/D/*.jpg' -vcodec libx264 -y movie.mp4

    it works fine.

    The same thing happens when I issue the command from the python script with the shell=True option :

    subprocess.run(" ".join(["ffmpeg", "-framerate", "30", "-pattern_type", "glob", "-i", "'path/to/D/*.jpg'", "-vcodec", "libx264", "-y", "movie.mp4"]), shell=True)

    However I know that relying on shell=True is not recommended. I tried using subprocess.run without that option :

    subprocess.run(["ffmpeg", "-framerate", "30", "-pattern_type", "glob", "-i", "'path/to/D/*.jpg'", "-vcodec", "libx264", "-y", "movie.mp4"])

    but it resulted in the following error :

    'path/to/D/*.jpg': No such file or directory.


    Why does the call to ffmpeg fail when calling it through subprocess.run with shell=False option ?

  • Evolution #2100 : Nom de répertoire de lib externe

    30 mai 2011, par cedric -

    Il faudrait améliorer cela, en effet. Mais le stockage en base me parait peut possible. Il faut éviter que le dezippage de deux archives differentes ne tombe dans le même dossier. A ce titre le md5 devrait porter sur toute l’url du zip plutot que sur le basename, et on pourrait fournir une (...)