Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (76)

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

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

  • How to play multiple video on top of each other with ffmpeg c programming

    13 septembre 2016, par Tom Goldberg

    I’m trying to develop a code which can plays multiple videos simultaneously with ffmpeg.
    I need to play a video on a 2x2 matrix background and another video in the top left corner of it.
    Problem : The top left corner video is flicking and not stable enough.
    top-left video is flicking while playing
    code :

    SDL_Surface *screen = SDL_SetVideoMode(640, 480, 24, 0);
    void video_display(VideoState *is) {
     SDL_Rect rect;
     VideoPicture *vp;
     int w, h, x, y;
     h = screen->h;
     w = ((int)rint(h * aspect_ratio)) ;
     if(w > screen->w) {
       w = screen->w;
       h = ((int)rint(w / aspect_ratio)) ;
     }

     rect.x = (screen->w - w) / 2;
     rect.y = (screen->h - h) / 2;

     if(  is->video_id == 0 ){
        rect.w = w;
        rect.h = h;
        SDL_DisplayYUVOverlay(vp->bmp, &rect); // i think the problem is over here
     }
     else if( is->video_id == 1 ){
        rect.w = w/2;
        rect.h = h/2;
        SDL_DisplayYUVOverlay(vp->bmp, &rect);
     }  

    When i choose 0/1, i move between audio only.
    My question is : What should i code in order to make the top-left video stable to view ?

  • How to play a part of the MP4 video stream ?

    14 novembre 2014, par AgentFire

    I have a URL (<ip>/ipcam/mpeg4.cgi</ip>) which points to my IP camera which is connected via Ethernet.
    Accessing the URL resuls in a infinite stream of video (possibly with audio) data.

    I would like to store this data into a video file and play it later with a video player (HTML5’s video tag is preferred as the player).

    However, a straightforward approach, which is simple saving the stream data into .mp4 file, didn’t work.

    I have looked into the file and here is what I saw (click to enlarge) :

    It turned out, there are some HTML headers, which I further on manually excluded using the binary editing tool, and yet no player could play the rest of the file.

    The HTML headers are :

    --myboundary
    Content-Type: image/mpeg4
    Content-Length: 76241
    X-Status: 0
    X-Tag: 1693923
    X-Flags: 0
    X-Alarm: 0
    X-Frametype: I
    X-Framerate: 30
    X-Resolution: 1920*1080
    X-Audio: 1
    X-Time: 2000-02-03 02:46:31
    alarm: 0000

    My question is pretty clear now, and I would like any help or suggestion. I suspect, I have to manually create some MP4 headers myself based on those values above, however, I fail to understand format descriptions such as these.

    I have the following video stream settings on my IP camera (click to enlarge) :

    I could also use the ffmpeg tool, but no matter how I try and mix the arguments to the program, it keeps telling me this error :

  • Firefox doesn't play mp4 file in HTML5 video

    21 janvier 2016, par Developer

    I recorded a video with my mobile which had the format ".mp4". Now if I load that video in HTML5 video tag, I get an error HTTP "Content-Type" of "video/3gpp" is not supported. Why does Firefox consider the file as 3gpp although it is an mp4 file ?
    If I log the file properties when it is loaded on to browser, I see the following

    { name: "test.mp4", lastModified: 1434536249000, lastModifiedDate: Date 2015-06-17T10:17:29.000Z, size: 41151959, type: "video/mp4" }

    This means firefox identifies the type as mp4 only. But doesn’t play it giving the error HTTP "Content-Type" of "video/3gpp" is not supported.