Re: Avi Writer Error

Posted by ERIC on
URL: http://imagej.273.s1.nabble.com/Avi-Writer-Error-tp5006359p5006361.html

That's far better !!!!!
Thanks a lot !!!!

Eric Denarier
Grenoble Institut des Neurosciences
Inserm U836
Chemin Fortuné Ferrini
38700 La Tronche
France


Tél :33 (0)4 56 52 05 38
Fax :33 (0)4 56 52 06 57

http://neurosciences.ujf-grenoble.fr/

Le 31/01/2014 18:13, Curtis Rueden a écrit :

> Hi Eric,
>
>> It also has a problem with whitespaces in file names
> Try enclosing your file path in square brackets:
>
>        run("AVI... ", "compression=JPEG frame=500
> save=["+SauveRep+title+".avi]");
>
> HTH,
> Curtis
>
>
> On Fri, Jan 31, 2014 at 11:09 AM, Eric Denarier <
> [hidden email]> wrote:
>
>> Hi All,
>> I have a small macro converting tif stack to avi files.
>> It works only when the in and out folders are in the directory C:
>> I suspect that avi writer does't like my directory : C:/User/Eric Denarier
>> and reads only C:/User/Eric (see enclosed picture)
>> It also has a problem with whitespaces in file names and other Characters
>> as in DOS.
>> It is not really convenient because I have to move my folders into C:
>> Do you know any alternative ?
>>
>>
>> Here is the macro
>>
>> Ouvrerep=getDirectory("Choose folder In");
>> SauveRep=getDirectory("Choose folder Out");
>>
>> liste=getFileList(Ouvrerep);
>>
>> for (k=0;k<liste.length;k++){
>>        open(Ouvrerep+liste[k]);
>>        title = getTitle();
>>        run("AVI... ", "compression=JPEG frame=500
>> save="+SauveRep+title+".avi");
>>        close();
>>        }
>>
>>
>>
>>
>> --
>>
>> Eric Denarier
>> Grenoble Institut des Neurosciences
>> Inserm U836
>> Chemin Fortuné Ferrini
>> 38700 La Tronche
>> France
>>
>>
>> Tél :33 (0)4 56 52 05 38
>> Fax :33 (0)4 56 52 06 57
>>
>> http://neurosciences.ujf-grenoble.fr/
>>
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html