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 Encoder GUIs

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 6th November 2019, 21:07   #1161  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,815
BTW. Do you even need prefetch on such small numbers of cores? It would be funny if you got even higher fps without those extra AviSynth threads
Atak_Snajpera is offline  
Old 6th November 2019, 21:18   #1162  |  Link
Bahamuth
Registered User
 
Join Date: Dec 2003
Location: Germany
Posts: 78
I just stumbled over this:
http://www.chaneru.com/Roku/HLS/X264...gs.htm#threads
"Default: auto (frame based threads: 1.5 * logical processors, rounded down; slice based threads: 1 * logical processors)"

Could it be, that x264 is limiting itself? Should I tamper with this setting?
Bahamuth is offline  
Old 6th November 2019, 21:19   #1163  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by Atak_Snajpera View Post
BTW. Do you even need prefetch on such small numbers of cores? It would be funny if you got even higher fps without those extra AviSynth threads
Hahaha funny guy

Atak I believe what you're saying is true for your case your HW, and your scripts.

I've never seen a script or situation where "2" was worse speedwise than no prefetch (on a dual core at least, I guess) . It's just a bit of a pain to find the "ideal" prefetch value

Some people look at CPU usage, without measuring speed, it's a big mistake . Sometimes high CPU usage is thrashing, not "faster" processing or encoding
poisondeathray is offline  
Old 6th November 2019, 21:22   #1164  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,815
Quote:
Some people look at CPU usage, without measuring speed, it's a big mistake
I look at fps reported by AVSMeter...

Quote:
I just stumbled over this:
http://www.chaneru.com/Roku/HLS/X264...gs.htm#threads
"Default: auto (frame based threads: 1.5 * logical processors, rounded down; slice based threads: 1 * logical processors)"

Could it be, that x264 is limiting itself? Should I tamper with this setting?
vspipe is a problem (Does not send frames for encoder fast enough). For science run the same file in ripbot264 and show screenshot from process hacker just like before.
Atak_Snajpera is offline  
Old 6th November 2019, 21:23   #1165  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by Bahamuth View Post
I just stumbled over this:
http://www.chaneru.com/Roku/HLS/X264...gs.htm#threads
"Default: auto (frame based threads: 1.5 * logical processors, rounded down; slice based threads: 1 * logical processors)"

Could it be, that x264 is limiting itself? Should I tamper with this setting?
It should be ok autodetected; You can manually set --threads if you want

Can you switch to avs+ in staxrip ? Worth a try .

Atak is right in that something is bottlenecking in your vpy setup.
poisondeathray is offline  
Old 6th November 2019, 21:29   #1166  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by Atak_Snajpera View Post
I look at fps reported by AVSMeter...
Useful tool Atak, but synthethic tests do not necessarily reflect actual encoding performance.

If you look at avsmeter, varying prefetc, sometimes a much higher CPU% results in only a marginally higher FPS with lots of threads . That's probably similar to the "choking" you're referring to or "thrashing" I'm referring to. CPU usage% and FPS do not always relate 1:1 . Thrashing could be a bottleneck for CPU encoder.
poisondeathray is offline  
Old 6th November 2019, 21:47   #1167  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Can you switch to avs+ in staxrip ? Worth a try .
By design, you can change any setting at any time (Filters Menu > Filter Setup > AviSynth).
stax76 is offline  
Old 6th November 2019, 22:11   #1168  |  Link
Bahamuth
Registered User
 
Join Date: Dec 2003
Location: Germany
Posts: 78
With the old staxrip and avisynth (the setting I used with my old computer) x264 also does stay at around 40% of CPU usage.

