instant playback video

View previous topic View next topic Go down

instant playback video

Post  foobar8675 on Fri Jul 17, 2009 12:10 pm

I wanted to know if it's possible to create a video for instant playback and then save that as a video file , either on disk or to upload/email somewhere.

I can get screenshots of an opengl view and was thinking I could turn those screenshots into an animated movie and add an audio track. If someone can point me in the right direction, or shoot me down if it's impossible unless you have a phd, I'd appreciate it.

foobar8675

Posts : 16
Join date : 2009-05-07

View user profile

Back to top Go down

Re: instant playback video

Post  sio2interactive on Fri Jul 17, 2009 3:43 pm

Yes its possible but its going to be extremely slow... you can use Theora to compress the movie (the api are embedded in SIO2)... save all the frame use readpixel and number them like 001, 002 etc... and save them on disk as JPEG or PNG (once again the API are embedded in SIO2) then compress your movie from the frame sequence.

Performance will suck and you would hardly get 15fps but it will work Wink

Good luck!

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

theora codec

Post  foobar8675 on Wed Jul 29, 2009 12:34 pm

Hello Mr SIO2,

I'm finally back to looking at this project. The theora library looks like it only supports the theora codec which does not play on the iphone as far as I can tell. I must be missing something - please let me know what your thoughts are.

foobar8675

Posts : 16
Join date : 2009-05-07

View user profile

Back to top Go down

Re: instant playback video

Post  sio2interactive on Wed Jul 29, 2009 1:42 pm

My thoughts are that you should check tutorial07 and the source of iZenGarden...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: instant playback video

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum