Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (32)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (4515)

  • Grab frame without downloading whole file ?

    12 janvier 2012, par Writecoder

    Is this possible using php + ffmpeg ?

    ffmpeg-php has the ability to :

    Ability to grab frames from movie files and return them as images that
    can be manipulated using PHP's built-in image functions. This is great
    for automatically creating thumbnails for movie files.

    I just don't want to download the whole file before doing so.
    So lets say i want to grab a frame @ 10% of the movie :

    First lets get the size of remote file :

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_HEADER, true);
    curl_setopt($ch, CURLOPT_NOBODY, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($ch, CURLOPT_URL, $url); //specify the url
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
    $head = curl_exec($ch);

    $size = curl_getinfo($ch,CURLINFO_CONTENT_LENGTH_DOWNLOAD);

    Then it's quite easy to download only 10% of the .flv or .mov file using curl.

    But the framegrab trick using ffmpeg-php probably won't work because the file probably is corrupted ?

    Any other ideas ?

  • 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();
  • Timecode Burn-In from Source TC

    16 janvier 2024, par filmeschneider

    I'm trying to create a TC Burn-In that correctly displays the source video's TC.

    


    My current FFMPEG filter line is :

    


    -filter_complex "[0:1][0:2] amerge" -preset ultrafast -vf scale=960:540:in_range=tv:out_range=pc,"drawtext=\timecode='00\:00\:00\:00':timecode_rate=25:x=(w-tw)/2:y=h-(2*lh):fontcolor=white@1:fontsize=30:box=1:boxcolor=black@0.6" -c:v libx264 -pix_fmt yuv420p -crf 27 -c:a aac -ar 48000 -b:a 128k

    


    This of course starts the Burn-In at 00:00:00:00, but I'd rather insert the file's TC (in this case, it starts at 10:00:00:00) — data taken from MediaInfo :

    


    Other #1
ID                                       : 1-Material
Type                                     : Time code
Format                                   : MXF TC
Frame rate                               : 25.000 FPS
Time code of first frame                 : 10:00:00:00
Time code of last frame                  : 10:02:34:20
Time code settings                       : Material Package
Time code, stripped                      : Yes
Title                                    : Timecode

Other #2
ID                                       : 0-Source
Type                                     : Time code
Format                                   : MXF TC
Frame rate                               : 25.000 FPS
Time code of first frame                 : 10:00:00:00
Time code of last frame                  : 10:02:34:20
Time code settings                       : Source Package
Time code, stripped                      : Yes

Other #3
Type                                     : Time code
Format                                   : SMPTE TC
Muxing mode                              : SDTI
Frame rate                               : 25.000 FPS
Time code of first frame                 : 10:00:00:00


    


    I have not found a way to make FFMPEG read the TC and use it for the Burn-In. Do any of you guys know how to accomplish this ?

    


    Thanks
Christian