Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 movie codecs
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Blade




PostPosted: Fri Apr 11, 2003 6:33 pm   Post subject: movie codecs

is there a way we can integrate movies into turing... and i dont mean using Sys.Exec
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Fri Apr 11, 2003 6:37 pm   Post subject: (No subject)

unfortunatly no...

unless you'll write your own. If you store the movie in low size images it will take up as much space as uncompresed avi file. Might be slow on the load time though.

you name all your files using numbers 1 to whatever and store them in the array, clearing them out of memory after showing so that you dont have the whole movie in memory.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Asok




PostPosted: Fri Apr 11, 2003 7:28 pm   Post subject: (No subject)

think essentially a slide show, you're rapidly viewing each frame then discarding it once it's viewed.
nate




PostPosted: Fri Apr 11, 2003 8:46 pm   Post subject: Try This

THIS SHOULD PLAY A MOVIE BUT I WON'T BE ON THE SAME WINDOW OF YOUR TURING PROGRAM BUT IT STIll PLAYS A MOVIE!

code:

% The "ShowMovie" program.
if not Sys.Exec ("skate.avi") then
    % The call failed!
    put "Sys.Exec failed with message: ", Error.LastMsg
else
    put "Sys.Exec successful.  Movie should now be showing..."
end if


Hope it helps
-Nate
-------------------------------------------------------------------------------------
DONATING BITS WILL HELP MY NAME BE COOLER[/u][/code]
Tony




PostPosted: Fri Apr 11, 2003 9:11 pm   Post subject: (No subject)

well the original post DID say
Quote:
not Sys.Exec


but yes, when it comes to Turing, if its not covered in their help file or here on the board, you have to code it by yourself... Then you could share it with us Very Happy
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: