home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
General Forums
Newcomers Forum
Multi-tuners playing on the same screen (not PIP) - Is this possible?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 1072579" data-attributes="member: 48495"><p>Presentation is a question of the skin, you can apply the video frame to any control (there is the "VideoBrush" which "paints" the image to control).</p><p></p><p></p><p>You can check the SlimTV client plugin: the SlimTvHandler takes care for managing streams <a href="https://github.com/MediaPortal/MediaPortal-2/blob/fe576633a1a3c8651203405d9916ec16466c9290/MediaPortal/Incubator/SlimTvClient/TVHandler/SlimTvHandler.cs#L51" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/fe576633a1a3c8651203405d9916ec16466c9290/MediaPortal/Incubator/SlimTvClient/TVHandler/SlimTvHandler.cs#L51</a>. You see there is a init with "2", but could be extended to more. Each "stream" is separated by a user (user1, user2, userN).</p><p></p><p>To support more than 2 players, you would need another VideoBrush, like done for VideoBackground: <a href="https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Incubator/BackgroundManager/Models/BackgroundVideoBrush.cs" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Incubator/BackgroundManager/Models/BackgroundVideoBrush.cs</a>. It only takes care to expose the videoplayer's frames to be painted as texture.</p><p></p><p></p><p>Best would be to check the source codes for given plugins: SlimTVClient and BackgroundManager (here VideoBackground, it creates own players and brush)</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1072579, member: 48495"] Presentation is a question of the skin, you can apply the video frame to any control (there is the "VideoBrush" which "paints" the image to control). You can check the SlimTV client plugin: the SlimTvHandler takes care for managing streams [url]https://github.com/MediaPortal/MediaPortal-2/blob/fe576633a1a3c8651203405d9916ec16466c9290/MediaPortal/Incubator/SlimTvClient/TVHandler/SlimTvHandler.cs#L51[/url]. You see there is a init with "2", but could be extended to more. Each "stream" is separated by a user (user1, user2, userN). To support more than 2 players, you would need another VideoBrush, like done for VideoBackground: [url]https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Incubator/BackgroundManager/Models/BackgroundVideoBrush.cs[/url]. It only takes care to expose the videoplayer's frames to be painted as texture. Best would be to check the source codes for given plugins: SlimTVClient and BackgroundManager (here VideoBackground, it creates own players and brush) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
Newcomers Forum
Multi-tuners playing on the same screen (not PIP) - Is this possible?
Contact us
RSS
Top
Bottom