kszadkow
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2017
08:43 AM
how to get stream video resolution?
Hi All
Is it possible in screen graph to get native stream resolution? or at least its aspect ratio?
Thank you in advance for your feedback.
Is it possible in screen graph to get native stream resolution? or at least its aspect ratio?
Thank you in advance for your feedback.
4 REPLIES 4

Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2017
01:20 PM
Re: how to get stream video resolution?
The width and height are set in the XML of the Video node — your StackOverflow question about padding, it'd also be good just to verify that the video streams themselves do not have any padding.
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2017
09:01 PM
Re: how to get stream video resolution?
I think what he's looking for the is width and height of the source video itself that is streaming, rather than the specified size of the video player window playing the video stream.
I don't know of a way to get that info on the roku side unless it has been pre-specified in the content feed and parsed into the content node before display (ie running ffmpeg or mediainfo on the server, having the source resolution in a database, or manually specified in the xml or json feed for the channel).
There isn't a corresponding roVideoMetaData to correspond or accompany the roAudioMetaData component.
I don't know of a way to get that info on the roku side unless it has been pre-specified in the content feed and parsed into the content node before display (ie running ffmpeg or mediainfo on the server, having the source resolution in a database, or manually specified in the xml or json feed for the channel).
There isn't a corresponding roVideoMetaData to correspond or accompany the roAudioMetaData component.
kszadkow
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2017
01:05 AM
Re: how to get stream video resolution?
Destruk is right I am after the stream resolution not the Video component size. I need to accurately align some graphical elements with the video.
adrianc1982
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2017
09:45 PM
Re: how to get stream video resolution?
i would also love to have this function to get the resolution that way i can make a proper zoom on 4:3 content if the user decides to... (stretch)