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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th September 2019, 04:18   #1001  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,983
Quote:
Originally Posted by videoh View Post
Oy, OK, I never wanted lsmash or any of that on my PC but I'll see what I can do for you. BTW, I have only a lowly 7700K @4.2GHz.
haha, not even to check out the emerging "competition" ?

What if you have some non supported video format by Nvidia/CUVID ?

Thanks
poisondeathray is offline   Reply With Quote
Old 25th September 2019, 10:35   #1002  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,235
Quote:
Originally Posted by videoh View Post
First test with your stream to x64:

DGSource + 2080 Ti: 4:30

That is to be compared to your 13:21 for SW.

Looks like a fine boost to me.
Facepalm.jpg . You can't even do proper testing like i did.

Last edited by Atak_Snajpera; 25th September 2019 at 10:38.
Atak_Snajpera is offline   Reply With Quote
Old 25th September 2019, 10:58   #1003  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 188
Quote:
Originally Posted by MeteorRain View Post
Actually this is the first time I noticed that's a q8200, which was launched 11 years ago.

This brings me the question. What kind of hardware spec range should we expect in daily benchmarks.
Shall we even care about how the performance is to encode x265 1080p on an 11 years old CPU?
Shall we focus on some more "modern" hardware?

IMHO, even E5v1 and SNB desktop series are considered a bit outdated now.
I have Sandy Bridge based notebook and it feels much slower in browsing or doing stuff in programs (in comparison to R9 3900X). Not to mention it's slow af for heavy encoding or filtering.
__________________
Me on GitHub | My Telegram
PC Specs: Ryzen 3900X (no OC with 250W Air cooling), Asus ROG Crosshair Hero VII (WiFi) @ chipset x470, 32 GB RAM @ 3333MHz OC, Gigabyte RTX 2070, Kingston A1000 @ 240 GB
DJATOM is offline   Reply With Quote
Old 25th September 2019, 11:40   #1004  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,235
Quote:
Originally Posted by DJATOM View Post
I have Sandy Bridge based notebook and it feels much slower in browsing or doing stuff in programs (in comparison to R9 3900X). Not to mention it's slow af for heavy encoding or filtering.
I have Sandy bridge xeon e5-2690 and IT is as good as ryzen 1700. Comparing low clocked CPU in notebook with desktop 105w CPU is just silly.
Atak_Snajpera is offline   Reply With Quote
Old 25th September 2019, 11:50   #1005  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 188
Indeed it's just i7-2670QM with 2.2-3.1 (boost) GHz, but user experience differs even if I will set saving plan on Ryzen. 2.2 GHz at 3900X feels much faster in browser (that's my most common usage for notebook). Since both devices using SSD, I think it differs due to RAM frequency.
__________________
Me on GitHub | My Telegram
PC Specs: Ryzen 3900X (no OC with 250W Air cooling), Asus ROG Crosshair Hero VII (WiFi) @ chipset x470, 32 GB RAM @ 3333MHz OC, Gigabyte RTX 2070, Kingston A1000 @ 240 GB
DJATOM is offline   Reply With Quote
Old 25th September 2019, 13:17   #1006  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,235
Quote:
Originally Posted by DJATOM View Post
Indeed it's just i7-2670QM with 2.2-3.1 (boost) GHz, but user experience differs even if I will set saving plan on Ryzen. 2.2 GHz at 3900X feels much faster in browser (that's my most common usage for notebook). Since both devices using SSD, I think it differs due to RAM frequency.
Im also sure that you disabled those extra cores/threats...
Atak_Snajpera is offline   Reply With Quote
Old 25th September 2019, 15:33   #1007  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,000
Second test:

DGSource() 2080 Ti + x264 7700K: 4:28
LWLibavVideoSource() + x264 7700K: 4:57
Preset medium

That's about an 11% improvement on GPU versus doing everything on my fairly strong CPU.

I have always pointed out that the gain you can get will depend on how strong your processor is. And I have also pointed out that DG tools bring other things to the table, such as robust random access, GPU resizing, some CUDA filters, DGIndexNV as a useful analysis tool in its own right, etc. With over 15000 paid users, I'm not worried about justifying the existence of DG tools.

I'll do another test with UHD. It will be interesting to see how things scale with frame size.

Last edited by videoh; 25th September 2019 at 15:55.
videoh is offline   Reply With Quote
Old 25th September 2019, 15:49   #1008  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,235
Quote:
I have always pointed out that the gain you can get will depend on how strong your processor is.
Not really. On my weak PC delta is ~9% in default medium x264 preset.


