Recherche avancée

Médias (91)

Autres articles (80)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (7065)

  • How to extract Images from MP4 video on upload - FFMPEG

    11 février 2015, par michael hanon

    I am putting together a training site for my company and we need to extract an image from each mp4 video we upload. I have searched lots and decided to try FFMPEG.

    Here is what I have so far. I’m not getting errors, but no image in the specified folder.

    Any help would be appreciated.

               string inputfile = Server.MapPath("/Report/TrainingLibrary/Material/Videos/RMSIMAILSignature.mp4");
               //string withouttext;
               string thumbpath;
               string thumbname;
               string thumbargs;
               //string thumbre;
              thumbpath = AppDomain.CurrentDomain.BaseDirectory + "Reports\\ TrainingLibrary\\Material\\Videos\\";
               thumbname = thumbpath + "Image" + "%d" + ".jpg";
               thumbargs = "-i " + inputfile + " -vframes 1 -ss 00:00:07 -s 150x150 " + thumbname;
               Process thumbproc = new Process();
               thumbproc = new Process();
               thumbproc.StartInfo.FileName = "C:\\FFMPEG\\Bin\\ffmpeg.exe";
               thumbproc.StartInfo.Arguments = thumbargs;
               thumbproc.StartInfo.UseShellExecute = false;
               thumbproc.StartInfo.CreateNoWindow = false;
               thumbproc.StartInfo.RedirectStandardOutput = false;
               try
               {
                   thumbproc.Start();
               }
               catch (Exception ex)
               {
                   Response.Write(ex.Message);
               }
               thumbproc.WaitForExit();
               thumbproc.Close();
  • Merge commit ’a6653787a4b1e89170ff7962312dd110769c83a3’

    3 février 2015, par Michael Niedermayer
    Merge commit ’a6653787a4b1e89170ff7962312dd110769c83a3’
    

    * commit ’a6653787a4b1e89170ff7962312dd110769c83a3’ :
    libopencv : Check kernel_str life cycle

    Conflicts :
    libavfilter/vf_libopencv.c

    See : f16a6f667c993a158643b52815ec42961508b0a9
    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavfilter/vf_libopencv.c
  • FFPMEG : stream local video to UDP address, make client aware about video length and current frame time offset (make stream seekable ?)

    17 décembre 2014, par klim

    Just started to use FFMPEG. This is a really great library which is capable of video life transcoding and streaming.

    I use following commands to transcode and stream local video file to UDP address :
    ffmpeg -y -re -i inputvideo.mpeg2 -vsync 1 -vcodec mpeg4 -b 1600k -r 15 -crf 20 -acodec aac -ar 44100 -strict -2 -f mpegts udp ://192.168.1.30:1234

    It works smooth. I can open this udp address in VLC player and play life stream.

    Does anybody know how to make client aware about video duration and current time stamp ?

    Ideally would be nice to make stream seekable, as far as I understand it is not possible, but at least I would like to tell VLC client the total duration of the video and current frame time stamp, so it could show the progress.

    Thanks.