Re: QuickTime player

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: QuickTime player

Charles M. Shaw
I encountered this problem recently.  When I saw it, this problem arose due
to the fact that the AVI specification allows for the number of colors used
to be specified as 0.  This is to be interpreted as all the colors available
at the specified bit depth.  So a 0 here would mean "use all 256 colors
available at 8 bits."

The AVI Reader plugin as available online does not appropriately handle a 0
here.  The fix I used was to add the last line below:

} else
// a value of 0 means we determine this based on the bits per pixel
    if (BMPbitsPerPixel < 16) {
    BMPactualColorsUsed = 1 << BMPbitsPerPixel;
    BMPcolorsUsed = BMPactualColorsUsed; //Add this line
}else...

Of course, if your AVI files are anything like mine, fixing this problem
just reveals 3 or 4 more.  Saving the stack ImageJ opens as an AVI file
should produce a Quicktime-friendly AVI.  Hope this helps.

-Charlie

Charles M. Shaw
Graduate Student
Macromolecular Science & Engineering Center
University of Michigan, Ann Arbor

On Fri, 30 Mar 2007 09:47:55 +1200, Jacqui Ross <[hidden email]>
wrote:

>Hi Sharmistha,
>
>Is it possible for you to post your movie somewhere that we could access
>it?
>
>One other suggestion that I have is to check the colour settings on your
>monitor. This may seem obvious but I recently installed a viewer on
>someone's computer for our Olympus system and she couldn't see her
>images.
>
>I then found out that her monitor was not set to the correct colour
>display. I had to change it over to "True colour 32 bit". Once I changed
>it, everything was fine.
>
>I recommend that you check this if you haven't already.
>
>Cheers,
>
>Jacqui
>
>Jacqueline Ross
>Biomedical Imaging Research Unit
>School of Medical Sciences
>Faculty of Medical & Health Sciences
>The University of Auckland
>Private Bag 92019
>Auckland, NEW ZEALAND
>
>Tel: 64 9 373 7599 Ext 87438
>Fax: 64 9 373 7484
>
>http://www.health.auckland.ac.nz/biru/
>
>-----Original Message-----
>From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
>sharmistha paul
>Sent: 30 March 2007 01:02
>To: [hidden email]
>Subject: Re: QuickTime player
>
>Thank you everybody who give me quick suggestions.
>
>I tried both. Still the problem exists.
>First I download AVI.Reader plugin but when I run my video file using it
>it shows exactly this error
>
>  'An error ocurs reading the file.  map size(0)>=1'
>
>At the same time QuickTime has the color problem. I had quicktime JAVA
>and movie program (I download these from ImageJ site)
>
>I download  VirtualDub 1.6.17 in my window XP OS system. The video file
>is running as frame changes but I can't see any pictures. It's totally
>black.
>
>
>
>----- Original Message ----
>From: Jacqui Ross <[hidden email]>
>To: [hidden email]
>Sent: Thursday, March 29, 2007 1:19:52 AM
>Subject: Re: QuickTime player
>
>
>Hi Sharmista,
>
>You could also open the AVI file in ImageJ using the AVI reader plugin
>(http://rsb.info.nih.gov/ij/plugins/avi-reader.html) and then output
>specifically as a QuickTime movie
>(http://rsb.info.nih.gov/ij/plugins/movie-writer.html ). You just need
>to make sure that you get the QuickTime for Java as well (see
>http://rsb.info.nih.gov/ij/plugins/qt-install.html ).
>
>By the way, VirtualDub (http://www.virtualdub.org/features )is a nice
>little freeware for specifically editing movies.
>
>Cheers,
>
>Jacqui
>
>Jacqueline Ross
>Biomedical Imaging Research Unit
>School of Medical Sciences
>Faculty of Medical & Health Sciences
>The University of Auckland
>Private Bag 92019
>Auckland, NEW ZEALAND
>
>Tel: 64 9 373 7599 Ext 87438
>Fax: 64 9 373 7484
>
>http://www.health.auckland.ac.nz/biru/
>
>-----Original Message-----
>From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
>sharmistha paul
>Sent: 29 March 2007 04:36
>To: [hidden email]
>Subject: QuickTime player
>
>Hi,
>
>I have a video clip from CCD (1024*768 8 bit MONO (F1M5)).
>I face problem when I'd like to run the clip using QuickTime Player
>7.1.5 in Image J 1.38m. It shows colour video quite different from my
>original video.
>
>Again when I try to convert this video (using QuickTime Player) to 8 bit
>grayscale it shows out of memory. Then I increased memory to 1000 MB.
>But then the program is not responding.
>I'll appreciate if anybody helps me to remove these problems
>
>Sharmistha Paul
>
>
>
>________________________________________________________________________
>____________
>Looking for earth-friendly autos?
>Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
>http://autos.yahoo.com/green_center/
>
>
>
>
>________________________________________________________________________
>____________
>Need Mail bonding?
>Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
>http://answers.yahoo.com/dir/?link=list&sid=396546091
>=========================================================================