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 > General > DVD2AVI / DGIndex

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th February 2014, 21:44   #21  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Sharc View Post
It produces jerky playback and blended frames.
It works in plain DGDecNV, however there are few duplicated frames (hard telecined?) which cause some jerkyness, but no blended frames in DGDecNV.
DGDecodeNV() and DGDecodeIM(engine=1) should act the same. I will investigate it.

Last edited by Guest; 16th February 2014 at 21:47.
Guest is offline   Reply With Quote
Old 16th February 2014, 22:01   #22  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by neuron2 View Post
Intel supports SW decoding also, so intuitively you wouldn't need an iGPU for that. Unless...even the SW support requires the appropriate Intel driver, which would not be installed on a system without an iGPU. We can do some tracing to see what is really true.
What driver are you referring to? I just tried engine=0 and I get the same crash. I assume there is something that needs to be installed.
rack04 is offline   Reply With Quote
Old 17th February 2014, 00:25   #23  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I'm talking about the Intel graphics driver. If you have an iGPU in your processor and you run Nvidia as your primary, you can still access QuickSync, but you have to enable the Intel GPU in the bios and then install the Intel driver as secondary. Then you will have both QuickSync and CUVID. I am still investigating what the situation is for Intel Media SDK in SW mode on a processor without an iGPU.
Guest is offline   Reply With Quote
Old 17th February 2014, 00:40   #24  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Reel.Deel View Post
Don't know if this is any help but my CPU is a i7-4930k (no integrated graphics).
Can you try installing the Intel Media SDK 2014 and let me know if that changes anything? There is this thing called a "mfx dispatcher" that calls the HW or the SW DLL. It seems the dispatcher is in the SDK. I'm just learning about this stuff along with you guys.

http://software.intel.com/en-us/vcso...ools/media-sdk

Also, can you try opening an AVC file with dgmvcsource() using SW mode (hw=1)?

Last edited by Guest; 17th February 2014 at 00:55.
Guest is offline   Reply With Quote
Old 17th February 2014, 01:00   #25  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,666
Quote:
Originally Posted by neuron2 View Post
Can you try installing the Intel Media SDK 2014 and let me know if that changes anything?
Is there another place where I can download this without registration?

Quote:
Originally Posted by neuron2 View Post
Also, can you try opening an AVC file with dgmvcsource() using SW mode (hw=1)?
Tried the latest version with hw=1 and it works. Used the sample that was included in the earlier betas.
Reel.Deel is offline   Reply With Quote
Old 17th February 2014, 01:13   #26  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Reel.Deel View Post
Is there another place where I can download this without registration?
It's not a big deal. If you want to be on the bleeding edge, you sometimes need to do the needful.

Nevertheless, you're right, it seems a bit much to require end users to install an SDK.

Quote:
Tried the latest version with hw=1 and it works. Used the sample that was included in the earlier betas.
That changes things in a very positive way. I will release a beta later today or tomorrow that allows you to force SW mode, and should get things working for you.

Thank you for the important test results!

Last edited by Guest; 17th February 2014 at 16:05.
Guest is offline   Reply With Quote
Old 17th February 2014, 08:38   #27  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Quote:
Originally Posted by neuron2 View Post
Also, can you try opening an AVC file with dgmvcsource() using SW mode (hw=1)?
That switch definition seems quite counter-intuitive, isn't it?
I'd expect that forcing software mode should be activated by either hw=0 or sw=1...
kypec is offline   Reply With Quote
Old 17th February 2014, 16:08   #28  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by kypec View Post
That switch definition seems quite counter-intuitive, isn't it?
I'd expect that forcing software mode should be activated by either hw=0 or sw=1...
The documentation explains that "hw" is an integer offering various choices and not a boolean. "hw" is renamed as "engine" for DGDecIM, and if you understand it that way I'm sure the confusion will dissolve away.

Last edited by Guest; 17th February 2014 at 18:15.
Guest is offline   Reply With Quote
Old 17th February 2014, 18:06   #29  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Here is beta 2 with expanded engine options. You can force SW for Intel, for example.

