Log in

View Full Version : RipBot264 v1.18.3 - Simple and easy to use GUI -> IPOD . PSP . CONSOLES . BLURAY


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 [397] 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429

Atak_Snajpera
5th December 2022, 17:10
if i wasnt on such crap money i would just let it run, but im now looking at using works pc to do the encodes. the problem i have is a typical 2hr movie takes about 24hrs on my i5 10th gen.

Can you check if WAKE function even works on your PC?

Try this
1) open Task Scheduler
2) create new task
https://i.postimg.cc/ht4x1w9S/Untitled-1.png
3) Type WorkHours as name
https://i.postimg.cc/MpsBPDD1/Untitled-2.png
4) Click triggers tap -> new -> specify time
https://i.postimg.cc/wvNsBddk/Untitled-3.png
5) Actions -> start program -> rundll32.exe
https://i.postimg.cc/mrJHRgKD/Untitled-4.png
6) Conditions -> Wake the computer ...
https://i.postimg.cc/FzQkdnrX/Untitled-5.png

Now suspend your PC.

guest
8th December 2022, 02:31
This is targeted at the standard version(s)...

This will update the main components of the program, and nothing else.

https://www.mediafire.com/file/x110q55ub25wm47/update+package+for+RipBot264.7z/file

please read the two included .txt files.

Stay tuned for updated & revised PD builds, coming soon..

Ryushin
8th December 2022, 12:50
So I got the Ryzen 7950x installed in the computer on Monday night I've been testing RB against it using many different threading options which I'll post at the end of the message.

Instead of reading through all the options, my threading options (for me) are as follows:
Two Encoding Servers
Set x264/x265 threads to 16: /x265-threads 16 /x264-threads 16 (RB default is 16 for the 7950x)
Set Avisynth Threads to 12: (In settings, use multiple processing threads) (RB default is 16 for the 7950x)

Last night I down clocked the Ryzen 7950x to all cores at 4700Mhz based on this information:
https://www.youtube.com/watch?v=7JiYAwKIHRY
My silicon is probably not as good as the one in the video or my motherboard and memory (running at 6000Mhz) won't me reach the same as the video. Though I might just have to do some more tuning. Right now I'm giving up 7% of the processors power to save more than double the power savings. AMD (and Intel for that matter) are really chasing every last bit of performance no matter the power costs.

Stock Power Consumption and Temperature:
Idle: 38 watts, 46 Celsius
Full Load:175 watts, 94.5 Celsius

Underclocked Power Consumption and Temperature:
Clock Speed: 4700 Mhz, Voltage: 1.005 volts
Idle: 8 watts, 40 Celsius,
Full Load: 88 watts, 58 Celsius

So essentially, in my case, I loose 7% of the maximum performance of the CPU, to save double the power savings at full load and five times the power savings at idle. I also noticed, at default power settings, full load had half of the cores at 5.1Ghz, while other half was at 4.8Ghz. I have not done any RB thread testing under the Underclocked settings yet as I still want to do some more tweaking and I'm hoping to hit that 4.8Ghz at 0.985 volts, the same as the video. I'm only encouraged going down this route.

BTW, the 7950x requires a 360mm or larger AIO (All In One) Cooler to stay within it's thermal limits. I chose the Fractal Design Celsius S36 360mm for my system, based on cost. But a 420mm cooler would be best:
https://www.youtube.com/watch?v=8kckURYqTKI

I had to buy a Phanteks Enthoo Primo PH-ES813P_SWT case to hold my four optical drives and provide enough room to go up to 420mm cooler. I still chose the 360mm based on cost. I thought the 360mm would be plenty. But there is still headroom that the 420mm gives you if you are going to run it at full tilt. With me underclocking the CPU, the 360mm is more than adequate. But still the 420 is the best option.

Here are all my RipBot thread tests and notes I wrote during testing:
RipBot264 default threads for Ryzen 7950x:
x264/x265 threads: 16
Avisynth Threads: 16
Encoding used for all tests: CQ18

4K Tests:
Source 3 Minutes: Top Gun Maverick 4K with changing aspect ratios (7:00 to 10:00)
No Degraining
One Encoding Server
x265 16 Threads: 5m:32s (13.01 fps)
x265 24 Threads: 4m:20s (16.62 fps)
x265 32 Threads: 4m:10s (17.28 fps)

Source 6 Minutes: Top Gun Maverick 4K with changing aspect ratios (7:00 to 13:00)
No Degraining
Two Encoding Servers
x265 16 Threads: 8m:7s (17.74 fps)


Source 3 Minutes: Top Gun Maverick 4K with changing aspect ratios (7:00 to 10:00)
SMDegrain Medium Setting: SMDegrain(video,tr=4,thSAD=400,thSADC=200,contrasharp=true,prefilter=1,refinemotion=true)
x264/x265 Threads: 16

Single Encoding Server and single chunk.
06 Avisynth Threads: 8m:04s (8.92 fps)
07 Avisynth Threads: 7m:20s (9.82 fps)
08 Avisynth Threads: 6m:45s (10.67 fps)
10 Avisynth Threads: 6m:46s (10.64 fps)
12 Avisynth Threads: 6m:36s (10.90 fps)
14 Avisynth Threads: 6m:33s (10.99 fps)
16 Avisynth Threads: 12m:30s (5.73 fps)
Noticed the CPU usage had been climbing from 50% for 8 threads to 100% for 16 threads. 16 threads also showed fluctuations from 30-100%. Theory is some threads are waiting on other threads to finish processing before they can continue.


Source 6 Minutes: Top Gun Maverick 4K with changing aspect ratios (7:00 to 13:00)
SMDegrain Medium Setting: SMDegrain(video,tr=4,thSAD=400,thSADC=200,contrasharp=true,prefilter=1,refinemotion=true)
x264/x265 Threads: 16

Two Encoding Servers and two chunks (3 minutes each).
06 Avisynth Threads: 12m:09s (11.85 fps)
07 Avisynth Threads: 12m:09s (11.85 fps)
08 Avisynth Threads: 12m:13s (11.79 fps)
10 Avisynth Threads: 12m:55s (11.15 fps)
12 Avisynth Threads: 12m:51s (11.21 fps)
14 Avisynth Threads: 13m:15s (10.87 fps)
16 Avisynth Threads: 14m:37s (9.85 fps)
Not much of an improvement compared to single threads, even starting from 6 threads.


Source 3 Minutes: Top Gun Maverick 4K with changing aspect ratios (7:00 to 10:00)
SMDegrain Medium Setting: SMDegrain(video,tr=4,thSAD=400,thSADC=200,contrasharp=true,prefilter=1,refinemotion=true)
Set x264/x265 threads to 32: /x265-threads 32 /x264-threads 32

Single Encoding Server and single chunk.
08 Avisynth Threads: 7m:45s (9.29 fps)
10 Avisynth Threads: 7m:04s (10.19 fps)
12 Avisynth Threads: 6m:50s (10.54 fps)
13 Avisynth Threads: 7m:00s (10.29 fps)
14 Avisynth Threads: 6m:53s (10.56 fps)
16 Avisynth Threads: 10m:45s (6.70 fps)


Source 3 Minutes: Top Gun Maverick 4K with changing aspect ratios (7:00 to 10:00)
SMDegrain Medium Setting: SMDegrain(video,tr=4,thSAD=400,thSADC=200,contrasharp=true,prefilter=1,refinemotion=true)
Set x264/x265 threads to 24: /x265-threads 24 /x264-threads 24

Single Encoding Server and single chunk.
08 Avisynth Threads: 7m:35s (9.49 fps)
10 Avisynth Threads: 6m:57s (10.40 fps)
12 Avisynth Threads: 6m:40s (10.80 fps)
14 Avisynth Threads: 6m:25s (11.22 fps)
16 Avisynth Threads: 10m:56s (6.59 fps)


Summary Best 4K Results:
Two Encoding Servers with 16 x264/x265 threads and 6-8 Avisynth threads. Note using the RipBot default of 16 avisynth threads is the slowest with all tests.


1080P Tests:
Source 6 Minutes: Cast Away HD (23:07 to 29:17)
No Degraining
Two Encoding Servers
x265 16 Threads: 3m:29s (42.49 fps)


Source 6 Minutes: Cast Away HD (23:07 to 29:17)
SMDegrain Hard Setting: SMDegrain(video,tr=8,thSAD=800,thSADC=400,contrasharp=true,prefilter=2,refinemotion=true)
Set x264/x265 threads to 16: /x265-threads 16 /x264-threads 16

Two Encoding Servers and two chunks (3m:0s first, 3m:10s second).
06 Avisynth Threads: 11m:51s (12.49 fps)
08 Avisynth Threads: 10m:05s (14.68 fps)
10 Avisynth Threads: 9m:58s (14.85 fps)
12 Avisynth Threads: 8m:50s (16.75 fps)
14 Avisynth Threads: 8m:48s (16.82 fps)
16 Avisynth Threads: 8m:56s (16.57 fps)


Atak's x265 Benchmark Tool:
Ryzen 1800x: encoded 2500 frames in 108.78s (22.98 fps), 7025.74 kbps, Avg QP:37.21
Ryzen 7950x: encoded 2500 frames in 21.74s (115.00 fps), 7025.74 kbps, Avg QP:37.21

guest
8th December 2022, 13:10
So I got the Ryzen 9750x installed in the computer on Monday night

Hi Ryushin,

So there is SO much info here, and tbh, I don't understand much of it.

But I have to confess, I have not used my 7950X yet :eek:

But these Avisynth Thread settings & x264/x265 Threads settings, are they the new option in the Encoder command line ??

I have been using the Affinity settings on the 3950X & 5950X, that rlev11 documented a while back.

So, I'm going to have to look into this, soon, I guess.

Ryushin
8th December 2022, 13:25
Hi Ryushin,

First of all mate, you need to stop calling it a 9750X.

So there is SO much info here, and tbh, I don't understand much of it.

But I have to confess, I have not used my 7950X yet :eek:

But these Avisynth Thread settings & x264/x265 Threads settings, are they the new option in the Encoder command line ??

I have been using the Affinity settings on the 3950X & 5950X, that rlev11 documented a while back.

So, I'm going to have to look into this, soon, I guess.

Fixed the 9750x to 7950x in my post. Not sure why I kept saying that. LOL

I'm not using any of the affinity settings, just the thread settings. So the x264/x265 threads settings is in the Encoding server command line options.

Essentially, using the default RB Avisynth threads of 16 for the 7950x has the FPS fall off a cliff with 4K content. Dialing it back to 12 gives the best overall performance with 4K and 1080p content.

The underclocking might be of serious interest for those running solar or off grid.

guest
8th December 2022, 14:04
Fixed the 9750x to 7950x in my post. Not sure why I kept saying that. LOL

I'm not using any of the affinity settings, just the thread settings. So the x264/x265 threads settings is in the Encoding server command line options.

Essentially, using the default RB Avisynth threads of 16 for the 7950x has the FPS fall off a cliff with 4K content. Dialing it back to 12 gives the best overall performance with 4K and 1080p content.

The underclocking might be of serious interest for those running solar or off grid.

You must have quoted my post while I edited mine...

Have you read my 7950X post ??

https://forum.doom9.org/showthread.php?p=1979340#post1979340

So the Affinity settings do the same thing, setting it back to 12 cores, but I guess if you want to do it that way, that's your choice :)

So you must be using this setting :-

Server1CommandLine=/port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12

And with the settings on the Main page :-

Use multiple processing threads..."0" ??

Limit to following filters only (checked or unchecked) ??

Ryushin
8th December 2022, 16:04
You must have quoted my post while I edited mine...

Have you read my 7950X post ??

https://forum.doom9.org/showthread.php?p=1979340#post1979340

So the Affinity settings do the same thing, setting it back to 12 cores, but I guess if you want to do it that way, that's your choice :)

So you must be using this setting :-

Server1CommandLine=/port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12

And with the settings on the Main page :-

Use multiple processing threads..."0" ??

Limit to following filters only (checked or unchecked) ??

Atak fixed that bug, so setting Use multiple processing threads to 12 sets the avisynth-prefetch-threads 12 in the Encoding Servers Wrench.

Setting the encoder threads this way I have 16 x264/x265 threads and 12 avisynth threads. I think this gave me the best results. Though I did not test limiting to 12 threads for x264/x265 as that that seems to like threading.

guest
9th December 2022, 04:29
Atak fixed that bug, so setting Use multiple processing threads to 12 sets the avisynth-prefetch-threads 12 in the Encoding Servers Wrench.

Setting the encoder threads this way I have 16 x264/x265 threads and 12 avisynth threads. I think this gave me the best results. Though I did not test limiting to 12 threads for x264/x265 as that that seems to like threading.

I sent you a PM regarding this, but I think I have now figured it out...

So something like this, then :-

Server1CommandLine=/port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16
Server2CommandLine=/port 2000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16

OR

Server1CommandLine=/port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 12 /x265-threads 12
Server2CommandLine=/port 2000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 12 /x265-threads 12

guest
9th December 2022, 05:40
Well, after about a week of re-hashing, re-configuring & updating the builds, they are ready to go...again :eek:

Lot's of important installation instruction's & hint's.

So PLEASE read them, it can prevent any problems.

More Filter's in the "full" PD build than before, including :-
Anime filters
Debanding filters
Dehaloing filters
De-interlacing filters
Derainbowing filters
Deringing filters
Resizing filters
Sharpening filters
and some special combo filter scripts, mainly for Anime type video's..
https://www.mediafire.com/file/bdkj1cwr91scg2u/RipBot264_PD+(08-12-22).7z/file (500Mb)

More info in the changelog.txt


Please Note:-

The PD_Lite build, has many component updates, but limited SMDegrain filter scripts available, ready to use, and that's all you get. :p
https://www.mediafire.com/file/bz3tmk78srl2wqq/RipBot264_PD_Lite_%252808-12-22%2529.7z/file (410Mb)

More info in the changelog.txt

Good luck..

Ryushin
9th December 2022, 10:04
I sent you a PM regarding this, but I think I have now figured it out...

So something like this, then :-

Server1CommandLine=/port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16
Server2CommandLine=/port 2000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16

OR

Server1CommandLine=/port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 12 /x265-threads 12
Server2CommandLine=/port 2000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 12 /x265-threads 12

The first one:
Server1CommandLine=/port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16
Server2CommandLine=/port 2000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16

I was surprised at first with the testing as I thought I could use just one encoding server instead of two. For 4K sources, one encoding server is nearly adequate. But with HD sources, two encoding servers needed to be used.

guest
9th December 2022, 10:51
The first one:
Server1CommandLine=/port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16
Server2CommandLine=/port 2000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16

I was surprised at first with the testing as I thought I could use just one encoding server instead of two. For 4K sources, one encoding server is nearly adequate. But with HD sources, two encoding servers needed to be used.

Thanks,

I will give that a try, when I get around to firing up the 7950X.

rlev11
9th December 2022, 16:53
So a quick test comparing fps on 4k stuff using either the affinity mask or the avisynth-prefetch-threads setting them to 12 on my 16 core ryzens (1-3950x,3-5950x,1-7950x). About halfway thru a 4k movie once everything settles out, the total fps showing on the distributed encoding window are very similar between them. Within a couple fps in the 70-72 fps range. If these numbers hold up for 1080p stuff, this will help me out as I won't have to have 2 separate command batch files for the encoding servers and switch between them when doing 4k and anything else. I can just start everything with the prefetch numbers and be done with it. (720 and 1080 stuff runs much faster without the affinity mask set to 12 cores)

