Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (89)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • 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 (11147)

  • vdpau : add AV_HWACCEL_FLAG_IGNORE_LEVEL to skip the codec level check

    14 octobre 2014, par Rémi Denis-Courmont
    vdpau : add AV_HWACCEL_FLAG_IGNORE_LEVEL to skip the codec level check
    

    Decoding acceleration may work even if the codec level is higher than
    the stated limit of the VDPAU driver. Or the problem may be considered
    acceptable by the user. This flag allows skipping the codec level
    capability checks and proceed with decoding.

    Applications should obviously not set this flag by default, but only if
    the user explicitly requested this behavior (and presumably knows how
    to turn it back off if it fails).

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

    • [DBH] doc/APIchanges
    • [DBH] libavcodec/avcodec.h
    • [DBH] libavcodec/vdpau.c
    • [DBH] libavcodec/vdpau.h
    • [DBH] libavcodec/vdpau_internal.h
    • [DBH] libavcodec/version.h
  • FFmpeg API example (encode_video.c) does not work correctly

    30 janvier 2023, par NewbieCoder

    I am using the official encode_video.c example to test if FFmpeg works correctly for me. &#xA;I got the pre-built windows edition from ffmpeg.zeranoe.com/builds. It is built already with libx264 and other external libraries. I got both dev and shared editions and added the DLLs, header files and libs accordingly in Visual Studio.

    &#xA;&#xA;

    Now the encode_video.c example does not work correctly.

    &#xA;&#xA;

    &#xA;&#xA;

    What I tried :

    &#xA;&#xA;

    I compiled the example and run it on many different file formats and codecs such as the following.

    &#xA;&#xA;

    First I tried all of these file formats (.mp4, .m4v, .h264, .x264, .avi, .flv) with codec name as libx264. The code executed without errors but the output video file did not play in VLC or Windows 10 default player.

    &#xA;&#xA;

    Next, I tried all of those above file formats but with codec name as mpeg4. The code executed without errors but the output video file played only for .m4v in VLC.

    &#xA;&#xA;

    &#xA;&#xA;

    What is expected :

    &#xA;&#xA;

    All of those combinations should have produced a video file which could be played in VLC. None of them worked except for .m4v as file format and mpeg4 as codec name.

    &#xA;&#xA;

    &#xA;&#xA;

    Please tell me how to make this work for h264. I mainly want it to work for h264 as that is only important for now.

    &#xA;&#xA;

    I am running the code like ./encode_video.exe test.mp4 libx264 where first argument is output filename and second argument is codec name.

    &#xA;&#xA;

    This is the output for test.mp4 and libx264 as command line arguments https://imgur.com/a/AHLQwuK

    &#xA;&#xA;

    It seems that in the encode function, it goes over the below code and returns because of AVERROR(EAGAIN) or AVERROR_EOF. Please tell me what is happening.

    &#xA;&#xA;

    while (ret >= 0) {&#xA;        ret = avcodec_receive_packet(enc_ctx, pkt);&#xA;        if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)&#xA;            return;&#xA;        else if (ret &lt; 0) {&#xA;            fprintf(stderr, "Error during encoding\n");&#xA;            exit(1);&#xA;        }&#xA;&#xA;        printf("Write packet %3"PRId64" (size=%5d)\n", pkt->pts, pkt->size);&#xA;        fwrite(pkt->data, 1, pkt->size, outfile);&#xA;        av_packet_unref(pkt);&#xA;    }&#xA;

    &#xA;&#xA;

    I used DepenciesGUI to find out the DLLs linked and it shows that the DLLs are correctly linked. Please help me figure out what the problem is now !!

    &#xA;

  • avcodec/proresenc_aw : use for frame flag in the header the same value than the offic...

    8 octobre 2018, par Martin Vignali
    avcodec/proresenc_aw : use for frame flag in the header the same value than the official encoder
    
    • [DH] libavcodec/proresenc_anatoliy.c
    • [DH] tests/ref/vsynth/vsynth1-prores
    • [DH] tests/ref/vsynth/vsynth2-prores
    • [DH] tests/ref/vsynth/vsynth3-prores
    • [DH] tests/ref/vsynth/vsynth_lena-prores