comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Lossless compression with IDLffVideoWrite
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Lossless compression with IDLffVideoWrite [message #93478] Mon, 01 August 2016 06:06 Go to next message
dg86 is currently offline  dg86
Messages: 118
Registered: September 2012
Senior Member
Dear Folks,

I'd like to store sequences of tens of thousand of grayscale images as video files for
playback and subsequent retrieval. Being able to retrieve the individual frames in their
original state is an important part of the application. It appears that IDLffVideoWrite
only supports codecs with lossy compression. These introduce compression artifacts
into the stored data. Is there a way to configure IDLffVideoWrite to use lossless compression?

Storing video data as rawvideo (no compression) is lossless, but isn't a great option
because IDLffVideoWrite only supports RGB images, and so inflates the file size by
a factor of 3 relative to just writing the data to a binary file.

Lossless compression with the h264 codec would be ideal, but requires replacing IDL's
ffmpeg libraries, which I'd like to avoid because of library version mismatches. I'm looking
for a solution that offers compression without artifacts using the standard
IDL installation.

Any pointers would be much appreciated.

Many thanks,

David
Re: Lossless compression with IDLffVideoWrite [message #93481 is a reply to message #93478] Mon, 01 August 2016 07:35 Go to previous message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
Do you need to save the video "on-the-fly" i.e. as you acquire it, or can you buffer it to memory before saving?

If you don't need to save it on the fly, it would seem fairly straightforward to save your images as, for example, a compressed TIFF stack, perhaps using the OME-TIFF standard. These files can then be read by ImageJ, and also created/accessed using the Bio-formats library, etc.

Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Read Binary
Next Topic: Save the Usersym vectors

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 07:14:25 PDT 2025

Total time taken to generate the page: 0.00445 seconds