Recherche avancée

Médias (91)

Autres articles (72)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

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

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (15193)

  • lavfi/delogo : take SAR into account

    1er juillet 2013, par Jean Delvare
    lavfi/delogo : take SAR into account
    

    When interpolating, weights are based on relative distances, which
    assume square pixels. If a non-1:1 sample aspect ratio is used, it
    should be taken into account when comparing distances, because the
    human eye and brain care about the picture as it is displayed, not
    stored.

    Signed-off-by : Jean Delvare <khali@linux-fr.org>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavfilter/vf_delogo.c
  • Pointers returned by xlib don't match any existing window IDs

    1er septembre 2022, par Kroltan

    I'm using some X11 bindings to query some window information and later pass it to FFmpeg. FFmpeg expects a "window ID" given in hexadecimal notation.

    &#xA;

    This notation seems somewhat standard, as it is returned by programs like xwininfo or wmctrl. I haven't found much information about it, but it seems to just be the hexadecimal representation of the window pointer ? If I take the ID string given by these programs and give it to FFmpeg, it is able to capture the window correctly :

    &#xA;

    $ xwininfo&#xA;&#xA;xwininfo: Please select the window about which you&#xA;          would like information by clicking the&#xA;          mouse in that window.&#xA;&#xA;xwininfo: Window id: 0x2800014 "Desktop — Plasma"&#xA;&#xA;$ ffmpeg -f x11grab -window_id 0x2800014 -i :0&#x2B;0,0 -f apng -vframes 1 out.png&#xA;# works fine&#xA;

    &#xA;

    However, if I try listing all the windows in code :

    &#xA;

    var root = Window.None;&#xA;var parent = Window.None;&#xA;Xlib.XQueryTree(_display, Xlib.XDefaultRootWindow(_display), ref root, ref parent, out var children);&#xA;&#xA;var ids = children&#xA;    .Select(ptr => $"0x{(ulong) ptr:x}")&#xA;    .ToArray();&#xA;

    &#xA;

    I don't see 0x2800014 in the results (even disregardingleading zeroes), and if I try running FFmpeg on one of those results, it fails terribly :

    &#xA;

    $ ffmpeg -f x11grab -window_id 0x4400003 -i :0&#x2B;0,0 -f apng -vframes 1&#xA;&#xA;# snipped for brevity&#xA;&#xA;Trailing option(s) found in the command: may be ignored.&#xA;[x11grab @ 0x55b811a8da40] Cannot get the image data event_error: response_type:0 error_code:8 sequence:10 resource_id:167772160 minor_code:4 major_code:130.&#xA;[x11grab @ 0x55b811a8da40] Continuing without shared memory.&#xA;[x11grab @ 0x55b811a8da40] Cannot get the image data event_error: response_type:0 error_code:8 sequence:11 resource_id:71303171 minor_code:0 major_code:73.&#xA;Input #0, x11grab, from &#x27;:0&#x2B;0,0&#x27;:&#xA;  Duration: N/A, bitrate: 38361 kb/s&#xA;  Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 200x200, 38361 kb/s, 29.97 fps, 1000k tbr, 1000k tbn&#xA;At least one output file must be specified&#xA;

    &#xA;

    So I must conclude my guess that they are hex pointers is incorrect, or that the Window type is not the pointer itself, but then the question stands, how can I get the actual window IDs so I can pass them to FFmpeg ?

    &#xA;

  • Your metadata is not my metadata

    1er octobre 2010, par silvia

    Over the last two days we had the Open Subtitles Summit here in New York. It was very exciting to feel the energy in the room to make a change to media accessibility – I am sure we will see much development over the next 12 months. We spoke much about HTML5 video and standards (...)