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

Guest
30th April 2024, 01:43
Try custom script

#Prefetch
video=Prefetch(video,12,1)

This would have to be added to an existing Custom script, 'cause that wouldn't show in the Custom script "list" !!!

It DOES show if added to an existing Custom script :), however, didn't make any useful difference :(

I've been testing a LOT of different settings, but for other reasons.

One thing I forgot to mention, which might be the best way to use this particular script, is ONLY run 1 encoding PC per chunk, it's when running 2 chunks on the same PC is when it's blows out the RAM.

Guest
30th April 2024, 01:47
Are you doing a deep dig to try to figure out why the 16 core Ryzens puke on 4k without using the "/avisynth-prefetch-threads 12" in the encoding server command line??

If so please keep us updated if you find a better (more performance) way to do this

The main reason I'm sussing this out is due to MAJOR RAM usage using that particular script.

But I might have to swap out the AMD cards in favour of nVidia, if I want ALL my client's to use DE, with CUDA based plugins.

rlev11
30th April 2024, 02:22
.dtsma=7.1|C O P Y S T R E A M;5.1|C O P Y S T R E A M;2.0|C O P Y S T R E A M;

That line tells ripbot what audio encoding profile to use when selected audio file Has .dtsma extension

.dtsma;.thd;DEFAULT;English;1_audio;

Is used for file selection only.

IT basicaly means if .dtsma text in file name is preset then select IT
Else if .thd is present select IT
Else if default text is present select IT
Else if ...

OK, that makes more sense now. I always strip out everything but what I need prior to running through Ripbot so my brain needed some time to catch up with the possibility of multiple audio files in the source..:thanks:

Epitaph
30th April 2024, 04:26
Show me full filenames of all audio tracks when wrong file is selected

"Full filenames"? Here is the most recent, it chose the second file over a .thd.

https://drive.google.com/file/d/10SM3yIOlAwY6vTVPs1t5BQ6XgKBbJmgc/view?usp=sharing

Guest
30th April 2024, 11:54
I thought there used to be a command for assigning a particular GPU (device id) to a particular command line...

What I'm thinking is, is it possible to assign 2 GPU's to the same "server" command line..for CUDA encoding, not opencl as shown for knlmeanscl.

https://i.imgur.com/f3uMjfx.jpg

Atak_Snajpera
30th April 2024, 13:32
"Full filenames"? Here is the most recent, it chose the second file over a .thd.

https://drive.google.com/file/d/10SM3yIOlAwY6vTVPs1t5BQ6XgKBbJmgc/view?usp=sharing

Despite my efforts I'm currently unable to reproduce that behaviour

Everything works fine on my PC
https://youtu.be/UwLprpVSBBg?si=5M9xYm99Km4Mp_1J

Epitaph
30th April 2024, 14:35
Despite my efforts I'm currently unable to reproduce that behaviour

Everything works fine on my PC
https://youtu.be/UwLprpVSBBg?si=5M9xYm99Km4Mp_1J

Thanks for your help so far. This is what I get, perhaps you'll see something I am overlooking. Tried to include as much info as possible.

https://youtu.be/-9nnxRGSYAc

Atak_Snajpera
30th April 2024, 15:10
Will you be able to send me that particular mkv file. I just need a 100 MiB sample. Do not send me whole file.

Epitaph
30th April 2024, 15:30
Will you be able to send me that particular mkv file. I just need a 100 MiB sample. Do not send me whole file.

Your PM's full. LOL

https://drive.google.com/file/d/1n2ii4hm6EzYQpavdpVbBv9_iKk6a45vA/view?usp=sharing

Atak_Snajpera
30th April 2024, 15:49
I'm lost with this one
https://www.youtube.com/watch?v=XlJ5jiT9lAM

Epitaph
30th April 2024, 16:04
Ok... so it is, apparently, something in my installation. Hmmm

I appreciate you taking the time to look into it.

Atak_Snajpera
30th April 2024, 16:20
Try with something simple. Modify [AUTO] 7.1 or 5.1 or 2.0 profile and leave only .thd. Experiment with different text and see what happens.

Epitaph
30th April 2024, 16:56
Try with something simple. Modify [AUTO] 7.1 or 5.1 or 2.0 profile and leave only .thd. Experiment with different text and see what happens.

