Forum Discussion
Yes it it is the new Ultra. Unfortunately I believe I need roScreen for 2DGraphics for the app I am working on since I render a lot of full screen bitmaps and I need sub second response which I believe is an issue with roSGScreen.
what dims are you creating a roScreen.
- emveepee15 years agoBinge Watcher
It is a 1280x720 roScreen.
Martin
- necrotek5 years agoRoku Guru
Since the video is SD resolution equivalent of ~ 640x 480 or 720x480, I am not sure if the video player is trying to create video surface that is the same size as the video content and as I mentioned, newer devices do not behave correctly with these resolutions.
Have you tried SetDestinationRect() or SetMaxVideoDecodeResolution()
https://developer.roku.com/docs/references/brightscript/interfaces/ifvideoplayer.md
I would still try setting up a SG video player and see if the video plays correctly there. If that works and you are not doing image overlay on the video, I would spin up the SG instance for the video then fall back to roscreen when the video finishes.
what is your use case that you don't think SG will be performant with you images?
- emveepee15 years agoBinge Watcher
Unfortunately I'm doing lots of OSD for comskip, live tv channel info and switching and program details.
I have tried many combinations of SetDestinationRect() and have moved it around the screen but I have never been able to figure out the negative numbers and width etc to zoom it full screen, There is also no API call that tells me what the Video res is so that I could do this for these files in particular. Typical letterbox SD is zoomed, this type is more like it is squeezed into 4:3 dimension
SetMaxVIdeoDecodeResolution() didn't change anything there may be a combination I am missing.