Recherche avancée

Médias (91)

Autres articles (31)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (3961)

  • Unable to Creating Video File from one audio file and single image file in windows form c# using ffmpeg.exe

    25 juillet 2018, par MoonTech

    Hello I created one form for creating video from one mp3 file and one jpg file.
    For this I Wrote this Code but this is not the answer.

    private void button2_Click(object sender, EventArgs e)
       {        
           string input_audio = @"C:\Users\...\Desktop\test\audio";        

           string outPut = @"C:\Users\...\Desktop\test\outputvideo";
           string img= @"C:\Users\...\Desktop\folder image\image123";

           stripAudioTest(img, input_audio,  outPut);

       }

       public void stripAudioTest(string image, string AudioFile, string outputfile)
       {
           string FFMPEG_PATH = "ffmpeg.exe";          

           string strParam = "-loop 1 -i "+ image+".jpg  -i "+ AudioFile+ ".mp3 -c:v libx264 -c:a aac -strict experimental -b:a 128k -shortest "+ outputfile+ ".mp4";                    

           process(FFMPEG_PATH, strParam);

       }

       public void process(string Path_FFMPEG, string strParam)
       {
           try
           {
               Process ffmpeg = new Process();
               ffmpeg.StartInfo.UseShellExecute = false;
               ffmpeg.StartInfo.RedirectStandardOutput = true;              
               ffmpeg.StartInfo.CreateNoWindow = true;
               ffmpeg.StartInfo.FileName = Path_FFMPEG;
               ffmpeg.StartInfo.Arguments = strParam;              
               ffmpeg.Start();
               ffmpeg.StartInfo.ErrorDialog = true;            
               ffmpeg.WaitForExit();

           }
           catch (Exception ex)
           {
               MessageBox.Show(ex.Message);
           }
       }

    FYI : mp3 file Duration 5 minutes and 23 Seconds .
    1. I am new in FFmpeg so I don’t have idea how to get out of this.
    2. I Got ffmpeg command from Here
    3. I tried Few of more ffmpeg command .Please check it below.

    string strParam = "-y -stream_loop -1 -i " + image + ".jpg -i " + AudioFile + ".mp3 -y -r 25 -b 2500k - acodec ac3 - ab 384k - vcodec mpeg4 " + outputfile+".mp4";

    another one

    string strParam = "-loop 1 -i " + image + ".jpg -i " + AudioFile+ ".mp3 -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest " + outputfile+".mp4";
  • Questions Tags Users How do I use ffmpeg to record a video clip with 20 seconds before and 20 seconds after motion happened ?

    18 avril 2020, par user2661357

    I am using an IP camera with rtsp stream to do motion detection. When a motion happens, I want to use ffmpeg to record a video clip with 20 seconds before and 20 seconds after motion happened. Please show me how I should do that use ffmpeg. Thanks.

    


  • ffmpeg unrecognized file type

    1er février 2019, par user892134

    I’m using Mac OS and ffmpeg. I’m attempting to convert mp3 to mp4 with image background and overlay audio visualization.
    The below works when converting mp3 to mp4 with image :

    $mp3 = "/Users/vanessa/Downloads/test/Marco.mp3";
       $image = "/Users/vanessa/Downloads/test/maxresdefault.jpg";
       $video = "/Users/vanessa/Downloads/test/videos/test2.mp4";

     exec("/usr/local/Cellar/ffmpeg/4.1_3/bin/ffmpeg -loop 1 -i $image -i $mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest $video 2>&1",$output);

    I can successfully play test2.mp4. When i attempt to do add an overlay of audio visualization. I can see in get info how it looks in the preview section but when i click on the file it says : File open error:Unrecognized file type

    exec("/usr/local/Cellar/ffmpeg/4.1_3/bin/ffmpeg -y -i $mp3 -loop 1 -i $image -filter_complex '[0:a]showwaves=s=1280x175:colors=White:mode=line,format=yuv420p[v];[1:v][v]overlay=0:200[outv]' -map '[outv]' -pix_fmt yuv420p -map 0:a -c:v libx264 -c:a copy -shortest $video 2>&1",$output);

    Where did i go wrong ? The player i’m using is Quicktime.