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: 
vansh7102
Reel Rookie

Re: "SceneGraph: Build a Channel" video course

Hello Sir

I Vansh Student and interested in Development. I have Roku Ultra device and already enabled Developer Settings in that device. Now I want to check the Video Codecs supported by the device. 

I runs a function CanDecodeVideo() but I am getting blank screen no output was display. Similarly this happen when I run GetSupportedGraphicsResolutions() as Object, GetDisplaySize() as Object. But when I runs GetModelDisplayName() as String, GetModelType() as String working fine gives me some output. 

Sir please tell me that how should I run CanDecodeVideo() such that I can get some relevant output. 

My Code Was this:

sub init()
m.top.SetFocus(true)

di = CreateObject("roDeviceInfo")

i=di.CanDecodeVideo()

infoPane = m.top.findNode("infoPane")
infoPane.infoText = i
End sub

Thanks and Regards

Vansh

0 Kudos

Re: "SceneGraph: Build a Channel" video course (Deep Linking without Ads and Subscriptions?)

Hello! I downloaded the "scenegraph-master-sample" from git and was able to follow along with the video tutorials all the way through Deep Linking. Since Deep Linking was the last tutorial, the source code includes ads and subscription logic that I am not interested in implementing and I'm unsure of how to remove it without wrecking the entire package. Can you provide source code that I can modify that includes the Deep Linking logic, but does not include ads and subscriptions logic? I hope that makes sense.  Ultimately, I just want my viewers to be able to find my channel and watch my videos without having to worry about ads and subscriptions.  PLUS, it appears the Payment section ( https://developer.roku.com/payments ) of the website is down at the moment? I look forward to hearing back from you soon.  Any assistance will be greatly appreciated!  EXCELLENT TUTORIAL, by the way!!!  Many thanks!

0 Kudos
mbenedict261
Channel Surfer

Re: "SceneGraph: Build a Channel" video course

Question about this. With the SceneGraph channel working on the same structure of feed that the Direct Publisher worked on, and only having the ability for a max of 512 kb feed size, I'm wondering if there are other pre-baked channel templates that work with the Direct Publisher feed that can have larger feed sizes.

0 Kudos
TomB3
Newbie

Re: "SceneGraph: Build a Channel" video course

Adding the video player 

I've completed this video, when I select the video to play it flashes but doesn't play.  

I've removed all of the code I typed in and replaced it with the code in github (https://github.com/rokudev/scenegraph-master-sample/tree/master/VideoPlayer)

The first step (GridScreen) worked fine.

Is this code still valid?  It's 4 years old and I wonder if something has changed?

0 Kudos
Baradanikto
Roku Guru

Re: "SceneGraph: Build a Channel" video course

@TomB3 You may want to take a look at the Wizard tool I've created to migrate from Direct Publisher to SceneGraph.  It's in my signature below.

FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
TomB3
Newbie

Re: "SceneGraph: Build a Channel" video course

Thanks.  Using your app I was able to build a working app.  Now I need to figure out how it works!

0 Kudos
wavedingo
Newbie

Re: "SceneGraph: Build a Channel" video course

I had the same problem, there is a missing detail in the video which I only discovered looking at the example code in GitHub.

in the "MainLoaderTask.brs" file you have to import the video content (URL and format) from the json feed... in MainLoaderTask.brs, go to the GetItemData function and just below where you get the video duration from the previous exercise (item.length = video.content.duration - for me it was right after line 60), enter the following lines:

' populate meta-data for playback
item.url = video.content.videos[0].url
item.streamFormat = video.content.videos[0].videoType
0 Kudos

Re: "SceneGraph: Build a Channel" video course

 
0 Kudos

Re: "SceneGraph: Build a Channel" video course

cariuspierrecharles@gmail.com

0 Kudos

Re: "SceneGraph: Build a Channel" video course

Todo canal

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.