Recherche avancée

Médias (91)

Autres articles (30)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (3979)

  • how to extract thumbnails at specific seconds of a .h264 file ?

    29 juillet 2014, par Bram de Goede

    I want to extract a few screenshots (thumbnails) out of a small (like 10) sec .h264 format video.
    I’ve tried to do it with ffmpeg but I get the following error :

    Generating thumbnail for: /home/pi/video.h264
    [h264 @ 0x646fe0] Estimation duration from bitrate, this may be inaccrate
    **Seeking in video failed, will use first frame**
    [h264 @ 0x646fe0] Estimation duration from bitrate, this may be inaccrate
    [swscaler @ 0x8c0840] No accelerated colorspace conversion found from yuv420p to rgb24.

    I used the following code :

    import os

    for root, dirnames, filenames in os.walk('/home/pi/'):
     for filename in filenames:
       if filename.lower().endswith(('.m4v', '.mov', '.mpeg', 'mp4', '.h264')):
         ifile = os.path.join(root, filename)
         ofile = os.path.splitext(ifile)[0] + ".jpg"
         try:
           with open(ofile) as f: pass
         except IOError as e:
           print "Generating thumbnail for: " + ifile

           fftoptions = "-s0 -t50"
           command = "ffmpegthumbnailer -i %s -o %s %s" % (ifile, ofile, fftoptions)

           p = os.popen(command,"r")
           while 1:
             line = p.readline()
             if not line: break
             print line

    The ffmpegthumbnailer seems to have a problem with the .h264 format my pi camera produces.

    Does anyone have a solution ?

  • How to install FFMPEG in DSX ?

    23 août 2017, par Sid

    I want to process .mp3 files in DSX for Music Information Retrieval. I am using librosa library in python for this purpose. But I am unable to load .mp3 files due to absence of ffmpeg. Is there a way to install ffmpeg in DSX or any other walk-around to load .mp3 files in DSX ?

  • How to sequentially extract video segments from mp4/mkv video files ?

    30 juillet 2018, par Keith Bennett

    Is there a way to programmatically walk through a file and extract (for example) consecutive 10-second fragments from it into separate files ?

    A colleague is currently using ffmpeg for this, but I’m thinking that invoking this command once per segment will result in a lot of file seeking that may not be necessary.

    Or am I wrong, is there some kind of time index in these files that makes the seeks very fast ?

    The language currently used for calling ffmpeg is Ruby, so a compiled C library might work, and a Java library would definitely work (with JRuby).