unDEFER
Streaming Star

roVideoPlayer plays only Sound

Hello!
I try to use roVideoPlayer in my big channel but it doesn't show any picture.
The same url pretty work in the customvideoplayer.
It also good work with roVideoScreen in my channel.
But I can't to make it working in my application with roVideoPlayer.
I try to use and fullscreen playing and framed version. But it only plays sound and doesn't show picture.

What I can do wrong?
Tags (1)
0 Kudos
4 REPLIES 4
unDEFER
Streaming Star

Re: roVideoPlayer plays only Sound

I have found!
It appears that the field for roVideoPlayer must be filled with black rectangle but not "#000000" (6 zeros). It is obligatory must be "#00000000" (8 zeros) color. This colors looks equally, but roVideoPlayer see a difference between it.

Unfortunately I haven't found any notes about it in SDK.
Tags (1)
0 Kudos
TheEndless
Channel Surfer

Re: roVideoPlayer plays only Sound

The extra zeros are for the alpha channel, so that the rectangle being drawn on top of the video is transparent. You're essentially cutting a window out of the graphics plane, so the video plane underneath can be seen. Without the transparency bits, you're drawing an opaque black rectangle, so the video underneath can't be seen.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Tags (1)
0 Kudos
unDEFER
Streaming Star

Re: roVideoPlayer plays only Sound

It is not quite so, TheEndless.
It is also doesn't show any picture if I use fully cleared layers on roImageCanvas.
roImageCanvas really never clear screen. So using your logic, picture of video must be covered with more low not transparent layers. But they doesn't cover it if at top layer exists "#00000000" filled rectangle.
Tags (1)
0 Kudos
TheEndless
Channel Surfer

Re: roVideoPlayer plays only Sound

"unDEFER" wrote:
It is not quite so, TheEndless.
It is also doesn't show any picture if I use fully cleared layers on roImageCanvas.
roImageCanvas really never clear screen. So using your logic, picture of video must be covered with more low not transparent layers. But they doesn't cover it if at top layer exists "#00000000" filled rectangle.

I'm not quite sure if I understand what you're saying, but with the image canvas, you need to specify "Source" for the CompositionMode, if you want transparency at a higher level to override lower levels.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!