Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (55)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • 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

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

Sur d’autres sites (9364)

  • snow : remove an obsolete av_assert2

    9 juillet 2015, par Andreas Cadhalpun
    snow : remove an obsolete av_assert2
    

    It asserts that the frame linesize is larger than 37, but it can be
    smaller and decoding such frames works.

    Before commit cc884a35 src_stride > 7*MB_SIZE was necessary, because the
    blocks were interleaved in the tmp buffer and the last block was added
    with an offset of 6*MB_SIZE.
    It was changed for src_stride <= 7*MB_SIZE to write the blocks
    sequentially, hence the larger tmp_step.
    After that the assert was only necessary to make sure that the buffer
    remained large enough.
    Since commit bd2b6b33 s->scratchbuf is used as tmp buffer.
    As part of commit 86e107a7 the minimal scratchbuf size was increased to
    256*7*MB_SIZE, which is enough for any src_stride <= 7*MB_SIZE.

    Also add a comment explaining the tmp_step calculation.

    Signed-off-by : Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>

    • [DH] libavcodec/snow.h
  • [ffmpeg C++ API] : How to copy a music file's cover image into another music file ?

    22 avril 2022, par Ananta

    I am having difficulties in copying a source music file's cover image into a destination music file. These two music files are in different formats (i.e, either mp3, flac, wav, or wma, different sampling rate). How should I implement the code for this ? I created a minimal code for this task below :

    &#xA;

    const char* src_path = "source.mp3";&#xA;const char* dest_path = "destination.flac";&#xA;AVPacket src_pic; &#xA;&#xA;// open the source path&#xA;AVFormatContext *src_ctx = avformat_alloc_context();&#xA;avformat_open_input(&amp;src_ctx, src_path, NULL, NULL);&#xA;&#xA;// find the first attached picture, if available&#xA;for (i = 0; i &lt; src_ctx->nb_streams; i&#x2B;&#x2B;)&#xA;   if (src_ctx->streams[i]->disposition &amp; AV_DISPOSITION_ATTACHED_PIC) {&#xA;      src_pic = src_ctx->streams[i]->attached_pic;&#xA;&#xA;// open the destination path&#xA;AVFormatContext *dest_ctx = avformat_alloc_context();&#xA;avformat_open_input(&amp;dest_ctx, dest_path, NULL, NULL);&#xA;&#xA;// Then, how to embed the &#x27;src_pic&#x27; into &#x27;dest_ctx&#x27;?&#xA;&#xA;  &#xA;

    &#xA;

  • How to run FFMPEG with —enable-libfontconfig on Amazon Linux 2

    22 avril 2024, par Adrien Kaczmarek

    Problem

    &#xA;

    I want to run FFmpeg on AWS Lambda (Amazon Linux 2) with the configuration --enable-libfontconfig enable.

    &#xA;

    Situation

    &#xA;

    I already have FFmpeg running on AWS Lambda without the configuration --enable-libfontconfig.

    &#xA;

    Here is the step I took to run FFmpeg on AWS Lambda (see official guide) :

    &#xA;

      &#xA;
    • Connect to Amazon EC2 running on AL2 (environment used by Lambda for Python 3.11)
    • &#xA;

    • Download and package FFmpeg from John Van Sickle
    • &#xA;

    • Create a Lambda Layer with FFmpeg
    • &#xA;

    &#xA;

    Unfortunately, the version built by John Van Sickle doesn't have the configuration --enable-libfontconfig enabled.

    &#xA;

    Unsuccessful Trials

    &#xA;

    I tried to rebuilt it from scratch following the installation guide but without success (and the guide doesn't install font related dependencies)

    &#xA;

    I tried to install it with brew but the command brew install ffmpeg didn't succeed on AL2.

    &#xA;

    I tried to install ffmpeg from ffmpeg-master-latest-linux64-gpl.tar.xz. Unfortunately, this build of ffmpeg doesn't run on AL2 :

    &#xA;

    ffmpeg: /lib64/libm.so.6: version `GLIBC_2.27&#x27; not found (required by ffmpeg)&#xA;ffmpeg: /lib64/libpthread.so.0: version `GLIBC_2.28&#x27; not found (required by ffmpeg)&#xA;ffmpeg: /lib64/libc.so.6: version `GLIBC_2.27&#x27; not found (required by ffmpeg)&#xA;ffmpeg: /lib64/libc.so.6: version `GLIBC_2.28&#x27; not found (required by ffmpeg)&#xA;

    &#xA;

    Any help would be greatly appreciated,

    &#xA;

    Please make sure your answer is up to date and tested. Too many answers out there are auto-generated, too generic, or simple redirect without context.

    &#xA;

    Thank you

    &#xA;