Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (104)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (8171)

  • How to "extend" aws docker base image (.net core from scratch) by ... libs/ubuntu/ffmpeg ?

    26 avril 2022, par Nigrimmist

    i would like to use AWS Lambda through the image containers using .net core 3.1 and it is works fine for me in simplest code case. But i stucked with next scenario :

    


    By default, aws provide base image with .net core with aws libs based on "from scratch". So as i know, it minimal Linux that does not contains even package manager.

    


    I need to work with ffmpeg in the code, but to do it i need to install few packages and ... fmpeg. I have working code on image

    


    FROM mcr.microsoft.com/dotnet/runtime:3.1-bionic


    


    It is ubuntu with .net core runtime. But what is the right strategic in case of AWS Lambda image ? How can i ... merge them ?.

    


    Have few ideas, but not sure :

    


      

    1. use as is FROM public.ecr.aws/lambda/dotnet:core3.1 and try to install package manager, all depenendencies to use ffmpeg and so on ?
    2. 


    3. Use mcr.microsoft.com/dotnet/runtime:3.1-bionic, somehow add required by amazon dependencies (how ? download content and attach from local ?) and configure it to run in Lambda runtime ?
    4. 


    5. ... ?
    6. 


    


    Will be glad to hear where is the solution here. Thanks !

    


  • 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;