Recherche avancée

Médias (16)

Mot : - Tags -/mp3

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)

  • Split text in lines ffmpeg based on font and text length

    8 janvier 2018, par Iura Gaitur

    How can I calculate when to put a new line based on text length and font
    using function drawText from ffmpeg.
    For example if i have a long text that I want to place it at bottom in the video and it needs to take how much place it needs.

    drawtext=enable='between(t,0,18)':fontfile=font_simple.ttf:text='Here
    is a veeeeeeery loooong long text so I must somehow split it in
    multiple lines': fontcolor=white:shadowcolor=black:shadowx=1:shadowy=1:
    fontsize=25: x=(w-text_w)/1.07: y=30
  • I am able to write certain metadata information to a .m4v file but not all using ffmpeg

    14 janvier 2014, par user3193123

    For example use this code

    ffmpeg -i avatar.m4v -metadata title="Avatar" -metadata artist="James Cameron" -metadata     description="Long Long Ago…" acodec copy -vcodec copy -y /Users/Anand/Desktop/anand.m4v

    Works perfectly fine !!!

    But i am not able to write metadata information such as Rating, Actors(Cast), Producers etc.. because i dont know the keywords or the keywords don't exist ?

    Any body know the keyword for them or can't i write them ?

  • How to remove a specific segment from an audio file using timestamps ? [closed]

    9 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!");
}