Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (39)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (7014)

  • AVFrame to RGB - decoding artifacts

    10 janvier 2013, par Hyndrix

    I want to programmatically convert a mp4 video file (with h264 codec) to single RGB images. With the command line this looks like :

    ffmpeg -i test1080.mp4 -r 30 image-%3d.jpg

    Using this command produces a nice set of pictures. But when I try to programmatically do the same some images (probably B and P frames) look odd (e.g. have kind of distorted areas with difference information etc.). The reading and conversion code is as follow :

    AVFrame *frame = avcodec_alloc_frame();
    AVFrame *frameRGB = avcodec_alloc_frame();

    AVPacket packet;

    int buffer_size=avpicture_get_size(PIX_FMT_RGB24, m_codecCtx->width,
       m_codecCtx->height);
    uint8_t *buffer = new uint8_t[buffer_size];

    avpicture_fill((AVPicture *)frameRGB, buffer, PIX_FMT_RGB24,
       m_codecCtx->width, m_codecCtx->height);

    while (true)
    {
       // Read one packet into `packet`
       if (av_read_frame(m_formatCtx, &packet) < 0) {
           break;  // End of stream. Done decoding.
       }

       if (avcodec_decode_video(m_codecCtx, frame, &buffer_size, packet.data, packet.size) < 1) {
           break;  // Error in decoding
       }

       if (!buffer_size) {
           break;
       }

       // Convert
       img_convert((AVPicture *)frameRGB, PIX_FMT_RGB24, (AVPicture*)frame,
           m_codecCtx->pix_fmt, m_codecCtx->width, m_codecCtx->height);

       // RGB data is now available in frameRGB for further processing
    }

    How can I convert the video stream so that each final image shows all image data, so that information from B and P frames is included in all frames ?

    [EDIT :] A sample image showing the artifacts is here : http://imageshack.us/photo/my-images/201/sampleq.jpg/

    Regards,

  • how to convert image sequences to video in R ?

    15 janvier 2024, par yahya jand

    any body know how to convert some photo to video using FFMPEG ?
i use this code :

    


    ffmpeg --framerate 1 -s 1080x1620 -i pictures/%03d.jpeg -vcodec libx264 -crf 25 output.mp4


    


    i face this error :

    


    Error: unexpected numeric constant in "ffmpeg -r 1"


    


    Any body can help me ?

    


  • ffmpeg no video with supported format and mime type

    3 avril 2013, par Sam Healey

    Im using ffmpeg on centos6.

    Im trying to convert a video I have mpeg4 selected as output extension.

    When I try to view the video in firefox I get the following error - no video with supported format and mime type. If I view it in ie I just get 1 frame, it looks just like a photo, I click it to play it but nothing happens.

    What do I need to do ?