Recherche avancée

Médias (91)

Autres articles (54)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (5750)

  • How to set ffmpeg for matplotlib in mac os x

    1er juillet 2023, par AlexNoir

    I want to animate some plots with matplotlib. The version I have is the Enthough Canopy distribution (Version : 1.1.0.1371), running in a mac os x 10.8 (Mountain Lion). I have used the FuncAnimation routine from the animation package of matplotlib. My problem comes saving the animation. I want to save in mp4 format :

    



    anim.save('test.mp4',fps=30)


    



    The error I get is :

    



    UserWarning: MovieWriter ffmpeg unavailable 
warnings.warn("MovieWriter %s unavailable" % writer)


    



    So I installed ffmpeg via Macports. But I am still having the same error. Do you know how to setup matplotlib in order to recognise ffmpeg ? Do I have to change the matplotlibrc file ?
Thanks.

    



    EDIT : I have realized that I can manually put '/opt/local/bin' in the PYTHONPATH, but it does not change the PATH in Enthough Canopy. Do anyone know how to change the PATH in canopy ?

    


  • ffmpeg convert a series of images to video - with crossfade or any other transition between every two frames

    29 février 2020, par Narendra Singh

    I am currently able to convert a series of images to video, but I do also need to add transitions / animation in between them.

    String[] ffmpegCommand = {"/data/data/mypackage/app_bin/ffmpeg", "-y",
    "-qscale", "1", "-r", "" + framerate, "-i", "/data/data/mypackage/app_ipImg/image%3d.jpg",
    "-t", "" + (((total_images) * delay_of_each_frame_in_seconds) + 4), //"-s",heightwidth,
    "-vcodec", "libx264", "-s", "640x480",
    Environment.getExternalStorageDirectory() + "/photo_directory/myVideo.mp4"};

    The above command is working for me to create video from image series

    But

    Now, I do want to add fade or other transition / animation to be displayed in final video before each of the frames.

    I googled a lot, but didn’t find any solution to this trouble, yet.

    Please suggest me the way.

    Thanks in advance.

  • combining / piping multiple ffmpeg commands to animate gif when using winff

    17 mai 2016, par Rick T

    Greetings I can convert a video file to a high quality animated gif file with the following lines below.

    ffmpeg -i test.mkv -vf palettegen palette.png
    ffmpeg -i test.mkv -i palette.png -lavfi paletteuse rot_pal.gif

    But I would like to use winff so I need to combine the two working lines together into one ffmpeg line operation. I can convert any video file to a animated gif with winff by editing the xml file below.

    <gifanimation>
       <label>Gif Animation Simple</label>
       <params>-f gif</params>
       <extension>gif</extension>
       <category>Gif Animation</category>
     </gifanimation>

    But what alteration do I need to do to the <params></params> line to get the two lines below into one ffmpeg line operation.

    ffmpeg -i test.mkv -vf palettegen palette.png
    ffmpeg -i test.mkv -i palette.png -lavfi paletteuse rot_pal.gif

    It looks like it needs to:
    1) generate the color palette from the video
    2) save the color palette to a file
    3) read the color palette back in
    4) apply it to the gif animation file.