http://neuron2.net/misc/dgdecodeim_b2.zip

@Reel.Deel

This should fix your issue. I expect it to work either with Intel auto or Intel SW in your system. Please advise your results.

EDIT: Please use beta 3 and make sure you have libmfxsw32.dll co-located with dgdecodeim.dll.

Last edited by Guest; 17th February 2014 at 19:58.
Guest is offline   Reply With Quote
Old 17th February 2014, 18:16   #30  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
I assume I can test this software by using a computer with Nvidia card to index using DGDecNV and then transfer that index file to a laptop without a Nvidia card to test using iGPU?
rack04 is offline   Reply With Quote
Old 17th February 2014, 18:24   #31  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by rack04 View Post
I assume I can test this software by using a computer with Nvidia card to index using DGDecNV and then transfer that index file to a laptop without a Nvidia card to test using iGPU?
That will work as long as the paths in the DGI file are correct after moving to the laptop. You can edit the DGI file as needed or deselect 'use full paths' when you make the index file.

This will be moot soon as I am working on the stand-alone indexer.
Guest is offline   Reply With Quote
Old 17th February 2014, 19:19   #32  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by neuron2 View Post
Here is beta 2 with expanded engine options. You can force SW for Intel, for example.

http://neuron2.net/misc/dgdecodeim_b2.zip
engine=2 instantly crashes VirtualDub when I try it on the files I previously tested with. 0, 1 and 3 work okay.

Last edited by Stereodude; 17th February 2014 at 19:22.
Stereodude is offline   Reply With Quote
Old 17th February 2014, 19:26   #33  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
OK, thanks, checking...
Guest is offline   Reply With Quote
Old 17th February 2014, 19:27   #34  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
engine=2 works fine for me. Do you have the libmfxsw32.dll in the same place as dgdecodeim.dll?

I have added the libmfxsw32.dll to the ZIP and revised the Notes to mention it. If this turns out to be the reason for your crash I will fix up the error checking to be a little more helpful.

Last edited by Guest; 17th February 2014 at 19:34.
Guest is offline   Reply With Quote
Old 17th February 2014, 19:37   #35  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
OK, my bad...

I have to add the code to find libmfxsw32 as it is in DGMVCSource. For now, put it in the system dir and I will release a fixed beta.

Thanks for pointing this out.
Guest is offline   Reply With Quote
Old 17th February 2014, 19:41   #36  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by neuron2 View Post
engine=2 works fine for me. Do you have the libmfxsw32.dll in the same place as dgdecodeim.dll?

I have added the libmfxsw32.dll to the ZIP and revised the Notes to mention it. If this turns out to be the reason for your crash I will fix up the error checking to be a little more helpful.
I didn't have it. I wasn't aware that there was any requirement for an extra file. I have subsequently added it into C:\HDTV Tools\DGDecIM\ where DGDecodeIM.dll is, but the crash is the same.

Here's the crashinfo from VD.
Stereodude is offline   Reply With Quote
Old 17th February 2014, 19:44   #37  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by neuron2 View Post
I have to add the code to find libmfxsw32 as it is in DGMVCSource. For now, put it in the system dir and I will release a fixed beta.
So, that's C:\Windows\SysWOW64 on a x64 system... Works now.
Stereodude is offline   Reply With Quote
Old 17th February 2014, 19:48   #38  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Here is beta 3 with the correct dll loading code. Now the libmfxsw32.dll can be put with dgdecodeim.dll and you don't need to put it in the system directory.

http://neuron2.net/misc/dgdecodeim_b3.zip

Thanks again for your test results.
Guest is offline   Reply With Quote
Old 17th February 2014, 19:50   #39  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
For whatever it's worth, the Intel SW engine has all the same problems (lockup stepping backward and returning at least part of the the video offset by 1 frame) as the HW engine that I detailed in this post.
Stereodude is offline   Reply With Quote
Old 17th February 2014, 19:52   #40  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Stereodude View Post
Thanks. I'll look into it.
Guest is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:51.


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