Recherche avancée

Médias (91)

Autres articles (12)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

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

Sur d’autres sites (3161)

  • FFMPEG overlay dark frame

    21 septembre 2016, par Pavel Chursin

    I have problem with FFMPEG overlaying. It adds black frame around objects with transparent border.
    For example, take the yellow rectangle 100x100. Then generates video from it :

    ./ffmpeg -loop 1 -i yellow.png -t 5 -vcodec qtrle yellow.mov

    Then take a transparent PNG 100x100, within the green rectangle inside 75x75.

    Overlay it on the first video :

    ./ffmpeg -i yellow.mov -i green.png -filter_complex 'overlay' -vcodec qtrle yg.mov

    In the final video green rectangle has got dark frame.

    Result

    How can I remove this frame ?

    EXAMPLE

  • FFmpeg programming : exr image too dark [on hold]

    2 juillet 2017, par Francis Tesla

    Using the fantastic FFmpeg library to load images all exr files appears dark.
    I am almost sure that’s involve converting the resulting AVFrame or AVPicture from linear to sRGB but I don’t know how to do it.

    Here is how the EXR file is loaded into an AVPicture :

    AVFrame *frame = av_frame_alloc();
    avcodec_decode_video2(codecCtx, frame, &frameFinished, &packet);

    ...

    AVPicture       picture;
    avpicture_alloc(&picture, dest_format, dest_width, dest_height);

    SwsContext *swsCtx = NULL;

    swsCtx = sws_getContext(source_width, source_height, source_format, dest_width, dest_height, dest_format, SWS_POINT, NULL, NULL, NULL);

    if (swsCtx == NULL) {
       qDebug() << "error calling sws_getContext";
    }

    sws_scale(swsCtx, frame->data, frame->linesize, 0, frame->height, picture.data, picture.linesize);

    QImage image(dest_width, dest_height, QImage::Format_ARGB32);

    for (int y = 0; y < dest_height; ++y) {
       memcpy(image.scanLine(y), picture.data[0] + y * picture.linesize[0], picture.linesize[0]);
    }

    av_frame_free(&frame);
    sws_freeContext(swsCtx);

    Regards,

    Francis

  • Why does ffmpeg have bigger latency on dark images ?

    19 novembre 2017, par doodoroma

    I have a c# application to stream real camera images using ffmpeg. The input images are in raw, 8-bit gray-scale format. I created an ffmpeg stream using the standard input to feed the images and send the output packages to websocket clients.

    I start an external ffmpeg process using this config :

    -f rawvideo -pixel_format gray -video_size " + camera.Width.ToString() + "x" + camera.Height.ToString() + " -framerate 25 -i - -f mpeg1video -b:v 512k -s 320x240 -

    Typical image size is 1040*1392 pixels

    I display the stream on the browser, using jsmpeg library

    This works with a reasonable latency ( 500ms on localhost), but when the camera image is really dark (black image), the latency is extremely big ( 2-3 seconds on localhost). When there is something bright on the image again after a black period, it takes 2-3 seconds to "synchronize".

    I was thinking that black images are really easy to compress and will generate really small packages, jsmpeg has almost no information to display and wait until a complete data package arrives, but I couldn’t prove my theory.

    I played with ffmpeg parameters like bitrate and fps but nothing has changed.

    Is there any settings which I could try ?