Alan Walford | 4 Oct 22:27

EXR Image File Compatibility when written by different versions of library?

 
Are there differences between exr images written by these versions of the library - 1.2.1 and 1.4.0a?
 
Or if an exr image is written by a program using the 1.4.0a library, will there be any issues with a program compiled with the 1.2.1 library loading it?  In this case we are concerned mostly with rgba and scanline imagery.
 
Thanks
Alan
_______________________________________________
Openexr-devel mailing list
Openexr-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel
Florian Kainz | 4 Oct 23:22

Re: EXR Image File Compatibility when written by different versions of library?

The file format is exactly the same in versions 1.2.1 and 1.4.0
of the library.  The changes we made to the library code include
multi-threaded I/O, a couple of bug fixes, and increased portablity
of the code.  None of those code changes affect the on-disk file
format.

Florian

Alan Walford wrote:
>  
> Are there differences between exr images written by these versions of 
> the library - 1.2.1 and 1.4.0a?
>  
> Or if an exr image is written by a program using the 1.4.0a library, 
> will there be any issues with a program compiled with the 1.2.1 library 
> loading it?  In this case we are concerned mostly with rgba and scanline 
> imagery.
>  
> Thanks
> Alan
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Openexr-devel mailing list
> Openexr-devel <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/openexr-devel
darby johnston | 14 Oct 01:11
Picon
Favicon

Re: Couple of minor things...

--- darby johnston <darbyjohnston <at> yahoo.com> wrote:

> When compiling OpenEXR under Solaris 10 6/06 with
> Sun
> Studio 11, I got an error about missing math
> symbols:

...

> Solaris isn't listed in your supported platforms,
> but
> maybe it would be easy enough to add a "-lm" to the
> configure?

Sorry, meant to get back to this earlier but have been
super busy...

Maybe this could be added to "configure.ac":

AC_SEARCH_LIBS([floor], [m])

That will add an "-lm" to the linker line, making
solaris happy and hopefully not unduly affecting
anything else. It looks like on other platforms libm
is  automatically pulled in from libstdc++.

I just tried this on Solaris, FreeBSD, and Fedora 4,
and it seemed to work ok.

Thanks, Darby
Drew Hess | 14 Oct 01:42
Picon

Re: Re: Couple of minor things...

On 10/13/06, darby johnston <darbyjohnston <at> yahoo.com> wrote:

> Maybe this could be added to "configure.ac":
>
> AC_SEARCH_LIBS([floor], [m])
>
> That will add an "-lm" to the linker line, making
> solaris happy and hopefully not unduly affecting
> anything else. It looks like on other platforms libm
> is  automatically pulled in from libstdc++.
>
> I just tried this on Solaris, FreeBSD, and Fedora 4,
> and it seemed to work ok.

I'll try it, and if it works on our other platforms, I'll check it in.

thanks
d
Florian Kainz | 14 Oct 06:05

New framesPerSecond Attribute?

I would like propose a new "framesPerSecond" standard attribute
for OpenEXR:

The attribute defines the frame rate at which an OpenEXR image
sequence should be played back.  All frames in a sequence should
have this attribute, and the attribute's value should be the same
for all frames.  If no frame rate is specified for a sequence,
then playback software should assume 24 frames per second.

The attribute's value could be represented either as a floating-
point number or as the quotient of two integers.  A floating-point
number would be easier to use, but it cannot represent NTSC frame
and field rates exactly.  A quotient would be slightly less
convenient, but all commonly used frame rates, including NTSC,
can be represented exactly.

     frame rate                  float           quotient
     --------------------------------------------------------

     35-mm film                  24.0            24 / 1

     PAL video,                  25.0            25 / 1
     50 Hz HDTV frames

     NTSC frames                 29.97003        30000 / 1001

     60 Hz HDTV frames           30.0            30 / 1

     50 Hz HDTV fields           50.0            50 / 1

     NTSC fields                 59.94006        60000 / 1001

     60 Hz HDTV fields,          60.0            60 / 1
     Showscan

