Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (4)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (2164)

  • FFMpeg audio conversion from lower to higher, increases audio by 2 seconds [migrated]

    30 août 2017, par Dilip Kumar

    I tested ffmpeg to convert a 90 kbps mp3 to 128 kbps.

    ffmpeg -i "test.mp3" -vn -ar 44100 -ac 2 -ab 128k -f mp3 "test1.mp3"

    Conversion works but the problem is with the audio that converted increases by 2 more seconds. The original audio is 01:36 and the converted audio becomes 01:38. I also tried with some other audios.

    Here i am trying to convert from lower to higher. But if i convert higher like 190 kbps to 128 kbps lower, then it works properly.

    Is there something wrong with the ffmpeg ?

  • my ffmpeg stops streaming after a few seconds

    15 février 2015, par Andrew Simpson

    This is all new to me.

    I am using ffmpeg in my c# desktop app.

    The idea is to use the Process under C# to start ffmpeg on the DOS prompt.

    I then parse each bit of data to ’split’ off my jpegs.

    But after a few seconds the feed just stops.

    This is my code :

    private void button1_Click(object sender, EventArgs e)
       {
           try
           {
               Process process = new Process();
               FileStream baseStream = null;

               string arguments = @" -i rtsp://admin:admin@192.168.0.8:554/video_1 -an -f image2pipe -vf fps=fps=6 -qscale 0 -";
               string file = @"C:\bin\ffmpeg.exe";
               process.StartInfo.FileName = file;
               process.StartInfo.Arguments = arguments;
               process.StartInfo.CreateNoWindow = true;
               process.StartInfo.RedirectStandardError = true;
               process.StartInfo.RedirectStandardOutput = true;
               process.StartInfo.UseShellExecute = false;

               Task.Run(() =>
               {
                   try
                   {
                       process.Start();
                       byte[] buffer = new byte[200000];
                       //var error = process.StandardError.ReadToEnd();
                       //var error = process..ReadToEnd();

                       baseStream = process.StandardOutput.BaseStream as FileStream;
                       bool gotHeader = false;
                       bool imgFound = false;
                       int counter = 0;
                       while (true)
                       {
                           byte bit1 = (byte)baseStream.ReadByte();
                           buffer[counter] = bit1;

                           if (bit1 == 217 && gotHeader)
                           {
                               if (buffer[counter - 1] == 255)
                               {
                                   byte[] jpeg = new byte[counter];
                                   Buffer.BlockCopy(buffer, 0, jpeg, 0, counter);
                                   using (MemoryStream ms = new MemoryStream(jpeg))
                                   {
                                       pictureBox1.Image = Image.FromStream(ms);
                                       ms.Close();
                                   }
                                   imgFound = true;
                               }
                           }
                           else if (bit1 == 216)
                           {
                               if (buffer[counter - 1] == 255)
                               {
                                   gotHeader = true;
                               }
                           }
                           if (imgFound)
                           {
                               counter = 0;
                               buffer = new byte[200000];
                               imgFound = false;
                               gotHeader = false;
                           }
                           else
                           {
                               counter++;
                           }
                       }
                   }
                   catch (Exception ex2)
                   {
                       //log error here
                   }
               });
           }
           catch (Exception ex)
           {
               //log error here
           }
       }

    Like I said it works but then just stops.

    Is there something I should be mindful of ?
    Also, is there way to receive any errors.
    Finally, is there a was to specify the quality of the jpeg ?

    thanks

  • my ffmpeg stops streaming after a few seconds

    16 février 2015, par Andrew Simpson

    This is all new to me.

    I am using ffmpeg in my c# desktop app.

    The idea is to use the Process under C# to start ffmpeg on the DOS prompt.

    I then parse each bit of data to ’split’ off my jpegs.

    But after a few seconds the feed just stops.

    This is my code :

    private void button1_Click(object sender, EventArgs e)
       {
           try
           {
               Process process = new Process();
               FileStream baseStream = null;

               string arguments = @" -i rtsp://admin:admin@192.168.0.8:554/video_1 -an -f image2pipe -vf fps=fps=6 -qscale 0 -";
               string file = @"C:\bin\ffmpeg.exe";
               process.StartInfo.FileName = file;
               process.StartInfo.Arguments = arguments;
               process.StartInfo.CreateNoWindow = true;
               process.StartInfo.RedirectStandardError = true;
               process.StartInfo.RedirectStandardOutput = true;
               process.StartInfo.UseShellExecute = false;

               Task.Run(() =>
               {
                   try
                   {
                       process.Start();
                       byte[] buffer = new byte[200000];
                       //var error = process.StandardError.ReadToEnd();
                       //var error = process..ReadToEnd();

                       baseStream = process.StandardOutput.BaseStream as FileStream;
                       bool gotHeader = false;
                       bool imgFound = false;
                       int counter = 0;
                       while (true)
                       {
                           byte bit1 = (byte)baseStream.ReadByte();
                           buffer[counter] = bit1;

                           if (bit1 == 217 && gotHeader)
                           {
                               if (buffer[counter - 1] == 255)
                               {
                                   byte[] jpeg = new byte[counter];
                                   Buffer.BlockCopy(buffer, 0, jpeg, 0, counter);
                                   using (MemoryStream ms = new MemoryStream(jpeg))
                                   {
                                       pictureBox1.Image = Image.FromStream(ms);
                                       ms.Close();
                                   }
                                   imgFound = true;
                               }
                           }
                           else if (bit1 == 216)
                           {
                               if (buffer[counter - 1] == 255)
                               {
                                   gotHeader = true;
                               }
                           }
                           if (imgFound)
                           {
                               counter = 0;
                               buffer = new byte[200000];
                               imgFound = false;
                               gotHeader = false;
                           }
                           else
                           {
                               counter++;
                           }
                       }
                   }
                   catch (Exception ex2)
                   {
                       //log error here
                   }
               });
           }
           catch (Exception ex)
           {
               //log error here
           }
       }

    Like I said it works but then just stops.

    Is there something I should be mindful of ?

    Finally, is there a was to specify the quality of the jpeg ?

    NOTE
    I have already tried this just in the DOS Prompt and that also ’freezes’ after a few seconds.