Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Support for trick mode in custom roVideoplayer

I want to provide trick mode support in my app where I have a custom video player. Generally, roVideoScreen by default support trick mode if one feeds the bif urls to it.

I have successfully created the bif files but I have difficulty in reading it and showing the images in my custom videoplayer when I do FF/RWD .

I created the bif files using ffmpeg and biftool.

How to make use of the bif file in the custom videoplayer to provide trick mode support?

Thanks in advance.
0 Kudos
6 REPLIES 6
NewManLiving
Visitor

Re: Support for trick mode in custom roVideoplayer

You first need to study the SDK documentation
And the examples. There is an example of
How to use roimagecanvas with rovideoplayer
Once you have mastered the examples you will
Have discovered how to put any image on your
Canvas including your track bar which you
Can create the png or preferably jpg files with
A multitude of freeware paint programs out there

As far as a tracking algorithm , that is another ball game !
Your next battle will be to capture every message by rovideoplayer
To discover how it works and the problems you may encounter
And how you should deal with them
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
RokuChris
Roku Employee
Roku Employee

Re: Support for trick mode in custom roVideoplayer

roVideoPlayer does not have native support for BIF files. You would have to build your own solution in BrightScript.
0 Kudos

Re: Support for trick mode in custom roVideoplayer

"NewManLiving" wrote:
You first need to study the SDK documentation
And the examples. There is an example of
How to use roimagecanvas with rovideoplayer
Once you have mastered the examples you will
Have discovered how to put any image on your
Canvas including your track bar which you
Can create the png or preferably jpg files with
A multitude of freeware paint programs out there

As far as a tracking algorithm , that is another ball game !
Your next battle will be to capture every message by rovideoplayer
To discover how it works and the problems you may encounter
And how you should deal with them



I had created my player with custom seek bar and other functionality. I am able to play the videos as well.
i had the bif files created in the server but my difficulty is in reading the bif files and fetching the images for display.
0 Kudos
NewManLiving
Visitor

Re: Support for trick mode in custom roVideoplayer

The rourltransfer object gettofile. Or the asynchronous version will
Read your file from the server to the Roku temp directory. You can load it
From there i don't use bif format not even sure if it is supported. But png
And jpg I read and load without a problem from my server
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
aagna
Visitor

Re: Support for trick mode in custom roVideoplayer

I wrote a small app to display videos and images. When video runs overlay images are displayed. The images I want to display are jpg/png. But sometimes images are not displayed even if the video runs without any problem. When I use teraterm the log shows that images are already displayed. Initially I thought it could be the layer problem. But when I check that too, I found no problem. Images are displayed after the video is started. Can you give me suggestions on this issue. It would be highly appreciated.

Thanks in Advance
0 Kudos

Re: Support for trick mode in custom roVideoplayer

"NewManLiving" wrote:
The rourltransfer object gettofile. Or the asynchronous version will
Read your file from the server to the Roku temp directory. You can load it
From there i don't use bif format not even sure if it is supported. But png
And jpg I read and load without a problem from my server


I will try that. Thank u very much.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.