Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (94)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6184)

  • Get RGB values from AVPicture and change to grey-scale in FFMPEG

    22 octobre 2014, par user2742299

    The main motive of my code is to change the RGB values from the AVPicture in FFMPEG.

    I have been able to get the image data "data[0]" by following the article : http://blog.tomaka17.com/2012/03/libavcodeclibavformat-tutorial/

    I would like to know that how can I access the 3 bytes of pic.data[0] which is in RGB format. I have been trying to access the pic.data[i][j] via for-loop in 2D matrix fashion but jth element>3.

    Any guidance in this regard will be helpful.

    Code is here :

    AVPicture pic;
           avpicture_alloc(&pic, PIX_FMT_RGB24, mpAVFrameInput->width,mpAVFrameInput->height);
           auto ctxt = sws_getContext(mpAVFrameInput->width,mpAVFrameInput->height,static_cast<pixelformat>(mpAVFrameInput->format),
               mpAVFrameInput->width, mpAVFrameInput->height, PIX_FMT_RGB24, SWS_BILINEAR, nullptr, nullptr, nullptr);

           if (ctxt == nullptr)
               throw std::runtime_error("Error while calling sws_getContext");
           sws_scale(ctxt, mpAVFrameInput->data, mpAVFrameInput->linesize, 0, mpAVFrameInput->height, pic.data,
               pic.linesize);


       for (int i = 0; i &lt; (mpAVFrameInput->height-1); i++) {

           for (int j = 0;  j &lt; (mpAVFrameInput->width-1); j++) {
           printf("\n value: %d",pic.data[0][j]);

           }

       }
    </pixelformat>

    Pseudo code which is in my mind is :

    For each pixel in image {
    Red = pic.data[i][j].pixel.RED;
    Green = pic.data[i][j].pixel.GREEN;
    Blue = pic.data[i][j].pixel.BLUE;
    GRAY = (Red+Green+Blue)/3;
    Red = GRAY;
    Green = GRAY;
    Blue = GRAY;
    Save Frame;}

    I am quite new to FFMPEG therefore any guidance and help will be highly appreciable.

    Many Thanks

  • add video stream to video file using FFmpeg

    9 septembre 2013, par petre

    I am recording avi stream from webcam by using code below :

    ffmpeg -f video4linux2 -i /dev/video0 -c:v libx264 -r 5 -s 320x240 -vf format=gray -y /home/aydu/Desktop/SEC_REC/ffmpeg/cam0.avi -r 0.5 -vf format=gray -f image2 -updatefirst 1 /home/aydu/Desktop/SEC_REC/ffmpeg/image.jpeg

    What i want is to add new stream if cam0.avi exists. Now, my code is overwriting cam0.avi.

  • fate/prores : use aac fixed for audio to fix fate failures on arm

    3 juin 2016, par Michael Niedermayer
    fate/prores : use aac fixed for audio to fix fate failures on arm
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] tests/fate/prores.mak
    • [DH] tests/ref/fate/prores-gray