Posted by
Michael Schmid on
Nov 12, 2014; 7:35pm
URL: http://imagej.273.s1.nabble.com/Set-FPS-in-Save-As-AVI-tp5010391p5010393.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