If you have comments or opinions, I'd like to hear them.

Thank you,

Florian
Michael Wolf | 14 Oct 17:29

Re: New framesPerSecond Attribute?

Hi Florian,

On Sat, 14 Oct 2006 06:05:52 +0200, Florian Kainz <kainz <at> ilm.com> wrote:

> I would like propose a new "framesPerSecond" standard attribute
> for OpenEXR:
>
> The attribute defines the frame rate at which an OpenEXR image
> sequence should be played back.  All frames in a sequence should
> have this attribute, and the attribute's value should be the same
> for all frames.  If no frame rate is specified for a sequence,
> then playback software should assume 24 frames per second.
>
> The attribute's value could be represented either as a floating-
> point number or as the quotient of two integers.  A floating-point
> number would be easier to use, but it cannot represent NTSC frame
> and field rates exactly.  A quotient would be slightly less
> convenient, but all commonly used frame rates, including NTSC,
> can be represented exactly.

Very good idea and it makes a lot of sense.
I'd prefer the quotient as well, however, some host applications only return a floating point number for
the frame rate.

Would it pollute OpenEXR too much to allow for both, or a single attribute which by default stores the
floating point number, but also may containe the quotient? (a value of 0/0 would in that case mean only the
floating point fps is valid).

Cheers,
Mike

P.S. Thanks for all the work put into OpenEXR!

--

-- 
db&w GbR
Seyffer Str. 34
70197 Stuttgart

http://www.db-w.com
http://www.infinimap.com
Bob Friesenhahn | 14 Oct 17:43
Picon
Picon
Gravatar

Re: New framesPerSecond Attribute?

On Fri, 13 Oct 2006, Florian Kainz wrote:

> I would like propose a new "framesPerSecond" standard attribute
> for OpenEXR:
>
> The attribute defines the frame rate at which an OpenEXR image
> sequence should be played back.  All frames in a sequence should
> have this attribute, and the attribute's value should be the same
> for all frames.  If no frame rate is specified for a sequence,
> then playback software should assume 24 frames per second.
>
> The attribute's value could be represented either as a floating-
> point number or as the quotient of two integers.  A floating-point
> number would be easier to use, but it cannot represent NTSC frame
> and field rates exactly.  A quotient would be slightly less
> convenient, but all commonly used frame rates, including NTSC,
> can be represented exactly.

The SMPTE DPX format uses your 'float' scheme.  It certainly does not 
hurt to be aligned with an existing industry standard.

A more exotic approach is to represent the rate as a frame delay 
instead.  This allows for frame playback at varying rates, with the 
possibility to hold one frame for a long time.

Bob
======================================
Bob Friesenhahn
bfriesen <at> simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
James Cloos | 14 Oct 20:33
Favicon

Re: New framesPerSecond Attribute?

>>>>> "Florian" == Florian Kainz <kainz <at> ilm.com> writes:

Florian> The attribute's value could be represented either as a
Florian> floating-point number or as the quotient of two integers.

A rational is definitely the better choice.

-JimC
--

-- 
James Cloos <cloos <at> jhcloos.com>         OpenPGP: 0xED7DAEA6
Haiqin Yang | 16 Oct 03:48

question about the tone mapping in OpenEXR

It seems that the tone mapping in OpenEXR is simple, but effective, but I do not know why it can achieve it.  Does someone can interpret it or give me some docs?  Thank you!

 

Regards,

Haiqin

 

_______________________________________________
Openexr-devel mailing list
Openexr-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel
Drew Hess | 16 Oct 04:17
Picon

Re: New framesPerSecond Attribute?

On 10/14/06, James Cloos <cloos <at> jhcloos.com> wrote:
> >>>>> "Florian" == Florian Kainz <kainz <at> ilm.com> writes:
>
> Florian> The attribute's value could be represented either as a
> Florian> floating-point number or as the quotient of two integers.
>
> A rational is definitely the better choice.

I agree.

d

Gmane