On your much more powerful CPU (7700k@4.2Ghz) and GPU (RTX 2080TI) delta is ~11%. Your ultra expensive ~$1200 GPU with 4xfaster hardware decoding than ancient GT 710 kepler for $40 gives you only +2 percent points extra in video encoding. That's just pathetic.

Last edited by Atak_Snajpera; 25th September 2019 at 15:54.
Atak_Snajpera is offline   Reply With Quote
Old 25th September 2019, 16:03   #1009  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,235
Quote:
Originally Posted by videoh View Post
710 is garbage so your results are pointless. So sorry you're too poor to buy decent hardware.
Oh finally you said it! That's what I wanted to hear from you! Old good Neuron2 (aka banned doom9 moderator) is back!

PS. HA! got ya! I was faster this time and I managed to quote your deleted comment! Not this time amigo!

Last edited by Atak_Snajpera; 25th September 2019 at 16:05.
Atak_Snajpera is offline   Reply With Quote
Old 25th September 2019, 16:07   #1010  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,000
I don't care what you quote, and your childish behavior doesn't move me at all. Grow up.

To be fair, I would encode on my snazzy 2080 Ti also. And the 2080 Ti is bringing me other things that are quite useful for me, such as tensor cores, massive number of CUDA cores for my physics simulations, etc. No matter how you blow smoke, I get an 11% improvement for your use case. It would be brain-dead for me not to choose DGSource() over LWLibavVideoSource().

You sound bitter because you can't afford decent hardware, although your post above suggests simple DG derangement syndrome.

Last edited by videoh; 25th September 2019 at 16:28.
videoh is offline   Reply With Quote
Old 25th September 2019, 16:16   #1011  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 188
Actually GT 710 is almost deprecated card. You will lose driver updates soon (from April 2020). Not to mention it's only ok for decoding 8 bit AVC, while RTX cards (or GTX 1660/1660Ti cards) has bleeding edge decoder, which significantly faster and supports more formats (HEVC 8/10/12 bit, VP9 8 and 10 bit).
__________________
Me on GitHub | My Telegram
PC Specs: Ryzen 3900X (no OC with 250W Air cooling), Asus ROG Crosshair Hero VII (WiFi) @ chipset x470, 32 GB RAM @ 3333MHz OC, Gigabyte RTX 2070, Kingston A1000 @ 240 GB
DJATOM is offline   Reply With Quote
Old 25th September 2019, 16:20   #1012  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,235
Quote:
Originally Posted by DJATOM View Post
Actually GT 710 is almost deprecated card. You will lose driver updates soon (from April 2020). Not to mention it's only ok for decoding 8 bit AVC, while RTX cards (or GTX 1660/1660Ti cards) has bleeding edge decoder, which significantly faster and supports more formats (HEVC 8/10/12 bit, VP9 8 and 10 bit).
You do realize that ancient GT 710 is just for showing desktop right? It was not bought for games or 4k HEVC movies. Instead of changing topic we should focus on facts. 4xfaster video engine gives you in real life encoding scenarios only +2 extra percent points versus something what costs $40.

Ps. And yes If you want you can also call me poor like videoh aka Neuron2 did in his post. I'm too old for this childish talking.

Last edited by Atak_Snajpera; 25th September 2019 at 16:25.
Atak_Snajpera is offline   Reply With Quote
Old 25th September 2019, 16:41   #1013  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,000
That's "neuron2", pal. Get it right!
videoh is offline   Reply With Quote
Old 25th September 2019, 16:42   #1014  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,983
Thanks for the testing results,

@videoh -
How about LWLibavVideoSource(decoder="h264_cuvid") on the same hardware? I'd expect similar speeds as DGSource

Last edited by poisondeathray; 25th September 2019 at 16:50.
poisondeathray is offline   Reply With Quote
Old 25th September 2019, 16:51   #1015  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 188
I'm trying to be on topic