With the Ripbot the encoding speed is around same (~140FPS) when setting preset slower. But CPU usage is again not fully utilized.
Please see image here (don't want to spam the thread)
Bahamuth is offline  
Old 6th November 2019, 22:18   #1169  |  Link
Bahamuth
Registered User
 
Join Date: Dec 2003
Location: Germany
Posts: 78
And with AviSynth+ it's not going really better: Image.

Contents of the AviSynth script:
Code:
LoadPlugin("C:\apps\video\StaxRip2\Apps\Plugins\Both\FFMS2\ffms2.dll")
FFVideoSource("C:\Users\Ezatoka\Desktop\Arpeggio of Blue Steel Ars Nova DC.m2v", colorspace = "YV12", \
              cachefile = "C:\Users\Ezatoka\Desktop\Arpeggio of Blue Steel Ars Nova DC_temp\Arpeggio of Blue Steel Ars Nova DC.ffindex")
#AssumeFPS(25)
Bahamuth is offline  
Old 6th November 2019, 22:43   #1170  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Probably what Atak said about too small resolution and QTGMC bottleneck . You can try 2 simultaneous encodes (or try GPU(CUDA) QTGMC variant if that is the bottleneck).
poisondeathray is offline  
Old 6th November 2019, 23:03   #1171  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,815
Quote:
Originally Posted by Bahamuth View Post
With the old staxrip and avisynth (the setting I used with my old computer) x264 also does stay at around 40% of CPU usage.

With the Ripbot the encoding speed is around same (~140FPS) when setting preset slower. But CPU usage is again not fully utilized.
Please see image here (don't want to spam the thread)
Did you activate deinterlacing? CPU usage by ffmpeg is too low.
Atak_Snajpera is offline  
Old 7th November 2019, 08:58   #1172  |  Link
Z'Hadum
Registered User
 
Join Date: Dec 2018
Posts: 23
Thank you for your work!

Quote:
Originally Posted by stax76 View Post
Thanks to everybody for testing and help with the updates.

Code:
2.0.5.3 Beta
------------

- update: mkvtoolnix 39
- update: mpv.net 5.4.3
- update: NVEnc 4.55

- fix: few UI issues
- fix: avs MCTemporalDenoise/GradFun2DBmod
- fix: VUI luminance issue
https://www.dropbox.com/sh/4ctl2y928...dd3yqcAHa?dl=0

https://1drv.ms/f/s!ArwKS_ZUR01gySQIE1QCL2i9F_uR
Can also confirm that the luminance issue is fixed.
The rest seems also to work for me....
Z'Hadum is offline  
Old 7th November 2019, 15:01   #1173  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
Ready for that new stable build
jlw_4049 is offline  
Old 7th November 2019, 17:15   #1174  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
The stable release 2.0.6.0 is online. Thanks to Patman and everybody else for posting tool updates, bug reports and suggestions.


Changelog:

https://github.com/staxrip/staxrip/b...r/changelog.md


Download:

https://github.com/staxrip/staxrip/releases
stax76 is offline  
Old 7th November 2019, 17:24   #1175  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
No change log for 2.0.6.0
Atlantis is offline  
Old 7th November 2019, 17:34   #1176  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
AviSynth+ has not been updated?

There is AviSynth+ 3.4.0
Atlantis is offline  
Old 7th November 2019, 17:38   #1177  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
Thanks for updating FFT3DFilter. I find it to be the fastest and best temporal noise reduction. It's more practical.
Atlantis is offline  
Old 7th November 2019, 17:54   #1178  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by Atlantis View Post
AviSynth+ has not been updated?

There is AviSynth+ 3.4.0
The main reason for why it wasn't updated is there is no small enough installer because the only installer available includes vcredist which is more than 20 MB, it's too large to include. I don't know if 3.4.0 is different from 2.7.7.2, it's likely that for staxrip both will work well.
stax76 is offline  
Old 7th November 2019, 18:02   #1179  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
It's only 27.2 MB. I think we can handle it with today's internet speeds even in countries with ADSL only.
For comparison, Firefox installer is 50 MB and VLC is 40 MB.

I don't understand the technical details maybe someone with knowledge should contact the AviSynth+ team and ask for a better installer? We don't need vcredist?

Last edited by Atlantis; 7th November 2019 at 18:04.
Atlantis is offline  
Old 7th November 2019, 18:03   #1180  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by Atlantis View Post
No change log for 2.0.6.0
Here is right changelog
__________________
Tools for StaxRip | x264 - x265
Patman is offline  
Closed Thread

Tags
aac, hdr, hevc, nvenc, staxrip, x264, x265

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


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