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: 
Estebanicho
Visitor

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 1
norcaljohnny
Roku Guru

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
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.