Recherche avancée

Médias (91)

Autres articles (95)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (4701)

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

  • ffmpeg : add hyperlink to video ?

    15 mars 2012, par Simon

    i am experiment with ffmpeg, making videos from more images and adding watermark, some effect etc.

    What I am interested : Is it possible to embed HYPERLINK into video using ffmpeg ?

    For example, watermark or something else to be 'clickable' and to redirect to some www location ?

  • Android NDK - FFMpeg, correct video seeking

    15 mars 2012, par sherman

    I want change the seek frame while playing video. I do :

    void Java_ffvideolivewallpaper_frankandrobot_com_NativeCalls_seekFrame(
    JNIEnv *env, jobject this, jint time)

    if (av_seek_frame(pFormatCtx, videoStream, time, AVSEEK_FLAG_ANY) < 0)
       __android_log_print(ANDROID_LOG_DEBUG, "ERROR SEEK!!!->>>",
               "av_seek_frame failed.");

    Video is displayed incorrectly. How do this correctly ?