New topic in General: 

Create editable movie in memory?

Martin Baker - Mon Mar 31, 2008 9:04 am

<http://forums.realsoftware.com/viewtopic.php?t=21554>
                                                                                
                                                                                
I think the answer is probably no to this question but it's worth a try.

I'm creating a movie by drawing hundreds of separate frames, but I'm wondering 
if I can get better performance by creating the movie in memory and then saving 
out in one hit rather than each frame being added to the file individually. The 
movie size will always be <10MB so it's not a problem with the memory required.

If I do the following code it fails on the last line with t as nil

Code:
m = new EditableMovie
t = m.NewVideoTrack(1024, 576, 2500, 100)
t.CompressionType="rle "



thanks                                  
                                                                                
                                                                                
                                                                                
                                                                                
                                        




-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to