Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (71)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (12491)

  • How to Remove a Specific Segment from an Audio File Using Timestamps in C# ? [closed]

    8 février, par Hilal Khan

    I am working on a C# project where I need to remove a specific segment from an audio file (e.g., WAV, MP3) based on start and end timestamps, while keeping the rest of the audio intact.

    


    For example, given a 20-minute audio file, I want to remove the section from 17:00 to 19:00 and be left with a new audio file containing only 0:00-17:00 and 19:00-20:00 (i.e., keeping the parts before and after the cut).

    


    I have used NAudio and FFmpeg to trim a file by cutting from the start or end, but I only get my desired snippet as a separate file which is not what I am looking for as I want it to be removed from the audio itself

    


    Heres what I have so far :

    


    static void RemoveSegment(string inputPath, string outputPath, double startTime, double endTime)
{
    using (var reader = new Mp3FileReader(inputPath))
    {
        var writer = new FileStream(outputPath, FileMode.Create, FileAccess.Write);

        int bytesPerMillisecond = reader.WaveFormat.AverageBytesPerSecond / 1000;
        long startPosition = (long)(startTime * 1000) * bytesPerMillisecond;
        long endPosition = (long)(endTime * 1000) * bytesPerMillisecond;

        byte[] buffer = new byte[4096];
        int bytesRead;

        while ((bytesRead = reader.Read(buffer, 0, buffer.Length)) > 0)
        {
            if (reader.Position < startPosition || reader.Position > endPosition)
            {
                writer.Write(buffer, 0, bytesRead);
            }
        }

        writer.Close();
    }

    Console.WriteLine("Segment removed successfully!");
}


    


  • Using ffmpeg to cut audio from specific position

    6 mars 2020, par infrahinium

    I need to cut off the first 0.006 seconds of an audio file. I want to automate it using ffmpeg, I tried those codes :

    ffmpeg -ss 0.006 -i input.mp3 -c copy output.mp3
    or
    ffmpeg -itsoffset 0.006 -i input.mp3 -c copy output.mp3

    Both commands gives me the same audio file, but with a 0.030 sec long blank audio at beginning, instead of its 0.006 second long original blank

    What have I done wrong ?

    Here’s what happends to file

  • ffmpeg : concat syntax for avi files with different frame rate

    21 février 2020, par suste88

    What is the cli syntax to concat several avi files with different fps into one ?

    ffmpeg -f concat -safe 0 i myListOfAvi.txt -c:v copy output.avi

    I want to keep the fps as it is(dont want to covert all avi fps to same). For example : I have avi files with 5, 10, 15, 20 fps and want output file after concatentation to have fps 5 , then 10, then 15 and so on(simply join the video).
    Right now avi files concatenation using this command line gives me 20 minutes long video instead of a minute long video. Have not figured out what is causing it. The same syntax works for creating output in mp4 format though, but it gets stuck in first frame for five seconds at the start.