Recherche avancée

Médias (91)

Autres articles (43)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (6180)

  • FFmpeg live stream to Youtube with Raspberry Pi & USB Camera — What command to use for better quality ?

    4 août 2023, par qwet142

    I am currently streaming to Youtube live with the following command :

    


    ffmpeg -re -f s16le -i /dev/zero -f v4l2 -thread_queue_size 512 -codec:v mjpeg -s 1920x1080 -i /dev/video0 -c:v libx264 -preset ultrafast -acodec aac -b:v 3500k -g 30 -f flv rtmp://a.rtmp.youtube.com/live2/key

    


    The frame rate is great, and the speed is 1x. However, the quality is very poor, improved only slightly after increasing the bitrate to 3000k. Changing the resolution doesn't help, and using veryfast makes things worse. How can I fix the quality ?

    


    Note : there is no audio and this is a USB camera.

    


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

    12 juin 2014, 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 !

  • 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.