Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (36)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (4338)

  • FFMPEG Encoding to prores 4444 with alpha doesn't retain original alpha [closed]

    19 mai 2023, par Nick Weeden

    I'm trying to convert an rgba png to prores 4444 with an alpha. When I run the following command it will create prores file with an alpha. But, the alpha is full white, it doesn't retain the values I put in.

    


    ffmpeg -start_number 1001 -r 24.000 - "pngWithAlpha_%06d.png" -c:v prores_ks -profile:v 4 -alpha_bits 16 -y "proresWithAlpha.mov"


    


    I've tried this with both FFMPEG 4.2.2 and 6.0.0 on a linux system, I'm not sure if I'm doing it wrong or if it is a bug.

    


    Looking at this post it seems it should be possible (they're complaining about quality not a fully missing transfer of the alpha).

    


    I would expect it to pass the alpha straight through but it doesn't. I used alpha_extract to copy the alpha in to the rgb to confirm I'm able to read the alpha from the png, which worked. But the alpha was still full white.

    


  • ffmpeg zoompan multiple zoomin/zoomout on different areas of big image [closed]

    10 janvier 2024, par LinuxAdmin

    I need to create a video, with zooming in and out different areas of one big square image.
I tried different zoompan examples, but can't do what I want. What I resolved is keeping aspect ratio of square image, setting setsar=ratio='(1/1)' before zoompan and setdar=ratio='(1/1) after.

    


    Video begins with full image (keeping aspect ratio), then zooms in to a sector of image (1sec), stay 1 second, and zoomout back to full size (1sec). I have 40 sectors, all same size. I can iterate every with bash, adding zoompan line for every sector, setting right x/y coordinates.

    


    Please help me evaluate zoompan expression for getting such result.

    


  • avutil/threadmessage : split the pthread condition in two

    1er décembre 2015, par Clément Bœsch
    avutil/threadmessage : split the pthread condition in two
    

    Fix a dead lock under certain conditions. Let’s assume we have a queue of 1
    message max, 2 senders, and 1 receiver.

    Scenario (real record obtained with debug added) :
    [...]
    SENDER #0 : acquired lock
    SENDER #0 : queue is full, wait
    SENDER #1 : acquired lock
    SENDER #1 : queue is full, wait
    RECEIVER : acquired lock
    RECEIVER : reading a msg from the queue
    RECEIVER : signal the cond
    RECEIVER : acquired lock
    RECEIVER : queue is empty, wait
    SENDER #0 : writing a msg the queue
    SENDER #0 : signal the cond
    SENDER #0 : acquired lock
    SENDER #0 : queue is full, wait
    SENDER #1 : queue is full, wait

    Translated :
    - initially the queue contains 1/1 message with 2 senders blocking on
    it, waiting to push another message.
    - Meanwhile the receiver is obtaining the lock, read the message,
    signal & release the lock. For some reason it is able to acquire the
    lock again before the signal wakes up one of the sender. Since it
    just emptied the queue, the reader waits for the queue to fill up
    again.
    - The signal finally reaches one of the sender, which writes a message
    and then signal the condition. Unfortunately, instead of waking up
    the reader, it actually wakes up the other worker (signal = notify
    the condition just for 1 waiter), who can’t push another message in
    the queue because it’s full.
    - Meanwhile, the receiver is still waiting. Deadlock.

    This scenario can be triggered with for example :
    tests/api/api-threadmessage-test 1 2 100 100 1 1000 1000

    One working solution is to make av_thread_message_queue_send,recv()
    call pthread_cond_broadcast() instead of pthread_cond_signal() so both
    senders and receivers are unlocked when work is done (be it reading or
    writing).

    This second solution replaces the condition with two : one to notify the
    senders, and one to notify the receivers. This prevents senders from
    notifying other senders instead of a reader, and the other way around.
    It also avoid broadcasting to everyone like the first solution, and is,
    as a result in theory more optimized.

    • [DH] libavutil/threadmessage.c