Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (89)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

Sur d’autres sites (13814)

  • how I could encode fast video rgb planar format ?

    6 septembre 2018, par speedy

    I compile a command and use this command for encode and then speed up the video

    g++ -Wall -o main lena2.cpp  -lpng -lz -lX11 -lpthread -fopenmp -std=c++11  ;./main | ffmpeg -y -f rawvideo -pixel_format gbrp -video_size 1024x768 -i - -c:v h264 -pix_fmt yuv420p video.mov

    ffmpeg -y  -i video.mov -filter:v "setpts=PTS/8"  fastvideo.mov;  

    this is the code that i compile

    #include <iostream>
    #include "CImg.h"

    using namespace std;
    using namespace cimg_library;

    int main()
    {
      const unsigned int width=1024;
      const unsigned int height=768;

      // Basic frame we will draw in
      CImg<unsigned char="char"> image(width,height,1,3);

      unsigned char magenta[] = {255,0,255};

      // We are going to output 300 frames of 1024x768 RGB raw video
      // ... making a 10s long video at 30fps
      int radius=100;
      int cx=100;
      int cy=100;
      for(int frame=0;frame&lt;300;frame++){
         // Start with black - it shows fewer stains ;-)
         image.fill(0);
         image.draw_circle(cx,cy,radius,magenta);

         // Move and re-colour circle
         cx+=2; cy++; if(magenta[1]!=255){magenta[1]++;}

         // Output to ffmpeg to make video, in planar GBR format
         // i.e. run program like this
         // ./main | ffmpeg -y -f rawvideo -pixel_format gbrp -video_size 1024x768 -i - -c:v h264 -pix_fmt yuv420p video.mov
         char* s=reinterpret_cast(image.data()+(width*height));   // Get start of G plane
         std::cout.write(s,width*height);                                // Output it
         s=reinterpret_cast(image.data()+2*(width*height));       // Get start of B plane
         std::cout.write(s,width*height);                                // Output it
         s=reinterpret_cast(image.data());                        // Get start of R plane
         std::cout.write(s,width*height);                                // Output it
      }
    }
    </unsigned></iostream>

    but the rgb to video conversion take more of 20 minutes for 45000 frames

    How I could generate video.mov faster

    please help me

  • avcodec/dpx : Check elements in 12bps planar path

    27 juin 2018, par Michael Niedermayer
    avcodec/dpx : Check elements in 12bps planar path
    

    Fixes : null pointer dereference
    Fixes : 8946/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DPX_fuzzer-5078915222601728

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Reviewed-by : Carl Eugen Hoyos <ceffmpeg@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/dpx.c
  • swscale : Introduce a helper to identify semi-planar formats

    2 mars 2018, par Philip Langdale
    swscale : Introduce a helper to identify semi-planar formats
    

    This cleans up the ever-more-unreadable list of semi-planar
    exclusions for selecting the planar copy wrapper.

    • [DH] libswscale/swscale_internal.h
    • [DH] libswscale/swscale_unscaled.c