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: 92065" data-attributes="member: 14215"><p>Ive been running with this a bit now and the status is as follows:</p><p></p><p>Cyberlink : Works, but some image enhancement features are disabled</p><p>Intervideo : Sort of works when DXVA is manually disabled, but a green line is drawn on the right side of screen.</p><p>DScaler : No go.</p><p>PureVideo : Not tested yet. </p><p></p><p>My plan is to wrap up the current implementation this weekend. Then i will try to see if i can avoid disabling DXVA in any way. Im currently considering the following approaches:</p><p></p><p><strong>Screenshot/grab based</strong></p><p>Dont particular like this one, but one could grab a few frames as screenshots or maybe via the VMR(anyone know how to do this?) and get bounds based on those. These could then be applied the same way the aspect ratios apply.</p><p></p><p>Good: Simple, can move analysis code to C#</p><p>Bad : Will have to work on the upscaled image.</p><p> </p><p><strong>Seperate filter graph</strong></p><p>One simple way way too avoid messing with the DXVA is the following:</p><p></p><p>1. User requests crop</p><p>2. Set up a video only playback graph for the currently playing source, using a software video decoder set to weave deinterlacing for example, instead of a VMR at the end, just place the autocropper filter.</p><p>3. Seek to the same position as the currently playing.</p><p>4. Get bounds from filter</p><p>5. Stop and discard the extra graph</p><p>5. Apply bounds from MP side ( in the same way aspects ratios apply ).</p><p></p><p>Good: Only small changes to the filter</p><p>Bad : Cumbersome to implement. There might be some practical issues.</p><p></p><p><strong>'Injection'</strong></p><p>Instead of having my filter in the graph all the time, i will investigate whether or not its feasible to use the following approach:</p><p></p><p>1. User requests crop</p><p>2. Pause graph</p><p>3. Insert AutoCrop filter</p><p>4. Start graph</p><p>5. After X frames, stop graph and get bounding box from autocropper</p><p>6. Remove autocropper.</p><p>7. Integrate the bounding box as a new aspect ratio</p><p>etc.</p><p></p><p>Good: No changes in filter</p><p>Bad: Unlikely that decoderes can handle switching back and forth between hardware and software rendering.</p></blockquote><p></p>
[QUOTE="ziphnor, post: 92065, member: 14215"] Ive been running with this a bit now and the status is as follows: Cyberlink : Works, but some image enhancement features are disabled Intervideo : Sort of works when DXVA is manually disabled, but a green line is drawn on the right side of screen. DScaler : No go. PureVideo : Not tested yet. My plan is to wrap up the current implementation this weekend. Then i will try to see if i can avoid disabling DXVA in any way. Im currently considering the following approaches: [B]Screenshot/grab based[/B] Dont particular like this one, but one could grab a few frames as screenshots or maybe via the VMR(anyone know how to do this?) and get bounds based on those. These could then be applied the same way the aspect ratios apply. Good: Simple, can move analysis code to C# Bad : Will have to work on the upscaled image. [B]Seperate filter graph[/B] One simple way way too avoid messing with the DXVA is the following: 1. User requests crop 2. Set up a video only playback graph for the currently playing source, using a software video decoder set to weave deinterlacing for example, instead of a VMR at the end, just place the autocropper filter. 3. Seek to the same position as the currently playing. 4. Get bounds from filter 5. Stop and discard the extra graph 5. Apply bounds from MP side ( in the same way aspects ratios apply ). Good: Only small changes to the filter Bad : Cumbersome to implement. There might be some practical issues. [B]'Injection'[/B] Instead of having my filter in the graph all the time, i will investigate whether or not its feasible to use the following approach: 1. User requests crop 2. Pause graph 3. Insert AutoCrop filter 4. Start graph 5. After X frames, stop graph and get bounding box from autocropper 6. Remove autocropper. 7. Integrate the bounding box as a new aspect ratio etc. Good: No changes in filter Bad: Unlikely that decoderes can handle switching back and forth between hardware and software rendering. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
AutoCropper plugin
Contact us
RSS
Top
Bottom