Results 1 to 5 of 5

Thread: Output openGL rendered sequence to movie

  1. #1
    Junior Member Newbie
    Join Date
    May 2009
    Posts
    5

    Output openGL rendered sequence to movie


    I am looking for a way to export a rendering sequence in openGL to a movie. It seems like there must be libraries to do this but the only one I came across was:

    http://www.codeproject.com/KB/directx/Si...;select=2568564

    Seems as if it will only work on a windows system (true?). I need a library that can be compiled to work on Unix or Linux, but preferrably one that is somewhat portable between the two.

  2. #2
    Senior Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Los Angeles
    Posts
    374

    Re: Output openGL rendered sequence to movie

    Do you have to go directly to a movie? Is it acceptable to output a sequence of images to a directory, then use something like moviemaker or Quicktime Pro to make the movie? I do this all the time. I use either Quicktime Pro, ImageReady, or Premier Pro to make the movie from the image files.
    Am I doing your homework for you?

  3. #3
    Junior Member Newbie
    Join Date
    May 2009
    Posts
    5

    Re: Output openGL rendered sequence to movie

    This could be acceptable, It would certainly be nicer to have the option to do either but doing what you suggest is certainly a good start! How do you do it?

    Thanks
    V

  4. #4
    Junior Member Newbie
    Join Date
    May 2009
    Posts
    5

    Re: Output openGL rendered sequence to movie

    maybe it's even better from the perspective of portability....

  5. #5
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Output openGL rendered sequence to movie

    glReadPixels the frame before swapbuffers, then write it to disk as an image. For the second part either do your output by "hand" or use image library for .png output.

Similar Threads

  1. How to render a sequence into movie?
    By sguTiger in forum OpenGL: Windows
    Replies: 2
    Last Post: 10-27-2009, 08:59 AM
  2. Capturing OpenGL Output to Movie
    By cpsmusic in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 05-01-2008, 12:59 PM
  3. Movie using opengl
    By glcrazy in forum OpenGL: Basic Coding
    Replies: 10
    Last Post: 02-12-2004, 05:03 AM
  4. Movie in OpenGL
    By Binqay in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 05-18-2001, 07:26 AM
  5. Replies: 1
    Last Post: 03-02-2000, 04:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean