Recherche avancée

Médias (91)

Autres articles (61)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (10047)

  • Round number of bits read to next byte

    4 décembre 2014, par watwat2014

    I have a header that can be any number of bits, and there is a variable called ByteAlign that’s calculated by subtracting the current file position from the file position at the beginning of the file, the point of this variable is to pad the header to the next complete byte. so if the header is taking up 57 bits, the ByteAlign variable needs to be 7 bits in length to pad the header to 64 bits total, or 8 bytes.

    Solutions that don’t work :

    Variable % 8 - 8, the result is the answer, but negative.

    8 % Variable ; this is completely inaccurate, and gives answers like 29, which is blatantly wrong, the largest number it should be is 7.

    how exactly do I do this ?

  • ffmpeg - extract exact number of frames from video

    29 mars 2017, par 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.

    1er septembre 2011, par Sebastian Tschan

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