Recherche avancée

Médias (91)

Autres articles (49)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9075)

  • Extracting Frames From a Movie file using python

    20 janvier 2014, par user3213576

    I've been trying to extract frames from a video file, and I've been using the following code as a test before I try to work with my own file. I get an error having to do with an invalid literal :

    import os, sys
    from PIL import Image
    a, b, c = os.popen3("ffmpeg -i test.avi")`
    out = c.read()

    dp = out.index(" ")
    duration = out[dp+10:dp+out[dp:].index(",")]
    hh, mm, ss = map(float, duration.split(":"))

    Error :

    Traceback (most recent call last):
     File "", line 1, in -toplevel-
       hh, mm, ss = map(float, duration.split(":"))
    ValueError: invalid literal for float(): cognized as an internal or external command

    How do I fix this error ?

  • rtmpproto : Send a full, absolute timestamp if it isn’t monotonically growing

    17 janvier 2014, par Martin Storsjö
    rtmpproto : Send a full, absolute timestamp if it isn’t monotonically growing
    

    The normal differential timestamps can’t handle negative
    differences, thus send a full packet header with an absolute
    timestamp in these cases.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/rtmppkt.c
  • rtmpproto : Send a full, absolute timestamp if it isn’t monotonically growing

    17 janvier 2014, par Martin Storsjö
    rtmpproto : Send a full, absolute timestamp if it isn’t monotonically growing
    

    The normal differential timestamps can’t handle negative
    differences, thus send a full packet header with an absolute
    timestamp in these cases.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/rtmppkt.c