Does it matter if you seek directly to the arbitrary frame, versus if you have read all the prior frames in sequence?
> On Dec 21, 2017, at 11:58 AM, Troy Sobotka <[email protected]> wrote: > > > > On Thu, Dec 21, 2017, 9:40 AM Larry Gritz <[email protected] > <mailto:[email protected]>> wrote: > Can you clarify the conditions in which it won't work, and what will go wrong? > > Essentially it won't pull the correct frame. It will produce the last I frame > it found, given it doesn't have enough information until the following I > frame to decode the intermediate B frames. > > When I was last working on it, the PTS code failed a bit as well, resulting > in similar issues but of a different origin. > > Here were some fixes I did for DJView, that had a similar issue regarding the > PTS: > > https://github.com/sobotka/djv-view/commit/74ce8790fc76faee183694b4bf8395e0964b8095 > > <https://github.com/sobotka/djv-view/commit/74ce8790fc76faee183694b4bf8395e0964b8095> > > Handling the B frame issue is trickier as desired frame would need to be > passed, up to the required following I frame. > > With respect, > TJS > -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
