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
Development
General Development (no feature request here!)
AutoCropper plugin
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="ziphnor" data-source="post: 70765" data-attributes="member: 14215"><p>Excellent. I guess it shouldnt be that surprising that it can be done on the fly, after all many of the other filters process the entire image every frame. When implemented as a DS filter in C++ it will be very efficient.</p><p></p><p>In fact, when i thought some more about, i even think it might be possible to automaticaly move subtitles in the black bars into the video image. By scanning lines it shouldne be that hard to make a seperate bounding box for the subtitles, and finding the pixels containing text is just taking all the VERY bright pixels and 'move' them up into video letterbox. But lets get the simple things running first <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Right now my focus is trying to create the filter by extending the CTransInPlaceFilter filter class. It seems all i have to do is implement a method for handling a frame (Transform method) and CheckInputType or similar for checking which input types are accepted(for example the cropper shouldnt accept audio <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />. Im thinking it might be possible to actually crop the video directly, so that no extra aspect ratio support will be needed, However, my biggest problem now is actually neither the detection algorithm or understanding directshow, but just getting a DirectShow development environment up and running with VS 2005. Youll probably see me asking questions about this in a seperate thread if i dont figure it out soon.</p></blockquote><p></p>
[QUOTE="ziphnor, post: 70765, member: 14215"] Excellent. I guess it shouldnt be that surprising that it can be done on the fly, after all many of the other filters process the entire image every frame. When implemented as a DS filter in C++ it will be very efficient. In fact, when i thought some more about, i even think it might be possible to automaticaly move subtitles in the black bars into the video image. By scanning lines it shouldne be that hard to make a seperate bounding box for the subtitles, and finding the pixels containing text is just taking all the VERY bright pixels and 'move' them up into video letterbox. But lets get the simple things running first :) Right now my focus is trying to create the filter by extending the CTransInPlaceFilter filter class. It seems all i have to do is implement a method for handling a frame (Transform method) and CheckInputType or similar for checking which input types are accepted(for example the cropper shouldnt accept audio ;). Im thinking it might be possible to actually crop the video directly, so that no extra aspect ratio support will be needed, However, my biggest problem now is actually neither the detection algorithm or understanding directshow, but just getting a DirectShow development environment up and running with VS 2005. Youll probably see me asking questions about this in a seperate thread if i dont figure it out soon. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
AutoCropper plugin
Contact us
RSS
Top
Bottom