Will try that next. I started basic, I downloaded Ripbot again and used a fresh folder, I just copied my ini files into it. Same result. Deleted my ini and let ripbot create a new one, chose the [AUTO] 7.1 and it did the same thing again.

Next, I ripped a new copy from my disc. The film comes with a 7.1 thd, a 5.1 ac3, a 2.0 ac3 (descriptive), and a 2.0 ac3 (Commentary). The first rip I stripped the 5.1 ac3 (don't need it). This time I included all audio in the rip. Ripbot skipped the 7.1 thd AND the 5.1 ac3 and instead chose the first 2.0 ac3.

Going to experiment as you suggested.

To add to the confusion. The test file I sent you, works 100%... thd track selected everytime. SO it must be something in the main video file doing it.

slalom
30th April 2024, 17:00
Maybe an option "use default audio" & "copystream" would be simpler for some users

Atak_Snajpera
30th April 2024, 18:58
Maybe an option "use default audio" & "copystream" would be simpler for some users

Default profile [AUTO] 7.1 or 5.1 or 2.0 works exactly like that.

slalom
30th April 2024, 19:12
Last time that didn't work. I had two jobs with "no audio", but I found the audio by pressing the arrow.
Adding three new jobs now

slalom
30th April 2024, 19:34
So three jobs

First one, one audio and that was selected,
Second one, two audios, dtsma & ac3, ac3 was selected
Third one, three audios, dtsma & dtsma & w64, w64 was selected

Default profile [AUTO] 7.1 or 5.1 or 2.0 on batch mode selected

https://i.ibb.co/0hRxqck/ripbot.jpg (https://ibb.co/0hRxqck)

what is wrong?

Atak_Snajpera
30th April 2024, 19:37
So three jobs

First one, one audio and that was selected,
Second one, two audios, dtsma & ac3, ac3 was selected
Third one, three audios, dtsma & dtsma & w64, w64 was selected

Default profile [AUTO] 7.1 or 5.1 or 2.0 on batch mode selected

https://i.ibb.co/0hRxqck/ripbot.jpg (https://ibb.co/0hRxqck)

what is wrong?

Show me file names for each case

slalom
30th April 2024, 19:41
Here you are!

1_audio_English_DEFAULT.dtshr

1_audio_English_DEFAULT.dtsma
2_audio_English.ac3

1_audio_Russian_DEFAULT.dtsma
2_audio_Italian_DEFAULT.dtsma
3_audio_Italian_DEFAULT.w64

Atak_Snajpera
30th April 2024, 19:48
I see the pattern. For some reason always the last file on the list is selected. Hmmmm... Will investigate tomorrow.

slalom
30th April 2024, 19:50
Ok, thanks!

Guest
30th April 2024, 19:52
It would be a lot simpler to go back to v1.27.1.

Use MKVToolNix to remove & sort what you want, or don't want, before RB.

Atak_Snajpera
30th April 2024, 19:59
What happens if you just remove everything and just leave

1_audio

Atak_Snajpera
30th April 2024, 20:46
Third one, three audios, dtsma & dtsma & w64, w64 was selected
1_audio_Russian_DEFAULT.dtsma
2_audio_Italian_DEFAULT.dtsma
3_audio_Italian_DEFAULT.w64

Actually this a correct behavior.
DEFAULT is first on the list.
All files have DEFAULT text in file name so in that case the largest file is selected. I'm pretty sure that uncompressed audio is larger than dtsma.

Nevertheless case 2 is still a mistery for now.

slalom
30th April 2024, 21:26
No it isn't

1_audio_Russian_DEFAULT.dtsma 2.106.468 KB
2_audio_Italian_DEFAULT.dtsma 2.086.966 KB
3_audio_Italian_DEFAULT.w64 1.872.192 KB

All files have DEFAULT text in file name so in that case, MPC-HC plays the first in order

What about preffered format?

Is there something wrong with the preferences I showed you?

Epitaph
30th April 2024, 23:11
I see the pattern. For some reason always the last file on the list is selected. Hmmmm... Will investigate tomorrow.

If my problem and @slalom are related, I think that it is not the "last" file that is being selected, it would seem the "first" 2.0 track is being selected. I am, of course, assuming that his .w64 file is stereo. Otherwise I am at a loss.

slalom
1st May 2024, 06:46
You are not at a loss, it is 2.0

Atak_Snajpera
1st May 2024, 08:43
If my problem and @slalom are related, I think that it is not the "last" file that is being selected, it would seem the "first" 2.0 track is being selected. I am, of course, assuming that his .w64 file is stereo. Otherwise I am at a loss.

So it selects always the smallest file? Can you verify my guess? That would atleast explain slalom's case.

Update: If think I know what I did wrong. Function which calculates file size returns value as Int64 but other variable which I use for comparison was incorrectly declared as Integer.
Those two variables have totally different ranges

Int64
-9223372036854775808..9223372036854775807

Integer
-2147483648..2147483647

FileSize is Int64 but LastFileSize is Integer;

Everything was working "correctly" as long as file size was less than 2GiB.
I didn't catch that mistake because I always tested on small samples.

Another bug

if TheLargestFile=false then LastFileSize:=0 else LastFileSize:=MaxInt64; //should be True

if TheLargestFile=false then //should be True
begin
if FileSize>LastFileSize then
begin
LastFileSize:=FileSize;
Index:=a;
end;
end
else
begin
if FileSize<LastFileSize then
begin
LastFileSize:=FileSize;
Index:=a;
end;
end;

slalom
1st May 2024, 10:56
Looking forward to re-add those three files when the update is ready

Guest
1st May 2024, 12:40
I'd just like to add that with all the effort & discussion over the new Audio Preference's, anyone using the Segment edit function, will quickly realise that all these "fancy" audio tracks are next to useless, due to the required audio re-encoding to match the segmented edits, most of these formats are not supported :(

Not sure how many users use this Segment function, but IMHO, I think it's greatest improvement Atak has added to RB.

Guest
1st May 2024, 15:20
There is a new auto update !!!!

Epitaph
1st May 2024, 15:22
So it selects always the smallest file? Can you verify my guess? That would atleast explain slalom's case.

That seems to be the case. I was not looking at file size, so looking back at my original file (where track 3 was being automatically selected):

track2.thd = 2.99 GB (3,220,427,042 bytes)
track3.ac3 = 187 MB (196,854,528 bytes)
track4.ac3 = 187 MB (196,854,528 bytes)

Atak_Snajpera
1st May 2024, 15:23
There is a new auto update !!!!

Holly shit! You are quick! Files where updated just few minutes ago!

Epitaph
1st May 2024, 15:32
Update fixed the problem, just tested that same file and thd track was chosen automatically.

Thanks for your help with this @Atak_Snajpera

Guest
1st May 2024, 17:24
Holly shit! You are quick! Files where updated just few minutes ago!

I know where to look !! :)

================

More info about latest auto update:-

Core:- v1.27.2 (01-05-24)
Encoding Client:- v1.18.4.0 (01-05-24)
Encoding Server:- v1.18.2.0 (01-05-24)

v1.27.2
Added: Enhanced filtering for AUDIO and SUBTITLES streams
Added: Multithreaded optimizations to speed up "probing" and "gathering information" stages
Added: EncodingServer now displays AviSynth error when encoder can not open script and then automatically disconnects.
Changed: EncodingClient autoreconnect interval increased to 5000ms from 250ms. User now has more time to check error messages in EncodingServer
Fixed: Audio was not extracted from some WMV

slalom
1st May 2024, 20:21
Update fixed the problem, just tested that same file and thd track was chosen automatically.

Thanks for your help with this @Atak_Snajpera
Everything is ok for me too

slalom
2nd May 2024, 08:35
1_audio_English_DEFAULT.dtsma
2_audio_English.ac3
I just realised, first audio is selected but not copystream (ffmpeg 7.1). This is a 7.1

The other job has dtsma 5.1, and is selected copystream

Atak_Snajpera
2nd May 2024, 09:43
Did you add 7.1 copy stream profile to .dtsma?

slalom
2nd May 2024, 19:33
I think I just did, confusing settings

Guest
4th May 2024, 07:59
So I thought I'd spend some time trying to come to terms with this, and it is confusing the shit out me, it's not saving some of the setting's I change.

https://i.imgur.com/vPkVaRW.jpg

I have a simple clip with a 7.1 DTS audio, and I want to have 2 audio tracks, the 1st one converted to 5.1 AC3, and the 2nd as a copy stream of the DTS, so in the left screen are the changes I made, and saved everything, then I load the clip, and it's the same 5.1 AC3 for both the 1st & 2nd audio, so then I go back into the preferences, and lo & behold, it's showing the right screen, the copy stream has disappeared, and the 5.1 AC3 is there, instead.

So, am I doing something wrong, OR are there still some bugs that need to be dealt with ??

slalom
4th May 2024, 08:11
Same thing happened to me, after you fix everything and click ok, you have to save again in batch window

Guest
4th May 2024, 10:58
Same thing happened to me, after you fix everything and click ok, you have to save again in batch window

So have you got it all sorted in both sections, now ??

Be so much easier to just go back to v1.27.1.

slalom
4th May 2024, 11:17
Yeah I think it's ok now

Atak_Snajpera
4th May 2024, 11:47
So I thought I'd spend some time trying to come to terms with this, and it is confusing the shit out me, it's not saving some of the setting's I change.

https://i.imgur.com/vPkVaRW.jpg

I have a simple clip with a 7.1 DTS audio, and I want to have 2 audio tracks, the 1st one converted to 5.1 AC3, and the 2nd as a copy stream of the DTS, so in the left screen are the changes I made, and saved everything, then I load the clip, and it's the same 5.1 AC3 for both the 1st & 2nd audio, so then I go back into the preferences, and lo & behold, it's showing the right screen, the copy stream has disappeared, and the 5.1 AC3 is there, instead.

So, am I doing something wrong, OR are there still some bugs that need to be dealt with ??

Some DTSMA may have 6 channels so your rule is incomplete
use this if you do not care about number of channels

https://i.postimg.cc/TPpXGZsS/Capture.png

Guest
4th May 2024, 12:13
Some DTSMA may have 6 channels so your rule is incomplete
use this if you do not care about number of channels

The audio in question was shown to be an 8 track.

So that option you suggest is a good to know, I will check this when I can, and report back.

:thanks:

rlev11
4th May 2024, 14:54
Atak, so just to be clear, if you want just copy stream regardless of channels, we should only put COPY STREAM without the channel definition in front of it (7.1,5.1,2.0)? If we leave the channel numbers, it would only do a copy stream if it meets the correct number of channels, so say a 4.1 ac3 would fail the rule and NOT do the copy stream.

So in the ini file instead of this:
.ac3=7.1|C O P Y S T R E A M;5.1|C O P Y S T R E A M;2.0|C O P Y S T R E A M;

we would just put this:
.ac3=C O P Y S T R E A M

and regardless of the number of channels, it would just leave it alone and copy the audio file in

Atak_Snajpera
4th May 2024, 15:28
this should be fine as well because I have never seen 7.1 AC3 in my life.
.ac3=5.1|C O P Y S T R E A M;2.0|C O P Y S T R E A M;

Like I said if you do not care about channels for COPY STREAM then simple .ac3=C O P Y will be enough. (yes even shorter version) Heck even .ac3=C O should also work ;)

https://i.postimg.cc/WpXvg4tD/Untitled-1.png

Guest
5th May 2024, 05:24
It's "just" RipBot264.exe (core)...

Will see what this has done...will report back later.



By Jove, I think he's done it with this latest auto update :)

I think it will require a bit of personalization for each audio type you use, but it now saves the settings for that type.

Which makes my previous post irrelevant (probably delete it)

slalom
5th May 2024, 17:12
Well, again I have spent (wasted) another hour or so on this, and it's back to the drawing board AFAIC, I have tried EVERY suggestion, and it DOES NOT WORK !!!

It ALWAYS reverts back to what is shown in this post:-

https://forum.doom9.org/showthread.php?p=2001396#post2001396

It can't be a W7 vs W11 thing, surely.

UPDATE:- I've got it working to my satisfaction, HOWEVER, I have reverted back to the first v1.27.2 (23-03-2024), and it works a treat :)
Did you press "save defaults" in batch window?

Guest
5th May 2024, 17:35
Did you press "save defaults" in batch window?

I should have deleted that post, it's irrelevant, now !!