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 31st December 2009, 04:06   #381  |  Link
Fadeout
Registered User
 
Join Date: Dec 2009
Posts: 150
Even with the beta there's still the "bug" with subtitles appearing 370ms or so too soon, as if the video is delayed. Same as previous versions.
Fadeout is offline   Reply With Quote
Old 31st December 2009, 04:24   #382  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by yesgrey3 View Post
Here are my test results using an Intel E2160@2.7GHz with 1080p material:
[..]
So the new optimizations give ~10% better performance.
how much w/ the DivX decoder?

and that'd be interesting to measure the electricity consumption w/ a wattmeter...so we'd see if CUDA really has an edge over software decoding.
leeperry is offline   Reply With Quote
Old 31st December 2009, 04:48   #383  |  Link
Fadeout
Registered User
 
Join Date: Dec 2009
Posts: 150
Is Graphstudio ok to measure performance? View -> Decoder Performance

With a 1080p clip at L5.1 on a Core 2 Duo E8400:
DiAVC beta: 81.3 FPS
DiAVC alpha: 72.6 FPS
CoreAVC 2: 63.0 FPS

Athlon 64 3500+:
DiAVC beta: crashes!
DiAVC alpha: 24.6 FPS
CoreAVC 2: 22.3 FPS

But on the Athlon 64 the actual use shows a very slightly lower CPU usage fore CoreAVC and it seems to behave better overall, so I don't know.
Fadeout is offline   Reply With Quote
Old 31st December 2009, 07:41   #384  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Give my speed comparison.
Same sequences with the last comparison.
http://forum.doom9.org/showthread.ph...02#post1334702

My laptop: Core Duo T2350@1.86GHz, 1G RAM, FSB533MHz
DiAVC=DiAVC beta version 1
coreavc=coreavc2.0
timecodec, null renderer

air.mp4: 1920x1080, 5.2Mbps
DiAVC: User: 7s, kernel: 0s, total: 7s, real: 29s, fps: 286.9, dfps: 76.0
DIVX: User: 9s, kernel: 0s, total: 9s, real: 30s, fps: 245.4, dfps: 72.5
CoreAVC: User: 6s, kernel: 0s, total: 6s, real: 29s, fps: 339.5, dfps: 74.6

assembly.mp4: 1920x832, 5.5Mbps
DiAVC: User: 6s, kernel: 0s, total: 6s, real: 39s, fps: 379.3, dfps: 66.0
DIVX: User: 6s, kernel: 0s, total: 6s, real: 44s, fps: 397.5, dfps: 58.7
CoreAVC: User: 5s, kernel: 0s, total: 5s, real: 43s, fps: 450.4, dfps: 59.5

blue ray.mp4: 1920x1080, 22.9Mbps
DiAVC: User: 3s, kernel: 0s, total: 3s, real: 21s, fps: 303.3, dfps: 48.2
DIVX: User: 3s, kernel: 0s, total: 3s, real: 22s, fps: 287.2, dfps: 44.4
CoreAVC: User: 2s, kernel: 0s, total: 2s, real: 21s, fps: 381.7, dfps: 46.2

deep blue.mp4: 1440x1080, 18.9Mbps
DiAVC: User: 2s, kernel: 0s, total: 2s, real: 20s, fps: 353.1, dfps: 38.7
DIVX: User: 6s, kernel: 0s, total: 6s, real: 23s, fps: 118.0, dfps: 34.2
CoreAVC: User: 1s, kernel: 0s, total: 1s, real: 20s, fps: 469.7, dfps: 38.3

goldcurse2.mkv: 1920x1080, 29.3Mbps
DiAVC: User: 10s, kernel: 0s, total: 11s, real: 78s, fps: 278.0, dfps: 39.4
DIVX: User: 12s, kernel: 0s, total: 12s, real: 86s, fps: 250.2, dfps: 35.8
CoreAVC: User: 9s, kernel: 0s, total: 9s, real: 83s, fps: 338.0, dfps: 36.9

planet earth.mp4: 1920x1080, 11.7Mbps
DiAVC: User: 13s, kernel: 0s, total: 14s, real: 84s, fps: 295.3, dfps: 49.5
DIVX: User: 15s, kernel: 0s, total: 15s, real: 101s, fps: 264.0, dfps: 41.3
CoreAVC: User: 12s, kernel: 0s, total: 12s, real: 95s, fps: 330.9, dfps: 44.1

