Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (64)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9370)

  • In ffmpeg command-line, how to show all filter settings and their parameters before encoding ?

    7 décembre 2023, par F.X.

    Is there a way to force the ffmpeg command-line to display a comprehensive list of all filters and their parameters, even those that are applied automatically like -vf scale ?

    


    (EDIT : To clarify, I do not mean filter documentation, but rather displaying filters that are instantiated at runtime for a particular command-line, just before transcoding starts. The goal of this is mostly checking that ffmpeg is indeed doing the right thing and not inserting/changing filters when I do not intend it to.)

    


    There are a few options available, but none are comprehensive enough. For example :

    


      

    • The lavfi module has a dumpgraph option (here) but only if you're using lavfi.
    • 


    • The -sws_flags print_info option (here) can be used to determine if -vf scale is applied automatically and shows a subset of its parameters, but not all of them.
    • 


    


    Additionally, this question appears related the answer doesn't answer what I'm looking for.

    


    Are there better ways to achieve that ?

    


  • avdevice/dshow : list_devices : show media type(s) per device

    21 décembre 2021, par Diederick Niehorster
    avdevice/dshow : list_devices : show media type(s) per device
    

    the list_devices option of dshow didn't indicate whether a specific
    device provides audio or video output. This patch iterates through all
    media formats of all pins exposed by the device to see what types it
    provides for capture, and prints this to the console for each device.
    Importantly, this now allows to find devices that provide both audio and
    video, and devices that provide neither.

    Signed-off-by : Diederick Niehorster <dcnieho@gmail.com>
    Reviewed-by : Roger Pack <rogerdpack2@gmail.com>

    • [DH] libavdevice/dshow.c
  • How correctly show video with transparency in Qt with OpenCV + FFMpeg

    11 avril 2022, par TheEnigmist

    I'm trying to show a video with transparency in a Qt6 application using OpenCV + FFMPEG.&#xA;Actually those are tool versions :

    &#xA;

      &#xA;
    • Win 11
    • &#xA;

    • Qt 6.3.0
    • &#xA;

    • OpenCV 4.5.5 (built with CMake)
    • &#xA;

    • FFMPEG 2022-04-03-git-1291568c98-full_build-www.gyan.dev
    • &#xA;

    &#xA;

    I've used a base .mov video with transparency as test (link provided below).&#xA;First of all I've converted .mov video to .webm video (VP9) and I see in output text that alpha channel remains

    &#xA;

    &#xA;

    ffmpeg -i '.\Retro Bars.mov' -c:v libvpx-vp9 -crf 30 -b:v 0 output.webm

    &#xA;

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2,&#xA;    ...&#xA;    Stream #0:0[0x1](eng): Video: qtrle (rle  / 0x20656C72), argb(progressive),&#xA;    ...&#xA;&#xA;Output #0, webm, &#xA;   ...&#xA;   Stream #0:0(eng): Video: vp9, yuva420p(tv, progressive),&#xA;   ...&#xA;

    &#xA;

    But when I show info of output file with ffmpeg it loses alpha channel :

    &#xA;

    &#xA;

    ffmpeg -i .\output.webm

    &#xA;

    &#xA;

    Input #0, matroska,webm,&#xA;    ...&#xA;    Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, progressive),&#xA;    ...&#xA;

    &#xA;

    If I open output.webm with OBS it is shown correctly without a background, as shown in picture :&#xA;obs_load

    &#xA;

    If I try to open it with OpenCV + FFMPEG it shows a black background under bars, as shown in picture :&#xA;Qt_out

    &#xA;

    This is how I load video in Qt :

    &#xA;

    cv::VideoCapture capture;&#xA;capture.open(filename, cv::CAP_FFMPEG);&#xA;capture.set(cv::CAP_PROP_CONVERT_RGB, false); // try forcing load alpha channel&#xA;... //in a thread&#xA;while (capture.read(frame)) {&#xA;    qDebug() &lt;&lt; "c" &lt;&lt; frame.channels() &lt;&lt; "t" &lt;&lt;  frame.type() &lt;&lt; "d" &lt;&lt;  frame.depth(); // output: c 3 t 16 d 0&#xA;    cv::cvtColor(frame, frame, cv::COLOR_BGR2RGBA); //useless since no alpha channel is detected&#xA;    img = QImage(frame.data, frame.cols, frame.rows, QImage::Format_RGBA8888);&#xA;    emit processedImage(img); // to show image in a QLabel with QPixmap::fromImage(img)&#xA;}&#xA;

    &#xA;

    I think the problem is when I load the video with OpenCV, it doens't detect alpha channel, since I can load correctly in other player (obs, html5, etc.)

    &#xA;

    What I'm wrong with all process to show this video in Qt with transparency ?

    &#xA;

    EDIT : Added dropbox link with test video + ffmpeg outputs :&#xA;sample items

    &#xA;