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

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd August 2010, 09:43   #981  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by lych_necross View Post
I've noticed that while DiAVC plays H.264 files properly, using it makes MPC-HC sluggish. During playback, MPC's menus' respond to clicks very slowly and sometimes not at all. I checked my system's cpu usage during playback, at it is below 12%. My cpu is an Intel Core2 6400 btw. It should be noted that videos play just fine (no dropped or delayed frames). Is this normal?
Set the "decoder threads" to 2 in the property page, perhaps it helps.
schweinsz is offline   Reply With Quote
Old 22nd August 2010, 09:58   #982  |  Link
lych_necross
ZZZzzzz...
 
lych_necross's Avatar
 
Join Date: Jan 2007
Location: USA
Posts: 303
Quote:
Originally Posted by schweinsz View Post
Set the "decoder threads" to 2 in the property page, perhaps it helps.
That helped a lot. Thanks. Ideally, what should "decoder threads" be set to?
lych_necross is offline   Reply With Quote
Old 22nd August 2010, 09:58   #983  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
Quote:
Originally Posted by lych_necross View Post
I've noticed that while DiAVC plays H.264 files properly, using it makes MPC-HC sluggish.
This also happens to me, but only on Windows 7. On XP it works fine.
yesgrey is offline   Reply With Quote
Old 22nd August 2010, 10:51   #984  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by lych_necross View Post
That helped a lot. Thanks. Ideally, what should "decoder threads" be set to?
It depends on your CPU.
schweinsz is offline   Reply With Quote
Old 23rd August 2010, 07:59   #985  |  Link
lych_necross
ZZZzzzz...
 
lych_necross's Avatar
 
Join Date: Jan 2007
Location: USA
Posts: 303
Quote:
Originally Posted by schweinsz View Post
It depends on your CPU.
I was wondering how the decoder determines the # of threads in auto mode. Some like (# of cpu cores) + 1 == (# of threads) ?
lych_necross is offline   Reply With Quote
Old 24th August 2010, 17:46   #986  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by sneaker_ger View Post
No, still crashes.
With the previous version it would not instantly crash but instead show a few of the first frames. As it seems to attempt to play the file I'm not sure if the activation is the right spot to look at in finding a solution.
Download the new built DiAVC filter, try it with the UAC opening. I built the new version with the "UAC Execution Level"==RequireAdministrator. Perhaps it helps.
schweinsz is offline   Reply With Quote
Old 24th August 2010, 17:51   #987  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
I have finished all of the code related to the DiAVC x64 version. Here is a cmd version of it, everyone can test it. Unzip it and run the now1.bat, the raw YUV sequence will be generated.
I will release the trial version of the DiAVC x64 directshow filter recently.
schweinsz is offline   Reply With Quote
Old 24th August 2010, 17:59   #988  |  Link
Firebird
Registered User
 
Join Date: Mar 2008
Posts: 61
Tested, works fine. But for some reason i get different decoding speed each time i run this .bat, is it ok?
Firebird is offline   Reply With Quote
Old 24th August 2010, 18:05   #989  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by Firebird View Post
Tested, works fine. But for some reason i get different decoding speed each time i run this .bat, is it ok?
When the raw YUV is outputed, the speed is not correct because the multi-threading.
If you want to get the speed, change content of the now1.bat from "win32.exe tempete_704x480.264 tempete_704x480.yuv" to "win32.exe tempete_704x480.264".
schweinsz is offline   Reply With Quote
Old 24th August 2010, 18:06   #990  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
What improvement on speed can we expect ?
Underground78 is offline   Reply With Quote
Old 24th August 2010, 18:08   #991  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by schweinsz View Post
Download the new built DiAVC filter, try it with the UAC opening. I built the new version with the "UAC Execution Level"==RequireAdministrator. Perhaps it helps.
No. MPC-HC crashes.

