Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (84)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8029)

  • mpjpeg : video streaming will no longer break and stop on Firefox

    10 mars 2012, par Zalewa PL

    mpjpeg : video streaming will no longer break and stop on Firefox

  • FFMpeg video clipping

    8 mars 2012, par integra753

    I would like to use the ffmpeg apis (not the command line) for clipping videos to a specific size (e.g say 1hr video, create a new video starting at 10 minutes and ending at 30 minutes). Are there any examples of doing this out there ?

    I have used the apis to stream and record video so I have a bit of background knowledge.

    Thanks.

  • How to encode video using ffmpeg-java on Android from Bitmaps ?

    15 décembre 2011, par gtcompscientist

    I am using ffmpeg-java compiled for Android to encode/decode video for my application.

    The problem that I've run into is that I am currently getting each frame as a Bitmap (just a plain android.graphics.Bitmap) and I can't figure out how to stuff that into the encoder.

    Here is the code that I am using to instantiate all the ffmpeg libraries :

       AVCodecLibrary cLibrary = AVCodecLibrary.INSTANCE;
       cLibrary.avcodec_register_all();
       cLibrary.avcodec_init();

       AVFormatLibrary fLibrary = AVFormatLibrary.INSTANCE;
       fLibrary.av_register_all();

       //AVUtilLibrary uLibrary = AVUtilLibrary.INSTANCE;
       //uLibrary.av_malloc();

       AVCodec pCodec = cLibrary.avcodec_find_encoder(AVCodecLibrary.CODEC_ID_H263);
       if (pCodec == null)
       {
           Logging.Log("Unable to find codec.");
           return;
       }
       Logging.Log("Found codec.");


       AVCodecContext codecCtx = cLibrary.avcodec_alloc_context();
       codecCtx.bit_rate = 64000;
       codecCtx.coded_width = VIDEO_WIDTH;
       codecCtx.coded_height = VIDEO_HEIGHT;
       codecCtx.time_base = new AVRational(1, VIDEO_FPS);
       codecCtx.pix_fmt = AVCodecLibrary.PIX_FMT_YUV420P;
       codecCtx.codec_id = AVCodecLibrary.CODEC_ID_H263;
       //codecCtx.codec_type = AVMEDIA_TYPE_VIDEO;

       if (cLibrary.avcodec_open(codecCtx, pCodec) < 0)
       {
           Logging.Log("Unable to open codec.");
           return;
       }
       Logging.Log("Codec opened.");

    This is what I want to be able to execute next :

    cLibrary.avcodec_encode_video(codecCtx, pPointer, pFrame.size(), pFrame);

    But, as of now, I don't know how to put the Bitmap into the right piece or if I have that setup correctly.

    A few notes about the code :
    - VIDEO_WIDTH = 352
    - VIDEO_HEIGHT = 288
    - VIDEO_FPS = 30 ;
    - I'm unsure about how pPointer and pFrame are handled.