Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd March 2009, 05:21   #1  |  Link
ViRGE
Registered User
 
Join Date: Feb 2007
Posts: 7
Feeding The Cyberlink MPEG2 Decoder w/DXVA In to Avisynth?

Hey all;

I'm wondering if anyone knows how to feed the Cyberlink MPEG2 decoder in to Avisynth, and to have it use DXVA acceleration. I have some 30fps pure-interlaced MPEG2 material that I'm trying to encode in to H.264, and I noticed that the Cyberlink decoder has an excellent bob filter for it; it generates 60fps out of the material and does significantly better (in my opinion at least) than weaving/blending that usually happens when I try to encode this material with AutoMKV and the like. I don't know what exactly it's doing, but the results are comparable to motion-comp bob deinterlacers like MCBob, but it's significantly faster (real-time vs. 5fps).

So what I would like to do is feed the Cyberlink decoder in to Avisynth, to have it decode and deinterlace the material before passing it on to x264 for encoding. I've tried setting up a filter graph chain with GraphEdit and feeding that in to Avisynth, and while I can come up with something that works as a chain it's missing any hardware acceleration. As a result the Cyberlink decoder uses its own internal software deinterlacer which isn't nearly as good.

So basically my question is: is there any way to set up a filter graph such that the Cyberlink decoder is still DXVA/hardware accelerated works with avisynth? I realize it's probably a crazy idea, but I'm stubborn and want to make it work if possible.

The video card, for anyone curious, is a GeForce 8800GTX.

Last edited by ViRGE; 3rd March 2009 at 05:25.
ViRGE is offline   Reply With Quote
Old 3rd March 2009, 05:28   #2  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
IIRC, you can't do this, because the GPU does all the work internally and then passes it out to the LCD.

You can take advantage of H.264 / VC1 decoding and deinterlacing via CUDA, but this requires neuron2's special tools. I don't think he has such a tool for MPEG-2 yet.

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 3rd March 2009, 05:58   #3  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
Quote:
Originally Posted by Blue_MiSfit View Post
You can take advantage of H.264 / VC1 decoding and deinterlacing via CUDA, but this requires neuron2's special tools. I don't think he has such a tool for MPEG-2 yet.
yes he does: http://forum.doom9.org/showthread.php?t=144867
__________________
custom x264 builds & patches | F@H | My Specs
kemuri-_9 is offline   Reply With Quote
Old 3rd March 2009, 06:25   #4  |  Link
ViRGE
Registered User
 
Join Date: Feb 2007
Posts: 7
Quote:
Originally Posted by Blue_MiSfit View Post
IIRC, you can't do this, because the GPU does all the work internally and then passes it out to the LCD.

You can take advantage of H.264 / VC1 decoding and deinterlacing via CUDA, but this requires neuron2's special tools. I don't think he has such a tool for MPEG-2 yet.

~MiSfit
The thought has occurred to me, but it was worth asking anyhow. All I really want to get my hands on is the deinterlacer (which I guess is the PureVideo hardware deinterlacer, rather than anything Cyberlink does).

Edit: And thanks for the link, kemuri-_9

Last edited by ViRGE; 3rd March 2009 at 06:31.
ViRGE is offline   Reply With Quote
Old 3rd March 2009, 21:10   #5  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Wow!

Well done neuron2

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.