I have used Video node for video playback in my application and set the enableUI field to false. I've created a custom seek bar, custom trick play logic, and other views above the video player, as, title, time spent, etc.
I am having BIF URLs for all the VOD contents. But I can't find how to decode a ".bif" file or how to extract images from the ".bif" file.
According to the new certification criteria, we need to display thumbnails while performing trick play on video player. So, can we use BIF files for our custom trick play logic? Is there any such way?
Can anyone suggest anything?
I think for custom trick play logic you'll want to use individual jpegs, not a BIF file. The examples given here might help:
https://github.com/rokudev/trickplay-samples
https://github.com/rokudev/trickplay-samples/blob/master/simplevideo-with-jpeg
At the bottom of the release notes for RokuOS 9, I see the below paragraph:
Programmatic access to BIFs through BrightScript — Two new fields, getNearestFrame and nearestFrame, have been added to the BifDisplay component so that developers can now access BIFs programmatically in their channels. Previously a BrightScript channel had to use the built-in trickplay UI to access these BIFs.
So to me it seems that you can access the invisible bifDisplay member of your Video node, and get URL strings of the format "memory://..." which can be used with your own Poster node, to show the thumbnail corresponding to any timestamp of the video.