Advanced search

Medias (91)

Other articles (62)

  • Other interesting software

    13 April 2011, by

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website: http://videopress.com/
    License: GNU/GPL v2
    Source code: (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 October 2010, by

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Librairies et logiciels spécifiques aux médias

    10 December 2010, by

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel; FFMpeg avec le maximum de décodeurs et (...)

On other websites (6231)

  • ffmpeg - extract exact number of frames from video

    29 March 2017, by Michael B

    I want to create a maximum of 30 images from a video (and tile them for a sprite sheet).

    I’ve tried using the ’select’ with ’mod’ but if the total number of frames does not fit neatly into the desired number of images (30) then I sometimes end up with more images, sometimes less.

    For example if my video is 72 frames long, my ’mod’ would be 72 / 30, which is 2.4.

    I’m running this from a python script so i’m doing something like the following for the filter:

    select='not(mod(n\," + str(mod) + "))'

    I think the mod has to be an integer (?) so I could either round down and use 2 which gives me 36 images or round up which gives me 24 images

    Whats the best way to get exactly 30? - obviously the interval wouldn’t be identical but thats fine.

    Maybe I could use a for loop to generate a list of the frames closest to the desired interval and then pass that in as the select filter?

    e.g. to get the frames I would do something like this:

    nframes = 72 # number of frames in video
    outImages = 30 # number of images I want
    mod = float(nframes) / outImages # 2.4

    frames = []

    idx = 1

    while i < nframes:
       print str(idx) + ": " + str(math.floor(i+0.5))
       frames.append(int(math.floor(i+0.5)))
       idx += 1
       i += mod

    Then am I able to pass that (the frames list) into the ffmpeg command? Or can I tell ffmpeg to do something similar?

  • Updated version number.

    1 September 2011, by Sebastian Tschan

    m jquery.fileupload-ui.js Updated version number.

  • Updated version number.

    30 August 2012, by Sebastian Tschan

    m js/jquery.fileupload.js Updated version number.