Recherche avancée

Médias (91)

Autres articles (54)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

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

  • aacdec : Don’t fall back to the old output configuration when no old configuration...

    7 août 2012, par Alex Converse

    aacdec : Don’t fall back to the old output configuration when no old configuration...

  • Removed client singleton pattern.

    9 janvier 2014, par JamesMGreene
    Removed client singleton pattern.
    

    Deprecated lots of functions related to the v2.x API ; details in Issue #289.

    Fixes #90.

  • ffmpeg/h265/opencv/c++ A method to resize frame after decoding on client side

    18 janvier 2018, par 8793

    I’ve just joined a project to build a realtime video streaming application using ffmpeg/opencv/c++ via udp socket. On server side, they want to transmit a video size (640x480) to client, in order to reduce data transmission through network I resize the video to (320x240) and send frame. On client side (client), after receiving frame, we will upscale the frame back to (640x480). Using H265 for encode/decoding.

    As I am just a beginner with video encoding, I would like to understand how to down-sampling & up-sampling the frame at server & client side in which we can incorporate with the video encoder/decoder.

    A simple idea came into my mind that after decoding avframe -> Mat frame, I will upsampling this frame then display it.

    I am not sure my idea is right or wrong. I would like to seek advice from any people who had experience in this area. Thank you very much !

    static void updateFrameCallback(AVFrame *avframe, void* userdata) {
       VideoStreamUDPClient* streamer = static_cast (userdata);
       TinyClient* client = static_cast (streamer->userdata);

       //Update Frame
       pthread_mutex_lock(&client->mtx_updateFrame);
       if (streamer->irect.width == client->frameSize.width
               && streamer->irect.height == client->frameSize.height) {
           cvtAVFrameYUV4202Frame(&avframe, client->frame);
           printf("TinyClient: Received Full Frame\n");
       } else {
           Mat block;
           cvtAVFrameYUV4202Frame(&avframe, block);
           block.copyTo(client->frame(streamer->irect));
       }

       //How to resize frame before display it!!!

       imshow("Frame", client->frame);
       waitKey(1);
       pthread_mutex_unlock(&client->mtx_updateFrame);
    }