I encode everything to 10bit HEVC using default encoder settings with a CRF of 18

I have now switched over to using 3 SMDegrain scripts. In the past I was using just mdegrain3 with strengths of 200 for clean sources, 300 for light grain sources, and 400 for grainy sources. I did some testing and specifically comparing final file sizes, I now use the following SMDegrain scripts:
Clean sources - video=SMDegrain(video,tr=3,thSAD=300,thSADC=150,contrasharp=true,prefilter=1,refinemotion=true)
Light grain - video=SMDegrain(video,tr=4,thSAD=400,thSADC=200,contrasharp=true,prefilter=1,refinemotion=true)
Grainy - video=SMDegrain(video,tr=6,thSAD=600,thSADC=300,contrasharp=true,prefilter=2,refinemotion=true)

As I said, the end files sizes are very close to the corresponding mdegrain3 settings I had been using.

The biggest difference is in the speed increase using SMDegrain. I am seeing about a 40 - 60 % increase in fps using SMDegrain over mdegrain using comparable settings. 4k Forrest Gump with mdegrain was around 49-50 fps and with SMDegrain is 73-75 fps.

I did come across 1 movie that just would not run using SMDegrain, but did run using mdegrain, not sure what was up with that, so mdegrain is not completely dead

guest
10th December 2022, 00:50
So a quick test comparing fps on 4k stuff using either the affinity mask or the avisynth-prefetch-threads setting them to 12 on my 16 core ryzens (1-3950x,3-5950x,1-7950x). About halfway thru a 4k movie once everything settles out, the total fps showing on the distributed encoding window are very similar between them. Within a couple fps in the 70-72 fps range. If these numbers hold up for 1080p stuff, this will help me out as I won't have to have 2 separate command batch files for the encoding servers and switch between them when doing 4k and anything else. I can just start everything with the prefetch numbers and be done with it. (720 and 1080 stuff runs much faster without the affinity mask set to 12 cores)

I encode everything to 10bit HEVC using default encoder settings with a CRF of 18

I have now switched over to using 3 SMDegrain scripts. In the past I was using just mdegrain3 with strengths of 200 for clean sources, 300 for light grain sources, and 400 for grainy sources. I did some testing and specifically comparing final file sizes, I now use the following SMDegrain scripts:
Clean sources - video=SMDegrain(video,tr=3,thSAD=300,thSADC=150,contrasharp=true,prefilter=1,refinemotion=true)
Light grain - video=SMDegrain(video,tr=4,thSAD=400,thSADC=200,contrasharp=true,prefilter=1,refinemotion=true)
Grainy - video=SMDegrain(video,tr=6,thSAD=600,thSADC=300,contrasharp=true,prefilter=2,refinemotion=true)

As I said, the end files sizes are very close to the corresponding mdegrain3 settings I had been using.

The biggest difference is in the speed increase using SMDegrain. I am seeing about a 40 - 60 % increase in fps using SMDegrain over mdegrain using comparable settings. 4k Forrest Gump with mdegrain was around 49-50 fps and with SMDegrain is 73-75 fps.

I did come across 1 movie that just would not run using SMDegrain, but did run using mdegrain, not sure what was up with that, so mdegrain is not completely dead

Hi rlev11,

It's great to know that you seem to have sussed it out, and are very happy with the results, both in quality & encoding speed :)

I will be interested in hearing your thoughts, once you've tried the "non" affinity option, and how your 720p & 1080p encodes perform without changing your settings...

I also noticed that you've "bumped up" the strength of the script for "clean" sources....interesting !!

I would be very interested to know what the movie was that SMDegrain didn't like.

Sometimes (well, nearly always) I will run a movie thru MKVToolNix just to gut out all the stuff that I don't want, (less work & time for RB) and then run it thru RB, sometimes that will "fix" any problems.

But as I have said many times, when it comes to 4K stuff, I run it thru MKVToolNix, and just get the video track, and run that thru RB, and most of the time, it's also in 20 - 30 minute "chunks", so I don't have to run the encoding process ALL day.

guest
10th December 2022, 06:08
Hey guy's,

I have a couple of small, but important updates.

Dogway just never stops "fiddling" :eek:

So here's the update for the PD "full" build :-
https://www.mediafire.com/file/j50eci9sylgoanm/PD_TOOLS_%2528full%2529.7z/file 148kb

and for the "Lite" build :-
https://www.mediafire.com/file/ma59vay8gszq1v6/PD_TOOLS_%2528lite%2529.7z/file 90kb

Simply unpack, and copy into the PD_Tools folder...that's it :)

rlev11
10th December 2022, 16:10
Hi rlev11,

It's great to know that you seem to have sussed it out, and are very happy with the results, both in quality & encoding speed :)

I will be interested in hearing your thoughts, once you've tried the "non" affinity option, and how your 720p & 1080p encodes perform without changing your settings...

I also noticed that you've "bumped up" the strength of the script for "clean" sources....interesting !!

I would be very interested to know what the movie was that SMDegrain didn't like.

Sometimes (well, nearly always) I will run a movie thru MKVToolNix just to gut out all the stuff that I don't want, (less work & time for RB) and then run it thru RB, sometimes that will "fix" any problems.

But as I have said many times, when it comes to 4K stuff, I run it thru MKVToolNix, and just get the video track, and run that thru RB, and most of the time, it's also in 20 - 30 minute "chunks", so I don't have to run the encoding process ALL day.

I do the same thing, run everything through MKVToolNix and strip out everyhting but the videoand audio tracks and a subtitle if needed for foreign language. The movie was Iron Man 3

So it looks like I have to re-evaluate my earlier belief that with 720 and 1080 sources run better on the 16 core Ryzen's running full bore. I did a somewhat controlled test with a 720 and a 1080 source. I used the exact same settings and smdegrain script EXCEPT either running the 16 core Ryzen's in my farm full out, 12core using affinity mask, or just changing the avisynth prefetch settings to 12. My results were quite surprising to me.

I am just using the fps number at the bottom of the distributed encoding window when the last chunk gets to 25% so it is at the same point in each test. This is running my full farm of encoding servers with a single thread on everything except the 7950x which I have 2 servers active.

With the 16 core Ryzen's running at full bore the 720 ran at 530fps and the 1080 227fps

Running the Ryzens at 12 cpu with affinity mask setting the 720 ran at 560 and the 1080 at 218

Running the 16 core Ryzens just adding the avisynth prefetch threads set to 12 the 720 ran at 535 and the 1080 at 225

This is combined with earlier tests that doing 4k running the 16 core Ryzens full bore drops fps off the cliff, the end result as I can see is it doesn't matter too much weather you use affinity mask or prefetch threads set to 12, you should just use one of them and leave everything alone regardless of what resolution you are encoding. YMMV

Ryushin
12th December 2022, 12:59
Hi Atak,

I've been having this annoying problem on one particular machine. RB won't start up automatically on boot. It's been doing this for a couple of years not, but I just have not been able to get it resolved.

I checked the box to start automatically, but it does not seem to take. Going right back into settings shows the box as unchecked.

RB used to start up fine on this machine, until I had to recreate my Windows User Profile after it got some weird corruption that was preventing a program from working and that only way to solve it was to create a fresh profile. I copied what I could from the old profile into the new profile so I didn't have to start from scratch.

I've tried going through the registry and deleted RB entries at one point but that did not solve the problem. Any insight into what registry keys I need to delete so RB can start back up on windows startup?

rlev11
12th December 2022, 21:16
Hi Atak,

I've been having this annoying problem on one particular machine. RB won't start up automatically on boot. It's been doing this for a couple of years not, but I just have not been able to get it resolved.

I checked the box to start automatically, but it does not seem to take. Going right back into settings shows the box as unchecked.

RB used to start up fine on this machine, until I had to recreate my Windows User Profile after it got some weird corruption that was preventing a program from working and that only way to solve it was to create a fresh profile. I copied what I could from the old profile into the new profile so I didn't have to start from scratch.

I've tried going through the registry and deleted RB entries at one point but that did not solve the problem. Any insight into what registry keys I need to delete so RB can start back up on windows startup?

Another option you could try which is similar to how I auto start the encoding server on my 8 servers is just right click ripbot264.exe and create a shortcut (on win11 you have to first click "show more options").

Then right click start button and click run, enter in shell:startup , and drag the shortcut you just created into the folder that opens up. next time you reboot it should start up

Ryushin
13th December 2022, 13:38
Oh yea, I can do the other approaches. It's not hard at all to use a vbscript and the shell to start it. This is a bandaid though. I'd like fix the root cause of it and Atak should know what that might be.

slalom
13th December 2022, 15:36
What's this error about?

Encoding started...
""\\PAVLOS-PC\Ripbot264temp\Tools\ffmpeg\bin\ffmpeg.exe" -loglevel panic -i "\\PAVLOS-PC\RipBot264temp\job209\Chunks\4.avs" -strict -1 -f yuv4mpegpipe -
| "\\PAVLOS-PC\Ripbot264temp\tools\x264\x264_x64.exe" --seek 24 --colorprim bt709 --transfer bt709 --colormatrix bt709 --bitrate 4869 --fps 24000/1001
--force-cfr --min-keyint 24 --keyint 240 --frames 1443 --sar 1:1 --level 4.0 --aud --nal-hrd vbr --vbv-bufsize 25000 --vbv-maxrate 25000 --b-pyramid none --stdin y4m --threads 10
--output "\\PAVLOS-PC\RipBot264temp\job209\Chunks\4.264" -"
y4m [error]: bad sequence header magic
x264 [error]: could not open input file `-'

clients are starting and stopping

SKPN
13th December 2022, 16:18
I discovered what appears to be a bug with special (accented) characters in the filename. When trying to batch process files with accented characters, the program just skips over them entirely. No errors, just bypasses the file.

Atak_Snajpera
13th December 2022, 16:45
What's this error about?

Encoding started...
""\\PAVLOS-PC\Ripbot264temp\Tools\ffmpeg\bin\ffmpeg.exe" -loglevel panic -i "\\PAVLOS-PC\RipBot264temp\job209\Chunks\4.avs" -strict -1 -f yuv4mpegpipe -
| "\\PAVLOS-PC\Ripbot264temp\tools\x264\x264_x64.exe" --seek 24 --colorprim bt709 --transfer bt709 --colormatrix bt709 --bitrate 4869 --fps 24000/1001
--force-cfr --min-keyint 24 --keyint 240 --frames 1443 --sar 1:1 --level 4.0 --aud --nal-hrd vbr --vbv-bufsize 25000 --vbv-maxrate 25000 --b-pyramid none --stdin y4m --threads 10
--output "\\PAVLOS-PC\RipBot264temp\job209\Chunks\4.264" -"
y4m [error]: bad sequence header magic
x264 [error]: could not open input file `-'

clients are starting and stopping

Open \\PAVLOS-PC\RipBot264temp\job209\Chunks\4.avs file in MPC-HC and see what happens.

slalom
13th December 2022, 17:40
It says

LWLibavVideoSource: failed to get the video track
E:\Temp\RipBot264temp\job209\Chunks\4.avs, line 6

4.avs
#MT
#PREFETCH_LIMIT=0

#VideoSource
LoadPlugin("D:\DirectCD\Program Setup Files\RipBot264v1.26.0\Tools\AviSynth plugins\lsmash\LSMASHSource.dll")
video=LWLibavVideoSource("\\PAVLOS-PC\RipBot264temp\job209\video.mkv",threads=0,cachefile="C:\Users\Pavlos\AppData\Local\Temp\EncodingServer2\video.mkv.lwi")

#Deinterlace

#Decimate

#Crop

#Downscale

#Tonemap

#Levels

#Colours

#Denoise

#Custom

#Prefetch
video=Prefetch(video,10)

#After_Prefetch_Denoise

#After_Prefetch_Custom

#Sharpen

#Upscale
LoadPlugin("D:\DirectCD\Program Setup Files\RipBot264v1.26.0\Tools\AviSynth plugins\ColorMatrix\ColorMatrix64.dll")
LoadPlugin("D:\DirectCD\Program Setup Files\RipBot264v1.26.0\Tools\AviSynth plugins\Plugins_JPSDR\Plugins_JPSDR.dll")
video=Spline36ResizeMT(video,1920,1080)

#Borders
Import("D:\DirectCD\Program Setup Files\RipBot264v1.26.0\Tools\AviSynth plugins\Scripts\AutoBorders.avs")
video=AutoBorders(video,16.0/9.0)

#Subtitles

#AudioSource


#Triming

#AVSameLength
video=Trim(video,4279,5769)
#ColorSpace

#Return
return video

cypher007
13th December 2022, 23:12
Can you check if WAKE function even works on your PC?

Try this
1) open Task Scheduler
2) create new task

3) Type WorkHours as name

4) Click triggers tap -> new -> specify time

5) Actions -> start program -> rundll32.exe

6) Conditions -> Wake the computer ...

Now suspend your PC.

that worked first time, even on server 2022, though on server i had to use psshutdown64 tool to put the server to sleep.

guest
14th December 2022, 05:18
What's this error about?

Encoding started...
""\\PAVLOS-PC\Ripbot264temp\Tools\ffmpeg\bin\ffmpeg.exe" -loglevel panic -i "\\PAVLOS-PC\RipBot264temp\job209\Chunks\4.avs" -strict -1 -f yuv4mpegpipe -
| "\\PAVLOS-PC\Ripbot264temp\tools\x264\x264_x64.exe" --seek 24 --colorprim bt709 --transfer bt709 --colormatrix bt709 --bitrate 4869 --fps 24000/1001
--force-cfr --min-keyint 24 --keyint 240 --frames 1443 --sar 1:1 --level 4.0 --aud --nal-hrd vbr --vbv-bufsize 25000 --vbv-maxrate 25000 --b-pyramid none --stdin y4m --threads 10
--output "\\PAVLOS-PC\RipBot264temp\job209\Chunks\4.264" -"
y4m [error]: bad sequence header magic
x264 [error]: could not open input file `-'

clients are starting and stopping

Hi,

I sometimes get this error, and most of the time it's either a Avisynth or vc_redist problem.

Or

It can be something has changed with the script or the codec being used.

Does it happen with everything, or just certain "job's" ??

Are you using the very latest RB ??

guest
14th December 2022, 05:20
I discovered what appears to be a bug with special (accented) characters in the filename. When trying to batch process files with accented characters, the program just skips over them entirely. No errors, just bypasses the file.

This IS a common and known issue, and the best way to "fix" this is to simply rename the file(s)...I know it's PITA, but what can you do ?

There is generally a work-around for most problems ;)

guest
14th December 2022, 05:23
Oh yea, I can do the other approaches. It's not hard at all to use a vbscript and the shell to start it. This is a bandaid though. I'd like fix the root cause of it and Atak should know what that might be.

There is a good chance that Atak won't be able to replicate this problem.

There is clearly a very specific reason for this not to be working for you, on this particular machine, and a "band-aid" solution might be all you can do...

cypher007
14th December 2022, 12:03
on an OS note. which is quicker at encoding on 12th gen laptop H processors? win 10 or 11?

Ryushin
14th December 2022, 12:24
There is a good chance that Atak won't be able to replicate this problem.

There is clearly a very specific reason for this not to be working for you, on this particular machine, and a "band-aid" solution might be all you can do...

True. But before I go down the road of using a Band-Aid, if Atak can let me know what are the registry keys that need deleting, I'll go with that first. Or he can let me know which method RB uses to auto start. I believe that Windows has four different methods to auto start programs.

slalom
14th December 2022, 14:18
Hi,

I sometimes get this error, and most of the time it's either a Avisynth or vc_redist problem.

Or

It can be something has changed with the script or the codec being used.

Does it happen with everything, or just certain "job's" ??

Are you using the very latest RB ??
Yes RB is the latest. How do you solve the problem?

I will re-download from first page and update and see what happens

Atak_Snajpera
14th December 2022, 14:29
True. But before I go down the road of using a Band-Aid, if Atak can let me know what are the registry keys that need deleting, I'll go with that first. Or he can let me know which method RB uses to auto start. I believe that Windows has four different methods to auto start programs.

I use Task Scheduler. When You check that checkbox and click APPLY this entry should show up
https://i.postimg.cc/ZK3g7BZn/Capture.png

Atak_Snajpera
14th December 2022, 14:30
Yes RB is the latest. How do you solve the problem?

I will re-download from first page and update and see what happens

What does mediainfo say about that video.mkv file?

Atak_Snajpera
14th December 2022, 14:31
on an OS note. which is quicker at encoding on 12th gen laptop H processors? win 10 or 11?

CPU does calculation not OS.

cypher007
14th December 2022, 15:24
re the test. have you figured why ripbot doesnt wake but entering a schedule manually does?

slalom
14th December 2022, 16:46
What does mediainfo say about that video.mkv file?


General
Unique ID : 25515269669631658090640402085016664335 (0x13320FEBA81D9A5F1118F5C2163E790F)
Complete name : H:\___Kingslayer.2022\Kingslayer.2022.mkv
Format : Matroska
Format version : Version 4
File size : 22.9 GiB
Duration : 1 h 37 min
Overall bit rate mode : Variable
Overall bit rate : 33.7 Mb/s
Movie name : Kingslayer (2022)
Encoded date : UTC 2022-11-28 17:46:14
Writing application : mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
Writing library : libebml v1.4.4 + libmatroska v1.7.1
IMDB : tt10352594
TMDB : movie/991247

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Format settings, GOP : M=1, N=12
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 h 37 min
Bit rate mode : Constant
Bit rate : 31.1 Mb/s
Nominal bit rate : 33.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.626
Stream size : 21.1 GiB (92%)
Default : Yes
Forced : No

Audio
ID : 2
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 1 h 37 min
Bit rate mode : Variable
Bit rate : 2 520 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 1.71 GiB (7%)
Title : DTS-HD MA 5.1
Language : English
Default : Yes
Forced : No

Text
ID : 3
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 32 min
Bit rate : 34.5 kb/s
Frame rate : 0.373 FPS
Count of elements : 2059
Stream size : 22.7 MiB (0%)
Title : English (SDH)
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : en:Chapter 1
00:10:08.066 : en:Chapter 2
00:19:09.315 : en:Chapter 3
00:28:47.893 : en:Chapter 4
00:38:36.189 : en:Chapter 5
00:50:17.640 : en:Chapter 6
00:59:25.312 : en:Chapter 7
01:06:12.677 : en:Chapter 8
01:10:42.655 : en:Chapter 9
01:17:52.001 : en:Chapter 10
01:26:47.494 : en:Chapter 11
01:33:26.976 : en:Chapter 12

slalom
14th December 2022, 22:00
Looks like I'll have to reload some jobs
Today's added jobs are encoding just fine

Ryushin
15th December 2022, 00:21
I use Task Scheduler. When You check that checkbox and click APPLY this entry should show up


Perfect. Thank you. I exported the Task from another server, imported it, set the current user as the owner and it works like a charm. Thanks again.

guest
15th December 2022, 01:44
Perfect. Thank you. I exported the Task from another server, imported it, set the current user as the owner and it works like a charm. Thanks again.

Like so many things, once you know how it works, it's "simple" :D

guest
15th December 2022, 02:21
I thought I'd post this link to a great little utility that is the successor to "Process Hacker".

https://systeminformer.sourceforge.io/

Even has Dark Theme for W10 & W11 :)

SKPN
15th December 2022, 05:39
This IS a common and known issue, and the best way to "fix" this is to simply rename the file(s)...I know it's PITA, but what can you do ?

There is generally a work-around for most problems ;)

Thanks for the heads up! I had already renamed the files and moved on, but didn't know it was already a known issue. Just wanted to report it so it didn't go under the radar.

guest
21st December 2022, 03:12
Atak, is there some way another app can be implemented ?

I find that MPC-HC has a LOT of trouble playing 4K content with heavy filters.

guest
21st December 2022, 03:27
I have noticed when loading HDR 4K content, that even tho I have this option disabled, it is still wanting to downconvert, if you check the script.

ForceHDRtoSDRconversion=0

The "Tonemap" setting as "ON" downconverts, "OFF" doesn't.

#Tonemap
Loadplugin("C:\RipBot264\Tools\AviSynth plugins\HDRTools\hdrtools.dll")
Import("C:\RipBot264\Tools\AviSynth plugins\Scripts\HDRtoSDR.avs")
video=HDRtoSDR(video,"PQ")

I'm sure it hasn't been like this before :confused:

cypher007
21st December 2022, 14:07
I use Task Scheduler. When You check that checkbox and click APPLY this entry should show up
https://i.postimg.cc/ZK3g7BZn/Capture.png

is this what ripbot uses for work hours? as it seems its not able to insert the schedule into windows 10/server 2022. as the test you gave me to do worked, but when i use work hours i dont see it adding anything to the task scheduler.

chainring
21st December 2022, 18:43
Hey all,

I've decided to dip my toes into the SMDegrain world and I've tried to do so with the Lite package posted by Ryushin, here: https://forum.doom9.org/showthread.php?p=1979287#post1979287

Looking in the various .avs files created for the job, it appears the plugins and scripts are being loaded and imported correctly since there's entries in #Custom. Problem is, RB dumps out immediately after starting the job. Interestingly, no info.txt is created. Where would I start looking to solve this?

Note: RB is fully up to date from Atak's latest releases. Also, encoding without the custom scripts works fine.

cypher007
22nd December 2022, 01:09
ok got another issue. tried ripbot on my new 12700h laptop and x265 just maxes the E cores. im running a clean install of win 10 instead of the win 11 that it came with, all drivers are installed.

Emulgator
22nd December 2022, 01:25
Although the link is about a famous audio app, the problems and solutions are the same: Set Thread affinity, see:
https://helpcenter.steinberg.de/hc/en-us/articles/8412891538066-Performance-issues-on-Intel-Core-12th-gen-or-newer-hybrid-architecture-CPUs
It is also described here in this subforum, IIRC.

guest
22nd December 2022, 01:26
ok got another issue. tried ripbot on my new 12700h laptop and x265 just maxes the E cores. im running a clean install of win 10 instead of the win 11 that it came with, all drivers are installed.

So what's the issue ??

You need to provide way more info...when RipBot is encoding, it's just like a stress test that can last for hours & hours, and it's pretty normal for it "max out" the CPU!!!

Have to be honest, tho, these "E" & "P" cores....I'm an AMD user.

Emulgator
22nd December 2022, 01:36
And for completeness sake:
https://www.bollyinside.com/articles/how-to-force-apps-to-use-specific-cpu-cores-using-processor-affinity/

guest
22nd December 2022, 12:27
Hey all,

I've decided to dip my toes into the SMDegrain world and I've tried to do so with the Lite package posted by Ryushin, here: https://forum.doom9.org/showthread.php?p=1979287#post1979287

Looking in the various .avs files created for the job, it appears the plugins and scripts are being loaded and imported correctly since there's entries in #Custom. Problem is, RB dumps out immediately after starting the job. Interestingly, no info.txt is created. Where would I start looking to solve this?

Note: RB is fully up to date from Atak's latest releases. Also, encoding without the custom scripts works fine.

WTAF, it's good to know you want to try SMDegrain, but unfortunately you have gone about it the wrong way

Ryushin's link is kind of redundant, due to it not having everything that is required, as you've discovered, the hard way.

You need to do a bit more reading, the series of posts after that link, will provide the solution to your problems.

But you really need to focus on Pauly Dunne's posts and download links.

Good luck.

cypher007
22nd December 2022, 12:38
And for completeness sake:
https://www.bollyinside.com/articles/how-to-force-apps-to-use-specific-cpu-cores-using-processor-affinity/

thanks for the info. ive found a cmd trick that turns off cpu throttling for a specific exe. which ive set as x265_x64.exe:

POWERCFG /POWERTHROTTLING DISABLE /PATH "C:\Users\user\Downloads\RipBot264v1.26.0\Tools\x265\x265_x64.exe"

that gets me to a 85-95% cpu usage. apparently the reason its doing this is because of an old version of thread director in win 10 that microsoft dont seem to want to update. the odd thing is if i bench the processor with cpuid it maxes to 100%.

for now im going to try win 11 :( .

@TDS sorry not enough info but basically its when its encoding with x265.

guest
22nd December 2022, 13:11
thanks for the info. ive found a cmd trick that turns off cpu throttling for a specific exe. which ive set as x265_x64.exe:

POWERCFG /POWERTHROTTLING DISABLE /PATH "C:\Users\user\Downloads\RipBot264v1.26.0\Tools\x265\x265_x64.exe"

that gets me to a 85-95% cpu usage. apparently the reason its doing this is because of an old version of thread director in win 10 that microsoft dont seem to want to update. the odd thing is if i bench the processor with cpuid it maxes to 100%.

for now im going to try win 11 :( .

@TDS sorry not enough info but basically its when its encoding with x265.

Thats good that you have found a "fix", and how W11 will "treat" you, is yet to be determined, I guess.

But I have to ask, why are you so concerned about 100% CPU usage ??

Is the laptop overheating or something ??