Quote:
Originally Posted by schweinsz View Post
I have finished all of the code related to the DiAVC x64 version. Here is a cmd version of it, everyone can test it. Unzip it and run the now1.bat, the raw YUV sequence will be generated.
I will release the trial version of the DiAVC x64 directshow filter recently.
Test works fine.
sneaker_ger is offline   Reply With Quote
Old 24th August 2010, 18:27   #992  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by Underground78 View Post
What improvement on speed can we expect ?
I tested it against the DiAVC x86 version and found that the x64 version is slightly faster than the x86 version by 5%. But I only test one sequence.
schweinsz is offline   Reply With Quote
Old 24th August 2010, 19:42   #993  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by sneaker_ger View Post
No. MPC-HC crashes.
What user account do you use? The administrator or guest?
Does the DGAVCDecDI work?
schweinsz is offline   Reply With Quote
Old 24th August 2010, 20:10   #994  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by schweinsz View Post
What user account do you use? The administrator or guest?
I'm logged into Windows as an administrator. I tried starting MPC-HC using admin rights (right click->start with admin rights) and without (just double click).

Quote:
Originally Posted by schweinsz View Post
Does the DGAVCDecDI work?
I don't have a license so I can't test.
sneaker_ger is offline   Reply With Quote
Old 25th August 2010, 20:23   #995  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by sneaker_ger View Post
I'm logged into Windows as an administrator. I tried starting MPC-HC using admin rights (right click->start with admin rights) and without (just double click).
Ok, download the new test version, decode H.264 bitstreams using the MPC-HC or graphstudio until it crashes. Report me the result.
schweinsz is offline   Reply With Quote
Old 25th August 2010, 20:26   #996  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
I have gotten a report that the DiAVC x64 cmd version crashes on windows XP x64, So I provide a new version, download it and unzip it, run the now1.bat, feedback the result to me.
schweinsz is offline   Reply With Quote
Old 25th August 2010, 20:43   #997  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by schweinsz View Post
Ok, download the new test version, decode H.264 bitstreams using the MPC-HC or graphstudio until it crashes. Report me the result.
stage0
stage1
DiAVC init successed
start receive
start receive
start receive ... ("start receive" loops forever)

no crash

Quote:
Originally Posted by schweinsz View Post
I have gotten a report that the DiAVC x64 cmd version crashes on windows XP x64, So I provide a new version, download it and unzip it, run the now1.bat, feedback the result to me.
While the first x64 test already ran fine on my Windows 7 machine I noticed the following:
nHighestFeature 11
nLogicalProcessors 16
intelcpu 1 corenum 16 multithrd 1 decoders 16 inited!

Don't know if this is intended or if it should be 8 threads instead.

/edit: on my Core i7-860

Last edited by sneaker_ger; 25th August 2010 at 20:47.
sneaker_ger is offline   Reply With Quote
Old 25th August 2010, 22:12   #998  |  Link
xv
Registered User
 
Join Date: Mar 2010
Posts: 98
Quote:
Originally Posted by schweinsz View Post
I have gotten a report that the DiAVC x64 cmd version crashes on windows XP x64, So I provide a new version, download it and unzip it, run the now1.bat, feedback the result to me.
For me it didnīt crash (on Windows XP x64, Athlon 64 X2). I also checked the output file, seems ok, only the frame order doesnīt seem to be ok on the file you provided. I also tested some other files, no problem with them. The new version makes no difference for me, only more verbose output.

May I ask when you fix the comptability problem of DiAVC with DVBViewer?
xv is offline   Reply With Quote
Old 26th August 2010, 04:14   #999  |  Link
Fadeout
Registered User
 
Join Date: Dec 2009
Posts: 150
Quote:
Originally Posted by schweinsz View Post
Ok, download the new test version, decode H.264 bitstreams using the MPC-HC or graphstudio until it crashes. Report me the result.
This thing has its own exe, so how can one use it in MPC-HC?
Fadeout is offline   Reply With Quote
Old 26th August 2010, 04:34   #1000  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
It's for testing and debugging. The final version will be a filter.
Guest is offline   Reply With Quote
Reply

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

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


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