Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (48)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (8410)

  • mkv : Allow flushing the current cluster in progress

    19 août 2013, par Martin Storsjö
    mkv : Allow flushing the current cluster in progress
    

    Allow emitting the current cluster that is being written before
    starting a new one, simplifying how to figure out where clusters
    are positioned in the output stream (for live streaming).

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] libavformat/matroskaenc.c
    • [DBH] libavformat/version.h
  • hls : Report the current media sequence

    29 avril 2014, par Luca Barbato
    hls : Report the current media sequence
    

    Useful for debugging mostly.

    • [DH] libavformat/hlsenc.c
  • How to get current frame number using ffmpeg c++

    25 février 2014, par John Simpson

    Usually, I use the below code to get the current frame number when decoding a video.

    while(av_read_frame(pFormatCtx, &amp;packet)>=0) {
       if(packet.stream_index==videoStream) {
         // Decode video frame
         avcodec_decode_video2(pCodecCtx, pFrame, &amp;frameFinished, &amp;packet);

         // Did we get a video frame?
         if(frameFinished) {
       int currentFrameNumber = pFrame->coded_picture_number;
       }
       /* Free the packet that was allocated by av_read_frame*/
       av_free_packet(&amp;packet);
     }

    Then, when I implemented seeking feature, I add av_seek_frame to seek to a desired position like this :

    if(av_seek_frame(pFormatCtx, -1, seekTarget, 0 )&lt;0){
            LOG("log","error when seeking");
    }
    while(av_read_frame(pFormatCtx, &amp;packet)>=0) {
           if(packet.stream_index==videoStream) {
             // Decode video frame
             avcodec_decode_video2(pCodecCtx, pFrame, &amp;frameFinished, &amp;packet);

             // Did we get a video frame?
             if(frameFinished) {
           int currentFrameNumber = pFrame->coded_picture_number;
           }
           /* Free the packet that was allocated by av_read_frame*/
           av_free_packet(&amp;packet);
    }

    This is when the problem arises. pFrame->coded_picture_number returns incorrect value.
    My question is how I cam get the current frame given I have a decoded frame pFrame ?