Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (6967)

  • avutil/hwcontext_vulkan : Improve type-safety

    14 septembre 2023, par Andreas Rheinhardt
    avutil/hwcontext_vulkan : Improve type-safety
    

    The AVBuffer API uses uint8_t as base type for buffers
    and therefore its free callbacks need to abide by this.
    Therefore vulkan_frame_free() used an inappropriate signature
    which caused casts whenever this function has been called
    manually.

    This commit changes this by making vulkan_frame_free()
    use the proper type and a vulkan_frame_free_cb() that
    is used as free callback for the AVBuffer API.

    Reviewed-by : Lynne <dev@lynne.ee>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavutil/hwcontext_vulkan.c
  • Identification of Frame Type using Xuggle

    1er décembre 2012, par Samveen

    I'm trying to extract just the I-Frames from a video using the Xuggle API. I took the first example from the Xuggle source from here and removing the display code, added the following code snippet to identify the frame type of the current frame :

    //    Decode loop {
             if (picture.isComplete()) {
                 com.xuggle.xuggler.IVideoPicture.PictType type = picture.getPictureType()
                 if(type == com.xuggle.xuggler.IVideoPicture.PictType.I_TYPE)
                     System.out.println("(I-Frame)\n");
                 else if(type == com.xuggle.xuggler.IVideoPicture.PictType.B_TYPE)
                     System.out.println("(B-Frame)\n");
                 else if(type == com.xuggle.xuggler.IVideoPicture.PictType.P_TYPE)
                     System.out.println("(P-Frame)\n");
                 else if(type == com.xuggle.xuggler.IVideoPicture.PictType.S_TYPE)
                     System.out.println("(S-Frame)\n");
                 else if(type ==com.xuggle.xuggler.IVideoPicture.PictType.DEFAULT_TYPE)
                     System.out.println("(Default)\n");
                 else
                     System.out.println("(Other)\n");
             }
    //    }

    Using this code, I never get an I-Frame in my test video, which by definition of being it being a video is impossible (every video's first frame MUST be an I-Frame) and every frame is identified as

    When I use mplayer to extract the I-Frames from the same video using :

    mplayer video20.mp4 -benchmark -nosound -noaspect -noframedrop -ao null \
           -vo png:z=6 -vf framestep=I

    I correctly get a set of I-Frames.

    The number of frames displayed by my code is identical to that extracted by mplayer without the framestep filter

    mplayer video20.mp4 -benchmark -nosound -noaspect -noframedrop -ao null \
           -vo png:z=6

    The input video in question is an H264 encoded video.

    My question is that what can I do to correctly get the I-Frames from the video using xuggle

    I picked up the method from Java - Keyframe extraction from a video

  • ffmpeg frame type inside name of output

    29 juillet 2017, par Adminy

    With this command I can split video to individual h265 frames.

    ffmpeg -i input.h265 -c:v libx265 -f image2 output/%d.h265

    How can I make "output name" to contain frame "type" ?

    Like %d_%frame_type.h265