resizing movie

Anonymous
2011-04-20
2012-12-26
  • Anonymous - 2011-04-20

    Hello,
    i want to resize my video in processing in order to see it in fuul screen.
    i tried :

    image(myVideo,,0,0,screen.width,screen.height);  but then the video is very slow

    it seems that i only can reduce images without slowing video

    So i tried myMovie.resize() which desn't work at all

    is somebody can help me ?

     
  • Andres Colubri

    Andres Colubri - 2011-04-22

    I recommend combining GSVideo with GLGraphics (http://glgraphics.sourceforge.net/) to get OpenGL-accelerated drawing of the video frames. This should improve performance.

    GLGraphics includes an example that shows how to read video frames from a GSMovie object into a GLTexture. It is located in GLGraphics/examples/textures/MovieFilters.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks