Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (52)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • 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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (7244)

  • Using ffprobe/ffmpeg to extract individual frames and types in playback sequence

    24 janvier 2018, par Hélder

    I am able to extract keyframes using ffmpeg. Something like this that I have been using :

    ffmpeg -i input.mp4 -vf "select='eq(pict_type\,I)" -vsync vfr -qscale:v 2 I-thumbnails-%02d.png -vf "select='eq(pict_type\,B)" -vsync vfr -qscale:v 2 B-thumbnails-%02d.png -vf "select='eq(pict_type\,P)" -vsync vfr -qscale:v 2 P-thumbnails-%02d.png

    Now the issue is, I would like these extracted frames to be in playback sequence, if possible, the way they are extracted should have a timestamp or any way to know that they start in a certain sequence, example, from start to end :

    IBBBIPPB......BI

    but in a way that I can sort the frames in the playback sequence.

    I want to use this to load in python to extract motion vectors but they should all follow certain playback sequence. Any help ?

  • Using ffmpeg to display a static image if an RTMP input source is missing

    19 mars 2016, par iameli

    Here is what I would like ffmpeg to output :

    • If I am streaming from my iPhone to my RTMP server, ffmpeg should output the live video from my iPhone.
    • If not, ffmpeg should output a blank red screen.

    Here’s what I have so far. It sort of works.

    ffmpeg \
     -f lavfi \
     -re \
     -i 'color=s=320x240:r=30:c=red' \
     -thread_queue_size 512 \
     -i 'rtmp://localhost/stream/iphone' \
     -c:v libx264 \
     -f flv \
     -filter_complex "\
       [1:v]scale=320:240[stream]; \
       [0:v][stream]overlay=0:0:eof_action=pass[output] \
     "\
     -map '[output]' \
     -tune zerolatency \
     'rtmp://localhost/stream/output'

    What happens : it boots up and starts streaming my iPhone’s output no problem. When I disconnect, it hangs for a long time, perhaps 20 seconds. Then it starts outputting red, okay. But then if I reconnect my phone, it doesn’t resume. It’s still red. Two questions :

    • Is there a way to configure the buffering so that it starts outputting red as soon as it stops getting data from the RTMP stream ?
    • Is there a way to have it auto-retry, so after the RTMP stream returns, it will switch back ?

    Full verbose output, if that’s helpful. I’m using the latest git version of ffmpeg as of 2016-03-18 on Ubuntu Wily. The RTMP server is nginx-rtmp.

  • OpenGLES glReadPixels exc_bad_access

    29 novembre 2011, par Yanny

    I'm trying to create video from images using OpenGLES and ffmpeg, but on iPad(4.3) I have a crash on glReadPixels

    -(NSData *) glToUIImage {

       int numberOfComponents = NUMBER_OF_COMPONENTS; //4
       int width = PICTURE_WIDTH;
       int height = PICTURE_HEIGHT;

       NSInteger myDataLength = width * height * numberOfComponents;  

       NSMutableData * buffer= [NSMutableData dataWithLength :myDataLength];    

       [self checkForGLError];

       GLenum type = NUMBER_OF_COMPONENTS == 3 ? GL_RGB : GL_RGBA; //RGBA
       glReadPixels(0, 0, width, height, type, GL_UNSIGNED_BYTE, [buffer mutableBytes]);   //EXC_BAD_ACCESS here

       return buffer;
    }

    It is working on iPhone 4 (4.3) and iPod Touch, but have problems on iPhone 3G(3.0) and iPad(4.3). Can you help me with this issue ?

    Also on iPhone 3G(3.0) and iPad(4.3) I have problems with Video - first 5-20 video frames have trash. Maybe issue with optimization ? Or architecture ?