[Chimera-users] mac default directory

Tom Goddard goddard at sonic.net
Mon Jun 6 15:59:18 PDT 2011


Hi Matt,

   Chimera puts movie frame images in a system temporary directory 
obtained from the Python tempfile.gettempdir() routine.  If you record a 
movie with the Chimera "movie encode" command you can see the actual 
ffmpeg command used to do the encoding in the Chimera reply log 
(Favorites / Reply Log).  Here's an example

/usr/local/src/staff/goddard/daily-cocoa64/install/Chimera.app/Contents/Resources/bin/ffmpeg 
-r 25 -i 
/var/folders/+g/+gO21g+SFqCxNgLVgIvElk+++TM/-Tmp-/chimovie_hqMi-%05d.ppm 
-y -f mov -b 2000kb -qscale 8 /Users/goddard/Desktop/test.mov

I see that it had the temporary files on my Mac in

     /var/folders/+g/+gO21g+SFqCxNgLVgIvElk+++TM/-Tmp-/

Checking the Python documentation for gettempdir() I see it looks at the 
TMPDIR environment variable.  On my Mac that is indeed set to this 
hideous path.  Here is the Python documentation for gettempdir() if you 
need to dig further

     http://docs.python.org/library/tempfile.html

You can set the directory to store the images in the "movie record" 
command using the "directory" option.

     
http://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/movie.html#record-options

   Tom


Dougherty, Matthew T wrote:
> Hi-
>
> Where is the default directory for movie images on the mac?
>
> thanks,
>
>
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
>




More information about the Chimera-users mailing list