Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (25)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (4525)

  • vdpau : add av_vdpau_bind_context()

    4 octobre 2014, par Rémi Denis-Courmont
    vdpau : add av_vdpau_bind_context()
    

    This function provides an explicit VDPAU device and VDPAU driver to
    libavcodec, so that the application is relieved from codec specifics
    and VdpDevice life cycle management.

    A stub flags parameter is added for future extension. For instance, it
    could be used to ignore codec level capabilities (if someone feels
    dangerous).

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] doc/APIchanges
    • [DBH] libavcodec/vdpau.c
    • [DBH] libavcodec/vdpau.h
    • [DBH] libavcodec/vdpau_internal.h
    • [DBH] libavcodec/version.h
  • accurate cutting of video (+ audio) with ffmpeg [migrated]

    4 novembre 2012, par Pete Oakey

    I want my website to allow users to accurately create their own clips from a source video I provide.

    I have a source video file that I first want to convert to something suitable for a website :

    Input #0, matroska,webm, from &#39;source.mkv&#39;:
    Duration: 00:28:18.57, start: 0.000000, bitrate: 10183 kb/s
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 48 tbc (default)
    Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s (default)

    So I use ffmpeg to convert it like so :

    ffmpeg -i source.mkv -c:v libx264 -c:a aac -strict experimental -vf scale="960:-1" source.mp4

    Watching this video back it is good enough quality and small enough file size for my needs, and loads/plays on my website.

    So I have a webpage that lets users select a start and endpoint on this video - and create a clip. Here's an example of the ffmpeg command that I use for that :

    -ss 577.920 -i source.mp4 -t 011.980 -codec:v copy -codec:a copy -vf scale="960:-1" clip1.mp4

    The problem is the clip is not always time-accurate enough. Usually the audio is accurate enough but the video stops half a second early or something.

    Is there any way to make this accurate and in-sync to say, 0.2 of a second ?

    EDIT :
    Adding -force_key_frames 00:00:00.2 didn't help.

  • How to use delogo with ffmpeg when logo starts at y=0

    22 avril 2021, par Valentin

    I have a 1920x800 video, all content, no black bars. At the top of the frame (y=0) there is a station logo I want to remove (presumably the original capture was cropped, leaving a half of a station logo inside the usable frame). Since the logo I'm trying to remove starts at the very top of the frame and because the default band=1 option that cannot be changed anymore (the option was seemingly removed from the API), the command needs to take it into account and make y=1 :

    &#xA;

    ffmpeg -i video.mp4 -vf "delogo=x=1696:y=1:w=113:h=32:show=1" output.mp4&#xA;

    &#xA;

    but this breaks the interpolation, since that 1px on top is completely dirtying the box :&#xA;Logo with show=1 so we see the problem

    &#xA;

    Tries with y=0 fail with or without trying to specify the band width (with band=0 or the alias t=0) :

    &#xA;

    ffmpeg -i video.mp4 -vf "delogo=x=1696:y=0:w=113:h=33:band=0" output.mp4&#xA;[Parsed_delogo_0 @ 0000020528a7cf00] Option &#x27;band&#x27; not found&#xA;ffmpeg -i video.mp4 -vf "delogo=x=1696:y=0:w=113:h=33:t=0" output.mp4&#xA;[Parsed_delogo_0 @ 000002b9b87acf40] Option &#x27;t&#x27; not found&#xA;ffmpeg -i video.mp4 -vf "delogo=x=1696:y=0:w=113:h=33" output.mp4&#xA;[delogo @ 0000023d971cd000] Logo area is outside of the frame.&#xA;

    &#xA;

    Is there a solution to this ?

    &#xA;