Recherche avancée

Médias (0)

Mot : - Tags -/content

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (37)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7515)

  • [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 :

    


    const char* src_path = "source.mp3";
const char* dest_path = "destination.flac";
AVPacket src_pic; 

// open the source path
AVFormatContext *src_ctx = avformat_alloc_context();
avformat_open_input(&src_ctx, src_path, NULL, NULL);

// find the first attached picture, if available
for (i = 0; i < src_ctx->nb_streams; i++)
   if (src_ctx->streams[i]->disposition & AV_DISPOSITION_ATTACHED_PIC) {
      src_pic = src_ctx->streams[i]->attached_pic;

// open the destination path
AVFormatContext *dest_ctx = avformat_alloc_context();
avformat_open_input(&dest_ctx, dest_path, NULL, NULL);

// Then, how to embed the 'src_pic' into 'dest_ctx'?

  


    


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

    &#xA;

    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.

    &#xA;

    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

    &#xA;

    FROM mcr.microsoft.com/dotnet/runtime:3.1-bionic&#xA;

    &#xA;

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

    &#xA;

    Have few ideas, but not sure :

    &#xA;

      &#xA;
    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. &#xA;

    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. &#xA;

    5. ... ?
    6. &#xA;

    &#xA;

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

    &#xA;