Recherche avancée

Médias (91)

Autres articles (57)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (6309)

  • FFMpeg outputs empty stream/file in C#

    15 juin 2017, par Dark0Matter

    I’m making a bot for discord, and I’m currently trying to use ffmpeg to stream an audio file through voice chat. (Which, many other people succeeded in doing it)

    So basically, I’m using libsodium.dll + opus.dll + ffmpeg.exe to turn an mp3 file into a stream using ffmpeg, and output it.

    This is my "CreateStream" function which starts ffmpeg and turns the mp3 file into a stream/pipe.

       private Process CreateStream(string path)
       {
           var ffmpeg = new ProcessStartInfo
           {
               FileName = "ffmpeg.exe",
               //Arguments = $"-hide_banner -loglevel panic -i \"{path}\" -ac 2 -f s16le -ar 48000 pipe:1",
               Arguments = $"-i {path} -ac 2 -f s16le -ar 48000 pipe:1",
               //Arguments = $"-i {path} -ac 2 -f s16le -ar 48000 testingtesting.mp3",
               UseShellExecute = false,
               RedirectStandardOutput = true,
           };
           return Process.Start(ffmpeg);
       }

    The commented arguments are the other arguments that I’ve tried. (e.g. the last commented arguments line was an attempt to output it to a file instead of a stream, and the file turned out to be empty)

    So basically, my current arguments are

    Arguments = $"-i {path} -ac 2 -f s16le -ar 48000 pipe:1"

    (where pipe:1 is replaceable by any filename such as test.wav)

    and here’s my problem in case you didn’t catch it :

    ffmpeg always outputs empty streams/files.

    Here’s the output that I got in the console.
    https://pastebin.com/zvGgsZZ6

    So my question is,

    Am I using the wrong arguments ?

    And if so, what other arguments can I try to get it fixed ?

    Tl ;dr : ffmpeg outputs empty data to a stream, and it does the same thing when the pipe is replaced by a .wav/.mp3 file.

    EDIT1 : After some time of waiting, I got this : https://pastebin.com/y8rjnsMb

    EDIT2 : I searched for more argument combinations that worked for other people and stumbled upon Arguments = $"-i \"path\" -ab 48000 -f mp3 test.mp3",
    when I tried writing to test.mp3, it worked, but the quality was low.
    Then I tried replacing test.mp3 with pipe:1, but that didn’t work. Help ?

  • avfilter : remove usage of empty header

    25 juin 2017, par Paul B Mahol
    avfilter : remove usage of empty header
    

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] libavfilter/f_sendcmd.c
    • [DH] libavfilter/f_zmq.c
    • [DH] libavfilter/graphdump.c
    • [DH] libavfilter/internal.h
  • avcodec/cuviddec : only flush cuvid when output queue is empty

    20 mai, par Timo Rothenpieler
    avcodec/cuviddec : only flush cuvid when output queue is empty
    
    • [DH] libavcodec/cuviddec.c