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 > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th January 2011, 20:29   #1201  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
@prokhozhijj: If Avisynth MT works with DSS2 but not DGSource, the problem is that Graft's code is not thread-safe. Fixing it would require code modifications to DGSource. One workaround you could try if you have sufficient memory would be splitting your script into four parts with the Trim() function and starting a new encoder process for each part.
Stephen R. Savage is offline   Reply With Quote
Old 5th January 2011, 20:48   #1202  |  Link
prokhozhijj
Registered User
 
Join Date: Feb 2009
Posts: 48
Quote:
Originally Posted by Stephen R. Savage View Post
One workaround you could try if you have sufficient memory would be splitting your script into four parts with the Trim() function and starting a new encoder process for each part.
Thank you. It looks like this is only solution.


Is there any way how to force to use multithreading in trial version of DiAVC? Neuron2 said that it is possible to turn on multithreading in DiAVC decoder. But I have no idea how to do it for trial version. May be some settings in registry?
__________________
CPU: Core 2 Quad q9505 RAM: 4G OS: Windows 7 64 Video: Nvidia Geforce 460 GTX VP4 AviSynth: 2.5.8

Last edited by prokhozhijj; 5th January 2011 at 23:35.
prokhozhijj is offline   Reply With Quote
Old 6th January 2011, 00:02   #1203  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
DiAVC is internally multi-threaded, but that has nothing to do with Avisynth MT, which creates multiple instances of filters (DGSource). There is a registry key that sets all DiAVC options, but it is encoded with some kind of bitmask, so it may be difficult to change the thread count by itself. However, the default behavior is to open 1.5 decoder threads per CPU (I think), and you do not need to change it. Your problem is with DGSource and its incompatibility with Avisynth MT. Besides, in the script that you posted, the vast majority of CPU time is spent in MVTools.

P.S. By all reports, calling SetMTMode(5) before DGSource is supposed to fix compatibility issues. Have you tried it?

Last edited by Stephen R. Savage; 6th January 2011 at 00:05.
Stephen R. Savage is offline   Reply With Quote
Old 6th January 2011, 10:26   #1204  |  Link
prokhozhijj
Registered User
 
Join Date: Feb 2009
Posts: 48
Quote:
Originally Posted by Stephen R. Savage View Post
P.S. By all reports, calling SetMTMode(5) before DGSource is supposed to fix compatibility issues. Have you tried it?
Of course I've tried. Just look on my previous post. It crashes. Even with new version that Donald just made.
__________________
CPU: Core 2 Quad q9505 RAM: 4G OS: Windows 7 64 Video: Nvidia Geforce 460 GTX VP4 AviSynth: 2.5.8
prokhozhijj is offline   Reply With Quote
Old 15th February 2011, 18:29   #1205  |  Link
WILLIS
Registered User
 
Join Date: Dec 2009
Posts: 24
are their any alternative gui interfaces that work alongside di-avc other than dg's decoder? does di-avc come with a native gui?
WILLIS is offline   Reply With Quote
Old 15th February 2011, 20:28   #1206  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by WILLIS View Post
are their any alternative gui interfaces that work alongside di-avc other than dg's decoder? does di-avc come with a native gui?
What kind of GUI do you need? DiAVC is implemented as a DirectShow Filter. It can (should) work with any DirectShow-based Player software you like, for example MPC-HC.

The purpose of DGAVCDecDI is making the DiAVC decoder available as a source filter in Avisynth - through it's native interface, rather than the DirectShow interface.

I'm not aware of any other software that is built on top of DiAVC's native interface. However there is an SDK available on the DiAVC web-site, so everybody could create such software.

But it has to be noted that for any DiAVC-based software each user would need to obtain a license of DiAVC first, as is the case with DGAVCDecDI...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 15th February 2011 at 20:53.
LoRd_MuldeR is offline   Reply With Quote
Old 24th February 2011, 22:22   #1207  |  Link
GREG1292
Registered User
 
Join Date: Aug 2007
Location: Fort Wayn,Indiana
Posts: 52
Sounds stupid but what does this codec in real world terms
gain me over CoreAvc when using frame doubling script,madvr.

How much will this lesson my cpu load. Don't know all the questions to ask but am just curious before I try it out so
I know what to expect?

Thanks Greg
GREG1292 is offline   Reply With Quote
Old 25th February 2011, 09:04   #1208  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by GREG1292 View Post
Sounds stupid but what does this codec in real world terms
gain me over CoreAvc when using frame doubling script,madvr.

How much will this lesson my cpu load. Don't know all the questions to ask but am just curious before I try it out so
I know what to expect?

