Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Estebanicho
Level 7

Rotating videos on Scene Graph Applications via the SDK

As a channel developer, can I ask the Video Scene Graph node to rotate the video it's currently playing? For example, to turn a portrait video to landscape mode, and vice versa?

The Poster node does allow for rotation and scaling, but the node doesn't seem to have equivalent functionalities that can be used via the SDK. I did try replicating the rotation code that is working for me with images on Posters (using the rotation field), but the Video node simply disappears from the screen, and no error is signaled (I am debugging via Telnet on port 8085.)

My guess is that rotating multiple frames per second on a streaming video could be taxing for Roku devices. Unfortunately, in my case, video transcoding or other transformations are not possible.
0 Kudos
1 Reply
Highlighted
norcaljohnny
Level 7

Re: Rotating videos on Scene Graph Applications via the SDK

Just a thought.
Have you tried creating a group and placing the video node in the group and applying the rotation to the group since groups allow rotation?
0 Kudos