BillSample.mp4 (interlace): 1440x1080, 5.2Mbps
DiAVC: User: 1s, kernel: 0s, total: 1s, real: 12s, fps: 760.1, dfps: 106.7
DIVX: User: 2s, kernel: 0s, total: 2s, real: 12s, fps: 568.8, dfps: 104.6
CoreAVC: User: 1s, kernel: 0s, total: 1s, real: 12s, fps: 842.0, dfps: 110.8

withyou.mp4 (interlace): 1440x1080, 4.9Mbps
DiAVC: User: 25s, kernel: 1s, total: 26s, real: 98s, fps: 575.8, dfps: 155.2
DIVX: User: 30s, kernel: 0s, total: 30s, real: 105s, fps: 493.2, dfps: 145.3
CoreAVC: User: 20s, kernel: 0s, total: 20s, real: 98s, fps: 727.1, dfps: 154.8

kellylove.mp4 (interlace): 1920x1080, 27.4Mbps
DiAVC: User: 15s, kernel: 0s, total: 16s, real: 107s, fps: 289.4, dfps: 43.1
DIVX: User: 20s, kernel: 0s, total: 20s, real: 122s, fps: 228.8, dfps: 38.1
CoreAVC: User: 12s, kernel: 0s, total: 12s, real: 118s, fps: 375.0, dfps: 39.2
schweinsz is offline   Reply With Quote
Old 31st December 2009, 08:38   #385  |  Link
hxhxd
Registered User
 
Join Date: Aug 2009
Posts: 19
I have a very strange result:
Code:
coreavc 2.0
User: 2s, kernel: 0s, total: 2s, real: 3s, fps: 577.1, dfps: 415.0
User: 2s, kernel: 0s, total: 2s, real: 3s, fps: 563.8, dfps: 413.3

diavc
User: 2s, kernel: 0s, total: 2s, real: 4s, fps: 533.0, dfps: 356.0
User: 2s, kernel: 0s, total: 2s, real: 4s, fps: 573.7, dfps: 358.6

ffmpeg-mt
User: 24s, kernel: 0s, total: 24s, real: 24s, fps: 62.8, dfps: 62.5
User: 24s, kernel: 0s, total: 24s, real: 24s, fps: 63.1, dfps: 62.7

divx
User: 3s, kernel: 0s, total: 3s, real: 4s, fps: 482.9, dfps: 343.4
User: 3s, kernel: 0s, total: 3s, real: 4s, fps: 462.3, dfps: 344.6
Look at the ffmpeg-mt section.
ffdshow is the svn version from xvidvideo.ru. H264 decoder is ffmpeg-mt. Why the performace is so weak?

Edit:
system is hp 380G5, 2003 ent 32bit.

Last edited by hxhxd; 31st December 2009 at 08:40. Reason: add system info
hxhxd is offline   Reply With Quote
Old 31st December 2009, 08:40   #386  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Maybe multithreading isn't being activated?

Is it an interlaced sample? ffmpeg-mt won't work on PAFF H.264.
Dark Shikari is offline   Reply With Quote
Old 31st December 2009, 08:41   #387  |  Link
ForceX
Registered User
 
Join Date: Oct 2006
Posts: 150
DiAVC still seems to have a lot of problem with lower level (L1.1 Baseline/Main) AVCs. Such videos in FLV give green bars/corrupted videos. But after I extracted the streams and remuxed them in MKV it was fine, however, the extraced elementary H.264 stream run through Elecard Demuxer freezes on DiAVC. DivX doesn't have such issues.
ForceX is offline   Reply With Quote
Old 31st December 2009, 08:56   #388  |  Link
hxhxd
Registered User
 
Join Date: Aug 2009
Posts: 19
Quote:
Originally Posted by Dark Shikari View Post
Maybe multithreading isn't being activated?

Is it an interlaced sample? ffmpeg-mt won't work on PAFF H.264.
Thanks. FFDshow's default threads is set to 1.

When set it to 8, the result is:
Code:
User: 2s, kernel: 0s, total: 2s, real: 4s, fps: 518.8, dfps: 332.9
User: 2s, kernel: 0s, total: 3s, real: 4s, fps: 508.0, dfps: 332.9
FFDshow prevents me to set thread to 0.
hxhxd is offline   Reply With Quote
Old 31st December 2009, 12:11   #389  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by Fadeout View Post
Is Graphstudio ok to measure performance? View -> Decoder Performance

With a 1080p clip at L5.1 on a Core 2 Duo E8400:
DiAVC beta: 81.3 FPS
DiAVC alpha: 72.6 FPS
CoreAVC 2: 63.0 FPS

Athlon 64 3500+:
DiAVC beta: crashes!
DiAVC alpha: 24.6 FPS
CoreAVC 2: 22.3 FPS