Thanks Greg
The gain depends on your CPU. You can refer to my comparison.
When the CPU is Core 2 Duo, the gain is about 20%.
If the CPU is old, the gain is small.
schweinsz is offline   Reply With Quote
Old 25th February 2011, 21:33   #1209  |  Link
GREG1292
Registered User
 
Join Date: Aug 2007
Location: Fort Wayn,Indiana
Posts: 52
Quote:
Originally Posted by schweinsz View Post
The gain depends on your CPU. You can refer to my comparison.
When the CPU is Core 2 Duo, the gain is about 20%.
If the CPU is old, the gain is small.
I use an amd 1055t hex core which is newer and with
CoreAvc and frame doubling on my preferred script 88% cpu usuage. Trying
to figure if it will save me enough headroom on my
cpu or buy a i7
GREG1292 is offline   Reply With Quote
Old 26th February 2011, 03:42   #1210  |  Link
Episodio1
Registered User
 
Join Date: Feb 2002
Location: Spain
Posts: 198
GREG, you can download trial version and check for yourself.
Episodio1 is offline   Reply With Quote
Old 26th February 2011, 04:00   #1211  |  Link
lych_necross
ZZZzzzz...
 
lych_necross's Avatar
 
Join Date: Jan 2007
Location: USA
Posts: 303
Quote:
Originally Posted by GREG1292 View Post
I use an amd 1055t hex core which is newer and with
CoreAvc and frame doubling on my preferred script 88% cpu usuage. Trying
to figure if it will save me enough headroom on my
cpu or buy a i7
Cpu usage is not an accurate measure of performance. Try comparing the number of frames decoded per second between coreavc and diavc for an accurate measure of performance.
lych_necross is offline   Reply With Quote
Old 26th February 2011, 09:46   #1212  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by GREG1292 View Post
I use an amd 1055t hex core which is newer and with
CoreAvc and frame doubling on my preferred script 88% cpu usuage. Trying
to figure if it will save me enough headroom on my
cpu or buy a i7
You can download the DiAVC trial version, and register it by running "regsvr32.exe diavc.ax", then you can use it.
schweinsz is offline   Reply With Quote
Old 26th February 2011, 18:28   #1213  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
the trial version is numbered 1.2.3 but the regular version is numbered 1.2.2. Is the trial newer? What has changed?
yesgrey is offline   Reply With Quote
Old 27th February 2011, 09:21   #1214  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by yesgrey View Post
the trial version is numbered 1.2.3 but the regular version is numbered 1.2.2. Is the trial newer? What has changed?
I added a small feature named "low delay". If you playback video generally on local machine, don't choose it.
schweinsz is offline   Reply With Quote
Old 28th February 2011, 17:52   #1215  |  Link
Forfront
Registered User
 
Forfront's Avatar
 
Join Date: Jan 2011
Posts: 19
Quote:
Originally Posted by GREG1292 View Post
I use an amd 1055t hex core which is newer and with
CoreAvc and frame doubling on my preferred script 88% cpu usuage. Trying
to figure if it will save me enough headroom on my
cpu or buy a i7
GREG1292 ~ I have seen ur name before on the "frame doubling" thread on avsforum, do u still have a GTX 460??
Forfront is offline   Reply With Quote
Old 1st March 2011, 11:23   #1216  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
MBAFF Interlaced video

Greetings schweinsz.

DiAVC seems to have problems dealing with MBAFF interlaced video such as this Beyonce clip.

http://forum.doom9.org/showpost.php?...71&postcount=3
mariner is offline   Reply With Quote
Old 1st March 2011, 19:24   #1217  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by mariner View Post
MBAFF Interlaced video

Greetings schweinsz.

DiAVC seems to have problems dealing with MBAFF interlaced video such as this Beyonce clip.

http://forum.doom9.org/showpost.php?...71&postcount=3
What did you see? I play it and find the DiAVC deal with it fine.
schweinsz is offline   Reply With Quote
Old 1st March 2011, 20:17   #1218  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
It plays with no de-interlacing at 29.97 fps, like weave.
mariner is offline   Reply With Quote
Old 1st March 2011, 22:15   #1219  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
@GREG1292: CoreAVC will probably have lower total CPU usage due to PureVideo.

@mariner: DiAVC does no deinterlacing on its own. In an earlier post, schweinsz mentioned that it just sets DEINTERLACE_BOB for handling downstream.
Stephen R. Savage is offline   Reply With Quote
Old 3rd March 2011, 12:08   #1220  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
Quote:
Originally Posted by Stephen R. Savage View Post
@mariner: DiAVC does no deinterlacing on its own. In an earlier post, schweinsz mentioned that it just sets DEINTERLACE_BOB for handling downstream.
Thanks for the reply, Stephen.

What do you think caused the problem?
mariner is offline   Reply With Quote
Reply

Tags
avc, diavc, fastest decoder, h.264, software


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 15:00.


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