Hi all! iv can easily be changed to support playback of individual image frames, I did this a couple of months ago. Unfortunately I ended up writing a standalone oiio + ocio based tool as I needed to add a new interface and a few other things.
Very basic steps: * Add a timer, QTimer or similar could be used to keep the UI snappy while in playback mode. * Interpret the time elapsed based on fps, increment another frame if needed. * Update the current image based on the new frame. As for opengl playback, use double PBO's for fast streaming upload and DMA transfers. As for djv, I contributed a few things to it 2 years ago and OIIO could easily be written as a plugin but I'm not sure if it's being maintained anymore. As a reference it's superb, it uses recent OpenGL code and is really fast. @Larry: Personally I would like to see movie support in oiio (quicktime/libquicktime, ffmpeg). Probably a frame parameter in the API would be enough, just to make it possible to write new "sequence based" readers/writers. Is it on the roadmap at all? Thanks, Mikael On Mon, Mar 19, 2012 at 9:47 PM, Larry Gritz <[email protected]> wrote: > DJV looks cool, and I have heard good things about it. But since it's not > based on OIIO or OCIO, I'm assuming that "integrating" would be a major > overhaul of that package, versus what I am hoping is a fairly minor change > to OIIO's existing iv to make it play a sequence at frame rate with some > basic controls. > > What I'm aiming for here is an OIIO-based viewer/player that: > > * Works with all images and formats that OIIO supports. > * Uses OCIO for color management. > * Can have its interesting bits carved out as utility functions for the > public APIs of OIIO. > * Stays aligned to OIIO's short- and long-term goals. > > Besides, the djv-0.8.3-pre2, which appears to be the latest version, dates > from 2009. It doesn't look like a project undergoing any continued > development, let alone one that would be inclined to have a major > reorganization of its internals to be based on OIIO. > > If I'm totally wrong about any of this, please do correct me. > > Note that djv is BSD-licensed, so I think we should feel free to use any > specific code from it that would further our goals, or to use it as a > reference for comparison or to see how they did things. > > -- lg > > > On Mar 19, 2012, at 6:23 AM, Ben Houston wrote: > > > Is there no way to integrate into the DJV Imaging tool? It is already > > open source and it is used in a number of studios for fast and easy > > viewing of image sequences. > > > > http://djv.sourceforge.net/ > > > > Just a thought. DJV already has channel support and a relatively nice > UI. > > > > -ben > > -- > Larry Gritz > [email protected] > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