But on the Athlon 64 the actual use shows a very slightly lower CPU usage fore CoreAVC and it seems to behave better overall, so I don't know.
The crashing on athlon64 is perhaps due to the wrong use for SSSE3.
schweinsz is offline   Reply With Quote
Old 31st December 2009, 14:45   #390  |  Link
ForceX
Registered User
 
Join Date: Oct 2006
Posts: 150
Quote:
Originally Posted by schweinsz View Post
The crashing on athlon64 is perhaps due to the wrong use for SSSE3.
No AMD CPUs support SSSE3. Athlon64 3500+ supports upto SSE3. If some function in DiAVC relies strictly on SSSE3 code with no fallback, it'll fail on AMD CPUs.
ForceX is offline   Reply With Quote
Old 31st December 2009, 18:04   #391  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
A new beta version is available:
changes:
Fix the bug related to low-resolution videoes
correct code for judge SSSE3
Fix a bug on parsing prefix-length sps
schweinsz is offline   Reply With Quote
Old 31st December 2009, 18:13   #392  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
The beta in your link (I suppose it's the lastest) is crashing here with a Pentium M and WinXP.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 31st December 2009, 18:19   #393  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by STaRGaZeR View Post
The beta in your link (I suppose it's the lastest) is crashing here with a Pentium M and WinXP.
Looks that there is a bug related to the single-thread. I will fix it as soon as possible.
schweinsz is offline   Reply With Quote
Old 31st December 2009, 19:45   #394  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by STaRGaZeR View Post
The beta in your link (I suppose it's the lastest) is crashing here with a Pentium M and WinXP.
Re-download it now, I added a protection to prevent the pentiumM from using SSSE3.
schweinsz is offline   Reply With Quote
Old 31st December 2009, 20:38   #395  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
@schweinsz: Wouldn't the correct way to handle this be to check the CPUFLAGS for the SSSE3 flag and only enable the code if it is present?
Stephen R. Savage is offline   Reply With Quote
Old 31st December 2009, 20:46   #396  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Quote:
Originally Posted by Stephen R. Savage View Post
@schweinsz: Wouldn't the correct way to handle this be to check the CPUFLAGS for the SSSE3 flag and only enable the code if it is present?
Previously I do this at the first release of the DiAVC beta, but two guys reports error, so I changed the code. I am not sure if the old cpu set that bit correctly.

I added a protection as follows:
__cpuid(nBuff, 0);
nHighestFeature = (u32)nBuff[0];
......
__cpuid(CPUInfo, 1);
nLogicalProcessors = ((CPUInfo[1] >> 16) & 0xff);
isSSSE3 = (CPUInfo[2]&0x200);
if(nProcessorType==AMD_CPU || nHighestFeature<=6) isSSSE3 = 0;

Last edited by schweinsz; 31st December 2009 at 20:48.
schweinsz is offline   Reply With Quote
Old 31st December 2009, 21:16   #397  |  Link
Fadeout
Registered User
 
Join Date: Dec 2009
Posts: 150
Redone tests. With a 1080p clip at L5.1 on a Core 2 Duo E8400.

DiAVC beta:
User: 2s, kernel: 0s, total: 2s, real: 18s, fps: 637.4, dfps: 79.7
User: 2s, kernel: 0s, total: 2s, real: 18s, fps: 604.0, dfps: 80.2
User: 2s, kernel: 0s, total: 2s, real: 18s, fps: 655.4, dfps: 79.7

CoreAVC2
User: 1s, kernel: 0s, total: 1s, real: 22s, fps: 770.1, dfps: 63.1
User: 1s, kernel: 0s, total: 1s, real: 23s, fps: 733.5, dfps: 62.7
User: 2s, kernel: 0s, total: 2s, real: 22s, fps: 655.4, dfps: 63.1

Still crashes on Athlon 64. And still problem with subtitles appearing too soon.
Fadeout is offline   Reply With Quote
Old 31st December 2009, 23:16   #398  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
A new version is uploaded.
The implementation of the single-thread decoding for old cpu is modified.
schweinsz is offline   Reply With Quote
Old 1st January 2010, 03:50   #399  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
It still crashes here. It's curious though, MPC loads the file, starts playing it and the crash report appears instantaneously. However MPC shows "Playing" and the time counter increases normally until you accept the crash popup. Black screen in the whole process.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 1st January 2010, 03:53   #400  |  Link
namaiki
Registered User
 
Join Date: Sep 2009
Location: Sydney, Australia
Posts: 1,073
What's the module at fault, if it says?
namaiki 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 22:27.


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