Recherche avancée

Médias (91)

Autres articles (102)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (13204)

  • alternative for ffmpeg without using ffmpeg

    24 mars 2016, par sanoj lawrence

    amusing following code to get image from video(snapshot)

    <?php
    $ffmpeg = 'ffmpeg\bin\ffmpeg.exe';
    $video  = 'upload/'.$location;
    $image  = 'upload/thumb/'.$random_name.'.jpg';
    $second = 1;
    $cmd = "$ffmpeg -i $video 2>&1";
    if (preg_match('/Duration: ((\d+):(\d+):(\d+))/s', `$cmd`, $time)) {
       $total = ($time[2] * 3600) + ($time[3] * 60) + $time[4];
       $second = rand(1, ($total - 1));
    }
    $cmd = "$ffmpeg -i $video -deinterlace -an -ss $second -t 00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg $image 2>&1";
    $return = `$cmd`;
    ?>

    how do i get snapshot form video without using ffmpeg

    by using jquery or java is it possible like extraction snapshot and video duration for video

    because recently i found this using id3 detecting video duration etc.

  • FFmpeg - divide single .webm video into multiple videos (each representing part of the screen) specifying rows and columns count

    23 mai 2022, par salveiro

    Can FFmpeg divide one big rectangular video into x smaller rectangular ones ?
What would be a command for it ?

    


    Can we parametrize the command with number of rows and columns we desire ?

    


    Can we somehow prevent loosing pixel precision when command is provided with improper rows/column count for source video resolution ?

    


  • How can I capture and record only specific part of the desktop using ffmpeg ?

    23 juillet 2018, par Benzi Avrumi

    This is how I’m using now to record the desktop.

    Using ffmpeg.exe : ffmpeg -f gdigrab -framerate 24 -i desktop -preset ultrafast -pix_fmt yuv420p out.mp4

    Or using csharp :

    using System;  
       using System.Collections.Generic;  
       using System.Linq;  
       using System.Text;  
       using System.Threading.Tasks;  
       using System.IO;  
       using System.Diagnostics;  

       namespace Ffmpeg_App  
       {  
           class Ffmpeg  
           {  
               Process process;  

               public void Start(string FileName, int Framerate)  
               {  
                   process = new System.Diagnostics.Process();  
                   process.StartInfo.FileName = @"D:\ffmpegx86\ffmpeg.exe"; // Change the directory where ffmpeg.exe is.  
                   process.EnableRaisingEvents = false;  
                   process.StartInfo.WorkingDirectory = @"D:\ffmpegx86"; // The output directory  
                   process.StartInfo.Arguments = @"-f gdigrab -framerate " + Framerate + " -i desktop -preset ultrafast -                                                                     pix_fmt yuv420p " + FileName;  
                   process.Start();  
                   process.StartInfo.UseShellExecute = false;  
                   process.StartInfo.CreateNoWindow = false;  
                   Close();  
               }  

               public void Close()  
               {  
                   process.Close();  
               }  
           }  
       }  

    And using it like this for example :

    Ffmpeg fpeg = new Ffmpeg();


       private void Start_Click(object sender, EventArgs e)  
               {  
                   fpeg.Start("test.mp4", 24);  
               }  


       private void Stop_Click(object sender, EventArgs e)  
               {  
                   fpeg.Close();  
               }

    This will record the entire desktop window to a video file.
    But how can I record a specific rectangle area in the desktop ? For example to record only the right bottom corner rectangle size 10x10.

    So when I will play the video file I will see full screen video but only of the right bottom corner of the desktop.