Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (99)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

Sur d’autres sites (10389)

  • PNG sequence to MP4 while looping the animation

    19 avril 2016, par user245115

    So, I’m trying to convert a PNG sequence to an MP4 and loop the animation about 100 times, the only problem is my script doesn’t seem to be working properly.

    What the script is supposed to do is get the number of PNG files in the frames directory, and send them to FFMPEG 100 times. Only problem is my script isn’t working right. Here’s the code.

    #!/bin/bash

    loopcode()
    {
    tmpdir=frames
    picext=png
    one=$(ls -l ${tmpdir}/*.png  | wc -l)
    two=$(echo "${one}+0" | bc -l)
    three=0
    while [ ! ${loopi} -eq ${looper} ]; do
     while [ ! ${three} -eq ${two} ]; do
       three=$(printf "%09d" ${two})
       echo ${tmpdir}/${three}.${picext}
       two=$(echo "${two}+1" | bc -l)
     done
     two=0
     loopi=$(echo "${loopi}+1" | bc -l)
    done
    }

    looper=100
    loopi=0
    outfile=output.mp4
    fps=5
    convert frames/*.png frames/%09d.jpeg
    loopcode && sleep 5
    cat $(loopcode) | ffmpeg -framerate 1/5 -i - -c:v libx264 -r 30 -pix_fmt yuv420p "${outfile}"
  • Batch Programming Looping ?

    13 mai 2013, par Michael Barth

    I'm not an expert in batch programming, my only skill is in C\C++. I'm not even sure how to go about this really.

    I've got a bunch of videos like Video1.mp4, Video2.mp4 (that's not their actual names, but they do have numbers indicating beginning and end)

    Basically I have this FFMPEG command that I can use to convert all of these to an aspect ratio of 16:10 that looks something like this :

    "ffmpeg -i "Section 1 Video 1.mp4" -aspect 16:10 OutSection 1 Video 1.mp4"
    "ffmpeg -i "Section 1 Video 2.mp4" -aspect 16:10 OutSection 1 Video 2.mp4"
    "ffmpeg -i "Section 2 Video 1.mp4" -aspect 16:10 OutSection 2 Video 1.mp4"

    Now instead of writing this command over and over again, is there anyway for me to substitute the numbers for actual variables ? I know that Section 1 ends at Video 27 and Section 2 ends at Video 26 and so on. Basically I need the loop to run 165 times so I don't need to write the command 165 times.

    Or is this beyond the scope of capability of a mere batch program ?

  • avcodec/webp : Switch to ff_vlc_init_from_lengths()

    18 avril, par Andreas Rheinhardt
    avcodec/webp : Switch to ff_vlc_init_from_lengths()
    

    The earlier code would traverse over the code lengths
    mutliple times (namely max_length + 1 times - once to get
    the maximum length and once for each max_length to assign
    codes) before calling ff_vlc_init_sparse() (which may traverse
    them twice and sort them). The new code only traverses them once
    (+ the one time in ff_vlc_init_from_lengths()).

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/webp.c