Opening a movie in Quicktime Player with a macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Opening a movie in Quicktime Player with a macro

arnim.jenett
Hi All,
is there a way to open movies with the quicktime player using a macro?
When I do this manually (File>Import>QuickTime Player ...) I get nothing in the Recorder window unless I close the quicktime window. And than it just records run("QuickTime Player...");. no path to the movie which was opened.
If I call that from a macro, I just get an 'Open File...'-Dialog at which stands at the last position I opened a movie from. That doesn't help me too much.
How do I make the quicktime player open a certain file from a certain position?
Thanks,
aRnim
Reply | Threaded
Open this post in threaded view
|

Re: Opening a movie in Quicktime Player with a macro

dscho
Hi ho,

On Sun, 5 Aug 2007, aRnim wrote:

> is there a way to open movies with the quicktime player using a macro?
> When I do this manually (File>Import>QuickTime Player ...) I get nothing in
> the Recorder window unless I close the quicktime window. And than it just
> records run("QuickTime Player...");. no path to the movie which was opened.
> If I call that from a macro, I just get an 'Open File...'-Dialog at which
> stands at the last position I opened a movie from. That doesn't help me too
> much.

As far as I can tell from reading the source of the plugins I have here
(QuickTime_Plugins.jar), you should be able to specify the file name with

        run("QuickTime Player...", "open=[/path/to/movie.mov]");

I cannot test, unfortunately, because QuickTime does not run on my setup.

> How do I make the quicktime player open a certain file from a certain
> position?

Hmm. As far as I know, there is no such option.

Hth,
Dscho
Reply | Threaded
Open this post in threaded view
|

Re: Opening a movie in Quicktime Player with a macro

Wayne Rasband
In reply to this post by arnim.jenett
There is a new version of the QuickTime Movie Player plugin at

     http://rsb.info.nih.gov/ij/plugins/movie-player.htm

that works with the command recorder. The previous version did not  
because it opened the file using QuickTime instead of with ImageJ's  
OpenDialog class.

-wayne


On Aug 5, 2007, at 4:25 PM, aRnim wrote:

> Hi All,
> is there a way to open movies with the quicktime player using a macro?
> When I do this manually (File>Import>QuickTime Player ...) I get  
> nothing in
> the Recorder window unless I close the quicktime window. And than  
> it just
> records run("QuickTime Player...");. no path to the movie which was  
> opened.
> If I call that from a macro, I just get an 'Open File...'-Dialog at  
> which
> stands at the last position I opened a movie from. That doesn't  
> help me too
> much.
> How do I make the quicktime player open a certain file from a certain
> position?
> Thanks,
> aRnim
> --
> View this message in context: http://www.nabble.com/Opening-a-movie- 
> in-Quicktime-Player-with-a-macro-tf4221040.html#a12007789
> Sent from the ImageJ mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Opening a movie in Quicktime Player with a macro

Albert Cardona
In reply to this post by dscho
    As far as I can tell from reading the source of the plugins I have here
    (QuickTime_Plugins.jar), you should be able to specify the file name with

    run("QuickTime Player...", "open=[/path/to/movie.mov]");

    I cannot test, unfortunately, because QuickTime does not run on my setup.
     



The cinelerra guys have created a Linux compatible quicktime library.
Have you tried it out?

http://heroinewarrior.com/quicktime.php3

Albert

--
Albert Cardona
http://www.mcdb.ucla.edu/Research/Hartenstein/acardona