Quote:
Originally Posted by Atak_Snajpera View Post
You do realize that ancient GT 710 is just for showing desktop right? It was not bought for games or 4k HEVC movies. Instead of changing topic we should focus on facts. 4xfaster video engine gives you in real life encoding scenarios only +2 extra percent points versus something what costs $40.
While your ancient card only good for showing desktop, RTX card (for example, mine RTX 2070) can do OpenCL/CUDA computations, offloading a lot of work (for example, NNEDI3CL or EEDI3CL) from CPU. I've tried GTX750, 760, 1050, 2060 and 2070 cards with those filters: with decent CPU GTX 750, 760 and 1050 was a bottleneck for my filtering chain (thus slowing down encoder).
If you don't have to use heavy filtering, there is not much benefit from better card or GPU decoding at all (with slower presets), but when you have to do a lot of encodes, it definitely wins some time for you. Even your tests shows a benefit from using GPU decoder.
__________________
Me on GitHub | My Telegram
PC Specs: Ryzen 3900X (no OC with 250W Air cooling), Asus ROG Crosshair Hero VII (WiFi) @ chipset x470, 32 GB RAM @ 3333MHz OC, Gigabyte RTX 2070, Kingston A1000 @ 240 GB
DJATOM is offline   Reply With Quote
Old 25th September 2019, 16:53   #1016  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 621
Quote:
Originally Posted by Atak_Snajpera View Post
On your much more powerful CPU (7700k@4.2Ghz) and GPU (RTX 2080TI) delta is ~11%. Your ultra expensive ~$1200 GPU with 4xfaster hardware decoding than ancient GT 710 kepler for $40 gives you only +2 percent points extra in video encoding. That's just pathetic.
People buy a house not because they want to have a slightly bigger closet in their room than your condo. People buy a RTX 2080Ti not because they want to show how 1% of its processing power improves 2% of the portion.

Your $1200 GPU argument makes no sense because its just a card he has. I have a $60 worth of GTX 950 and I can get exactly the same decoding speed that he got, and thus the same result. Saying people are pathetic buying a 1 million dollar house by comparing how big the closet is, is IMHO so funny that I literally laughed out load when I saw your words.

If you really want to see how big the difference that graphics card can do, decode and scale down some UHD to 1080P or 720P and check how big of the portion those card can take over. Even worse, I've got a 8K 60fps HEVC 10bit TV broadcasting stream that my freshly bought Ryzen 3600 can barely playback at 5 fps full CPU load. You want to see how $1200 GPU works compared to your $40 card? Try those. It can decode, downscale, process the image and then output to AviSynth at > 60 fps, comparing to, let's say, 3 fps on a 6 core CPU sold this year.
MeteorRain is offline   Reply With Quote
Old 25th September 2019, 16:58   #1017  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,000
Quote:
Originally Posted by poisondeathray View Post
How about LWLibavVideoSource(decoder="h264_cuvid") on the same hardware? I'd expect similar speeds as DGSource
Yes, indeed:

4:30

So maybe need to retract my point about being brain-dead not to choose DGSource() here, but the main point still applies, I'd be brain-dead not to choose GPU decoding.

To answer your earlier question...I haven't run into any files that DGSource() cannot open and that I needed to do anything with. Surely, if such files became important for me or my users I would first want to add support in DGDecNV but failing that, of course would revert to an appropriate SW decoder.

Last edited by videoh; 25th September 2019 at 17:20.
videoh is offline   Reply With Quote
Old 25th September 2019, 16:59   #1018  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 188
Quote:
Originally Posted by poisondeathray View Post
Thanks for the testing results,

@videoh -
How about LWLibavVideoSource(decoder="h264_cuvid") on the same hardware? I'd expect similar speeds as DGSource
I've measured some fps for certain sources (with vsedit's benchmark).

8bit AVC (.m2ts from BD)
Code:
Time elapsed: 1:05.696 - 547.85574001840120672568 FPS # DGSource
Time elapsed: 1:04.261 - 560.09428731059801975789 FPS # LWLibAvSource
10bit HEVC (.hevc ES)
Code:
Time elapsed: 1:17.304 - 465.58912373251257577067 FPS # DGNV
Time elapsed: 1:24.014 - 428.40612414457933709855 FPS # LWLibAvSource
__________________
Me on GitHub | My Telegram
PC Specs: Ryzen 3900X (no OC with 250W Air cooling), Asus ROG Crosshair Hero VII (WiFi) @ chipset x470, 32 GB RAM @ 3333MHz OC, Gigabyte RTX 2070, Kingston A1000 @ 240 GB
DJATOM is offline   Reply With Quote
Old 25th September 2019, 17:02   #1019  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,235
Quote:
Saying people are pathetic buying a 1 million dollar house by comparing how big the closet is, is IMHO so funny that I literally laughed out load when I saw your words.
Where did I write that?! Show me! You are now just spreading fake news. Not cool bro!
Atak_Snajpera is offline   Reply With Quote
Old 25th September 2019, 17:04   #1020  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 621
Quote:
Originally Posted by Atak_Snajpera View Post
Where did I write that?! Show me! You are now just spreading fake news. Not cool bro!
You are so funny.
MeteorRain 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 01:42.


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