Recherche avancée

Médias (1)

Mot : - Tags -/graphisme

Autres articles (68)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (2850)

  • How to display frames of a video using ffmpeg

    14 avril 2014, par mSO

    I am trying to create a simple app which shoots a video and gives user an option to clip it or remove some parts from it and then merge it.

    So tasks include

    a) Displays clips of video in say 10 sec duration each
    b) Display Frame in each clip
    c) Merging of clips

    Can anyone let me know how is this possible using ffmpeg

  • FFMPEG Can't Display The Duration Of a Video

    27 juillet 2015, par Malkavian

    I’m trying to use ffmpeg to capture frames from a video file, but I can’t even get the duration of a video. everytime when I try to access it with pFormatCtx->duration I’m getting 0. I know the pointer initialized and contains the correct duration because if I use av_dump_format(pFormatCtx, 0, videoName, 0); then I actually get the duration data along with other information about the video.
    This is what I get when I use av_dump_format(pFormatCtx, 0, videoName, 0); :

    Input #0, avi, from ’futurama.avi’ :

    Duration : 00:21:36.28, start : 0.000000, bitrate : 1135 kb/s

    Stream #0.0 : Video : mpeg4 (Advanced Simple Profile), yuv420p, 512x384

    [PAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc

    Stream #0.1 : Audio : ac3, 48000 Hz, stereo, s16, 192 kb/s

    I don’t understand why av_dum_format can display duration and I can’t. I checked the function definition, to display the duration, the function also uses pFormatCtx->duration. It’s not just the duration other member variables also don’t display the proper data when I call them in main.cpp

    Here’s my main.cpp :

    extern "C" {
       #include<libavcodec></libavcodec>avcodec.h>
       #include<libavformat></libavformat>avformat.h>
       #include<libswscale></libswscale>swscale.h>
    }


    int main(int argc, char *argv[]) {
       AVFormatContext *pFormatCtx = NULL;

       const char videoName[] = "futurama.avi";

       // Register all formats and codecs.
       av_register_all();
       cout &lt;&lt; "Opening the video file";
       // Open video file
       int ret = avformat_open_input(&amp;pFormatCtx, videoName, NULL, NULL) != 0;
       if (ret != 0) {
           cout &lt;&lt; "Couldn't open the video file." &lt;&lt; ret ;
           return -1;
       }
       if(avformat_find_stream_info(pFormatCtx, 0) &lt; 0) {
           cout &lt;&lt; "problem with stream info";
           return -1;
       }

       av_dump_format(pFormatCtx, 0, videoName, 0);
       cout &lt;&lt; pFormatCtx->bit_rate &lt;&lt; endl; // different value each time, not initialized properly.
       cout &lt;&lt; pFormatCtx->duration &lt;&lt; endl; // 0
       return 0;
    }

    I don’t know if it helps but, I use QtCreator on Ubuntu and linked the libraries statically.

    Thank you for your help.

  • Display video data over SDL.

    12 mars 2014, par user3350177

    I'm trying to display decoded h264 video data on screen. I'm decoding file using HW acceleration with libstagefright. How can display that videoData using SDL ???