Hi all,
When saving videos in ImageJ with "Save As" - "AVI" (uncompressed) I noticed that it doesn't matter if you choose 07 or 70 fps, the generated AVI files are identical. I've tried with 7,24, 30,88, 90 fps etc and the file is exactly the same. What am I missing? This happened with an ImageJ-generated AVI file, eg: https://www.dropbox.com/s/encwi8sohj0rmfb/Result%20of%20video_013.avi?dl=0 as well as with different videos from various sources. By the way, Save As - Movie (FFMPEG) doesn't seem to do anything... ImageJ 1.49k12; Java 1.6.0_10 [32-bit]; Windows 7; 6706 K of 999MB (<1%) Cheers,Rodrigo -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Rodrigo,
sorry, I can't reproduce this bug, at least with plain ImageJ (using version 1.49m1, but the AVI_Writer and AVI_Reader are unchanged since 1.49h1). Your test file has 30 frames/s. If I switch Debug Mode on while opening (Edit>Options>Misc), I see dwMicroSecPerFrame=33333 and dwStreamScale=1 dwStreamRate=30 These two are consistent, both saying 30 frames/s. I can write a test file with e.g. 7 frames/s like this: run("T1 Head Renderings (736K)"); run("AVI... ", "frame=7"); On opening it, I get dwMicroSecPerFrame=142857 and dwStreamScale=1 dwStreamRate=7 which is also correct. The Animation Options for these files also show the correct frame rate. I also tried with 15 frames/s and 2 frames/s. I also tried raw as well as JPEG compression. Michael ________________________________________________________________ On Nov 12, 2014, at 18:15, Rodrigo Gonçalves wrote: > Hi all, > When saving videos in ImageJ with "Save As" - "AVI" (uncompressed) I noticed that it doesn't matter if you choose 07 or 70 fps, the generated AVI files are identical. I've tried with 7,24, 30,88, 90 fps etc and the file is exactly the same. What am I missing? > This happened with an ImageJ-generated AVI file, eg: https://www.dropbox.com/s/encwi8sohj0rmfb/Result%20of%20video_013.avi?dl=0 > as well as with different videos from various sources. > By the way, Save As - Movie (FFMPEG) doesn't seem to do anything... > > ImageJ 1.49k12; Java 1.6.0_10 [32-bit]; Windows 7; 6706 K of 999MB (<1%) > > Cheers,Rodrigo > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Rodrigo Gonçalves
Hi Rodrigo,
Debug Mode does not report the frame rate on writing; if ImageJ does not write the correct frame rate it won't help, It only helps to diagnose problems on reading AVIs. Maybe look at Image>Stacks>Tools>Animation Options after writing, do you see the correct frame rate there? Is there anything that could harm the calibration of your movie? While the movie is in ImageJ, the frame rate is stored in the image calibration. Michael ________________________________________________________________ On Nov 12, 2014, at 20:46, Rodrigo Gonçalves wrote: > Hi Michael, > > Thanks a lot for your reply. I have noticed that the behavior is not consistent, but it happens 98% of the time in my computer. > > When it happens again, is there something else I can do to document it? I guess I should switch to Debug Mode while opening and check? > > Rodrigo > ________________________________________________________________ > > Hi Rodrigo, > > sorry, I can't reproduce this bug, at least with plain ImageJ (using version 1.49m1, but the AVI_Writer and AVI_Reader are unchanged since 1.49h1). > > Your test file has 30 frames/s. > > If I switch Debug Mode on while opening (Edit>Options>Misc), I see > dwMicroSecPerFrame=33333 > and > dwStreamScale=1 > dwStreamRate=30 > These two are consistent, both saying 30 frames/s. > > I can write a test file with e.g. 7 frames/s like this: > > run("T1 Head Renderings (736K)"); > run("AVI... ", "frame=7"); > On opening it, I get > dwMicroSecPerFrame=142857 > and > dwStreamScale=1 > dwStreamRate=7 > which is also correct. The Animation Options for these files also show the correct frame rate. I also tried with 15 frames/s and 2 frames/s. > > Michael > ________________________________________________________________ > > > > On Nov 12, 2014, at 18:15, Rodrigo Gonçalves wrote: > > > Hi all, > > When saving videos in ImageJ with "Save As" - "AVI" (uncompressed) I noticed that it doesn't matter if you choose 07 or 70 fps, the generated AVI files are identical. I've tried with 7,24, 30,88, 90 fps etc and the file is exactly the same. What am I missing? > > This happened with an ImageJ-generated AVI file, eg: https://www.dropbox.com/s/encwi8sohj0rmfb/Result%20of%20video_013.avi?dl=0 > > as well as with different videos from various sources. > > By the way, Save As - Movie (FFMPEG) doesn't seem to do anything... > > > > ImageJ 1.49k12; Java 1.6.0_10 [32-bit]; Windows 7; 6706 K of 999MB (<1%) > > > > Cheers,Rodrigo > > > > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |