Recherche avancée

Médias (91)

Autres articles (49)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (4896)

  • Use ffmpeg to encode AUDIO+IMAGE into a VIDEO for YouTube

    2 février 2016, par pablosz

    I need to generate a video containing a single image throughout the duration of the audio comming from an audio file. This video should be compatible with the parameters supported by YouTube.

    I’m using ffmpeg.

    I was trying various configurations explained right here and in other forums but not all have worked well.

    I’m currently using these settings :

    ffmpeg -i a.mp3 -loop 1 -i a.jpg -vcodec libx264 -preset slow -crf 20 -threads 0 -acodec copy -shortest a.mkv

    Where a.mp3 containing audio, a.jpg contains the image and a.mkv is the name of the resulting video.

    Using these parameters a.mkv works well on YouTube and can be played with Media Player Classic ; but KMPlayer only recognizes the audio, showing a blank image as background.

    My questions are two :
    1 - There is something wrong that causes KMPlayer to fail ?
    2 - Is there any configuration that can deliver the video faster, of course losing some compression ?

    Muchas gracias !

  • Adding background music using fluent-ffmpeg

    17 mai 2020, par Dhawal Patel

    I've been trying to add background audio to another audio file. Here is what I tried :

    



          const audio_urls = ['/path/audio1.m4a', '/path/audio2.m4a'];
      const file_name = 'merged_file.m4a';
      ffmpeg()
      .input(audio_urls[0])
      .input(audio_urls[1])
      .on('end', async function (output) {
        console.log(output, 'files have been merged and saved.')
      })
      .saveToFile(file_name)



    



    For some reason the file generated only has the second audio file sound (i.e. audio2.m4a). Any help is appreciated.

    


  • c# pipe using youtube-dl to ffmpeg

    1er janvier 2017, par lilscarecrow

    I am trying to pipe the audio stream from youtube-dl into ffmpeg for a program using discord.NET. I am not sure exactly how to achieve this in c#, though. Currently, I can play ffmpeg with a url or path from this code on the docs for discord.NET :

    var process = Process.Start(new ProcessStartInfo
           {                                                      
               FileName = "ffmpeg",
               Arguments = $"-i {outLine.Data}" +                                              
                           " -f s16le -ar 48000 -ac 2 pipe:1",                                        
               UseShellExecute = false,
               RedirectStandardOutput = true                                                                                  
           });
           Thread.Sleep(2000);                                                                                                                    
           int blockSize = 3840;                                                                                                        
           byte[] buffer = new byte[blockSize];
           int byteCount;

           while (!playing)                                                                                                  
           {
               byteCount = process.StandardOutput.BaseStream                                                  
                       .Read(buffer, 0, blockSize);                                                                          

               if (byteCount == 0)                                                                                                            
                   break;                                                                                                                          

               _vClient.Send(buffer, 0, byteCount);                                                                    
           }
           _vClient.Wait();

    So, I am trying to pipe the youtube-dl audio to this I assume. I just have no idea how to achieve piping in this format and for the file while it is downloading. Also, the program works on async if that helps.