We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › How to run external program
Page Index Toggle Pages: 1
How to run external program (Read 944 times)
How to run external program
Sep 22nd, 2009, 12:58am
 
I'm planning to use Processing as  the heart of video installation. Because Processing's capabilities with video are limited, I would like to use external video player for my dual full screen projections. Basically Processing should start the player with right track (6-8 to choose from). Arduino, which is the physical interface, will send a message which track to play.

I just can't find any clue how to trigger the player from processing. Is it possible to do? I've been thinkng to use some open source player with command line interface, propably vlc-media player.

Hope somebody has solution for this...
Re: How to run external program
Reply #1 - Sep 22nd, 2009, 3:37am
 
look at open http://processing.org/reference/open_.html
there you can start video players and use the command line feature to choose a file...
Re: How to run external program
Reply #2 - Sep 22nd, 2009, 7:29am
 
It was just too easy...  Shocked

I'm so stupid... Thank you
Page Index Toggle Pages: 1