Forum Discussion

kenbrueck's avatar
kenbrueck
Visitor
13 years ago

1080p video vs. roScreen

I'm building custom navigation for seeking during a video. I'd like to use roScreen for performance reasons but my HLS video goes up to 1080p. Based on these threads, I believe I can't use 1080p video and roScreen at the same time:

viewtopic.php?p=324107
viewtopic.php?f=34&t=47560&p=323717

Even though I'd like to, I don't need to show the video while the user is navigating, so roVideoPlayer and roScreen don't need to occupy the screen at the same time. I was thinking of the following:
- create roVideoPlayer and play 1080p video
- when the user presses left/right/rw/ff, create a 720p roScreen with custom nav
- when the user has finished navigating, call close() on the roScreen
- resume 1080p playback in roVideoPlayer

Is it possible to do something like the above and still get 1080p playback?

3 Replies

  • You can use an roImageCanvas without the video memory/resolution limitations with the roVideoPlayer, so that might be an easier option if high fps playback of your UI isn't critical (i.e. if most of your UI elements are static).
    If you have to use roScreen to get the performance you need, then you'd still need an roImageCanvas on top of the roVideoPlayer to capture the remote events. You'd might also have to close the roVideoPlayer to free up the video memory for the roScreen during pause/seek, which of course means it'd have to rebuffer on "resume". Basically, what you propose might work, but there are some pretty significant potential roadblocks you need to consider first.
  • Ahh.. nope. If you're doing anything animated, you'll need to use roScreen. The roImageCanvas performance you're seeing, while it can probably be tweaked a bit, is pretty typical. It's not meant for animation.