Hi Patricia and Herbie.
In addition, the command to save AVI files has and extra space in it and
reads:
run("AVI... ",
the command you used is the one to read AVI files, hence the error.

Jerome

On Mon, 10 Mar 2025 at 13:43, Herbie <[email protected]> wrote:

> Salut Patricia!
>
> run("AVI...", "compression=JPEG frame=5 save=" + ".avi");
>
> The path is missing in the above function.
>
> Bonne chance
>
> Herbie
>
> ::::::::::::::::::::::::::::::::::::::::::::
> Am 10.03.25 um 12:08 schrieb OBEID Patricia:
> > Hello everyone,
> > I'm having problems recording a stack in .avi format.
> > Here is my Macro:
> > dir = getDirectory("Choisir un r�pertoire contenant les stacks");
> >                                 setBatchMode(false);
> > list = getFileList(dir);
> >                                  for (i=0; i<list.length; i++) {
> >                                                                 path =
> dir+list[i];
> >
>  open(path);
> >
> >
> run("AVI...", "compression=JPEG frame=5 save=" + ".avi");
> >                                close();
> >                                  }
> >
> > And the error indicated :
> > Error:                    An error occurred reading the AVI file.
> > java.io.FileNotFoundException:
> S:\349-Projets_Biomics\349.26-Projet-3D-Pat\02_Manips3D_Patricia\00_CellStim\Manips\2025\250227_Test_Elplasia-coupee_QTracker\AxioObs\j1\Movie_Obj1.avi
> (Le chemin d'acc�s sp�cifi� est introuvable)
> > java.io.RandomAccessFile.open0(Native Method)
> > java.io.RandomAccessFile.open(RandomAccessFile.java:316) in line 10:
> >
> >                                 run ( "AVI..." , "compression=JPEG
> frame=5 save=" + ".avi" <)> ;
> >
> > I don't understand what the problem is, so I can't correct it.
> > Thank you for your help
> > Patricia
> >
> > [230227_signature-mail]
> >
> > Toute notre actualit� sur https://www.cea.fr/drf/irig et sur Biomics<
> https://www.bge-lab.fr/Biomics>
> > Et sur https://twitter.com/BiomicsLab
> >
> > [Facebook]<https://fr-fr.facebook.com/cea.pageofficielle> [Youtube] <
> https://www.youtube.com/channel/UCpTMWY8NRQby8zXUKhHznfg>  [Twitter] <
> https://twitter.com/CEA_Officiel>  [LinkedIn] <
> https://fr.linkedin.com/company/cea>  [Instagram] <
> https://www.instagram.com/cea_officiel/>
> >
> >
> > --
> > 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

Reply via email to