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
MediaPortal 1
MediaPortal 1 Plugins
ViewModeSwitcher plugin (Version 0.3)
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="lkuech" data-source="post: 164293" data-attributes="member: 46526"><p>Hi ziphnor.</p><p></p><p>I would love to see our plugins become one. Under the line it is just a question how managed this by keeping the functionality of both.</p><p></p><p>If I understand you plugin right, then your approach is a little bit different to what I was planning as I began developing my plugin. </p><p></p><p>The Viewmodeswichter was originally not planned to do any frame analysation. As I described in the first post I just want to switch to a zoom-mode depending on the source video format. I use a additional zoom-mode here on my box which is based on the 14:9 mode but stretches the result to fit the screen (I guess its the same like this <a href="https://forum.team-mediaportal.com/patch_new_feature_new_zoom_mode_zoom-t25507.html)" target="_blank">https://forum.team-mediaportal.com/patch_new_feature_new_zoom_mode_zoom-t25507.html)</a>. I want the plugin to use the mode on 4:3 broadcast and automatically switch back to normal or stretch when a 16:9 broadcast is detected.</p><p>As I was ready with this I noticed that the only kind of signal that my plugin was not able to detect was a letterbox broadcast and because of this I integrated the letterbox detection.</p><p></p><p>Because of potential subtitles you analyse the picture from the upper and lower edge to the center until you found some content and use the result to calculate a frame that fits the whole screen. If that is right, than that means that a CinemaScope movie (21:9) will be cropped on the left and right edges heavily if you don't have any subtitles. </p><p>Here in Germany we don't have much subtiles and because of this it will look much better (from my point of view) if the "zoom" mode is used which keeps the black bars on the top and the bottom (on a 21:9 movie at least... with a 16:9 movie you will not have any bars at all).</p><p></p><p>To keep the whole functionality of both plugins we may think about the following approach:</p><p></p><p>We create a additional option (maybe a radio button, grouped with the letterbox option) for your autocrop function under the rule details of ViewModeSwitcher:</p><p></p><p>here is the screenshot of such a rule detail:</p><p><img src="https://www.team-mediaportal.com/images/stories/ViewModeSwitcher/vms_v2_4_3.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>On this way the users are able to choose which detection mode they want to use.</p><p>The disadvantage for the users of your autocropper is that they have to create a rule first that enables the autocropping. The advantage is that the autocropping is only active if the current video (or broadcast) does fit the rule (important for HDTV broadcasts).</p><p></p><p>The manual crop should be still available via a remote action.</p><p></p><p>Maybe we should discuss this further at some other place. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>PS: I have a much newer version of the viewmodeswitcher plugin here. It has a additional functionality to move the picture up and down while watching. You are also able to store a vertical offset for a special channel (to see the news banner of a news channel for example). The plugin is able to detect channel chances now and resets the letterbox detection and so on...</p><p>Unfortunately this has also a disadvantage... because I want to support the old and the new tvengine it was necessary to build a helper.dll (a wrapper) for each. And the users have to copy the right dll to there plugins folder. </p><p></p><p>Bye</p><p>Lars</p></blockquote><p></p>
[QUOTE="lkuech, post: 164293, member: 46526"] Hi ziphnor. I would love to see our plugins become one. Under the line it is just a question how managed this by keeping the functionality of both. If I understand you plugin right, then your approach is a little bit different to what I was planning as I began developing my plugin. The Viewmodeswichter was originally not planned to do any frame analysation. As I described in the first post I just want to switch to a zoom-mode depending on the source video format. I use a additional zoom-mode here on my box which is based on the 14:9 mode but stretches the result to fit the screen (I guess its the same like this [url]https://forum.team-mediaportal.com/patch_new_feature_new_zoom_mode_zoom-t25507.html)[/url]. I want the plugin to use the mode on 4:3 broadcast and automatically switch back to normal or stretch when a 16:9 broadcast is detected. As I was ready with this I noticed that the only kind of signal that my plugin was not able to detect was a letterbox broadcast and because of this I integrated the letterbox detection. Because of potential subtitles you analyse the picture from the upper and lower edge to the center until you found some content and use the result to calculate a frame that fits the whole screen. If that is right, than that means that a CinemaScope movie (21:9) will be cropped on the left and right edges heavily if you don't have any subtitles. Here in Germany we don't have much subtiles and because of this it will look much better (from my point of view) if the "zoom" mode is used which keeps the black bars on the top and the bottom (on a 21:9 movie at least... with a 16:9 movie you will not have any bars at all). To keep the whole functionality of both plugins we may think about the following approach: We create a additional option (maybe a radio button, grouped with the letterbox option) for your autocrop function under the rule details of ViewModeSwitcher: here is the screenshot of such a rule detail: [IMG]https://www.team-mediaportal.com/images/stories/ViewModeSwitcher/vms_v2_4_3.png[/IMG] On this way the users are able to choose which detection mode they want to use. The disadvantage for the users of your autocropper is that they have to create a rule first that enables the autocropping. The advantage is that the autocropping is only active if the current video (or broadcast) does fit the rule (important for HDTV broadcasts). The manual crop should be still available via a remote action. Maybe we should discuss this further at some other place. ;) PS: I have a much newer version of the viewmodeswitcher plugin here. It has a additional functionality to move the picture up and down while watching. You are also able to store a vertical offset for a special channel (to see the news banner of a news channel for example). The plugin is able to detect channel chances now and resets the letterbox detection and so on... Unfortunately this has also a disadvantage... because I want to support the old and the new tvengine it was necessary to build a helper.dll (a wrapper) for each. And the users have to copy the right dll to there plugins folder. Bye Lars [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
ViewModeSwitcher plugin (Version 0.3)
Contact us
RSS
Top
Bottom