Recherche avancée

Médias (91)

Autres articles (7)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (3005)

  • avcodec/cbs_mpeg2 : fix leak of extra_information_slice buffer in cbs_mpeg2_read_slice...

    22 mai 2019, par James Almer
    avcodec/cbs_mpeg2 : fix leak of extra_information_slice buffer in cbs_mpeg2_read_slice_header()
    

    cbs_mpeg2_free_slice() calls av_buffer_unref() on extra_information_ref,
    meaning allocating with av_malloc() was not the intention.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/cbs_mpeg2_syntax_template.c
  • Extract raw audio frames from OGG music file with Android NDK

    31 octobre 2018, par thenaoh

    In my Android app, I would like to be able to process audio on the fly from an OGG file by extracting audio samples, process them and redirect them to the audio output.

    I know how to make the last 2 steps using Android NDK, but I don’t know how to extract audio samples to get them in an array of floats or shorts.

    I tried to make this code work that, apparently, can extract raw audio samples on the fly.

    The problem is : I don’t manage to add FFMpeg in my project. I tried many tutorials (like this one), but it seems pretty difficult since I work on Windows. So after a while, I found Prebuild FFMpeg for Android, that seems interesting since it’s available for armeabi-v7a, arm64-v8a, x86 and x86_64 architectures, but again, I don’t understand how to add it in my project.

    I also took a look at libogg, libvorbis and vorbisfile, but I have no idea how to add them in my project.

    So, does anyone have a working example on how to extract audio samples from an OGG file on the fly ?

    Thanks for your help.

  • Stream and control a playlist to RTMP

    20 décembre 2016, par Eight

    I’m currently trying to stream a playlist of files from ffmpeg to an RTMP server.
    I’ve managed to get a single file to be streamed correctly, and (I think) a playlist by using :

    "concat:file1.pm4|file2.mp4|file3.mp4"

    I then tried to use the concatenation method from a txt file they explain here :
    https://trac.ffmpeg.org/wiki/Concatenate

    And was able to get it to work. However I seem to have some problems with controlling it. For example, I have no idea if it is possible to tell ffmpeg to skip this file and play the next one in the list, or to pause the stream at all. I already tested editing the txt file while it is streaming, but that didn’t seem to affect what was already streaming at all.

    Any idea how I can control my stream from the console ? My end goal would be to make the control into a full web interface later, but I’m not even sure if ffmpeg is my best option to do this.

    Any help with ffmpeg or any other options to do this would be greatly appreciated.