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

guest
19th February 2023, 01:40
With FFMS2 YOU WILL DEFINETELY have problems at split point in DE mode!
Trust me! I've been there and I was extremely frustrated with FFMS2 until I switched to LSmash. All my problems were gone when I dumped FFM2S! Older users of DE mode can testify how buggy was FFMS2. Corrupted frame when chunk starts, duplicated frames at chunks start and so on...

Missing frame means that frame for some reason was not extracted for testing. Maybe ffmpeg.exe crashed... Maybe you ran out of memory because UHD consumes a lot especially with 32 thread CPU! On my 16 thread CPU memory consumption reaches 18 GiB!
Focus on CORRUPTED FRAME ERROR and FRAME INSERTED ERROR

Did some more SeekTester runs today, keeping a very close eye on the memory usage.

With a 1080p clip, FFMS2 ran between 7 & 9Gb, whilst LSmash ran between 8 & 10Gb.

However, a totally different story with 2160p.

A 10bit HDR clip (Dirty Dancing), using LSmash, the usage was sky high, all but maxing out my 32Gb of DDR5 memory.

Didn't have any FFMPEG errors, and the memory usage was jumping aroung wildly, and when the test completed,
there were 998 errors out of the 1000 frames tested.

Then using FFMS2, there was even higher memory usage, and it actually crashed the PC, I had to turn it off manually.
There were multiple FFMPEG error popup warnings, before the crash.

Needless to say, I won't be running that test again.

So I starting to think that with these new Gen multi core CPU's, that 32Gb of RAM just isn't enough.

I will try a test on the Ryzen 5900X 12 core, and see what it does.

This may just be a reason why the 16 core Ryzen's are "falling off a cliff" when encoding 2160p.....

OK, more testing, but this time on a 5900X 12 core with 32Gb DDR4.

Testing a 4K Game of Thrones episode.

FFMS2 is a memory hog, it used close to all the 32Gb at certain points, and resulted in 498 errors.

However, LSmash used up to a high of approx 22Gb, and had ZERO errors.

I need to test that same file on the 16 core PC's, just for a bit of consistency.

Later on in the day, I did some tests on the 5950X, and I upped the RAM from 32Gb, to 64Gb...at first I had some crashes, but shuffling the RAM sticks around, fixed that.

So, the same episode of GoT.

FFMS2, is still a memory hog, it peaked @ 52.5Gb usage, but only had 111 errors, so maybe more RAM helps FFMS2.

LSmash, memory usage peaked @ 35.3Gb, and had ZERO errors.

No FFMPEG errors

So, I guess the next thing is to test some encodes of 2160p, while I have 64Gb available.

https://rpg-handbook.readthedocs.io/utilities.html#frame-serving

guest
20th February 2023, 03:13
Another day, another interesting observation on memory use.

Obviously SeekTester is also a MAJOR "stress test", as it maxes out both the CPU & RAM, and like I mentioned in the previous post, SeekTester using FFMS2 is a usage hog.

So today, I am just doing a "normal" encode over 4 PC's, on a 2160p HDR movie, decoded with FFMS2.

Memory use, using only 1 DE server per PC:-

5900X - approx 13Gb (32Gb DDR4 installed)

5950X - approx 13.2Gb (64Gb DDR4 installed)

7950X - approx 15.3Gb (32Gb DDR5 installed)

13900KF - approx 14.8Gb (32Gb DDR4 installed)

And I have to mention that this is first time I have done significant encoding since the RB update that darkened the text colour in the Encoder screens.

Very nice, thanks, Atak.

JThomasG
20th February 2023, 22:55
hi,

ripbot264 is not quitting properly, when i exit it hangs and i need to kill it, does this happen to anyone else?

guest
20th February 2023, 23:55
So regardless of the errors that SeekTester produces when using FFMS2, (and sometimes with L-Smash), the encodes I did yesterday did not have any encoding issues, and I'm using DE, and the whole movie played without issue.

I still think it would be appreciated if this could be added back as a decoding option....it's already a part of RB, it just needs the "switch" in the code to be enabled, and made available.

Leave it up to the user to decide, please consider.

guest
20th February 2023, 23:58
hi,

ripbot264 is not quitting properly, when i exit it hangs and i need to kill it, does this happen to anyone else?

So is this a regular occurrence ???

I sadly have this happen every so often, not too sure how, or why, but the best way to deal with it, is to "kill" it, and re-start.

I would be shocked, if nobody else had this issue, from time to time.

JThomasG
21st February 2023, 11:17
So is this a regular occurrence ???

I sadly have this happen every so often, not too sure how, or why, but the best way to deal with it, is to "kill" it, and re-start.

I would be shocked, if nobody else had this issue, from time to time.

Yes, happens more often then not for me.
i even noticed a ripbot process in suspended mode that i could not kill i process manager (access denied) .

Atak_Snajpera
21st February 2023, 11:49
So regardless of the errors that SeekTester produces when using FFMS2, (and sometimes with L-Smash), the encodes I did yesterday did not have any encoding issues, and I'm using DE, and the whole movie played without issue.

I still think it would be appreciated if this could be added back as a decoding option....it's already a part of RB, it just needs the "switch" in the code to be enabled, and made available.

Leave it up to the user to decide, please consider.

Encode vc-1 which is very common on blu-rays and then see what weird things happen at split points. I've told you before. EncodingClient always modifies script and ffms is replaced with lsmash! Ffms is unrealiable. Stop asking for this inferior and broken filter. I WILL never allow ffms to be used in De mode again.

guest
21st February 2023, 14:26
Encode vc-1 which is very common on blu-rays and then see what weird things happen at split points. I've told you before. EncodingClient always modifies script and ffms is replaced with lsmash! Ffms is unrealiable. Stop asking for this inferior and broken filter. I WILL never allow ffms to be used in De mode again.

So how come it shows it to be using FFMS2, in 1.avs ??

https://forum.doom9.org/showthread.php?p=1983177#post1983177

avinewbie
22nd February 2023, 21:56
[QUOTE=Pauly Dunne;1983226]Hey guy's,

I have 2 new re-hashed builds for you to try.

Hello P Dunne

I would like to try out your special builds but unfortunately my AV BitDefender keeps blocking the download and flags the file ImageSeq.dll in avisynt/libraries/x86/plugins/ImageSeq.dll as infected.
It does clean it and leave the file in the folder( presumeably sans infected bits).
Its probably a false +ve and the file has been uploaded to BitDef but would you mind checking?
The same warning occurs for all your recent uploads. I havent yet tested if every thing works.
Thanks

guest
23rd February 2023, 00:31
Hey guy's,

I have 2 new re-hashed builds for you to try.

Hello P Dunne

I would like to try out your special builds but unfortunately my AV BitDefender keeps blocking the download and flags the file ImageSeq.dll in avisynt/libraries/x86/plugins/ImageSeq.dll as infected.
It does clean it and leave the file in the folder( presumeably sans infected bits).
Its probably a false +ve and the file has been uploaded to BitDef but would you mind checking?
The same warning occurs for all your recent uploads. I havent yet tested if every thing works.
Thanks

Hi avinewbie,

Thankyou for wanting to try my builds :)

I would doubt that there is anything wrong with that file, or the downloads in general.

I would suggest that it's AV BitDefender being way to severe with certain files.

I only use Microsoft Defender (the default Windows AV app), so maybe just as a test, at your end, disable or remove AV BitDefender, and see what happens then.

Having said that, I think you'll find that RipBot doesn't need the files in the folder that that file is located, but if that's what triggering your AV, then that's a problem.

PM me, if you're still having issues.

Cheers

guest
23rd February 2023, 04:02
In light of "avinewbie" 's post, I will remove the offending files & folder's, as it appears that RipBot does not required them, anyway.

And getting valuable feedback, can just make things better :)

Also, and yet again, there has been some significant updates to the working's of my build's, mainly Dogway...he just can't keep fiddling & updating his scripts, and he has basically re-written SMDegrain in the passed couple of days. :(

So to keep up with his changes, I've needed to reflect those changes in ALL the SMDegrain based scripts (and there's a LOT of them, especially in the full build).

So I will be posting updated builds, shortly, and unfortunately, the changes may not be compatible to the current builds.

I knew I should have waited a bit longer before posting, but you just never know what the others are doing, and when they will update their app's.

So when it comes time, I will leave the current builds available, and leave it up to you, whether you want to try the updated builds.

Sorry guy's, I know this is a PITA. :angry:

Regards :D

avinewbie
23rd February 2023, 21:48
[QUOTE=Pauly Dunne;1983491]In light of "avinewbie" 's post, I will remove the offending files & folder's, as it appears that RipBot does not required them, anyway.


Hi PD:
I can confirm this new upload was successfully downloaded--no Bitdefender warnings!
Thanks you so much for your efforts, Much appreciated.

guest
24th February 2023, 00:40
Hi PD:
I can confirm this new upload was successfully downloaded--no Bitdefender warnings!
Thanks you so much for your efforts, Much appreciated.

Thanks avinewbie, that is good to know :)

I had a good look around the files & folders of Avisynth, and found some older stuff in there that didn't need to be there.

Now I can update the "full" build, and post that shortly.

:thanks:

guest
24th February 2023, 03:29
It's all been updated :(

https://forum.doom9.org/showthread.php?p=1983764#post1983764

guest
26th February 2023, 01:48
I have run into a bit of a problem when importing a DNxHR HQX clip..

Getting this error message :-

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

File info :-

https://i.imgur.com/42lYSme.jpg

Or is it that RipBot264 doesn't support these types ??

Even after running it thru MKVToolNix, it has the same error :(

EDIT:- more info...I tested this .mov with Staxrip, and as it has several "Source" options, I tried FFMS2 & L-Smash, and it imported the file with no issue.

But when I changed it to DirectShowSource, it displayed the exact same error as RipBot does.

So RipBot must somehow "connect" DirectShow with both FFMS2 & L-Smash, when decoding.

Regards

Atak_Snajpera
26th February 2023, 15:07
Send me that file.

guest
27th February 2023, 00:45
Send me that file.

Hi Atak, well, you've done it again ;), greatly appreciated.

Silently working, and fixing the "problem" I posted about, so now RipBot264 can handle a whole new range of "special" video files.

So, with that in mind, there is a nice little autoupdate to fix this, and also 2 other important components.

Core (2023-02-26)

Mediainfo 22.12

MKVToolNix 74.0

guest
28th February 2023, 03:03
So, due to Dogway constantly updating his scripts, I have to keep updating as well, just to keep up, and as he's the current author of SMDegrain (and it's addon's & dependencies), it affects how the script's perform, or even work at all.

There have been several substantial updates of other components since the last build, as well.

So I apologise for all the changes & revisions, but it just makes for a better product.

Updated to build 4.0

https://forum.doom9.org/showthread.php?p=1985183#post1985183

guest
5th March 2023, 05:06
Atak,

I'm pretty sure this has been asked for before, but as it's becoming a little more popular (with some), could you please consider incorporating this into RipBot ??

Apparently, the popular variants are :-

AOMEnc, Rav1c & SVT-AV1

guest
6th March 2023, 06:15
Hi Atak,

Here I go again,

As I'm sure you know, a lot of TV series episode's have the annoying pre titles & the "previously on" review, when you really just want to "cut to the chase".

Could you consider adding an edit function that just quickly "chop's of the start", where you can either specify a certain amount of frames, or time (to the second).

I can do the video "chop" with a script, but I can't get the audio to "follow suit".

Atak_Snajpera
6th March 2023, 11:28
Keep in mind that when you edit video then you will also have to reencode audio stream. Copy stream will not work in this case. You will end up with obvious a/v synch issues.

guest
6th March 2023, 11:50
Keep in mind that when you edit video then you will also have to reencode audio stream. Copy stream will not work in this case. You will end up with obvious a/v synch issues.

Yes, its reasonable easy to make changes to the video related scripts, but modding audio commands & scripts is not (well for me, anyway)

So is it possible to do both in RipBot ??

Atak_Snajpera
6th March 2023, 12:53
This should work

#AudioSource
Import("C:\Temp\RipBot264temp\job1\job1_a1.avs")
Trim(0,1)


or this

#AudioSource
Import("C:\Temp\RipBot264temp\job1\job1_a1.avs").Trim(0,1)

guest
6th March 2023, 13:51
This should work

#AudioSource
Import("C:\Temp\RipBot264temp\job1\job1_a1.avs")
Trim(0,1)


or this

#AudioSource
Import("C:\Temp\RipBot264temp\job1\job1_a1.avs").Trim(0,1)


Nice, I will try that tomorrow...so to basically state the obvious, if the video script was like this:-

video=Trim(video,100, 0)

This :- #AudioSource
Import("C:\Temp\RipBot264temp\job1\job1_a1.avs")
Trim(0,100) would look like this ??

This is an actual call:-

#AudioSource
LoadPlugin("D:\RipBot264\Tools\AviSynth plugins\lsmash\LSMASHSource.dll")
audio=LWLibavAudioSource("C:\Temp\RipBot264temp\job1\1_audio_English_DEFAULT.eac3",cachefile="C:\Temp\RipBot264temp\job1\1_audio_English_DEFAULT.eac3.lwi").ConvertAudioToFloat.ResampleAudio(48000)

Atak_Snajpera
6th March 2023, 14:31
#AudioSource
Import("C:\Temp\RipBot264temp\job1\job1_a1.avs")
Trim(100,0)

BTW. You do not need this video=Trim(video,100, 0) if you use above command because CLIP already has video and audio data. If you look in job1_a1.avs then there is AudioDub function which combines Video And Audio into one CLIP.

#AudioDub
AudioDub(video,audio)

guest
7th March 2023, 02:23
#AudioSource
Import("C:\Temp\RipBot264temp\job1\job1_a1.avs")
Trim(100,0)

BTW. You do not need this video=Trim(video,100, 0) if you use above command because CLIP already has video and audio data. If you look in job1_a1.avs then there is AudioDub function which combines Video And Audio into one CLIP.

#AudioDub
AudioDub(video,audio)

Sorry, I can't get this to work...

Script/call (generated by RB):-

#AudioSource
LoadPlugin("C:\RipBot264_PD 3.0\Tools\AviSynth plugins\lsmash\LSMASHSource.dll")
audio=LWLibavAudioSource("E:\Temp\RipBot264temp\job10\1_audio_English_DEFAULT_DELAY23ms.aac",cachefile="E:\Temp\RipBot264temp\job10\1_audio_English_DEFAULT_DELAY23ms.aac.lwi").ConvertAudioToFloat.ResampleAudio(48000)Trim(150,0)
#Delay
audio=DelayAudio(audio,0)

#Tempo

#Normalize

#AudioDub
AudioDub(video,audio)

And the error I get in preview:-

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

This call (below) doesn't make any sense to me, it seems irrelevant, somehow :confused:

And the ONLY place I can find this is in job10\job10.avs

#AudioSource
Import("C:\Temp\RipBot264temp\job1\job1_a1.avs")
Trim(100,0)

Ryushin
9th March 2023, 14:21
Hi Atak,

Here I go again,

As I'm sure you know, a lot of TV series episode's have the annoying pre titles & the "previously on" review, when you really just want to "cut to the chase".

Could you consider adding an edit function that just quickly "chop's of the start", where you can either specify a certain amount of frames, or time (to the second).

I can do the video "chop" with a script, but I can't get the audio to "follow suit".

Plex with Plexpass detects TV intros and credits. It's amazing how well it works and how easy it is to skip intros now in shows.

guest
9th March 2023, 14:33
Plex with Plexpass detects TV intros and credits. It's amazing how well it works and how easy it is to skip intros now in shows.

Don't & won't run Plex.

I have found another app that does the job.

Certainly would be nice to have a basic edit function in RB, tho.

darkio
22nd March 2023, 17:24
Hi all!

Very usefull trim fuction by editing script. thanks!

@Atak: Can you add framedbl (for avisynth) for 23,976 fps to play @ 48 fps until 120 fps? (x2, x4x x8 and assume 47.952, 48, 100, 119.88 and 120 fps most common cases used into some uhd movie like gemini man).

http://avisynth.nl/index.php/FrameDbl
riptbot264 already double interlaced source @50 or @59,94 fps for progressive scan.

another plugin:
http://avisynth.nl/index.php/SVPflow
Other info:
https://github.com/baowenbo/DAIN
https://github.com/hzwer/Arxiv2020-RIFE
https://github.com/nihui/rife-ncnn-vulkan
https://github.com/tarun005/FLAVR
https://github.com/JihyongOh/XVFI
@TDS: missing lut for itu bt 601 to pal in your package 3.0. I've send you pm wirh new .zip.
Thanks.

guest
23rd March 2023, 02:08
http://avisynth.nl/index.php/FrameDbl


This is pretty old, and as a result it's 32 bit, cannot load!!

darkio
23rd March 2023, 13:04
@atak, plesse add invert axis option for auto resize after crop.
For example: 576 for height, automatically find width after crop. (I prefer a lot), or free resize without auto height (I'm using my personal resizer calculator with itu parameters).
Then, add 2 or 3 audio tracks in batch mode... very frustrating for multiple episodes....

guest
23rd March 2023, 13:53
@atak, plesse add invert axis option for auto resize after crop.
For example: 576 for height, automatically find width after crop. (I prefer a lot).
Then, add 2 or 3 audio tracks in batch mode... very frustrating for multiple episodes....

Could you explain that invert axis option a little more...not sure I understand...

darkio
23rd March 2023, 14:14
ok.

Esample for Blu-ray with 244,0,244,0 crop values (left, up, right, down).
My "active" movie is 1432x1080. I prefer set 1080 for width instead 1432 for height. The height box is grey abd cannot set manually this value.
I set 1432 on the left box for auto 1080 value.
for 540 or 576p I need to set 716 or 764 for auto height. Ripbot264 calculates 574 as value, so then set manually to 576....

Edit: Hybrid encoder have invert axis in resize tab too, but is very boring to use.

https://i.postimg.cc/7J85nTvh/Immagine.png (https://postimg.cc/7J85nTvh)

https://i.postimg.cc/GHNSbL1K/Immagine.png (https://postimg.cc/GHNSbL1K)

guest
23rd March 2023, 14:32
ok.

Esample for Blu-ray with 244,0,244,0 crop values (left, up, right, down).
My "active" movie is 1432x1080. I prefer set 1080 for width instead 1432 for height. The height box is grey abd cannot set manually this value.
I set 1432 on the left box for auto 1080 value.
for 540 or 576p I need to set 716 or 764 for auto height. Ripbot264 calculates 574 as value, so then set manually to 576....

Edit: Hybrid encoder have invert axis in resize tab too, but is very boring to use.

That's a heavy crop, don't you like black borders ??

Is that using Batch ??

You need a special script to do all that, and then you could use it in both single & batch job creation.

Hybrid is VERY complicated :(

darkio
23rd March 2023, 14:44
I normally do not mind the black bands above and below if the film is letterboxed.
Ripbot already uses add borders as a script. they bother me more on the left and right for native 4:3 letterboxed video.

Hybrid is a good encoder, but not user friendly gui....also have good avisynth or vapoursynth script, but is very boring...

https://www.mediafire.com/file/5b200ywhd2mnx23/DDU_Resizer1.1b.rar/file
https://i.postimg.cc/VdPL0yMF/Immagine.png (https://postimg.cc/VdPL0yMF)
this is our resizer written by my dear friend Frandan.
It calculates the correct aspect ratio for all video sources with set presets plus a customisable one.
Italian language, but very simple to use. :)

guest
24th March 2023, 01:55
I've just downloaded the latest Hybrid (1.1Gb), just to have another "look around".

Tried your little app, and yes, shame it's in Italian, for me. Requries .Net Framework 3.5 to use :(

darkio
24th March 2023, 09:24
Yes, .Net Framework 3.5 is necessary.

guest
29th March 2023, 13:02
A month to the day, here's version 4.0.

Many updates & new scripts & filters, some have been removed :(

Scripts will not be compatible with previous builds.

And to keep the build sizes to a minimum, the LUT's folder is a separate download, and can be copied to wherever you like.

I'm trying something new today, no more hyperlinks, simply click on the "PD Builds, etc" in my "sig", and hopefully, all will be revealed.

Guest
31st March 2023, 11:10
Is there any way to increase the FPS of the video ?

I tried the AssumeFPS, but it actually just sped up the video, but the audio was still "normal", so it's instantly very out of sync :(

It would also be very handy to be able to do some basic Avisynth editing of the video & audio tracks, for those pesky intro's of TV episodes.

Atak_Snajpera
31st March 2023, 13:50
Is there any way to increase the FPS of the video ?

I tried the AssumeFPS, but it actually just sped up the video, but the audio was still "normal", so it's instantly very out of sync :(

It would also be very handy to be able to do some basic Avisynth editing of the video & audio tracks, for those pesky intro's of TV episodes.

Audio must be re-encoded. Probably you used "COPY STREAM" in audio section. That would explain why audio stream was out of sync with video.

Guest
31st March 2023, 14:43
Audio must be re-encoded. Probably you used "COPY STREAM" in audio section. That would explain why audio stream was out of sync with video.

But AssumeFPS changes the speed of the clip, I want to just increase the FPS, not the speed.

And Trim video & audio tracks.

Atak_Snajpera
31st March 2023, 16:23
You mean by adding fake frames?

Guest
1st April 2023, 09:24
You mean by adding fake frames?

Well, if that's what you want to call it!

But it would be a lot more useful than using AssumeFPS...I mean, who'd want to speed up their video & audio, expect for a novelty, like a "Chipmunk's" movie...

It would just be nice to have a few more video & audio editing & encoding options.

guest
2nd April 2023, 04:43
Would it be possible to add an option to change the size of the subtitle font, especially when Rendering them ("burning them in") ?

I found this old post on VideoHelp...

https://forum.videohelp.com/threads/388276-How-to-put-burned-subtitle-on-top-with-RipBot264-(avisynth-vsfilter)

video=TextSub(video,"C:\Temp\RipBot264temp\job1\ca ptions-3.srt",-1)

Does that -1 have anything to do with the size ??

Atak_Snajpera
2nd April 2023, 07:20
No.
http://avisynth.nl/index.php/Xy-VSFilter

guest
2nd April 2023, 07:23
No.
http://avisynth.nl/index.php/Xy-VSFilter

Yes, I've been there a couple of times today, couldn't find anything about font size.

Atak_Snajpera
2nd April 2023, 07:29
If I recall correctly font style and size was controlled by external file .style.

example

[V4 Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding

Style: Default,Tahoma,18,&Hffffff,&H00ffff,&H000000,&H000000,1,0,1,2,1,2,20,20,20,0,1

It should be probably in the same directory as subtitle file with name like this

YourSubtitle.srt.style or YourSubtitle.style

I do not remember now...

rp1989
3rd April 2023, 20:36
Hi, does anyone know if there is any way to run the Ripbot264 Encoding Server in a docker container? This would be very useful for distributed encoding rather than setting up a windows VM.

guest
4th April 2023, 04:18
Atak,

I have been looking around at how to add hard coded subtitles (.srt, .ssa), and it was suggested to me to try "assrender" (an unfortunate name).

It's very simple & basic, and I think you could easily integrate this into RB (but ONLY for rendered subs), there are lots of options, but the main options are font size & font style/type.

More info here :-

AssRender (http://avisynth.nl/index.php/AssRender)

And a simple script:-

LoadPlugin("%AVISYNTHPLUGINS%\assrender\assrender.dll")
video=assrender(video, "subtitle path & name.srt", scale=0.8, srt_font="Sans")

Biggest problem might be needing the full path & name of each & every subtitle, in the call :(

pinco1117
5th April 2023, 15:53
Would it be possible to add an option to change the size of the subtitle font, especially when Rendering them ("burning them in") ?

I found this old post on VideoHelp...

https://forum.videohelp.com/threads/388276-How-to-put-burned-subtitle-on-top-with-RipBot264-(avisynth-vsfilter)

video=TextSub(video,"C:\Temp\RipBot264temp\job1\ca ptions-3.srt",-1)

Does that -1 have anything to do with the size ??


I simply edited the "default.style" file with notepad located in the ripbot program folder under "Tools" and then "srttossa", I changed the Fontsize from 18 if I remember correctly to 16 and now each new file what load in which I print the subtitles above, it gives them to me immediately with this default, I hope I have been of help.

guest
6th April 2023, 01:03
I simply edited the "default.style" file with notepad located in the ripbot program folder under "Tools" and then "srttossa", I changed the Fontsize from 18 if I remember correctly to 16 and now each new file what load in which I print the subtitles above, it gives them to me immediately with this default, I hope I have been of help.

Hi pinco1117,

OMG, that has been a LOT of help, thankyou.

Even Atak had forgotten about this, I think, that VideoHelp link where he mentions how to edit that "default.style" was slightly off in its location, but there you have it.

So now it's just a matter of what to change to get the desired result :)

These are the default settings :-

[V4 Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: Default,Arial,20,16777215,65535,65535,-2147483640,0,0,1,2,1,2,10,10,10,0,1

I would think that the red would be the main changes.

EDIT:-

I just had a play around with these settings, and as far as I could tell, it does not change anything...there must be some other subtitling going on somewhere else :(

I even removed the srttossa & ssatosrt folders, and I still got subtitles in the preview, when set to render.

Guest
6th April 2023, 02:55
You mean by adding fake frames?

Hi Atak,

I have run into a strange issue...

When using this call:-

video=FrameRateConverter(video,NewNum=60000,NewDen=1000)

When using DE, it doesn't create the chunks properly, and only processes 10 frames, and starts again.

However, in "single" mode, it works without issue.

Any ideas ??

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

guest
6th April 2023, 03:03
If I recall correctly font style and size was controlled by external file .style.

example

[V4 Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding

Style: Default,Tahoma,18,&Hffffff,&H00ffff,&H000000,&H000000,1,0,1,2,1,2,20,20,20,0,1

It should be probably in the same directory as subtitle file with name like this

YourSubtitle.srt.style or YourSubtitle.style

I do not remember now...

In reference to what pinco1117 has mentioned, would you consider adding some tweaking options to the subtitles ?

Like once enabled, some drop down lists appeared, and you could change the font name, size & colour.

EDIT:-

This post is probably irrelevant, now :(

pinco1117
6th April 2023, 05:15
Hi pinco1117,

OMG, that has been a LOT of help, thankyou.

Even Atak had forgotten about this, I think, that VideoHelp link where he mentions how to edit that "default.style" was slightly off in its location, but there you have it.

So now it's just a matter of what to change to get the desired result :)

These are the default settings :-

[V4 Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: Default,Arial,20,16777215,65535,65535,-2147483640,0,0,1,2,1,2,10,10,10,0,1

I would think that the red would be the main changes.

EDIT:-

I just had a play around with these settings, and as far as I could tell, it does not change anything...there must be some other subtitling going on somewhere else :(

I even removed the srttossa & ssatosrt folders, and I still got subtitles in the preview, when set to render.


I'm sorry it didn't work for you, I don't know if it's relevant but I use ripbot version 1.26.0, maybe there was some change to these settings with new versions.

guest
6th April 2023, 08:01
I'm sorry it didn't work for you, I don't know if it's relevant but I use ripbot version 1.26.0, maybe there was some change to these settings with new versions.

Interesting that you're still using an older version, is there a reason why you haven't updated ?

I would very much doubt that the subtitle function has been changed in a long time, but maybe I could try 1.26.0 for myself.

Thanks for the suggestion in the first place ;)

pinco1117
6th April 2023, 10:13
Interesting that you're still using an older version, is there a reason why you haven't updated ?

I would very much doubt that the subtitle function has been changed in a long time, but maybe I could try 1.26.0 for myself.

Thanks for the suggestion in the first place ;)

Let's say that for now I'm not interested in updating, I stayed with the 1080p resolution because the 4k format disappointed me especially for the choice of HDR which worsens the image for me, I did many tests, so for now the program is for me it works perfectly i have no DE problems, problems with resolutions and compression times and therefore i prefer not to mess with new problems, that's all so more for a personal choice.

Guest
7th April 2023, 05:01
I have now tried several FPS filters/scripts, whatever you want to call them, and DE just doesn't produce correct, usable chunks.

As per previous post.

The ONLY call that seems to work is:-

video=FrameRateConverter(video,FrameDouble=true)

god_md5
7th April 2023, 15:15
https://github.com/rigaya/NVEnc/releases
i know x264 or x265 is best compression , and i only need Interlaced to progressive file ,ripbot264 is best qtgmc deinterlace is gpu denoise,and file to video ai upscale,so big file ,fast encode is need.

guest
7th April 2023, 15:23
https://github.com/rigaya/NVEnc/releases
i know x264 or x265 is best compression , and i only need Interlaced to progressive file ,ripbot264 is best qtgmc deinterlace is gpu denoise,and file to video ai upscale,so big file ,fast encode is need.

This has been asked for so many times over the years, and it hasn't happened, and unfortunately probably won't, any time soon.

You will have to try another app, StaxRip, FastFlix, Hybrid, and maybe even Handbrake.

guest
8th April 2023, 04:02
I was asked why there weren't certain scripts/filters included in the last "Lite" build, so I have made available, some extra scripts that you can try, and see if they are more suitable for you..

Note, these are already included in the full build.

Simply click on the link in my signature...

Atak_Snajpera
9th April 2023, 18:29
I have now tried several FPS filters/scripts, whatever you want to call them, and DE just doesn't produce correct, usable chunks.

As per previous post.

The ONLY call that seems to work is:-

video=FrameRateConverter(video,FrameDouble=true)

Fixed. Enable Auto Update if you have disabled it in ripbot.

Guest
10th April 2023, 01:39
Fixed. Enable Auto Update if you have disabled it in ripbot.

Thankyou so very much for fixing this issue, it has just added another dimension to what RB can do :), even tho you didn't seem to be too keen on it.

You mean by adding fake frames? (https://forum.doom9.org/showthread.php?p=1985261#post1985261)

I have to mention, initially I was getting an FFmpeg stall @ 99.8%, but it turned out to be the clip I had chosen to test...seems good on a different, freshly imported Job.

god_md5
11th April 2023, 08:35
new update core 4.10 have error , lost frame ,sound not sync

guest
11th April 2023, 11:51
new update core 4.10 have error , lost frame ,sound not sync

Not sure what you're referring to...

The latest update was on 09-04-2023, and is version 1.26.3.0.

So what's core 4.10 ??

Guest
13th April 2023, 03:31
Atak,

Is there some way you could provide a Colourspace conversion from BT709 to BT2020.

Not sure in ColourMatrix can do this...

I tried a simple conversion with Handbrake, and it worked, and MediaInfo show that the BT709 clip had been changed to BT2020.

Some info from HB's log:-

"Settings": {
"desat": "0",
"matrix": "bt2020ncl",
"primaries": "bt2020",
"tonemap": "hable",
"transfer": "bt2020-10"
}

Guest
13th April 2023, 03:53
Any thoughts on what might cause this series of errors in DE ??

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

It only seems to happen with 4K HDR clips.

But I have to confess, I am using a custom script.

Atak_Snajpera
13th April 2023, 04:00
Not enough RAM or VRAM?

Guest
13th April 2023, 04:04
Not enough RAM or VRAM?

I have 32Gb DDR5...

I've only got 8Gb on the RTX 3060, could I use multiple GPU's

Forgot to mention, would it be the iGPU on the 7950X being used instead of the 3060 ??

Atak_Snajpera
13th April 2023, 04:09
You are using script which uses vulkan api so 8 GB is not enough.

Guest
13th April 2023, 04:14
You are using script which uses vulkan api so 8 GB is not enough.

Right you are...

So it's either not use it on 4K, or buy a better GPU, 12Gb or so.

NOTE:-

I forgot to mention, (unfortunately), that script does run in "single" encoding mode....so maybe it's just something about DE, again, like it was with the 60 FPS conversions.

If you wouldn't mind looking into that side of things :)

Ryushin
13th April 2023, 20:59
So I've been fighting with color banding on the Blu-ray U-571 underwater scenes. Problem really shows itself when using SMDegrain (hard) as it cleans up the source so much I've been getting banding.

I tried encoding to 12 bit color to but did not make a difference. So I tried using PD's full build which including ColorMatrix2.6 and using the custom script to convert BT709 to BT2020:
#ColorSpace
SetCacheMode(1)
SetMemoryMax(16384)
LoadPlugin("%AVISYNTHPLUGINS%\PD_TOOLS\ColorMatrix26\ColorMatrix64.dll")
video=ColorMatrix(video,mode="Rec.709->Rec.2020")

But this script did not work and it did not show any improvement. Mediainfo still showed BT709.
So U-571 was on the back burner for a few days as I put it aside until I could figure out the above how to fix the above.

So after that, I started working with Topaz Video AI in upscaling video. Oh, my word, Topaz Video AI is bloody amazing. Upscaled a few DVDs to HD using a two step process, DVD to 720p, 720p to 1080p, using the Artemis model. Results have been staggeringly good. Topaz can even clean up the remaining grain that SMDegrain (hard) can't remove. I was having issues with Moonstruck still having quite a bit of grain. Topaz removed the grain and upscaled it to 4K and the results were amazing!

I noticed my BT709 10 bit color was being converted back to 8 bit color. By chance I opened Handbrake and I saw that it had the option to convert the colorspace and it actually worked. So that sent me down a different path.

So I have a DVD series called Jericho that I wanted to redo in Topaz.
*) Extracted the episodes using MakeMKV
*) Dumped them into Handbrake, with BT709 color conversion as DVDs use BT601, upscaled to get rid of anamorphic (854x480 16:9), CQ14, no other filters.
*) Took the Handbrake output and pulled it into RB and SMDegrain (hard), CQ14
*) Pulled the RB output into Topaz and started a two step output, DVD to 720p, 720p to 1080p. I looked at the 720p last night, and the colors are richer compared to the DVD counterpart.

So converting DVDs BT601 to BT709 also has good benefits.

So back to U-571 and my banding problem. I pulled U-571 into Handbrake, set CQ14, set the cropped dimensions and the filter option to BT2020 and had it do an encode. I took the Handbrake output, pulled it into Ripbot and set the SMDegrain (hard) and low and behold, no color banding, at all. Even the sunlight coming down through the water is perfect. Perfect! Next I'm going to pull U-571 into Topaz and try upscaling to 4K 60fps. We we'll see how that turns out.

I see that @FTLOY just mentioned Handbrake could convert the colorspace as well, so at least two of us have found that.

So Atak, a feature request, please if possible, the ability to convert colorspaces. From BT601 to BT709, and BT709 to BT2020. My workflow process will always have this step now.

Also, something I noticed, Ripbot displays the colored HDR logo even though no HDR is used. I wonder if you are checking for BT2020 in your detection script and when it sees that it shows the HDR logo. It would be better to check for HDR entry in mediainfo instead:
HDR format : SMPTE ST 2086, HDR10 compatible

Thanks Atak.

guest
14th April 2023, 06:10
So I've been fighting with color banding on the Blu-ray U-571 underwater scenes. Problem really shows itself when using SMDegrain (hard) as it cleans up the source so much I've been getting banding.

That is a pretty intense workflow :(

Maybe you could try some de-banding filters..

f3kdb

neo-f3kdb

Gradfun3plus

Uband, and there might be some others out there...

Cheers

Ryushin
14th April 2023, 08:36
That is a pretty intense workflow :(

Maybe you could try some de-banding filters..

f3kdb

neo-f3kdb

Gradfun3plus

Uband, and there might be some others out there...

Cheers

I did try a couple of those but did not actually have much success. It introduced more artifacts than I liked. Actually changing the color space to provide more gradient colors seems to me to be more of a proper fix. We'll see as I go down this path further.

Looking at my post above, I left out the final step of pulling in the Topaz file back into RB and reencoding to CQ18 to give me the smaller file size.

slalom
14th April 2023, 12:36
new update core 4.10 have error , lost frame ,sound not sync
Same here, core 2023.04.09

guest
14th April 2023, 14:27
Same here, core 2023.04.09

I'm pretty sure I haven't had this issue....but if 2 users have reported it, then who knows....

But it's not core 4.10, tho :scared:

slalom
15th April 2023, 10:52
Maybe you didn't have a video that needed sync

guest
15th April 2023, 10:58
Maybe you didn't have a video that needed sync

I don't understand what you're saying...

All videos need the audio to be sync'ed...

Ryushin
16th April 2023, 14:27
I've seen this recently, sometimes, for some reason one of the chunk size from Frame Start to Frame End shows a -1.
https://i.postimg.cc/WFN4Pgwh/Broken-Chunk-Size.png (https://postimg.cc/WFN4Pgwh)

Problem only seems to be DVD episodes extracted using MakeMKV.

Media Info:
Video
ID : 1
ID in the original source medium : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 49 min 46 s
Bit rate mode : Variable
Bit rate : 4 089 kb/s
Maximum bit rate : 9 800 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Scan order : 2:3 Pulldown
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.494
Time code of first frame : 00:59:59;00
Time code source : Group of pictures header
Stream size : 1.42 GiB (95%)
Language : English
Default : No
Forced : No
Original source medium : DVD-Video

Source file: https://cloud.chrisdos.com/s/afdHAGNcaoH6EWK

When I encounter this, I dump the file into Handbrake converting it to x265 and then adding it into Ripbot to make it work.

Atak_Snajpera
16th April 2023, 16:03
I've seen this recently, sometimes, for some reason one of the chunk size from Frame Start to Frame End shows a -1.
https://i.postimg.cc/WFN4Pgwh/Broken-Chunk-Size.png (https://postimg.cc/WFN4Pgwh)

Problem only seems to be DVD episodes extracted using MakeMKV.

Media Info:
Video
ID : 1
ID in the original source medium : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 49 min 46 s
Bit rate mode : Variable
Bit rate : 4 089 kb/s
Maximum bit rate : 9 800 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Scan order : 2:3 Pulldown
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.494
Time code of first frame : 00:59:59;00
Time code source : Group of pictures header
Stream size : 1.42 GiB (95%)
Language : English
Default : No
Forced : No
Original source medium : DVD-Video

Source file: https://cloud.chrisdos.com/s/afdHAGNcaoH6EWK

When I encounter this, I dump the file into Handbrake converting it to x265 and then adding it into Ripbot to make it work.

Enable INVERSE TELECINE option under DEINTERLACE section.
29.97 fps NTSC video is just a telecined 23.976 fps.
If you were encoding those videos as 29.97 fps then you just wasted a lot of time because it is wrong!

guest
17th April 2023, 03:26
Enable INVERSE TELECINE option under DEINTERLACE section.
29.97 fps NTSC video is just a telecined 23.976 fps.
If you were encoding those videos as 29.97 fps then you just wasted a lot of time because it is wrong!

Can confirm, this definitely fixed the issue. :o

Ryushin
17th April 2023, 09:04
Enable INVERSE TELECINE option under DEINTERLACE section.
29.97 fps NTSC video is just a telecined 23.976 fps.
If you were encoding those videos as 29.97 fps then you just wasted a lot of time because it is wrong!

Thanks Atak. I will note that for the future. Going to be converting a lot of DVDs soon.

guest
17th April 2023, 13:29
Atak,

I have recently realised that my LG 4K TV supports VP9 HDR10.

So I have done a couple of tests using Handbrake to encode an episode of Game of Thrones 4K HDR10, and it looks very smooth & crisp (to my eyes).

From what I've read, VP9 is supposed to be good for high bitrate, high resolution video...

So, I have to ask, would you consider incorporating the option to encode using VP9 ?

I was going to ask about AV1 as well, but unfortunately the TV doesn't support it, and AV1 is also a very slow encoding process too, apparently,
but if AV1 can be used with DE, then that would relieve the pain a lot :)

Atak_Snajpera
17th April 2023, 14:33
In terms of quality VP9 is on par with HEVC (x265). Besides VP9 is already an outdated codec superseded by AV1. I'm more interested in x266 which is still in very early phase of development though.

guest
17th April 2023, 14:41
In terms of quality VP9 is on par with HEVC (x265). Besides VP9 is already an outdated codec superseded by AV1. I'm more interested in x266 which is still in very early phase of development though.

So despite that VP9 is "outdated" by AV1, would you consider adding them to RB ??

Atak_Snajpera
17th April 2023, 14:51
no. Syntax and output is too different. Too much work for outdated codec. For example adding x265 was simple because it was built from x264. I hope x266 will follow that pattern.

guest
17th April 2023, 15:01
no. Syntax and output is too different. Too much work for outdated codec. For example adding x265 was simple because it was built from x264. I hope x266 will follow that pattern.

OK, fair enough, at least I asked...so I guess if I want to pursue some VP9 encoding, I'll have to use another app...so many to choose from, but Handbrake does a pretty good job, and is pretty easy to use...some of the others are not.

Atak_Snajpera
17th April 2023, 15:08
Still no idea why you prefer VP9 over HEVC. Compression is more or less the same. Also Highly optimized x265 may be even faster than vp9 in terms of quality/compression.

guest
17th April 2023, 15:14
Still no idea why you prefer VP9 over HEVC. Compression is more or less the same. Also Highly optimized x265 may be even faster than vp9 in terms of quality/compression.

I'm not saying I prefer it....its just something I'd like to try.

And by highly optimised x265, I guess you mean customised commands ???

Ryushin
19th April 2023, 22:37
Hi Atak,

I thought that Ripbot support Prores files. I have an output from Topaz Video AI that is Prores LT and is a staggering 214GB. I tried encoding single thread and the job aborts after a couple of seconds and Distributed Encoding which causes the Encoding server just start the chunk over and over without processing any of it.

Is the issue that it's Prores LT or something else?

Media info:
General
Complete name : /netshares/movies/Incoming/AI_Upscale/Shop_Around_the_Corner_1940_HD_to_4K_amq13.mov
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt 0000.02 (qt )
File size : 215 GiB
Duration : 1 h 38 min
Overall bit rate mode : Variable
Overall bit rate : 312 Mb/s
Encoded date : UTC 2023-04-17 12:32:38
Tagged date : UTC 2023-04-17 12:32:38
major_brand : qt
minor_version : 512
compatible_brands : qt
videoai : Enhanced using amq-13. Changed resolution to 2960x2160
title : Shop Around the Corner (1940) HD
creation_time : 2023-04-17T12:32:38.000000Z
encoder : Lavf60.4.100

Video
ID : 1
Format : ProRes
Format version : Version 0
Format profile : 422 LT
Codec ID : apcs
Duration : 1 h 38 min
Bit rate mode : Variable
Bit rate : 311 Mb/s
Width : 2 960 pixels
Height : 2 160 pixels
Display aspect ratio : 1.370
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:2
Scan type : Progressive
Bits/(Pixel*Frame) : 2.027
Stream size : 214 GiB (100%)
Writing library : Apple
Encoded date : UTC 2023-04-17 12:32:38
Tagged date : UTC 2023-04-17 12:32:38
Color primaries : BT.2020
Transfer characteristics : BT.2020 (10-bit)
Matrix coefficients : BT.2020 non-constant
Menus : 3

First error I got in the log file was:
x265 [error]: main10 profile not compatible with i422 input chroma subsampling.

Doing a google found this:
https://stackoverflow.com/questions/66328252/lossless-video-to-h-265-error-main10-profile-not-compatible-with-i422-input
I manually added the "--pix_fmt yuv420p" to the job1_EncodeVideoPass1.cmd file.

Now the error is:
D:\Temp\RipBot264temp\job3>"C:\Program Files\RipBot264\Tools\ffmpeg\bin\ffmpeg.exe" -loglevel panic -i "D:\Temp\RipBot264temp\job1\job1.avs" -strict -1 --pix_fmt yuv420p -f yuv4mpegpipe - | "C:\Program Files\RipBot264\tools\x265\x265_x64.exe" --colorprim bt2020 --transfer bt2020-10 --colormatrix bt2020nc --crf 18 --fps 24000/1001 --min-keyint 24 --keyint 240 --frames 141961 --sar 1:1 --profile main10 --output-depth 10 --sar 1:1 --ctu 64 --merange 57 --y4m --output "D:\Temp\RipBot264temp\job1\video.265" -
x265 [error]: unable to open input file <->

So I'm not sure what the problem is at this point.

Any insight you can provide Atak I would appreciate it. Afraid I'm going to be doing quite a few more of these Prores LT files as it's the only output from Video AI for me that is BT2020.

guest
20th April 2023, 01:33
Hi Atak,

I thought that Ripbot support Prores files. I have an output from Topaz Video AI that is Prores LT and is a staggering 214GB. I tried encoding single thread and the job aborts after a couple of seconds and Distributed Encoding which causes the Encoding server just start the chunk over and over without processing any of it.

Is the issue that it's Prores LT or something else?

So I'm not sure what the problem is at this point.

Any insight you can provide Atak I would appreciate it. Afraid I'm going to be doing quite a few more of these Prores LT files as it's the only output from Video AI for me that is BT2020.

OMG & WTF....

That is ridiculously large...

As a casual Topaz user, surely there are other formats that can do BT2020, but if not, there's other ways to convert to BT2020!!

But I think it might be an x265 issue...

https://x265.readthedocs.io/en/3.4/cli.html

--input-csp <integer|string>
Chroma Subsampling (YUV only): Only 4:0:0(monochrome), 4:2:0, 4:2:2, and 4:4:4 are supported at this time. The chroma subsampling format of your input must match your desired output chroma subsampling format (libx265 will not perform any chroma subsampling conversion), and it must be supported by the HEVC profile you have specified.

i400 (4:0:0 monochrome) - Not supported by Main or Main10 profiles
i420 (4:2:0 default) - Supported by all HEVC profiles
i422 (4:2:2) - Not supported by Main, Main10 and Main12 profiles
i444 (4:4:4) - Supported by Main 4:4:4, Main 4:4:4 10, Main 4:4:4 12, Main 4:4:4 16 Intra profiles
nv12
nv16

You may have to create a custom x265 profile !

Just a thought, what if you removed this --profile main10 from the x265 profile... (might revert back to 8 bit)...it didn't !!!

However, a small sample of this HUGE file would be handy, and maybe even benefit Atak in a solution.

Good Luck.

UPDATE:-

OK, I created my own little 422 LT prores .mov sample, with Topaz 3.2.2, and proceeded to test in RB, and after just a couple of profile edits, this is the command line (or similar) you need to use.

--level 6.2 --hdr10 --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000

x265 will create it's own 4:2:2 10 profile :scared::D, or just remove the --profile main10 from the profile you're using.

Easy peasy.

NOTE:- If possible, it seems that Topaz does a "nicer" job on a clip that has already been "dealt with" prior to using it. Meaning any filtering, denoising, deinterlacing, degraining, etc. And possibly saves a LOT of Topaz processing time.

Ryushin
20th April 2023, 12:57
OMG & WTF....

That is ridiculously large...

As a casual Topaz user, surely there are other formats that can do BT2020, but if not, there's other ways to convert to BT2020!!

But I think it might be an x265 issue...

https://x265.readthedocs.io/en/3.4/cli.html

--input-csp <integer|string>
Chroma Subsampling (YUV only): Only 4:0:0(monochrome), 4:2:0, 4:2:2, and 4:4:4 are supported at this time. The chroma subsampling format of your input must match your desired output chroma subsampling format (libx265 will not perform any chroma subsampling conversion), and it must be supported by the HEVC profile you have specified.

i400 (4:0:0 monochrome) - Not supported by Main or Main10 profiles
i420 (4:2:0 default) - Supported by all HEVC profiles
i422 (4:2:2) - Not supported by Main, Main10 and Main12 profiles
i444 (4:4:4) - Supported by Main 4:4:4, Main 4:4:4 10, Main 4:4:4 12, Main 4:4:4 16 Intra profiles
nv12
nv16

OK, I created my own little 422 LT prores .mov sample, with Topaz 3.2.2, and proceeded to test in RB, and after just a couple of profile edits, this is the command line (or similar) you need to use.

--level 6.2 --hdr10 --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000

x265 will create it's own 4:2:2 10 profile :scared::D, or just remove the --profile main10 from the profile you're using.

Easy peasy.

NOTE:- If possible, it seems that Topaz does a "nicer" job on a clip that has already been "dealt with" prior to using it. Meaning any filtering, denoising, deinterlacing, degraining, etc. And possibly saves a LOT of Topaz processing time.

Thanks for this. I've been going down the rabbit hole and it seems that FFMPEG will do the chroma conversion before passing it through to x265 as 4:2:0.

I used Fastflix to start the conversion (it's running now) and it had the ffmpeg command being used. I looked at the FFMPEG command:
ffmpeg.exe" -y -i "M:\Incoming\AI_Upscale\Shop_Around_the_Corner_1940_HD_to_4K_amq13.mov" -metadata title="Shop Around the Corner (1940) 4K Upscale from HD" -max_muxing_queue_size 1024 -map 0:0 -c:v libx265 -pix_fmt yuv420p10le -profile:v main10 -x265-params "aq-mode=2:repeat-headers=0:strong-intra-smoothing=1:bframes=4:b-adapt=2:frame-threads=0:colorprim=bt2020:transfer=bt2020-10:colormatrix=bt2020nc:hdr10_opt=0:hdr10=0" -crf:v 18 -preset:v medium -metadata:s:v rotate=0 -map_metadata 0 -map_chapters 0 -map 0:1 -metadata:s:1 title="" -metadata:s:1 handler="" -metadata:s:1 language=eng -c:1 copy -default_mode infer_no_subs "M:\Incoming\AI_Upscale\Shop_Around_the_Corner_1940_4K_Upscale.mkv"

So I'm going to adapt that command to RB. Right now, the ffmpeg command being used by RB (does not work) is:
ffmpeg.exe" -loglevel panic -i "D:\Temp\RipBot264temp\job1\job1.avs" -strict -1 -f yuv4mpegpipe - | "C:\Program Files\RipBot264\tools\x265\x265_x64.exe" --colorprim bt2020 --transfer bt2020-10 --colormatrix bt2020nc --crf 18 --fps 24000/1001 --min-keyint 24 --keyint 240 --frames 141961 --sar 1:1 --profile main10 --output-depth 10 --sar 1:1 --ctu 64 --merange 57 --y4m --output "D:\Temp\RipBot264temp\job1\video.265" -

Once I figure out the correct syntax, I'll post it here.

guest
20th April 2023, 14:31
Thanks for this.

Once I figure out the correct syntax, I'll post it here.

I don't understand all this FFmpeg BS...all I did was create a similar Topaz output as you did, loaded that x265 profile, and it loaded, DE ran, looking at the details of the process in the encoders window, it clearly shows the 4.2.2.10 profile has been "created automatically".

And it simply worked !!!!

From what I can tell, it's an x265 problem, nothing to do with FFmpeg.

Ryushin
20th April 2023, 15:23
I don't understand all this FFmpeg BS...all I did was create a similar Topaz output as you did, loaded that x265 profile, and it loaded, DE ran, looking at the details of the process in the encoders window, it clearly shows the 4.2.2.10 profile has been "created automatically".

And it simply worked !!!!

From what I can tell, it's an x265 problem, nothing to do with FFmpeg.

What I'm aiming for is compatibility. If I can encode to Main10 I'll have the most compatibility between devices. So using FFMPEG allows me to convert to 4:2:0 so I can use Main10. I'd like the files to direct play on all modern'ish devices without transcoding.

So yes, the problem is with x265. Since ffmpeg is a swiss army knife for video, it can fix the problem that x265 can't and I get the best of both worlds.

I very much appreciate you leading me down the path to show me what the actual problem was. Should be a simple enough fix once I figure out the syntax.

guest
20th April 2023, 15:31
What I'm aiming for is compatibility. If I can encode to Main10 I'll have the most compatibility between devices. So using FFMPEG allows me to convert to 4:2:0 so I can use Main10. I'd like the files to direct play on all modern'ish devices without transcoding.

So yes, the problem is with x265. Since ffmpeg is a swiss army knife for video, it can fix the problem that x265 can't and I get the best of both worlds.

I very much appreciate you leading me down the path to show me what the actual problem was. Should be a simple enough fix once I figure out the syntax.

So why can't you go straight to x265 with Topaz ?

Ryushin
20th April 2023, 16:43
So why can't you go straight to x265 with Topaz ?

It seems the AMD H265 Encoder that Topaz has created does not support BT2020 output. So the only other option besides image sequence files is Prores LT. I think the nVidia Main 10 on Topaz does do BT2020. I requested that they add x265 as a encoder. Who knows if that will happen.

slalom
20th April 2023, 22:12
I don't understand what you're saying...

All videos need the audio to be sync'ed...
When there is a difference between video & audio duration, most likely the result will be out of sync

That's why you see a delay added to some filenames in job temp folder

like this one "1_audio_English_DEFAULT_DELAY6ms.dtsma"

guest
21st April 2023, 01:20
It seems the AMD H265 Encoder that Topaz has created does not support BT2020 output. So the only other option besides image sequence files is Prores LT. I think the nVidia Main 10 on Topaz does do BT2020. I requested that they add x265 as a encoder. Who knows if that will happen.

OK, so if that is the case, then I guess Topaz determines what hardware your system has, and uses the "matching" appropriate software...

So in your case, you have an AMD GPU, and I have nVidia GPU's.

What if you chose the CPU as the encoder...but that's AMD as well..

I might do a quick test, and see what happens..

It's just such a PITA that "we" discover the benefits of Topaz, but in turn, it creates a whole other set of problems :(

I thought I might have had a reply to the PM's I sent a few days ago.

This is the "list" of available encoders on my Topaz setup....what's yours??

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

ReinerSchweinlin
21st April 2023, 12:36
Topaz Video Enhance AI does not offer CPU MPEG Encoding - depending on the hardware installed, the GPU Encoders are used for AVC and HEVC.... This is only usable for quick and dirty encodes or if bitrate is not important and you can crank it up..... to be bold - the implementations are not very good, only bitrate encoding is offered...

but you could bake your own json file and use any encoder setting you like...

most people output either prores or single images and encode later... in case of a crash, the single image method is the most robust....

ReinerSchweinlin
21st April 2023, 12:40
@Atak

I got three requests:

- Enable Ripbot to pass through attachements of MKV Containers. For example stored fonts for subtitles - these are left out at the moment.
- Enable Ripbot to process more audio-streams than the first one in batch mode (I get that if channel count is different, this is not possible in the current way, since only one profile can be chosen - but maybe the next one helps in this regard)
- Give the option of "bitrate per channel" in the batch mode - this way if a file has one 5.1 stream, one stereo and one 7.1 - choosing a profile like "AAC LC 64kbit/s per channel" would be choosable in batch mode.

Thanx for Ripbot once again. It really is a wonderful program :)

Regards

ReinerSchweinlin
21st April 2023, 12:41
So why can't you go straight to x265 with Topaz ?

Due to licence issues, x265/4 is not offered in TVAI. Only the GPU Encoders are usable (unless you tweak your JSON Files or compile your own ffmpeg - enabling avisynth and such...)...

guest
22nd April 2023, 01:49
Topaz Video Enhance AI does not offer CPU MPEG Encoding - depending on the hardware installed, the GPU Encoders are used for AVC and HEVC.... This is only usable for quick and dirty encodes or if bitrate is not important and you can crank it up..... to be bold - the implementations are not very good, only bitrate encoding is offered...

but you could bake your own json file and use any encoder setting you like...

most people output either prores or single images and encode later... in case of a crash, the single image method is the most robust....

I beg to differ...

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

guest
22nd April 2023, 01:56
@Atak

I got three requests:

- Enable Ripbot to pass through attachements of MKV Containers. For example stored fonts for subtitles - these are left out at the moment.
- Enable Ripbot to process more audio-streams than the first one in batch mode (I get that if channel count is different, this is not possible in the current way, since only one profile can be chosen - but maybe the next one helps in this regard)
- Give the option of "bitrate per channel" in the batch mode - this way if a file has one 5.1 stream, one stereo and one 7.1 - choosing a profile like "AAC LC 64kbit/s per channel" would be choosable in batch mode.

Thanx for Ripbot once again. It really is a wonderful program :)

Regards

Some of these have been asked for, several times, over the years, and yet ....

It is a shame that "Batch" hasn't got the exact same options as loading a job "manually" :(

guest
22nd April 2023, 01:58
Due to licence issues, x265/4 is not offered in TVAI. Only the GPU Encoders are usable (unless you tweak your JSON Files or compile your own ffmpeg - enabling avisynth and such...)...

So I'm guessin' that you use Topaz ??

So what are these "tweaks" you speak of ?? (an example would be interesting)

ReinerSchweinlin
22nd April 2023, 12:16
I beg to differ...

https://i.imgur.com/XMWKsri.jpg
you are welcome to do so - but you are mixing up "where to run the inference engine on" and the "video output encoding part"...

ReinerSchweinlin
22nd April 2023, 12:21
So I'm guessin' that you use Topaz ??

So what are these "tweaks" you speak of ?? (an example would be interesting)

tweaks?
you can edit the .json files which include the output presets for ffmpeg encoding. the list of output formats and the settings behind each "encode knob" in TVAI actually gets its info from a JSON file where the ffmpeg call is described in more detail..

so you can add your own output format for encoding as long as ffmpeg supports it.

due to license issues, avisynth input is not compiled into ffmpeg bundled with TVAI - but you can compile everything yourself and include Avisynth. everything is on github.

guest
22nd April 2023, 13:03
@ ReinerSchweinlin

Thanks for your information, but as I don't use Topaz all that much, and possibly won't do so, so I don't know too much about where "things" are.

I can't seem to locate the .json files you speak of, so I can't open one and have a look at the info contained :(

I'm sure other's that might read this, and use Topaz more than I, might find it quite useful :)

I'm just a diehard RipBot user, but I do use the Pauly Dunne builds, tho, so I try and do everything I need, with RB.

Cheers.

guest
23rd April 2023, 04:31
another plugin:
http://avisynth.nl/index.php/SVPflow


Hi darkio,

FYI..

If you read this anytime soon, I have managed to get SVPFlow working with RipBot...it's a little complicated, but it seems to output a very nice smooth high FPS encode (well with the 4K HDR10 clip I tested it with).

darkio
23rd April 2023, 09:06
Pauly Dunne
thanks to reply to me :)
of course, I'm very curious.

00-00
24th April 2023, 01:27
I've been using ripbot for a while successfully, but when if use batch mode on bluray/M2TS files and select copy stream for audio, once I go into the individual encoding settings, there is no audio & the audio dropdown section just states: ---[NO AUDIO]--- I get this no matter what audio option I select, but I want to use copy stream.

I don't have the problem at all if I do each file individually though, but I'd really like to use batch mode to save a lot of time loading each file individually - is there something I'm doing wrong? Thank you!

guest
24th April 2023, 01:56
I've been using ripbot for a while successfully, but when if use batch mode on bluray/M2TS files and select copy stream for audio, once I go into the individual encoding settings, there is no audio & the audio dropdown section just states: ---[NO AUDIO]--- I get this no matter what audio option I select, but I want to use copy stream.

I don't have the problem at all if I do each file individually though, but I'd really like to use batch mode to save a lot of time loading each file individually - is there something I'm doing wrong? Thank you!

Your 1st post was back in June 2015....and some time later, you also asked about this same problem...nice to get some help...not !

What if you ran the m2ts's thru MKVToolNix, you could remove any tracks that you don't want, then load the "new" mkv into RB....

guest
24th April 2023, 03:00
Pauly Dunne
thanks to reply to me :)
of course, I'm very curious.

Hello,

OK, so on very much closer inspection, I don't think it does such a good job on certain scenes.

There is this particular scene I have been using to test, and if you freeze the frame at just the right moment you can see awful staggered "ghosting" or "haloing" (not sure how to describe it).

I have also tried ConvertFPS(), and ChangeFPS(), and change does it better, that same scene, frame by frame is quite defined, albeit the framerate has been increased to 60fps.

So even tho there is much hype about SVP, I doubt I will use it...might be OK for anime, but not for "live" fast moving HD video.

I think one of the problems might be the changes you have to make to the video for SVP to work (on certain types, at least, like 4K HDR stuff).

Slightly disappointed :(

00-00
24th April 2023, 05:55
Your 1st post was back in June 2015....and some time later, you also asked about this same problem...nice to get some help...not !

What if you ran the m2ts's thru MKVToolNix, you could remove any tracks that you don't want, then load the "new" mkv into RB....



:):) That's the thing, mkv's work fine in batch mode, ie the audio is recognized and appears, but m2ts's audio will only work if I add them individually, which is a pain when there's a lot of them to do. :( Just to clarify, if I open a bluray with Ripbot, I get the option to load/prepare the main movie itself and possibly some of the other files, but usually doing it that way leaves a number of smaller/shorter duration files that I need to convert to mkv, that Ribot doesn't 'see' when I open a disk, that have to be then extracted from the disk then loaded in manually individually to Ripbot, so I'd much prefer to be able to load the smaller/shorter duration files in via batch mode to save me having to extract them from the disk, then click each one individually to load it. Sorry if this was already obvious, just wanted to be clear!!

guest
24th April 2023, 06:30
:):) That's the thing, mkv's work fine in batch mode, ie the audio is recognized and appears, but m2ts's audio will only work if I add them individually, which is a pain when there's a lot of them to do. :( Just to clarify, if I open a bluray with Ripbot, I get the option to load/prepare the main movie itself and possibly some of the other files, but usually doing it that way leaves a number of smaller/shorter duration files that I need to convert to mkv, that Ribot doesn't 'see' when I open a disk, that have to be then extracted from the disk then loaded in manually individually to Ripbot, so I'd much prefer to be able to load the smaller/shorter duration files in via batch mode to save me having to extract them from the disk, then click each one individually to load it. Sorry if this was already obvious, just wanted to be clear!!

TBH, I have never tried to load an m2ts into batch, in fact I don't use batch very much at all, due to it's limitations...
if you need certain functions, you need to create custom scripts that do what you want, and then use that in batch.

But that won't help with your issue. :(

I also don't use m2ts much, as I don't rip disks, if you get my drift :rolleyes:

And if I do, I generally run them thru MKVToolNix, as I only want the main movie file..it's only when the m2ts is split, then it's a bit of a pain.

I don't really like m2ts in general, they can be a complicated mess.

Good luck, and you just may have to do it the "long / slow" way :(

1 question...do you use Distributed Encoding ??

UPDATE:- I just happened to find some .m2ts files (Starwars - Solo.A.Star.Wars.Story.2018), and yep, batch just doesn't work with that type, does it :(

Why I asked if you use DE, is if you don't, then you could try other apps.

I just loaded that movie into Handbrake, and it took a little while to sort it all out, but it then displays ALL the available files, and if you knew which ones you wanted, then you could just process them.

Also tried StaxRip, and it only imports the Playlists, so that generally just the main movie...

And Fastflix doesn't seem to like them at all, one file at a time :(

00-00
24th April 2023, 19:30
TBH, I have never tried to load an m2ts into batch, in fact I don't use batch very much at all, due to it's limitations...
if you need certain functions, you need to create custom scripts that do what you want, and then use that in batch.

But that won't help with your issue. :(

I also don't use m2ts much, as I don't rip disks, if you get my drift :rolleyes:

And if I do, I generally run them thru MKVToolNix, as I only want the main movie file..it's only when the m2ts is split, then it's a bit of a pain.

I don't really like m2ts in general, they can be a complicated mess.

Good luck, and you just may have to do it the "long / slow" way :(

1 question...do you use Distributed Encoding ??

UPDATE:- I just happened to find some .m2ts files (Starwars - Solo.A.Star.Wars.Story.2018), and yep, batch just doesn't work with that type, does it :(

Why I asked if you use DE, is if you don't, then you could try other apps.

I just loaded that movie into Handbrake, and it took a little while to sort it all out, but it then displays ALL the available files, and if you knew which ones you wanted, then you could just process them.

Also tried StaxRip, and it only imports the Playlists, so that generally just the main movie...

And Fastflix doesn't seem to like them at all, one file at a time :(

Don't use Distributed Encoding, and have been using Handbrake for the for the groups of odd files that I have been having problems with, but I've noticed, and I don't know if it's me or something I'm doing or not doing (quite possible!) but I've found when using handbrake at the same settings as Ripbot, as far as possible (CQ 22, Slower, Film preset), that the Ripbot files seemed to look noticeably better than the Handbrake files hence why I was looking into trying to get Ripbot batch working for me again... But thank you you for your help, it's appreciated! :)

guest
25th April 2023, 01:51
Don't use Distributed Encoding, and have been using Handbrake for the for the groups of odd files that I have been having problems with, but I've noticed, and I don't know if it's me or something I'm doing or not doing (quite possible!) but I've found when using handbrake at the same settings as Ripbot, as far as possible (CQ 22, Slower, Film preset), that the Ripbot files seemed to look noticeably better than the Handbrake files hence why I was looking into trying to get Ripbot batch working for me again... But thank you you for your help, it's appreciated! :)

OK, so do you only have 1 PC ???, because if you have 2 or more, DE WILL be a huge benefit....

Even tho you can get the settings of both RB & HB, approx the same, their process is different, I think.

HB does things that RB can't, and vice versa...it's good to know both.

I generally go for CQ (CRF) 14 - 16 with no presets, like slower, or film, and I pretty much exclusively use x265, you can customise the x265 profile do to all sorts of amazing things.

But as for you being able to get batch to work the way you want, is not possible, AFAIK, it's the way the app has been "written", ONLY Atak could do anything about it. :(

00-00
25th April 2023, 06:38
OK, shame, but makes sense. Need to start figuring out x265 now, I know I'm late to the party, still using x264! Thanks for your help, much appreciated!

guest
25th April 2023, 06:50
OK, shame, but makes sense. Need to start figuring out x265 now, I know I'm late to the party, still using x264! Thanks for your help, much appreciated!

You're welcome..

Yep, x265 is a lot more tunable AFAIK, than x264.

You could have a bit of a read here:-

https://x265.readthedocs.io/en/master/cli.html

I have a lot of custom x265 profiles, and it can change, encoding quality, speed, colourspace, compatibility, etc, etc....

Never too old or late to learn :D

avinewbie
26th April 2023, 10:31
[QUOTE=00-00;1986163]:):) That's the thing, mkv's work fine in batch mode, ie the audio is recognized and appears, but m2ts's audio will only work if I add them individually, which is a pain when there's a lot of them to do. :

Hi

Not sure if this is useful for you but MKVbatch tool can remux multiple videos.

it will only work with MKVToolnix Ver 19 or older.

https://forum.videohelp.com/threads/371886-Batch-merges-for-MKVmerge-%28Windows-only%29/page5

maybe it can help

Ryushin
26th April 2023, 17:35
I've been using ripbot for a while successfully, but when if use batch mode on bluray/M2TS files and select copy stream for audio, once I go into the individual encoding settings, there is no audio & the audio dropdown section just states: ---[NO AUDIO]--- I get this no matter what audio option I select, but I want to use copy stream.

I don't have the problem at all if I do each file individually though, but I'd really like to use batch mode to save a lot of time loading each file individually - is there something I'm doing wrong? Thank you!

I personally try not to use M2TS files as I loose chapters and other things. Not to mention that you might have 2 or more m2TS files that are chained together to make the full video file. I've been using MakeMKV to extract the episodes/movies from ripped disc sources. If you are ripping from discs, it would be beneficial to use MakeMKV to make the individual video files to import into Ripbot.

rp1989
26th April 2023, 18:30
Hi, does anyone know if there is any way to run the Ripbot264 Encoding Server in a docker container? This would be very useful for distributed encoding rather than setting up a windows VM.

Any ideas please?

guest
27th April 2023, 01:52
Any ideas please?

I'd just like to say that I think why you haven't had any response is either no one knows exactly what you need, or it's not possible.

I guess one important thing might be what kind of docker are you wanting to run, and what OS are you running that docker in ??

RipBot is exclusively a Windows based app !!

Why isn't a VM wanted ??

I must add, I have no idea either way, I'm just sayin'...

Good luck.

guest
30th April 2023, 15:26
Hey guy's,

Atak had released a substantial update...will be really interested to see the changes :)

So updated :- core, ffmpeg, mediainfo, mpc, downloadposter, x264, x265.

v1.27.0
Added: Trimming option (Segments)
Added: Better support for mkv attachments
Added: Better detection of HDR video
Changed: Cosmetic changes to UI
Fixed: Various non critical bugs

:thanks: :thanks:

Comment:- I like the new "Segment's" option :) I was having an issue on how to use this new feature, but I've figured it out, and it seems to work a treat :)

Interesting that there is now a "slider" to change between the Avisynth settings pages (now there's 3 of them), and the video preview works quite differently as well,
instead of mpc-hc pausing at the midpoint of the preview clip, it now starts at the beginning, and you have to tap the space bar to make it play (and pause), and it also shows the "time" & "frames" (for editing)

Here's a basic "tutorial" on how to use the new Segment feature:-

https://i.imgur.com/2L7glmF.jpg

NOTE:- This will not "cut" (trim) subtitles, if you want subtitles to be cut with this feature, I think you will have to hard code them to the video prior to using this.
Or go to the trouble of re-timing them afterwards.

avinewbie
1st May 2023, 09:42
Hi TDS

Thanks for that great step by step post.
Its a pity there isnt an option to split soft subtitles.
I found the same issue in MEGUI.

There is a AudSub_Splitter( only for SRT I think) But i dont have the experience to get it to work:-(
https://sourceforge.net/projects/aud-subsplitter/files/

Atak_Snajpera
1st May 2023, 10:04
Cuting text based subititles is on my todo list. I just wanted to check if there is a real demand from users.

avinewbie
1st May 2023, 10:55
Cuting text based subititles is on my todo list. I just wanted to check if there is a real demand from users.

That would be super:thanks:

guest
8th May 2023, 11:16
Cutting text based subtitles is on my to-do list. I just wanted to check if there is a real demand from users.

OK, another autoupdate....

A new feature, "Cutsub".

Also an update to mpc.

:thanks:

More Info:-

So, CutSub.exe is semi-automatic, (can be enabled, or disabled) if you choose the to add subtitles it will cut them accordingly, when using the Segment Trim option.

And the update to mpc, the preview shows a LOT of info about the clip being processed. VERY nice addition.
===========================================
Basic instructions to add soft coded edited subtitles with new Segment option...

https://i.imgur.com/17hgAe4.jpg

UPDATE:-

I have been checking this Cutsub & Segment option, and I did 3 "trims" on a short clip, with soft coded .srt subtitles (as shown above), and it worked to perfection....
this is a bit of a game changer (sorry for the cliche), but for anyone that wants to edit tv series, or anything, with subtitles & wants to keep them all in sync with the cuts, this is about the best thing around !!!!

You will have to use the new "preview' with all its frame & time counters to determine where the cuts have to be...so a little time consuming, but once you get used to it, it'll be well worth it.

I also need to mention that if you use Batch to load multiple clips, and they require trimming & subtitles, you'll have to go thru EVERY single job, and edit them accordingly. https://www.cosgan.de/images/smilie/traurig/d042.gif

Props to Atak, with this new feature & with the tried & tested DE, no other app comes close. https://www.cosgan.de/images/smilie/froehlich/k016.gif

And dare I say it, all it needs now is the integration of SMDegrain filter options.

guest
9th May 2023, 04:40
Att, Atak....

It's been a while since you've updated the main default decoder used in RB, for reasons only you know.

But there have been some updates in the past week, that you may be interested in.

The first release was this:-

https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/releases/tag/20230430

but it had some major problems, for me it caused both decoding errors when adding a new Job, and x265 errors when encoding (with existing jobs).

asd-g was contacted about this, and he released some "test" builds, which fixed the problem...

Subsequently, he has released a newer build:-

https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/releases/tag/20230507

And that's working as expected.

Atak_Snajpera
9th May 2023, 11:48
Is hardware decoding working now? I remember that newer version broke this feature.

guest
9th May 2023, 12:27
Is hardware decoding working now? I remember that newer version broke this feature.

Not 100% sure what you mean...if I leave the Default Decoding Options set to CPU in RB, it uses L-Smash...correct ??

I Googled it, Software Encoding is CPU, and Hardware Encoding is GPU....I don't use GPU.

It works for me...

The previous release I mentioned, when importing a new job, it ended in a Decoding Error, and that was that.

The newer "fixed" build, imports jobs no problem.

I guess the best practice is to try it for yourself.

I just wanted to let you know....

UPDATE:-

I swapped out L-Smash in RB, and imported a HEVC clip using CPU decoding, no problems, changed it to GPU decoding, and it imported the clip no problems.

Atak_Snajpera
9th May 2023, 13:12
Have you checked if GPU is used during decoding? You may use AVSMeter to verify if script is processed faster with lower CPU usage. Important! Do not use any filters.

Ps. I have AMD RX570 so I cannot test it :(

guest
9th May 2023, 13:47
Have you checked if GPU is used during decoding? You may use AVSMeter to verify if script is processed faster with lower CPU usage. Important! Do not use any filters.

Ps. I have AMD RX570 so I cannot test it :(

UPDATE:-

As I said, I have done some CPU vs GPU AVSMeter tests on my 13900KF, and the results are a bit more obvious...

Using this build of L-Smash:-

https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/releases/tag/20230507

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

frencher
9th May 2023, 18:31
Hi @Atak_Snajpera

I want to encode the rushes in 4K 4000 nits so that they are compatible with my 4K 1000 nits television but I did not find this option in Ripbot264.
Have you thought about it?
Download link > RAW video 4K HDR10+ 4000 nits (https://mega.nz/file/zM1WiBwb#6_ntjUTuBOLtc7EGQlFn_bSAmTNzSOnQFSzsFfaq38Y)

Thanks ;)

guest
10th May 2023, 02:59
Hi @Atak_Snajpera

I want to encode the rushes in 4K 4000 nits so that they are compatible with my 4K 1000 nits television but I did not find this option in Ripbot264.
Have you thought about it?
Download link > RAW video 4K HDR10+ 4000 nits (https://mega.nz/file/zM1WiBwb#6_ntjUTuBOLtc7EGQlFn_bSAmTNzSOnQFSzsFfaq38Y)

Thanks ;)

Hi frencher,

First of all, I tried to send you a PM, but your mailbox is full :mad:

I think I have a solution to your question, but that sample you provided seems too short for RB to process.

Could you post a sample approx 2 minutes long...I know at that framerate, it will be rather large :(

But if you like, add this to your preferred x265 profile, and see what happens.

--max-cll "4000,100"

I tested it on another HDR10 clip, and it did set the "nits" to 4000.

guest
10th May 2023, 04:54
Hey guy's,

I have been busy compiling this new build.

I have only released the "full" version this time.

It has many updates, and refreshed scripts.

Don't forget to read the instructions, and you shouldn't have any problems.

Just follow the link in my "sig".

Enjoy & good luck.

slalom
10th May 2023, 19:53
@Atak
A lot of grey frames in fast changing scenes encoding x264

https://i.ibb.co/6Yx1CRg/snapshot-25-35-576.jpg (https://ibb.co/6Yx1CRg)

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 42 min 10 s
Bit rate mode : Variable
Bit rate : 15.9 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.320
Stream size : 4.69 GiB (79%)
Default : Yes
Forced : No

Atak_Snajpera
10th May 2023, 22:50
Is this only related to x264? Do You see the same problem with x265? If IT is only after encoding with x264 then try using older version.

https://artifacts.videolan.org/x264/release-win64/

guest
11th May 2023, 03:06
@Atak
A lot of grey frames in fast changing scenes encoding x264



Hi slalom,

I'm thinking that this became an issue after the autoupdate to v1.27.0 ??

You didn't say. !!

You could also give this modded x264 a try, it's still r3107...

x264_tmod_r3107.7z

https://github.com/jpsdr/x264/releases/tag/r3107

I'm not saying that it will fix your issue, but it at least works with RB...just a lot more info displayed in the Encoding Server window..

Good luck. https://www.cosgan.de/images/smilie/haushalt/g030.gif

slalom
11th May 2023, 17:04
Hi slalom,

I'm thinking that this became an issue after the autoupdate to v1.27.0 ??

You didn't say. !!
I didn't say, must be the last or the one before the last, I didn't notice that, then.

I think it's the last version

frencher
11th May 2023, 22:56
Hi frencher,

First of all, I tried to send you a PM, but your mailbox is full :mad:

I think I have a solution to your question, but that sample you provided seems too short for RB to process.

Could you post a sample approx 2 minutes long...I know at that framerate, it will be rather large :(

But if you like, add this to your preferred x265 profile, and see what happens.

--max-cll "4000,100"

I tested it on another HDR10 clip, and it did set the "nits" to 4000.

Hello to you,
I emptied my PM box, sorry for the inconvenience.
I created a folder with videos longer than 2 minutes, flowers and my doggie.

Link => Folder HDR10+ 4000 nits (https://mega.nz/folder/LVkQzTDY#BHMO2Rpdvf-YEC110A7Y8w)

I had to replace (In Blue)
"D:\0 Logiciels\RipBot264v1.25.0\Tools\ffmpeg\bin\ffmpeg.exe" -loglevel panic -i "C:\Temp\RipBot264temp\job1\job1.avs" -strict -1 -f yuv4mpegpipe - | "D:\0 Logiciels\RipBot264v1.25.0\tools\x265\x265_x64.exe" --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,10)" --crf 18 --fps 30 --min-keyint 30 --keyint 300 --frames 1188 --sar 1:1 --profile main10 --output-depth 10 --preset superfast --ctu 64 --merange 57 --y4m --output "C:\Temp\RipBot264temp\job1\video.265" -

By
"D:\0 Logiciels\RipBot264v1.25.0\Tools\ffmpeg\bin\ffmpeg.exe" -loglevel panic -i "C:\Temp\RipBot264temp\job1\job1.avs" -strict -1 -f yuv4mpegpipe - | "D:\0 Logiciels\RipBot264v1.25.0\tools\x265\x265_x64.exe" --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,10)" --crf 18 --fps 30 --min-keyint 30 --keyint 300 --frames 1188 --sar 1:1 --profile main10 --output-depth 10 --preset superfast --max-cll "1000,100" --ctu 64 --merange 57 --y4m --output "C:\Temp\RipBot264temp\job1\video.265" -

To get a good result.

slalom
14th May 2023, 12:38
You could also give this modded x264 a try, it's still r3107...

x264_tmod_r3107.7z

https://github.com/jpsdr/x264/releases/tag/r3107

I'm not saying that it will fix your issue, but it at least works with RB...just a lot more info displayed in the Encoding Server window..

Good luck. https://www.cosgan.de/images/smilie/haushalt/g030.gif
Any instructions on this?
On an update?

guest
14th May 2023, 12:46
Any instructions on this?
On an update?

What instructions do you want ??

Simply download, unpack it, copy it into the x264 folder in RB...rename it as the one thats already in that folder.

slalom
14th May 2023, 15:23
There are a lot of x264_x64.exe files with 3 times the size of the original

which one?

guest
14th May 2023, 15:47
There are a lot of x264_x64.exe files with 3 times the size of the original

which one?

Where's your sense of adventure ??

Don't worry about how much bigger it is than the original !!

This is the one I used...

https://github.com/jpsdr/x264/releases/download/r3107/x264_tmod_r3107.7z

slalom
14th May 2023, 15:59
Where's your sense of adventure ??

Don't worry about how much bigger it is than the original !!

This is the one I used...

https://github.com/jpsdr/x264/releases/download/r3107/x264_tmod_r3107.7z
My life is an adventure...

There are 3 folders, which one?

edit
used winthread's folder, we'll see

edit 2
first grey frame gone, second gray frame is there

guest
14th May 2023, 17:51
My life is an adventure...

There are 3 folders, which one?

edit
used winthread's folder, we'll see

edit 2
first grey frame gone, second gray frame is there

Wow...

Maybe it's the source file...

Try x265 !!!

slalom
14th May 2023, 21:12
Emm no

x264 for x264 and x265 for x265 I don't mix them

found a x264_x64.exe file on my backup from 3/19

will try that

guest
15th May 2023, 02:30
Emm no

x264 for x264 and x265 for x265 I don't mix them

found a x264_x64.exe file on my backup from 3/19

will try that

You have to be kidding me... https://www.cosgan.de/images/midi/konfus/m010.gif

Since when is x264 for x264 and x265 for x265, you can do what you like with either !!

You couldn't even be bothered "testing" with x265, if only to see if the grey frames were still visible.

And it looks like you completely ignored Atak's suggestion.

slalom
15th May 2023, 18:53
You have to be kidding me... https://www.cosgan.de/images/midi/konfus/m010.gif

Since when is x264 for x264 and x265 for x265, you can do what you like with either !!
Agree! that's how i do it

guest
18th May 2023, 02:44
@ Atak,

I realise why the audio needs to be re-encoded after a "Segment's" edit, but unfortunately, if the clip has a TrueHD, FLAC, (or other) audio track(s), then there is no way to retain that, it's either OPUS, AAC or AC3.

Without the "Segment's" edit, you simply use "X.X Copy Stream" to retain those types of audio.

Is there some way, somehow that these can be re-encoded, or retained ??

cypher007
18th May 2023, 22:13
ok, as the work hours function doesnt work and using distributed encoding in 2-pass keeps undersizing, is there a way to manually input a schedule into windows schedular that will wake the PC then run ripbot and start encoding?

RCLapCar
18th May 2023, 22:40
Wanted to report a bug in the latest version.

On the stream selection screen when I choose which audio tracks I want to use from the bluray playlist I want to convert I noticed the radio buttons for the audio three tracks (the ones that let you choose to demux, wave, flac or core) are interconnected. So if you pick 3 different audio streams you can only select the option on one of them and can't choose a different one for each audio track as the selection always moves to the last one you picked even if it's on a different audio track.

guest
19th May 2023, 03:15
Wanted to report a bug in the latest version.

On the stream selection screen when I choose which audio tracks I want to use from the bluray playlist I want to convert I noticed the radio buttons for the audio three tracks (the ones that let you choose to demux, wave, flac or core) are interconnected. So if you pick 3 different audio streams you can only select the option on one of them and can't choose a different one for each audio track as the selection always moves to the last one you picked even if it's on a different audio track.

Was it an issue with the previous build ??

rp1989
19th May 2023, 07:37
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, after some awesome guidance from @TDS I have switched over to using SMDegrain using PD build 5.0 (Thank you @Pauly Dunne for all your hard work on this and sharing with us). I haven’t had any other issues encoded over 15 films now but I have 3 movies I just cannot get SMDegrain to work. It seems to fail on the ‘Gathering Information’ stage and doesn’t create the ‘Info.txt’ file so the encoding client will not start. As soon as I switch over to Mdegrain, all 3 movies encode without any issues. Was there any solutions anyone found to this? PS i also tried a different source of one of the movies but still fails.

Movies SMDegrain fails on, source FGT:
Bad Boys 2 (2003)
Fantastic Four (2015)
Logan (2017)

guest
19th May 2023, 08:21
Hi, after some awesome guidance from @TDS I have switched over to using SMDegrain using PD build 5.0 (Thank you @Pauly Dunne for all your hard work on this and sharing with us). I haven’t had any other issues encoded over 15 films now but I have 3 movies I just cannot get SMDegrain to work. It seems to fail on the ‘Gathering Information’ stage and doesn’t create the ‘Info.txt’ file so the encoding client will not start. As soon as I switch over to Mdegrain, all 3 movies encode without any issues. Was there any solutions anyone found to this? PS i also tried a different source of one of the movies but still fails.

Movies SMDegrain fails on, source FGT:
Bad Boys 2 (2003)
Fantastic Four (2015)
Logan (2017)

Nice of you to say :)

Yeah, not too sure what's going on there, I haven't had that issue (but then I probably haven't got those video's)

All I can suggest is run it thru MKVToolNix, strip out everything but the video track, and see what RB does with it.

I quite often I only run video thru RB, and mux everything back, afterwards.

If that works, try it with the audio & sub's (if wanted), and try again.

Good luck.

rp1989
19th May 2023, 08:59
Nice of you to say :)

Yeah, not too sure what's going on there, I haven't had that issue (but then I probably haven't got those video's)

All I can suggest is run it thru MKVToolNix, strip out everything but the video track, and see what RB does with it.

I quite often I only run video thru RB, and mux everything back, afterwards.

If that works, try it with the audio & sub's (if wanted), and try again.

Good luck.

Yep tried strip out with just video only but no luck.

rp1989
19th May 2023, 09:29
Hi, after some awesome guidance from @TDS I have switched over to using SMDegrain using PD build 5.0 (Thank you @Pauly Dunne for all your hard work on this and sharing with us). I haven’t had any other issues encoded over 15 films now but I have 3 movies I just cannot get SMDegrain to work. It seems to fail on the ‘Gathering Information’ stage and doesn’t create the ‘Info.txt’ file so the encoding client will not start. As soon as I switch over to Mdegrain, all 3 movies encode without any issues. Was there any solutions anyone found to this? PS i also tried a different source of one of the movies but still fails.

Movies SMDegrain fails on, source FGT:
Bad Boys 2 (2003)
Fantastic Four (2015)
Logan (2017)

I seem to have cracked it! I had Autocrop set for all three files which was causing the failure. After turning this off all seems to be working fine with SMDegrain and the files containing video, audio and subs as I normally have.

guest
19th May 2023, 09:44
I seem to have cracked it! I had Autocrop set for all three files which was causing the failure. After turning this off all seems to be working fine with SMDegrain and the files containing video, audio and subs as I normally have.

Well done...did those movies need to be Autocropped ??

I haven't had any issues, tho.

RCLapCar
19th May 2023, 17:30
Was it an issue with the previous build ??

No. I usually have a couple months between uses of Ripbot and the last time I used it was probably around January/February. I was always able to select the options for each audio track independently. With the latest build you can only select an option for one audio track and the options for the other audio tracks get deselected.

rlev11
19th May 2023, 19:08
I've had some issues like that using smdegrain where it bombs out before starting the encode with the missing info.txt error. I usually always just do an auto-crop on everything. Don't have the exact cause but it seems to be something with the aspect ratio after the auto-crop takes place. Sometimes if the auto-crop brings up an odd ball aspect ratio, say like 2.395:1 instead of a normal 2.4:1 it happens. not all the time, but occasionally. Most of the time I can fix it with resizing to the closes standard aspect ratio which really doesn't effect the end result.

Or if it is something really not close to a standard after the autocrop that gives me an aspect ratio that when divided gives me a partial pixel height with a decimal point. If i custom resize it and round up or down on the height to a full number, I have had that work then as well. I have only had maybe a couple that just would not run with smdegrain, so i just ran them through mdegrain and called it a day.

guest
20th May 2023, 02:47
No. I usually have a couple months between uses of Ripbot and the last time I used it was probably around January/February. I was always able to select the options for each audio track independently. With the latest build you can only select an option for one audio track and the options for the other audio tracks get deselected.

That's interesting, so back then it would have been v1.26.3, and just recently there have been a few updates, some major, some minor and now it's v1.27.0.

Can you check what version you currently have ??

And I am assuming that you have autoupdate enabled...

Do you have access to the previous version, so you get this function back ??

I'd say that this is possibly something Atak will have to address.

guest
20th May 2023, 02:59
I've had some issues like that using smdegrain where it bombs out before starting the encode with the missing info.txt error. I usually always just do an auto-crop on everything. Don't have the exact cause but it seems to be something with the aspect ratio after the auto-crop takes place. Sometimes if the auto-crop brings up an odd ball aspect ratio, say like 2.395:1 instead of a normal 2.4:1 it happens. not all the time, but occasionally. Most of the time I can fix it with resizing to the closes standard aspect ratio which really doesn't effect the end result.

Or if it is something really not close to a standard after the autocrop that gives me an aspect ratio that when divided gives me a partial pixel height with a decimal point. If i custom resize it and round up or down on the height to a full number, I have had that work then as well. I have only had maybe a couple that just would not run with smdegrain, so i just ran them through mdegrain and called it a day.

Hi rlev11,

Welcome back, it's been just over 3 months...

Well, this is very interesting....

I also get that info.txt thing, too, occasionaly.

I tried a couple of things (just fiddle), I removed the Autocrop folder out of RipBot, and it still auto detected the size.

Removed AVSresize, same as above.

Removed Detect Borders, and when choosing the auto crop, instead of it "thinking about it", it just instantly showed the call in the video script window...#Crop
video=Crop(video,0,0,-0,-0)

Admittedly this is a bogus test, as it wasn't using SMDegrain, and the video didn't require auto resizing.

Just sayin' that those functions seem to be involved (or not) in the auto crop process, somehow.

rp1989
20th May 2023, 21:54
Does anyone have any ideas on how to deal with encoding 4K Dolby Vision + HDR10 hybrid sources please? I tried the below HEVC profile but it only outputs HDR10.

--level 6.2 --profile main10 --hdr10 --dolby-vision-profile 8.1 --hdr10-opt --output-depth 10 --ctu 64 --merange 57 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000

Tried the below too and again it just outputs HDR10 only.

--level 6.2 --profile main10 --output-depth 10 --ctu 64 --merange 57 --high-tier --vbv-bufsize 800000 --vbv-maxrate 800000

guest
21st May 2023, 01:37
Does anyone have any ideas on how to deal with encoding 4K Dolby Vision + HDR10 hybrid sources please? I tried the below HEVC profile but it only outputs HDR10.

--level 6.2 --profile main10 --hdr10 --dolby-vision-profile 8.1 --hdr10-opt --output-depth 10 --ctu 64 --merange 57 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000

Tried the below too and again it just outputs HDR10 only.

--level 6.2 --profile main10 --output-depth 10 --ctu 64 --merange 57 --high-tier --vbv-bufsize 800000 --vbv-maxrate 800000

Yeah, I have only just started experimenting with "special" x265 profile commands, and it's amazing what you can do with them.

You might need a profile a bit more like:-

--level 6.2 --profile main10 --hdr10 --hdr-opt --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000 --chromaloc 2 --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc
--max-cll "4000,100" --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,10)"
or
--level 6.2 --profile main10 --hdr10 --hdr-opt --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000 --chromaloc 2 --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc
--max-cll "1000,400" --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)"

This is a good place to start:-
https://x265.readthedocs.io/en/master/cli.html

--max-cll <string>
Maximum content light level (MaxCLL) and maximum frame average light level (MaxFALL) as required by the Consumer Electronics Association 861.3 specification.

Specified as a string which is parsed when the stream header SEI are emitted. The string format is “%hu,%hu” where %hu are unsigned 16bit integers.
The first value is the max content light level (or 0 if no maximum is indicated), the second value is the maximum picture average light level (or 0). Applicable for HDR content.

Example for MaxCLL=1000 candela per square meter, MaxFALL=400 candela per square meter:

–max-cll “1000,400”
Note that this string value will need to be escaped or quoted to protect against shell expansion on many platforms. No default.

--master-display <string>
SMPTE ST 2086 mastering display color volume SEI info, specified as a string which is parsed when the stream header SEI are emitted. The string format is “G(%hu,%hu)B(%hu,%hu)R(%hu,%hu)WP(%hu,%hu)L(%u,%u)”
where %hu are unsigned 16bit integers and %u are unsigned 32bit integers. The SEI includes X,Y display primaries for RGB channels and white point (WP) in units of 0.00002 and max,min luminance (L) values in units of 0.0001 candela per meter square. Applicable for HDR content.

Example for a P3D65 1000-nits monitor, where G(x=0.265, y=0.690), B(x=0.150, y=0.060), R(x=0.680, y=0.320), WP(x=0.3127, y=0.3290), L(max=1000, min=0.0001):

G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)
Note that this string value will need to be escaped or quoted to protect against shell expansion on many platforms. No default.

--dolby-vision-profile <integer|float>
Generate bitstreams confirming to the specified Dolby Vision profile, note that 0x7C01 makes RPU appear to be an unspecified NAL type in HEVC stream. If BL is backward compatible,
Dolby Vision single layer VES will be equivalent to a backward compatible BL VES on legacy device as RPU will be ignored.

The value is specified as a float or as an integer with the profile times 10, for example profile 5 is specified as “5” or “5.0” or “50”.

Currently only profile 5, profile 8.1 and profile 8.2 enabled, Default 0 (disabled)

--dolby-vision-rpu <filename>
File containing Dolby Vision RPU metadata. If given, x265’s Dolby Vision metadata parser will fill the RPU field of input pictures with the metadata read from the file. The library will interleave access units with RPUs in the bitstream. Default NULL (disabled).

CLI ONLY

You might need to use a "tool" like this to extract the meta data...

https://forum.doom9.org/showthread.php?t=183479

You might be able to check the metadata info of the original file with "MediaInfo", and match it with the x265 profile....

Example:-

GoT HDR10

--colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,20)


Old Guard DV

--colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --max-cll "738,287

Just thinking out loud.

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

I also know that "Ryushin" has done a bit with this, it would be nice if he joined in ???

Here's what he does to get the RPU.bin

https://forum.doom9.org/showthread.php?p=1977295#post1977295

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

UPDATE:-

Here's some more info, after extracting the metadata / RFU from a DV movie (using the above "tool" DDVT)...

(I have to say it took me a little while to figure out how to use DDVT, being sort of a CLI app)

Basic profile:-

--level 6.2 --profile main10 --hdr10 --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000 --dolby-vision-rpu "x:\RPU.bin"
or
--level 6.2 --profile main10 --hdr10 --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000 --dolby-vision-profile "8.1" --dolby-vision-rpu "x:\RPU.bin"

x265 info (from Encoder Server window):-

--colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --max-cll "738,287" --crf 16 --fps 24 --min-keyint 24 --keyint 240 --frames 2880 --sar 1:1 --level 6.2 --profile main10
--hdr10 --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000 --dolby-vision-rpu "x:\RPU.bin
or
--colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --max-cll "738,287" --crf 16 --fps 24 --min-keyint 24 --keyint 240 --frames 2880 --sar 1:1 --level 6.2 --profile main10
--hdr10 --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000 --dolby-vision-profile "8.1" --dolby-vision-rpu "x:\RPU.bin

rp1989
21st May 2023, 23:57
Thanks for the detailed response @TDS. I take it there is no way RB can passthrough the DV metadata to the output automatically? For now I have successfully extracted and remuxed the DV RPU.bin using DDVT using the guidance from Ryushin.

RCLapCar
22nd May 2023, 00:00
That's interesting, so back then it would have been v1.26.3, and just recently there have been a few updates, some major, some minor and now it's v1.27.0.

Can you check what version you currently have ??

And I am assuming that you have autoupdate enabled...

Do you have access to the previous version, so you get this function back ??

I'd say that this is possibly something Atak will have to address.

So I just got another update (still showing 1.27.0) and the issue appears to be fixed now. So all good.

guest
22nd May 2023, 01:01
Thanks for the detailed response @TDS. I take it there is no way RB can passthrough the DV metadata to the output automatically? For now I have successfully extracted and remuxed the DV RPU.bin using DDVT using the guidance from Ryushin.

Well, now there are at least 2 ways to do this, then.

I have no idea how RB could passthru the DV metadata, that's something Atak would have to comment on.

However, if you're going to the "trouble" of extracting the rpu.bin with DDVT, it is then VERY easy to add that command to your x265 profile to have x265 & RB retain the DV metadata, which could be a "passthru" of sorts.

It's one less step than having to inject it after the encode....

guest
22nd May 2023, 01:04
So I just got another update (still showing 1.27.0) and the issue appears to be fixed now. So all good.

I had to check after reading this, and sure enough...

So it's core, mpc & cutsub, no changelog :(

:thanks:

UPDATE:-

So you know I had to figure out what had changed here, and it's mixed reactions. :confused:

On one hand, Atak has changed how the Segments function works, in regards to Audio re-encoding. ;)

It no longer seems to prompt to re-encode, so I loaded a short sample with a TrueHD audio track, and I run it thru using X.X Copy, and after the encode its now FLAC. :scared:

Another strange behaviour was, it did NOT initiate DE, it was just a "simple/single" encode. :( :sly:

So then I tried a re-encode to AAC 7.1, and again, no DE, but it was changed to AAC 7.1. :rolleyes:

There's nothing on the other hand :D

guest
22nd May 2023, 04:15
A 5 minute test of a DV movie:-

Original info:-

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 5 min 0 s
Bit rate : 16.3 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.082
Stream size : 585 MiB (96%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 738 cd/m2
Maximum Frame-Average Light Level : 287 cd/m2



After going thru RB with .rpu.bin being injected with x265:-
Using this x265 Profile:-
--level 6.2 --profile main10 --hdr10 --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000 --dolby-vision-profile "8.1" --dolby-vision-rpu "x:\RPU.bin"

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L6.2@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 5 min 0 s
Bit rate : 26.8 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.135
Stream size : 958 MiB (97%)
Title : The Old Guard (2020)
Writing library : x265 3.5+103-695dcf9be:[Windows][GCC 13.1.0][64 bit] 10bit
Encoding settings : TL:DR
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 738 cd/m2
Maximum Frame-Average Light Level : 287 cd/m2


After going thru RB with "standard" x265 settings:-
Using this x265 Profile:-
--level 6.2 --profile main10 --hdr10 --hdr10-opt --output-depth 10 --ctu 64 --high-tier --repeat-headers --vbv-bufsize 800000 --vbv-maxrate 800000

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L6.2@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 5 min 0 s
Bit rate : 17.9 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.090
Stream size : 641 MiB (96%)
Title : The Old Guard (2020)
Writing library : x265 3.5+103-695dcf9be:[Windows][GCC 13.1.0][64 bit] 10bit
Encoding settings : TL:DR
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 738 cd/m2
Maximum Frame-Average Light Level : 287 cd/m2

rp1989
22nd May 2023, 07:15
Well, now there are at least 2 ways to do this, then.

I have no idea how RB could passthru the DV metadata, that's something Atak would have to comment on.

However, if you're going to the "trouble" of extracting the rpu.bin with DDVT, it is then VERY easy to add that command to your x265 profile to have x265 & RB retain the DV metadata, which could be a "passthru" of sorts.

It's one less step than having to inject it after the encode....

Yep makes sense, I will add the rpu.bin process to the x265 profile. Would just be great if RB could automate the process of extracting the rpu as part of the job preparation. Will wait and see if Atak has any comments on this.

guest
22nd May 2023, 10:45
I loaded a 4K clip into RB, thought I'd check the autocrop, and it changed the top & bottom by 276 each, so I ended up with a 3840 x 1600. (in the video script)

Without the autocrop, it was 3840 x 2160.

Would setting it to 3840 x 2160 in the "Resize" override the "Crop" setting ?

So I processed both, and MediaInfo showed both of them as 3840 x 2160, and they looked exactly the same on the TV.

Atak_Snajpera
22nd May 2023, 13:51
I had to check after reading this, and sure enough...

So it's core, mpc & cutsub, no changelog :(

:thanks:

UPDATE:-

So you know I had to figure out what had changed here, and it's mixed reactions. :confused:

On one hand, Atak has changed how the Segments function works, in regards to Audio re-encoding. ;)

It no longer seems to prompt to re-encode, so I loaded a short sample with a TrueHD audio track, and I run it thru using X.X Copy, and after the encode its now FLAC. :scared:

Another strange behaviour was, it did NOT initiate DE, it was just a "simple/single" encode. :( :sly:

So then I tried a re-encode to AAC 7.1, and again, no DE, but it was changed to AAC 7.1. :rolleyes:

There's nothing on the other hand :D

Let me know when ffmpeg has non-experimental 8 channel truehd encoder... the same story with DTS-MA.

DE won't be activated if video file is too short (for example less than 2 minutes)

guest
22nd May 2023, 14:16
Let me know when ffmpeg has non-experimental 8 channel truehd encoder... the same story with DTS-MA.

DE won't be activated if video file is too short (for example less than 2 minutes)

Not sure if that's sarcasm...

Thing is, I don't/can't use TrueHD, or 7.1 FLAC, so I guess I'll be sticking with 7.1 AAC, seeing as 7.1 AC3 seems to be out of the question.

I used to convert THD to DTSHD using a few apps, turned out to be a time consuming process, for no real benefit.

I think you might have hit the nail on the head with the DE situation, I can't remember how long the test clips were, I generally do 5 minutes long, I will check, tomorrow.

UPDATE:-

Yes, what I'd done with DE was I DID load a 5 minute test clip, but then I cut it down too far with the Segments settings, it was only 50 seconds :(

Ryushin
22nd May 2023, 18:36
Actually, any good video playback device will convert FLAC to LPCM. I've been using FLAC for any LPCM audio streams. Works wonderfully. Though .mov containers can't use FLAC as I've found out working with Topaz Video AI. So I need to mux FLAC in after Topaz is done with it.

So yea, Atak using FLAC is good idea. Though I think FFMPEG can encode DTS 5.1. So that could be a nice option. TrueHD to FLAC is a also good idea, since both of those are compressed lossless codecs. Though any good playback device will convert TrueHD to LPCM.

Atak, a request please to add FLAC as an encoding option in the GUI. FLAC is only available when initially demuxing from a disc source.

I too would like Atak to add Dolby Vision as demuxing option. There are a few steps involved and it is scriptable, but the work involved might not be worth it to Atak until it becomes more prevalent. About half of 4K movies I buy now are Dolby Vision. Interesting that DDVT is using Atak's cropping code.

slalom
23rd May 2023, 23:01
Thing is, I don't/can't use TrueHD, or 7.1 FLAC, so I guess I'll be sticking with 7.1 AAC, seeing as 7.1 AC3 seems to be out of the question.
I think that's called EAC3 7.1

guest
24th May 2023, 04:16
I think that's called EAC3 7.1

No, I mean't ac3 7.1, e-ac3 is a different "animal"

slalom
24th May 2023, 21:50
ac3 7.1 doesn't exist

guest
25th May 2023, 07:11
Atak,

I have trying in vain to encode DV movies with RB, using custom x265 profiles, but they are just not compatible with my LG TV.

Please refer to some of my recent posts on this subject.

From what I've discovered, it seems that LG's & some Samsung TV's will not display DV that is in .mkv format, it will switch to HDR instead.

I downloaded a couple of LG DV test samples, which are in .ts format, and they play & display the Dolby Vision logo on the screen (just like HDR does)

Now, RB ONLY output's x265 in .mkv.....

Could you please consider adding .mp4 & maybe .ts, or .m2ts as output file options for x265, for those of us who probably need it for their viewing pleasure.

UPDATED with NEW INFO :)...

I have persisted with this, and very early this morning I had a much needed Win...

So again, I would like to repeat my request for more x265 output file options for these DV files.

So if you will, Mr Snajpera, could you PLEASE add the ability to output x265 files as .mp4, "mp4box" is already part of RB, and is available when using x264,

and more importantly, as .m2ts for x265 DV files, "tsmuxer" is also a part of RB, and is also available when using x264 (as AVCHD), but with x265 would be better to just output directly as .m2ts !!

Ryushin
25th May 2023, 10:33
Atak,

I have trying in vain to encode DV movies with RB, using custom x265 profiles, but they are just not compatible with my LG TV.

Please refer to some of my recent posts on this subject.

From what I've discovered, it seems that LG's & some Samsung TV's will not display DV that is in .mkv format, it will switch to HDR instead.

I downloaded a couple of LG DV test samples, which are in .ts format, and they play & display the Dolby Vision logo on the screen (just like HDR does)

Now, RB ONLY output's x265 in .mkv.....

Could you please consider adding .mp4 & maybe .ts, or .m2ts as output file options for x265, for those of us who probably need it for their viewing pleasure.

I'm probably going to open a can of worms, but here goes. I don't think Atak needs to support .ts files. He supports mkv which is the preferred container format by far and RB not support Dolby Vision yet. Just because your TV is does not understand Dolby Vision in a MKV container should not mean Atak needs to support a different hardly used container. My Sony Z9D also does not support DV in any kind file, only through a device that passes the Dolby Vision signal to it, such as a UHD disc player or nVidia Shield. TVs age and technology marches on. At some point, your TV needs to become a monitor as it's smart features age and is not compatible with the newer technology.

So do yourself a favor and get an nVidia shield and run Kodi, Plex, Emby, Jellyfin, or even VLC. The nVidia shield is one of the best smart video and audio platforms around. It's one very few that will pass through TrueHD Dolby Atmos and DTS:X.

guest
25th May 2023, 10:55
I'm probably going to open a can of worms, but here goes. I don't think Atak needs to support .ts files. He supports mkv which is the preferred container format by far and RB not support Dolby Vision yet. Just because your TV is does not understand Dolby Vision in a MKV container should not mean Atak needs to support a different hardly used container. My Sony Z9D also does not support DV in any kind file, only through a device that passes the Dolby Vision signal to it, such as a UHD disc player or nVidia Shield. TVs age and technology marches on. At some point, your TV needs to become a monitor as it's smart features age and is not compatible with the newer technology.

So do yourself a favor and get an nVidia shield and run Kodi, Plex, Emby, Jellyfin, or even VLC. The nVidia shield is one of the best smart video and audio platforms around. It's one very few that will pass through TrueHD Dolby Atmos and DTS:X.

That's a can of worms alright :)

Where there's a will, there's a way.

TBH, I doubt that Atak will go down the DV path either...the question has been asked many times, and still nothing, like SMDegrain.

I don't think my TV is too old yet...

I really can't utilise 7.1 audio anyway, due to my home theater setup.

You won't convince me to do all that streaming stuff, either.

If it doesn't work off a USB stick, I'm not interested.

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

I just checked how much a nVidia Shield is, the "good" one is around A$350....there's NO WAY.

I've tried Kodi, and didn't like that...so please stop suggesting these "streaming" options, it falls on deaf ears.

I haven't got a server system running 24/7....just not worth the expense, electricity cost's too much as it is, to me that's just such a waste of my money :(

All sorted, without the need of any streaming device. https://www.cosgan.de/images/midi/froehlich/a070.gif

Boulder
25th May 2023, 16:02
I've tried Kodi, and didn't like that...so please stop suggesting these "streaming" options, it falls on deaf ears.

Kodi is not a streaming solution. It plays back the file as it is without transcoding.

For anyone interested in playing with DV stuff, see https://discourse.coreelec.org/t/21-0-omega-alpha1-may-1st-2023/21471. There are now a couple of non-Shield devices that support Dolby Vision with the new alpha. I'm still running my trusty old Odroid N2 but once it passes on, I'll definitely invest in a DV-capable box.

chainring
25th May 2023, 17:35
FWIW, Kodi 21 will have native support for DV in MKV.

And, as Boulder wrote, Kodi isn't a streaming solution. There's add-ons to make it such, but those are not supported by the Kodi team. Kodi is a local file player, first and foremost. Whether that file is local to a NAS, a PC/Mac or a USB connected hard drive, that's the extent of Kodi's streaming.

-QfG-
25th May 2023, 21:32
The simpliest way to stream DV Files is a Nvidea Shield Pro 2019 + PLEX.

userx
1st June 2023, 21:02
Hi
After last update i'm not able to apply new jobs to the queue.
The Done-button is not clickable.
Can anybody help?


@ReinerSchweinlin
Thanks for the hint.
I have to open the avisynth window, click into any setting box e.g. Resize -> OFF to get the OK of avisynth window clickable, exit this window by OK. Afterwards the Done-Button is clickable again.

Edit:
When changing the output filename / path AFTER this workaround DONE gets disabled again.

Today i noticed an UI update (chapters, subtitles,..) but this long running bug still drives me crazy.
I just want to ask kindly if this could be fixed anytime in the future or am I the only one with this issue?

guest
2nd June 2023, 01:30
Today i noticed an UI update (chapters, subtitles,..) but this long running bug still drives me crazy.
I just want to ask kindly if this could be fixed anytime in the future or am I the only one with this issue?

So does this happen with every Job ??

You asked about this quite some time ago, and Reiner suggested a work around

https://forum.doom9.org/showthread.php?p=1953258#post1953258

I too, have this happen randomly, and I do what Reiner suggested...I think it's just combo of the video file, or the script, or, who knows.

Might even be a free space thing, Temp folder....

Curious you mentioned a new update, and sure enough there is one.

guest
2nd June 2023, 01:39
Can't really make out why these functions have been added.

A bit random, I haven't read anywhere where this has been suggested or asked for, when I think more "Container" options should be added for x265 output files...oh well.

I can sort of understand the "Chapters" option, but what's the "Attachments" all about ??

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

Atak_Snajpera
2nd June 2023, 09:14
I asked for that...

guest
2nd June 2023, 10:53
I asked for that...

Well, so now I know why I didn't see any posts about asking for this :).

So in the "Attachments", is where you can now add "Covers", but what about the "Fonts", where & what does that change ??

Atak_Snajpera
2nd June 2023, 11:12
Well, so now I know why I didn't see any posts about asking for this :)

You probably also didn't see any posts asking for Distributed Encoding in the past...

So in the "Attachments", is where you can now add "Covers", but what about the "Fonts", where & what does that change ??

Here is good example containing three custom fonts which are used by included subtitles (.ass)

https://www.mediafire.com/file/3cjutavpdqdi02w/%255BSS-Eclipse%255D_Kanon_-_Promo_%2528h264%2529_%255BE3CE768D%255D_%25281%2529.mkv/file

guest
2nd June 2023, 12:31
You probably also didn't see any posts asking for Distributed Encoding in the past...

You're right, but that's a long time ago, and the best thing that you could have done...no one else has come close, or even tried....

So the Fonts are for subtitles, then ?? Just add fonts to the new Fonts folder ??

Atak_Snajpera
2nd June 2023, 13:06
No! That folder contains font for RipBot264 application. It has nothing to do with subtitles.

Now you can create subtitles using your own fonts.
You first must prepare proper .ass/.ssa subtitle and then you add proper font file (*.ttf) as attachments to container

In that example it looks like this

[Script Info]
; Script generated by Aegisub v1.10
; http://www.aegisub.net
Title: Default-anamorphic Aegisub file
ScriptType: v4.00+
PlayResX: 640
PlayResY: 480
Audio File: ?video
Video File: Kanon-Promo4-TSraw-xvid-nobframes.avi
Video Aspect Ratio: 0
Video Zoom: 6
Video Position: 4179

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Note,AvantGarde Bk BT Eclipse,22,&H00FFFFFF,&H0000FFFF,&H00393E3B,&H80393E3B,0,0,0,0,100,115,0,0,1,1.6,0,8,10,10,10,0
Style: Default-anamorphic,Quadrat-Regular Eclipse,29,&H00FFFFFF,&H00FFFFFF,&H00A0675F,&H80000000,0,0,0,0,100,121,0,0,1,1.5,2,2,10,10,10,0
Style: Default-alt-anamorphic,Quadrat-Regular Eclipse,29,&H00FFFFFF,&H00FFFFFF,&H00708E47,&H80000000,0,0,0,0,100,121,0,0,1,1.5,2,2,10,10,10,0
Style: Default,Arial,20,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,0
Style: Rap,Continuum Medium,27,&H00927667,&H0000FFFF,&H00F7E8E0,&H00000000,0,0,0,0,100,120,0,0,1,2,0,9,10,10,5,0

https://i.postimg.cc/4xmV0jr3/Capture.png

guest
2nd June 2023, 13:41
No! That folder contains font for RipBot264 application. It has nothing to do with subtitles.

Now you can create subtitles using your own fonts.
You first must prepare proper .ass/.ssa subtitle and then you add proper font file (*.ttf) as attachments to container


I always use .srt subs, the LG TV does not support pgs types.

I have added some different .ttf's to Fonts, and I don't understand what it's suppose to do....

Atak_Snajpera
2nd June 2023, 14:18
Nevermind. Others who create text based subtitles .ass/.ssa (so called FanSub groups) with custom fonts will understand this feature.

guest
2nd June 2023, 14:25
Nevermind. Others who create text based subtitles .ass/.ssa (so called FanSub groups) with custom fonts will understand this feature.

Ok, well thanks for the explanation, and now everybody else knows what it's for.

guest
2nd June 2023, 14:28
So dare I ask, what are the chances of getting different container output files for x265 ??

Atak_Snajpera
2nd June 2023, 15:10
You can already automatically remux .mkv to any container after finished job.
1) Enable in settings "RUN COMMAND SCRIPT AFTER FINISHED JOB"
2) Open "Job finished successfully.cmd" file in notepad and add last line

@REM ************* SUPPORTED EXTRA VARIABLES *************
@REM * *
@REM * %RIPBOT264TEMP% -> e.g. C:\Temp\Ripbot264temp *
@REM * %JOB% -> e.g. Job1 *
@REM * %INPUTFILEDIR% -> e.g. C:\InputVideoFiles *
@REM * %OUTPUTFILEDIR% -> e.g. C:\OutputVideoFiles *
@REM * %INPUTFOLDERNAME% -> e.g. InputVideoFiles *
@REM * %OUTPUTFOLDERNAME% -> e.g. OutputVideoFiles *
@REM * %INPUTFILENAME% -> e.g. InputVideoFile *
@REM * %OUTPUTFILENAME% -> e.g. OutputVideoFile *
@REM * %INPUTFILEEXT% -> e.g. avi *
@REM * %OUTPUTFILEEXT% -> e.g. mkv *
@REM * %YEAR% -> e.g. 2019 *
@REM * %MONTH% -> e.g. 01 *
@REM * %DAY% -> e.g. 31 *
@REM * %HOUR% -> e.g. 23 *
@REM * %MINUTE% -> e.g. 59 *
@REM * %SECOND% -> e.g. 00 *
@REM * %MILLISECOND% -> e.g. 999 *
@REM * *
@REM *****************************************************
@REM <INSERT YOUR SCRIPT HERE>

"C:\{PATH_TO_RIPBOT264}\Tools\ffmpeg\bin\ffmpeg.exe" -y -i "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%" -c:v copy -c:a copy -c:s copy "c:\temp\%OUTPUTFILENAME%-test.mp4" 2> "c:\temp\log.txt"

3) save

Once job is completed that script will remux mkv to mp4 and save log.txt file.( may be handy if you want to check why file was not created by fffmpeg.exe)

You can use the same method to extract/inject DV to video file.

guest
2nd June 2023, 15:19
You can already automatically remux .mkv to any container after finished job.
1) Enable in settings "RUN COMMAND SCRIPT AFTER FINISHED JOB"
2) Open "Job finished successfully.cmd" file in notepad and add last line

@REM ************* SUPPORTED EXTRA VARIABLES *************
@REM * *
@REM * %RIPBOT264TEMP% -> e.g. C:\Temp\Ripbot264temp *
@REM * %JOB% -> e.g. Job1 *
@REM * %INPUTFILEDIR% -> e.g. C:\InputVideoFiles *
@REM * %OUTPUTFILEDIR% -> e.g. C:\OutputVideoFiles *
@REM * %INPUTFOLDERNAME% -> e.g. InputVideoFiles *
@REM * %OUTPUTFOLDERNAME% -> e.g. OutputVideoFiles *
@REM * %INPUTFILENAME% -> e.g. InputVideoFile *
@REM * %OUTPUTFILENAME% -> e.g. OutputVideoFile *
@REM * %INPUTFILEEXT% -> e.g. avi *
@REM * %OUTPUTFILEEXT% -> e.g. mkv *
@REM * %YEAR% -> e.g. 2019 *
@REM * %MONTH% -> e.g. 01 *
@REM * %DAY% -> e.g. 31 *
@REM * %HOUR% -> e.g. 23 *
@REM * %MINUTE% -> e.g. 59 *
@REM * %SECOND% -> e.g. 00 *
@REM * %MILLISECOND% -> e.g. 999 *
@REM * *
@REM *****************************************************
@REM <INSERT YOUR SCRIPT HERE>

"C:\{PATH_TO_RIPBOT264}\Tools\ffmpeg\bin\ffmpeg.exe" -y -i "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%" -c:v copy -c:a copy -c:s copy "c:\temp\%OUTPUTFILENAME%-test.mp4" 2> "c:\temp\log.txt"

3) save

Once job is completed that script will remux mkv to mp4 and save log.txt file.( may be handy if you want to check why file was not created by fffmpeg.exe)

You can use the same method to extract/inject DV to video file.

Ok, well that sounds like a plan, but what about remuxing to .m2ts with tsmuxer (or whatever) ?

Should be able to use x265 command to inject rpu.bin.

Atak_Snajpera
2nd June 2023, 15:26
Regarding injecting rpu.bin you should ask -QfG- how to create proper command line
https://forum.doom9.org/showthread.php?t=183479

guest
2nd June 2023, 15:43
Regarding injecting rpu.bin you should ask -QfG- how to create proper command line
https://forum.doom9.org/showthread.php?t=183479

Yes, I have been working with this a fair bit over the passed week or so, and have had contact with -QfG- and DDVT, and have figured out how to use that to create & inject rpu's, but you can inject them with x265 as well, so that would save an extra step in the process.

But just going back to my previous post, how to use tsmuxer to remux to .m2ts, instead of ffmepg to .mp4 ?

Atak_Snajpera
2nd June 2023, 15:45
ffmpeg should also support .m2ts

guest
2nd June 2023, 15:53
ffmpeg should also support .m2ts

So just changing this should work, then:-


"C:\{PATH_TO_RIPBOT264}\Tools\ffmpeg\bin\ffmpeg.exe" -y -i "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%" -c:v copy -c:a copy -c:s copy "c:\temp\%OUTPUTFILENAME%-test.m2ts" 2> "c:\temp\log.txt"

Atak_Snajpera
2nd June 2023, 16:21
yep..

userx
2nd June 2023, 20:38
So does this happen with every Job ??

You asked about this quite some time ago, and Reiner suggested a work around

https://forum.doom9.org/showthread.php?p=1953258#post1953258

I too, have this happen randomly, and I do what Reiner suggested...I think it's just combo of the video file, or the script, or, who knows.

Might even be a free space thing, Temp folder....

Curious you mentioned a new update, and sure enough there is one.

Yes, every job. I always add the same file types. Mkv with h264 codec but with different audio codecs.
The temp dir has enough free space left, so i don't think this is the culprit.
To be clear: This is a longrunner and wasn't introduced within the last time.
But i'm quiet a bit of lucky other users also facing the same issue and it's not just me.

guest
3rd June 2023, 01:30
Yes, every job. I always add the same file types. Mkv with h264 codec but with different audio codecs.
The temp dir has enough free space left, so i don't think this is the culprit.
To be clear: This is a longrunner and wasn't introduced within the last time.
But i'm quiet a bit of lucky other users also facing the same issue and it's not just me.

Does the same thing happen when using x265 ?

A suggestion that may or may not work...

Have you tried downloading the app again from page 1, and then doing all the available updates, just to get a fresh start.

If there are other users with the same problem, not many of them are posting about it :(

Good Luck.

guest
3rd June 2023, 02:54
yep..

OK, have done a couple of tests with the CMD remux, but there's an issue :(

This is the video info for the mkv RB encoded with some x265 commands, to inject the rpu.bin :-

HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible


This is what the CMD remux changed it to (lost the DV info) :-

HDR format : SMPTE ST 2086, HDR10 compatible


And this it what running the above .mkv thru tsmuxer did (retained the DV info) :-

HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible


So there is something in the CMD line that is removing the DV info.

using this :-

"C:\RipBot264\Tools\ffmpeg\bin\ffmpeg.exe" -y -i "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%" -c:v copy -c:a copy -c:s copy "F:\Ripbot Encodes\%OUTPUTFILENAME%-test.m2ts" 2> "F:\Ripbot Encodes\log.txt"

Can this be changed to use tsmuxer to do the remux ??

Atak_Snajpera
3rd June 2023, 09:06
Are you using latest version of tsmuxer or my old included in ripbot?

guest
3rd June 2023, 09:44
Are you using latest version of tsmuxer or my old included in ripbot?

I'm using a very recent nightly build, there's a newer one dated 01-06-23 that I might grab, but yeah.

https://www.videohelp.com/software/tsMuxeR

Atak_Snajpera
3rd June 2023, 09:48
How does your workflow look like when dealing with DV?
How do you extract rpu.bin? What tool?
What is command line?

guest
3rd June 2023, 09:57
How does your workflow look like when dealing with DV?
How do you extract rpu.bin? What tool?
What is command line?

That's a complicated question to answer...

I started using DDVT to extract the rpu from a DV video, but I have been trying a different way using DoVi which has multiple menu's & options depending on what you want to do.

I know that DDVT uses DoVi, and it's all pretty new to me, and I am following some great instructions from another user.

I've also started using Da Vinci to convert HDR10, to either HDR10+, and or Dolby Vision compatible clips...

Would you like some .pdf's of instructions ??

Atak_Snajpera
3rd June 2023, 10:04
Well I was expecting something like...
ExtractRPU.exe video.mkv rpu.bin
InjectRPU.exe rpu.bin video.mkv

avinewbie
4th June 2023, 17:26
Hi
I have been using RipB with good effect for some time but today It has stopped.
I hope someone can point me a fix.

RipB today ran an update and after this update it says Avisynth is not installed!
The update log does not show any errors I can see.


AVSPmod runs fine and Version() gives-
AVS+ 3.7.3( r3973,3.7,)

How can I help Ripbot "see" the avisynth plus installed on my PC( win 7 64bit)
Prior to this update Ripbot was working fine.
Many Thanks
Avinewbie

avinewbie
4th June 2023, 17:27
i have tried running it as admin and tried restart PC also

guest
4th June 2023, 18:37
i have tried running it as admin and tried restart PC also

Generally RipBot installs Avisynth itself...

You should be able to install it manually from the Avisynth folder, in the Tools folder of RipBot.

avinewbie
4th June 2023, 21:31
Generally RipBot installs Avisynth itself...

You should be able to install it manually from the Avisynth folder, in the Tools folder of RipBot.

Hi TDS

The odd thing is RB was working fine till the update so it had access to avisynth+ then. Currently it does not but avisyth+ is installed as before and works for AVSPMod.

The message windows that pops up:
advises to download AVS+ from the link
it also says HAALI splitter is installed.

frencher
5th June 2023, 01:09
This small app written in Delphi is specially for people looking for something simple without exotic filters and unnecessary settings.

https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L9PHKCWELLYJJ&source=url)

Download
.7z -> https://www.mediafire.com/file/z0p8iy2wqd3tvoh/RipBot264v1.26.0.7z/file

. https://i.postimg.cc/YC2Kcm3V/main.png . https://i.postimg.cc/Vk7yzLZN/client.png . https://i.postimg.cc/4NQkF1zV/server.png

Changelog

v1.26.0
Added: Work Hours (automatic encoding within selected hours)
Added: Automatic track name extraction
Added: VP9 decoding
Changed: Script won't be re-analyzed if there was no change
Changed: Multiple jobs can be now removed at once
Fixed: Correct colorimetry for DVD sources (ntsc->smpte170m,pal->bt470bg)
Fixed: --ctu,--mrange,--min-keyint,--keyint switches won't be automatically inserted to command line if user specified own values for those options
Fixed: Output speed option not working correctly with FLAC files
Fixed: Typo in encoding command line if "Use Fast First Pass in 2-pass mode" was unchecked
[FULL LOG (http://www.videohelp.com/tools/RipBot264/version-history#changelog)]

6c966b28-e0dd-48f6-b1c7-a56e8a275ec0 (http://atak-snajpera.5v.pl/ripbot264update/update.zip)

Hello to you atak-snajpera,

I just did a fresh install of Windows 10 x64 and did the update.
It seems that the AviSynth script "EnhanceFineDetails.avs" is missing during the update...
It may be an oversight or a desire to have removed it because it is very useful to me.

Thank you, friend.

https://forum.doom9.org/attachment.php?attachmentid=18400&stc=1&d=1685923748

guest
5th June 2023, 01:22
Hi TDS

The odd thing is RB was working fine till the update so it had access to avisynth+ then. Currently it does not but avisyth+ is installed as before and works for AVSPMod.

The message windows that pops up:
advises to download AVS+ from the link
it also says HAALI splitter is installed.

I know what the pop message says..

Did you follow up on my suggestion to install it manually ??

Go here :-

"x:\RipBot264\Tools\AviSynth\Install.cmd"

guest
5th June 2023, 06:41
Let me know when ffmpeg has non-experimental 8 channel truehd encoder... the same story with DTS-MA.


I think I've found a simple way to convert THD 7.1 to E-AC3 7.1...

Before (original) THD info :-

Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 53 min 7 s
Bit rate mode : Variable
Bit rate : 3 565 kb/s
Maximum bit rate : 6 144 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Compression mode : Lossless
Stream size : 1.32 GiB (7%)
Title : TrueHD Atmos 7.1
Language : English
Default : Yes
Forced : No
Number of dynamic objects : 15
Bed channel count : 1 channel
Bed channel configuration : LFE

After "conversion" :-

Format : E-AC-3
Format/Info : Enhanced AC-3
Commercial name : Dolby Digital Plus
Codec ID : A_EAC3
Duration : 53 min 7 s
Bit rate mode : Constant
Bit rate : 1 024 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 389 MiB (2%)
Language : English
Service kind : Complete Main
Default : Yes
Forced : No

Atak_Snajpera
5th June 2023, 10:24
Hello to you atak-snajpera,

I just did a fresh install of Windows 10 x64 and did the update.
It seems that the AviSynth script "EnhanceFineDetails.avs" is missing during the update...
It may be an oversight or a desire to have removed it because it is very useful to me.

Thank you, friend.

https://forum.doom9.org/attachment.php?attachmentid=18400&stc=1&d=1685923748

Use Sharpen option in ripbot. IT does the same.

frencher
5th June 2023, 22:05
OK thank, RipBot264 fast change, good news ;)

activoice
8th June 2023, 14:08
So there seems to be a bug recently introduced with Ripbot, I've noticed that it's doubling up the subtitles when used in batch mode with Remux Subs set to ON


So if the source file contains a single SRT sub, the output now contains that same subtitle twice.

If the source file contains 2 subs for example English, and English SDH, the output file ends up containing 2 of each of those.


I've checked the job* folder and only 1 of each sub appears there.

It looks like the issue is with the creation of
job1_MuxFiles.json

That file shows the X265 file, the Audio file, and the SRT file twice


[
"-o",
"C:\\temp\\outputfile.mkv",
"--compression",
"0:none",
"--default-duration",
"0:24000/1001fps",
"C:\\Temp\\RipBot264temp\\job1\\video.265",
"--compression",
"0:none",
"--default-track",
"0:yes",
"--language",
"0:eng",
"C:\\Temp\\RipBot264temp\\job1\\Encoded_Audio_1.eac3",
"--default-track",
"0:no",
"--language",
"0:eng",
"-s",
"0",
"-D",
"-A",
"C:\\Temp\\RipBot264temp\\job1\\2_subtitles_English.srt",
"--default-track",
"0:no",
"--language",
"0:eng",
"-s",
"0",
"-D",
"-A",
"C:\\Temp\\RipBot264temp\\job1\\3_subtitles_English_DELAY1871ms.srt",
"--default-track",
"0:no",
"--language",
"0:eng",
"-s",
"0",
"-D",
"-A",
"C:\\Temp\\RipBot264temp\\job1\\2_subtitles_English.srt",
"--default-track",
"0:no",
"--language",
"0:eng",
"-s",
"0",
"-D",
"-A",
"C:\\Temp\\RipBot264temp\\job1\\3_subtitles_English_DELAY1871ms.srt"
]

-QfG-
9th June 2023, 13:52
but you can inject them with x265 as well, so that would save an extra step in the process.

This is really easy and Atak_Snajpera must implate only a button "Choose RPU File". The command-line for the x265 Encoder is:

--dolby-vision-profile 8.1 --dolby-vision-rpu "B:\_RIPPING\Dolby Vision Tool\RPU.bin"

where "B:\_RIPPING\Dolby Vision Tool\RPU.bin" is now the variable from the choosen RPU. In this case, the RPU must be a valid Profile 8 RPU!
Or simply use a custom line and add this commandline there.

guest
9th June 2023, 14:04
This is really easy and Atak_Snajpera must implate only a button "Choose RPU File". The command-line for the x265 Encoder is:

--dolby-vision-profile 8.1 --dolby-vision-rpu "B:\_RIPPING\Dolby Vision Tool\RPU.bin"

where "B:\_RIPPING\Dolby Vision Tool\RPU.bin" is now the variable from the choosen RPU. In this case, the RPU must be a valid Profile 8 RPU!
Or simply use a custom line and add this commandline there.

Yes, I have been using that type of x265 command-line :)

That suggestion is of course totally up to Atak to implement, but I need a command for tsmuxer to remux to .m2ts, which I need for my LG TV.

Using FFmepg to create a .m2ts from the .mkv, removes the DV format...tsmuxer retains it, so atm I have to actually run it thru tsmuxer after RipBot has done the encode.

Ryushin
12th June 2023, 12:07
Hi Atak,

I like the new features of auto adding covers and subtitles from files and such. The new UI changes took a bit to get used to buy now I'm liking them.

When auto adding subtitles, it would be nice for it to filter by language and just add those. For example I just added a source disc and it added all the subtitles from all the languages on the disc, other wise I could only just select one subtitles instead of the two English subtitles that were there.

In the settings there is preferred language. Perhaps that setting could be used to filter the subtitles.

One other small UI improvement, when in the covers selection, it would be nice that if a cover is already there, that a thumbnail show that the picture is.

Does MKV support attaching notes of some kind? It would be nice to be able to be able to manually add a description of the encoding settings that I used for that job that I could see using mediainfo.

archiel
13th June 2023, 23:16
Can anyone help in tracking down why Ripbot264 will not start. Earlier today I updated the AMD chipset drivers and the Realtek audio drivers and now in Task Manager I can see Ripbot264 (32 bit) under Background processes, but not under Apps and there is no GUI.

I have another windows installation on the same PC (Windows 11 canary) with the same drivers and Ripbot264 is fine.

I am running Windows 11 on an ASRock X670E PG Lightning, Ryzen 9 7950x, 32 GB RAM.

Update - I have re-downloaded 1.26 into a new folder and so far it seems okay, however although update ran and the changelog shows 1.27. the GUI still shows as 1.26.0 and the GUI is the 1.26, not 1.27 version.

Further update: on checking the update - nothing was actually updated. I then rebooted into my test setup and the update completed successfully (and Ripbot works). Rebooting back to my main setup the new install no longer works. So the issue would seem to be specific to 1.27.

archiel
14th June 2023, 13:33
When starting Ripbot it seems that there are some corrupt files being pulled. From update_log.txt

2023-06-14 12:49:47 : [ERROR] H:\Ripbot3\updates\bdsup2sub.zip is corrupted. CRC32 mismatch. Expected value was D61F6ADA but got DA198FBF
2023-06-14 12:49:47 : File H:\Ripbot3\updates\bdsup2sub.zip has been deleted.

2023-06-14 12:49:47 : [ERROR] H:\Ripbot3\updates\ffmpeg.zip is corrupted. CRC32 mismatch. Expected value was 8ACC97BC but got DA4E6C91
2023-06-14 12:49:47 : File H:\Ripbot3\updates\ffmpeg.zip has been deleted.

2023-06-14 12:49:48 : [ERROR] H:\Ripbot3\updates\mkvtoolnix.zip is corrupted. CRC32 mismatch. Expected value was 7F6D769A but got 5476BC3D
2023-06-14 12:49:48 : File H:\Ripbot3\updates\mkvtoolnix.zip has been deleted.

2023-06-14 12:49:51 : [ERROR] H:\Ripbot3\updates\ffms.zip is corrupted. CRC32 mismatch. Expected value was EB9EA06 but got 3B64044D
2023-06-14 12:49:51 : File H:\Ripbot3\updates\ffms.zip has been deleted.

2023-06-14 12:49:52 : [ERROR] H:\Ripbot3\updates\nnedi3.zip is corrupted. CRC32 mismatch. Expected value was A1C29B2A but got 217A4098
2023-06-14 12:49:52 : File H:\Ripbot3\updates\nnedi3.zip has been deleted.

2023-06-14 12:49:52 : [ERROR] H:\Ripbot3\updates\avisynth.zip is corrupted. CRC32 mismatch. Expected value was CCA2600B but got 7800F1DE
2023-06-14 12:49:52 : File H:\Ripbot3\updates\avisynth.zip has been deleted.

2023-06-14 12:49:52 : [ERROR] H:\Ripbot3\updates\lsmash.zip is corrupted. CRC32 mismatch. Expected value was 4A317368 but got D532A79F
2023-06-14 12:49:52 : File H:\Ripbot3\updates\lsmash.zip has been deleted.

Atak_Snajpera
14th June 2023, 14:30
When starting Ripbot it seems that there are some corrupt files being pulled. From update_log.txt

2023-06-14 12:49:47 : [ERROR] H:\Ripbot3\updates\bdsup2sub.zip is corrupted. CRC32 mismatch. Expected value was D61F6ADA but got DA198FBF
2023-06-14 12:49:47 : File H:\Ripbot3\updates\bdsup2sub.zip has been deleted.

2023-06-14 12:49:47 : [ERROR] H:\Ripbot3\updates\ffmpeg.zip is corrupted. CRC32 mismatch. Expected value was 8ACC97BC but got DA4E6C91
2023-06-14 12:49:47 : File H:\Ripbot3\updates\ffmpeg.zip has been deleted.

2023-06-14 12:49:48 : [ERROR] H:\Ripbot3\updates\mkvtoolnix.zip is corrupted. CRC32 mismatch. Expected value was 7F6D769A but got 5476BC3D
2023-06-14 12:49:48 : File H:\Ripbot3\updates\mkvtoolnix.zip has been deleted.

2023-06-14 12:49:51 : [ERROR] H:\Ripbot3\updates\ffms.zip is corrupted. CRC32 mismatch. Expected value was EB9EA06 but got 3B64044D
2023-06-14 12:49:51 : File H:\Ripbot3\updates\ffms.zip has been deleted.

2023-06-14 12:49:52 : [ERROR] H:\Ripbot3\updates\nnedi3.zip is corrupted. CRC32 mismatch. Expected value was A1C29B2A but got 217A4098
2023-06-14 12:49:52 : File H:\Ripbot3\updates\nnedi3.zip has been deleted.

2023-06-14 12:49:52 : [ERROR] H:\Ripbot3\updates\avisynth.zip is corrupted. CRC32 mismatch. Expected value was CCA2600B but got 7800F1DE
2023-06-14 12:49:52 : File H:\Ripbot3\updates\avisynth.zip has been deleted.

2023-06-14 12:49:52 : [ERROR] H:\Ripbot3\updates\lsmash.zip is corrupted. CRC32 mismatch. Expected value was 4A317368 but got D532A79F
2023-06-14 12:49:52 : File H:\Ripbot3\updates\lsmash.zip has been deleted.

Works fine here. I've downloaded 1.26.0 and successfully updated to 1.27

2023-06-14 15:23:02 : =========================[UPDATER ACTIVATED]=========================
2023-06-14 15:23:02 : Looking for correct UUID link in http://forum.doom9.org/showthread.php?t=127611
2023-06-14 15:23:03 : [SUCCESS] http://forum.doom9.org/showthread.php?t=127611 has correct UUID link 6c966b28-e0dd-48f6-b1c7-a56e8a275ec0
2023-06-14 15:23:03 : Downloading update file http://atak-snajpera.5v.pl/ripbot264update/update.zip
2023-06-14 15:23:03 : [SUCCESS] C:\Temp\RipBot264v1.26.0\Updates\update.zip saved!
2023-06-14 15:23:03 : Update for [core] detected
2023-06-14 15:23:03 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/core.zip to C:\Temp\RipBot264v1.26.0\updates\core.zip
2023-06-14 15:23:05 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\core.zip saved!
2023-06-14 15:23:05 : CRC32 value has not changed for [aften]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [avs2pipemod]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [avs2yuv]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [avsmeter]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [bdsup2sub]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [chapterxtractor]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [dgindex]. Update is not required.
2023-06-14 15:23:05 : Update for [downloadposter] detected
2023-06-14 15:23:05 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/downloadposter.zip to C:\Temp\RipBot264v1.26.0\updates\downloadposter.zip
2023-06-14 15:23:06 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\downloadposter.zip saved!
2023-06-14 15:23:06 : CRC32 value has not changed for [eac3to]. Update is not required.
2023-06-14 15:23:06 : Update for [ffmpeg] detected
2023-06-14 15:23:06 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/ffmpeg.zip to C:\Temp\RipBot264v1.26.0\updates\ffmpeg.zip
2023-06-14 15:23:47 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\ffmpeg.zip saved!
2023-06-14 15:23:47 : CRC32 value has not changed for [fhgaacenc]. Update is not required.
2023-06-14 15:23:47 : Update for [mediainfo] detected
2023-06-14 15:23:47 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/mediainfo.zip to C:\Temp\RipBot264v1.26.0\updates\mediainfo.zip
2023-06-14 15:23:48 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\mediainfo.zip saved!
2023-06-14 15:23:48 : Update for [mkvtoolnix] detected
2023-06-14 15:23:48 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/mkvtoolnix.zip to C:\Temp\RipBot264v1.26.0\updates\mkvtoolnix.zip
2023-06-14 15:24:22 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\mkvtoolnix.zip saved!
2023-06-14 15:24:22 : CRC32 value has not changed for [modifychapters]. Update is not required.
2023-06-14 15:24:22 : CRC32 value has not changed for [mp4box]. Update is not required.
2023-06-14 15:24:22 : Update for [mpc] detected
2023-06-14 15:24:22 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/mpc.zip to C:\Temp\RipBot264v1.26.0\updates\mpc.zip
2023-06-14 15:24:36 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\mpc.zip saved!
2023-06-14 15:24:36 : CRC32 value has not changed for [opus-tools]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [pgcdemux]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [remuxtool]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [setacl]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [ssatosrt]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [tsmuxer]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [vjoin]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [vsrip]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [wolcmd]. Update is not required.
2023-06-14 15:24:36 : Update for [x264] detected
2023-06-14 15:24:36 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/x264.zip to C:\Temp\RipBot264v1.26.0\updates\x264.zip
2023-06-14 15:24:39 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\x264.zip saved!
2023-06-14 15:24:39 : Update for [x265] detected
2023-06-14 15:24:39 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/x265.zip to C:\Temp\RipBot264v1.26.0\updates\x265.zip
2023-06-14 15:24:41 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\x265.zip saved!
2023-06-14 15:24:41 : CRC32 value has not changed for [autocrop]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [ffms]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [flash3kyuu_deband]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [hqdn3d]. Update is not required.
2023-06-14 15:24:41 : Update for [scripts] detected
2023-06-14 15:24:41 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/scripts.zip to C:\Temp\RipBot264v1.26.0\updates\scripts.zip
2023-06-14 15:24:41 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\scripts.zip saved!
2023-06-14 15:24:41 : CRC32 value has not changed for [tivtc]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [vsfilter]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [yadif]. Update is not required.
2023-06-14 15:24:41 : Update for [knlmeanscl] detected
2023-06-14 15:24:41 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/knlmeanscl.zip to C:\Temp\RipBot264v1.26.0\updates\knlmeanscl.zip
2023-06-14 15:24:41 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\knlmeanscl.zip saved!
2023-06-14 15:24:41 : CRC32 value has not changed for [openclinfo]. Update is not required.
2023-06-14 15:24:41 : Update for [masktools] detected
2023-06-14 15:24:41 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/masktools.zip to C:\Temp\RipBot264v1.26.0\updates\masktools.zip
2023-06-14 15:24:42 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\masktools.zip saved!
2023-06-14 15:24:42 : Update for [mvtools] detected
2023-06-14 15:24:42 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/mvtools.zip to C:\Temp\RipBot264v1.26.0\updates\mvtools.zip
2023-06-14 15:24:42 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\mvtools.zip saved!
2023-06-14 15:24:42 : CRC32 value has not changed for [nnedi3]. Update is not required.
2023-06-14 15:24:42 : CRC32 value has not changed for [detectborders]. Update is not required.
2023-06-14 15:24:42 : Update for [avisynth] detected
2023-06-14 15:24:42 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/avisynth.zip to C:\Temp\RipBot264v1.26.0\updates\avisynth.zip
2023-06-14 15:25:00 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\avisynth.zip saved!
2023-06-14 15:25:00 : CRC32 value has not changed for [rawsourceplus]. Update is not required.
2023-06-14 15:25:00 : CRC32 value has not changed for [rgtools]. Update is not required.
2023-06-14 15:25:00 : CRC32 value has not changed for [nicaudio]. Update is not required.
2023-06-14 15:25:00 : Update for [plugins_jpsdr] detected
2023-06-14 15:25:00 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/plugins_jpsdr.zip to C:\Temp\RipBot264v1.26.0\updates\plugins_jpsdr.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\plugins_jpsdr.zip saved!
2023-06-14 15:25:07 : CRC32 value has not changed for [waitforprocess]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [avsresize]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [dgtonemap]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [lsmash]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [7z]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [srttossa]. Update is not required.
2023-06-14 15:25:07 : Update for [hdrtools] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/hdrtools.zip to C:\Temp\RipBot264v1.26.0\Updates\hdrtools.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\hdrtools.zip saved!
2023-06-14 15:25:07 : CRC32 value has not changed for [matroskasplitter]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [cas]. Update is not required.
2023-06-14 15:25:07 : New section [avscube] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/avscube.zip to C:\Temp\RipBot264v1.26.0\Updates\avscube.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\avscube.zip saved!
2023-06-14 15:25:07 : New section [colormatrix] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/colormatrix.zip to C:\Temp\RipBot264v1.26.0\Updates\colormatrix.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\colormatrix.zip saved!
2023-06-14 15:25:07 : New section [cutsub] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/cutsub.zip to C:\Temp\RipBot264v1.26.0\Updates\cutsub.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\cutsub.zip saved!
2023-06-14 15:25:07 : New section [fonts] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/fonts.zip to C:\Temp\RipBot264v1.26.0\Updates\fonts.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\fonts.zip saved!
2023-06-14 15:25:07 : Downloading finished.
2023-06-14 15:28:33 : =========================[UPDATER ACTIVATED]=========================
2023-06-14 15:28:33 : Installing updates...
2023-06-14 15:28:34 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\core.zip has been correctly extracted!
2023-06-14 15:28:34 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\downloadposter.zip has been correctly extracted!
2023-06-14 15:28:41 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\ffmpeg.zip has been correctly extracted!
2023-06-14 15:28:41 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\mediainfo.zip has been correctly extracted!
2023-06-14 15:28:49 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\mkvtoolnix.zip has been correctly extracted!
2023-06-14 15:28:53 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\mpc.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\x264.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\x265.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\scripts.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\knlmeanscl.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\masktools.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\mvtools.zip has been correctly extracted!
2023-06-14 15:28:57 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\avisynth.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\plugins_jpsdr.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\hdrtools.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\avscube.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\colormatrix.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\cutsub.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\fonts.zip has been correctly extracted!
2023-06-14 15:28:58 : Installation complete.
2023-06-14 15:28:59 : Next check after 2023-06-15 15:23:02

archiel
14th June 2023, 15:33
Works fine here. I've downloaded 1.26.0 and successfully updated to 1.27

2023-06-14 15:23:02 : =========================[UPDATER ACTIVATED]=========================
2023-06-14 15:23:02 : Looking for correct UUID link in http://forum.doom9.org/showthread.php?t=127611
2023-06-14 15:23:03 : [SUCCESS] http://forum.doom9.org/showthread.php?t=127611 has correct UUID link 6c966b28-e0dd-48f6-b1c7-a56e8a275ec0
2023-06-14 15:23:03 : Downloading update file http://atak-snajpera.5v.pl/ripbot264update/update.zip
2023-06-14 15:23:03 : [SUCCESS] C:\Temp\RipBot264v1.26.0\Updates\update.zip saved!
2023-06-14 15:23:03 : Update for [core] detected
2023-06-14 15:23:03 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/core.zip to C:\Temp\RipBot264v1.26.0\updates\core.zip
2023-06-14 15:23:05 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\core.zip saved!
2023-06-14 15:23:05 : CRC32 value has not changed for [aften]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [avs2pipemod]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [avs2yuv]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [avsmeter]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [bdsup2sub]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [chapterxtractor]. Update is not required.
2023-06-14 15:23:05 : CRC32 value has not changed for [dgindex]. Update is not required.
2023-06-14 15:23:05 : Update for [downloadposter] detected
2023-06-14 15:23:05 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/downloadposter.zip to C:\Temp\RipBot264v1.26.0\updates\downloadposter.zip
2023-06-14 15:23:06 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\downloadposter.zip saved!
2023-06-14 15:23:06 : CRC32 value has not changed for [eac3to]. Update is not required.
2023-06-14 15:23:06 : Update for [ffmpeg] detected
2023-06-14 15:23:06 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/ffmpeg.zip to C:\Temp\RipBot264v1.26.0\updates\ffmpeg.zip
2023-06-14 15:23:47 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\ffmpeg.zip saved!
2023-06-14 15:23:47 : CRC32 value has not changed for [fhgaacenc]. Update is not required.
2023-06-14 15:23:47 : Update for [mediainfo] detected
2023-06-14 15:23:47 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/mediainfo.zip to C:\Temp\RipBot264v1.26.0\updates\mediainfo.zip
2023-06-14 15:23:48 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\mediainfo.zip saved!
2023-06-14 15:23:48 : Update for [mkvtoolnix] detected
2023-06-14 15:23:48 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/mkvtoolnix.zip to C:\Temp\RipBot264v1.26.0\updates\mkvtoolnix.zip
2023-06-14 15:24:22 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\mkvtoolnix.zip saved!
2023-06-14 15:24:22 : CRC32 value has not changed for [modifychapters]. Update is not required.
2023-06-14 15:24:22 : CRC32 value has not changed for [mp4box]. Update is not required.
2023-06-14 15:24:22 : Update for [mpc] detected
2023-06-14 15:24:22 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/mpc.zip to C:\Temp\RipBot264v1.26.0\updates\mpc.zip
2023-06-14 15:24:36 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\mpc.zip saved!
2023-06-14 15:24:36 : CRC32 value has not changed for [opus-tools]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [pgcdemux]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [remuxtool]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [setacl]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [ssatosrt]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [tsmuxer]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [vjoin]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [vsrip]. Update is not required.
2023-06-14 15:24:36 : CRC32 value has not changed for [wolcmd]. Update is not required.
2023-06-14 15:24:36 : Update for [x264] detected
2023-06-14 15:24:36 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/x264.zip to C:\Temp\RipBot264v1.26.0\updates\x264.zip
2023-06-14 15:24:39 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\x264.zip saved!
2023-06-14 15:24:39 : Update for [x265] detected
2023-06-14 15:24:39 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/x265.zip to C:\Temp\RipBot264v1.26.0\updates\x265.zip
2023-06-14 15:24:41 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\x265.zip saved!
2023-06-14 15:24:41 : CRC32 value has not changed for [autocrop]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [ffms]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [flash3kyuu_deband]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [hqdn3d]. Update is not required.
2023-06-14 15:24:41 : Update for [scripts] detected
2023-06-14 15:24:41 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/scripts.zip to C:\Temp\RipBot264v1.26.0\updates\scripts.zip
2023-06-14 15:24:41 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\scripts.zip saved!
2023-06-14 15:24:41 : CRC32 value has not changed for [tivtc]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [vsfilter]. Update is not required.
2023-06-14 15:24:41 : CRC32 value has not changed for [yadif]. Update is not required.
2023-06-14 15:24:41 : Update for [knlmeanscl] detected
2023-06-14 15:24:41 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/knlmeanscl.zip to C:\Temp\RipBot264v1.26.0\updates\knlmeanscl.zip
2023-06-14 15:24:41 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\knlmeanscl.zip saved!
2023-06-14 15:24:41 : CRC32 value has not changed for [openclinfo]. Update is not required.
2023-06-14 15:24:41 : Update for [masktools] detected
2023-06-14 15:24:41 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/masktools.zip to C:\Temp\RipBot264v1.26.0\updates\masktools.zip
2023-06-14 15:24:42 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\masktools.zip saved!
2023-06-14 15:24:42 : Update for [mvtools] detected
2023-06-14 15:24:42 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/mvtools.zip to C:\Temp\RipBot264v1.26.0\updates\mvtools.zip
2023-06-14 15:24:42 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\mvtools.zip saved!
2023-06-14 15:24:42 : CRC32 value has not changed for [nnedi3]. Update is not required.
2023-06-14 15:24:42 : CRC32 value has not changed for [detectborders]. Update is not required.
2023-06-14 15:24:42 : Update for [avisynth] detected
2023-06-14 15:24:42 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/avisynth.zip to C:\Temp\RipBot264v1.26.0\updates\avisynth.zip
2023-06-14 15:25:00 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\avisynth.zip saved!
2023-06-14 15:25:00 : CRC32 value has not changed for [rawsourceplus]. Update is not required.
2023-06-14 15:25:00 : CRC32 value has not changed for [rgtools]. Update is not required.
2023-06-14 15:25:00 : CRC32 value has not changed for [nicaudio]. Update is not required.
2023-06-14 15:25:00 : Update for [plugins_jpsdr] detected
2023-06-14 15:25:00 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/plugins_jpsdr.zip to C:\Temp\RipBot264v1.26.0\updates\plugins_jpsdr.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\updates\plugins_jpsdr.zip saved!
2023-06-14 15:25:07 : CRC32 value has not changed for [waitforprocess]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [avsresize]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [dgtonemap]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [lsmash]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [7z]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [srttossa]. Update is not required.
2023-06-14 15:25:07 : Update for [hdrtools] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/hdrtools.zip to C:\Temp\RipBot264v1.26.0\Updates\hdrtools.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\hdrtools.zip saved!
2023-06-14 15:25:07 : CRC32 value has not changed for [matroskasplitter]. Update is not required.
2023-06-14 15:25:07 : CRC32 value has not changed for [cas]. Update is not required.
2023-06-14 15:25:07 : New section [avscube] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/avscube.zip to C:\Temp\RipBot264v1.26.0\Updates\avscube.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\avscube.zip saved!
2023-06-14 15:25:07 : New section [colormatrix] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/colormatrix.zip to C:\Temp\RipBot264v1.26.0\Updates\colormatrix.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\colormatrix.zip saved!
2023-06-14 15:25:07 : New section [cutsub] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/cutsub.zip to C:\Temp\RipBot264v1.26.0\Updates\cutsub.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\cutsub.zip saved!
2023-06-14 15:25:07 : New section [fonts] detected
2023-06-14 15:25:07 : Downloading file http://atak-snajpera.5v.pl/ripbot264update/fonts.zip to C:\Temp\RipBot264v1.26.0\Updates\fonts.zip
2023-06-14 15:25:07 : [SUCCESS] File C:\Temp\RipBot264v1.26.0\Updates\fonts.zip saved!
2023-06-14 15:25:07 : Downloading finished.
2023-06-14 15:28:33 : =========================[UPDATER ACTIVATED]=========================
2023-06-14 15:28:33 : Installing updates...
2023-06-14 15:28:34 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\core.zip has been correctly extracted!
2023-06-14 15:28:34 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\downloadposter.zip has been correctly extracted!
2023-06-14 15:28:41 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\ffmpeg.zip has been correctly extracted!
2023-06-14 15:28:41 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\mediainfo.zip has been correctly extracted!
2023-06-14 15:28:49 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\mkvtoolnix.zip has been correctly extracted!
2023-06-14 15:28:53 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\mpc.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\x264.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\x265.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\scripts.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\knlmeanscl.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\masktools.zip has been correctly extracted!
2023-06-14 15:28:54 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\mvtools.zip has been correctly extracted!
2023-06-14 15:28:57 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\avisynth.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\updates\plugins_jpsdr.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\hdrtools.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\avscube.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\colormatrix.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\cutsub.zip has been correctly extracted!
2023-06-14 15:28:58 : [SUCCES] C:\Temp\RipBot264v1.26.0\Updates\fonts.zip has been correctly extracted!
2023-06-14 15:28:58 : Installation complete.
2023-06-14 15:28:59 : Next check after 2023-06-15 15:23:02

Puzzling. I have just run on a second PC (also running Windows 11, but completely different hardware) and still getting errors

2023-06-14 15:24:18 : Installing updates...
2023-06-14 15:24:18 : [SUCCES] W:\RipBot\updates\core.zip has been correctly extracted!
2023-06-14 15:24:18 : [SUCCES] W:\RipBot\updates\downloadposter.zip has been correctly extracted!
2023-06-14 15:24:19 : [ERROR] W:\RipBot\updates\ffmpeg.zip is corrupted. CRC32 mismatch. Expected value was 8ACC97BC but got 69E0F3CB
2023-06-14 15:24:19 : File W:\RipBot\updates\ffmpeg.zip has been deleted.
2023-06-14 15:24:19 : [SUCCES] W:\RipBot\updates\mediainfo.zip has been correctly extracted!
2023-06-14 15:24:19 : [ERROR] W:\RipBot\updates\mkvtoolnix.zip is corrupted. CRC32 mismatch. Expected value was 7F6D769A but got FB2A8BE0
2023-06-14 15:24:19 : File W:\RipBot\updates\mkvtoolnix.zip has been deleted.
2023-06-14 15:24:21 : [SUCCES] W:\RipBot\updates\mpc.zip has been correctly extracted!
2023-06-14 15:24:21 : [SUCCES] W:\RipBot\updates\x264.zip has been correctly extracted!
2023-06-14 15:24:22 : [SUCCES] W:\RipBot\updates\x265.zip has been correctly extracted!
2023-06-14 15:24:22 : [SUCCES] W:\RipBot\Updates\cutsub.zip has been correctly extracted!
2023-06-14 15:24:22 : [SUCCES] W:\RipBot\Updates\fonts.zip has been correctly extracted!
2023-06-14 15:24:22 : Installation complete.
2023-06-14 15:24:28 : Next check after 2023-06-15 15:23:38

guest
15th June 2023, 03:41
Puzzling. I have just run on a second PC (also running Windows 11, but completely different hardware) and still getting errors

I feel your frustration, believe me, I have a few items that NEVER download, but there is a VERY simple workaround for this problem.

If you want to know more, send me a PM.

Problems aside, I just can't understand why Atak has not updated the available build, on page 1, it's been nearly 2― years since the release of 1.26.0, and there has been quite a few updates in that time, but no change...how hard can it be, why just to prove a point to archiel, he updated from 1.26.0 to 1.27.0, so why not post it !!!!

howzz
16th June 2023, 20:00
is anyone also getting a Microsoft Defender alert flagging Ripbot264 for Trojan.Script/Sabsik.FL.B!ml warning?

this never happened before, but this morning Defender flagged ripbot and quarantine it for me. Tried downloading a fresh copy from here and the fresh copy also got flagged and quarantined.

Atak are you trying to take over our machines?

rlev11
16th June 2023, 21:03
so I'm getting the same thing as activoice with sub titles doubling up. I am getting it on just doing individual jobs, I haven't done any batch encoding. The subtitle is part of the mkv, not a separate .srt file. I am doing things exactly the same way as MANY times before , in avisynth, change render subtitles to on, click the .srt file and hit Ok. Always worked before. Don't know if this means anything, but if i go in and edit a job already in the que, and turn subtitles off, hit ok, then go back in and turn render subtitles back on, there are now a .srt and a .ssa in the job folder that wants me to choose from.

Update:

so if i mux out the subtitle in mkvtoolnix as a .mks, then also save a new mkv without the embedded subtitle. then rename both the mkv and srt the same. Load up the mkv in ripbot and when I choose render subtitles it just goes to on and never prompts me for the srt which is exactly the way it worked in the past since the names are the same. Once I encode it this way, no more doubled up subtitles. So it is only when you choose a subtitle that is already part of the mkv.


Update 2:
So I figured out what is going on, when you render subs that are already embedded inside the mkv, ripbot is now rendering the subs as before in the final output (when you choose render subtitles), but it is ALSO adding the embedded sub title back into the mkv which is causing the doubling up of the subtitles when playing back. You are getting the embedded sub and the rendered sub at the same time. I can turn the embedded sub off in vlc player and it looks fine again.

Looks like after you close avisynth and get back to the encoding settings screen, click the subtitles on the bottom right, change default and forced subtitles to none, then when you encode you will only get the rendered subs. Is there a way to globally disable adding the embedded subs if I only want to render them??

JThomasG
16th June 2023, 21:10
is anyone also getting a Microsoft Defender alert flagging Ripbot264 for Trojan.Script/Sabsik.FL.B!ml warning?

this never happened before, but this morning Defender flagged ripbot and quarantine it for me. Tried downloading a fresh copy from here and the fresh copy also got flagged and quarantined.

Atak are you trying to take over our machines?


same here

Atak_Snajpera
16th June 2023, 22:39
so I'm getting the same thing as activoice with sub titles doubling up. I am getting it on just doing individual jobs, I haven't done any batch encoding. The subtitle is part of the mkv, not a separate .srt file. I am doing things exactly the same way as MANY times before , in avisynth, change render subtitles to on, click the .srt file and hit Ok. Always worked before. Don't know if this means anything, but if i go in and edit a job already in the que, and turn subtitles off, hit ok, then go back in and turn render subtitles back on, there are now a .srt and a .ssa in the job folder that wants me to choose from.

Update:

so if i mux out the subtitle in mkvtoolnix as a .mks, then also save a new mkv without the embedded subtitle. then rename both the mkv and srt the same. Load up the mkv in ripbot and when I choose render subtitles it just goes to on and never prompts me for the srt which is exactly the way it worked in the past since the names are the same. Once I encode it this way, no more doubled up subtitles. So it is only when you choose a subtitle that is already part of the mkv.


Update 2:
So I figured out what is going on, when you render subs that are already embedded inside the mkv, ripbot is now rendering the subs as before in the final output (when you choose render subtitles), but it is ALSO adding the embedded sub title back into the mkv which is causing the doubling up of the subtitles when playing back. You are getting the embedded sub and the rendered sub at the same time. I can turn the embedded sub off in vlc player and it looks fine again.

Looks like after you close avisynth and get back to the encoding settings screen, click the subtitles on the bottom right, change default and forced subtitles to none, then when you encode you will only get the rendered subs. Is there a way to globally disable adding the embedded subs if I only want to render them??

Why don't you just remove them from the list???

rlev11
16th June 2023, 22:45
Why don't you just remove them from the list???


Yes I can do that, Just adds an additional step now to remember to do. It would be nice if there was somewhere in the settings to check to disable auto subtitle detection, or better yet, if you choose to render subtitles as part of the video, you would probably not want to add any embedded subtitles over top of them, so if rendered is selected, turn off adding the embedded subs automatically

guest
17th June 2023, 02:41
I have never been a fan of how RB deals with subtitles, the setting's are a little vague in description.

However, 99% of the time I only run the video thru RB, as I generally convert the audio to some other format/bitrate, and I extract the subs to spell check & check grammer, etc, then either have them it the same folder/directory as the re-muxed video/audio, or run them thru MKVToolNix.

The only time I think I will be running everything (video, audio & subs) thru RB is if I need to edit using the new Segments option.

I haven't used RB in well over a month, so I haven't run into these problems, anyway.

Atak_Snajpera
17th June 2023, 09:41
is anyone also getting a Microsoft Defender alert flagging Ripbot264 for Trojan.Script/Sabsik.FL.B!ml warning?

this never happened before, but this morning Defender flagged ripbot and quarantine it for me. Tried downloading a fresh copy from here and the fresh copy also got flagged and quarantined.

Atak are you trying to take over our machines?

Always use virus total
https://www.virustotal.com/gui/file/e2967fd713c46affc31949214f7ec4ac74965ead6fdd795e99824f8e993350f0?nocache=1

howzz
17th June 2023, 09:51
I appreciate your response, but MS defender is the default AV, will be hard to expect everyone to uninstall or disable MS's default program and go with something else. I was in a bind today, so went back to my backup option, which was Handbrake. Low and behold, apparently they finally ported their program to 10-bit.

hope you find a way around it.

guest
17th June 2023, 10:42
OUCH..

But I think you will find it's a false negative, I only use Defender, and never have any problem's.

Atak_Snajpera
17th June 2023, 11:51
I appreciate your response, but MS defender is the default AV, will be hard to expect everyone to uninstall or disable MS's default program and go with something else. I was in a bind today, so went back to my backup option, which was Handbrake. Low and behold, apparently they finally ported their program to 10-bit.

hope you find a way around it.

I'm not going to fight with false detections. It is a lost battle...

guest
18th June 2023, 10:53
At first I thought there was a bug, but then I just started clicking, and got the menu....(hover over the text box)

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

There is also this new setting in RipBot264.ini

SubtitlesFilterList=

eg:- SubtitlesFilterList=English;eng;.srt;

rlev11
18th June 2023, 16:46
At first I thought there was a bug, but then I just started clicking, and got the menu....(hover over the text box)



There is also this new setting in RipBot264.ini

SubtitlesFilterList=

eg:- SubtitlesFilterList=English;eng;.srt;

Now that is freaking awesome, Thank You Very Much Atak for the quick update....
:thanks:

gryph
20th June 2023, 16:41
Hey...
Am I missing something, or is there no option to turn off the Auto Cover thing that's been added recently, when doing batch convert? Deleting the path and saving as default didn't do much.

guest
21st June 2023, 06:59
You can already automatically remux .mkv to any container after finished job.
1) Enable in settings "RUN COMMAND SCRIPT AFTER FINISHED JOB"
2) Open "Job finished successfully.cmd" file in notepad and add last line

@REM ************* SUPPORTED EXTRA VARIABLES *************
@REM * *
@REM * %RIPBOT264TEMP% -> e.g. C:\Temp\Ripbot264temp *
@REM * %JOB% -> e.g. Job1 *
@REM * %INPUTFILEDIR% -> e.g. C:\InputVideoFiles *
@REM * %OUTPUTFILEDIR% -> e.g. C:\OutputVideoFiles *
@REM * %INPUTFOLDERNAME% -> e.g. InputVideoFiles *
@REM * %OUTPUTFOLDERNAME% -> e.g. OutputVideoFiles *
@REM * %INPUTFILENAME% -> e.g. InputVideoFile *
@REM * %OUTPUTFILENAME% -> e.g. OutputVideoFile *
@REM * %INPUTFILEEXT% -> e.g. avi *
@REM * %OUTPUTFILEEXT% -> e.g. mkv *
@REM * %YEAR% -> e.g. 2019 *
@REM * %MONTH% -> e.g. 01 *
@REM * %DAY% -> e.g. 31 *
@REM * %HOUR% -> e.g. 23 *
@REM * %MINUTE% -> e.g. 59 *
@REM * %SECOND% -> e.g. 00 *
@REM * %MILLISECOND% -> e.g. 999 *
@REM * *
@REM *****************************************************
@REM <INSERT YOUR SCRIPT HERE>

"C:\{PATH_TO_RIPBOT264}\Tools\ffmpeg\bin\ffmpeg.exe" -y -i "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%" -c:v copy -c:a copy -c:s copy "c:\temp\%OUTPUTFILENAME%-test.mp4" 2> "c:\temp\log.txt"

3) save

Once job is completed that script will remux mkv to mp4 and save log.txt file.( may be handy if you want to check why file was not created by fffmpeg.exe)

You can use the same method to extract/inject DV to video file.

I need to ask you a question about this..

It all seems to work well with a non "Segment" edited clip, HOWEVER, if you've chopped a bit out here & there, the initially processed clip is the new duration, BUT the clip processed with this cmd, is the original duration.

So it appears that the cmd needs to "find" the newly encoded, edited clip, THEN process it.

So where in that call, would you direct it to where the new edited encode lives ??

It's probably staring me in the face, but I can't see it, I'm no good with CLI :(

BTW, like I said before, FFMPEG also kill's the DV metadata :(

Atak_Snajpera
21st June 2023, 13:05
above command already redirects to encoded file.

ffmpeg.exe" -y -i "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%"

for example C:\temp\MyEncodedVideo.mkv

guest
21st June 2023, 13:12
above command already redirects to encoded file.

ffmpeg.exe" -y -i "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%"

for example C:\temp\MyEncodedVideo.mkv

OK, well, like I said it WAS right in front of me...

I'm sure I tried that several times today, and the .mkv RB produced was the cut Segmented duration, but the file the command line produced from that output file was the uncut length...

Atak_Snajpera
21st June 2023, 13:22
You can verify my claim by adding this line
echo "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%" > "c:\temp\log.txt"

In log.txt you will have full path to encoded video file

guest
21st June 2023, 13:29
You can verify my claim by adding this line
echo "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%" > "c:\temp\log.txt"

In log.txt you will have full path to encoded video file

OK, thanks, I will try that next opportunity..tomorrow.

I was modifiying the command line to use tsmuxer to convert the .mkv to .m2ts, but it's a little complicated, as it needs a meta file for tsmuxer to do it's job, so it's probably quicker to just run the final encode thru tsmuxer to .m2ts.

Is there any reason why you only have .mkv as the container for x265 ??

Atak_Snajpera
21st June 2023, 13:39
because mkv is the best and can be played by virtually anything these days.

guest
21st June 2023, 13:52
because mkv is the best and can be played by virtually anything these days.

OK, well up 'til recently I would have to agree, however, now that I'm figuring out how to get Dolby Vision metadata injected, "Hybrid" type .mkv's, .mkv's won't play in certain situations, and .ts or preferably .m2ts does.

Even if you were able to add tsmuxer to the x265 process, it would still need the meta file to carry the DV metadata, like as I said, using FFMPEG to create an .m2ts the DV metadata is removed :(

A little bit more complicated that x264.

There probably isn't an easy way to integrate that into RB, so using tsmuxer after RB has done the encode.

It's easy to get the rpu.bin, and inject it with x265 commands, but it's all to no avail, being an .mkv.

cypher007
3rd July 2023, 08:15
distributed encoding chunk size seems broken. set to zero it splits a 1:54 movie into about 15-16 chunks. had to set chunk size to 50 mins as a work around.

guest
3rd July 2023, 10:42
distributed encoding chunk size seems broken. set to zero it splits a 1:54 movie into about 15-16 chunks. had to set chunk size to 50 mins as a work around.

Seems strange...

Is it on ALL movies, or just one ??

Not sure why you'd set it to "zero" tho, I thought the minimum was "1".

Atak_Snajpera
3rd July 2023, 13:45
distributed encoding chunk size seems broken. set to zero it splits a 1:54 movie into about 15-16 chunks. had to set chunk size to 50 mins as a work around.

IT is not a bug, IT is a feature.

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

Make sure that unused IPs are set to 0.0.0.0 in settings

rlev11
3rd July 2023, 14:09
I've always set chunk size to 2 which seems to strike a good balance between not having each server spend time initializing each chunk too many times, and not having that last extra large chunk take forever by itself especially doing 4k.

Atak_Snajpera
3rd July 2023, 16:00
I've always set chunk size to 2 which seems to strike a good balance between not having each server spend time initializing each chunk too many times, and not having that last extra large chunk take forever by itself especially doing 4k.

Have you done some benchmarks 1 vs 2 with the same video?
Yes you save some seconds at each chunk but at the same time you may waste some time at the end with last longer chunk.
It is hard to tell straight away if 2 is a good balance...

cypher007
3rd July 2023, 18:03
IT is not a bug, IT is a feature.

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

Make sure that unused IPs are set to 0.0.0.0 in settings

ill try that fix. i use 0 as i find if i encode two large chunks on two machines it gets a lot closer to the locked size i set on 2 pass.

rlev11
3rd July 2023, 19:22
Have you done some benchmarks 1 vs 2 with the same video?
Yes you save some seconds at each chunk but at the same time you may waste some time at the end with last longer chunk.
It is hard to tell straight away if 2 is a good balance...

Even bench marking 2 different 1080p movies "It is hard to tell straight away if 2 is a good balance..."

Forbidden Planet chunk size 1- 8:32 with a 3900x doing the last chunk, and chunk size 2- 8:36 with a 7900x doing the last chunk.
So this made me think chunk size 1 should be a clear winner. Faster with a slower machine doing the last chunk.

Then I did North by Northwest. chunk size 1 - 12:23 with a 5900x doing last chunk and then chunk size 2 was 11:48 with the 7900x doing the last chunk.

Seems to me too many different variables to be able to say 1 is better than the other globally. I did my test with only 1 encoder thread per server, I usually run my 5950x machine with 2 threads. That could make a difference in how things line up. In the end they probably even out so it really doesn't make much of a difference. Although I need to try out a couple 4k as that will make the biggest difference time wise if that last chunk gets done by the slowest machine in the farm and how much bigger that chunk is. I run everything between a 7950x and a i9-10850k.

Kind of makes me think in the end its probably best to leave chunk size at the default 1 and just not worry about it.

cypher007
3rd July 2023, 21:53
what do i need to change to get distributed encoding to max my cpu's?

one machine with an i5 10400f is only using 50% and 6 threads according to the encoder window. the other encoder is an i5 13500 that says its using 20 threads but still seems a little under utilized.

rlev11
3rd July 2023, 22:17
what do i need to change to get distributed encoding to max my cpu's?

one machine with an i5 10400f is only using 50% and 6 threads according to the encoder window. the other encoder is an i5 13500 that says its using 20 threads but still seems a little under utilized.

the 10400f should be 6 cores 12 threads. regardless of what the encoder window is saying, load a utility like cpuid hwmonitor and see exactly what the processor utilization is on each thread.

easiest way to see if loading a second encoding thread helps is to just on the ripbot encoding server window, click add additional server , make sure the amount of total threads each cpu has is checked and then click activate. it should load up a second encoding server window with a port of :2000. then in the distributed encoding window just add the ip address with port:2000 and start that server.

I think you will find that adding a second server on lower level machines will not make that much of a difference. I have found that only when I get to the ryzen 9's with 16cores/32 threads that they have the additional head room to make an additional server worth the while.

For an i5, the 13500 is actually a pretty powerfull cpu, I have one and find that it is equivalent to a 16 core Ryzen 3950x and is just under a Ryzen 5900x

Of course your mileage may vary

guest
4th July 2023, 02:45
what do i need to change to get distributed encoding to max my cpu's?

one machine with an i5 10400f is only using 50% and 6 threads according to the encoder window. the other encoder is an i5 13500 that says its using 20 threads but still seems a little under utilized.

Good to see that you're using DE :)

Yes, just follow rlev11's suggestions, that's a good way to load up the CPU.

However, I'm surprised he didn't go on to mention that you can tweak it by using the encoders command line:-

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


And testing the values in red, to suit your specific CPU..it CAN make a lot of difference, especially with 4K encodes.

Also, if by chance you're using a PD build, and using SMDegrain filters, you also need to change this setting, (the small red circle) it also makes a HUGE difference, but if you're not, then it needs to be checked !!!

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

The bigger red circle relates to this:-

/avisynth-prefetch-threads 16

cypher007
7th July 2023, 00:20
i cant seem to edit a mpls using the edit button. it opens the stream selection window shows one of the m2ts files says please wait analysing and just sits there.

avinewbie
8th July 2023, 17:23
Hi,

Does anyone have a copy of Pauly Dunnes Mod version 5 of Ripbot ?
(His media fire links are gone from previous posts)

m5g
5th August 2023, 19:55
Hi everyone, after use auto-update to latest version, Ripbot wont startup, just stays invisible in process manager... whats happened. downloaded 1.26.0 version from here loads ok, but after update - stops working...

Win 10 Pro x64, 32 Gb RAM, Intel Core i7-10700KF, Nvidia RTX 3060 12 Gb

forkicks
5th August 2023, 20:13
Hi everyone, after use auto-update to latest version, Ripbot wont startup, just stays invisible in process manager... whats happened. downloaded 1.26.0 version from here loads ok, but after update - stops working...

Win 10 Pro x64, 32 Gb RAM, Intel Core i7-10700KF, Nvidia RTX 3060 12 Gb

Same here. Downgrading to 1.26 brings it back, but as soon as it auto updates, it's gone again. Process launches, never starts the encoding servers, and never shows the gui.
Win11 x64, 64GB, Ryzen 5900x

guest
6th August 2023, 00:39
Hi everyone, after use auto-update to latest version, Ripbot wont startup, just stays invisible in process manager... whats happened. downloaded 1.26.0 version from here loads ok, but after update - stops working...

Win 10 Pro x64, 32 Gb RAM, Intel Core i7-10700KF, Nvidia RTX 3060 12 Gb

@m5g & forkicks

Firstly, there hasn't been any updates since mid June '23.

And clearly neither of you read the previous posts, closely !

In my post, directly above yours, (and at the bottom of this post) there's a link to v1.27.0, why don't you give that a shot, and turn off Auto Update, just to see what happens.

But having said that, I haven't had this problem....

m5g
6th August 2023, 13:31
In my post, directly above yours, (and at the bottom of this post) there's a link to v1.27.0

Same issue... Unpacked 1.27.0 and it wont start - just stays in process manger and wont show UI

m5g
6th August 2023, 16:53
@m5g & forkicks
Firstly, there hasn't been any updates since mid June '23.


Seems since that update it stops working

forkicks
7th August 2023, 12:14
In my post, directly above yours, (and at the bottom of this post) there's a link to v1.27.0, why don't you give that a shot, and turn off Auto Update, just to see what happens.

Happens exactly as described. Does not show any GUI while showing up in the process list. 1.26 starts normally. This is both on clean installs and with existing configurations already in place.

Please don't assume posts haven't been read.

Atak_Snajpera
7th August 2023, 23:34
Just uninstall GeForce experience or other junk siting in background (ASUS soft) and ripbot should appear on desktop.

forkicks
9th August 2023, 15:58
Thank you for your replies.

I'm not running nvidia's geforce experience, nor am I using ASUS software (for what its worth, I'm running gigabyte hardware, but I'm not using any of their tools either in this system).

Do you happen to know, or suspect, of what the change may be between 1.26 and 1.27 that causes this? That way I could look and try other software to see what is causing it in the first place. Again, 1.26 runs just fine, and I'm sticking with it for the time being, but it's starting to become a very interesting puzzle to solve.

m5g
9th August 2023, 18:45
I'm not running nvidia's geforce experience, nor am I using ASUS software (for what its worth, I'm running gigabyte hardware, but I'm not using any of their tools either in this system)

So am i. Installing as always only latest vdieo driver, creating custom setup without nvidia shit. GIGABYTE motherboard too/.

And why 1.26 works well and 1.27 didnt? So the problem is on the program side for sure. Just author dont want to dig it (

m5g
9th August 2023, 19:04
How to get latest 1.26.3 version before 1.27.0 to test it

Atak_Snajpera
9th August 2023, 21:42
Run windows in safe mode and then check if ripbot appears on desktop.

guest
10th August 2023, 05:02
How to get latest 1.26.3 version before 1.27.0 to test it

@m5g & forkicks

Because I have kept nearly every individual update, I have a surprise for you both.

I had a working v1.26.3 build, and I have included EVERY update since that build from (20-11-22), so you can incrementally update that build until you get to the stage where it has your current issue with v1.27.0.

Simply download this :-

https://www.mediafire.com/file/sz6jmb560orv65k/RipBot264v1.26.3.7z/file

unpack it, and copy the files from "UPDATES (progressive)" folder, into the Updates folder in RB, ensure that you enable Auto Updates, so they are used,

IMPORTANT...disconnect from the "Net" while you do all this !!! otherwise it's just a wasted exercise.

After updating to the level you want, DISABLE Auto Updates before reconnecting to the "Net".

GOOD LUCK.

pinco1117
10th August 2023, 05:08
Hello, first I wanted to thank once again Atak_Snajpera for this program and for the news of version 1.27 (finally I updated the program), second also thanks to TDS for the direct link to version 1.27, third if it helps I have took version 1.27 directly and put it on two different PCs on one it started quietly on the other it didn't start, through task manager I checked the wait chain through the details and in my case it was a function of logitech more precisely the EXE "logitechg_discord.exe" renamed it (since I don't use it) in "logitechg_discord.exe.old" terminated it in task manager and the program started without problems. I did this following the advice of Atak_Snajpera in an old post and I have always found this way the program that blocked it.

m5g
10th August 2023, 05:27
Thanks for all advices! Finally, i found what prevents 1.27.0 to launch by shutting down background processes one by one and try to run Ripbot ) Its called Saby Plugin launcner ) Thanks everyone!

guest
10th August 2023, 05:48
Thanks for all advices! Finally, i found what prevents 1.27.0 to launch by shutting down background processes one by one and try to run Ripbot ) Its called Saby Plugin launcner ) Thanks everyone!

Good to know :)

Still weird that v1.26.0 was OK, though :confused:

guest
10th August 2023, 12:23
*edited out*

You might as well go ahead and delete these posts...

Simply choose "Edit", then choose "Delete" (bottom right corner), then over in the left bottom corner, choose "Delete Message",
then go back over to the right bottom corner, and choose "Delete this Message"...done :)

forkicks
10th August 2023, 14:21
I initially had (double) posted inacurate information.

So I found out what was interfering with ripbot 1.27 start, and it's the "widgets.exe" from windows 11 widget thingy. This is a windows 11 executable, not something you install manually. Killing it while ripbot 1.27 is stuck on loading immediately makes the gui show up. It also only blocks ripbot 1.27 loading after a few minutes of being active. If you try to run 1.27 immediately after boot, it runs (I only caught this while trying to identify the problem. I usually leave my system on for long periods). As another interesting effect, if I have ripbot 1.27 already running when widgets.exe does its thing (whatever that is), ripbot continues to run, but will hang when I try to close it (ripbot's gui becomes unresponsive when you try to exit it). Trying to start ripbot after widgets.exe has been running for a few minutes still gives no gui.

So, this isn't exactly something that you can uninstall (there are probably ways to, but it's an OS component. I have never used it, but it still runs).

Also, version 1.26 has no problem with it.

(thanks for the tip about deleting the posts. I tried to before, but couldn't track the "delete" option on edit)

john33
10th August 2023, 16:09
If you wish to uninstall 'widgets.exe'(disable permanently), Google "Disable Widgets in Windows 11" and there's a PowerShell script available.

m5g
10th August 2023, 18:19
Found another app that prevents Ripbot 1.27.0 to luanch!!! Its Discord desktop app!!!!!!!!!!!

So strange behaviour. that 1.26.0 works and 1.27.0 not. Definately Ripbot problem....

rlev11
10th August 2023, 22:45
Have you tried just turning off widgets in the taskbar settings and see if that makes a difference. I have always had that turned off and have never had an issue with any version of RipBot starting up. I do still see a Widgets.exe process (with 8 sub processes) in task manager.

forkicks
11th August 2023, 08:54
Have you tried just turning off widgets in the taskbar settings and see if that makes a difference. I have always had that turned off and have never had an issue with any version of RipBot starting up. I do still see a Widgets.exe process (with 8 sub processes) in task manager.

I have it turned off. In fact, I have never even seen it. I'm running Win 11 Enterprise, and it won't show at all. But the process runs, and causes this.

About removing it, I imagined there would, ofc, be ways to achieve that, but is it reasonable to continue removing other applications when the common factor is ripbot itself? Maybe understanding what's causing it in the first place would be a better alternative in the long run.

guest
11th August 2023, 11:13
I think you will find that one reason RipBot is having more & more problems is that it's built to originally work under Windows 7 (AFAIK), and with more & more apps, widgets, etc, etc being part of the Windows 10/11 "way of life", it interferes with RipBot's operation.

As the dev seems to be deadset against anything other than Windows 7, and if he doesn't want to do anything, or see benefits in modernising or updating, then "we" can't do anything about it.

So I think it WILL be up to the individual user to remedy these situations as best they can, even if that means not being able to use more common & up to date app's, driver's, etc, etc, or not using RipBot...

I guess one remedy would be to have at least 2 PC's, one with all the "do dad's", and one to run RipBot....

There's only been 1 person that has attempted to update & modernise (to a point) RipBot recently, and the Pauly Dunne build's were, a bit of a game changer, but he's all but disappeared, due to lack of support from the majority.

Atak_Snajpera
11th August 2023, 11:19
I have it turned off. In fact, I have never even seen it. I'm running Win 11 Enterprise, and it won't show at all. But the process runs, and causes this.

About removing it, I imagined there would, ofc, be ways to achieve that, but is it reasonable to continue removing other applications when the common factor is ripbot itself? Maybe understanding what's causing it in the first place would be a better alternative in the long run.

1) open ripbot264.ini
2) change line
UseAutoUpdate=1
to
UseAutoUpdate=0
3) save

I hope this helps...

guest
11th August 2023, 11:52
1) open ripbot264.ini
2) change line
UseAutoUpdate=1
to
UseAutoUpdate=0
3) save

I hope this helps...

OR here:-

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

Isn't that sort of defeating the purpose ???

Are you suggesting that the users use a lesser RB build, as not to interfere with other app's they want/need to use !!!

cypher007
18th August 2023, 21:59
ripbot keeps detecting m2ts 50fps files as 25fps.

is there a switch i can add to the script to force 50fps?

i tried fpsnum=50 with fpsden=1 and i ended up with it wanting to encode 1 frame.

LigH
18th August 2023, 22:48
Please check details of your source with MediaInfo. M2TS is only the container, but it may contain e.g. MPEG-2 or MPEG-4 video ... and different AviSynth source filters (FFMS2, L-SMASH Source, DGDecNV ...) may be more or less successful in handling each possible variant.

cypher007
19th August 2023, 01:34
Please check details of your source with MediaInfo. M2TS is only the container, but it may contain e.g. MPEG-2 or MPEG-4 video ... and different AviSynth source filters (FFMS2, L-SMASH Source, DGDecNV ...) may be more or less successful in handling each possible variant.

already done that and its HEVC at 50fps. Vidcoder (handbrake) seems to recognise it fine but when i use that to encode other vids at 20 RF it seems to make a larger file than ripbot would at CQ 20. i assume theyre supposed to equal the same qulaity/file size? also ripbot is quicker than vidcoder.

Atak_Snajpera
19th August 2023, 10:08
Can you upload that file somewhere?

cypher007
19th August 2023, 13:18
Can you upload that file somewhere?

its about 3gb.

ive also noticed another file which is part of the same disc shows 25fps and double the runtime when in ripbot.

ive had this issue before with some videos. i dont know why handbrake sees it as 50fps but ripbot 25fps.

Atak_Snajpera
19th August 2023, 13:26
Just use some cutting program. Type "Binary File Splitter" in google.
I need small sample 100-200MB.

guest
19th August 2023, 15:58
its about 3gb.

ive also noticed another file which is part of the same disc shows 25fps and double the runtime when in ripbot.

ive had this issue before with some videos. i dont know why handbrake sees it as 50fps but ripbot 25fps.

You could use MKVToolNix to create a small sample, but it will be an .mkv :(

Tsmuxer might work.

cypher007
20th August 2023, 11:19
why does rf 24 in Vidcoder (handbrake) give me a 1.46gb file but the same video done with ripbot on 24 give me a 1.05gb file?

guest
20th August 2023, 12:44
why does rf 24 in Vidcoder (handbrake) give me a 1.46gb file but the same video done with ripbot on 24 give me a 1.05gb file?

There could well be some settings, sort of in the background/hidden, that could affect the outcome between the two apps.

How different are the bit rates between the two videos ??

Is there any visible difference to the quality of the files ??

cypher007
20th August 2023, 15:00
There could well be some settings, sort of in the background/hidden, that could affect the outcome between the two apps.

How different are the bit rates between the two videos ??

Is there any visible difference to the quality of the files ??

thats the odd thing the Vidcoder file doesnt show the bit rate in media info. heres the two files media info's. first one is Vidcoder:

General

Complete name : C:\Users\Administrator\Videos\Title 4.mkv
Format : Matroska
Format version : Version 4
File size : 1.48 GiB
Duration : 16 min 24 s
Overall bit rate mode : Variable
Overall bit rate : 12.9 Mb/s
Frame rate : 24.000 FPS
Encoded date : 2023-08-19 11:26:03 UTC
Writing application : HandBrake 1.6.1 2023012300
Writing library : Lavf59.27.100
ErrorDetectionType : Per level 1

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 16 min 24 s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Writing library : x265 3.5+1-f0c1022b6:[Windows][GCC 10.2.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=1 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=1 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / selective-sao=4 / early-skip / rskip / rskip-edge-threshold=0.050000 / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=0.75 / psy-rdoq=4.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=24.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-sbrc / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass / no-mcstf
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 16 min 24 s
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Compression mode : Lossless
Title : Stereo
Language : English
Default : Yes
Forced : No
MD5 of the unencoded content : 00000000000000000000000000000000

Menu
00:00:00.000 : Chapter 1
00:06:57.000 : Chapter 2

now the ripbot one:

General

Complete name : D:\Extras\t.mkv
Format : Matroska
Format version : Version 4
File size : 1.06 GiB
Duration : 16 min 24 s
Overall bit rate mode : Variable
Overall bit rate : 9 221 kb/s
Frame rate : 24.000 FPS
Encoded date : 2023-08-17 15:16:09 UTC
Writing application : mkvmerge v74.0.0 ('You Oughta Know') 64-bit
Writing library : libebml v1.4.4 + libmatroska v1.7.1

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 16 min 24 s
Bit rate : 8 797 kb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.044
Stream size : 1.01 GiB (95%)
Writing library : x265 3.5+100-3dae0c3cc:[Windows][GCC 12.2.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=23631 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / temporal-layers=0 / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=1 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=24.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass / no-mcstf / no-sbrc
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 16 min 24 s
Bit rate mode : Variable
Bit rate : 422 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 11.719 FPS (4096 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Stream size : 49.5 MiB (5%)
Writing library : libFLAC 1.2.1 (2007-09-17)
Language : English
Default : Yes
Forced : No
MD5 of the unencoded content : 088CDBF0DF89CFDD105B10D4B022EE09

Menu
00:00:00.000 : en:Chapter 01
00:06:57.000 : en:Chapter 02

cypher007
20th August 2023, 15:01
actually the bitrate is there but listed differently. so if its higher why doesnt cq in ripbot equal rf in vidcoder?

guest
20th August 2023, 15:54
actually the bitrate is there but listed differently. so if its higher why doesnt cq in ripbot equal rf in vidcoder?

I still reckon it's the difference between the apps.

The writing applications and writing libraries are different.

And even x265 versions are different.

cypher007
20th August 2023, 20:20
I still reckon it's the difference between the apps.

The writing applications and writing libraries are different.

And even x265 versions are different.

ok it seems rf 25.5 in vidcoder equals near enough the same as rf 24 in ripbot.

so i will use vidcoder to encode the troublesome 50fps files and ripbot for main 24fps videos.

Boulder
21st August 2023, 06:53
The settings in the two encodes are totally different. For example, aq-mode 1 vs 2 can make a huge difference in the final bitrate.

cypher007
21st August 2023, 10:53
The settings in the two encodes are totally different. For example, aq-mode 1 vs 2 can make a huge difference in the final bitrate.

ah that probably explains the difference. wonder why these sort of options are not visible in the interface of both programs?

guest
21st August 2023, 12:40
ah that probably explains the difference. wonder why these sort of options are not visible in the interface of both programs?

So kinda like I said, it's the differences between the apps, if you stick with one, then that's it, but when you start "comparing" them, inevitably there will be some significant differences.

When you learn a bit more about RipBot, you will soon realise that you can change a LOT of settings, either using custom scripts, and custom x265 commands.

When using Distributed Encoding, you will be able to view all the settings that the app is using to do the encode, in the Encoder Server "window". That can also be beneficial in knowing what x265 commands can be added, changed, etc, etc.

Chances are, if you studied & compared the MediaInfo data, (as Boulder mentioned) and matched RB with Vidcoder (at least as far as x265 commands are concerned) you may get a LOT closer results.

Also, maybe you give this a shot with the FPS issues you're having :-

http://avisynth.nl/index.php/FPS#ChangeFPS

ChangeFPS(25000, 1000)

Yopen71
20th September 2023, 09:00
Hello. Are there any limitations in the ripbot264 on the use of the cpu? To be specific I can't use the full power of my cpu and gpu .The cpu used during encoding is no more than 22%

https://iili.io/JJ3JxIa.md.png (https://freeimage.host/i/JJ3JxIa)
https://iili.io/JJ3JzhJ.md.png (https://freeimage.host/i/JJ3JzhJ)

Edit: Second pass is no more than 46%
https://iili.io/JJ3ohml.md.png (https://freeimage.host/i/JJ3ohml)

cypher007
20th September 2023, 12:26
Hello. Are there any limitations in the ripbot264 on the use of the cpu? To be specific I can't use the full power of my cpu and gpu .The cpu used during encoding is no more than 22%

https://iili.io/JJ3JxIa.md.png (https://freeimage.host/i/JJ3JxIa)
https://iili.io/JJ3JzhJ.md.png (https://freeimage.host/i/JJ3JzhJ)

Edit: Second pass is no more than 46%
https://iili.io/JJ3ohml.md.png (https://freeimage.host/i/JJ3ohml)

are you using windows 10? i had a similar issue and its the way the thread scheduler works in win 10. i did fix it and post in this thread but it was a bit of fafing about so just use win 11 instead. it only affects the newer Hybrid CPU's like 12th gen+

Yopen71
20th September 2023, 12:42
are you using windows 10? i had a similar issue and its the way the thread scheduler works in win 10. i did fix it and post in this thread but it was a bit of fafing about so just use win 11 instead. it only affects the newer Hybrid CPU's like 12th gen+

Going to Win 11 is not a solution. It's still very buggy. It's not worth it because of a program to change entire Windows.Maybe there have a solution in win 10?

Atak_Snajpera
20th September 2023, 13:44
Workaround
1) disable fast first pass option
2) activate distributed encoding mode with 2 local active encoding servers. Chuck size set to 0. encoding servers priority set to variable.

This should help with CPU usage.

Yopen71
20th September 2023, 14:16
Workaround
1) disable fast first pass option
2) activate distributed encoding mode with 2 local active encoding servers. Chuck size set to 0. encoding servers priority set to variable.

This should help with CPU usage.
Thanks for your answer,but actually is little bit unclear for me cuz I'm new ripbot user.
1) disable fast first pass option -you mean to encode in one pass cbr ?
2) activate distributed encoding mode with 2 local active encoding servers. - As far as I know Ripbot264 use Distributed Encoding Mode for connection between several PCs and I have only one PC. Sorry I'm just confused.

Edit:Opss Understand:
https://iili.io/JJFtB3X.md.png (https://freeimage.host/i/JJFtB3X)

caphp
20th September 2023, 14:53
Hi Yopen71,
because you are using an i5-13600k ( p and e cores ), you can try to switch your windows power plan to "High performance".
This might help.

Yopen71
20th September 2023, 15:19
Hi Yopen71,
because you are using an i5-13600k ( p and e cores ), you can try to switch your windows power plan to "High performance".
This might help. I can choose between only 2 plans balanced and economical win10 22H2.
With the help of Atak_Snajpera I managed to reach the full potential of my PC.
Many many Thanks!

Atak_Snajpera
20th September 2023, 16:54
I can choose between only 2 plans balanced and economical win10 22H2.
With the help of Atak_Snajpera I managed to reach the full potential of my PC.
Many many Thanks!

Since you are encoding only on one machine I suggest these settings

Make sure that you put 0.0.0.0 in unused slots!
https://i.postimg.cc/yYVjGjvh/Capture.png


Then click on wrench icon and change priority from low to variable

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

With variable priority there is higher chance that both chunks will be encoded at the same time.

1) disable fast first pass option -you mean to encode in one pass cbr ?
uncheck USE FAST FIRST PASS IN 2-PASS MODE in Settings

Yopen71
20th September 2023, 18:10
Since you are encoding only on one machine I suggest these settings

Make sure that you put 0.0.0.0 in unused slots!



Then click on wrench icon and change priority from low to variable



With variable priority there is higher chance that both chunks will be encoded at the same time.


uncheck USE FAST FIRST PASS IN 2-PASS MODE in Settings
Thanks again! Using exactly your steps. CPU now use it's full power

https://iili.io/JJfVjkb.md.png (https://freeimage.host/i/JJfVjkb)

Edit: Second pass cpu lose 50%

With next movie I will try to activate server 3 and 4. Something strange happening,but it's not a big deal.
https://iili.io/JJfvKns.md.png (https://freeimage.host/i/JJfvKns)

Edit2:
Problem with cpu solved. Using DE with 4 servers instead of 2 solve the problem.Great application! The only downside for me is, that I can't encode the audio stream separately from the video.I mean If I have to re-encode the audio stream I must to re-encode and the video stream again

rlev11
21st September 2023, 13:35
Just asking why you would want to encode the audio stream separately from the video? You can encode the audio stream to pretty much whatever you want when you do the whole video in ripbot. When you add the video, in the encoder settings window change the profile under audio from x.xcopy stream (leaves audio alone) to whatever you want. I do this to convert from dts to AC3.

if you need to do the audio separately for some other reason, suggest using mkvtoolnix gui to extract the audio, then run it through Audacity to convert it, then use mkvtoolnix gui to add the new audio back in with the video.

Yopen71
21st September 2023, 14:54
Just asking why you would want to encode the audio stream separately from the video? You can encode the audio stream to pretty much whatever you want when you do the whole video in ripbot. When you add the video, in the encoder settings window change the profile under audio from x.xcopy stream (leaves audio alone) to whatever you want. I do this to convert from dts to AC3.

if you need to do the audio separately for some other reason, suggest using mkvtoolnix gui to extract the audio, then run it through Audacity to convert it, then use mkvtoolnix gui to add the new audio back in with the video.

Of course, there have many tools to edit/encode audio Audacity,Sound Forge, foobar2000 etc. Actually there have different apps for every process in ripbot264, but one flexible program will be much better for me ,than jumping from app to app and to next app... It's just my opinion, nothing more. For example: someone has a large collection of movies with dts audio. And if he want just to replace thats dts to flac or ac3. And if ripbot264 has x.xcopy stream ( video ), will be just one click replacement for one movie instead of using mkv merge for extracting,then audacity for encoding, then back to mkv tool for muxing...

Atak_Snajpera
21st September 2023, 17:34
Using DE with 4 servers instead of 2 solve the problem.
Still I does not look right that you need 4 x264 encoders running at the same time to fully saturate 14 core cpu(6p+8e). For example 16-core AMD CPUs do not have that problem. I'm pretty sure win11 would do much better in this matter. Clearly win10 scheduler is doing something stupid here.

rlev11
21st September 2023, 20:43
Of course, there have many tools to edit/encode audio Audacity,Sound Forge, foobar2000 etc. Actually there have different apps for every process in ripbot264, but one flexible program will be much better for me ,than jumping from app to app and to next app... It's just my opinion, nothing more. For example: someone has a large collection of movies with dts audio. And if he want just to replace thats dts to flac or ac3. And if ripbot264 has x.xcopy stream ( video ), will be just one click replacement for one movie instead of using mkv merge for extracting,then audacity for encoding, then back to mkv tool for muxing...

Years ago I did a similar batch convert from dts to ac3. I put the videos in a folder and then ran this command from that folder and it did the audio convert and left the video alone. Went pretty fast if I remember. Not sure if the script would support other outputs, but it probably would. If I remember right, I setup different folders depending on the number of audio channels and then just changed the output size accordingly. so 6 channel left at 640k and 2 channel changed that to 256k. Re-did all the videos and added -Ac3 to the file name of the converted one. Then loaded up RenameMaster and batch removed the -AC3 from the filename.

FOR %%f IN (*.mkv) DO E:\ffmpeg\bin\ffmpeg.exe -i "%%f" -map 0 -vcodec copy -scodec copy -acodec ac3 -b:a 640k "%%~nf"-AC3.mkv

Yopen71
22nd September 2023, 01:44
Still I does not look right that you need 4 x264 encoders running at the same time to fully saturate 14 core cpu(6p+8e). For example 16-core AMD CPUs do not have that problem. I'm pretty sure win11 would do much better in this matter. Clearly win10 scheduler is doing something stupid here.

In my case:
when I use 2 servers: pass1 cpu at 100%, pass2 cpu at 46%
when I use 3 servers: 1 and 2 pass cpu at 100%
I use 4 servers, to be sure :)

redeyes50
4th October 2023, 21:16
hi, it has certainly been written but how do I set up automatic indexing with ffvideosurce instead LSMASHSource

guest
5th October 2023, 02:06
hi, it has certainly been written but how do I set up automatic indexing with ffvideosurce instead LSMASHSource

Congrats on your first post :)

Interesting that you don't want to use L-Smash.

There is a very new L-smash update, if you want to try that,

https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/releases/tag/1141.0.0.0

there is also a recent update for FFMS2 as well.

https://forum.doom9.org/showthread.php?p=1991852#post1991852


But if you want to use FFMS2 as your "decoder / indexer", then all you need to do is this :-

overwrite this field in RipBot264.ini if you want to use FFMS2 instead of L-Smash

[DefaultVideoDecoder]
MPEG-2=FFMS2
VC-1=FFMS2
AVC=FFMS2
HEVC=FFMS2
OTHER=FFMS2

Just a heads-up, if you change this, it will stay there until you do ANY other change to the settings in the GUI, and press the Apply button !!!

redeyes50
8th October 2023, 15:55
Now I have a problem I can't get 2 PCs to communicate on the same network. establishes the connection but immediately closes with an error. ripbtot264temp\job1\chuncks\5.cmd. does not exist!


therefore the connection is also successful but then it is unable to exploit the other CPU

rlev11
8th October 2023, 21:40
Now I have a problem I can't get 2 PCs to communicate on the same network. establishes the connection but immediately closes with an error. ripbtot264temp\job1\chuncks\5.cmd. does not exist!


therefore the connection is also successful but then it is unable to exploit the other CPU

First thing to check,

Are you able to create a share on each machine and connect to it from the other one and both read and write to the shares. This will have to work for distributed encoding to work and copy the chunks from the client to the servers and back.

Are you using a username and password to log into the computers. to do the share you may have to put in the authentication username and password in the distributed encoding section.

If you are not using a password to log into windows , check under advanced file sharing and make sure that under all networks, turn off password protected sharing is selected.

lemaireus
22nd October 2023, 05:57
Atak, EAC3 seems to have some advantages over AC3, so would you please consider incorporating an option to encode audio in EAC3? XMedia Recode has done a pretty good job of providing EAC3 encode option in their GUI and it would be great if we could get that option in RipBot as well. Thank you.

tkwou
4th November 2023, 01:21
Hi Atak. I haven't been doing much encoding lately but I've kept my server farm updated. I have a Ryzen 3600, a couple older FX 8 cores and a couple older I7's. My desktop is a Ryzen 5600G. With encoding of Bluray I seem to get a frame rate of just over a hundred. The Ryzen 5600G gets the highest individual encode rate of up to about 30 fps. Surprisingly when I did the encode alone with the Ryzen 5600G, I got over 60 fps just on it's own. Does this seem correct? Does all the DE overhead slow things down that much? Thanks.

guest
4th November 2023, 01:27
Hi Atak. I haven't been doing much encoding lately but I've kept my server farm updated. I have a Ryzen 3600, a couple older FX 8 cores and a couple older I7's. My desktop is a Ryzen 5600G. With encoding of Bluray I seem to get a frame rate of just over a hundred. The Ryzen 5600G gets the highest individual encode rate of up to about 30 fps. Surprisingly when I did the encode alone with the Ryzen 5600G, I got over 60 fps just on it's own. Does this seem correct? Does all the DE overhead slow things down that much? Thanks.

Just my 2 cents worth.....

Maybe the other PC's are dragging the whole process down, you might be better off just using the Ryzen's, scrap the others.

tkwou
4th November 2023, 03:49
Thanks TDS. I tried the same encode with just the two Ryzens. The 5600G got about 35-36fps and the 3600 was at 15-16fps with a total rate around 51fps. The 5600G encoding alone was encoding at over 60fps.

guest
4th November 2023, 05:36
Thanks TDS. I tried the same encode with just the two Ryzens. The 5600G got about 35-36fps and the 3600 was at 15-16fps with a total rate around 51fps. The 5600G encoding alone was encoding at over 60fps.

I have to say that that is strange, DE is supposed to accelerate the process.

Of course, it can depend on what filters you're using, and other processing settings, etc.

It's pretty much impossible to figure out what might be causing this, without "being at your system".

Atak_Snajpera
4th November 2023, 11:53
Hi Atak. I haven't been doing much encoding lately but I've kept my server farm updated. I have a Ryzen 3600, a couple older FX 8 cores and a couple older I7's. My desktop is a Ryzen 5600G. With encoding of Bluray I seem to get a frame rate of just over a hundred. The Ryzen 5600G gets the highest individual encode rate of up to about 30 fps. Surprisingly when I did the encode alone with the Ryzen 5600G, I got over 60 fps just on it's own. Does this seem correct? Does all the DE overhead slow things down that much? Thanks.

What was the CPU usage? If IT was lower then this could mean that there is some bottleneck. Which pc is hosting file? FX or ryzen? Regarding overhead there is none as long as you have good LAN connection and main pc is not a pottato.

rlev11
4th November 2023, 15:50
Might want to try loading the client on the 3600 and use the 5600g as a server and see what happens. Will the 5600 go back up to speed, and will the 3600 drop off as the client. I run a 5600g in my farm and for what it is, I get pretty good performance out of it for it's price point. Slots in just a bit below my Ryzen 3900's. I'll try running an encode with DE turned off when I get a chance to see what happens, although being a 7950x and 10 gig network backbone, I doubt I have any overhead and see a difference.

And BTW Atak, I've been redoing a bunch of my older encodes to SMdegrain just because, but I have had 12 physical machines and 15 encoder threads running pretty much non-stop for a week now with upwards of 500 jobs in the queue at times and not 1 glitch in Ripbot (I am impressed)

Atak_Snajpera
4th November 2023, 15:59
Might want to try loading the client on the 3600 and use the 5600g as a server and see what happens. Will the 5600 go back up to speed, and will the 3600 drop off as the client. I run a 5600g in my farm and for what it is, I get pretty good performance out of it for it's price point. Slots in just a bit below my Ryzen 3900's. I'll try running an encode with DE turned off when I get a chance to see what happens, although being a 7950x and 10 gig network backbone, I doubt I have any overhead and see a difference.

And BTW Atak, I've been redoing a bunch of my older encodes to SMdegrain just because, but I have had 12 physical machines and 15 encoder threads running pretty much non-stop for a week now with upwards of 500 jobs in the queue at times and not 1 glitch in Ripbot (I am impressed)

I'm impressed as well. LOL!

guest
4th November 2023, 16:40
Might want to try loading the client on the 3600 and use the 5600g as a server and see what happens. Will the 5600 go back up to speed, and will the 3600 drop off as the client. I run a 5600g in my farm and for what it is, I get pretty good performance out of it for it's price point. Slots in just a bit below my Ryzen 3900's. I'll try running an encode with DE turned off when I get a chance to see what happens, although being a 7950x and 10 gig network backbone, I doubt I have any overhead and see a difference.

And BTW Atak, I've been redoing a bunch of my older encodes to SMdegrain just because, but I have had 12 physical machines and 15 encoder threads running pretty much non-stop for a week now with upwards of 500 jobs in the queue at times and not 1 glitch in Ripbot (I am impressed)

But that's with a PD build Ripbot !!, obviously.

Atak_Snajpera
4th November 2023, 17:10
But that's with a PD build Ripbot !!, obviously.

Did he compile whole thing in delphi with added new code?

Definition of build
https://www.techopedia.com/definition/3759/build

rlev11
4th November 2023, 17:46
As far as I remember I have a base install (which gets updated automatically) and all I did was add in the couple of PD scripts to enable SMdegrian to work. It is not a full PD Build download. Regardless, the PD builds wouldn't touch the underlying program.
My point was just to say that there are a crap ton of bits flying around in all different directions that Ripbot needs to keep track of and has done so flawlessly for a very long time and even during this recent extreme power session and thought the author should be made aware of my experience. To load up hundreds of jobs and walk away with the confidence that when I return all is running as expected is something that I appreciate greatly, especially for a program that is essentially freeware.

I have no doubt that a base Ripbot install would perform just as well (and did in the past mostly once a patch or workaround was figured out), but would only be losing the speed and quality benefit that SMdegrain provides. The only real batch stability issue I experienced in the past was with the windows 11 update, some encoding servers would periodically lock and not restart, stopping an encode until I manually aborted it and restarted it. This was easily fixed by making sure the encoding server window did not get minimized in the system tray as i had it set with Windows 10, Once I kept it maximized on the desktop, that whole issue went away.

rlev11
4th November 2023, 19:01
And on another topic Atak, I'm starting to see some stuff crop up at a 2.2:1 aspect ratio now (Gaslit for 1 and something else I can't remember, plus the upcoming Oppenheimer). I know in the past you added 2:1 to the resize drop down when requested. Not a big deal, but on your next update for something else if you could add in 2.2:1 to the drop down that would be appreciated

tkwou
4th November 2023, 20:49
What was the CPU usage? If IT was lower then this could mean that there is some bottleneck. Which pc is hosting file? FX or ryzen? Regarding overhead there is none as long as you have good LAN connection and main pc is not a pottato.

Thanks Atak. The Ryzen 5600G/B450 is running client. Everything is running on a gigabit LAN. Encoding is standard one pass bluray at CQ18. Between x264 and Ripbot264 they are using over 90% cpu. I reversed the roles with the Ryzen 3600/B450 running client instead. This time the 3600 was encoding in the 45-48fps range (significantly up from 15-16fps) and but the 5600G is still only doing 28-30fps. Then I had the 3600 run solo and it went up to 65fps (faster than the 5600G). The 3600 is running an NVidia 3060. I don't know if that makes a difference. For some reason the 5600G doesn't like be client.

rlev11
4th November 2023, 23:10
that is very strange, especially with the cpu usage consistent whether you are using a pc either as a client, server, or single. Try this with something short, say a 10 or 15 minute clip. run it on the 5600 with DE off and actually time how long it takes (forget about the fps display). then turn de back on with the 3600 back in the mix. Start the same encode and as soon as it starts, in the distributed encoding window turn off the 3600 so only the 5600 is encoding and do the same and measure the time. Really interested if the total time to encode with the 5600 is that much different when it is encoding alone with de on or de off. It may take a little longer with DE on as there is some time overhead as each chunk initializes the encoding process, but it should not take twice as long the the fps display would suggest.
It could just be the fps display calculation if off with de on or off. just seems strange to see so much of a difference on the fps display

guest
5th November 2023, 00:48
Did he compile whole thing in delphi with added new code?

Definition of build
https://www.techopedia.com/definition/3759/build

You edited this post from what you said originally!!!

No, how could he have done that, especially when RB is such a "closed source" application.

But as soon as someone mentions that they are using SMDegrain, it has to be something to do with PD's builds, as you seem to not be interested in implementing it into RB.

I think I can safely say that anyone who's not using SMDegrain, and it's filtering possibilities, is just simply wasting their time.

guest
5th November 2023, 00:57
As far as I remember I have a base install (which gets updated automatically) and all I did was add in the couple of PD scripts to enable SMdegrian to work. It is not a full PD Build download. Regardless, the PD builds wouldn't touch the underlying program.
My point was just to say that there are a crap ton of bits flying around in all different directions that Ripbot needs to keep track of and has done so flawlessly for a very long time and even during this recent extreme power session and thought the author should be made aware of my experience. To load up hundreds of jobs and walk away with the confidence that when I return all is running as expected is something that I appreciate greatly, especially for a program that is essentially freeware.

I have no doubt that a base Ripbot install would perform just as well (and did in the past mostly once a patch or workaround was figured out), but would only be losing the speed and quality benefit that SMdegrain provides. The only real batch stability issue I experienced in the past was with the windows 11 update, some encoding servers would periodically lock and not restart, stopping an encode until I manually aborted it and restarted it. This was easily fixed by making sure the encoding server window did not get minimized in the system tray as i had it set with Windows 10, Once I kept it maximized on the desktop, that whole issue went away.

So how I understand it, you run the "vaniila" v1.27.0, with auto-updates enabled, and have "hacked" SMDegain (and dependencies) out of a PD build ??

So what about all the updated components that the PD build has, compared to the "vanilla" ?? or do you update it yourself ??

There' has been a substantial amount of component updates released recently, FYI.

But there hasn't been an RB update since 17/06/2023.

Guest
5th November 2023, 01:05
All I can say is thank goodness for ppl like Pauly Dunne for taking the time to be able to use SMDegrain with RipBot.

It's such a shame that he doesn't seem to be posting any newer builds. :(

rlev11
5th November 2023, 03:00
So how I understand it, you run the "vaniila" v1.27.0, with auto-updates enabled, and have "hacked" SMDegain (and dependencies) out of a PD build ??

So what about all the updated components that the PD build has, compared to the "vanilla" ?? or do you update it yourself ??

There' has been a substantial amount of component updates released recently, FYI.

But there hasn't been an RB update since 17/06/2023.

All I am saying is around 1 year ago, I added in to whatever ripbot version at the time what was called the PD-Lite version, which included if i remember right adding a folder under avisynth plugins and then running a couple scripts to load the avisynth and the couple dll files to get smdegrain to work. After that I have not touched anything. I got everything the way I need it and it just works. After 40 years in IT, I have learned it is not always prudent to update, just for sake of updating.

I to am very grateful for the work done to get SMdegrain to work with Ripbot. Just the speed increase in encoding is a huge deal. Whether it is ever incorporated natively into Ripbot is up to the Author and doesn't concern me. It's very easy to incorporate it into the base program and with everything else, it just works.

All I did was I wanted to let Atak know that I am in the middle of about as extreme of a stress test as one could want, and everything is just humming along going on about 180 hours full-bore non-stop. That's it, nothing else, and my last word on the subject.

guest
5th November 2023, 10:22
All I am saying is around 1 year ago, I added in to whatever ripbot version at the time what was called the PD-Lite version, which included if i remember right adding a folder under avisynth plugins and then running a couple scripts to load the avisynth and the couple dll files to get smdegrain to work. After that I have not touched anything. I got everything the way I need it and it just works. After 40 years in IT, I have learned it is not always prudent to update, just for sake of updating.

I to am very grateful for the work done to get SMdegrain to work with Ripbot. Just the speed increase in encoding is a huge deal. Whether it is ever incorporated natively into Ripbot is up to the Author and doesn't concern me. It's very easy to incorporate it into the base program and with everything else, it just works.

All I did was I wanted to let Atak know that I am in the middle of about as extreme of a stress test as one could want, and everything is just humming along going on about 180 hours full-bore non-stop. That's it, nothing else, and my last word on the subject.

Just as well you did the SMDegrain addition back then, as you would have a lot more to do, if you were to do it now, as the PD builds are not around anymore.

I would doubt that are too many users that would queue up so many jobs, and having it running non-stop for so long, I'm glad I'm not paying your energy bill.

You clearly have a very reliable setup, to be able to run that long without any or few problems, I'm sure it's not like for everyone, it's just the nature of the beast, the beast being RipBot.

Slogra
6th November 2023, 17:38
I'm using Ripbot264 1.26.0 to encode DVDs. The discs were ripped with good old DVD Decrypter in ifo mode to vob.
The vobs have an ac3 audio track, but ripbot264 does not demux it. No ac3 files are in the temp folder. And ripbot264 shows NO AUDIO audio dropdown.
Am i doing something wrong?

How can i mux the ac3 audio with the correct delay to my video?

tkwou
6th November 2023, 22:17
that is very strange, especially with the cpu usage consistent whether you are using a pc either as a client, server, or single. Try this with something short, say a 10 or 15 minute clip. run it on the 5600 with DE off and actually time how long it takes (forget about the fps display). then turn de back on with the 3600 back in the mix. Start the same encode and as soon as it starts, in the distributed encoding window turn off the 3600 so only the 5600 is encoding and do the same and measure the time. Really interested if the total time to encode with the 5600 is that much different when it is encoding alone with de on or de off. It may take a little longer with DE on as there is some time overhead as each chunk initializes the encoding process, but it should not take twice as long the the fps display would suggest.
It could just be the fps display calculation if off with de on or off. just seems strange to see so much of a difference on the fps display
So here's the results. 15 minutes of bluray encoded @ 4.0 standard AVC at CQ=18 Single Pass. Encode time only.

5600G DE=off 5:54 @60.6fps
5600G DE=on 5600G lone server 10:24 @36.5 fps
5600G DE=on 5600G +3600 server 7:16 @52.5 fps (5600G@35.2fps,3600@17.26fps)
3600 DE=off 5:25 @67.0fps (using NV3060 for OpenCL acceleration)
3600 DE=on 3600 lone server 9:07 @43.0fps
3600 DE=on 3600 + 5600G server 6:13 @68.0fps (3600@41.70fps,5600G@26.4fps)
With DE=off both CPU's are maxed out. DE=on encoding server is only running at 60% or less. Encoding server is set to Encoding Priority=normal but in the TCP Communication log, it is set to belownormal. Is this being sent by Encoding Client?

rlev11
7th November 2023, 02:36
Ok, so the time and the fps match up pretty close. I just tested on my client. my 7950x running as a single (or with others) in distributed mode is doing a test encode (hevc 10bit crf 18, smdegrain mild, pretty much what I use for most stuff) came in around 45fps. when I turned off distributed mode and ran the exact same settings, I still got around 45fps.

I'm at a complete loss to what you are seeing. Now I do not do any kind of hardware decoding. In the ripbot settings I have "CPU" set for all the default video decoders, and in the OpenCL Tab I have none in the opencl acceleration device drop down. Are you setting anything in the avisynth menu like CPU or GPU denoise?

My TCP log also shows encoding server below normal when it runs in DE mode, but I see no difference in speed, not sure what that means

rlev11
7th November 2023, 02:42
I'm using Ripbot264 1.26.0 to encode DVDs. The discs were ripped with good old DVD Decrypter in ifo mode to vob.
The vobs have an ac3 audio track, but ripbot264 does not demux it. No ac3 files are in the temp folder. And ripbot264 shows NO AUDIO audio dropdown.
Am i doing something wrong?

How can i mux the ac3 audio with the correct delay to my video?

My suggestion would be to download and run the dvd decrypter file through Makemkv which should convert it to an mkv. I think it should be able to handle that. Then see if ripbot can read the audio from the ac3 file. Ripbot for some reason may not be able to extract the ac3 out of the vob for some reason

guest
7th November 2023, 04:12
I'm using Ripbot264 1.26.0 to encode DVDs. The discs were ripped with good old DVD Decrypter in ifo mode to vob.
The vobs have an ac3 audio track, but ripbot264 does not demux it. No ac3 files are in the temp folder. And ripbot264 shows NO AUDIO audio dropdown.
Am i doing something wrong?

How can i mux the ac3 audio with the correct delay to my video?

I would suggest that you update to v1.27.0 either using the autoupdate function, OR directly from the link below.

I have found that MKVToolNix is a bit "fussy" processing .vobs, but it can be done.

But if your disk's aren't encrypted, you could try MakeMKV, as rlev11 suggested.

However, it seems that MakeMKV does rip encrypted dvd's, so you could skip the DVD Decryptor step, all together.

I would try Handbrake, it eat's it up.

Personally, I prefer to use VideoRedo to do the rip (if not encrytped), and process to .mkv, so you'd need to use DVD Decryptor beforehand.

guest
7th November 2023, 04:20
So here's the results. 15 minutes of bluray encoded @ 4.0 standard AVC at CQ=18 Single Pass. Encode time only.

5600G DE=off 5:54 @60.6fps
5600G DE=on 5600G lone server 10:24 @36.5 fps
5600G DE=on 5600G +3600 server 7:16 @52.5 fps (5600G@35.2fps,3600@17.26fps)
3600 DE=off 5:25 @67.0fps (using NV3060 for OpenCL acceleration)
3600 DE=on 3600 lone server 9:07 @43.0fps
3600 DE=on 3600 + 5600G server 6:13 @68.0fps (3600@41.70fps,5600G@26.4fps)
With DE=off both CPU's are maxed out. DE=on encoding server is only running at 60% or less. Encoding server is set to Encoding Priority=normal but in the TCP Communication log, it is set to belownormal. Is this being sent by Encoding Client?

As I said in this post :-

https://forum.doom9.org/showthread.php?p=1993389#post1993389

And as rlev11 mentioned, whether using DE or as single, with one CPU, the "speed" should be basically identical.

You must have some bottleneck in there somewhere.

Good luck figuring it out, it will be worth it in the long run.

tkwou
7th November 2023, 09:03
Ok, so the time and the fps match up pretty close. I just tested on my client. my 7950x running as a single (or with others) in distributed mode is doing a test encode (hevc 10bit crf 18, smdegrain mild, pretty much what I use for most stuff) came in around 45fps. when I turned off distributed mode and ran the exact same settings, I still got around 45fps.

I'm at a complete loss to what you are seeing. Now I do not do any kind of hardware decoding. In the ripbot settings I have "CPU" set for all the default video decoders, and in the OpenCL Tab I have none in the opencl acceleration device drop down. Are you setting anything in the avisynth menu like CPU or GPU denoise?

My TCP log also shows encoding server below normal when it runs in DE mode, but I see no difference in speed, not sure what that means
Thanks, I don't know what's happening but it's clearly happening in two separate machines in exactly the same manner. They both encoding much slower in DE mode than when running DE=off. CPU is maxed out in solo mode but DE mode doesn't run more than about 60% CPU. And as I have suspected all my other DE servers are also encoding at less than their maximal rates too. I have not used Ripbot264 much over the past 18 months but I seemed to remember that I used to get a lot higher overall encode rate with the server farm than I presently do. I have not changed any settings that I am away of. I pretty much use all default settings. I have kept Ripbot updated on all of the server farm each time before I do an encode.

guest
7th November 2023, 10:50
Thanks, I don't know what's happening but it's clearly happening in two separate machines in exactly the same manner. They both encoding much slower in DE mode than when running DE=off. CPU is maxed out in solo mode but DE mode doesn't run more than about 60% CPU. And as I have suspected all my other DE servers are also encoding at less than their maximal rates too. I have not used Ripbot264 much over the past 18 months but I seemed to remember that I used to get a lot higher overall encode rate with the server farm than I presently do. I have not changed any settings that I am away of. I pretty much use all default settings. I have kept Ripbot updated on all of the server farm each time before I do an encode.

I could get proven wrong with this, and as I haven't been using RipBot for several months I'm a little rusty.

But I recall, there were some changes made to assist DE, quite a while back, and you can edit the command line to modify how many cpu cores/threads are used, how x264 & x265 use the cpu, etc, and it can make a huge difference.

If you go into the RipBot264.ini file you will see similar to below, these thread settings change how the encodes are processed.

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

Depending on how many core/threads your CPU has, you can change the 12's & 16's up or down to suit your setup.

Now this may not be as critical on lesser Ryzen's, but the 12 & 16 core cpu's, it can change things a LOT.

I know that rlev11 spent a lot of time with these settings, when he first got his 7950X, as did I...

It would be interesting to see what your current settings are, just to compare.

Worth a shot.

Slogra
7th November 2023, 11:09
I manually checked the delay with dgindex (included with ripbot264). I opened the vob, then save as project. Turns out the delay for the audiotracks is zero :).

In my experience, Makemkv does not deal with delays correctly. But i might be wrong, or it might be fixed in current versions.

I'm not a fan of Handbrake in general. I'm always struggling to get simple settings to work. In this case i needed 50fps deinterlace but there is no good option for that.

MKVtoolnix is a bit fuzzy about delay indeed. Last time i tried to set a delay, then reopened the same mkv, the delay was gone.


My next DVD will probably have delay, so i'll check how it goes with the newer version of ripbot264. But i gues it will not process the audio either.
I'll also start with the default config file, maybe that helps. Post edit: nope, same issue. No audio demuxed using Ripbot264 v1.27.0.


Btw this thread is somewhat related. http://forum.doom9.org/showthread.php?t=185162
In a nutshell. It's about h.265 GPU and deinterlacing in Handbrake. CPU encoding turns out much better though. I did encoding tests using x.264 with various filters and x.265 without filters. I ended up using x.265 veryfast 10bits without any filters.

Slogra
7th November 2023, 20:18
Ran into a case of broken chapters. The original video does have chapters, but as you can see the chapter file contains weird text.

Job1_log.txt:
mkvmerge v51.0.0 ('I Wish') 64-bit
Error: Unknown chapter file format in 'E:\Temp\RipBot264temp\job1\chapters.txt'. It does not contain a supported chapter format.


chapters.txt:

CHAPTER01=Codec config
CHAPTER01NAME=hvcC



I found this in the MediaInfo tab of MPC-HC, which might be related to the issue:

Menu #1
ID : 3
Codec ID : text
Duration : 21 min 55 s
Language : English
Bit rate mode : CBR
Menu For : 1,2
00:00:00.000 : (01)00:00:00:000
00:00:58.000 : (02)00:00:58:000
00:05:16.000 : (03)00:05:16:000
00:10:42.000 : (04)00:10:42:000
00:15:45.000 : (05)00:15:45:000
00:21:20.000 : (06)00:21:20:000
00:21:51.000 : (07)00:21:51:000
Bit rate mode : Constant

Menu #2
00:00:00.000 : (01)00:00:00:000
00:00:58.000 : (02)00:00:58:000
00:05:16.000 : (03)00:05:16:000
00:10:42.000 : (04)00:10:42:000
00:15:45.000 : (05)00:15:45:000
00:21:20.000 : (06)00:21:20:000
00:21:51.000 : (07)00:21:51:000

tkwou
7th November 2023, 20:19
I could get proven wrong with this, and as I haven't been using RipBot for several months I'm a little rusty.

But I recall, there were some changes made to assist DE, quite a while back, and you can edit the command line to modify how many cpu cores/threads are used, how x264 & x265 use the cpu, etc, and it can make a huge difference.

If you go into the RipBot264.ini file you will see similar to below, these thread settings change how the encodes are processed.

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

Depending on how many core/threads your CPU has, you can change the 12's & 16's up or down to suit your setup.

Now this may not be as critical on lesser Ryzen's, but the 12 & 16 core cpu's, it can change things a LOT.

I know that rlev11 spent a lot of time with these settings, when he first got his 7950X, as did I...

It would be interesting to see what your current settings are, just to compare.

Worth a shot.
Thanks TDS, I was unaware that the ServerCommands needed to be adjusted. Encoding Server was only using 6 out of 12 threads. I reran the encode and it did help. Encode time dropped to 9:16 from 10:24 and the frame rate increased from 36.5 to 44.2 but the CPU was still not maxed out. I added a second server and the time dropped to 8:34 and the frame rate went up to 47.9. CPU was maxed out with both servers running. I'm still significantly below the 60.6 fps running with DE=off though. I will repeat this test with the 3600 and see if the results are different.

tkwou
8th November 2023, 00:22
I just realized it wasn't accepting the prefetch threads number I was using in the ServerCommand line. I have set it to 12 like the x264threads and now it's running much better.

5600G DE=off 5:54 @60.6fps
5600G DE=on 7:11 @56.1fps using 2 Encoding servers
3600 DE=off 5:25 @67.0fps
3600 DE=on 6:23 @62.2fps using 2 Encoding servers

So on my computers the overhead of running E client and E server does slow down the encoding rate about 7.5% compared to running in solo mode. I'm sure this is way less noticeable on 16 core machine. I'm surprised that I had to run 2 instances of ES to get the machines to max out the CPU's.

guest
8th November 2023, 01:49
I just realized it wasn't accepting the prefetch threads number I was using in the ServerCommand line. I have set it to 12 like the x264threads and now it's running much better.

5600G DE=off 5:54 @60.6fps
5600G DE=on 7:11 @56.1fps using 2 Encoding servers
3600 DE=off 5:25 @67.0fps
3600 DE=on 6:23 @62.2fps using 2 Encoding servers

So on my computers the overhead of running E client and E server does slow down the encoding rate about 7.5% compared to running in solo mode. I'm sure this is way less noticeable on 16 core machine. I'm surprised that I had to run 2 instances of ES to get the machines to max out the CPU's.

Wow, now that's a good result :)

Yep, that's another advantage of DE, you can just "load up" the cpu until it's maxed out (or more)..

You could even start experimenting with command line options in x265, that can also make some noticeable differences.

https://x265.readthedocs.io/en/master/cli.html

But x264, not so much :(

Keep tweaking....

Cheers.

rlev11
8th November 2023, 03:24
I just realized it wasn't accepting the prefetch threads number I was using in the ServerCommand line. I have set it to 12 like the x264threads and now it's running much better.

5600G DE=off 5:54 @60.6fps
5600G DE=on 7:11 @56.1fps using 2 Encoding servers
3600 DE=off 5:25 @67.0fps
3600 DE=on 6:23 @62.2fps using 2 Encoding servers

So on my computers the overhead of running E client and E server does slow down the encoding rate about 7.5% compared to running in solo mode. I'm sure this is way less noticeable on 16 core machine. I'm surprised that I had to run 2 instances of ES to get the machines to max out the CPU's.

Just curious so I understand, did you have the threads and prefetch threads as part of your command line and they were setup wrong, or was it just plain like this?
encodingserver /restart-if-no-progress /priority normal

I only use the threads and prefretch threads command lines on my 16 core ryzens so i don't have to remember to knock them down when doing 4k stuff. I lose a little on 1080 and below, but I don't have to remember to switch it when doing 4k stuff. I wouldn't think i have to manually set the threads on all my 12 cores and below servers (I just use the command above) in the server command. Might have to try setting the threads on a 12 or 8 core ryzen and see if there is a difference if you were using a bare command line to start the server. I just have a .bat file I load at startup on all my servers to load the encoding servers. My fps on the 6, 8 and 12 core servers look like they are comparable so I don't think I need to add them, but interesting none the less

And good call TDS on the threads command, would have never even thought of that....

guest
8th November 2023, 03:56
Just curious so I understand, did you have the threads and prefetch threads as part of your command line and they were setup wrong, or was it just plain like this?
encodingserver /restart-if-no-progress /priority normal

I only use the threads and prefretch threads command lines on my 16 core ryzens so i don't have to remember to knock them down when doing 4k stuff. I lose a little on 1080 and below, but I don't have to remember to switch it when doing 4k stuff. I wouldn't think i have to manually set the threads on all my 12 cores and below servers (I just use the command above) in the server command. Might have to try setting the threads on a 12 or 8 core ryzen and see if there is a difference if you were using a bare command line to start the server. I just have a .bat file I load at startup on all my servers to load the encoding servers. My fps on the 6, 8 and 12 core servers look like they are comparable so I don't think I need to add them, but interesting none the less

And good call TDS on the threads command, would have never even thought of that....

Thanks, rlev11....I was thinking of you when I took a "shot in the dark", not knowing if it would help the lesser Ryzen's, as I haven't got any to check with, my "lowest" Ryzen is a 5900X 12c.

I DID ask him about his command line, but nothing was mentioned.

So as you said, this has given you something the fiddle with...

Cheers.

tkwou
8th November 2023, 08:32
Thanks TDS and rlev11. My ServerCommand lines were all set to

"/port x000 /minimize /priority low /avisynth-prefetch-threads 0"

This must be a default setting because I've never touched them before. I looked at all my different Encoding Servers and with this setting they were all running at half the total thread count for prefetch, x264 and x265. That explains why they were encoding so slowly in the beginning. TDS mentioned that the ServerCommands needed to be adjusted to get all the threads encoding. Even with all the threads encoding and everything working much better, I still discovered that I needed to activate a second Encoding Server to get the CPU to max during encoding.

As I mentioned I haven't been doing much encoding over the last 18 months. I assume these ServerCommands must have been added during the interim. I clearly remembered that my DE used to run at a much faster pace. Now I understand why. Anyways with the correct ServerCommands in place everything seems to be running like it used to.

tkwou
8th November 2023, 18:31
Now that I know that Encoding Server requires ServerCommands to get the proper operating settings, I noticed that if you just start Encoding Server on it's own which I usually do with the server farm, it doesn't use the settings in Ripbot264.ini. It uses the original default settings with prefetch, x264 and x265 set to half of the maximum number of threads. The other thing I noticed is that the ServerCommands need to be edited in Ripbot264.ini rather than in the Settings panel within the Ripbot program. If you make the changes within the program, the prefetch variable keeps resetting to zero when you save the new settings. I'm not sure if this is intentional or not because the other variables that I changed or added stayed.

It's probably not the way Atak designed Encoding Server to be used, ie as a standalone, but I have always just been loading Encoding Server at startup on all the computers in the server farm and then putting them to sleep until they are needed. There really wasn't any reason for Ripbot264 to be running on these computers. I guess now I will need to start Ripbot264 on all these machines to ensure that the Encoding Server gets loaded with the correct settings.

guest
9th November 2023, 01:10
Now that I know that Encoding Server requires ServerCommands to get the proper operating settings, I noticed that if you just start Encoding Server on it's own which I usually do with the server farm, it doesn't use the settings in Ripbot264.ini. It uses the original default settings with prefetch, x264 and x265 set to half of the maximum number of threads. The other thing I noticed is that the ServerCommands need to be edited in Ripbot264.ini rather than in the Settings panel within the Ripbot program. If you make the changes within the program, the prefetch variable keeps resetting to zero when you save the new settings. I'm not sure if this is intentional or not because the other variables that I changed or added stayed.

It's probably not the way Atak designed Encoding Server to be used, ie as a standalone, but I have always just been loading Encoding Server at startup on all the computers in the server farm and then putting them to sleep until they are needed. There really wasn't any reason for Ripbot264 to be running on these computers. I guess now I will need to start Ripbot264 on all these machines to ensure that the Encoding Server gets loaded with the correct settings.

Yes, even tho you can just use Encoding Server on the server PC's, you lose some critical functionality.

So best practice is to have a full RipBot on each server, so that you can optimise each machine to suit its hardware.

And also, if you only use the "farm" for encoding, you could set RipBot to open on Windows startup, (sometimes this does not work) which will in turn start the encoding servers ready for the processing "signal" from the main RipBot client PC.

So until a job is started the server PC's are just idling.

As for the commandline settings, there is another way to edit it, but it still is shown in the .ini file, which is probably easier,
but you need to check another setting as well, that probably does over ride the manual edit, and that's here:- (red circle), that needs to be the same as the prefetch setting in the commandline.

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

It's good to see that you're figuring all this out, it WILL make a noticable difference. :)

Slogra
9th November 2023, 16:10
I'm using Ripbot264 1.26.0 to encode DVDs. The discs were ripped with good old DVD Decrypter in ifo mode to vob.
The vobs have an ac3 audio track, but ripbot264 does not demux it. No ac3 files are in the temp folder. And ripbot264 shows NO AUDIO audio dropdown.
Am i doing something wrong?

The missing audio seems to be related to this specific DVD.
Other DVDs do not have the problem.

Ryushin
9th November 2023, 17:04
It took four months, but my DIY 33.52kW of solar panels and 25kWh of battery is done.
Photo diary of the install: https://cloud.chrisdos.com/s/rAxMbpbDgCY6i6D

I have a huge backlog of encoding to do as I really did not have time to work on any of it other than ripping the discs.

@Pauly Dunne if you still come here, could a new build be posted? It would be best to install the new build before I add hundreds of jobs to the queue.

@Atak_Snajpera, what are your thoughts about adding SMDegrain to RB? I know I've requested it before, but I've never received a response back. At least you've made RB to be able to use custom scripts, and I'm thankful.

Time to start scanning in those covers and get crackin.

Atak_Snajpera
9th November 2023, 19:59
Now that I know that Encoding Server requires ServerCommands to get the proper operating settings, I noticed that if you just start Encoding Server on it's own which I usually do with the server farm, it doesn't use the settings in Ripbot264.ini. It uses the original default settings with prefetch, x264 and x265 set to half of the maximum number of threads. The other thing I noticed is that the ServerCommands need to be edited in Ripbot264.ini rather than in the Settings panel within the Ripbot program. If you make the changes within the program, the prefetch variable keeps resetting to zero when you save the new settings. I'm not sure if this is intentional or not because the other variables that I changed or added stayed.

It's probably not the way Atak designed Encoding Server to be used, ie as a standalone, but I have always just been loading Encoding Server at startup on all the computers in the server farm and then putting them to sleep until they are needed. There really wasn't any reason for Ripbot264 to be running on these computers. I guess now I will need to start Ripbot264 on all these machines to ensure that the Encoding Server gets loaded with the correct settings.

EncodingServer.exe is a standalone program and does not read anything from ripbot264.ini.

If you want to reduce/increase number of threads on slave pc then you must run EncodingServer.exe with extra switches via for example .bat/.cmd file.

EncodingServer.exe by default sets number of x264/x265/avisynth threads to number of detected physical CPU cores.

ServerCommands entries in ripbot264.ini are only used if you tell ripbot264.exe to also automatically activate encoding servers.

tkwou
24th November 2023, 02:14
EncodingServer.exe is a standalone program and does not read anything from ripbot264.ini.

If you want to reduce/increase number of threads on slave pc then you must run EncodingServer.exe with extra switches via for example .bat/.cmd file.

EncodingServer.exe by default sets number of x264/x265/avisynth threads to number of detected physical CPU cores.

ServerCommands entries in ripbot264.ini are only used if you tell ripbot264.exe to also automatically activate encoding servers.

Thanks Atak. Is there a list of switches available for encodingserver.exe?

guest
24th November 2023, 12:19
Thanks Atak. Is there a list of switches available for encodingserver.exe?

Yes there is :-

In "Settings", then go to "Distributed Encoding" tab, at the bottom of that page, click on the "spanner" icon, then "command line help".

The list will appear.

Ryushin
7th December 2023, 15:17
Not sure if it's just my system but the cropping viewer always shows the bottom cropping with a black bar. It's been doing this for about a year. Does not matter if it's pure RB or RB+PDs extensions.

https://i.postimg.cc/mPGzty58/Cropping-Bug.png (https://postimg.cc/mPGzty58)

rlev11
7th December 2023, 23:55
Not sure if it's just my system but the cropping viewer always shows the bottom cropping with a black bar. It's been doing this for about a year. Does not matter if it's pure RB or RB+PDs extensions.

https://i.postimg.cc/mPGzty58/Cropping-Bug.png (https://postimg.cc/mPGzty58)

Interesting, mine doesn't show any cropping black bars on stuff that should definitely be showing black bars top and bottom when I do an auto crop. To be honest, I never really paid much attention to it before. I usually just do an autocrop, then go immediately to the next tab to choose my smdegrain script, then hit ok to go back to the Encoder Settings page.

Atak_Snajpera
8th December 2023, 00:06
Not sure if it's just my system but the cropping viewer always shows the bottom cropping with a black bar. It's been doing this for about a year. Does not matter if it's pure RB or RB+PDs extensions.

https://i.postimg.cc/mPGzty58/Cropping-Bug.png (https://postimg.cc/mPGzty58)

Is this bug also present with default 100% scaling set in Windows?

Ryushin
8th December 2023, 14:33
Is this bug also present with default 100% scaling set in Windows?

Bloody hell. I've been RDPing into my virtual machine for years. Sometime in the past Windows much have changed the scaling to 175% in the virtual machine display. What total ****.

Thanks Atak, for figuring out what the issue was. I appreciate it. Still, I guess it would still be a bug due to scaling issues.

Ryushin
17th December 2023, 14:06
Hi Atak,

Would it be possible to add a column with the size of the subtitles in KB. I have it to automatically pull in English subtitles, but the Forced subtitles rarely seem to be detected from ripped discs, both MakeMKV and AnyDVD. Seeing the size of the subtitle pretty much tells me I have a Forced subtitle to set.

Thanks much.

Epitaph
19th December 2023, 18:19
I am redoing some TV Shows and having a random bug slowing down my process. This issue only presents with DVDs, not Bluray or 4K rips. I rip the DVDs to mkv. As I am batching them into RipBot264, and editing each file, the chapters of half the files will disappear... literally. The chapters may be blank when I edit it the first time. I also have edited a video (chapters button is highlighted meaning the chapters are there), then move on down the list editing other vids... if I forget a setting or something and go back and open that file a second time, the chapters button will no longer be highlighted. All the chapters will just be gone. If I navigate into the temp folder for that specific job, it will have all the chapters in the chapters-original.txt file but the chapters.txt file will be blank. My only option is to rip the chapters out of the original MKV and add them back in with MKVToolNix but it's time consuming. Any Ideas?

Ryushin
22nd December 2023, 15:16
I am redoing some TV Shows and having a random bug slowing down my process. This issue only presents with DVDs, not Bluray or 4K rips. I rip the DVDs to mkv.

My workflow is rip the DVD using your preferred DVD rip tool, since MakeMKV does not do DVD backups.

Then I've been using MakeMKV to rip the individual episodes out, label them, and then batch import them all into RB. Last I looked, all my chapters are there.

rlev11
28th December 2023, 20:46
has anyone had this crop up? On one of my servers it just started giving me a Trojan:Win32/Wacatac.B!ml on AppData\Local\Temp\SuperviseProcess.exe when I fire up the server script and quarantines it in Defender. Seems to be only with using the switch of /restart-if-no-progress in my startup script. None of my other 10 machines are doing this. They are all Windows 11 with latest OS and defender updates. Since I cannot find superviseprocess.exe, I assume it is generated on the fly when the encoding server .exe starts up with the /restart-if-no-progress switch.

Not a huge deal since the encoding server starts without the switch, but it is nice to have the server restart automatically if it does get the occasional hang and it is on the lowest powered server. Just wondering if anyone else has seen this or has an idea

Atak_Snajpera
28th December 2023, 21:07
SuperviseProcess.exe monitors if EncodingServer.exe has not hung up (NOT RESPONDING). If EncodingServer.exe for some reasons stopped processing messages then SuperviseProcess.exe will automatically restart EncodingServer.exe.
Example
https://learn.microsoft.com/en-us/windows/win32/win7appqual/images/preventinghangs-ghostwindow.gif

code i'm using
function IsAppRespondingNT(wnd: HWND): Boolean;
type TIsHungAppWindow = function(wnd:hWnd): BOOL; stdcall;
var hUser32: THandle;
IsHungAppWindow: TIsHungAppWindow;
begin

Result := True;
hUser32 := GetModuleHandle('user32.dll');
if (hUser32 > 0) then
begin
@IsHungAppWindow := GetProcAddress(hUser32, 'IsHungAppWindow');
if Assigned(IsHungAppWindow) then
begin
Result := not IsHungAppWindow(wnd);
end;
end;

end;

more info
https://learn.microsoft.com/en-us/windows/win32/win7appqual/preventing-hangs-in-windows-applications

Guest
2nd January 2024, 01:20
"We've" been waiting for over 6 months for any sort of update for "our" favorite free encoding app, and it finally arrives for 2024, but what a disappointment, I have to say.

All we got is v1.27.1, and a new FFmpeg & MKVToolNix.

What about the plethora of other important components ??

eg:- Lsmash, avisynth, x264, x265, etc, etc.

Wishbringer
2nd January 2024, 11:47
... but what a disappointment, I have to say.

All we got is v1.27.1, and a new FFmpeg & MKVToolNix.

What about the plethora of other important components ??...


You can always add and test components by yourself, putting updated files into subfolder of tools.

Ripbot is in mature stable state. It's used to "just work".
So components that are safe to update, were updated.

You can download recent versions by TDS (1.27.1 -full update... including e.g. new versions of x264 and x265 - or PD 7.1)

Just updating components - because they are updated themselves - isn't a smart way. All needs testing.
Patman mods of x264 and x265 doesn't work, because of change of progressbar.
Updating eac3to was always a reason to break BluRay-import.
(in PD 7.1 TDS updated to eac3to 3.43 - I hope import was tested well).

So just demanding isn't the right way. Providing testresults for some new builds of tools would be much better.

stasi
2nd January 2024, 16:13
(in PD 7.1 TDS updated to eac3to 3.43 - I hope import was tested well).

I use the old version. 3.43 breaks import of some m2ts files.

Guest
3rd January 2024, 01:55
I use the old version. 3.43 breaks import of some m2ts files.

That's annoying then, I thought it had been rectified.

Have you tried converting the m2ts's to mkv ?? (as they will end up as mkv's anyway)

I don't import any m2ts's, so I haven't had an issue.

Pulp Catalyst
3rd January 2024, 10:25
Hi Atak_Snajpera, thanks for the update, do we want more, of course we do, human nature we always want more for nothing....

but the fact that your still present after all this time, i want to say a big thank you and a happy new year to you sir.

the program is great and very stable and i appreciate that changing to much would potentially break that stability requiring far more time than you have to debug.

eac3to_mod
3rd January 2024, 11:13
I use the old version. 3.43 breaks import of some m2ts files. Hello stasi. Can you please describe the problem and provide a small sample that demonstrates your problem? You can use DGSplit to cut the first 100MB of the M2TS and then upload it somewhere. I'd be happy to try to resolve it for you and anticipate that it wouldn't be hard to set right. If you prefer you can continue in the eac3to thread. Thank you.

stasi
3rd January 2024, 17:38
Hello stasi. Can you please describe the problem and provide a small sample that demonstrates your problem?

I played around a little bit. The newest eac3to works, but the Playlists are in a different order. That was the only problem. In Ripbot you simple have to check which is the right one. In old eac3to it was always the first entry:

18570

18569

tebasuna51
3rd January 2024, 17:48
This is a know, and desired, behaviour of new eac3to version.
Select the desired one mpls, not always the first can be the desired, the eac3to order is by length.

Of course the 00045 is not the main movie (with the same m2ts many times), you have 3 options (00043, 0044 and 00045) most the times are for different languages, for extended or director cuts versions, or fake ones like copy protection, check the 64.m2ts and 65.m2ts to see if is part of the movie or a copy protection message.

eac3to_mod
3rd January 2024, 19:26
Thank you, stasi and tebasuna51.

The main reason we now show all the playlists is to allow demuxing of menus.

I'm considering some changes to make things more obvious. For example, move playlists with repeated M2TSs to the end of the list.

slalom
3rd January 2024, 20:06
Hi Atak,

In the past, I used to move the window program to the left of the screen, so when i pressed the edit button on a job, a new window would open to the center of the screen for that job

Now the job window opens right above the previous and I always have to move it to the right. If I leave it there i might press too hard the "Done" button and the "start' will be pressed too on the main window

And personally, it's easier for me to see the list of the jobs on the side of the screen without having to move every job window I edit to the side


Thanks in advance!

Atak_Snajpera
6th January 2024, 19:39
Hi Atak,

In the past, I used to move the window program to the left of the screen, so when i pressed the edit button on a job, a new window would open to the center of the screen for that job

Now the job window opens right above the previous and I always have to move it to the right. If I leave it there i might press too hard the "Done" button and the "start' will be pressed too on the main window

And personally, it's easier for me to see the list of the jobs on the side of the screen without having to move every job window I edit to the side


Thanks in advance!

Open RipBot264.ini and change this line with [top,right,bottom,left]

JobWindowDefaultPosition=center

eac3to_mod
8th January 2024, 16:44
I'm considering some changes to make things more obvious. Version 3.45 to be released today now follows eac3to classic behavior for playlist display, unless the -showall option is given.

nakTT
9th January 2024, 07:24
Hi, where can I download the latest version?
Thanks.:thanks:

tebasuna51
9th January 2024, 10:43
https://forum.doom9.org/showthread.php?p=1995953#post1995953

darkio
12th January 2024, 00:11
Hi Atak, please, can you update qtgcm avsi script in ripbot264 ?

Guest
12th January 2024, 01:28
Hi Atak, please, can you update qtgcm avsi script in ripbot264 ?

I know you meant QTGMC....

Yes, the included build is pretty old, v3.33, and the latest available is v3.83.

Go here, download it, rename it, and copy into the scripts folder, and see if it does what you want.

http://avisynth.nl/index.php/QTGMC

Or if you're feeling adventurous, you could try an even newer version from Dogway...

https://github.com/Dogway/Avisynth-Scripts/blob/master/MIX%20mods/QTGMC%2B.avsi

darkio
12th January 2024, 08:21
hi ftloy,
thanks for your reply.
I have already tried to replace the script but I get errors.
Maybe I need to add or update some dependent dlls.
I will check better later.

Guest
12th January 2024, 09:46
hi ftloy,
thanks for your reply.
I have already tried to replace the script but I get errors.
Maybe I need to add or update some dependent dlls.
I will check better later.

OK, :(

You may have to update these, then :-

http://avisynth.nl/index.php/QTGMC#Requirements

It seems that newer builds require Zs_RF_Shared, which RB hasn't got.

You will probably have to write a Custom script to use later builds.

slalom
13th January 2024, 15:15
Open RipBot264.ini and change this line with [top,right,bottom,left]

JobWindowDefaultPosition=center
Ok, that worked

Something else, I have a job and this file

1_audio_English_DEFAULT_DELAY4379ms.thd

audio delay is not added in the end

Superkolobok
25th January 2024, 12:12
Hi
Is it possible to make a button to rotate video instead of using this ?
video=turnleft(video)
video=turnright(video)

Thank you

Guest
26th January 2024, 11:48
Hi
Is it possible to make a button to rotate video instead of using this ?
"D:\RipBot264v1.27.1\Tools\AviSynth plugins\Scripts\Custom"
video=turnleft(video)
video=turnright(video)

Thank you

Hi, have you been using RipBot for very long ??

So, I think the easiest way to get this done, is create a Custom script with that command in it, and then you can use it whenever you need to.

add this into Notepad :-

#Custom
video=turnright(video)

save and rename it to turnright.avs, then copy it to here--(do the same for the left)

\Tools\AviSynth plugins\Scripts\Custom

then you can access it from the "Custom Scripts" drop down list, from within the Avisynth Filters for that particular Job, and it will be there everytime you need it, so there's your button :)

slalom
27th January 2024, 18:17
The "add cover" feature is broken again

Ryushin
30th January 2024, 20:10
The "add cover" feature is broken again

Yea, doesn't work for me in batch mode. There was a bug not that long ago that replaced the cover with another one that I used when creating a single job. Not sure if that bug was fixed or not since adding cover to batch mode is not working at the moment.

cypher007
14th February 2024, 02:07
noticed a odd bug with Blade Runner final cut. doing a 2 pass down to 23800mb there is a short section at 58:47 aprox were the image breaks up into lots of pixels then clears. i didnt notice it until recently so i re did the encode from the same source and its still there. its almost like when a video file isnt quite finished downloading and you try and play it.

Guest
14th February 2024, 02:14
noticed a odd bug with Blade Runner final cut. doing a 2 pass down to 23800mb there is a short section at 58:47 aprox were the image breaks up into lots of pixels then clears. i didnt notice it until recently so i re did the encode from the same source and its still there. its almost like when a video file isnt quite finished downloading and you try and play it.

So I have to ask the obvious....

Is the original OK ?

Maybe you need to acquire or rip it again.

cypher007
14th February 2024, 20:21
So I have to ask the obvious....

Is the original OK ?

Maybe you need to acquire or rip it again.

yep original fine at same point. going to try the slow profile rather than default and see if it goes away.

cypher007
15th February 2024, 19:14
that fixed it. guess it had something to do with the people walking close to the camera that are effectively like a black wipe left to right and right to left in the scene, im guessing the encoder dropped the bit rate and then got caught out by the sudden increase in detail.

might run another encode using default but turn off fast first pass see what that does.

Guest
16th February 2024, 00:54
that fixed it. guess it had something to do with the people walking close to the camera that are effectively like a black wipe left to right and right to left in the scene, I'm guessing the encoder dropped the bit rate and then got caught out by the sudden increase in detail.

might run another encode using default but turn off fast first pass see what that does.

Don't ya love it, when a hunch pays off :)

If your next test proves something, that's even better, however, I guess that's just what can happen, when doing 2 pass encodes, with those settings.

Good luck.

Guest
21st February 2024, 07:17
I am getting an interesting but annoying error with adding extra audio tracks when also editing with the segment feature.

If I add a 2nd or 3rd audio track (same original track, just different encoding format, AC3, or AAC or Flac, etc), and when encoding using DE, it gets to the last chunk, it progresses to a random %, then restarts, and it will NEVER finish :(.

It's fine with only 1 track, tho.

I have tried it on several different sample clips, just to practise the segment editing, so thank goodness it's not a full length movie.

cypher007
25th February 2024, 13:15
did the same file with default speed but slow first pass and it also worked fine.

valnar
26th February 2024, 13:40
How does one change the strength of MDegrain in batch mode?

Guest
26th February 2024, 14:00
How does one change the strength of MDegrain in batch mode?

I actually had to double check this, but it's easy...

On the batch setup page, choose the "CPU Denoise" drop down list, all 3 MDegrain are selectable.

BTW, attaching a picture (or similar) can take a LONG time to be approved, and viewable...

rlev11
26th February 2024, 14:39
How does one change the strength of MDegrain in batch mode?

While you can choose the mode in the batch window using the CPU Denoise drop down, you can't choose the level like you can for a single job. This is where a custom script comes in real handy.

To make the script, open up one of the jobs in the batch as a single item. Then in the AviSynth window, choose the CPU Denoise mode and level you want to use and hit "Edit Script"

Copy the Denoise section which will look like this for Mdegrain3 strength 200
#Denoise
Loadplugin("C:\PathToRipbot\Ripbot\Tools\AviSynth plugins\mvtools\mvtools2.dll")
super=MSuper(video,pel=2)
fv1=MAnalyse(super,isb=false,delta=1,overlap=4)
bv1=MAnalyse(super,isb=true,delta=1,overlap=4)
fv2=MAnalyse(super,isb=false,delta=2,overlap=4)
bv2=MAnalyse(super,isb=true,delta=2,overlap=4)
fv3=MAnalyse(super,isb=false,delta=3,overlap=4)
bv3=MAnalyse(super,isb=true,delta=3,overlap=4)
video=MDegrain3(video,super,bv1,fv1,bv2,fv2,bv3,fv3,thSAD=200)

Paste that into notepad and save the file into the Ripbot folder under
Tools\AviSynth plugins\Scripts\Custom

as whatever name you want , and change the file extension from .txt to .avs

I have custom scripts for all different levels of degraining along with other things

Now when you load up your batch jobs, In the Custom script drop down that should now show up, setup everything else the way you need it, choose your custom script, and start. All the jobs in that que will use that level of degraining

valnar
26th February 2024, 14:42
That's what I needed. Thanks!

Guest
26th February 2024, 14:48
That's what I needed. Thanks!

You weren't specific enough in your first post, but yeah, what rlev11 said.

Custom scripts are the way to get more out of the app, that's for sure.

But MDegrain is no match for what you can do with SMDegrain.

valnar
26th February 2024, 14:52
You weren't specific enough in your first post, but yeah, what rlev11 said.

Custom scripts are the way to get more out of the app, that's for sure.

But MDegrain is no match for what you can do with SMDegrain.

I don't see that listed in Ripbot?

Guest
26th February 2024, 15:01
I don't see that listed in Ripbot?

Exactly !!

rlev11
26th February 2024, 15:10
Back a couple years ago user Pauly Dunne did some work to integrate SMdegrain into Ripbot which you use with custom scripts. he has since gone dormant, not even sure if the download for it still is active. He had a PD-lite version that you could download and with a couple of scripts integrate SMdegrain functionality into Ripbot. SMdegrain is what I exclusively use since then. I found in my testing that it gave as good or better quality with a significant increase in encoding speed (I encode everything into 10bit x265), like 30-40% speed increase. It also allows some more powerful manipulations of the encodes, but I basically just use it as a mdegrain replacement. I have custom scripts setup for the different strengths of degraining I want and just use them.

Guest
27th February 2024, 01:46
Back a couple years ago user Pauly Dunne did some work to integrate SMdegrain into Ripbot which you use with custom scripts. he has since gone dormant, not even sure if the download for it still is active.

Dormant, you say.....

I exclusively use the RipBot PD builds, and it's currently @ build 7.5, updated a week ago.

You just need to know where to look :p

Some might say, "hidden in plain sight".

Oh look, now there's 7.6 :)

valnar
29th February 2024, 15:08
I'm using batch mode on an episodic Blu-ray disc (ripped with MakeMKV) and I have the transcoding down to a science except for one thing. I set Ripbot to only include English subtitles and it correctly parses out the 3 English subtitles from the 20 or so.

English SRT
English SRT (SDH)
English PGS

When I edit the job in batch mode before starting, Ripbot selects the last subtitle (PGS) to be the default one. I want the first one. It doesn't take me more than a few minutes to correct each job, but it would be nice if Ripbot selected the SRT instead. Can this be specified in an INI somewhere?

rlev11
29th February 2024, 22:46
Not sure if this helps or not, or if it will make a difference, but something to check.
If you open up the mkv in mkvtollnix gui, it should show which subtitle is set as the default track. If it is not the one you want, try changing it in mkvtoolnix to the one you want and see if that makes a difference. Not sure if it will, but worth a try as I'm not sure what the program logic is doing as far as ordering multiple tracks by default. Do you really need 3 different subtitle tracks?? you can unselect the ones you don't need and only enable the srt in mkvtollix and save it. My usual flow is to create the mkv, then strip out everything but what I need in mkvtoolnix, then run it through ripbot. I have never really worked with subtitles in ripbot other than rendering directly into the mkv any "forced" subs

valnar
29th February 2024, 22:57
I have all the subtitles I want. I can strip them or select which one I want in the batch window before it all starts (which is what I do). I was just hoping there was a way to change the logic that makes it prefer one subtitle over another. I end up using MKVToolnix afterwards to clean up track descriptions.

rlev11
1st March 2024, 03:24
Correct, you can choose what you want to include in the MakeMKV rip, but it is not always easy to know exactly which ones to include (like forced subs). there can be multiple English subs or (especially) forced subs entries on a disk. Sometimes on the forced subs, I'll have to mux out a couple different subs in mkvtoolnix and look at them in subtitle Edit to make sure i have the correct track to include in the transcode

Guest
1st March 2024, 03:58
Correct, you can choose what you want to include in the MakeMKV rip, but it is not always easy to know exactly which ones to include (like forced subs). there can be multiple English subs or (especially) forced subs entries on a disk. Sometimes on the forced subs, I'll have to mux out a couple different subs in mkvtoolnix and look at them in subtitle Edit to make sure i have the correct track to include in the transcode

OK, I guess it depends also on how well MakeMKV ID's each subtitle track.

With the test I just did, there was only 2 English sub's, full & forced.

But the MKVToolNix option is still a very good one, and it's generally pretty good at ID'ing the subs.

Also, gMKVExtractGUI is very good for all this, too (but only on mkv's obviously)

Doesn't Subtitle Edit have the option to process sub's directly from a disk ?? (probably not if it's protected, tho)

valnar
1st March 2024, 14:36
I'm aware of other tools that can do what I want, I was simply asking if there was a setting within Ripbot to do it. Whenever I use a piece of software such as this (or Handbrake, Staxrip, etc), and it makes decisions on its own, I question whether that is something you can control. Thanks.

slalom
1st March 2024, 20:32
Play the video to see the subs, and edit the job to select the ones you want, so easy!

valnar
1st March 2024, 20:47
Play the video to see the subs, and edit the job to select the ones you want, so easy!

Yes that's what I do. I change all the jobs in the batch screen from sub 3 to sub 1, one at a time. What I want to know is why it selects the last sub and how to change that. If it can't be done then so be it, but that's why I asked.

It is my intention to keep all 3 subs. I just want the first one to be the default. There are 176 episodes so the less manual clicking the better. This is the last thing that needs to be changed manually.

Atak_Snajpera
2nd March 2024, 01:01
I will see what can be done...
Btw. You want specific subtitles file to be set as default ,right?

Guest
2nd March 2024, 01:27
I will see what can be done...
Btw. You want specific subtitles file to be set as default ,right?

Like this, I would suggest:-

https://forum.doom9.org/showthread.php?p=1998399#post1998399

So are subtitles sorted by size or alphabetically in the "code" ?

Atak_Snajpera
2nd March 2024, 01:33
I was thinking about some keyword. If it Has specified by user text then set IT as default.

valnar
2nd March 2024, 01:42
I will see what can be done...
Btw. You want specific subtitles file to be set as default ,right?

Yes. Or position if there is more than one. Maybe settable via the INI?

My case, it's all 7 seasons of STTNG. Keeping all English subs means
SRT
SRT SDH
PGS

I want to keep them all. Why not. It's going to take me weeks to do it all anyway, so do it right. Using a light MDegrain is a killer, but necessary.

Guest
4th March 2024, 06:41
...Using a light MDegrain is a killer, but necessary.

So just out of interest's sake, what type of PC are you running ??

Of course power is king, with video encoding.

Do only have one ?

Do you use Distributed Encoding (DE) ??

You CAN use it (DE) on only one PC, in some circumstances it will increase the encoding speed/process, as well as a couple of other benefits to just using the "normal" single way.

valnar
4th March 2024, 15:28
So just out of interest's sake, what type of PC are you running ??

I have a 9th gen Intel i7-9700 (Coffee Lake) and 13th gen Intel i5-13500 (Raptor Lake). I don't use DE because I just have both boxes processing different seasons. Obviously the latter one finishes first. ;)

Separate topic: Somebody may want to let VideoHelp (https://www.videohelp.com/software/RipBot264) know that this program isn't discontinued. I think they grab the status from the first post of this thread.

Guest
5th March 2024, 00:56
I have a 9th gen Intel i7-9700 (Coffee Lake) and 13th gen Intel i5-13500 (Raptor Lake). I don't use DE because I just have both boxes processing different seasons. Obviously the latter one finishes first. ;)

Well, that's certainly using what you've got to good advantage :)

So when you're encoding, do both systems run the CPU at or close to 100% ?

As I mentioned before, you can use DE on a single PC, and there are a few advantages to doing so.

A lot more info is shown of the encoding process, all the "behind the scenes" info & processes, and you can actually stop an encode at basically any time, and 9 out of 10 times, it will resume right where you left off (to the nearest completed chunk, at least), very handy if you have a long movie to encode, and you don't want the PC running "forever".

And you can also "tweak" some encoder settings to get even more performance out of the process. :)

Separate topic: Somebody may want to let VideoHelp (https://www.videohelp.com/software/RipBot264) know that this program isn't discontinued. I think they grab the status from the first post of this thread.

That IS interesting..however, it's partially correct, as the dev doesn't update the info on page 1, and there hasn't really been a huge upgrade in quite some time, it's mainly small fixes & adjustments.

RipBot264 has so much more potential, but we've got what we've got.

And that's why I use the Pauly Dunne builds.

valnar
5th March 2024, 14:35
Well, that's certainly using what you've got to good advantage :)

So when you're encoding, do both systems run the CPU at or close to 100% ?

As I mentioned before, you can use DE on a single PC, and there are a few advantages to doing so.

Yeah both are pretty much 100%. I never setup DE before, and just starting using Ripbot because Handbrake was pissing me off with limitations, mainly how it can't add SRT subtitles unmangled. I looked for a how-to on Ripbot DE but couldn't find it, but admit I didn't read through all 1000 pages of this thread. I just bought the Raptor Lake computer last week to assist me with this, and it can be used for other things afterwards - new Home server.


That IS interesting..however, it's partially correct, as the dev doesn't update the info on page 1, and there hasn't really been a huge upgrade in quite some time, it's mainly small fixes & adjustments.

We still get auto-updates though right? A reason to let VideoHelp know is so that people don't think it's discontinued. It would be great if we could download 1.27.1 without updating from 1.26.0

avinewbie
6th March 2024, 11:06
U can try this:

https://www.youtube.com/watch?v=tftERYq94GE

good luck

Guest
6th March 2024, 11:12
U can try this:

https://www.youtube.com/watch?v=tftERYq94GE

good luck

Well done, that's the one I have, it's also included in the PD package :)

And here's another helpful "tut on Utube", lol

https://www.youtube.com/watch?v=vh7fFjb0obg

Jake802
6th March 2024, 21:30
I am trying to import an m2ts stream to convert to AVCHD and when I go to import it shows No Audio or anything when I close those boxes it says Demuxing Error. Any ideas as to what I am doing wrong? The Stream plays fine. Thanks

Ryushin
8th March 2024, 01:00
Hi Atak,

If you are going to look at subtitles that would be great. I would be nice to have the subs automatically sorted by size and display the size of the subs. I also have been having a problem with MakeMKV extracting the subs and the forced sub from the disc but not flagging the forced sub. I'm wondering if you can add a check that if a sub is 5% smaller than the other subs, to flag an alert or something in the Edit Job settings of a possible force sub. This may be getting too detailed but it can't hurt to ask.

But having the subs sorted by size (smaller to bigger) and displaying the size in the subtitle list will help a lot in pinpointing forced subs that are not configured as forced.

Thanks again for keeping RipBot running and maintaining it. Still use it almost every day..... probably for more than a decade now. LOL

Oh, and a little plug to add smdegrain to replace mdegrain2 in a future build

Edit: Just looked up my first post on this thread, over 12 years ago. Ripbot is still going strong!

valnar
8th March 2024, 16:11
I will see what can be done...
Btw. You want specific subtitles file to be set as default ,right?

Hi Atak. Was there a recent update that addressed it? I'm halfway through a show (after stopping, starting Ripbot for any updates) and now my seasons are selecting the first subtitle in batch mode, instead of the last one. That's wonderful, but I'm not sure how it happened.

slalom
8th March 2024, 21:11
Hi Atak,

If you are going to look at subtitles that would be great. I would be nice to have the subs automatically sorted by size and display the size of the subs. I also have been having a problem with MakeMKV extracting the subs and the forced sub from the disc but not flagging the forced sub. I'm wondering if you can add a check that if a sub is 5% smaller than the other subs, to flag an alert or something in the Edit Job settings of a possible force sub. This may be getting too detailed but it can't hurt to ask.

But having the subs sorted by size (smaller to bigger) and displaying the size in the subtitle list will help a lot in pinpointing forced subs that are not configured as forced.

Thanks again for keeping RipBot running and maintaining it. Still use it almost every day..... probably for more than a decade now. LOL

Oh, and a little plug to add smdegrain to replace mdegrain2 in a future build

Edit: Just looked up my first post on this thread, over 12 years ago. Ripbot is still going strong!
Why don't you look the temp folder?

Atak_Snajpera
8th March 2024, 23:15
Hi Atak. Was there a recent update that addressed it? I'm halfway through a show (after stopping, starting Ripbot for any updates) and now my seasons are selecting the first subtitle in batch mode, instead of the last one. That's wonderful, but I'm not sure how it happened.

No. I will start some coding tomorrow.

Guest
10th March 2024, 05:11
No. I will start some coding tomorrow.

It would be greatly appreciated if, while you're doing some coding, that you do something about Dolby Vision support.

With DV becoming increasingly more common & popular, it would be an awesome addition.

The only way that RB currently supports DV, is if you extract the RPU info from the DV you're wanting to process with RB, and inject it back using x265, during the encoding process.

If this isn't done, then ANY DV enabled video, will lose than it, once RB is complete. :(

As the ONLY container option available for x265 with RB is .mkv.

Some TV's won't play DV mkv's, they need to be mp4, but not any mp4...there are 2 different "type's" of MP4muxer, and one works on older TV's, and the other is suitable for newer TV's (which probably makes it seem too complicated).

Had to ask.

As for subtitles, they can be easily added or removed, outside of RB, but if you use the Segment feature, then you need to make sure that you have the subtitles that you want, BEFORE segmenting (preferably).

As for the Segment editing feature, I have only just started using this on a regular basis, and it's awesome, matching the cut video, audio & subs all at once :) Nicely done
Just a hint, if you're segmenting a 4K clip, resize it back to 1080p (temporarily), as MPC-HC does NOT play 4K footage without a lot of stalls & delays :(, once the cuts have been made, then resize back to 4K, and preferably don't use too many other filters on the first segmented run, it can havoc with the final encode.

Ryushin
10th March 2024, 22:48
Hi Atak,

Yea, Dolby Vision is coming on more than half of the 4K discs now. My standard method is to use MakeMKV to create the mkv file, I use the DDVT Tool:
https://forum.doom9.org/showthread.php?t=183479

Extract the Dolby Vision RPU.bin (crop using the DDVT Tool, using your code BTW) and save it.

Use RibBot to read in and dumux the disc, create my 4K encoded file that is cropped. Then I use DDVT Tool to Inject the RPU.bin file that was created from the original disc MakeMKV file into the RipBot created file. It works. Quite a few extra steps. This could get fairly complicate, but you've done your magic before.

Though, I'd rather see SMDegrain added to RipBot and replace MDegrain2. At this point, there is no comparison between the two and I exclusively use SMDegrain.

If the output is HD or DVD, I use Topaz Video AI to upscale to 4K if it was HD or to HD if it was DVD. Unbelievable quality, defies explanation.

Guest
11th March 2024, 00:36
IMHO, (H being humble) DoVi_Scripts is way superior to DDVT.

Extract the RPU from the source, inject it back with RB, using a fairly simple x265 command, less steps.

As for SMDegrain, I'd put money on it never being a legitimate feature in RB.

There is ONLY one way to have that feature !!!

legend
11th March 2024, 07:06
Is Ripbot support NVEnc ?

Guest
11th March 2024, 07:32
Is Ripbot support NVEnc ?

No, unfortunately, and probably never will :(

legend
11th March 2024, 09:16
@Atak_Snajpera

Any chance to add NVEnc facility on next update ?

Guest
11th March 2024, 10:22
@Atak_Snajpera

Any chance to add NVEnc facility on next update ?

I should have added that this feature has been asked for, countless times, over the years, and it's met with basically a hard NO !!

I'd love to be proven wrong, but I doubt it. :(

archiel
11th March 2024, 11:31
IMHO, (H being humble) DoVi_Scripts is way superior to DDVT.

Extract the RPU from the source, inject it back with RB, using a fairly simple x265 command, less steps.

As for SMDegrain, I'd put money on it never being a legitimate feature in RB.

There is ONLY one way to have that feature !!!

Although I have used RB for a while for lower resolutions, I am very new to 4k and have a few questions you may be able to help with.

DV & HDR10+: I watch most content on a Samsung TV, which means it cannot decode DV and for level 5 DV, the content is unwatchable. I have noticed that more recent releases tend to be level 7 or higher, which at least gives HDR10 compatibility, so on the assumption that I will (someday) have a non-Samsung device I am retaining DV (8.1) using DDVT and where the source is HDR10+, adding DV.

The process using DDVT is quick and easy, using context menus to export before RB, context menus on the output and remux with MKVToolNix. I note your view that 'DoVi_Scripts is way superior' so could you set out what the actual steps would be or point to an article or other source that provides this?

Denoise: I had not given this any attention on lower resolution sources, but I can see that some 4K material has what looks like a fine mesh layer over the picture - is this what is meant by noise and is this what MDegrain, SMDegrain are designed to deal with? I also note that where there is this 'mesh layer' output file sizes for a given CRF tend to be very much larger.

SMDegrain: I had tried using MDegrain with RB, but the estimated process time jumped from an estimated 4 hours to nearer 24 hours. Is SMDegain that much faster and if so how can I use it? I can see from earlier posts that @Atak_Snajpera is not looking to incorporate it and that while Pauly Dunne has done this - I assume that this is what 'There is ONLY one way to have that feature' is intended refer to - I cannot see how / where to access Ripbot PD. I have seen some cryptic comments but I got nowhere with these. Could you, or someone give some less cryptic, more direct help.

many thanks, Archiel

Guest
11th March 2024, 12:16
many thanks, Archiel

I will send you a PM, soon....

Ryushin
11th March 2024, 14:37
Hi Atak,

Just wanting to let you know there is still a bug with adding covers in batch mode as they are not attached in the Job. Thanks.

archiel
11th March 2024, 15:16
I will send you a PM, soon....

Received with thanks and (I think) responded - not showing in my outbox, so if nothing showing I will re-compose and re-send.

Guest
11th March 2024, 16:14
Received with thanks and (I think) responded - not showing in my outbox, so if nothing showing I will re-compose and re-send.

It's all good... you're welcome.
Good luck.

archiel
11th March 2024, 20:27
I want to run some tests on what this does and am starting with a noisy 34GB 2 hour 4k movie (mkv). My PC has an X670E chipset, Ryzen 9 7950 CPU and 64 GB RAM.

Running RB standard, HEVC, 10bit, CRF 24, this will take around 5 hours. Adding Mdegrain 2 will push this out to around 18 hours. In both cases CPU utilisation is 75-80%.

If I test with SMDegrain (SMD M MED using RB PD) then the time is still estimating 18 hours BUT CPU utilisation has dropped to 12-14%. Is this expected and is there anything I can do to boost CPU utilisation (and reduce the time)?

rlev11
11th March 2024, 22:24
First off make sure since you are using a 16 core cpu, when doing 4k you HAVE to knock down the processor or the performance will fall off a cliff. This can be done 2 ways. Only use 12 of the 16 cores by using the affinity mask setting. Add "/affinity 3FFC3FFC" to the command line to start Ripbot. The more preferred way now I believe and what I use is to use the following in the encoding server command line. The avisynth-prefetch-threads cannot be more that 12 for 4k encoding. add "/avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32" to the command line.

Only using 12-14% seems really strange to me. Are you looking at the perfomance in the encoding server window, or looking at it in task manager?

To fully max out your CPU, you may have to use distributed encoding and fire up 2 separate servers. using these commands will start up 2 servers using different ports

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

And I have found that SMdegrain will give a performance bump in FPS anywhere between 30-80% compared to the equivalent amount of degraining using just Mdegrain

rlev11
11th March 2024, 23:12
Also make sure if you are using distributed encoding for the first time and using Win11, that you leave the Encoding Server window(s) on the desktop. DO NOT minimize them to the tray. Doing so can cause some stability issues like random hangs (or it used to, I haven't tried minimizing them for quite a while??)

Guest
11th March 2024, 23:39
I'm currently using this

encodingserver /port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32
encodingserver /port 2000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32

Also, setting the "Limit to following filters only" on the Settings/Main page, needs to be unchecked.

Does archiel run a LAN (network) for DE ?? I know it can be run on a single PC, but that's a slightly different setup.

Welcome to the wonderful world of 16C Ryzen's.

rlev11
11th March 2024, 23:53
I'm currently using this

encodingserver /port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32
encodingserver /port 2000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32

Also, setting the "Limit to following filters only" on the Settings /Main page, needs to be unchecked.

Does archiel run a LAN (network) for DE ?? I know it can be run on a single PC, but that's a slightly different setup.

Welcome to the wonderful world of 16C Ryzen's.

Interesting, I will have to try the 264 and 265 threads at 32 (or full thread count) on the dual servers ones I use. Someone a while ago when we were talking about fixing 4k encodes was using half thread count on a dual server setup. I use half thread count on the machines I run dual servers on (2- 5950x and a 7900x) and full thread count on the servers I run in single mode. I would run dual on another 5950 and my main computer which is a 7950x, but I am maxed out on the 16 servers at the moment.

Guest
12th March 2024, 00:04
Interesting, I will have to try the 264 and 265 threads at 32 (or full thread count) on the dual servers ones I use. Someone a while ago when we were talking about fixing 4k encodes was using half thread count on a dual server setup. I use half thread count on the machines I run dual servers on (2- 5950x and a 7900x) and full thread count on the servers I run in single mode. I would run dual on another 5950 and my main computer which is a 7950x, but I am maxed out on the 16 servers at the moment.

Are you running this:-

Also, setting the "Limit to following filters only" on the Settings/Main page, needs to be unchecked.

I rarely use x264, so that setting is probably not needed at all.

rlev11
12th March 2024, 01:55
"Also, setting the "Limit to following filters only" on the Settings/Main page, needs to be unchecked. "

Yes, one of the first things I needed to do when I switched to smdegrain. Only other thing i have to do on the servers is run just the Libfftw3f-3 .dll script to load them, then the servers worked with smdegrain as well.
My thinking is that for the encoding server switches, no matter what the processor, set avisynth-prefetch-threads to number of actual cores with a maximum of 12 if using it for 4k. Setting it to full physical core count (above 12) seems to give a little better FPS on 1080p and below, but the difference is not that big of a difference to keep switching it depending on resolution. Then set the x264/x265 number to total threads available. Found Default settings doesn't always grab the correct parameters needed, so I just hardcode the startup parameters depending on what cpu I am using.
I just added an i7-14700 (8p and 12e cores) to the farm, and setting it to 12 prefetch and 28 x264/265 seems to be the sweet spot performance wise for everything.

Guest
12th March 2024, 02:48
Nice lot of useful info there, let's hope that archiel & other PD/SMDegrain users take note !!! (also note that the Libfftw3f-3.dll script is included in package)

So a change to the "blue team".

valnar
12th March 2024, 18:00
I downloaded the PD_Lite build which I assume has most of these settings "correct" by default, such as unchecking Limit to following filters only, etc.

I'm doing an x265 comparison with a simple light SMDegrain (SMD L MED) against an MDegrain1 and my fps results are similar. I'm not seeing a speedup with SMDegrain. This is a single computer, Intel 8 cores.

Any other suggestions?

archiel
12th March 2024, 18:15
Until moving to RB PD and adding SMDegrain I have not been using DE. I did when I started using SB, but for normal x265 720p and 1080p it was neither faster nor slower, did clutter up the desktop with unwanted stuff (encoding server windows) and from time to time one or more chunk commands would fail to complete. Moving to standalone mode was just as fast and far less problematic. So ideally I would like to be able to use SMDegrain in standalone, not DE.

For now I have reverted to DE and modified the 2 local servers to
encodingserver /port 1000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16
encodingserver /port 2000 /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 16 /x265-threads 16
as suggested.

Unfortunately all this did was bump usage to 30-35% and then chunk 15 steadfastly refused to complete. I had installed libfftw3f-3, but had not unchecked "Limit to following filters only", which logically I should have and may well be why SMDegrain was using such limited resources. As soon as the current job finishes, I will uncheck and retry in standalone mode.

Until now (without denoising) I had neither limited the main executable, nor added any specific script to limit 'avisynth-prefetch-threads' and the jobs all ran fine. So
1. If I am not limiting the prefetch threads to 12, what could / should be going wrong and how would this manfest?
2. If I do want to limit the prefetch threads, how / where could I do this in standalone for 4K - does adding "/affinity 3FFC3FFC" do this or does it just generally limit the total resources available, even when that is unnecessary?

UPDATE
Unchecked "Limit to following filters only" and now machine is running at 98% CPU and as fast with SMDegrain as it was without.

archiel
12th March 2024, 18:49
I downloaded the PD_Lite build which I assume has most of these settings "correct" by default, such as unchecking Limit to following filters only, etc.

I'm doing an x265 comparison with a simple light SMDegrain (SMD L MED) against an MDegrain1 and my fps results are similar. I'm not seeing a speedup with SMDegrain. This is a single computer, Intel 8 cores.

Any other suggestions?

Have you verified - I also downloaded lite and in my case it was checked (probably - unless I did it without thinking). What CPU utilisation are you showing.

For my setup (16 Core Ryzen) the job time has reduced from ~18-19 hours with MDegrain to about 4 hours SMDegrain, also SMD L MED.

valnar
12th March 2024, 19:15
Have you verified - I also downloaded lite and in my case it was checked (probably - unless I did it without thinking). What CPU utilisation are you showing.

For my setup (16 Core Ryzen) the job time has reduced from ~18-19 hours with MDegrain to about 4 hours SMDegrain, also SMD L MED.

My "Limit to following filters" is unchecked as it was when I downloaded the PD Lite version. My CPU is 100% on all CPU's as it was with MDegrain. I figured for the same CPU usage it was be faster? At least I was led to believe that.

Guest
13th March 2024, 00:16
My "Limit to following filters" is unchecked as it was when I downloaded the PD Lite version. My CPU is 100% on all CPU's as it was with MDegrain. I figured for the same CPU usage it was be faster? At least I was led to believe that.

Hi, so from your PM, you said that you have a 4 core (8 with HT) Intel processor.

That really doesn't bode well for anything "fast", unfortunately for you :(

About all I can suggest is maybe play around with the Prefetch setting.
Which is the "Limit" option on the right side of the Settings Main page. Maybe try 4, and upwards, see if that helps.

valnar
13th March 2024, 00:25
Hi, so from your PM, you said that you have a 4 core (8 with HT) Intel processor.

That really doesn't bode well for anything "fast", unfortunately for you :(

About all I can suggest is maybe play around with the Prefetch setting.
Which is the "Limit" option on the right side of the Settings Main page. Maybe try 4, and upwards, see if that helps.

What is the magic sauce that makes people have SMDegrain faster than MDegrain? Is it dedicating cores to AVS/SMDegrain that would be wasted on x265? Or is it in all cases?

Guest
13th March 2024, 01:02
What is the magic sauce that makes people have SMDegrain faster than MDegrain? Is it dedicating cores to AVS/SMDegrain that would be wasted on x265? Or is it in all cases?

"Magic sauce" ??

I don't want to cruel, but what can you really expect from such a small CPU ?

Most of the affective settings are when you use Distributed Encoding.

There are also some x265 commands that could improve "speed".

You just have to make the best of what you've got.

valnar
13th March 2024, 01:07
"Magic sauce" ??

I don't want to cruel, but what can you really expect from such a small CPU ?

Most of the affective settings are when you use Distributed Encoding.

There are also some x265 commands that could improve "speed".

You just have to make the best of what you've got.

I was under the impression than SMDegrain was faster. Take x265 out of it.

Guest
13th March 2024, 01:15
I was under the impression than SMDegrain was faster. Take x265 out of it.

Well, clearly the users that have commented on this, here, have fairly powerful systems, and have stated that there IS a significant improvement.

The smallest CPU is use (but not often) is an 8C/16T dual CPU system, the rest are 12C & (most are)16C systems.

I haven't used a 4C system in too long ago to remember :(

Like I said, you have to do the best with what you've got, it might be some trial & error to get the most out of your system...

rlev11
13th March 2024, 01:29
My SMdegrain speed comparisons were with Mdegrain3, I used to use 2 way-way back, I have never used 1 which may be why you are seeing comparable speeds as Mdegrain1 is not nearly as cpu intensive (but also I believe not nearly the quality of Smdegrain). So if Mdegrain1 and SMdegrain are similar speed, use SMdegrain for a much better encode quality. I can assure you that SMdegrain is considerably faster than Mdegrain3.

I run encodes through a farm with 7950x,7900x, i7-14700,5950x,5900x,i5-14500,i5-13500,3950x,3900x and they all run much faster with SMdegrain than Mdegrain3 by the margins I posted earlier.

valnar
13th March 2024, 03:06
That makes sense. thanks.

Ryushin
13th March 2024, 14:52
For those that are worried about MDegrain vs SMDegrain for speed, it does matter. The difference in output quality for MDegrain vs SMDegrain is drastic. For several years, I stuck with MDegrain2 because the results where quite good and I was very pleased with the results. It took me a year to try out PDs SMDegrain builds because I was resistant to changing something that worked so well, much less learn how a new degraining tool works. One week I had a few days to learn it and I never went back. You can search back in these threads with my extensive testing output and results. Once I found the trick that worked for me, I never went back and I only use SMDegrain at this point. There is no point to ever go back to MDegrain(2). As such I've been asking Atak to just replace MDegrain2 with SMDegrain.

Here is a link to my custom scripts, I just use CPU for degraining and no GPU and set memory to 16GB:
https://cloud.chrisdos.com/s/mdMb6ijE7q9BNJZ

The Blck8 in the scripts is for video that has a lot of dark scenes. In very rare circumstances, there is some weird blocking that can occur, and for the most part, no one notices it except me. Using Blck8 will result in the encoding taking 2-4 times longer to complete.

Not sure if my scripts are compatible with PD latest build or not.

Atak, please really, for the hundreds (could be thousands at this point) of videos I've encoded with SMDegrain, these scripts work wonders compared to MDegrain and RB could just add the Light, Medium, Heavy and people will be thrilled with the results.

valnar
13th March 2024, 15:45
For those that are worried about MDegrain vs SMDegrain for speed, it does matter. The difference in output quality for MDegrain vs SMDegrain is drastic.

It has to be pointed out that those scripts also incorporate some prefilters doing blur/sharp which may not always be desirable.

http://avisynth.nl/index.php/SMDegrain
Contrasharp bool (True/False, default False)
Contrasharp int (0-100, default -)
Contrasharpening is a technique that compares the differences between the clip before blurring (original) and after blurring (filtered), and sharpens locally with consequent strength. By default the "sharp" clip is the input, the "after" clip is the denoised clip. Alternately, a "before" clip can be specified with CClip (See Advanced).

* True: use Didée's Contrasharpening() function (ContraHD() for HD) which "Sharpens the denoised clip, but doesn't add more to any pixel than what was removed previously." In the practice you will get a slightly sharper result than the source, which is welcome.

archiel
13th March 2024, 16:40
I can already see that adding SMD it has minimal speed impact (16 core Ryzen 9 7950 X) but I still very unclear what to use and when for noisy input. Also how this changes for old B&W (1930s/1940s) and old Technicolor (1950s/1960s).

For instance if I have an old 1930s/1940s black & white movie these can be very grainy and 'more noise than signal' so starting with a 60GB file, running CRF 18 (x265, 10 bit) without SMD will only produce a marginal size reduction (it may actually increase) and even at CRF 24 the output can be around 35GB.

Can anyone point to any threads that give use-cases for SMDegrain as with PD's and Ryushin's I have some 15 SMD scripts to choose from, quite apart from whether I should change the tuning to Grain - should I? I am trying not to have to run each permutation to see what works.

valnar
13th March 2024, 16:59
@archiel

Cut one of your sample files to a few minutes using MKVToolnix and run them through a couple choices.

In my experience, sharp, modern HD film grain may benefit from solely using MDegrain; but older B&W SD film would benefit from SMDegrain a bit since the source is probably not that sharp. For x265, I think a CRF 20-21 is fine, unless your particular source is problematic (very dark, etc). YMMV

rlev11
13th March 2024, 17:24
So I basically am down to 3 scripts that I use, a light, medium, and strong. I just look at the original and make a determination of which one to use. of course clean source gets light, some grain gets medium , and something with a lot of grain like an old black and white movie gets strong.
For example the 4k disc of 12 angry men. That is very grainy. The original is about 54 gig. Re-encoding it to x265 10 bit with a crf of 18 with my heavy smdegrain script results in a 9.3 gig output and looks really good. These are the scripts I am basically down to:
Light:
#Custom
LoadPlugin("%AVISYNTHPLUGINS%\masktools\masktools2.dll")
LoadPlugin("%AVISYNTHPLUGINS%\mvtools\mvtools2.dll")
LoadPlugin("%AVISYNTHPLUGINS%\RgTools\RgTools.dll")
LoadPlugin("%AVISYNTHPLUGINS%\PD_TOOLS\MedianBlur2\MedianBlur2.dll")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\EXTOOLS\ExTools.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\LSF-PLUS\LSFplus.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\RESIZERS-PACK\Resizers Pack.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\SHARPENERS-PACK\Sharpeners Pack.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\SMDEGRAIN\SMDegrain cpu.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\Zs_RF_Shared\Zs_RF_Shared.avs")
video=SMDegrain(video,tr=3,thSAD=300,thSADC=150,contrasharp=true,prefilter=1,refinemotion=true)

Medium:
#Custom
LoadPlugin("%AVISYNTHPLUGINS%\masktools\masktools2.dll")
LoadPlugin("%AVISYNTHPLUGINS%\mvtools\mvtools2.dll")
LoadPlugin("%AVISYNTHPLUGINS%\RgTools\RgTools.dll")
LoadPlugin("%AVISYNTHPLUGINS%\PD_TOOLS\MedianBlur2\MedianBlur2.dll")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\EXTOOLS\ExTools.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\LSF-PLUS\LSFplus.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\RESIZERS-PACK\Resizers Pack.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\SHARPENERS-PACK\Sharpeners Pack.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\SMDEGRAIN\SMDegrain cpu.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\Zs_RF_Shared\Zs_RF_Shared.avs")
video=SMDegrain(video,tr=4,thSAD=400,thSADC=200,contrasharp=true,prefilter=1,refinemotion=true)

Heavy:
#Custom
LoadPlugin("%AVISYNTHPLUGINS%\masktools\masktools2.dll")
LoadPlugin("%AVISYNTHPLUGINS%\mvtools\mvtools2.dll")
LoadPlugin("%AVISYNTHPLUGINS%\RgTools\RgTools.dll")
LoadPlugin("%AVISYNTHPLUGINS%\PD_TOOLS\MedianBlur2\MedianBlur2.dll")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\EXTOOLS\ExTools.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\LSF-PLUS\LSFplus.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\RESIZERS-PACK\Resizers Pack.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\SHARPENERS-PACK\Sharpeners Pack.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\SMDEGRAIN\SMDegrain cpu.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\Zs_RF_Shared\Zs_RF_Shared.avs")
video=SMDegrain(video,tr=6,thSAD=600,thSADC=300,contrasharp=true,prefilter=2,refinemotion=true)

archiel
13th March 2024, 17:43
@valnar @rlev11 Thank you both - looks like I have most of the weekend mapped out!

Ryushin
13th March 2024, 19:22
@valnar @rlev11 Thank you both - looks like I have most of the weekend mapped out!

I have a quite a few 4K B&W movies. I use My Heavy script on them.

I've had two 4K movies, The Apartment and Highlander than I actually ran them through RB SMDegrain Heavy twice to get a very clean results. First encode was at CQ08 with SMDegrain Hard, then CQ18 SMDegrain Hard. The second encode cleaned out most of the remaining grain and the results were excellent.

slalom
13th March 2024, 20:16
I haven't used a 4C system in too long ago to remember :(
That's like half impulse! :)

archiel
13th March 2024, 20:41
I will test over the weekend, but from your experience

Does setting blksize=8 make a material difference to the output quality (I can see that it slows everything down)?

UPDATE: just finished Heavy with blksize=8, took 3 x as long to run, with almost no improvements - next step is to follow Ryushin's advice and run Heavy twice.

For 4k does leaving Prefetch at default (over 12) make any difference to the results (or does it just waste resources on the PC)?

For each of the SMD scripts SetMemoryMax(16384). Would increasing this make any difference?

rlev11
13th March 2024, 21:18
I will test over the weekend, but from your experience

Does setting blksize=8 make a material difference to the output quality (I can see that it slows everything down)?
For 4k does leaving Prefetch at default (over 12) make any difference to the results (or does it just waste resources on the PC)?
For each of the SMD scripts SetMemoryMax(16384). Would increasing this make any difference?

I can answer the 4k prefetch question. If doing 4k encodes and avi-synth-prefetch is set over 12 (either by default or hard coded) performance will literally drop off a cliff, like less than half the fps than if you have it set to 12 or below depending on your CPU. Some buffer gets overloaded and just pukes with all the extra bits in the 4k stream. It was discussed a while ago and nothing really came of it as to why. It does not change the "quality" of the encode, just the speed.

Now on 1080p and below encodes it is not a problem, and it can be set to actual physical core count if over 12, and it will perform a small bit better than if set to 12 on those lower resolution encodes.

If you are trying to squeeze every little FPS performance wise, you can create a normal .bat file for the encoding server startup and use on your 7950x 16, and then also create one just for 4k encodes that you set to 12, and just switch between them

archiel
13th March 2024, 21:48
I can answer the 4k prefetch question. If doing 4k encodes and avi-synth-prefetch is set over 12 (either by default or hard coded) performance will literally drop off a cliff, like less than half the fps than if you have it set to 12 or below depending on your CPU. Some buffer gets overloaded and just pukes with all the extra bits in the 4k stream. It was discussed a while ago and nothing really came of it as to why. It does not change the "quality" of the encode, just the speed.

Now on 1080p and below encodes it is not a problem, and it can be set to actual physical core count if over 12, and it will perform a small bit better than if set to 12 on those lower resolution encodes.

If you are trying to squeeze every little FPS performance wise, you can create a normal .bat file for the encoding server startup and use on your 7950x 16, and then also create one just for 4k encodes that you set to 12, and just switch between them

I am going to test this overnight with a 41GB 4K animation at CQ18. As I am not using DE and have AviSynthMTPrefetchLimit=0 in Ripbot264.ini, for 4K encodes presumably I can just setup and save the Job, then go back in, open avisynth, Edit Script and in #Prefetch change
video=Prefetch(video,16)
to
video=Prefetch(video,12)

rlev11
13th March 2024, 22:14
I always use DE so things are setup different, but that sounds like that should do what you need when not using DE

Ryushin
13th March 2024, 22:55
I will test over the weekend, but from your experience

Does setting blksize=8 make a material difference to the output quality (I can see that it slows everything down)?

UPDATE: just finished Heavy with blksize=8, took 3 x as long to run, with almost no improvements - next step is to follow Ryushin's advice and run Heavy twice.

For 4k does leaving Prefetch at default (over 12) make any difference to the results (or does it just waste resources on the PC)?

For each of the SMD scripts SetMemoryMax(16384). Would increasing this make any difference?

Don't use blksize=8 unless you really need it. When I say I'm really picky, I mean it. The great majority of people wouldn't use it. I only use now for those videos that have lots of dark scenes. It was noticeable when I was doing The Untouchables in 4K with the night scene on the bridge. I think I posted videos or screen shots of the problem in this forum.

I almost have gotten to the point where I only use my Medium and Heavy now. Even with most modern films coming out, there is a bit of grain, such as Top Gun Maverick. Light remove most grain, but Medium remove the last of it and it was so clean it was amazing. I can tell how good the degraining is base on the output size. A two hour 4K film will end up being around 4-8GB with good degraining. With SMDegrain I don't seem to loose any textures. MDegrain3, you totally lost textures. Also, some films are so clean, a 2.5 hour film can be 4GB in size. You keep thinking you're loosing something, but I haven't been able to see anything.

If my memory serves me correctly, Avengers Endgame source was so clean, it shrunk down to 4.5GB for a 80GB source at CQ18. When this happens, I change to CQ17 or CQ16 just to be sure.

Then you'll hit sources that have so much detail in them, that even with CQ18, and SMDegrain Medium they will balloon out to 27GB, such as Avatar.

I've come to trust SMDegrain at this point. I zoom into my sources while playing and see the grain, so I can tell then it's gone or not. If the image is stable and no grain, I know it's perfect.

With MDegrain3, I know I'm loosing detail. With SMDegrain, even with heavy, I can't find I'm loosing any detail. If anything, because of the slight sharpness increase, everything looks far better using SMDegrain.

Now, you have those purists, videophiles, that love grain. They love the look of film. For myself, that is poppycock. Grain is a distraction taking me out of the movie instead of putting myself into it. I feel the same about 24fps vs 60fps as well. Gemini Man put you into the movie. So the cleanest the movie can be, the better.

Stop worrying about encoding time (within reason) and go for quality of output.

Guest
14th March 2024, 01:22
Well, there's been some interesting discussion going on about SMDegrain, and there are so many different opinions, advice, and even samples of scripts being used (which has proven to be interesting).

rlev11's scripts are quite different to Ryushin's, and mine are different again....each to their own, I guess.

The scripts that are provided in the PD Lite package are very basic, but the full PD biuld has so many, you'd never used most of them.

We have some experienced users that swear by SMDegrain, and some newbies that have yet to really benefit from it, and have very different views on what they want as an end result.

One user, is lucky enough to have a 7950X (which among us is common, I even have one), and ATPIT, another user only has an Intel 4C/8T PC (working on a DE set up), so the settings being suggested for one, will probably be no good to the other.

There are more benefits to running DE, than just being able to use multiple PC's to speed up the process, it's a lot more "tunable", and you can also view most of the different process's being used, and also see the progress of the encodes, etc, etc.

And x265 has so many commandline options, that can speed things up, add DV rpu's, bitrates, levels....the list goes on, and this can impact the process substantially.

Guest
14th March 2024, 01:29
I am going to test this overnight with a 41GB 4K animation at CQ18. As I am not using DE and have AviSynthMTPrefetchLimit=0 in Ripbot264.ini, for 4K encodes presumably I can just setup and save the Job, then go back in, open avisynth, Edit Script and in #Prefetch change
video=Prefetch(video,16)
to
video=Prefetch(video,12)

This might work, unless it conflicts with other Prefetch settings in the script...

What you could also do, is create some Custom scripts of your own, say one you would regularly use for 4K, and one for 1080p, and add those prefetch settings, and then all you'd need to do is call that particular script from the "list", no editing.

archiel
14th March 2024, 09:51
for 4K encodes presumably I can just setup and save the Job, then go back in, open avisynth, Edit Script and in #Prefetch change
video=Prefetch(video,16)
to
video=Prefetch(video,12)

It didn't work. I encoded the same file twice, with and without the edit - both took the same time and produced the same result. When I looked into the temp directory for the job with Prefetch set to 12, Job#.avs I found
#Prefetch
video=Prefetch(video,16) rather than 12

So that I assume that means either directly editing the job#.avs for 4K encodes or creating 2 sets of SMD scripts (Light, Medium, Heavy) with and without setting Prefetch.

Guest
14th March 2024, 11:19
It didn't work. I encoded the same file twice, with and without the edit - both took the same time and produced the same result. When I looked into the temp directory for the job with Prefetch set to 12, Job#.avs I found
#Prefetch
video=Prefetch(video,16) rather than 12

So that I assume that means either directly editing the job#.avs for 4K encodes or creating 2 sets of SMD scripts (Light, Medium, Heavy) with and without setting Prefetch.

Not too surprised, actually, due to that there's already a Prefetch "line" in the script :(

So, you can set it up the way that suits you.

Just thought of something, on the Settings Main page, on the right side, there's "Limit", you could change that from 12 or 16, click Apply, and for the encode will have the Prefetch you're after, so just swap & change as you need.

archiel
14th March 2024, 11:26
Don't use blksize=8 unless you really need it.

Noted, thanks

Now, you have those purists, videophiles, that love grain. They love the look of film. For myself, that is poppycock. Grain is a distraction taking me out of the movie instead of putting myself into it. I feel the same about 24fps vs 60fps as well. Gemini Man put you into the movie. So the cleanest the movie can be, the better.

Stop worrying about encoding time (within reason) and go for quality of output.

While I appreciate your perspective, mine is slightly different. I am more concerned with noise, rather than grain. By which I mean I am trying to remove that which the film (or tv) maker did not intend to be there. Sometimes grain is the result of a deliberate choice, whether in regard to the medium used to create the images or what is done in post-processing and I am quite happy with that. What I do not want is the noise introduced by poor transfers, or even good transfers of poor quality source material.

However, and regardless of our differing objectives, I greatly appreciate your input on what can be done to achieve them.

archiel
14th March 2024, 16:46
I am getting steadily more and more confused about the 12 thread prefetch limit for 4k.

Running RB as local (not DE)
I tested encoding the same film twice at CQ20, setting video=Prefetch(video,nn) at 12 and 16 directly in avisynth, Edit Script - the 12 setting did not take and I had two identical files almost exactly the same amount of time (within 3 minutes).
I then ran the same encodes again, though at CQ18 and editing video=Prefetch(video,nn) directly in Job#.avs. The times were again virtually identical, the files identical and checking the Job#.avs the prefetch settings were unchanged. The only change i noted was that while running with prefetch = 12 CPU usage was in the 70-75% range and with prefetch=16 this was around 80-90%, peaking at 100%. However all tests I had other stuff running in the background as well.

My next test will be after changing the Limit value in the Settings page, but I cannot set this up until the current encode batch finishes.

Finally I plan to enable DE with prefetch at 12 and see if this runs any faster. :confused:

archiel
14th March 2024, 18:13
Can anyone assist with how to re-encode and decomb when the interlace option is greyed-out.

From MediaInfo the file is clearly interlaced, and RB is loading with Frame Rate 50 and showing half duration (1 hour rather than 2).
Frame rate mode : VFR
Frame rate mode : Variable
Frame rate : 50.275
Frame rate : 50.275 FPS
Original frame rate : 25.000
Original frame rate : 25.000 FPS
FrameRate_Original_Num : 25
FrameRate_Original_Den : 1
Frame count : 375872
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Interlaced
Scan type : Interlaced
Scan type, store method : SeparatedFields
ScanType_StoreMethod_FieldsPerBlock : 2
Scan type, store method : Separated fields (2 fields per block)
Scan order : TFF
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.203

Ryushin
14th March 2024, 20:30
Can anyone assist with how to re-encode and decomb when the interlace option is greyed-out.

From MediaInfo the file is clearly interlaced, and RB is loading with Frame Rate 50 and showing half duration (1 hour rather than 2).
Frame rate mode : VFR
Frame rate mode : Variable
Frame rate : 50.275
Frame rate : 50.275 FPS
Original frame rate : 25.000
Original frame rate : 25.000 FPS
FrameRate_Original_Num : 25
FrameRate_Original_Den : 1
Frame count : 375872
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Interlaced
Scan type : Interlaced
Scan type, store method : SeparatedFields
ScanType_StoreMethod_FieldsPerBlock : 2
Scan type, store method : Separated fields (2 fields per block)
Scan order : TFF
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.203

I only have a few PAL DVDs at 25ps. I have some Blu-rays at 25fps (Doctor Who and some other BBC shows), dealing with these has always been tricky. Most of the times, RibBot shows the 25fps, and I upconvert to 60fps. I've use handbrake to handle these sometimes and upconvert to 60fps using BOB and under video changing to 60FPS, then using CQ08. Then I take the output and put it into RB.

When RB detects detelecine or doing the de-interlace, it has for the most part, always been superior to Handbrake for the output.

Guest
15th March 2024, 00:09
Can anyone assist with how to re-encode and decomb when the interlace option is greyed-out.

I would suggest creating a custom script that does what RB doesn't want to do, in situations like this.

I could send you some script's that should do what you want ?

archiel
15th March 2024, 09:46
I would suggest creating a custom script that does what RB doesn't want to do, in situations like this.

I could send you some script's that should do what you want ?

That would be appreciated - I was going to revert to Handbrake - but would prefer to stay with RB if I can.

Guest
15th March 2024, 09:49
That would be appreciated - I was going to revert to Handbrake - but would prefer to stay with RB if I can.

I have sent you a PM, and I will send another regarding this, OK.

archiel
15th March 2024, 10:00
Try as I might, I cannot find any problem with encoding a 4K (46GB) file running with unlimited threads on a 7950X.

So far i have tried
NO DE
unlimited threads
editing prefetch in the job#.avs file
Setting "Use multiple processing threads = 12" in Settings, Main
With DE
Setting
/port nnnn /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32

Each encode took (almost exactly) the same time and produced (almost exactly) the same output.

The only thing left to test is under DE what if I remove /avisynth-prefetch-threads 12.

Guest
15th March 2024, 10:11
Try as I might, I cannot find any problem with encoding a 4K (46GB) file running with unlimited threads on a 7950X.

So far i have tried
NO DE
unlimited threads
editing prefetch in the job#.avs file
Setting "Use multiple processing threads = 12" in Settings, Main
With DE
Setting
/port nnnn /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32

Each encode took (almost exactly) the same time and produced (almost exactly) the same output.

The only thing left to test is under DE what if I remove /avisynth-prefetch-threads 12.

Well, like I said, there will be some trial & error, until you find the sweet spot for your setup.

archiel
15th March 2024, 15:03
Try as I might, I cannot find any problem with encoding a 4K (46GB) file running with unlimited threads on a 7950X.

So far i have tried
NO DE
unlimited threads
editing prefetch in the job#.avs file
Setting "Use multiple processing threads = 12" in Settings, Main
With DE
Setting
/port nnnn /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32

Each encode took (almost exactly) the same time and produced (almost exactly) the same output.

I previously noted that the only thing left to test is under DE was 'what if I remove /avisynth-prefetch-threads 12'.

I did, and while initially it to looked to be running faster, it crashed and while it looked as if I could shutdown RB, the only way back in was a reboot and on reboot, both RipBot264.ini and encoder.ini were blank. Retried a couple more times (just in case) - same problem.

So, at least for my single PC setup,

local only (no DE) is just as fast as DE for all encodes.
restricting prefetch makes no difference on a local only setup
restricting prefetch is absolutely necessary for 4k on a DE setup


So until I find a compelling use-case for DE over local, I have turned it off.

In summary, I have reverted to my old setup, but at least I no longer have any 'what if I tried...'s floating around.

valnar
15th March 2024, 15:14
So until I find a compelling use-case for DE over local, I have turned it off.

In summary, I have reverted to my old setup, but at least I no longer have any 'what if I tried...'s floating around.

I've found that using DE isn't quite as fast as using Ripbot separately on multiple PC's if you're running through a series. Just divide up the episodes between them. If you're doing a movie and can dedicate a few computers, then yes.

Atak_Snajpera
15th March 2024, 20:33
So until I find a compelling use-case for DE over local, I have turned it off.
Local DE may be necessary if you have CPU with high number of cores like Xeons or Threadrippers.

Guest
17th March 2024, 01:04
No. I will start some coding tomorrow.

We have an update, ppl :)

v1.27.1
Added: JobWindowDefaultPosition option in ripbot264.ini. Accepted values [center,top,right,bottom,left]
Added: Subtitle file size
Added: Filter list for DEFAULT and FORCED subtitles
Fixed: Disappearing chapters in chapter.txt file
Fixed: UI issues in segments table
Fixed: Cover art not added in batch mode

Ryushin
18th March 2024, 15:00
Thanks for the update Atak. You keep updating and maintaining RB, I so much appreciate it.

Next time you happen to want to do some coding, can ask for a batch enhancement.

I've been encountering a big time sink dealing with multiple audio channels in batch mode.

For example, the files I've been creating for local use have two streams, AC3 first and Dolby TrueHD second.

MakeMKV creates the files with the highest quality audio channel first, and the sub (core) channel second.

After adding the files in batch mode, I have to go edit each job, set the core audio to the first channel and the higher quality to the second channel. Waiting for RB to analyze the high quality channels takes 30-90 seconds each time, at least for TrueHD audio. AC3 only takes a couple of seconds.

It would be nice to have up to 3 audio settings since RB can handle three channels. Options would first to choose which audio channel to pull from and then what to do with it.

Thanks again Atak for everything.

Atak_Snajpera
18th March 2024, 17:16
Thanks for the update Atak. You keep updating and maintaining RB, I so much appreciate it.

Next time you happen to want to do some coding, can ask for a batch enhancement.

I've been encountering a big time sink dealing with multiple audio channels in batch mode.

For example, the files I've been creating for local use have two streams, AC3 first and Dolby TrueHD second.

MakeMKV creates the files with the highest quality audio channel first, and the sub (core) channel second.

After adding the files in batch mode, I have to go edit each job, set the core audio to the first channel and the higher quality to the second channel. Waiting for RB to analyze the high quality channels takes 30-90 seconds each time, at least for TrueHD audio. AC3 only takes a couple of seconds.

It would be nice to have up to 3 audio settings since RB can handle three channels. Options would first to choose which audio channel to pull from and then what to do with it.

Thanks again Atak for everything.

I will add the same filtering for audio streams next time. No eta though.

Ryushin
19th March 2024, 13:14
Well, after the latest update my custom scripts with SMDegrain are no longer working and it won't generate a info.txt file.

https://i.postimg.cc/5YQgTMcT/Custom-Script-Error.png (https://postimg.cc/5YQgTMcT)

The Script:
#Custom
SetCacheMode(1)
SetMemoryMax(16384)
LoadPlugin("%AVISYNTHPLUGINS%\masktools\masktools2.dll")
LoadPlugin("%AVISYNTHPLUGINS%\mvtools\mvtools2.dll")
LoadPlugin("%AVISYNTHPLUGINS%\RgTools\RgTools.dll")
LoadPlugin("%AVISYNTHPLUGINS%\PD_TOOLS\MedianBlur2\MedianBlur2.dll")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\EXTOOLS\ExTools.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\LSF-PLUS\LSFplus.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\RESIZERS-PACK\Resizers Pack.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\SHARPENERS-PACK\Sharpeners Pack.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\SMDEGRAIN\SMDegrain.avs")
Import("%AVISYNTHPLUGINS%\PD_TOOLS\Zs_RF_Shared\Zs_RF_Shared.avs")
Video=SMDegrain(video,tr=8,thSAD=800,thSADC=400,contrasharp=true,prefilter=2,refinemotion=true)

Not sure what was changed yet. I'm digging into it.

Ryushin
20th March 2024, 14:16
Well, after the latest update my custom scripts with SMDegrain are no longer working and it won't generate a info.txt file.

https://i.postimg.cc/5YQgTMcT/Custom-Script-Error.png (https://postimg.cc/5YQgTMcT)

Not sure what was changed yet. I'm digging into it.

I know what the problem is now. I was processing the new True Lies in 4K, and the auto crop set the top to 278 and the bottom to 276. This caused the error, changing both the the top and bottom to 276 removed the error.

I know I've had mismatched top and bottom crop numbers in the past. Not sure what has changed. Either way, it's working now.

slalom
20th March 2024, 17:57
Why are you cropping that?

rlev11
20th March 2024, 19:03
Anytime I have gotten that "won't generate a info.txt file" error, it is almost always related to cropping or aspect ration being just a bit off of a standard aspect ratio. Like you found, adjusting a crop a pixel or 2 usually fixes it it, doing a resize to a standard aspect ratio works as well. So if an autocrop comes up with a 1:2.394 or something similar and it fails (doesn't always), use the resize drop down and set it to the 2.40 setting and be done with it. Won't really notice a few vertical pixels difference in the output.

I have had this since I started usinf SMdegrain like 2+ years ago, so i don't think it is something new with a recent update. I think I have had 1 or 2 things that no matter how I sized it, SMdegrain would always throw that error. I just did those in Mdegrain3 and moved on.

Ryushin
20th March 2024, 22:00
Why are you cropping that?

I crop everything except subtitled movies, which I generate ASS subtitle files and push them into the black bars. Otherwise, I always crop.

Ryushin
20th March 2024, 22:03
Anytime I have gotten that "won't generate a info.txt file" error, it is almost always related to cropping or aspect ration being just a bit off of a standard aspect ratio. Like you found, adjusting a crop a pixel or 2 usually fixes it it, doing a resize to a standard aspect ratio works as well. So if an autocrop comes up with a 1:2.394 or something similar and it fails (doesn't always), use the resize drop down and set it to the 2.40 setting and be done with it. Won't really notice a few vertical pixels difference in the output.

I have had this since I started usinf SMdegrain like 2+ years ago, so i don't think it is something new with a recent update. I think I have had 1 or 2 things that no matter how I sized it, SMdegrain would always throw that error. I just did those in Mdegrain3 and moved on.

I don't ever remember having missing info.txt files with cropping. I've had them with broken custom scripts until I got all the parameters correct. Nice thing is doing a preview will usually show me the error.

Good to know it's probably a weird aspect ratio problem. I'll keep a look out for that from now on.

00-00
20th March 2024, 22:49
Have been using RipBot for some time with no issues, but over the last few days after using it on a new system I have had a few strange issues. The first is that some encodes complete, apparently succesfully, but when playing back/skipping through the file, the video will freeze at a seemingly random point, but the audio continues playing OK, and from that point if I try and skip forward I just get a black screen and the audio jumps back to the point where the video has frozen, so something's gone wrong with the encode. Rechecking the preview in RipBot doesn't show any apparent errors and I can skip to any point in the file preview with no problems. Also the expected filesize is smaller than I selected, ie I set the output size to 10000 mib and the output (broken) file is 8500 mib. I've checked the log and the only error I see is:

[78.9%] 138863/175933 frames, 33.74 fps, 10224.74 kbps, eta 0:18:18
x264 [warning]: specified frame type is not compatible with max B-frames
x264 [error]: slice=P but 2pass stats say B

I've no idea what this means as I'm used to Ribot just working, but running the encode again seems to fix it.

The other thing is when using the lock file size option, if I set an encode to a certain size say 3600 mib, it completes succesfully, but smaller than expected, in this case it was 3399 mib. I know it's not going to be the exact size I select, and it's not a major issue, but I've noticed that on the old system encodes seemed to be very close to the selected file size and I just wanted to understand what was happening or if something is wrong/broken with my setup.

Hopefully this makes sense! I've only had these issues since moving to a new system and haven't really had any problems before and I've gotten used to RipBot working pretty much flawlessy up till now! :thanks:

Atak_Snajpera
20th March 2024, 23:34
Make sure that new system is 100% stale. CPU and ram.

slalom
20th March 2024, 23:54
I crop everything except subtitled movies, which I generate ASS subtitle files and push them into the black bars. Otherwise, I always crop.
So you crop it to view it on a 16/9 TV. Isn't that pointless?

Guest
21st March 2024, 10:52
Make sure that new system is 100% stale. CPU and ram.

I know this is a simple typo, but it turned out to be so coincidently contradictory... everyone what's a new system to be "fresh", not stale.

I even made a "grammero" (typo) in my reply....what's should have been want's :(

Guest
21st March 2024, 10:58
So you crop it to view it on a 16/9 TV. Isn't that pointless?

I don't always agree or understand some of your posts, but this one I whole heartedly agree.

However, nobody seems to do things the same, each to their own.

Ryushin
21st March 2024, 12:29
So you crop it to view it on a 16/9 TV. Isn't that pointless?

Maybe just for a TV yea, but not for a computer, mobile devices, or some projectors. Why even encode the black bars. Seems like a waste of space in viewing the file.

There was a problem with cropping and Dolby Vision, but that has been solved.

Atak_Snajpera
21st March 2024, 15:07
I know this is a simple typo, but it turned out to be so coincidently contradictory... everyone what's a new system to be "fresh", not stale.

LOL! ofcourse I meant stable.

00-00
21st March 2024, 15:28
Make sure that new system is 100% stale. CPU and ram.

Thanks for the reply. Is there a specific test/software you recommend? I'm currently running tests using OCCT. I'll also check with memtest86 as well.

The system is running at stock btw, no overclocks.

Atak_Snajpera
21st March 2024, 16:24
Prime95 and memtest86 executed from usbstick

00-00
21st March 2024, 16:46
Prime95 and memtest86 executed from usbstick

Great, will do!

slalom
21st March 2024, 18:10
Maybe just for a TV yea, but not for a computer, mobile devices, or some projectors. Why even encode the black bars.

Obviously, black bars are not encoded or take space in the file

Guest
22nd March 2024, 00:52
Quote:
Originally Posted by Atak_Snajpera View Post
Prime95 and memtest86 executed from usbstick

Great, will do


AIDA64 has some good "stress" test's.

00-00
22nd March 2024, 15:21
AIDA64 has some good "stress" test's.

Thanks, will check that out!

Ryushin
23rd March 2024, 12:00
Obviously, black bars are not encoded or take space in the file

Of course. I only meant that the black bars consume screen real estate. We have more and more ultra widescreen monitors now as well.

Guest
25th March 2024, 10:09
I can't believe it, we have yet another auto update, ppl :)

v1.27.2
Added: Enhanced filtering for AUDIO and SUBTITLES streams

UPDATE:- Took me a little while to find the new audio feature, but it's ONLY available when using the Batch feature...

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

Ryushin
26th March 2024, 14:13
Thank you so much Atak! This will be a massive time saver for me. Much appreciated.

dipais
26th March 2024, 22:14
I will add the same filtering for audio streams next time. No eta though.

Hi Atak,

Would you please update the x265 encoder to support --auto-aq parameters as currently used by the latest version of StaxRip (https://github.com/staxrip/staxrip/issues/1241) ?.

Cheers,
D

Guest
27th March 2024, 09:36
Hi Atak,

Would you please update the x265 encoder to support --auto-aq parameters as currently used by the latest version of StaxRip (https://github.com/staxrip/staxrip/issues/1241) ?.

Cheers,
D

First post demands....not a good start :(

You can do this yourself !!

What you need to do is grab that same build of x265, from here:-

https://github.com/Patman86/x265-Mod-by-Patman/releases

(I used this one:- x265-3.5+156+14-df2e4c31e-.Mod-by-Patman.-x64-x86-64-v3-gcc13.2.0.7z)

Unpack it, and copy it to the x265 folder in RipBot264, and rename it accordingly.

Then go to the "Profiles" folder, choose hevc, open the profile .txt you want to modify, add --auto-aq, and save it to a different name .txt

But a word of warning, with the tests I did today, whilst waiting for Doom9 to come back online,
this x265 build does NOT play very well with RipBot.

It doesn't work in "normal" encoding mode, and when using Distributed Encoding, it works,
BUT the displayed progress (in the Encoding Server window) & info is displayed very differently to standard x265 builds.

You HAVE to have at least one Encoding Server window open, otherwise it appears to be doing nothing !!!!

As the Encoding Client window constantly shows "Initializing encoding process...", and only updates after a chunk has been completed.

Also, the read out in the bottom left corner also doesn't not display any useful info, until a chunk is completed.

Other than all that Patmans's build's are good to go (but I don't use them).

I have a strange sensation that Atak won't modify his app, to suit a "special" build of x265.

Wishbringer
27th March 2024, 14:35
@FTLOY
Do Patman mods of x265 now work with RB264 DE?
Last I tested them, they didn't show progress in distributed encoding because of changes of progress bar.

Guest
27th March 2024, 14:44
@FTLOY
Do Patman mods of x265 now work with RB264 DE?
Last I tested them, they didn't show progress in distributed encoding because of changes of progress bar.

I thought I had explained what it does....

They work, but very differently.

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

So while the Encoding Server is busily encoding (showing the progress down the page), the Encoding Client shows "Initializing encoding progress", and it stays like that until that chunk is completed, then onto the next chunk, and the "Pass1" progress line gets updated as the chunks are processed.

More info:- I have just been testing jpsdr's latest x265 which also has an "auto-aq" mode, however, it seems a little more "tunable" than patman's, but it still ONLY works in DE mode. which isn't a bad thing !!

archiel
27th March 2024, 15:50
Has anyone come across this situation or have a possible solution?

I am running RB and RB PD on Windows 11. After the last set of MS updates I could see ripbot264.exe in task manager, but the GUI was not loading. After running memory checks sfc /scannow, etc. without any success I looked at the process in Task Manager and could see it was in a wait-chain, waiting on a microsoft.sharepoint.exe process. Killing the process immediately allowed the GUI to load, but if there is a way to prevent this happening it would be so much better.

The microsoft.sharepoint.exe process would appear to be linked to my one-drive account, but killing it does not seem to have any adverse effect on synchronisation.

archiel
27th March 2024, 19:45
Just as I was getting a rudimentary grasp on SMDegrain for denoising, along come new options like DFTTest CPU, IQM, IQMST and IQMV. Can anyone assist on what these are / how they might be used?

Guest
27th March 2024, 23:56
Has anyone come across this situation or have a possible solution?

I am running RB and RB PD on Windows 11. After the last set of MS updates I could see ripbot264.exe in task manager, but the GUI was not loading. After running memory checks sfc /scannow, etc. without any success I looked at the process in Task Manager and could see it was in a wait-chain, waiting on a microsoft.sharepoint.exe process. Killing the process immediately allowed the GUI to load, but if there is a way to prevent this happening it would be so much better.

The microsoft.sharepoint.exe process would appear to be linked to my one-drive account, but killing it does not seem to have any adverse effect on synchronisation.

I got the latest MS updates yesterday, and as far as I can tell there's no issues, however, I don't use One Drive (I actually uninstall it), and as for Sharepoint, is that part of MS Office or 365 ???

If you don't use them, remove them, or stop it from loading on startup.

Guest
28th March 2024, 00:05
Just as I was getting a rudimentary grasp on SMDegrain for denoising, along come new options like DFTTest CPU, IQM, IQMST and IQMV. Can anyone assist on what these are / how they might be used?

Didn't you ask for more filters :)

I also mentioned some of these things in a PM !!

I would suggest that you post any SMDegrain questions on Dogway's thread:-

https://forum.doom9.org/showthread.php?p=1943152#post1943152

check here:-

https://htmlpreview.github.io/?https://github.com/Dogway/Avisynth-Scripts/blob/master/SMDegrain/SMDegrain.html

and maybe even "read" thru this:-

https://github.com/Dogway/Avisynth-Scripts/blob/master/SMDegrain/SMDegrain.avsi it's only 1380 lines.

There really isn't anyone on this thread that knows too much about SMDegrain, the 2 guy's that did, "have left the building".

Having said that, the best way for you to learn (as I did), is just do a short test on the scripts, and see what you think of the results, and go from there.

chainring
28th March 2024, 21:52
Has anyone come across this situation or have a possible solution?

I am running RB and RB PD on Windows 11. After the last set of MS updates I could see ripbot264.exe in task manager, but the GUI was not loading. After running memory checks sfc /scannow, etc. without any success I looked at the process in Task Manager and could see it was in a wait-chain, waiting on a microsoft.sharepoint.exe process. Killing the process immediately allowed the GUI to load, but if there is a way to prevent this happening it would be so much better.

The microsoft.sharepoint.exe process would appear to be linked to my one-drive account, but killing it does not seem to have any adverse effect on synchronisation.

I had that yesterday.

My main RipBot machine is headless and has nothing on it for productivity apps. The PC I work on has M365 Office installed, along with Teams. Firing up a DE server on my work PC, it was stalling. Turns out, it was microsoft.sharepoint.exe. I don't have SharePoint synchronizing anything and do everything through Teams, so I'm not sure where this is coming from.

Guest
29th March 2024, 01:10
For whatever reason, Sharepoint.exe is playing havoc with certain user's DE setup.

As I don't use either OneDrive, Teams or Sharepoint, I am not experiencing this with W11.

As Sharepoint appears to be a part of MS Office / 365 (OneDrive), a custom install might be necessary, where Sharepoint isn't installed in the first place (if possible).

But I also found these "instructions" on how to stop it from loading at startup:-

To prevent SharePoint from launching at startup, you can follow these steps:

Windows 10 and Windows 11:
* Press Win + R to open the Run dialog.
* Type msconfig and hit Enter.
* In the System Configuration window, go to the Startup tab.
* Uncheck the box next to SharePoint or any related entry that you
want to disable from starting up.
* Click Apply and then OK.
* Restart your computer to apply the changes.

Windows XP, Vista, and 7:
* Click on the Start button and select Run.
* Type msconfig into the text box and press Enter.
* In the System Configuration window, navigate to the Startup tab.
* Uncheck the programs you don’t want to load upon startup, including
SharePoint.
* Click Apply and then OK.
* Reboot your computer to see the changes take effect

and this:-

the process was running from an exe in a OneDrive directory. After uninstalling OneDrive, the MS Sharepoint process disappeared. Just leaving this here for the sake of anyone else who wants to know

Guest
29th March 2024, 11:17
@ Atak,

I have been using the Segment feature a LOT recently, and it's a game changer for me, but there is an issue.

As the audio has to be re-encoded to suit the "edit's", you can't use the "X.X copy stream", as a result, if the segmented video has either .THD, .MLP, .EAC3, or .EC3 audio, you can't retain it, it has to be one of the "type's" available.

Is there anyway that these could be added to RB ??

OR, would FLAC be a better option to AC3 or AAC ??

Atak_Snajpera
29th March 2024, 11:58
Do we have fully working THD /EAc3 encoder now in ffmpeg?

Guest
29th March 2024, 12:28
Do we have fully working THD /EAc3 encoder now in ffmpeg?

I'm sure you've heard of another little app, that is based on FFmpeg called clever FFmpeg-GUI, that does audio encoding & conversion to & from many formats, I have used it when needed.

I'm pretty confident that if ProWo can do this, you certainly should be able to incorporate similar into RB.

For example:
ffmpeg -i "input.thd" -c:a eac3 -b:a 1536k "output.eac3"
or within a container:
ffmpeg -i "input.mkv" -map 0 -c:v copy -c:a eac3 -b:a 1536k -c:s copy "output.mkv"

archiel
29th March 2024, 14:02
I had that yesterday.

My main RipBot machine is headless and has nothing on it for productivity apps. The PC I work on has M365 Office installed, along with Teams. Firing up a DE server on my work PC, it was stalling. Turns out, it was microsoft.sharepoint.exe. I don't have SharePoint synchronizing anything and do everything through Teams, so I'm not sure where this is coming from.

On further investigation the problem appears to be transitory. When One-Drive for Business was loading it was calling an instance of microsoft.sharepoint.exe (this can be seen in Task Manager - Start-Up Programs) and following the latest update of O365, the path to microsoft.sharepoint.exe was no longer valid. I am guessing that the changes to O365 are being done piecemeal as following another reboot microsoft.sharepoint.exe still shows under the start-up for One Drive, but now it is greyed-out, with no path and RB is loading normally.

chainring
29th March 2024, 22:58
@archiel,

When SharePoint was blocking the RB server, it was in Task Manger but nothing in startup; I keep that pretty clean. Like you've seen, after some M365 updates, I'm no longer seeing the blocking. Guess it's Microsoft doing their usual of pushing upgrades and fixing it with an update.

Atak_Snajpera
30th March 2024, 13:10
I'm sure you've heard of another little app, that is based on FFmpeg called clever FFmpeg-GUI, that does audio encoding & conversion to & from many formats, I have used it when needed.

I'm pretty confident that if ProWo can do this, you certainly should be able to incorporate similar into RB.

For example:
ffmpeg -i "input.thd" -c:a eac3 -b:a 1536k "output.eac3"
or within a container:
ffmpeg -i "input.mkv" -map 0 -c:v copy -c:a eac3 -b:a 1536k -c:s copy "output.mkv"

Does ffmpeg EAC3 finally support 7.1 or it is still limited to 5.1?

Guest
30th March 2024, 13:41
Does ffmpeg EAC3 finally support 7.1 or it is still limited to 5.1?

Not sure if you had a look at "clever", but it only supports it 5.1, however, I have recently started using "DoVi_Scripts", and there is a function included, that DOES encode to 7.1, it use's "Easy Audio Encoder", which does the 7.1 encoding, and obtainable from here:-

https://github.com/pabloromeo/cluste...dioEncoder.zip

For more info, that I'm sure you will find interesting, please visit:-

https://github.com/R3S3t9999/DoVi_Scripts

and/or

https://forum.doom9.org/showthread.p...16#post1997616

dipais
30th March 2024, 23:05
Hi There,

It doesn't work in "normal" encoding mode, and when using Distributed Encoding, it works, BUT the displayed progress (in the Encoding Server window) & info is displayed very differently to standard x265 builds.

You HAVE to have at least one Encoding Server window open, otherwise it appears to be doing nothing.! As the Encoding Client window constantly shows "Initializing encoding process...", and only updates after a chunk has been completed.

Also, the read out in the bottom left corner also doesn't not display any useful info, until a chunk is completed. Other than all that Patmans's build's are good to go (but I don't use them).

I have a strange sensation that Atak won't modify his app, to suit a "special" build of x265.

Thank you for your valuable explanation. Maybe Atak, or someone else with good programming skills can patch the original x265 so it can be used seamlessly in RipBot.

Does ffmpeg EAC3 finally support 7.1 or it is still limited to 5.1?

Atak, can you do the following two things:

1. Allows to manually enter custom values in "SHARPEN", although that can be circumvented via "edit script".
2. Add a working script to insert a watermark into the video.

Cheers,
D

Guest
31st March 2024, 04:40
Hi There,

Thank you for your valuable explanation. Maybe Atak, or someone else with good programming skills can patch the original x265 so it can be used seamlessly in RipBot.

Someone else does patch x265, Patman & jpsdr, but they don't work the same as the "normal" x265 with RipBot !!

You might need to post some comments on an x265 related thread, not here.

Atak, can you do the following two things:

1. Allows to manually enter custom values in "SHARPEN", although that can be circumvented via "edit script".
2. Add a working script to insert a watermark into the video.

Cheers,
D

What sort of a "watermark" do you want to insert ?? (sample maybe, but don't attach it with your reply !!!)

You need to figure out how to write your own custom scripts !!!

Guest
3rd April 2024, 09:50
@ Atak,

I have a question for you (and anyone else that might have a clue),

I have 2 almost identical servers, one is a Dell, and one is on a Supermicro board, both have a pair of E5-2697 v2 12C CPU's, one is directly connected to my 1Gb LAN, and the other is connected via EoP adapters (so it has to go thru the house wiring from a different part of the house).

When using them to help encoding, the Supermicro system, is WAY faster at initial connection & encoding speed, the Dell (on EoP), is a lot slower to connect, and the encoding speed is about a third of the SMC.

I did a Cinebench test on both systems, and the Dell is slightly faster than the SMC.

I have set up a test to connect the Dell with a LONG patch cable, to see if that actually changes the situation.

I just wanted to ask, to see if I get any suggestions....

rlev11
3rd April 2024, 13:51
@ Atak,

I have a question for you (and anyone else that might have a clue),

I have 2 almost identical servers, one is a Dell, and one is on a Supermicro board, both have a pair of E5-2697 v2 12C CPU's, one is directly connected to my 1Gb LAN, and the other is connected via EoP adapters (so it has to go thru the house wiring from a different part of the house).

When using them to help encoding, the Supermicro system, is WAY faster at initial connection & encoding speed, the Dell (on EoP), is a lot slower to connect, and the encoding speed is about a third of the SMC.

I did a Cinebench test on both systems, and the Dell is slightly faster than the SMC.

I have set up a test to connect the Dell with a LONG patch cable, to see if that actually changes the situation.

I just wanted to ask, to see if I get any suggestions....

I would run iperf3 on your systems which will test network throughput between 2 machines. this is a good site that explains how to use it:
https://www.techtarget.com/searchnetworking/tip/How-to-use-iPerf-to-measure-throughput

A direct patch cable test though would definitely tell you if it is a network issue or not. Would also try testing the dell as a standalone and do a test encode and see what the speeds are without the network in play. Should be able to narrow down if it is network or the actual machine causing the slower encoding speeds this way

Atak_Snajpera
3rd April 2024, 13:55
Is CPU usage the same during encoding? Encoding server has very usefull graph.

Guest
3rd April 2024, 14:20
Is CPU usage the same during encoding? Encoding server has very usefull graph.

I run AIDA64, and that can display CPU usage on the desktop...the SMC runs around 90% with 1 DE server on an x265 encode, and the Dell is lucky to be 40%.

I haven't tried a standalone test on the Dell, yet.

I know that 4K x265 has problems with mutli-threaded cpu's, but I don't think that's the main problem here.

My question was basically asking if network speed can affect DE ??

Will test several options in the next day or so.

rlev11
3rd April 2024, 14:41
If you find it is the powerline adapters, you may have to check which electrical phase each end is on. Not sure how they work in a full 240v environment, but in the US both ends need to be on the same 120v "phase" for them to work properly at full speed. They will usually work across a electrical phase, but at a much lower performance level. Getting into the weeds now, but you would have to figure out which breaker each end is on at the panel box, and see how they line up.

Usually, breakers directly across from each other are on the same phase, then every other breaker on each side are on the same phase. If you get to that point and need some assistance, just PM me. I have EOP adapters between my house and detached garage to use wired security cameras. I had to map out the phase between them through the main panel box plus the sub panel in the garage for them to be stable at their rated speed.

Guest
4th April 2024, 03:21
If you find it is the powerline adapters...

Well, well, well, this has been a VERY successful "test" :)

All my problems are solved, EoP adaptors are no good (to me) for DE !!!

Not sure rlev11, how you knew I was on 240v, but that doesn't matter, and I also know that the room I have the Dell(s), and the EoP adapter in, IS on a different power circuit to the "other end", and with what you suggested, it is going to be SO much easier to simply relocate the Dell(s) into the room across the hall/corridor, and connect to a switch that is already directly connected to the rest of the LAN, unfortunately I can't just run a patch cable across the carpet (trip hazard & untidy), and I'm not going to try a Wi-Fi connection, either.

So there is a chance that EoP adapters might work in a "perfect" connection, but for me, they are back to collecting dust :(, glad I didn't buy them for this purpose :)

An interesting observation, when the Dell DE server "kick's in" it "bursts" up to a high kb/s rate, then settles down to be very similar if not a little faster than the SMC (which should be the case, as the Dell was slightly faster with a Cinebench run).

:thanks:

00-00
5th April 2024, 20:47
Prime95 and memtest86 executed from usbstick

Been running tests and everything appears stable, memtest passed etc. Done multiple encodes since without issues, all checked and with no visible errors, so this might have been just one of those weird things!

With regard to the finished filesize being approximately 3-500ish+ mb smaller than the set size when using 2 pass encoding, is that anything I need to be concerned about? Just wanted to understand it, as I'm sure this never happened before, or least if it did I've never noticed it! :o

rlev11
6th April 2024, 15:26
Can someone explain the new audio preferences screen. So in the past for single entries, I would load the video, then if the audio was already in aac or ac3 I would leave it as copy stream, if it was something else i would use the drop down and choose the appropriate ac3 profile. Then the next video the audio would be set to the last used entry (this could default back to copy stream or something else automatically each time for all I care). This was the same when I did a batch encode as well, I would input the batch entries, then either leave the audio at copy stream or change it if needed in the drop down. I only ever have 1 audio stream so I was not concerned with setting up multiple streams.

Now with the audio preferences settings screen, I get that I can setup globally the stream order, copy stream-ac3-whatever.... and it appears that the encoding profile priority order audio is what defaults with the single video add screen which is just fine, but what I am confused is when I go into batch encoding. I assume when I load up a batch, I have to go into the audio priority order and move (cut/paste) something else like ac3 to the top of that list if I need to do an audio convert. Once the batch is done setting up, I then need to go back into the preferences screen and move copy stream back to the top each time I do this or copy stream is no longer the default doing a single encode.

Does this make sense with what I am asking, and is this the way it needs to be now. I just want to make sure I am not missing something here

My thinking is the audio preferences screen is great for setting up what you want as all the defaults, but we still need a drop down audio profile selector in batch encoding like we do with a single encode

Atak_Snajpera
6th April 2024, 18:33
Can someone explain the new audio preferences screen. So in the past for single entries, I would load the video, then if the audio was already in aac or ac3 I would leave it as copy stream, if it was something else i would use the drop down and choose the appropriate ac3 profile. Then the next video the audio would be set to the last used entry (this could default back to copy stream or something else automatically each time for all I care). This was the same when I did a batch encode as well, I would input the batch entries, then either leave the audio at copy stream or change it if needed in the drop down. I only ever have 1 audio stream so I was not concerned with setting up multiple streams.

Now with the audio preferences settings screen, I get that I can setup globally the stream order, copy stream-ac3-whatever.... and it appears that the encoding profile priority order audio is what defaults with the single video add screen which is just fine, but what I am confused is when I go into batch encoding. I assume when I load up a batch, I have to go into the audio priority order and move (cut/paste) something else like ac3 to the top of that list if I need to do an audio convert. Once the batch is done setting up, I then need to go back into the preferences screen and move copy stream back to the top each time I do this or copy stream is no longer the default doing a single encode.

Does this make sense with what I am asking, and is this the way it needs to be now. I just want to make sure I am not missing something here

My thinking is the audio preferences screen is great for setting up what you want as all the defaults, but we still need a drop down audio profile selector in batch encoding like we do with a single encode

ok...

Guest
7th April 2024, 01:07
Can someone explain the new audio preferences screen.

My thinking is the audio preferences screen is great for setting up what you want as all the defaults,
but we still need a drop down audio profile selector in batch encoding like we do with a single encode

I have to agree, it seems complicated, but it probably isn't, I have to say tho, I don't use Batch very often, so I haven't played around with how it works.

But I would have thought that the single mode setup would have been all that was needed for Batch...but that's the way Atak wanted to go..
after all, it's his baby and he does (and doesn't) do what he thinks is usable.

And another thing, on the subject of audio, is there a way to write a Custom audio script ?

In my experience with RB, if you add any audio calls in a Custom script, (as the Custom scripts are all about video settings)
they don't seem to have any affect...is it that the way RB is written that video is "in a different location" to the audio, and that's what the problem is (not sure if I'm explaining that properly).

Anyway, we get what we get....

valnar
7th April 2024, 02:12
In the spirit of requesting audio features, I'd love another audio option that was similar to Copy audio stream for DTS but it just keeps the core. eac3to -core option does this. It's for those rips that have DTS-HD and keeping only a regular DTS 5.1 is still a reduction in file size, but no need to recompress. I (manually) use this option whenever I can since any modern device supports DTS and I can't hear the difference anyway.

Guest
7th April 2024, 02:27
In the spirit of requesting audio features, I'd love another audio option that was similar to Copy audio stream for DTS but it just keeps the core. eac3to -core option does this. It's for those rips that have DTS-HD and keeping only a regular DTS 5.1 is still a reduction in file size, but no need to recompress. I (manually) use this option whenever I can since any modern device supports DTS and I can't hear the difference anyway.

Well, let's continue down the audio path..

As I mentioned in this post:-

https://forum.doom9.org/showthread.php?p=1999754#post1999754

It would be nice to have more support for THD, and conversion to e-ac3, even if it's only 5.1, even tho there IS a way to create a 7.1 e-ac3/ec3 file, now.

Having said that, I can't use any 7.1 audio :(

stryker412
13th April 2024, 14:22
FYI, I grabbed 1.26.0 last night from Atak's link in the first post. Today a virus scan picked up a Trojan in D:\Tools\RipBot264v1.26.0\Tools\ModifyChapters\ModifyChapters.exe

Detected: Trojan:Win32/Wacatac.B!ml

Guest
13th April 2024, 14:47
FYI, I grabbed 1.26.0 last night from Atak's link in the first post. Today a virus scan picked up a Trojan in D:\Tools\RipBot264v1.26.0\Tools\ModifyChapters\ModifyChapters.exe

Detected: Trojan:Win32/Wacatac.B!ml

It is probably a false negative (or positive), and it might be because that version is VERY old, and it might be the trigger, you need to update it ASAP, and accept any "virus's" in your anti virus app.

I wish Atak would update the link to v1.27.2 !!!

LigH
13th April 2024, 14:47
Certainly not the first "False Positive".

@FTLOY:
"False positive" = reports a detection but is in fact harmless
"False negative" = reports no detection but missed a threat

stryker412
13th April 2024, 14:51
Certainly not the first "False Positive".

@FTLOY:
"False positive" = reports a detection but is in fact harmless
"False negative" = reports no detection but missed a threat

Not so sure it was a false positive.

https://www.virustotal.com/gui/file/f172c6feab08117b283ed6aa6562ec0402ead8704a1618e988d64cf5bd73f951/detection

LigH
13th April 2024, 14:53
If a virus is reported, then the report is "positive" (no matter if false or true).
If no virus is reported, then the report is "negative" (no matter if false or true).

The more I read "Generic", the more confident I am that it is false...

Guest
17th April 2024, 06:20
I'm a couple of days late (haven't been checking), but we have:-

Core (2024-04-14)
FFmpeg (from 6.1.1 to 7.0.0)
opus-tools (from 0.2.0 to 0.2.34) not really sure who uses Opus.
x264 (3190)
x265 (3.6+2)

Changelog:-

v1.27.2
Added: Enhanced filtering for AUDIO and SUBTITLES streams
Added: Multithreaded optimizations to speed up "probing" and "gathering information" stages
Fixed: Audio was not extracted from some WMV

PS:- if you thought the previous audio settings were complex, wait 'til you see what's been changed, now...

Atak_Snajpera
17th April 2024, 10:32
Works fine in win7. Does IT work in win10 at least?

Ryushin
17th April 2024, 15:54
So I have been trying to understand how all this works, WAY too complicated AFAIC, but I noticed this phenomenon when clicking on the any of the 6 settings sections...

It almost seems like it's supposed to be an info pop up, or something ?!?!?

The info pop up was not showing the text for me under remote desktop. I had to connect to the console of my VM to actually see what was written there.

Baked_Bean
17th April 2024, 19:15
Hi, could anyone point me to post with an explanation of the new audio settings or perhaps could create one. Thank you.

rlev11
17th April 2024, 21:59
My windows 11 box is showing the popups in the audio preferences screen after I click on Create/Update button for a profile. all the boxes when clicked in will show the popup. Maybe video card/driver issue. I run an Radeon 6600XT on my client machine.

I think I have figured out the audio preferences for Batch encoding now for how I want it setup for myself. Although I only ever really use 3 stripped down profiles. An Xcopy Stream, a AC3 5.1 and an AC3 2.0. I just created the 3 profiles I needed that only have the 1 audio stream in the format I need and just removed everything else as I don't need anything with subtitles or more than 1 audio stream, and then removed the built in ones after I saved off the .ini files which are in profiles\preferences.

So I ended up with these files now only existing in profiles\preferences:

XCOPY Stream.ini
[Preferences]
Audio1FilterList=DEFAULT;;
Audio2FilterList=;
Audio3FilterList=;
Audio1EncodingProfilePriorityList=x.x|C O P Y S T R E A M;
Audio2EncodingProfilePriorityList=
Audio3EncodingProfilePriorityList=
SubtitlesFilterList=
SubtitlesDefaultFilterList=;
SubtitlesForcedFilterList=;

AC3 2.0.ini
[Preferences]
Audio1FilterList=DEFAULT;;
Audio2FilterList=;
Audio3FilterList=;
Audio1EncodingProfilePriorityList=2.0|FFMPEG AC3|256 kbps;
Audio2EncodingProfilePriorityList=
Audio3EncodingProfilePriorityList=
SubtitlesFilterList=
SubtitlesDefaultFilterList=;
SubtitlesForcedFilterList=;

AC3 5.1.ini
[Preferences]
Audio1FilterList=DEFAULT;;
Audio2FilterList=;
Audio3FilterList=;
Audio1EncodingProfilePriorityList=5.1|FFMPEG AC3|640 kbps;;
Audio2EncodingProfilePriorityList=
Audio3EncodingProfilePriorityList=
SubtitlesFilterList=
SubtitlesDefaultFilterList=;
SubtitlesForcedFilterList=;

rlev11
17th April 2024, 22:35
Although now once I closed Ripbot and opened it again, the 3 original .ini files that I removed from profiles\preferences have now magically reappeared. Have to figure out where/why they are being regenerated from on program start

Atak_Snajpera
17th April 2024, 22:44
Just in case if you user would like to check default values.

Btw.
Audio1FilterList=DEFAULT
Is kind of risky Because if audio file does not have this text then you get NO AUDIO.

Guest
18th April 2024, 01:49
My windows 11 box is showing the popups in the audio preferences screen after I click on Create/Update button for a profile.

Well, that is interesting, I run nVidia's on most of mine, although I do have 1 that has an AMD R480, but it still doesn't show the pop up's.

However, I tested on W8.1 & W10, and it worked :)

I have however discovered a work around for W11 (more about that later).

Guest
18th April 2024, 01:53
Although now once I closed Ripbot and opened it again, the 3 original .ini files that I removed from profiles\preferences have now magically reappeared. Have to figure out where/why they are being regenerated from on program start

Yep, what a PITA....

Are you creating your own custom preferences ??

Then it doesn't matter what get's regenerated on every RB startup !!

Not sure why Atak is going down this path, there are already "newbies" asking how it all works.

Too many complicated options being added that aren't necessary IMO.

Might be better to stay on either 1.27.1. or the first 1.27.2, this one (for the time being) sux.

Guest
18th April 2024, 02:00
I tried different compatibility settings, with no success.

I ended up trying a "color" setting in RipBot's.exe, and that did the trick.

https://i.imgur.com/6fs3zV4.jpg

I am yet to do any encoding jobs with this latest build, but if it does make it trickier adding audio & subtitles, I'll just process video, and add the others later.

We'll see....

As history has shown, Atak is VERY good at adding all these "option's" with NO explanation, and "we" have to figure it out for ourselves :(

rlev11
18th April 2024, 02:14
Just in case if you user would like to check default values.

Btw.
Audio1FilterList=DEFAULT
Is kind of risky Because if audio file does not have this text then you get NO AUDIO.

Ok, thanks, so just to be clear that should always remain at least at the default of:
Audio1FilterList=DEFAULT;English;1_audio;

I updated my custom scripts back to that


Yep, what a PITA....

Are you creating your own custom preferences ??

Then it doesn't matter what get's regenerated on every RB startup !!

Not sure why Atak is going down this path, there are already "newbies" asking how it all works.

Too many complicated options being added that aren't necessary IMO.


I am creating my own custom preferences as I said I really only need 3 audio choices with none of the extra settings. I was just trying to eliminate the extra clutter of having the originals in the drop down. It really isn't a big deal if they are there, single mode has a bunch of audio profiles I never used and I never gave that a second thought. It's just that everything else is customizable, I just want to see if i can figure out where it is regenerating the 3 originals from.

I think we need to just work through it and figure it out although it would be nice if we got a write up of what Atak is thinking how this all works and how to adjust the workflow to each users preferences. It does seem daunting, but it does add a lot of customization's in batch mode once we figure out how to get things setup right.

I am sure that I am in the minority where I only EVER do 1 audio stream, and I NEVER add a subtitle file into the mkv container. The only subtitles I ever do is foreign language forced subs that I render (burn in) directly into the video stream

Atak_Snajpera
18th April 2024, 08:22
If you look at the dates of EncodingClient.exe and EncodingServer.exe files then you will realize that I haven't touched those for a year!

Atak_Snajpera
18th April 2024, 08:32
Ok, thanks, so just to be clear that should always remain at least at the default of:
Audio1FilterList=DEFAULT;English;1_audio;

I updated my custom scripts back to that




I am creating my own custom preferences as I said I really only need 3 audio choices with none of the extra settings. I was just trying to eliminate the extra clutter of having the originals in the drop down. It really isn't a big deal if they are there, single mode has a bunch of audio profiles I never used and I never gave that a second thought. It's just that everything else is customizable, I just want to see if i can figure out where it is regenerating the 3 originals from.

I think we need to just work through it and figure it out although it would be nice if we got a write up of what Atak is thinking how this all works and how to adjust the workflow to each users preferences. It does seem daunting, but it does add a lot of customization's in batch mode once we figure out how to get things setup right.

I am sure that I am in the minority where I only EVER do 1 audio stream, and I NEVER add a subtitle file into the mkv container. The only subtitles I ever do is foreign language forced subs that I render (burn in) directly into the video stream

Here is a good example

German language was originally muxed as Default
https://i.postimg.cc/qvWMCxnv/Untitled-1.png

And the same but Default flag was missing
https://i.postimg.cc/7L7P1JMM/Untitled-2.png

That's why I used this order
DEFAULT
English
1_audio

If you leave only DEFAULT text then on second file NO AUDIO will selected.

Atak_Snajpera
18th April 2024, 10:25
Tool tips work fine in Win11
https://i.postimg.cc/G35wcpxr/Untitled-1.png

Ryushin
19th April 2024, 11:57
Tool tips work fine in Win11

Running Win10 on my VM. Changing the Remote Desktop color depth from 8-32 bit didn't result in being able to see the text inside the tool tip.

The only way I can see the text in the tool tip is to connect to the VMs console like you have done with the VMWare Workstation. Please try using RDP to the VM to see if the text shows up in the VM.

rlev11
20th April 2024, 14:28
Just checked and Tool tips work on all 13 of my Win11 boxes (not that they would need to...) which are a mixture of AMD,Nvidia, and Intel graphics. I connect to them using RustDesk for my remote desktop program and have no issues seeing them.

Guest
20th April 2024, 14:53
Just checked and Tool tips work on all 13 of my Win11 boxes (not that they would need to...) which are a mixture of AMD,Nvidia, and Intel graphics. I connect to them using RustDesk for my remote desktop program and have no issues seeing them.

Well, it seems like there is certainly some inconsistency here...

Out of my 6 W11 boxes, NONE show the tool tips, unless I do the "compatibility" thing, my laptop does (W11), but W8.1 & W10 boxes do.

It's also a bit disappointing that out of the many, many users of RipBot, are not responding to this :(

Mind you, maybe many users aren't too interested in these preferences, I mean, once they're set, that's it, no need for the tool tips...you can easily edit the preferences in the new preferences folder under profiles.

I have to add, that it's a shame that there's nowhere near the amount of users posting here these days, back in the day, there were many different users posting comments, but currently (12 - 18 months at least), it's really only been 2 or 3 regulars.

Some have vanished altogether, some have changed to different app's, or maybe they've just lost interest, who knows.

Guest
22nd April 2024, 05:38
OK, I have most thing's sorted, now, but to get the tool tips I have to do the compatibility setting (below).

I have created a 5.1(AC3).ini, which works for 95% of what I want, but can .THD or .FLAC be added, and if so, how ?

What would the Codec Priority be ?? or is COPY the only option ??

As I have commented on before, when using the Segment function, there's no way to retain any original .THD or .DTSxx audio.

And while I'm at it, why still no E-AC3, even 5.1 would be better than nothing.

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

Atak_Snajpera
22nd April 2024, 13:38
How did you force classic theme in win11. Looks much more readable.

Guest
22nd April 2024, 13:57
How did you force classic theme in win11. Looks much more readable.

C'mon man, don't you read any of the posts ??

It's the first line in my post below yours !!!

https://forum.doom9.org/showthread.php?p=2000579#post2000579

It also helps display the tool tips for those 4 little buttons in EncodingClient.exe

Guest
25th April 2024, 03:58
So, more significant changes to the audio & subtitles preference's...

I'm lost :confused:

rlev11
25th April 2024, 18:56
So I think I have the new audio profiles stuff figured out. took me a while of head scratching until the light bulb went off and now it makes sense.
Lets take my workflow that I use as far as batch audio encoding. If it is in AC3,AAC, or Eac3, I want to to an xcopy stream and leave it alone. Basically anything else, I want to convert it to AC3, either 5.1 or 2.1 (don't care about 7.1)

So go into the preferences screen, and choose [AUTO] 7.1 or 5.1 or 2.0 in the lower drop down and hit edit. Under Audio1 the top box leave alone with the 3 entries. in the middle box the drop down that defaults at .aac hit edit and I will remove everything but 5.1 and 2.0 copy stream and hit save.
Then I will choose .ac3 and .eac3 and do the same thing leaving the 2 xcopy streams there (leaving higher channel ones at the top of the list).

So for all the other extensions in the drop down box, I will remove everything BUT 5.1 AC3 and 2.0 AC3

So when I am done, for any batch job I only have to choose the "[AUTO] 7.1 or 5.1 or 2.0" profile (can this or any other one in particular be set as the default somewhere???). With this setup it should (have yet to really test it but I think it is right) depending on the audio type encode in the correct number of channels as a copy stream, or do the conversion to the correct number of channels in AC3 automatically.

Atak, am I correct now in what you thought process is for this??? Now that I think I have it figured out, it is VERY powerful in how to get it customized to each persons preferences, just have to know the process. I also no longer have to do batches in groups of similar audio formats, I can load up a mixture of ac3,aac,dts,flac, whatever all in the same batch job, and the audio should come out the way I want it on each individual encode of the batch

Atak_Snajpera
25th April 2024, 19:52
I will try to explain with some example.
Let's say you want to keep DTSMA or TrueHD untouched but at the same time you want AAC as second track for compatibility reasons.
https://i.postimg.cc/T1Nw1g82/Capture.png

First we define which file extensions ripbot should select. first checks for .dtsma text in file name and then for .thd if first criteria is not met.
Then We define how we want to treat those audio tracks. If file extension is .dtsma then we COPY for AUDIO1 and encode to AAC for AUDIO2.
Obviously you have to do the same for .thd in this case.

rlev11
26th April 2024, 15:35
So the audio preferences scenario in my last post I just tested and everything came out as expected. I did have to add back in the 7.1 xcopy lines for aac,ac2,and eac3.
I batched a bunch of ac3,aac,eac3,dts,dtsma,and flac and they all either left the audio alone or did the correct conversion I was expecting.

So now that I have it figured out, this is pretty kool. With "[AUTO] 7.1 or 5.1 or 2.0" coming up as the default batch profile, I should never have to even change that no matter what the audio is on any batch job. So for the .ini file for that profile I ended up with this:

[Audio1]
File=DEFAULT;English;1_audio;
Ext=.aac;.ac3;.dts;.dtshr;.dtsma;.eac3;.flac;.mp1;.mp2;.mp3;.ogg;.opus;.thd;.w64;.wav;.wma;
.aac=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;
.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;
.dts=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.dtshr=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.dtsma=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.eac3=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;
.flac=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.ogg=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.opus=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.thd=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.mp1=2.0|FFMPEG AC3|256 kbps;
.mp2=2.0|FFMPEG AC3|256 kbps;
.mp3=2.0|FFMPEG AC3|256 kbps;
.w64=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.wav=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.wma=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;

chainring
26th April 2024, 17:03
Once figured out, this audio profiles feature is pretty cool. Anything in lossless, I encode to AC3. Anything in lossy, I copy.

In Audio 1, I put in the extensions for all lossless formats. For all the individual lossless formats (box down from Audio 1), I removed "x.x | COPY STREAM" and left only AC3. For any lossy formats, I left "x.x | COPY STREAM" and removed any conversion settings.

I'm sure I'll need to tweak for the very few movies where I've kept commentary or a second language track, but since I generally don't batch movies it's not a big deal.

rlev11
26th April 2024, 17:26
I think that for the next couple of batch jobs when they come up, I'll set it so it doesn't start encoding after the first job is listed, and then once they are all in the list just go in and spot check a couple of the jobs just to make sure the audio profile is listed correctly on each one before I start the encoding. I doubt there will be any issues and then just trust the process after that.

Guest
27th April 2024, 05:37
I'm suddenly have a very strange problem

I have 2 PC's virtually identical, except for the CPU & GPU, one will process certain scripts, the other errors, and just loops in DE.

Did a fresh Windows setup, installed what RB likes, still same problem.

While I'm writing this, I'm thinking it might be the GPU, even tho the script is NOT GPU dependent, but the PC's that work have nVidia, the one(s) that don't have AMD....

But then I remembered that rlev11 mentioned the other day that's he's running an AMD GPU...so it shouldn't be that.

Atak_Snajpera
27th April 2024, 09:20
Manually execute .cmd file directly from non-working pc. Run one of those files \\HOST-PC\RipBot264temp\job1\chunks\1.cmd

Guest
27th April 2024, 11:01
Manually execute .cmd file directly from non-working pc. Run one of those files \\HOST-PC\RipBot264temp\job1\chunks\1.cmd

OK, will give that a try...what am I looking for, tho ??

I have just been fiddling around with the latest Audio Preferences, and I'm still a little confused.

Correct me if I'm wrong, but the previous build (14-04-24), you could simply add another ".ini" in the Preferences folder, and you could then choose that as the default in RB, but now it only seems to be [AUTO] 2.0, etc, etc... and you have to edit them, and save them.

But if you manually create an extra .ini file, and name it eg:- [AUTO] 6.0, it doesn't even show in the drop down list.

Atak_Snajpera
27th April 2024, 11:05
1) click edit
2) name it
3) save
4) new item should be added to combobox

Old presets are not compatible with new version that's why they are hidden now.

OK, will give that a try...what am I looking for, tho ??
you are looking for error messages.

Guest
27th April 2024, 12:14
1) click edit
2) name it
3) save
4) new item should be added to combobox

Old presets are not compatible with new version that's why they are hidden now.

Yep, that works, but I swear, it didn't before I posted that msg.

:thanks:

Atak_Snajpera
27th April 2024, 12:16
Just run that .cmd and see what you get. Probably some script error or shared folder is inaccessible.

rlev11
27th April 2024, 16:39
I'm suddenly have a very strange problem

I have 2 PC's virtually identical, except for the CPU & GPU, one will process certain scripts, the other errors, and just loops in DE.

Did a fresh Windows setup, installed what RB likes, still same problem.

While I'm writing this, I'm thinking it might be the GPU, even tho the script is NOT GPU dependent, but the PC's that work have nVidia, the one(s) that don't have AMD....

But then I remembered that rlev11 mentioned the other day that's he's running an AMD GPU...so it shouldn't be that.

First thing I can think of to check is: Can you run the same script on the failing PC running ripbot client as a stand alone on that pc, NOT in DE mode.

Assuming the PC that is looping is just setup as a encoding server for DE. Is it an smdegrain script? Did you run the script to install the 3 Libfftw3f-3 Dll's on that PC. Pretty sure that is the only thing that has to be run on an encoding server to get it to work with an smdegrain script.

Also check to make sure you can connect to a file share both directions between the client to the server.

Epitaph
28th April 2024, 00:27
I will try to explain with some example.
Let's say you want to keep DTSMA or TrueHD untouched but at the same time you want AAC as second track for compatibility reasons.
https://i.postimg.cc/T1Nw1g82/Capture.png

First we define which file extensions ripbot should select. first checks for .dtsma text in file name and then for .thd if first criteria is not met.
Then We define how we want to treat those audio tracks. If file extension is .dtsma then we COPY for AUDIO1 and encode to AAC for AUDIO2.
Obviously you have to do the same for .thd in this case.

I created my own profile and it works well most of the time but it (and the default [auto] profile) are leaving the audio unselected for a .dtsma track
https://drive.google.com/file/d/1iee-AWz8DoFMgiPoNxwx0tCoKVlLU5G5/view?usp=drive_link

Guest
28th April 2024, 03:26
I've noticed quite a bit lately is that a chunk will be happily encoding, and for no apparent reason, will simply restart from the start of the chunk.

And one more, I have also been getting way too many Socket Errors, and it's mainly 100054.

Common Socket Errors and Codes

10001: This means host not found. There are a few things that could be causing this. The hostname or IP address could be entered wrongly. The server might be down. There might be a problem with your internet connection.

10050: It means that the network is down. This can be caused by a variety of things, but most commonly it’s caused by a failure of the network system, the network interface, or the local network itself. Basically, something went wrong with the connection between your computer and the server.

10051: If you receive a socket error 10051, it means that the network is unreachable. This usually occurs when the local software does not have a route to reach the remote host. To fix this, you will need to establish a route to the host. One way to do this is by using a VPN or proxy server. You can also try pinging the host to see if it is online. If you are still unable to connect, then you may need to contact your ISP or network administrator for assistance.

10052: The error is caused by a broken connection due to keep-alive activity detecting a failure while the operation was in progress. This can happen if the connection is reset or if setsockopt is called on a connection that has already failed. To fix this, try setting SO_KEEPALIVE on the socket. If that doesn’t work, try resetting the connection.

10053: This is usually caused by a software issue on your end. When you’re connected to the internet, your computer establishes a connection with another computer and they exchange data. If there’s something wrong with the connection on either end, it can cause this error.

10054: If you’re getting the “Connection reset by peer” error when you try to connect to a remote host, it means that the host has suddenly stopped responding or been rebooted. This can happen if the network interface is disabled, or if the remote host uses a hard close. Keep-alive activity can also cause this error if it detects a failure while one or more operations are in progress. In most cases, this error is temporary and will resolve itself automatically.

10061: Your connection is refused. The FTP server isn’t running or is not listening on the port you’re trying to connect to. Or a firewall may be blocking the connection – in this case, you’ll need to open up the appropriate ports in your firewall settings.

Atak_Snajpera
28th April 2024, 08:32
Does 12.avs open in mpc-hc on E5-2697 pc?

Guest
28th April 2024, 09:38
Does 12.avs open in mpc-hc on E5-2697 pc?

OMG, OMG, OMG....

It WAS the AMD GPU's, BUT I had completely forgotten that one of the plugins in this particular script was CUDA dependent https://www.cosgan.de/images/smilie/konfus/d040.gif

DGHDRtoSDR:Cannot init CUDA

And it also appeared to be a memory leak as well, it was using 99% of the RAM, and I was having crashes, etc, etc.

So sorry for wasting your time, I might go back and edit some of the previous posts. https://www.cosgan.de/images/smilie/konfus/d065.gif

Atak_Snajpera
29th April 2024, 13:48
So sorry for wasting your time, I might go back and edit some of the previous posts.
No worries. I got used to it.

Atak_Snajpera
29th April 2024, 13:52
I created my own profile and it works well most of the time but it (and the default [auto] profile) are leaving the audio unselected for a .dtsma track
https://drive.google.com/file/d/1iee-AWz8DoFMgiPoNxwx0tCoKVlLU5G5/view?usp=drive_link

Show me how did you configure your preferences.

Guest
29th April 2024, 16:28
Can RipBot accept this:-

Prefetch(12,1)

Reference this post..

https://forum.doom9.org/showthread.php?p=2001164#post2001164

Atak_Snajpera
29th April 2024, 17:05
Try custom script

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

rlev11
29th April 2024, 18:24
Can RipBot accept this:-

Prefetch(12,1)

Reference this post..

https://forum.doom9.org/showthread.php?p=2001164#post2001164

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

Epitaph
29th April 2024, 20:41
Show me how did you configure your preferences.

[Audio1]
File=.dtsma;.thd;DEFAULT;English;1_audio;
Ext=.aac;.ac3;.dts;.dtshr;.dtsma;.eac3;.flac;.mp1;.mp2;.mp3;.ogg;.opus;.thd;.w64;.wav;.wma;
.aac=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|192 kbps;
.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;
.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;
.dts=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;
.dtshr=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;
.eac3=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;
.flac=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.opus=5.1|FFMPEG AC3|640 kbps;2.0|FFMPEG AC3|256 kbps;
.thd=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;

jimbobub
29th April 2024, 21:07
Ripbot264 1.26.0.7 runs fine whether updated or not. When updated, using autoupdate, it messes up other programs on my windows 10 i3 computer such as multiavchd(unable to mux menu and create playlist), airvpn eddie(can't use internet when turned off) and 7zip(extracting errors). I had to use system restore to have those programs run properly again. When installing ripbot no warnings came up saying that other software needs to be installed. I have one computer. Is it due to the later version of the program or the update process itself? Is autoupdate modifying files outside of the ripbot file? The program is great and handles videos that contain both 29.97 and 23.976 frame rates. Other ones that I have used, such as handbrake, don't seem to handle these type of videos without some dropped frames. The cropping function is great. It maximizes the size of the video until the top and bottom of the screen is reached (4:3) and adding the black bars to the sides. With widescreen formats it maximizes the size of the video until both sides are reached and adding black bars to the top and bottom. It maintains the aspect ratio. The preview script is great too. Before installing for the final time and not having other programs messed up, I turned on network block using the vpn software that I have. When running the program, I turned off autoupdate. Finally I was trying to have audio passthrough when trying to make an .mp4 file. No luck. So I finally tried .mkv which was I was looking for. Mkv contains the avc video and does audio passthrough, works fine with multiavchd and plays fine on my blu-ray player. I will donate now that I know the work around. Thanks.

Atak_Snajpera
29th April 2024, 22:18
Looks ok. I see no reason why audio with .dtsma extension would not be automatically selected.

rlev11
29th April 2024, 22:38
So is it really necessary to have the dtsme file extensions in the File line if you also have the DEFAULT;English;1_audio; there. even if it isn't, it should still process dtsma since it is listed further down??

Atak_Snajpera
29th April 2024, 23:43
.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 ...

Epitaph
30th April 2024, 00:00
So is it really necessary to have the dtsme file extensions in the File line if you also have the DEFAULT;English;1_audio; there. even if it isn't, it should still process dtsma since it is listed further down??

I have had a hand full of instances where a dolby digital track was listed as track 1 and the dtsma/thd track was track 2. I almost overlook it everytime and encode with the wrong audio.

@Atak_Snajpera, I am at a loss then. I had it happen several times this weekend, using those audio settings I end up with no audio selected. I am about to run another movie with dtsma and we'll see what happens.


EDIT: This time it selected the stereo commentary track "2_audio_English.ac3" and ignored "1_audio_English_DEFAULT.dtsma". Strange.

Atak_Snajpera
30th April 2024, 00:18
Show me full filenames of all audio tracks when wrong file is selected

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 !!

AmaZim20
7th May 2024, 01:28
Hello guys!
I need some help with Ripbot. I just found out that I was using an old version, so I used the updater.exe to update it. Update downloaded and installed it.
But when I try to run it, the GUI is not showing up, just the process runs in the background. What's preventing it from running properly.
I'm on Win 7 Pro. Any idea/help please?

rlev11
7th May 2024, 13:35
Hello guys!
I need some help with Ripbot. I just found out that I was using an old version, so I used the updater.exe to update it. Update downloaded and installed it.
But when I try to run it, the GUI is not showing up, just the process runs in the background. What's preventing it from running properly.
I'm on Win 7 Pro. Any idea/help please?

First thing to try would be to download a fresh version from the first post in this thread from the author and extract it into a different folder. Then see if the GUI comes up when you open the .exe from the new folder . It should then auto-update to the latest version.

AmaZim20
7th May 2024, 18:39
Hi guys.
I did what you suggested, downloaded the RipBot264v1.27.2 (std) (old).7z, unpacked into a new folder and tried to run the .exe but still NO GUI.
Only the .exe runs in the background.
Any more ideas please?

Atak_Snajpera
7th May 2024, 21:57
Run proces hacker or process Explorer. Check what process is blocking ripbot264.exe

AmaZim20
8th May 2024, 01:28
Ok, I'm trying to figure it out but I need more help with how to?
Sorry, but I'm not that deep into Windows.
I see this:
https://i.ibb.co/tJNG4LR/Proc.jpg

Guest
8th May 2024, 01:36
Ok, I'm trying to figure it out but I need more help with how to?

Now that's what we needed to see, just strange that with the previous older RB build you had no issues.

So nVida has a long history of interfering with RB, and maybe even that AV app you have, but I'd start with the nVidia stuff, that NvTelemetryContainer is pretty much the problem

I would suggest that you get this:-

https://www.techpowerup.com/download/techpowerup-nvcleanstall/

Grab yourself the latest nVidia drivers for the GPU card you're running, run that thru the above app, ONLY using the bare essentials, and re install...should be good to go.

Or you can try & disable AV app shown...(if you can)

AmaZim20
8th May 2024, 19:24
Well, this is what happened:
Installing the latest NV driver pretty much messed up my system (I have no idea why)!! :( so I had to do a system restore to the ver. I was using so far.
Anyway, I downloaded RipBot v1.26 and It works fine!!!... still a bit newer version than that 1 I used so far...so I'm happy with it for now.
Maybe Atak will fix the NV compatibility issue in a later update.
At least I can continue my work as a movie collector / encoder with more than 1250 perfect RipBot encodes already...
Thanks for the help guys.

Guest
8th May 2024, 20:19
Well, this is what happened:
Installing the latest NV driver pretty much messed up my system (I have no idea why)!! :( so I had to do a system restore to the ver. I was using so far.
Anyway, I downloaded RipBot v1.26 and It works fine!!!... still a bit newer version than that 1 I used so far...so I'm happy with it for now.
Maybe Atak will fix the NV compatibility issue in a later update.
At least I can continue my work as a movie collector / encoder with more than 1250 perfect RipBot encodes already...
Thanks for the help guys.

Clearly you didn't understand my previous post !!

Atak_Snajpera
8th May 2024, 21:46
Well, this is what happened:
Installing the latest NV driver pretty much messed up my system (I have no idea why)!! :( so I had to do a system restore to the ver. I was using so far.
Anyway, I downloaded RipBot v1.26 and It works fine!!!... still a bit newer version than that 1 I used so far...so I'm happy with it for now.
Maybe Atak will fix the NV compatibility issue in a later update.
At least I can continue my work as a movie collector / encoder with more than 1250 perfect RipBot encodes already...
Thanks for the help guys.

Fun fact: You are still 3.5 year behind with 1.26 version...

Guest
9th May 2024, 06:36
I've had a bit of a rude re-awakening to 1080p encoding :(

I haven't done any 1080p encodes for such a long time, everything has been centered around getting 4K stuff encoding AFAP.

With a 1080p, 5 minute sample with a fairly strong filter, and 4 - 5 encoding servers, the 7950X is only running @ 20 - 30%.

AmaZim20
9th May 2024, 20:00
Well, I don't care. That's the only version that I trust and works properly for me since long time and I'm happy with it :)

Guest
10th May 2024, 01:14
Well, I don't care. That's the only version that I trust and works properly for me since long time and I'm happy with it :)

I don't know why I'm bothering to reply to this...

ALL you have to do is "customise" your nVidia driver installation package, (with the info I mentioned in a previous post) then download RB from the link provided, and you've got the latest build which has quite a lot of new features (compared to 1.26.0).

You can have it in a separate folder so it won't interfere with what you're using, and once you've got it running, then you can use it as the main.

Entirely up to you.

Good luck.

Guest
10th May 2024, 12:21
I am noticing that I'm getting pixelation & glitches in some of my encodes.

The originals are good.

Any ideas ??

Atak_Snajpera
10th May 2024, 22:51
Encode again and check if glitches appear again in the same frames. If yes Then encode once again but this time without your fancy filters using cuda and so on.

Guest
11th May 2024, 02:19
Encode again and check if glitches appear again in the same frames. If yes Then encode once again but this time without your fancy filters using cuda and so on.

Yeah, well that's basically a no brainer, but that takes a lot of time :(

One thing I did try, as I still had all the chunks, etc, I ran the combine.cmd, and one glitch disappeared, the larger one remained.

I will also try using a different drive for the muxed encodes, maybe there's some problem with the drive I'm using (nVme) :(

You may be correct with the CUDA based scripts, I don't think CUDA plays well with DE, and using differently spec'd GPU's, in each PC.

It might be OK using DE on a single PC, and just the one nVidia GPU.

Guest
14th May 2024, 06:48
What's this ???

Don't think I've seen this before, it is a little random, but once it's shown up, the chunks just keep trying to restart, to no avail :(

Basically, need to reboot the PC to rectify.

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

LigH
14th May 2024, 12:00
My guess: Console output may get transmitted in blocks of a fixed size instead of line-per-line (probably cached output). So when a thread locks up, the communication is interrupted and this is the end of the last transmitted cache block...

Guest
14th May 2024, 12:07
My guess: Console output may get transmitted in blocks of a fixed size instead of line-per-line (probably cached output). So when a thread locks up, the communication is interrupted and this is the end of the last transmitted cache block...

How well do you know RipBot, if at all ??

Do you think it might be the app, avisynth, ffmpeg....

Could it be the avisynth script ??

LigH
14th May 2024, 12:16
RipBot264 specifically: Not at all. But I do know similar results when network communication gets interrupted. When I tested PHP script output in a web browser, I noticed that the text output did not get updated line by line. Network packets are probably collected until a cache is filled before transmitting a packet. So when the remote x26? encoder or RipBot's encoder controlling background app crashes, the cache is not flushed and not transmitted to the central RipBot UI application, which ends up missing the last packet of the encoder's console output.

Guest
14th May 2024, 12:32
RipBot264 specifically: Not at all. But I do know similar results when network communication gets interrupted. When I tested PHP script output in a web browser, I noticed that the text output did not get updated line by line. Network packets are probably collected until a cache is filled before transmitting a packet. So when the remote x26? encoder or RipBot's encoder controlling background app crashes, the cache is not flushed and not transmitted to the central RipBot UI application, which ends up missing the last packet of the encoder's console output.

OK, well, if I'm understanding you, then it's some network problem...

Either NIC's, cables, switches or maybe even drivers.

Would socket errors have any connection (pardon the pun) to these problems ??

LigH
14th May 2024, 12:40
I do not mean unreliable network connections in the first place. There can be several reasons why the last packet of a console output relay might go missing. Like, a CPU thread finishes before the cache gets flushed (here an explicit flush of the console output before the termination of the application might help). Only guessing.

Guest
14th May 2024, 12:50
I do not mean unreliable network connections in the first place. There can be several reasons why the last packet of a console output relay might go missing. Like, a CPU thread finishes before the cache gets flushed (here an explicit flush of the console output before the termination of the application might help). Only guessing.

I have to say I really have no idea what you're talking about, your knowledge is so much more than my poor old brain can comprehend.

So if you don't think its network related, but you mention CPU threads, could "working" the processor too hard cause it, like 100% for extended periods ??

LigH
14th May 2024, 13:03
As far as I understand RipBot: You have a central management server application, and you have encoder controlling services spread across your local network (or maybe just one on your local PC). The encoder controlling service captures the console output from the encoder and sends its output via network to the management server. But the console output is not sent on every line break. It is sent when there is enough output to fill a buffer. That can be somewhere in the middle of a text output line. The rest of the console output will be sent from the encoder controlling service to the management server application with a next network packet, either when the buffer is full again, or when it gets flushed because the encoder finished its job and there is no more text output to be captured.

There might be different reasons for the last network packet not arriving: Maybe the encoder thread does not finish gracefully, or the encoder controlling service locks up for a reason I don't know. Or the network packet gets lost. I don't know the reason. All I see is: The console output of the encoder did not arrive completely in the management server application; something interrupted the transmission. And I could guess at least three different places where it could get interrupted: At the source (the x26? encoder), at the service which captures the output and passes it to the network, or somewhere in the network.

Guest
14th May 2024, 13:18
As far as I understand RipBot: You have a central management server application, and you have encoder controlling services spread across your local network (or maybe just one on your local PC). The encoder controlling service captures the console output from the encoder and sends its output via network to the management server. But the console output is not sent on every line break. It is sent when there is enough output to fill a buffer. That can be somewhere in the middle of a text output line. The rest of the console output will be sent from the encoder controlling service to the management server application with a next network packet, either when the buffer is full again, or when it gets flushed because the encoder finished its job and there is no more text output to be captured.

There might be different reasons for the last network packet not arriving: Maybe the encoder thread does not finish gracefully, or the encoder controlling service locks up for a reason I don't know. Or the network packet gets lost. I don't know the reason. All I see is: The console output of the encoder did not arrive completely in the management server application; something interrupted the transmission. And I could guess at least three different places where it could get interrupted: At the source (the x26? encoder), at the service which captures the output and passes it to the network, or somewhere in the network.

Thank you for the easier to understand explanation, I guess the only person that would know for sure how things are processed, is the dev, Atak.

It seems to be mainly on the server PC, but when that errors, it passes the same error onto the any other clients that are encoding.

I might try a different x265 build, and check the NIC connections & drivers as well.

Maybe even flushing the network cache.

Like I said, I haven't seen this error ever before, and it's only just started in the past couple of days, so it may be the x265 build I'm running....

Thankyou again LigH, for your assistance & explanation.

Atak_Snajpera
14th May 2024, 13:43
What's this ???

Don't think I've seen this before, it is a little random, but once it's shown up, the chunks just keep trying to restart, to no avail :(

Basically, need to reboot the PC to rectify.

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

Check TCP communication log. See if you also get this incomplete text.
Problem maybe also related to modded x265 version you are using.

cypher007
15th May 2024, 11:17
ok got an odd one. normally when i close a distributed encode then restart it later it will start from the last complete chunk but today it started from chunk 1 and im guessing will overwrite what ive already encoded. at the moment ive used the bat file for each chunk to do them one by one. im not sure if this will work but dont want to bin about 15 hrs work. any ideas why it restarted from chunk 1?

Guest
15th May 2024, 11:52
ok got an odd one. normally when i close a distributed encode then restart it later it will start from the last complete chunk but today it started from chunk 1 and im guessing will overwrite what ive already encoded. at the moment ive used the bat file for each chunk to do them one by one. im not sure if this will work but dont want to bin about 15 hrs work. any ideas why it restarted from chunk 1?

Not that odd, unfortunately :(, I know your pain, believe me.

So how do you actually close a DE encode ???

I've found the "safest" way is to sit there and watch each chunk as it's nearly 100%, then just as it's starting a new chunk, stop it.

Do this this every chunk !!

Once you've stopped ALL the chunks, then ABORT the job, if it closes down without issue, you should be good when you resume.

What do you mean by:- (is this an effort to recover ??)

at the moment ive used the bat file for each chunk to do them one by one

Unfortunately, it's so random when it's going to this, and there's a 100% chance that you have lost 15 hours of encoding.

cypher007
15th May 2024, 12:06
Not that odd, unfortunately :(, I know your pain, believe me.

So how do you actually close a DE encode ???

I've found the "safest" way is to sit there and watch each chunk as it's nearly 100%, then just as it's starting a new chunk, stop it.

Do this this every chunk !!

Once you've stopped ALL the chunks, then ABORT the job, if it closes down without issue, you should be good when you resume.

What do you mean by:- (is this an effort to recover ??)





Unfortunately, it's so random when it's going to this, and there's a 100% chance that you have lost 15 hours of encoding.

err didnt say that but im wondering if it will be possible to once ivve done the chunks manually to join them and continue the encode?

Atak_Snajpera
15th May 2024, 13:41
Either way, I have "updated" x265 to 3.6+12-f3c5fba AVX (to be compatible with some AVX CPU's on older DE clients).


Is progress correctly visible in encodingclient window?

cypher007
15th May 2024, 14:43
As far as I can tell, there's no issues with client.

The only strange thing that has been happening (and I think I've mentioned this recently), is a chunk can be happily progressing, and then "out of the blue", it re-starts, no errors msg's, just starts from 0%.

ive had something like this when ive changed networks on a PC even when im only DE on one PC.

rlev11
15th May 2024, 17:19
As far as I can tell, there's no issues with client.

The only strange thing that has been happening (and I think I've mentioned this recently), is a chunk can be happily progressing, and then "out of the blue", it re-starts, no errors msg's, just starts from 0%.

Only times I have experienced something like that was back when I did not make sure the encoding server window was on the desktop on every machine (not minimized in the tray), or occasionally when doing the rare 480p with some heavy degraining, I'll get encoding server stalled messages on some of the servers.

cypher007
16th May 2024, 10:59
actually i had a think about it and ive had it where even on a standard encode (not DE) its not stopped but accelerated the FPS and created junk when ive changed networks. really odd issue, i just make sure i dont unplug my lan when encoding.

Guest
25th May 2024, 10:59
I was having a bit of a play with the latest Handbrake 1.8.0 today, and it appears to be able to convert most audio to TrueHD, now, not just pass thru, albeit, ONLY to 5.1, even if the original is 7.1.

Atak_Snajpera
25th May 2024, 17:40
I was having a bit of a play with the latest Handbrake 1.8.0 today, and it appears to be able to convert most audio to TrueHD, now, not just pass thru, albeit, ONLY to 5.1, even if the original is 7.1.

Meanwhile most of TrueHD streams in movies are 7.1 so ... useless for me.

Guest
30th May 2024, 06:02
@ Atak,

I've been trying to remember the app you created to test bit's comparing to FFMS2 & L-smash, but I am drawing a blank.

I'd like to run some more tests now there's yet another improved FFMS2 build, and then there's a "new kid on the block", BestSource (BS)

Emulgator
30th May 2024, 08:07
Seektester ?
https://forum.doom9.org/showthread.php?t=176878

Guest
30th May 2024, 08:32
Seektester ?
https://forum.doom9.org/showthread.php?t=176878

You just never know where you are going to pop up :)

:thanks: that's the one.

Emulgator
30th May 2024, 09:59
Just one Seektester quickie for fun:
1920x1080x25i AVC+MVC in .MTS from a Panasonic 3D-Cam HDC-Z10000
LWLibavVideosource 1194 by Asd-g fine
Bestsource 4.0 by Myrsloik fine
FFMS2 5.0 by Myrsloik fine
FFMS2 2390 by StvG faulty (frameskips/repeats)

Guest
30th May 2024, 10:18
Just one Seektester quickie for fun:
1920x1080x25i AVC+MVC in .MTS from a Panasonic 3D-Cam HDC-Z10000
LWLibavVideosource 1194 by Asd-g fine
Bestsource 4.0 by Myrsloik fine
FFMS2 5.0 by Myrsloik fine
FFMS2 2390 by StvG faulty (frameskips/repeats)

Well, that's great that you've done that

Saves me doing it...

Maybe Atak will take note...it would be nice if he added FFMS2 5.0 & Bestsource to RipBot...just to give users a choice.

Cheers.

Atak_Snajpera
30th May 2024, 11:22
Well, that's great that you've done that

Saves me doing it...

Maybe Atak will take note...it would be nice if he added FFMS2 5.0 & Bestsource to RipBot...just to give users a choice.

Cheers.

If ain't broken , don't fix it. That's my rule. If decoded frame is not corrupted then what is the point of using FFMS2 or BestSource?

Guest
30th May 2024, 11:37
If ain't broken , don't fix it. That's my rule. If decoded frame is not corrupted then what is the point of using FFMS2 or BestSource?

Who said it was broken, it's about choice...

FFMS2 used to be a user's choice option..

It's just that over the years, you have been asked for certain extra features & functions that can only improve RipBot, but because YOU don't have a use for it, it doesn't happen, unfortunately.

It's good that someone like Pauly Dunne went to the trouble of adding the use of SMDegrain to RB, and it's proven to the many that use the PD builds, that it's superior & faster than the options in "vanilla" RB.

Just sayin'...

Atak_Snajpera
30th May 2024, 12:05
What does FFMS2 or BestSource improve over LWLibavVideosource? In the end all those filters rely on ffmpeg code under hood.
LWLibavVideosource has proven to be very reliable over all those years so if ain't broken , don't change it.
frame accurate = CHECK
No corrupted frames = CHECK
That's all I need.

Guest
30th May 2024, 12:15
What does FFMS2 or BestSource improve over LWLibavVideosource? In the end all those filters rely on ffmpeg code under hood.
LWLibavVideosource has proven to be very reliable over all those years so if ain't broken , don't change it.
frame accurate = CHECK
No corrupted frames = CHECK
That's all I need.

Again, it's about user choice !!!

I have no idea if FFMS2 or BS improve anything, and L-Smash isn't broken, but I have read that it might be being overshadowed by BestSource (same dev does both, I believe).

I thought that "filter's" were Avisynth based, and FFMPEG processed / encoded everything.

But this sums it up perfectly:-

That's all I need.

Atak_Snajpera
30th May 2024, 12:17
Again, it's about user choice !!!

I have no idea if FFMS2 or BS improve anything, and L-Smash isn't broken, but I have read that it might be being overshadowed by BestSource (same dev does both, I believe).

I thought that "filter's" were Avisynth based, and FFMPEG processed / encoded everything.

FFMPEG code also decodes stuff using builtin decoders.

https://ffmpeg.org/ffmpeg-codecs.html#Decoders

The same code is used in SourceFilters() as well.

NO MATTER WHAT YOU CHOOSE YOU ALWAYS CHOOSE FFMPEG CODE UNDER THE HOOD. End of story.

Atak_Snajpera
30th May 2024, 12:44
But this sums it up perfectly:-

Quote:
That's all I need.
Fun fact: I started this project in 2007 because I wanted something simple for encoding my videos to my PSP. So It's been always tailored for my needs.
https://www.trustedreviews.com/wp-content/uploads/sites/54/2005/09/1832-overview-1.jpg

Distributed Encoding Mode was also not created because somebody requested it. I made it for myself because I had an extra PC at home.

Guest
30th May 2024, 14:19
Fun fact: I started this project in 2007 because I wanted something simple for encoding my videos to my PSP. So It's been always tailored for my needs.


Distributed Encoding Mode was also not created because somebody requested it. I made it for myself because I had an extra PC at home.

So if you created this for your own needs, why did you release it to the public ???

Knowing that you would probably never do anything to it, that YOU didn't want !!!

But despite your stubbornness, I do have to applaud you for figuring out how to successfully introduce the awesome Distributed Encoding function, that IS the most outstanding feature of ANY encoding app.

None of them have attempted such a feature, the only one that comes even close is StaxRip with its parallel chunk encoding, which even tho it speeds up the encoding process, it ONLY works on 1 PC :(

Emulgator
30th May 2024, 16:27
LWLibavVideosource has proven to be very reliable over all those years so if ain't broken , don't change it.
I do agree with that, for years no failures here with LWLibavVideosource under different use cases.
The safe indexing gold standard is already implemented by Atak, adding any poorer choice
(for instance ffms2, what he tested back then and discarded for good measure) would ask for trouble...

Guest
30th May 2024, 18:33
I do agree with that, for years no failures here with LWLibavVideosource under different use cases.
The safe indexing gold standard is already implemented by Atak, adding any poorer choice
(for instance ffms2, what he tested back then and discarded for good measure) would ask for trouble...

Maybe back then, FFMS2 was faulty, but the latest build, and BS appear to be "fine" (in your words).

cypher007
30th May 2024, 20:01
anyone getting a microsoft virus scan come up when updating to 1.27.3?

rlev11
30th May 2024, 20:42
anyone getting a microsoft virus scan come up when updating to 1.27.3?

Yep, picks up Trojan:Win32/Phonzy.B!ml on ribbot264.exe and Trojan.Win32/Wacatac.B!ml on encodingclient and encodingserver exe's

Malwarebytes did not pick them up, only microsoft AV realtime protection

Downloaded the latest Microsoft Safety Scanner and ran that against it and it came back clean as well

Atak_Snajpera
30th May 2024, 23:25
Maybe back then, FFMS2 was faulty, but the latest build, and BS appear to be "fine" (in your words).

Couple Years too late.

Guest
31st May 2024, 01:47
Couple Years too late.

Never too late, and you're the only one that do anything about it...

Guest
31st May 2024, 01:53
Just got this update, and sure enough, as others have mentioned, there is a virus type problem with both RipBot264.exe, and EncodingServer.exe, they were both quarantined, and you have to go in & restore them, so hopefully we'll only have to do that once.

So despite that, here's the changelog:-

v1.27.3
Added: Encoding error logging in EncodingServer
Added: EncodingClient can run custom script (EncodingClient.cmd) if EncodingServer detects an error during encoding process
Added: Errors can be also viewed in EncodingClient by clicking on red server label
Fixed: Randomly resetting progress in EncodingClient after restart

Can you please explain this new feature, and how to use it ??

EncodingClient can run custom script (EncodingClient.cmd) if EncodingServer detects an error during encoding process

Yes, the "virus" issue seems to be a little persistent, and even adding an exclusion for the whole RipBot264 folder does not remedy the problem.

Maybe being compiled on a W7 PC, with a totally different AV app to W10 & W11 PC's.....just thinking out loud.

I hope this doesn't break too may RipBot installs, out there :(

Guest
31st May 2024, 06:27
Yep, picks up Trojan:Win32/Phonzy.B!ml on ribbot264.exe and Trojan.Win32/Wacatac.B!ml on encodingclient and encodingserver exe's

Malwarebytes did not pick them up, only microsoft AV realtime protection

Downloaded the latest Microsoft Safety Scanner and ran that against it and it came back clean as well

I grabbed that app too, and it detected 1 infected file during the scan, but when it completed, it stated there were no issues.

Strange thing, I copied the updates onto the 7950X, and had no warnings, as I did on the W11 laptop, earlier.

:confused::confused::confused:


Microsoft Safety Scanner
https://learn.microsoft.com/en-us/defender-endpoint/safety-scanner-download?view=o365-worldwide 148Mb download.

UPDATE:-

Well after all that, I loaded a job into 1.27.3, and started the encode, and got all sorts of warnings, and RipBot264.exe, and EncodingServer.exe were being quarantined, so for me, this new build is unusable :(

Atak_Snajpera
31st May 2024, 10:04
Nothing new. Almost everytime I do an update some antivirus goes crazy. I do not care at this point. Probably after some weeks they will white list those updated files.

Atak_Snajpera
31st May 2024, 12:36
Can you please explain this new feature, and how to use it ??
1) Enable this option
https://i.postimg.cc/tCJTt5LX/Capture.png
2) open EncodingClient.cmd in notepad
3) Add your program you want to launch. For example you can use some program to send you a notification on your phone via email or push notifications.

@REM *****************************************************
@REM * *
@REM * %ERRORMESSAGE% -> encoding error message *
@REM * *
@REM *****************************************************
@REM <INSERT YOUR SCRIPT HERE>

MyProgram.exe "%ERRORMESSAGE%"

%ERRORMESSAGE% text will be automatically replaced by proper error message.

For example: 192.168.0.1:1000 [2024-05-30 15:09:00] JOB1/CHUNK1: encoding stalled: [13.1%] 187/1426 frames. Process automatically killed.

Guest
1st June 2024, 02:21
1) Enable this option
https://i.postimg.cc/tCJTt5LX/Capture.png
2) open EncodingClient.cmd in notepad
3) Add your program you want to launch. For example you can use some program to send you a notification on your phone via email or push notifications.

@REM *****************************************************
@REM * *
@REM * %ERRORMESSAGE% -> encoding error message *
@REM * *
@REM *****************************************************
@REM <INSERT YOUR SCRIPT HERE>

MyProgram.exe "%ERRORMESSAGE%"

%ERRORMESSAGE% text will be automatically replaced by proper error message.

For example: 192.168.0.1:1000 [2024-05-30 15:09:00] JOB1/CHUNK1: encoding stalled: [13.1%] 187/1426 frames. Process automatically killed.

OK, thanks for that....one thing I just thought of, how to play an audio file if there's an error ??

What would be the command line for that ?? (Example please, with the audio file being in the main RipBot folder)

LigH
1st June 2024, 10:24
You might use a command line media player, like mplayer / ffplay / a system media call in a PowerShell script ...

Atak_Snajpera
1st June 2024, 11:17
OK, thanks for that....one thing I just thought of, how to play an audio file if there's an error ??

What would be the command line for that ?? (Example please, with the audio file being in the main RipBot folder)

C:\RipBot264\Tools\ffmpeg\bin\ffplay.exe "C:\Windows\Media\Windows Error.wav" -autoexit -showmode 0 -loglevel 0

Guest
1st June 2024, 11:40
C:\RipBot264\Tools\ffmpeg\bin\ffplay.exe "C:\Windows\Media\Windows Error.wav" -autoexit -showmode 0 -loglevel 0

Thankyou, Atak, that's all I needed, to point me in the right direction.

I got it to work with the .wav I want to play :) (of course it was a very different path)

Atak_Snajpera
1st June 2024, 12:24
Thankyou, Atak, that's all I needed, to point me in the right direction.

I got it to work with the .wav I want to play :) (of course it was a very different path)

Is there a way to test in from the EncodingClient.cmd ??

During encoding kill ffmpeg.exe
You may use this command
taskkill /IM ffmpeg.exe

Guest
1st June 2024, 12:37
During encoding kill ffmpeg.exe
You may use this command
taskkill /IM ffmpeg.exe

Thanks again.

However, when I got the command line in the correct place in the .cmd, simply double clicking on the .cmd, it played. :)

And if it's left as is, (as shown below) the error message will be displayed as well as the sound.

dipais
2nd June 2024, 07:18
What sort of a "watermark" do you want to insert ?? (sample maybe, but don't attach it with your reply !!!)

You need to figure out how to write your own custom scripts !!!

FTLOY,

I really didn't have time to look at what I had asked a long time ago. Please forgive me. So what I mean is using Ripbot to insert a watermark in the top right position like in this Netflix video (https://www.youtube.com/watch?v=ddbL9jvg77w).

Would you mind telling me the steps. What scripts are supported by Ripbot. I'm a newbie in this matter so I don't really understand how to use scripts in Ripbot.

Cheers,
D

Guest
2nd June 2024, 08:22
FTLOY,

I really didn't have time to look at what I had asked a long time ago. Please forgive me. So what I mean is using Ripbot to insert a watermark in the top right position like in this Netflix video (https://www.youtube.com/watch?v=ddbL9jvg77w).

Would you mind telling me the steps. What scripts are supported by Ripbot. I'm a newbie in this matter so I don't really understand how to use scripts in Ripbot.

Cheers,
D

Hi, I've never tried to ADD a watermark, so I will have to have a bit of a play.

In the meantime, someone else may suggest something.

Atak_Snajpera
2nd June 2024, 14:06
FTLOY,

I really didn't have time to look at what I had asked a long time ago. Please forgive me. So what I mean is using Ripbot to insert a watermark in the top right position like in this Netflix video (https://www.youtube.com/watch?v=ddbL9jvg77w).

Would you mind telling me the steps. What scripts are supported by Ripbot. I'm a newbie in this matter so I don't really understand how to use scripts in Ripbot.

Cheers,
D

Just replace this with proper path to your PNG file.
Image=ImageSource("ripbot264-ico.png",pixel_type="RGB32")

#Custom
ImageScalingFactor=32 #larger value = smaller image
ImageTransparencyFactor=0.5 #1.0 = 0% transparency , 0.0 = 100% transparency
ImageMixingMode="Blend" #Blend , Add , Subtract , Multiply , Chroma , Luma , Lighten , Darken , SoftLight , HardLight , Difference , Exclusion
ImagePosition="TopRight" #TopLeft , TopRight , BottomRight , BottomLeft
MarginSizeFactor=0.01 #larger value = larger shift from edges of the frame

Image=ImageSource("ripbot264-ico.png",pixel_type="RGB32")

ImageAlpha=ShowAlpha(Image)
ImageAR=Image.width/Image.height

ImageTargetWidth=Int(video.width/ImageScalingFactor)
ImageTargetHeight=Int(ImageTargetWidth/ImageAR)

Image=Spline36Resize(Image,ImageTargetWidth,ImageTargetHeight)
ImageAlpha=Spline36Resize(ImageAlpha,ImageTargetWidth,ImageTargetHeight)

MarginSize=Int(video.width*MarginSizeFactor)

cond = (LCase(ImagePosition)=="topleft") ? Eval("""
ImagePosX=0+MarginSize
ImagePosy=0+MarginSize
""") : Eval("""""")

cond = (LCase(ImagePosition)=="topright") ? Eval("""
ImagePosX=video.width-image.width-MarginSize
ImagePosy=0+MarginSize
""") : Eval("""""")

cond = (LCase(ImagePosition)=="bottomright") ? Eval("""
ImagePosX=video.width-image.width-MarginSize
ImagePosy=video.height-image.height-MarginSize
""") : Eval("""""")

cond = (LCase(ImagePosition)=="bottomleft") ? Eval("""
ImagePosX=0+MarginSize
ImagePosy=video.height-image.height-MarginSize
""") : Eval("""""")

video=Overlay(video,Image,mask=ImageAlpha,x=ImagePosX,y=ImagePosY,opacity=ImageTransparencyFactor,mode=ImageMixingMode)

https://i.postimg.cc/FRx8T6b5/job14-avs-snapshot-00-25-120.png

Guest
2nd June 2024, 14:43
Just replace this with proper path to your PNG file.

I thought I'd try this, and I even got a Netflix.png and I reduced it's size a LOT, and it doesn't show when previewing the clip. :(

Atak_Snajpera
2nd June 2024, 14:53
I thought I'd try this, and I even got a Netflix.png and I reduced it's size a LOT, and it doesn't show when previewing the clip. :(

Problem?
https://i.postimg.cc/XYBsCHQ8/job14-avs-snapshot-00-43-452.png

Guest
2nd June 2024, 15:09
Problem?


OK, so what are the dimensions / properties of your Netflix ?

Atak_Snajpera
2nd June 2024, 15:10
OK, so what are the dimensions / properties of your Netflix ?

2226 x 678 pixels

Guest
2nd June 2024, 15:20
2226 x 678 pixels

Hmmmm, my .png was a lot smaller than that.

Atak_Snajpera
2nd June 2024, 15:23
Hmmmm, my .png was a lot smaller than that.

No idea why you even bother resizing if script does that automatically.

Guest
2nd June 2024, 15:28
No idea why you even bother resizing if script does that automatically.

That was a LONG script for a small job.

TBH, I didn't look thru it, except the path to the image.

It's just that when it wasn't displayed, I thought it might have been too big.

I'll try again, later, with a different approach.

UPDATE:-

OK, I've tried again, and again, and again, and I cannot get it to display anything, in fact for whatever reason, that script doesn't even import anymore (did last night on a different PC).

So that's all I can be bothered doing for this, as I will NEVER need to ADD a "watermark" to anything.

Having said that, I appreciate you following up on this.

I doubt that dipais will have much luck (but who knows)

dipais
3rd June 2024, 10:40
Howdy, All

Just replace this with proper path to your PNG file.
Image=ImageSource("ripbot264-ico.png",pixel_type="RGB32")

You rock, thank you very much :D!.

OK, I've tried again, and again, and again, and I cannot get it to display anything, in fact for whatever reason, that script doesn't even import anymore (did last night on a different PC). So that's all I can be bothered doing for this, as I will NEVER need to ADD a "watermark" to anything. Having said that, I appreciate you following up on this. I doubt that dipais will have much luck (but who knows)

It worked perfectly with just one try. All you have to do is determine the direct location path of the image used, as follows:

Image=ImageSource("C:\Users\Administrator\Videos\netflix.png",pixel_type="RGB32")

Cheers,
D

Guest
3rd June 2024, 10:52
Howdy, All



It worked perfectly with just one try. All you have to do is determine the direct location path of the image used, as follows:

Image=ImageSource("C:\Users\Administrator\Videos\netflix.png",pixel_type="RGB32")



I'm sorry, but for sure I don't understand the meaning of the code in the script, So I don't know what I should edit to make the logo bigger. Would you like to tell me?.

Cheers,
D

Well, that is what they call beginners luck....I have no idea why mine won't work...

Image=ImageSource("D:\netflix-logo-png-2570.png",pixel_type="RGB32")

I copied the whole script that Atak provided, changed the path to the image, and named the script Image.avs, put it in the Custom folder, selected in RB, and it doesn't even appear in the edit scripts window, and if I copy it in manually, the preview cannot render the file.

I wonder if the path doesn't like the -

Maybe try :-

ImageScalingFactor=32 #larger value = smaller image

dipais
3rd June 2024, 12:58
Howdy, Folk

Well, that is what they call beginners luck....I have no idea why mine won't work...

Image=ImageSource("D:\netflix-logo-png-2570.png",pixel_type="RGB32")

I wonder if the path doesn't like the -

Maybe try :-

ImageScalingFactor=32 #larger value = smaller image

I'm sorry, but I found the solution before you replied so I changed the content of my post. So it wouldn't be wrong to conclude that before I pressed the "save" button (during editing) you submitted the reply first :D.

I copied the whole script that Atak provided, changed the path to the image, and named the script Image.avs, put it in tahe Custom folder, selected in RB, and it doesn't even appear in the edit scripts window, and if I copy it in manually, the preview cannot render the file.

FYI, I also found a solution for this matter :D. The steps I took were:

Create abc.avs then fill it with all the code from Atak above then put it in the folder: Tools\AviSynth plugins\Scripts
Create def.avs then fill it with the code below then put it in the folder: Tools\AviSynth plugins\Scripts\Custom

Import("%AVISYNTHPLUGINS%\Scripts\abc.avs")

Select def.avs in the "CUSTOM SCRIPT", then click the "Edit Script" button, then suddenly you will find contents like the following:

#Custom
Import("C:\RipBot\Tools\AviSynth plugins\Scripts\def.avs")
Hope that works for ya. Good luck :D!.

Cheers,
D

Guest
4th June 2024, 01:44
Howdy, Folk
I'm sorry, but I found the solution before you replied so I changed the content of my post. So it wouldn't be wrong to conclude that before I pressed the "save" button (during editing) you submitted the reply first :D.

FYI, I also found a solution for this matter :D. The steps I took were:

Create abc.avs then fill it with all the code from Atak above then put it in the folder: Tools\AviSynth plugins\Scripts
Create def.avs then fill it with the code below then put it in the folder: Tools\AviSynth plugins\Scripts\Custom

Import("%AVISYNTHPLUGINS%\Scripts\abc.avs")

Select def.avs in the "CUSTOM SCRIPT", then click the "Edit Script" button, then suddenly you will find contents like the following:

#Custom
Import("C:\RipBot\Tools\AviSynth plugins\Scripts\abc.avs")

Hope that works for ya. Good luck :D!.

Cheers,
D

I think you'll find that this does not work, as it is reading itself, it needs to be abc.avs in the Custom Folder.

Anyway, I have wasted way too much time on this, and I don't have the motivation to continue, as I will never use it !!!

But having said that, when you get the .avs's in the correct order, AVSMeter shows an error in the abc.avs on line 41, which is :-

video=Overlay(video,Image,mask=ImageAlpha,x=ImagePosX,y=ImagePosY,opacity=ImageTransparencyFactor,mode=ImageMixingMode)

And if you play the video preview, it also errors with:- Cannot render this file.

dipais
5th June 2024, 21:54
Howdy, Folks

But having said that, when you get the .avs's in the correct order, AVSMeter shows an error in the abc.avs on line 41, which is :

video=Overlay(video,Image,mask=ImageAlpha,x=ImagePosX,y=ImagePosY,opacity=ImageTransparencyFactor,mode=ImageMixingMode)

Yes, that's right. That's what I meant. Thanks for the correction :D.

Problem?.

Yes, it turns out that I am facing a new problem that is almost the same as that encountered by FTLOY above. So, here it is...


SUCCESS?: Yes, if the video source is 8-bit then encode to 8-bit and 10-bit :D.
PROBLEM?: Yes, if the video source is 10-bit then encode to 10-bit :(. And the error was:

https://i.postimg.cc/8C1q7MgV/ss.png

That being said, Would you like to look into this problem for a solution ?. Thanks a lot, Atak. You so rock! :D.

Cheers,
D

Guest
6th June 2024, 02:18
Howdy, Folks

Yes, it turns out that I am facing a new problem that is almost the same as that encountered by FTLOY above. So, here it is...


SUCCESS?: Yes, if the video source is 8-bit then encode to 8-bit and 10-bit :D.
PROBLEM?: Yes, if the video source is 10-bit then encode to 10-bit :(. And the error was:


That being said, Would you like to look into this problem for a solution ?. Thanks a lot, Atak. You so rock! :D.

Cheers,
D

So my interpretation of that is that it works on 8 bit footage, but nothing higher ??

I'm pretty sure ALL my tests were of 10 bit video...

That makes me feel a LOT better about not being able to get it work as per both of Atak's samples, but if you think about it, and really look at the samples, that would definitely be 8 bit !!! it's anime/cartoon.

poisondeathray
6th June 2024, 03:40
Convert the overlay image to 10bit, for 10bit base video

It would look something like this

Image=ImageSource("C:\Users\Administrator\Videos\netflix.png",pixel_type="RGB32").ConvertToPlanarRGBA().ConvertBits(10)

Guest
6th June 2024, 04:17
Convert the overlay image to 10bit, for 10bit base video

It would look something like this

Image=ImageSource("C:\Users\Administrator\Videos\netflix.png",pixel_type="RGB32").ConvertToPlanarRGBA().ConvertBits(10)


That is what "we" needed, works perfectly, thanks pdr.

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

@dipais,

I still need to do your suggestion for it to be used in the script...

https://forum.doom9.org/showthread.php?p=2002549#post2002549

It'll have to be a different script for 8 bit, though...

But we can't leave Atak out of this, he gave "us" the basis for this, just a shame it was only for 8 bit, as it turned out.

poisondeathray
6th June 2024, 04:52
It'll have to be a different script for 8 bit, though...



You can auto convert the image overlay to correspond the input base video bitdepth using Clip properties BitsPerComponent
http://avisynth.nl/index.php/Clip_properties

Assuming the input was 8bit RGBA image like a PNG, loaded with Imagesource(), it would look like


ConvertToPlanarRGBA().ConvertBits(video.BitsPerComponent)


Where "video" was already previously loaded in the script

Guest
6th June 2024, 05:14
You can auto convert the image overlay to correspond the input base video bitdepth using Clip properties BitsPerComponent
http://avisynth.nl/index.php/Clip_properties

Assuming the input was 8bit RGBA image like a PNG, loaded with Imagesource(), it would look like


ConvertToPlanarRGBA().ConvertBits(video.BitsPerComponent)


Where "video" was already previously loaded in the script

And that also works well, and that makes the whole process a lot easier, simply one script to do either, unless the chosen image is different.

So thanks again, pdr :)

Guest
6th June 2024, 10:36
Just found out there's a new full build available.

It's based on Patman x264 & x265 builds, which means things work & display a little differently than normal, but there are some benefits.

However, there is an option to change it back to "normal".

There are also some updates, new scripts, new filters, etc, so read the .txt files !!!

Anyone that prefers the Lite build can use this to update their current setup, just use what you need.

There is now a new Lite build, up...

Guest
9th June 2024, 05:38
Using v1.27.3 for the first in "anger", and I like the changes that have been made to Encoding Client 1.19.0.0, it's "prettier" :)

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

Just after posting this comment, I noticed there was yet another small auto update...

Mainly adding a new script to add a Watermark/Logo/Overlay......I think you've borrowed the info from my posts with poisondeathray...you're welcome :)

There's a new folder in the "Profile" folder called "overlay", and inside that, another folder called "png"...I guess there needs to be a compatible file in there, for the new script to work.

Tested, the "png" is just a "default" location to keep the images.

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

Another thing that has changed is in the Avisynth settings, the "slider" now has 4 positions to accommodate the new overlay settings, which is where the audio settings were....now the audio settings are the 4th position. (looking very lonely)

I would suggest that maybe Segments are changed to the 4th postion, and have all the similar "looking" settings pages in order, positions 1 thru 3....

Guest
9th June 2024, 06:36
I've just got my first encoding error pop up message & "sound" (in my case)....

And this is what it looks like for those yet to experience it:-

https://i.imgur.com/5VNgnuF.jpg

Need to say, that regardless of the error, it started encoding the errored chunk, again, all by itself :)

To view the small error message left click on the (not red) server name text, not sure when it changes back to green.

And the way I configured the EncodingClient.cmd, I got an audio message as well, I was in another room when I heard it :)

However, the Job completed (or so I thought), and I had to "kill" everything, as Abort didn't work, and start the Job again, and it still had 6 chunks to go...weird.

And the server name text is still "not red".

NOTE:-

There's a new Errors tab in the Encoding Server window, which shows all the errors that have occurred, but there doesn't seem to be a way to clear them....

One way to clear the error logs, but it only seems to change the server name back to green, you need to go to the Temp folder, and to the job#'s folder, then to the chunks folder, scroll ALL the way down to the bottom, and delete the "errors" & processed" files.

Maybe there needs to be an easier way to clear the error(s)

Atak_Snajpera
9th June 2024, 08:39
If I were you I would investigate why x265_x64.exe didn't encode all frames. For start I would just use regular x265 builds...

Guest
9th June 2024, 09:00
If I were you I would investigate why x265_x64.exe didn't encode all frames. For start I would just use regular x265 builds...

I doubt that has too much to do with it, because I was having errors weeks ago.

Have tried several std & modded builds.

But it was cool to see your error msg .cmd work :)

Atak_Snajpera
9th June 2024, 09:04
You are using builds which do not correctly show progress. Why do you even bother with those modded x265? I think I will have to block those just to be sure that user is not wasting my time with false error reports.

Guest
9th June 2024, 09:17
You are using builds which do not correctly show progress. Why do you even bother with those modded x265? I think I will have to block those just to be sure that user is not wasting my time with false error reports.

It shows more detail, elsewhere...

There are some more advanced encoding options with the modded builds.

Don't take yet another choice away from the user !!

It's NOT wasting your time !!! I purely posted that error thing, to prove it works...thats all !!!

essential
15th June 2024, 19:45
I did a search but my terms are broad so I didn't find anything exactly so sorry if this has been answered before. I'm on a new machine and using RipBot for the first time. It can encode extremely fast, but multiple CPU cores are hitting around 100. Is there a way to make RipBot run slower, or limit the performance? Like use 80% of CPU instead of 100% or something? I couldn't find anything in settings to I don't know this is possible. I don't mind if an encode takes longer, just trying to keep temps down slightly.

chainring
15th June 2024, 22:34
@essential,

Easiest way is to modify your Windows power plan.

Control Panel > Hardware and Sound > Choose a power plan > Change plan settings (I use "Balanced") > Change advanced power settings > Processor power management > Maximum processor state > set to 99%.

The six machines I have participating in DE mode used to sound like a vortex, all spun up to 100%. Now, with them all at 99%, it's nice and quiet and I didn't lose any speed.

essential
16th June 2024, 02:40
@essential,

Easiest way is to modify your Windows power plan.

Control Panel > Hardware and Sound > Choose a power plan > Change plan settings (I use "Balanced") > Change advanced power settings > Processor power management > Maximum processor state > set to 99%.

The six machines I have participating in DE mode used to sound like a vortex, all spun up to 100%. Now, with them all at 99%, it's nice and quiet and I didn't lose any speed.

Nice, thank you. I will try that.

rlev11
18th June 2024, 02:30
@essential,

Easiest way is to modify your Windows power plan.

Control Panel > Hardware and Sound > Choose a power plan > Change plan settings (I use "Balanced") > Change advanced power settings > Processor power management > Maximum processor state > set to 99%.

The six machines I have participating in DE mode used to sound like a vortex, all spun up to 100%. Now, with them all at 99%, it's nice and quiet and I didn't lose any speed.

Agree with this, have done this in the past and I agree, didn't notice any real encoding performance drop. maybe a few fps at most. Will really help lowering cpu temperatures

What setting it to 99% does is limit the cpu's from going into their turbo or boost modes. Will just run at the stock max frequency.

Should be able to find instructions on the web, I don't remember now anymore how I did it, but I ended up making 2 power plan desktop shortcuts, 1 for 100% and 1 for 99%. made it easy to switch back and forth just by clicking the shortcut.

Atak_Snajpera
19th June 2024, 07:59
Will just run at the stock max frequency.
Exactly at 99% of the stock CPU clock. (on my cpu)
https://i.postimg.cc/L6tKbwXj/Untitled-1.png

I wonder if the same rule applies to for example Intel 14900k where base clock is just 2GHz?

userx
30th June 2024, 12:48
Is there a setting to switch off attachment parsing in general?

Encountered issues with attached fonts and whitespaces, so MKVExtract would fail.


MKVExtract.json
[
"<REMOVED>",
"tracks",
"1:D:\\Temp\\RipBot264temp\\job1082\\1_audio_German_DEFAULT.aac",
"2:D:\\Temp\\RipBot264temp\\job1082\\2_audio_Japanese.aac",
"3:D:\\Temp\\RipBot264temp\\job1082\\1_subtitles_German_DEFAULT_FORCED.ass",
"4:D:\\Temp\\RipBot264temp\\job1082\\2_subtitles_German_DELAY4460ms.ass",
"5:D:\\Temp\\RipBot264temp\\job1082\\3_subtitles_English_DELAY4410ms.ass",
"chapters",
"-s",
"D:\\Temp\\RipBot264temp\\job1082\\chapters.txt",
"attachments",
"1:D:\\Temp\\RipBot264temp\\job1082\\AmazonEmber_Bd.ttf",
"2:D:\\Temp\\RipBot264temp\\job1082\\AmazonEmber_BdIt.ttf",
"3:D:\\Temp\\RipBot264temp\\job1082\\AmazonEmber_Rg.ttf",
"4:D:\\Temp\\RipBot264temp\\job1082\\AmazonEmber_RgIt.ttf",
"5:D:\\Temp\\RipBot264temp\\job1082\\Tahoma.ttf",
"6:D:\\Temp\\RipBot264temp\\job1082\\Georgia.ttf",
"7:D:\\Temp\\RipBot264temp\\job1082\\Times",
"New",
"Roman.ttf",
"8:D:\\Temp\\RipBot264temp\\job1082\\Times",
"New",
"Roman",
"Bold.ttf",
"9:D:\\Temp\\RipBot264temp\\job1082\\Trebuchet",
"MS.ttf"
]


attachments.csv

"font/ttf";"D:\Temp\RipBot264temp\job1082\AmazonEmber_Bd.ttf"
"font/ttf";"D:\Temp\RipBot264temp\job1082\AmazonEmber_BdIt.ttf"
"font/ttf";"D:\Temp\RipBot264temp\job1082\AmazonEmber_Rg.ttf"
"font/ttf";"D:\Temp\RipBot264temp\job1082\AmazonEmber_RgIt.ttf"
"font/ttf";"D:\Temp\RipBot264temp\job1082\Tahoma.ttf"
"font/ttf";"D:\Temp\RipBot264temp\job1082\Georgia.ttf"
"application/x-truetype-font";"D:\Temp\RipBot264temp\job1082\Times New Roman.ttf"
"application/x-truetype-font";"D:\Temp\RipBot264temp\job1082\Times New Roman Bold.ttf"
"application/x-truetype-font";"D:\Temp\RipBot264temp\job1082\Trebuchet MS.ttf"

Atak_Snajpera
30th June 2024, 13:58
Send me mkv sample containing those attachments for testing purposes.

Guest
6th July 2024, 04:37
A month on since that last update, and I am still getting random AV alerts on Encoding Server, which can be a pain when it's quarantined mid encode (like it just did).

But other than that, things are running pretty sweet, despite what some say....

Atak_Snajpera
7th July 2024, 08:08
A month on since that last update, and I am still getting random AV alerts on Encoding Server, which can be a pain when it's quarantined mid encode (like it just did).

But other than that, things are running pretty sweet, despite what some say....

Can't you just add encodingserver.exe to some whitelist in your AV?

Guest
8th July 2024, 12:32
Can't you just add encodingserver.exe to some whitelist in your AV?

I have Googled how to do this with Defender, and it's not as easy as it sounds.

The problem is that when you get a notification that there's a problem, you can "Allow" it, but this isn't a permanent "Allow" like most other alerts...it just likes to repeat, every day or so.

LigH
8th July 2024, 13:20
Windows Defender should support exclusions (https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26).

Guest
8th July 2024, 13:36
Windows Defender should support exclusions (https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26).

Thanks LigH,

I got close to those settings, but didn't find that one...I will have to remember that.

Cheers.

rlev11
9th July 2024, 01:22
What I did was open Defender, Then Virus and threat protection, Manage settings under Virus&threat protection settings, scroll to bottom and hit Add or remove exclusions under Exclusions, +add an exclusion.

I just excluded the ripbot folder. You can exclude files of folders from there.

Guest
9th July 2024, 01:33
What I did was open Defender, Then Virus and threat protection, Manage settings under Virus&threat protection settings, scroll to bottom and hit Add or remove exclusions under Exclusions, +add an exclusion.

I just excluded the ripbot folder. You can exclude files of folders from there.

Yep, that's what I ended up doing, I just wasn't 100% sure where this option was.

But we really shouldn't need to do this, it shouldn't have happened in the first place :(

Guest
12th July 2024, 05:34
Hi Atak,

An interesting request (problem / dilemma)...

I have some .mov files created with DaVinci Resolve (below, MediaInfo)

I can load them into RB, but they do not encode with DE. (haven't tried them in single mode)

Not sure if it's an x265 limitation (or it needs specific commands)

x265 [FLAW]: unable to open input file <->

OR

y4m [FLAW]: bad sequence header magic
x264 [FLAW]: could not open input file `-'

But how could I retain that very high Bitrate ??

Video
ID : 1
Format : CineForm
Codec ID : CFHD
Codec ID/Info : CineForm High-Definition (HD) wavelet codec
Duration : 1 h 20 min
Bit rate mode : Variable
Bit rate : 1 110 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 2.230
Stream size : 621 GiB (100%)
Encoded date : 2024-07-11 03:50:31 UTC
Tagged date : 2024-07-11 03:50:31 UTC
Color primaries : Display P3
Transfer characteristics : PQ
Matrix coefficients : BT.709

LigH
12th July 2024, 09:41
Not sure what "DE" means in your case...

DaVinci has a CineForm codec to export videos in CineForm HD format. But RipBot cannot use the codec which is built into DaVinci to decode that CineForm video again; you need a source filter for Avisynth which is able to decode the CineForm HD format, which may not be the case on your system. So you can probably not use the CineForm HD video format as intermediate exchange format, but a different one which is also supported by Avisynth source filters.

Juha
24th July 2024, 22:54
anyone getting a microsoft virus scan come up when updating to 1.27.3?

Hello, how can one obtain 1.27.3? In the starting post, 1.26.0 is the latest. Though auto-update has updated Ripbot into version 1.26.1 at some point but doesn't update further anymore.

Guest
25th July 2024, 02:58
Hello, how can one obtain 1.27.3? In the starting post, 1.26.0 is the latest. Though auto-update has updated Ripbot into version 1.26.1 at some point but doesn't update further anymore.

Your first post in almost exactly 5 years....

You need to read thru this thread a little more thoroughly, as this virus alert has been discussed (but you've edited your original post)

Also, if you want v1.27.3 check my "sig".

As for auto updates, there is a BIG issue, and is not connecting to the update url.

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

Atak_Snajpera
25th July 2024, 13:17
Check this website
https://www.isitdownrightnow.com/atak-snajpera.5v.pl.html

Guest
25th July 2024, 13:28
Check this website
https://www.isitdownrightnow.com/atak-snajpera.5v.pl.html

Appears to back up, now.

Juha
27th July 2024, 00:06
Your first post in almost exactly 5 years....

You need to read thru this thread a little more thoroughly, as this virus alert has been discussed (but you've edited your original post)

Also, if you want v1.27.3 check my "sig".

As for auto updates, there is a BIG issue, and is not connecting to the update url.

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

I haven't had any virus alerts.

Thanks for the latest version. It doesn't seem to be available in any official website or link directly? This page http://atak-snajpera.5v.pl/ (looks official page to me) only mentions old v1.19.2.

In addition to this I also have another issue - Deinterlace option is completely greyed out. I have a video I should deinterlace but that option is not available.

Guest
27th July 2024, 01:40
I haven't had any virus alerts.

Thanks for the latest version. It doesn't seem to be available in any official website or link directly? This page http://atak-snajpera.5v.pl/ (looks official page to me) only mentions old v1.19.2.

In addition to this I also have another issue - Deinterlace option is completely greyed out. I have a video I should deinterlace but that option is not available.

You might get virus alerts when using v1.27.3, tho. If you do, just go down to rlev11's post on how to "fix" that.

The link on page 1 should work again, now, and you could have also got v1.26.0 from here:-

https://www.videohelp.com/software/RipBot264

I still can't for the life of me, understand why Atak doesn't update page 1 & VideoHelp....(I need to bite my tongue, here)

As for the deinterlacing, even tho you might think it need's it, if RipBot264 doesn't think it does, then there's a problem.

You'd probably need to create a custom script so you can force it to, or use a different app.

supersnakeyez
27th July 2024, 04:53
i'm using ripbot264 version 1.27.3 and lately no matter what I try some movies I try to encode from mkv to mp4 don't seem to encode properly and are not recognized by my tv. After movie encodes I transfer file into my portable hard drive as I always do and my tv will say file unsupported. Other movies encode fine it's just some of the other movies and tv episodes that don't work.

Guest
27th July 2024, 04:57
i'm using ripbot264 version 1.27.3 and lately no matter what I try some movies I try to encode from mkv to mp4 don't seem to encode properly and are not recognized by my tv. After movie encodes I transfer file into my portable hard drive as I always do and my tv will say file unsupported. Other movies encode fine it's just some of the other movies and tv episodes that don't work.

Interesting, could you provide a small sample of one of the movies that "don't work" ??

So, it all worked OK before v1.27.3 ??

supersnakeyez
27th July 2024, 05:00
Interesting, could you provide a small sample of one of the movies that "don't work" ??

So, it all worked OK before v1.27.3 ??

I noticed problem after installing to newer versions from 1.26 so I did fresh installs of newer versions and problem is still there. I'm not sure on how to provide small sample of movies.

supersnakeyez
27th July 2024, 05:25
I can also tell which movies will not encode properly by opening file with ripbot and it will tell me please wait probing file and it will take 15 sec or longer to probe file.

supersnakeyez
27th July 2024, 08:24
https://www.mediafire.com/file/eve88k18e6a09f8/kingdom.of.the.planet.of.the.apes.2024.1080p.web.h264-ethel.sample.zip/file

This is the sample

Guest
27th July 2024, 09:36
https://www.mediafire.com/file/eve88k18e6a09f8/kingdom.of.the.planet.of.the.apes.2024.1080p.web.h264-ethel.sample.zip/file

This is the sample

Great movie, btw :)

Well done..

OK, to recap, encoding this sample (or the movie the sample is from) from .mkv to .mp4 using x264 doesn't play on your TV with v1.27.3, BUT used to with v1.26.0, correct ??

Why .mp4, not staying with .mkv, and maybe why still using x264 is your TV doesn't support x265 HEVC....

What make, model & age is your TV, just for interest sake ??

supersnakeyez
27th July 2024, 10:15
Well done..

OK, to recap, encoding this sample (or the movie the sample is from) from .mkv to .mp4 using x264 doesn't play on your TV with v1.27.3, BUT used to with v1.26.0, correct ??

Why .mp4, not staying with .mkv, and maybe why still using x264 is your TV doesn't support x265 HEVC....

What make, model & age is your TV, just for interest sake ??

I tend to encode to mp4 since it is a more friendly codec for most tv's and is more widely used. I noticed this problem even on 1.26 so I really don't know what is going on. I have been using Shutter Encoder because of this problem. My tv is a Samsung 4k and is a little over 2 years old and supports all types of codecs. Most newer movies do not work properly with ripbot so like I stated I have been forced to use Shutter encoder which has been flawless thus far.

Guest
27th July 2024, 10:21
I tend to encode to mp4 since it is a more friendly codec for most tv's and is more widely used. I noticed this problem even on 1.26 so I really don't know what is going on. I have been using Shutter Encoder because of this problem. My tv is a Samsung 4k and is a little over 2 years old and supports all types of codecs. Most newer movies do not work properly with ripbot so like I stated I have been forced to use Shutter encoder which has been flawless thus far.

Have you tried .mkv, and is the Samsung a 4K TV ??

Still strange that you are having these issues, tho.

But I have found one problem with encoding that complete sample as an x264 .mp4...there's an issue with one of the subtitles, if I remove the troublesome one, it's fine, but that actually caused a "proper" ERROR, and didn't complete the encode at all !!!!

So I have encoded several variants that I try on my LG TV a little later.

Have you tried StaxRip, or even Handbrake ??

supersnakeyez
27th July 2024, 10:24
Have you tried .mkv, and is the Samsung a 4K TV ??

Still strange that you are having these issues, tho.

But I have found one problem with encoding that complete sample as an x264 .mp4...there's an issue with one of the subtitles, if I remove the troublesome one, it's fine, but that actually caused a "proper" ERROR, and didn't complete the encode at all !!!!

So I have encoded several variants that I try on my LG TV a little later.

Have you tried StaxRip, or even Handbrake ??

I use handbrake as well and it works fine but only problem I have with handbrake is the inability to set my file size like ripbot gives you the option to do. Hmmm I wonder if the subs are what's causing the issues.

supersnakeyez
27th July 2024, 10:29
Is there a way to completely remove subs from mkv files before encoding with ripbot?

Guest
27th July 2024, 10:36
Is there a way to completely remove subs from mkv files before encoding with ripbot?

You can do it with MKVToolNix, OR after loading the file into RB, you can remove/disable under the Subtitles tab (MKVToolNix is easier, and it can also "freshen up the video)

So here's the error msg I got, (and it ONLY happened when encoding to .mp4

D:\Downloads 06-06-24\kingdom.of.the.planet.of.the.apes.2024.1080p.web.h264-ethel.sample>"D:\RipBot264v1.27.3\EncodingClient.exe" "C:\Temp\RipBot264temp\job1\job1_EncodingClient.meta"

D:\Downloads 06-06-24\kingdom.of.the.planet.of.the.apes.2024.1080p.web.h264-ethel.sample>"D:\RipBot264v1.27.3\tools\mp4box\mp4box.exe" -tmp "C:\Users\Geoff\AppData\Local\Temp" -add "C:\Temp\RipBot264temp\job1\video.264":name="" -fps 24 -add "C:\Temp\RipBot264temp\job1\Encoded_Audio_1.aac":lang=eng:name="" -mpeg4 -add "C:\Temp\RipBot264temp\job1\1_subtitles_English_DEFAULT_FORCED.srt":lang=eng:name="English (forced)":font=Tahoma -add "C:\Temp\RipBot264temp\job1\2_subtitles_English.srt":lang=eng:name="English":font=Tahoma -add "C:\Temp\RipBot264temp\job1\3_subtitles_English.srt":lang=eng:name="English (CC)":font=Tahoma -add "C:\Temp\RipBot264temp\job1\4_subtitles_Spanish;Castilian.srt":lang=spa:name="Espaņol (Latinoamérica)":font=Tahoma -add "C:\Temp\RipBot264temp\job1\5_subtitles_French.srt":lang=fre:name="Franįais (Canada)":font=Tahoma -add "C:\Temp\RipBot264temp\job1\6_subtitles_French.srt":lang=fre:name="Franįais (Canada) (SDH)":font=Tahoma -new "e:\kingdom of the planet of the apes 2024 1080p web h264-ethel sample.mp4"
AVC-H264 import - frame size 1918 x 802 at 24.000 FPS

AVC Import results: 1485 samples (4495 NALUs) - Slices: 13 I 681 P 791 B - 1499 SEI - 13 IDR
AAC ADTS import - sample rate 48000 - MPEG-4 audio - 6 channels

[TTXT Import] Input C:\Temp\RipBot264temp\job1\1_subtitles_English_DEFAULT_FORCED.srt does not look like a supported text format - ignoring
Error importing C:\Temp\RipBot264temp\job1\1_subtitles_English_DEFAULT_FORCED.srt:lang=eng:name=English (forced):font=Tahoma: Feature Not Supported
-------------------------

Elapsed Time: 00h:04m:37s

PS:- Atak, if you read this, I am using a standard unmodded RipBot264 !!!!!

supersnakeyez
27th July 2024, 10:41
Funny that it didn't encode for you. When I encode any troublesome file it completes like normal but will show as an unsupported file on my portable hard drive when connected to my tv. I never get an error after the encode completes but sucks really because I won't know file is unsupported until after I transfer it to my portable hard drive and hook it up to my tv.

Guest
27th July 2024, 10:53
Funny that it didn't encode for you. When I encode any troublesome file it completes like normal but will show as an unsupported file on my portable hard drive when connected to my tv. I never get an error after the encode completes but sucks really because I won't know file is unsupported until after I transfer it to my portable hard drive and hook it up to my tv.

Maybe you need to send a sample of the unsupported encodes...

I just test played all the files, and they played with no issue.

So there must be some annoying issue at your end.

Atak_Snajpera
27th July 2024, 13:49
First subtitle is just an empty file. It contains 3 bytes of data( Byte Order Mark). MP4 muxer does not like that. MKV is more forgiving.
https://i.postimg.cc/rwwLzZ3j/Capture3.png
https://i.postimg.cc/6pXySK73/Capture1.png
https://i.postimg.cc/ZR2qLztJ/Capture2.png

Also I do not like that resolution in your file!

Width : 1 918 pixels
Height : 802 pixels

This might be a reason why file is reported as unsupported. Resize to 1920x800 before encoding. General rule is that width and height should be divisible by 16.

Guest
27th July 2024, 15:16
Also I do not like that resolution in your file!

Width : 1 918 pixels
Height : 802 pixels

This might be a reason why file is reported as unsupported. Resize to 1920x800 before encoding. General rule is that width and height should be divisible by 16.

FYI, all my tests were at this resolution, and played fine on my TV.

Atak_Snajpera
27th July 2024, 15:33
FYI, all my tests were at this resolution, and played fine on my TV.

But You are not the one who has problems with the file...

supersnakeyez
27th July 2024, 17:59
Thanks for the reply's. I'll try resizing technique if I come across another troublesome movie.

supersnakeyez
27th July 2024, 19:19
Funny thing about resolution size is that only ripbot seems to have problems while other programs like handbrake or shutter encode don't. I prefer ripbot but if problems persist I might have to use those other programs instead ��

Juha
27th July 2024, 21:11
As for the deinterlacing, even tho you might think it need's it, if RipBot264 doesn't think it does, then there's a problem.

You'd probably need to create a custom script so you can force it to, or use a different app.

I uploaded the video here in case someone is willing to investigate: https://www.mediafire.com/file/m7b0oldwibvyx45/pieni_testi.mkv/file

There are two issues:
- Ripbot doesn't allow to deinterlace
- Duration of the video is detected incorrectly. Ripbot halves its duration. Duration should be 5 min but now it's 2 min 30 s.

john33
27th July 2024, 21:52
I uploaded the video here in case someone is willing to investigate: https://www.mediafire.com/file/m7b0oldwibvyx45/pieni_testi.mkv/file

There are two issues:
- Ripbot doesn't allow to deinterlace
- Duration of the video is detected wrongly. Ripbot halves its duration. Duration should be 5 min but now it's 2 min 30 s.

Can't help with Ripbot, but your clip is at 25fps and it is progressive, ie, not interlaced, so the metadata is incorrect.

slalom
27th July 2024, 22:40
I uploaded the video here in case someone is willing to investigate: https://www.mediafire.com/file/m7b0oldwibvyx45/pieni_testi.mkv/file

There are two issues:
- Ripbot doesn't allow to deinterlace
- Duration of the video is detected incorrectly. Ripbot halves its duration. Duration should be 5 min but now it's 2 min 30 s.
Problem with your video

Select no audio
Press Avisynth button, go to Output speed, select 25 fps
Encode the video
Use mkvmerge to manually join the audio

Guest
28th July 2024, 01:21
Can't help with Ripbot, but your clip is at 25fps and it is progressive, ie, not interlaced, so the metadata is incorrect.

MediaInfo report on original clip:-

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Format settings, GOP : M=2, N=13
Codec ID : V_MPEG4/ISO/AVC
Duration : 5 min 0 s
Bit rate mode : Variable
Bit rate : 15.0 Mb/s
Maximum bit rate : 16.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan type, store method : Separated fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.289
Stream size : 537 MiB (96%)
Default : Yes
Forced : No
IrisFNumber : 2.000000

MediaInfo report on encoded clip (using slalom's suggestion):-


Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 5 min 0 s
Bit rate mode : Variable
Bit rate : 6 285 kb/s
Maximum bit rate : 25.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.121
Stream size : 225 MiB (100%)
Writing library : x264 core 164 r3190 7ed753b
Encoding settings : tl:dr
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709


I couldn't even load it until I removed the audio track :confused:

supersnakeyez
28th July 2024, 05:37
In an update the movie worked fine after removing subtitles from file before encoding and left resolution untouched. I removed the forced subtitles and foreign subtitles as well and just left the english subtitles intact.

Guest
28th July 2024, 06:27
In an update the movie worked fine after removing subtitles from file before encoding and left resolution untouched. I removed the forced subtitles and foreign subtitles as well and just left the english subtitles intact.

So you're all sorted now, then ??

supersnakeyez
28th July 2024, 07:44
So you're all sorted now, then ??

Hopefully but will try other problematic movies just to make sure.

Guest
28th July 2024, 07:53
Hopefully but will try other problematic movies just to make sure.

Well, you know where to go, if there's a next time :)

Strange it was subtitles, tho. :confused:

slalom
28th July 2024, 08:02
I couldn't even load it until I removed the audio track :confused:
So you encoded it successfully?

Guest
28th July 2024, 08:04
So you encoded it successfully?

Once I removed the troublesome subtitles, yes :)

supersnakeyez
28th July 2024, 08:44
Well, you know where to go, if there's a next time :)

Strange it was subtitles, tho. :confused:

thanks for the input and help bud much appreciated

Atak_Snajpera
28th July 2024, 13:22
I uploaded the video here in case someone is willing to investigate: https://www.mediafire.com/file/m7b0oldwibvyx45/pieni_testi.mkv/file

There are two issues:
- Ripbot doesn't allow to deinterlace
- Duration of the video is detected incorrectly. Ripbot halves its duration. Duration should be 5 min but now it's 2 min 30 s.

Your file is incorrectly muxed.
Remux that file with added fps value
https://iili.io/dI4lZoQ.png

Guest
28th July 2024, 13:29
Your file is incorrectly muxed.

That's just a different way to what slalom suggested.

Atak_Snajpera
28th July 2024, 13:42
That's just a different way to what slalom suggested.
If you fix fps directly in mkv container then audio will work fine as well. Deinterlace option will also be available in ripbot.
That's the proper way of dealing with incorrectly created mkvs.

slalom
28th July 2024, 16:22
Didn't know that, good tip!

Juha
28th July 2024, 20:39
Remuxing and setting 25fps manually in mkvmerge seemed to help. Thanks for everyone.

Guest
29th July 2024, 03:56
I have noticed that I am getting random glitches in some of recent encodes.

I just finished GoT, and in all those episodes, I only had 1 or 2 instances, in the early going, but I figured out what was causing that, and didn't have any problems.

I have started encoding some movies, and they have returned.

I'd be interested in what part of the process could cause this, would it be the initial demuxing, or the encoding (x265 / ffmpeg, etc) or the muxing of all the chunks

Here's a sample of what I am talking about:- (thanks to the segment feature of RB, made this easy :) )

Note:- the originals are good to go....

https://www.mediafire.com/file/lr958slgqmp0l2d/glitches.7z/file 148Mb

Atak_Snajpera
29th July 2024, 10:34
Intel CPU?

Guest
29th July 2024, 10:41
Intel CPU?

I'm using a Ryzen 7950X....

supersnakeyez
2nd August 2024, 05:22
Is 1.27.3 still latest version?

Guest
2nd August 2024, 05:46
Is 1.27.3 still latest version?

Yes it is :- (as of 08-06-2024)

supersnakeyez
2nd August 2024, 10:02
Yes it is :- (as of 08-06-2024)

I would rely on your signature showing version available but no longer see it there. Thx for confirming though

Guest
2nd August 2024, 11:06
I would rely on your signature showing version available but no longer see it there. Thx for confirming though

Have no idea why that disappeared, but thank you for letting me know.

However, updates are few & far between. :(

I might have been hacked, as most of my info was changed.

supersnakeyez
3rd August 2024, 05:20
Have no idea why that disappeared, but thank you for letting me know.

However, updates are few & far between. :(

I might have been hacked, as most of my info was changed.

damn that sucks if that happened to you. hope all is good tho

mikehbkwm
6th August 2024, 02:32
Have a weird situation. I've been encoding DVD's (MPEG2) or Blu-ray (h.264) and upscaling them to HEVC 4K. Sometimes there's no issues when I playback in Plex, but other times when I go to play back the movie Plex states: Playback Stopped, Not enough disk space to convert this item. Utilizing Apple TV's as the client and never had this issue before.

Another example: Return of the Jedi (2006 Limited Edition DVD - GOUT) - upscaled to 4K HEVC with subtitles, and plays back in Plex no problems.
Star Wars (2006 Limited Edition DVD - GOUT) - upscaled to 4K HEVC with subtitles and get the playback stopped message.

I'm truly baffled as it doesn't make sense why one encode would work and the next one does not.

Any thoughts on this?

RipBot264 v1.27.3 (08-06-24)

Guest
6th August 2024, 05:39
Have a weird situation. I've been encoding DVD's (MPEG2) or Blu-ray (h.264) and upscaling them to HEVC 4K. Sometimes there's no issues when I playback in Plex, but other times when I go to play back the movie Plex states: Playback Stopped, Not enough disk space to convert this item. Utilizing Apple TV's as the client and never had this issue before.

Another example: Return of the Jedi (2006 Limited Edition DVD - GOUT) - upscaled to 4K HEVC with subtitles, and plays back in Plex no problems.
Star Wars (2006 Limited Edition DVD - GOUT) - upscaled to 4K HEVC with subtitles and get the playback stopped message.

I'm truly baffled as it doesn't make sense why one encode would work and the next one does not.

Any thoughts on this?

RipBot264 v1.27.3 (08-06-24)

Not sure why you're upscaling DVD's to 4K ?!?!?!, but each to their own, I do some stuff that others don't understand !!!!

Could it be PLEX itself ???, it must be trying to decode stuff, and it's clearly running out of room, is there a setting for this "Not enough disk space" ??

https://www.youtube.com/watch?v=ZUfyK4ShsUk

I don't use PLEX, so good luck.

Guest
6th August 2024, 05:44
I would be very interested to know how many Threadripper owners are using RipBot successfully, with Distributed Encoding mainly.

Can it be "loaded up" to encode @ close to 100% CPU usage.

Anyone that own's a Ryzen 7950X (and 5950X's have a similar issue) will know what I'm on about, need to have specific encoder commands to get the best out of them, surely a CPU with more than 16 cores will suffer the same "dropping off a cliff" with especially 4K encodes.

I would suggest that the upcoming 9950X's will also be the same.

All and any comments will be appreciated :)

rlev11
6th August 2024, 17:56
So a couple years ago I ran tests with doing some 4k encoding on my 5950x and 7950x to see what the best way the "cripple" them was. As a review, a 7950x running full ran at 4.5fps, using aviprefetch set to 12 was 8.27fps, using affinity mask to run essentially as a 7900x was 8.41fps. Actually the best way was to using affinity mask to split the 7950x in half running essentially as 2 separate 8 core machines which had a combined fps as 9.73. I don;t remember if this was with mdegrain or smdegrain, but i don't think the percentages changed any.

So my GUESS would be for a threadripper with 24 or 32 actual cores, the best way to fully load them up would be to run them broken up into either 8 or 12 cpu separate servers when doing 4k encodes using affinity mask and use distributed encoding.

My testing also indicated when doing 1080p and below, that separating out the 16 core Ryzens into dual 8 cores had a very significant HIT in performance (about 30% lower). So I would think one would want to run a large core threadripper with all cores active, and probably would see a performance gain running multiple servers in this configuration

Atak_Snajpera
6th August 2024, 19:50
can't wait to see the same tests with latest Zen5 cpus. I wonder if larger L3 cache in TR would help in this case?

rlev11
6th August 2024, 20:05
can't wait to see the same tests with latest Zen5 cpus.

As soon as they are released and drop from the initial above retail price I will find out.

I also found that encoding 4k with the 7950x with avx-512 in the encoding profile helps a little bit if the cpu is running all 16 avi-synth prefetch threads, but still no where near the performance with the avi-synth prefetch threads set to 12. It's just not AMD, my 14700 I had to adjust the prefetch threads down to 12 as well even with the P and E cores adding up to 20.

Like we have surmised, there is some buffer that just gets overloaded with all the additional bits in a 4k stream.

Atak_Snajpera
6th August 2024, 21:13
Do you see the same problem even with wide aspect 4k content. For example 3840x1600 (2.40:1)

rlev11
6th August 2024, 21:44
Do you see the same problem even with wide aspect 4k content. For example 3840x1600 (2.40:1)

yes , but it is not as bad. Issue is worse at a full 3840x2160 and does get better as the aspect ratio gets "thinner", but not to the full speed of a crippled 16 core cpu. I always do an autocrop, so i don't encode black space.. I don't remember if the level of degraining plays any part in it as well.

I haven't really done any real bench marking lately as those numbers were from Jan 2023. Now I'm just noticing if I forget to do my 4k encoding server script that the numbers look down, then a quick swap of the server and things are back to normal.

I'll see if over the next week or so I can run some tests again on different aspect ratio clips with different parameters of both mdegrain and smdegrain scripts. One thing I really haven't tested is if not adding any degraining, just crop and go, if that makes any difference. Since it is avisynth prefetch threads, it might not.

It would be nice to figure out eventually exactly what is causing the issue, even if it can't easily be fixed.

Guest
7th August 2024, 01:40
yes , but it is not as bad. Issue is worse at a full 3840x2160 and does get better as the aspect ratio gets "thinner", but not to the full speed of a crippled 16 core cpu. I always do an autocrop, so i don't encode black space.. I don't remember if the level of degraining plays any part in it as well.

I haven't really done any real bench marking lately as those numbers were from Jan 2023. Now I'm just noticing if I forget to do my 4k encoding server script that the numbers look down, then a quick swap of the server and things are back to normal.

That is why I have setup 2 RipBot's, one for 4K and its settings & scripts, and another for 1080p and under, each uses a separate temp & encodes folder works well, and you don't have to "remember" to swap thing between different resolutions. And even tho I haven't tested this, you could possibly run 2 instances of RB....

I'll see if over the next week or so I can run some tests again on different aspect ratio clips with different parameters of both mdegrain and smdegrain scripts. One thing I really haven't tested is if not adding any degraining, just crop and go, if that makes any difference. Since it is avisynth prefetch threads, it might not.

It would be nice to figure out eventually exactly what is causing the issue, even if it can't easily be fixed.

I just don't understand the purpose of cropping !!!

I did a couple of basic tests just the other day, and did a crop & no crop sample 4K run, and when played on my TV, it looks exactly the same !!!!

And my understanding is, don't Threadrippers have some form of NUMA, where the Ryzen's don't, per se.

If that's the case, then they can be "split" into 2 separate encoders.

But as I said to rlev11 in a PM the other day, for the price of even a budget Threadripper 7960X, you could almost have 3 basic 7950X's, and that would way more productive for ppl using DE

rlev11
7th August 2024, 19:18
So got a chance to run some test in the most controlled manner i could think of. Did a test with a GOT episode at 3840x2160, ST Strange New Worlds at 3840x1600, and The Wire at 1920x1080 just to see how a crippled 7950x reacts to 1080p. Each 7950x fps score was on Chunk 5 and a comparison 7900x score from Chunk6. Dual server 7950x scores were from chunks 5 and 6 combined. Resultant spreadsheet is linked below.

My take on what I saw this time. AVX512 on the 7900 and 7950 makes very little difference, and in most cases actually hinders performance a bit.
Anything more than 12 avisynth-prefetch threads just kills 3840x2160, but does get much less a difference at 3840x1600. I would imagine the percentages difference for say 1:1.85 ,1:2.0, and 1:2.35 would fall in line somewhere in between.
SMdegrain is just so much faster than mdegrain3 especially in anything 4k.
Running a 7950 as a pseudo 7900 using affinity mask is NOT the way to go.
Though the actual numbers will be different, I would imagine that the best way to cripple a 7950x would also be the best way to cripple a 5950x. Intels would probably be best using the lower avisynth prefetch threads of 12. No idea how affinity mask would even work with the whole E and P cores
Was actually surprised by the numbers of turning a 7950x into a pseudo dual server 7700x (column G) in Ripbot.


https://docs.google.com/spreadsheets/d/1xhiNHSmiG73ZzqeeJW3eY5AJr0AhEvLD/edit?usp=sharing&ouid=106754144954314069404&rtpof=true&sd=true

Guest
8th August 2024, 01:02
So got a chance to run some test in the most controlled manner i could think of. Did a test with a GOT episode at 3840x2160, ST Strange New Worlds at 3840x1600, and The Wire at 1920x1080 just to see how a crippled 7950x reacts to 1080p. Each 7950x fps score was on Chunk 5 and a comparison 7900x score from Chunk6. Dual server 7950x scores were from chunks 5 and 6 combined. Resultant spreadsheet is linked below.

My take on what I saw this time. AVX512 on the 7900 and 7950 makes very little difference, and in most cases actually hinders performance a bit.
Anything more than 12 avisynth-prefetch threads just kills 3840x2160, but does get much less a difference at 3840x1600. I would imagine the percentages difference for say 1:1.85 ,1:2.0, and 1:2.35 would fall in line somewhere in between.
SMdegrain is just so much faster than mdegrain3 especially in anything 4k.
Running a 7950 as a pseudo 7900 using affinity mask is NOT the way to go.
Though the actual numbers will be different, I would imagine that the best way to cripple a 7950x would also be the best way to cripple a 5950x. Intels would probably be best using the lower avisynth prefetch threads of 12. No idea how affinity mask would even work with the whole E and P cores
Was actually surprised by the numbers of turning a 7950x into a pseudo dual server 7700x (column G) in Ripbot.


https://docs.google.com/spreadsheets/d/1xhiNHSmiG73ZzqeeJW3eY5AJr0AhEvLD/edit?usp=sharing&ouid=106754144954314069404&rtpof=true&sd=true

Interesting results, and a bit of time spent doing that :)

So all these tests were using DE on a single PC ??

Are the MDegrain & SMDegrain settings as close to each other as you could get ??? I'm thinking MD3 is a lot "stronger than SMD tr=3....and did you change the mutli thread settings for MD on page 1 ??

Also, I am currently using prefetch threads of 14, on all doing 4K encodes, even my 13900KF.

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

On another topic, I have watched several YT reviews of the new 9600X's & 9700X's, not looking too good, let's hope the "big" one's are on point, otherwise it could be a waste of money, money you could spend on a Threadripper, for example....or a couple more 7950X's.

rlev11
9th August 2024, 02:08
Interesting results, and a bit of time spent doing that :)

So all these tests were using DE on a single PC ??

Are the MDegrain & SMDegrain settings as close to each other as you could get ??? I'm thinking MD3 is a lot "stronger than SMD tr=3....and did you change the mutli thread settings for MD on page 1 ??

Also, I am currently using prefetch threads of 14, on all doing 4K encodes, even my 13900KF.

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

On another topic, I have watched several YT reviews of the new 9600X's & 9700X's, not looking too good, let's hope the "big" one's are on point, otherwise it could be a waste of money, money you could spend on a Threadripper, for example....or a couple more 7950X's.

All test runs on same computer which is my main 7950x using distributed encoding. My 7900x was in the mix for all the runs as well.

The mdegrain3 was just choosing it in the menu with strength 200, no other custom settings. This is what I used to use before switching to smdegrain for light degraning on mostly clean source material. The smdegrain custom script is what I use now on similar material and the results are comparable to my eyes.

Interesting on the 14 prefetch threads, Pretty sure back a while ago I determined that 12 was the magic number, but I will try 14 and see if that works a little better now.

Main point was to answer Atak's question a few threads above about 4k 2.40 aspect ration and how it compared. I knew what the answer was from all my encoding I have done over the years, but wanted to confirm with some hard numbers. I don't know enough about avisynth multi threading to really dig into where the bottleneck is, but maybe someone else can figure it out. It's not really a big deal to switch the encoding server on the 16 core ryzens when doing 4k using a .bat file, in fact my 3 5950's and 1 3950 that I have in my encoding farm have a startup script that loads 12 prefetch threads and I just leave them like that for everything. I only switch my main client 7950 when I do a 4k run.

Guest
9th August 2024, 02:46
All test runs on same computer which is my main 7950x using distributed encoding. My 7900x was in the mix for all the runs as well.

The mdegrain3 was just choosing it in the menu with strength 200, no other custom settings. This is what I used to use before switching to smdegrain for light degraning on mostly clean source material. The smdegrain custom script is what I use now on similar material and the results are comparable to my eyes.

Interesting on the 14 prefetch threads, Pretty sure back a while ago I determined that 12 was the magic number, but I will try 14 and see if that works a little better now.

Main point was to answer Atak's question a few threads above about 4k 2.40 aspect ration and how it compared. I knew what the answer was from all my encoding I have done over the years, but wanted to confirm with some hard numbers. I don't know enough about avisynth multi threading to really dig into where the bottleneck is, but maybe someone else can figure it out. It's not really a big deal to switch the encoding server on the 16 core ryzens when doing 4k using a .bat file, in fact my 3 5950's and 1 3950 that I have in my encoding farm have a startup script that loads 12 prefetch threads and I just leave them like that for everything. I only switch my main client 7950 when I do a 4k run.

So in reference to this post:-

https://forum.doom9.org/showthread.php?p=2005202#post2005202

Why crop ??

rlev11
9th August 2024, 15:17
So in reference to this post:-

https://forum.doom9.org/showthread.php?p=2005202#post2005202

Why crop ??

Pretty simple, Why encode the bits in the black bars. Just re-ran the strange new worlds run (Block D-17 on the spreadsheet). Doing an autocrop reducing the 3840x2160 original file to 3840x1600, at 1600 I had speeds of 18.11fps for the 7950x and 15.5 for the 7900x. The same chunks without an autocrop at 2160 they dropped to 14.18 and 12.57. That's about a 20% drop in performance...

Guest
9th August 2024, 15:27
Pretty simple, Why encode the bits in the black bars. Just re-ran the strange new worlds run (Block D-17 on the spreadsheet). Doing an autocrop reducing the 3840x2160 original file to 3840x1600, at 1600 I had speeds of 18.11fps for the 7950x and 15.5 for the 7900x. The same chunks without an autocrop at 2160 they dropped to 14.18 and 12.57. That's about a 20% drop in performance...

OK, so the way I understand that is, it removes the black bars for the encoding process, but looks exactly the same on a TV ???

rlev11
9th August 2024, 15:39
Correct, It will only encode the bits that are needed, regardless of what aspect ratio it is, even a 4:3 encode will not include the left and right bars. TVs don't care, it will always just center whatever is sent to it

Guest
9th August 2024, 15:44
Correct, It will only encode the bits that are needed, regardless of what aspect ratio it is, even a 4:3 encode will not include the left and right bars. TVs don't care, it will always just center whatever is sent to it

Thanks very much for that, like I said I very rarely crop, and if I do, I rely on the autocrop function...

So I wiil defintely start using that, and see what happens.

rlev11
9th August 2024, 16:00
The only issue I have found with an autocrop, and this only affects it when using SMdegrain (never an issue with just Mdegrain) is that occasionally the autocrop will come up with an aspect ratio that is just a bit off of a standard aspect ratio and when it goes to actually start the encode there will be an error saying something like info.txt could not be found. In this case usually just adjusting the aspect ratio by removing a few bits on top and bottom (or left and right) will clear that up. Over the last couple of years I have had maybe a half dozen encodes that whatever I did SMdegrain just would not work. In those few cases, i just ran them using regular old Mdegrain and called it a day.

In fact Strange New worlds is like this. When I do an autocrop, it detects 278 lines on the top and bottom and shows an aspect ratio of 2.394:1. This will fail the encode. I add 2 lines to the top and bottom, so it is 280 on both using the up arrows, and it will run just fine with SMdegrain. I know in the past it looks like if it comes up as 2.391 or 2.4 it is always good, but 2.394 might fail "sometimes". Just one of the quirks of using SMdegrain.... It happens too infrequently to be bothered by it

mikehbkwm
9th August 2024, 17:42
I updated server 2 with Ripbot to the latest firmware. The same thing happened once again with Plex but I've encoded 5ish movies since and it hasn't done that again. Plex is showing Direct Play on the server end no matter what, technically nothing should be transcoding and I'm not out of HDD space. Only thing I can think of, just a random issue with Ripbot...I don't know.

rlev11
9th August 2024, 18:21
I updated server 2 with Ripbot to the latest firmware. The same thing happened once again with Plex but I've encoded 5ish movies since and it hasn't done that again. Plex is showing Direct Play on the server end no matter what, technically nothing should be transcoding and I'm not out of HDD space. Only thing I can think of, just a random issue with Ripbot...I don't know.

So first off, what are the sizes of the videos you are playing? Also what are you using to do the conversion to 4k, something like Topaz?? If you are just up converting in ripbot, I doubt you are really accomplishing anything. Using a program like Topaz AI to clean the video before running it through ripbot to do the HEVC conversion is a different thing altogether and can really clean up DVD sources. Although with Topaz, just from a time standpoint, you would be better off upscaling to 1080p, convert to HEVC in ripbot, then let you TV do the upconversion from 1080p to the panel native 4k

Lots of results on that space error on google for plex. Most results center around setting your transcoding directory in the settings menu. Are all the ones failing have subtitles? There was/is a bug in plex that caused this error due to having to transcode the subtitles for proper viewing

Juha
13th August 2024, 18:34
Hi, how will Ripbot work with 3D Blu-rays? Can (or will) 3D content be converted into 2D?

Guest
14th August 2024, 01:14
Hi, how will Ripbot work with 3D Blu-rays? Can (or will) 3D content be converted into 2D?

If I recall correctly, side by side & over/under 3D movies will retain the 3D effect, BUT the MVC types WILL lose the 3D.

However, you can demux those with tsmuxer to extract the mvp track, and then run the "normal" track thru RB if you need to do some filtering (but not much), then mux everything back together again with tsmuxer to create the 3D in .m2ts.

And have to be encoded with x264 !!!

LigH
14th August 2024, 14:45
MVC (Multi-View Coding) requires support for two parallel video streams. Right now x265 is being tested to support it, but that broke ffmpeg integration for now, and there are crashes in different circumstances.

Guest
15th August 2024, 12:06
can't wait to see the same tests with latest Zen5 cpus. I wonder if larger L3 cache in TR would help in this case?

Well, the Zen 5's are out, and pretty much EVERY reviewer has said the same thing....disappointed, not worth the money to upgrade, etc, etc.

Also a complicated procedure to make the 9950X behave properly.

So, I guess we'll have to wait another couple of years to the next generation, 10950X, or whatever.

OR, "risk" a 14th Gen Intel, but maybe a recent microcode may "fix" that issue.

OR, blow the budget completely, and go for a TR. (a 7960X would be good enough)

Atak_Snajpera
15th August 2024, 12:18
I think it is safe to say that this threading issues is most likely caused by avisynth code. Something wrong with caching? Too small memory allocation?

Guest
15th August 2024, 12:24
I think it is safe to say that this threading issues is most likely caused by avisynth code. Something wrong with caching? Too small memory allocation?

What is this reply in response to ??

What about Vapoursynth ??

Atak_Snajpera
15th August 2024, 12:29
What is this reply in response to ??

What about Vapoursynth ??

Regarding number of prefetch threads which has to be reduced for 4k content to 12.

Guest
15th August 2024, 15:43
Regarding number of prefetch threads which has to be reduced for 4k content to 12.

I just thought of a test that I don't think I've ever done before, and that would be to run a 5 minute sample 4K using DE with one server, and a 5 minute chunk setting, with those Avisynth server settings, and then doing the same sample on single mode where those server settings are probably not in play.

Will they take the same time to complete ???

rlev11
15th August 2024, 23:31
I just thought of a test that I don't think I've ever done before, and that would be to run a 5 minute sample 4K using DE with one server, and a 5 minute chunk setting, with those Avisynth server settings, and then doing the same sample on single mode where those server settings are probably not in play.

Will they take the same time to complete ???


With my 7950x
So it looks like single mode uses the setting "use multiple processing threads" in the main settings window. Running GOT with Mdegrain3-200 in single mode with that set to it's default of 0 which I would take as All. After a couple minutes that settled into about 2.5 fps. If I change that setting from 0 to 12, bumped that up to 6fps after a couple minutes.

The fact that it scales up where it should be when no avisynth filters are being thrown at it, I agree it is definitely something coming from Avisynth code with some buffer being overloaded especially with full frame 16x9 4k. If you are just doing a x265 encode everything runs as expected speed wise in comparison

Guest
16th August 2024, 02:02
With my 7950x
So it looks like single mode uses the setting "use multiple processing threads" in the main settings window. Running GOT with Mdegrain3-200 in single mode with that set to it's default of 0 which I would take as All. After a couple minutes that settled into about 2.5 fps. If I change that setting from 0 to 12, bumped that up to 6fps after a couple minutes.

The fact that it scales up where it should be when no avisynth filters are being thrown at it, I agree it is definitely something coming from Avisynth code with some buffer being overloaded especially with full frame 16x9 4k. If you are just doing a x265 encode everything runs as expected speed wise in comparison

Interesting, I think I will do some other tests, (when I can), but if it's an Avisynth thing, this needs to be addressed on the appropriate thread of the forum.

It would be interesting to test a basic file with StaxRip, using similar filters, with Avisynth & Vapoursynth.

Unfortunately, AFAIK, Atak hasn't got access to a high core count system, so he can't check the problems we have :(

Boulder
16th August 2024, 05:49
In any multithreading related issues, I'd start the analysis by restricting the amount of prefetched frames. With 4K sources, the frame sizes are getting so big that the default 2*threads can easily cause Avisynth cache trashing if you have not raised the size of the cache. The Avisynth default cache amount has not been changed in a long time, and it's very low.

I have these on top of my mtmodes.avsi to make sure there's enough cache memory for all situations (I have 64GB of RAM). Also mode 1 works better on my use cases.
SetMemoryMax(32000)
SetCacheMode(1)

Guest
16th August 2024, 06:07
In any multithreading related issues, I'd start the analysis by restricting the amount of prefetched frames. With 4K sources, the frame sizes are getting so big that the default 2*threads can easily cause Avisynth cache trashing if you have not raised the size of the cache. The Avisynth default cache amount has not been changed in a long time, and it's very low.

I have these on top of my mtmodes.avsi to make sure there's enough cache memory for all situations (I have 64GB of RAM). Also mode 1 works better on my use cases.
SetMemoryMax(32000)
SetCacheMode(1)

Thankyou Boulder,

I have had these settings in my scripts, but now that I also have 64Gb, I might up it to what you've suggested :)

SetCacheMode()
SetMemoryMax(20480)

Wouldn't (32768) be more accurate ???

Boulder
16th August 2024, 06:12
Wouldn't (32768) be more accurate ???

It really doesn't matter, the highest amount of memory consumed has been around 23-24 gigabytes. Avisynth+ only uses the memory it needs for caching (based on what and how the plugins themselves request cache). It's good to take a look at Task Manager and see the memory consumption of the corresponding processes.

For Prefetch, I've used Prefetch(threads=32, frames=12) on my 5950X. Usually there's not much difference between frames 4-12.

Guest
16th August 2024, 06:35
It really doesn't matter, the highest amount of memory consumed has been around 23-24 gigabytes. Avisynth+ only uses the memory it needs for caching (based on what and how the plugins themselves request cache). It's good to take a look at Task Manager and see the memory consumption of the corresponding processes.

For Prefetch, I've used Prefetch(threads=32, frames=12) on my 5950X. Usually there's not much difference between frames 4-12.

In RipBot prefetch is set elsewhere in the app, and is added to the final script.

But there are options to customise certain settings, but when using the Distributed Encoding function you can customise each encoding server like so:-

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

Changing the "avisynth-prefetch-threads 12", has the most impact on encoding speed, on 16 core CPU's using x265, 12 - 14 seems to be the sweet spot, Ryzen 5950X's, and especially the 7950X are very particular with this setting.

With x264 & x265 threads, not sure if those numbers make any significant difference.

Boulder
16th August 2024, 06:42
What you would need to do is somehow restrict the amount of prefetched frames. With threads 12, Avisynth is prefetching 24 frames which is probably far from optimal and will consume a lot of memory.

Guest
16th August 2024, 06:52
What you would need to do is somehow restrict the amount of prefetched frames. With threads 12, Avisynth is prefetching 24 frames which is probably far from optimal and will consume a lot of memory.

I'm pretty sure I've tried the frames "call", but from what I remember, I couldn't detect any difference, and tbh, not sure where it would need to be added to work with RipBot :(

This is the only reference in the avs script to prefetch:-

#MT
#PREFETCH_LIMIT=12

And this is determined by a "check box" on the settings page, the only other place I can think it could be put is in a custom script.

rlev11
16th August 2024, 20:45
Just not sure where to set frames into the ripbot script or the proper syntax to use in the job script. Don't see a "/avisynth-prefetch-frames" setting in the help for the encoding server command line like threads. If it actually the frames and not threads that's killing it, once we figure out where and how to set the frames, we could set threads to 16 (or total physical cores), and just play with the threads to see where things go south and see if that same number works across different platforms. It may just end up that 1 proper frames count may be optimized for BOTH 4k and 1080p which would be perfect, or at the minimum very little difference between them. Set the frames once and be done with it.

Ideal test would be to set threads to logical cpu's, then find happy frame count doing a full frame 4k. The run 1080p and start increasing the frames and see if there is any appreciable performance gain.

A buffer size increase might work as well, but could cause issues using distributed if you have servers with varying memory sizes. I would think the buffer size would get sent out to all the servers and if you have one with say 16gig instead of a setting optimized for 32 or 64, things could go crazy real fast.


Just a quick initial test, On my 1080p test with Mdegrain3-200, I set avisynth prefetch threads to 32 on my 7950x, so 64 prefetch frames, and I saw about a 9% speed increase just on that alone.

Guest
17th August 2024, 01:59
Just not sure where to set frames into the ripbot script or the proper syntax to use in the job script. Don't see a "/avisynth-prefetch-frames" setting in the help for the encoding server command line like threads. If it actually the frames and not threads that's killing it, once we figure out where and how to set the frames, we could set threads to 16 (or total physical cores), and just play with the threads to see where things go south and see if that same number works across different platforms. It may just end up that 1 proper frames count may be optimized for BOTH 4k and 1080p which would be perfect, or at the minimum very little difference between them. Set the frames once and be done with it.

Ideal test would be to set threads to logical cpu's, then find happy frame count doing a full frame 4k. The run 1080p and start increasing the frames and see if there is any appreciable performance gain.

That command line may not be where the threads setting needs to go, maybe it's a script thing ?!?!?

If it IS a command line option, Atak may need to change something to allow such a setting....

A buffer size increase might work as well, but could cause issues using distributed if you have servers with varying memory sizes. I would think the buffer size would get sent out to all the servers and if you have one with say 16gig instead of a setting optimized for 32 or 64, things could go crazy real fast.

Setting it to what Boulder suggested could max out any PC that has equal to, or less than 32Gb, but he did mention he hasn't seen it much higher than 23 - 24Gb, so I guess that needs to be observed, and if you have some with only 16Gb, you might have to add some.


Just a quick initial test, On my 1080p test with Mdegrain3-200, I set avisynth prefetch threads to 32 on my 7950x, so 64 prefetch frames, and I saw about a 9% speed increase just on that alone.

So I'm curious why you're using MDegrain for you tests ??

I hope you keeping an eye on this setting on the Settings page:-

"Limit to following filters only"....MDegrain needs that checked, SMDegrain doesn't !!!!!

I think you should be concentrating your tests using SMDegrain, tho.

LigH
17th August 2024, 13:36
Atak_Snajpera, Pauly Dunne, whoever keeps developing RipBot264:

Before the patches to support MVC were committed, specifying the input file name for x265 was optional.

Now that x265 may be able to read multiple input sources, it may also be mandatory now to specify them with a preceding parameter "--input".

rlev11
17th August 2024, 14:38
So I'm curious why you're using MDegrain for you tests ??

I hope you keeping an eye on this setting on the Settings page:-

"Limit to following filters only"....MDegrain needs that checked, SMDegrain doesn't !!!!!

I think you should be concentrating your tests using SMDegrain, tho.

Just using mdegrain as it is what is built into Ripbot proper and also has the most profound affect of the issue with the prefetch threads/frames.

If we can figure out what the proper settings to use on high core cpu's so the built in Mdegrain works properly, should fix everything else using whatever avisynth scripts are running

Guest
17th August 2024, 14:43
Just using mdegrain as it is what is built into Ripbot proper and also has the most profound affect of the issue with the prefetch threads/frames.

If we can figure out what the proper settings to use on high core cpu's so the built in Mdegrain works properly, should fix everything else using whatever avisynth scripts are running

Fair enough....I did some quick tests with a simple SMD script, altering the commandline, unchecking those boxes, adding a extra command to a script, and I got a lot of mixed results, some good, some bad, but I sort of lost track, so I will have to go over things again, and try and jot it down as I go.

Now there seems to be some major change to x265 :(

Also, more & more info about 9950X's, too.

Atak_Snajpera
17th August 2024, 14:59
If I had 16c cpu I would do this:
1) create 4k job in standard mode (no de)
2) manually open job1.avs in notepad and then add those at the very beginning

SetCacheMode(CACHE_OPTIMAL_SIZE)

or / and

SetMemoryMax(32768)

3) And then play with

Prefetch(16,16) #(threads,frames)

4) encode manually via job1_EncodeVideoPass1.CMD file

or just check how fast job1.avs is being processed in AVSMeter.

Guest
17th August 2024, 15:08
If I had 16c cpu I would do this:
1) create 4k job in standard mode (no de)
2) manually open job1.avs in notepad and then add those at the very beginning

SetCacheMode(CACHE_OPTIMAL_SIZE)

or / and

SetMemoryMax(32768)

3) And then play with

Prefetch(16,16) #(threads,frames)

4) encode manually via job1_EncodeVideoPass1.CMD file

or just check how fast job1.avs is being processed in AviSynth Meter.

But what if this was added to a custom script ??

How would you add the Prefetch(16,16) to a script to work with RB ??

Your above suggestion, does that make DE redundant ??

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

Have your read anything about the changes to x265 ??

rlev11
17th August 2024, 16:06
If I had 16c cpu I would do this:
1) create 4k job in standard mode (no de)
2) manually open job1.avs in notepad and then add those at the very beginning

SetCacheMode(CACHE_OPTIMAL_SIZE)

or / and

SetMemoryMax(32768)

3) And then play with

Prefetch(16,16) #(threads,frames)

4) encode manually via job1_EncodeVideoPass1.CMD file

or just check how fast job1.avs is being processed in AVSMeter.

just setting
SetCacheMode(CACHE_OPTIMAL_SIZE)
SetMemoryMax(16384)

running GOT mdegrain3-200 resulted in a 300% increase from little over 2fps to 6.4 fps which is right around setting prefetch treads to 12 in previous tests

tried 32 and 64 gig in that memory setting and saw very little difference. In my task manager adding in the memory setting ffmpeg.exe memory usage jumped from around 7 gig to 10-11 gig regardless of what I put in for memory cache size

so this is what is in job1.avs
#Prefetch
video=Prefetch(video,16)

so how would I change this syntax for the Prefetch(16,16) #(threads,frames) setting

We are making progress....

rlev11
17th August 2024, 17:00
And let me just add, step 1 now is just trying to figure out exactly where the bottleneck is occurring. Just figuring this out is success in my mind. Is it prefetch threads, frames, memory allocation, or some hybrid combination of them all?? Once we figure this out, then the next step is going to see how those translate to other high core processors. Right now I am testing with my 7950x. Remains to be seen if the same settings will work on say a 5950x,3950x, or a high core Intel, although they probably will.

After that will come how these results can best be integrated into Ripbot that are both easy to set, and a novice user will understand. There is a point where too many settings can overload and frustrate users. We also have distributed encoding to add into the mix and how that will play with any settings we deem as wanting to set.

Boulder
17th August 2024, 17:47
It's clear that the Avisynth default cache (512MB or something like that..) is not enough for your use case.

rlev11
17th August 2024, 18:08
It's clear that the Avisynth default cache (512MB or something like that..) is not enough for your use case.


Looks like AviSynth+ default is 4GB according to the wiki. 1080p does not come close to that, I saw about 2 gig for ffmpeg during a 1080 run,

Thanks....

Atak_Snajpera
17th August 2024, 18:18
Looks like AviSynth+ default is 4GB according to the wiki. 1080p does not come close to that, I saw about 2 gig for ffmpeg during a 1080 run,

Thanks....

What is the lowest memory value without performance drop? 8192?

Boulder
17th August 2024, 18:45
Looks like AviSynth+ default is 4GB according to the wiki. 1080p does not come close to that, I saw about 2 gig for ffmpeg during a 1080 run,

Thanks....

"DefaultMemoryMax = minimum(physical_memory / 4, secondary_memory_max_limit)" with maximum limit at that 4GB.

I'm just a bit confused if it's actual installed physical memory, or free memory as mentioned in the wiki.

8GB would probably match most cases.

rlev11
17th August 2024, 18:46
What is the lowest memory value without performance drop? 8192?

I will let you know tomorrow

Guest
18th August 2024, 07:59
I will let you know tomorrow

I've been fiddling around with this all afternoon, and not too sure if I have it going any better, or not, but it's easy to make it worse....

The memory value doesn't have a huge difference, but I would suggest probably not going below 16384...

But one thing if this call SetCacheMode(CACHE_OPTIMAL_SIZE) is added to a script, it's not too good, I've found that SetCacheMode() seems the best.

SetCacheMode(mode)
AVS+Fine tunes the internal frame caching strategy in AviSynth+.
Available values:
0 or CACHE_FAST_START start up time and size balanced mode (default)
1 or CACHE_OPTIMAL_SIZE slow start up but optimal speed and cache size
since Avisynth+ 3.6.1

And video=Prefetch(video,32,16) doesn't do a lot, either :(

Guest
18th August 2024, 10:57
Atak,

I would like to make you aware that apparently upcoming x265 builds have been altered/updated, call it what you will, but app's that use it may have to edit the way that x265 commands are written...

I have been chatting with LigH, and he has been kind enough to show what needs to be done, so please go here, and have a little read:-

https://forum.doom9.org/showthread.php?p=2005750#post2005750

And before you say that I shouldn't be using modded builds, even the latest "vanilla" builds are having the same "problem".

If you download this build and try it for yourself, then you might be able to figure out what needs to be done with RB.

https://forum.doom9.org/showthread.php?p=2005647#post2005647

LigH
18th August 2024, 13:44
I did not compile a "modded" build. Only a very recent one. Multicoreware changed the rules for the CLI parsing because they need it to support multiple input streams for MVC.

rlev11
18th August 2024, 17:01
What is the lowest memory value without performance drop? 8192?

Ran the same tests with GOT with same Mdegrain3-200, running the job1_EncodeVideoPass1.cmd manully.

First thing I found is SetCacheMode(CACHE_OPTIMAL_SIZE) make little if any difference. In fact SetCacheMode() appears to a a couple percent faster.

Ran the same script changing the SetMemoryMax(xxxxx) number and came up with the following numbers which I recorded when the job went to 2% on each run.

4096 - 2.28fps
5120 - 4.52fps
6144 - 6.15fps
8192 - 6.50fps
10240 - 6.50fps
16384 - 6.51fps

So looks like 8192 at least in this case is the magic number. Is similar to what I see when changing prefetch threads to 12. I still have not done these same tests on my 3950x, 5950x, or i7-14700 to make sure I see similar results but it would make sense if it did.

Atak, I can do any additional testing you want with my variety of high core cpu's. I understand the complexity of taking a small testing sample and thinking about how best to incorporate anything into a program update. If you would rather take this offline for now, just PM me and we can setup anything you want as far as testing.

Additional testing has showed setting the 3950x and 5950x to prefetch=16 and the 14700 to prefetch=20 with the SetMemoryMax(8192) shows the same improvement as the 7950x

rlev11
18th August 2024, 20:32
So it is looking like this effort is having some positive results for me now. End result is now we no longer have to cripple the thread count of the high core cpu's down to 12-14 when doing 4k encoding regardless of using the built in mdegrain or in my case using a custom smdegrain script.

The bottleneck for 4k encoding is the avisynth max memory setting. For both mdegrain and my custom smdegrain scripts having SetMemoryMax(8192) restores performance on the high core cpu's in my results I am seeing. I tried 16384 and saw very little difference (1-3%) so no need to go above 8192 unless you need to for other reasons.

So now I will set prefetch threads to number of physical cores regardless on all servers, add in SetCacheMode() and SetMemoryMax(8192) to all my custom degraining scripts, and enjoy a little better performance over my previous method of crippling my R9's to 12 prefetch threads. Back to using my full 13 server distributed encoding farm, On my same GOT test I have been using, using SetMemoryMax(8192) was about 7% faster than prefetch=12 in total fps. This should also speed up 1080p and below a bit since I don't have to remember to switch the high core encoding servers to full prefetch (16 or 20 depending on the cpu)

Not sure how this may translate to other users workflows though, guess time will tell... but thanks for suggestions and input on this issue that has been bugging me for years now

Guest
19th August 2024, 02:59
So it is looking like this effort is having some positive results for me now. End result is now we no longer have to cripple the thread count of the high core cpu's down to 12-14 when doing 4k encoding regardless of using the built in mdegrain or in my case using a custom smdegrain script.

I still think you should be using SMD scripts for your tests, as you so rarely use MD, and the results could be quite different !!!

The bottleneck for 4k encoding is the avisynth max memory setting. For both mdegrain and my custom smdegrain scripts having SetMemoryMax(8192) restores performance on the high core cpu's in my results I am seeing. I tried 16384 and saw very little difference (1-3%) so no need to go above 8192 unless you need to for other reasons.

Also interesting that you've "settled" for only 8192, when (in your previous post), 16384 was a smidgen faster.....I tested up to 32768, and even tho there was only a very slight difference between the three, 32 was faster.

So now I will set prefetch threads to number of physical cores regardless on all servers, add in SetCacheMode() and SetMemoryMax(8192) to all my custom degraining scripts, and enjoy a little better performance over my previous method of crippling my R9's to 12 prefetch threads. Back to using my full 13 server distributed encoding farm, On my same GOT test I have been using, using SetMemoryMax(8192) was about 7% faster than prefetch=12 in total fps. This should also speed up 1080p and below a bit since I don't have to remember to switch the high core encoding servers to full prefetch (16 or 20 depending on the cpu)

Your comment (also in the previous post) regarding SetCacheMode(CACHE_OPTIMAL_SIZE), I totally agree, it slowed things down, for me, and SetCacheMode() was the best option :)

There was no mention of the Prefetch threads/frames setting ?? did you try it ??

I have also tweaked several other settings that dramatically change the speed, but the proof will be when encoding full length movies, etc, not just small test samples

Not sure how this may translate to other users workflows though, guess time will tell... but thanks for suggestions and input on this issue that has been bugging me for years now

Exactly, depends so much on hardware setup, scripts used....lot's of variables.

My testing will continue for a little while yet, just to be sure.

The next obstacle, is the new generation of x265...that WILL need to be addressed, soon.

Juha
26th August 2024, 19:30
Is it anyway possible to customize audio options? I have source material that has PCM and DTS audio tracks. They both have 2 channels. I'd like to convert them to AAC and use 256 Kbps at least but Ripbot doesn't allow to use higher bitrate for 2 channel AAC audio than 128 Kbps.

I tried to mess around in the program settings but despite what changes I make there, I get no different options.

Atak_Snajpera
26th August 2024, 22:30
Profiles/Audio.txt

Guest
27th August 2024, 03:46
Profiles/Audio.txt

Audio.txt

2.0 OPUS CODEC 64 kbps [abr]
2.0 OPUS CODEC 96 kbps [abr]
2.0 OPUS CODEC 128 kbps [abr]
5.1 OPUS CODEC 160 kbps [abr]
5.1 OPUS CODEC 240 kbps [abr]
5.1 OPUS CODEC 320 kbps [abr]
7.1 OPUS CODEC 224 kbps [abr]
7.1 OPUS CODEC 336 kbps [abr]
7.1 OPUS CODEC 448 kbps [abr]
2.0 FHG AAC-HE 64 kbps [abr]
2.0 FHG AAC-LC 96 kbps [abr]
2.0 FHG AAC-LC 128 kbps [abr]
2.0 FHG AAC-LC 256 kbps [abr]
5.1 FHG AAC-HE 192 kbps [abr]
5.1 FHG AAC-LC 256 kbps [abr]
5.1 FHG AAC-LC 320 kbps [abr]
7.1 FFMPEG AAC 384 kbps [abr]
7.1 FFMPEG AAC 448 kbps [abr]
7.1 FFMPEG AAC 640 kbps [abr]
2.0 FFMPEG AC3 192 kbps [cbr]
2.0 FFMPEG AC3 224 kbps [cbr]
2.0 FFMPEG AC3 256 kbps [cbr]
5.1 FFMPEG AC3 384 kbps [cbr]
5.1 FFMPEG AC3 448 kbps [cbr]
5.1 FFMPEG AC3 640 kbps [cbr]
2.0 FFMPEG FLAC ??? kbps [vbr]
5.1 FFMPEG FLAC ??? kbps [vbr]
7.1 FFMPEG FLAC ??? kbps [vbr]

Well, I know my crystal ball doesn't work, are you trying to suggest that it can be simply added to this list ??

UPDATE:- I thought I'd try this, and it indeed add's it to the Profile options for the job, I guess the proof is in the pudding if it actually encodes it to that setting.

Juha
28th August 2024, 15:37
I tested editing that text file. I managed to convert with that custom value. Thanks!

Another question if you don't mind... :)

I wonder what would be sane values when denoising a specific grainy video?

Sample pics:
Original video: https://images2.imgbox.com/0d/ce/X8DX3n8B_o.png
Used Degrain3, 400 : https://images2.imgbox.com/91/c9/EUoz0E3G_o.png
Used Degrain3, 800 : https://images2.imgbox.com/08/e5/yKAB34TV_o.png

Sample pics2:
Original video: https://images2.imgbox.com/d5/50/loTDbpNr_o.png
Used Degrain3, 400 : https://images2.imgbox.com/79/78/Pec7u2cb_o.png
Used Degrain3, 800 : https://images2.imgbox.com/4d/6d/FlrBBok1_o.png

What I'm asking is second a second opinion - do you think those values are reasonable / do those pictures look good? Personally I think both of them look good to me. I'm just worried that Degrain3 800 would be too much.

Guest
28th August 2024, 15:44
I tested editing that text file. I managed to convert with that custom value. Thanks!

Good to know that you sorted the audio situation :)

SMDegrain would probably do better (but that's a whole different story)..

It doesn't really matter what other ppl might say..if it looks good to you, that's all that matters.

TBH, your source file is pretty bad, what resolution is that ??

rlev11
29th August 2024, 01:53
I tested editing that text file. I managed to convert with that custom value. Thanks!

Another question if you don't mind... :)

I wonder what would be sane values when denoising a specific grainy video?

Sample pics:
Original video: https://images2.imgbox.com/0d/ce/X8DX3n8B_o.png
Used Degrain3, 400 : https://images2.imgbox.com/91/c9/EUoz0E3G_o.png
Used Degrain3, 800 : https://images2.imgbox.com/08/e5/yKAB34TV_o.png

Sample pics2:
Original video: https://images2.imgbox.com/d5/50/loTDbpNr_o.png
Used Degrain3, 400 : https://images2.imgbox.com/79/78/Pec7u2cb_o.png
Used Degrain3, 800 : https://images2.imgbox.com/4d/6d/FlrBBok1_o.png

What I'm asking is second a second opinion - do you think those values are reasonable / do those pictures look good? Personally I think both of them look good to me. I'm just worried that Degrain3 800 would be too much.

I don't think that I have ever used anything more than Mdegrain3-400 on even my most grainy sources. I use smdegrain now but even with that I would use something equivalent in degraining strength.

There is a point in my eyes where too much degraining can cause adverse picture quality. Where I would notice it in particular would be peoples foreheads when there is motion. I would notice the pores get washed out really bad and get "plastic" looking. then when stopped the pores would return.

I also hate film grain so there is a fine balance between too little and too much degraining.

I'm pretty much to the point now where I only use 3 different strengths. Very little grain , some grain , a lot of grain. I watch a couple scenes of a video and just pick the one I feel is the closest and go with it. You will never completely eliminate a heavy grained source and retain all the detail. Even something like Topaz AI is going to struggle with that.

Juha
29th August 2024, 18:51
TBH, your source file is pretty bad, what resolution is that ??

Believe it or not, but it's an uncompressed Full HD H264 video from a Blu-Ray disc... It's a 90's movie.

I don't think that I have ever used anything more than Mdegrain3-400 on even my most grainy sources. I use smdegrain now but even with that I would use something equivalent in degraining strength.

There is a point in my eyes where too much degraining can cause adverse picture quality. Where I would notice it in particular would be peoples foreheads when there is motion. I would notice the pores get washed out really bad and get "plastic" looking. then when stopped the pores would return.

I also hate film grain so there is a fine balance between too little and too much degraining.

I'm pretty much to the point now where I only use 3 different strengths. Very little grain , some grain , a lot of grain. I watch a couple scenes of a video and just pick the one I feel is the closest and go with it. You will never completely eliminate a heavy grained source and retain all the detail. Even something like Topaz AI is going to struggle with that.

After giving some thought to this I think I'll use 800 in my case. The difference between 400 and 800 looks quite marginal and I feel that even stronger degraining could be used but I guess it's better not to overdo it. This looks good to me.

Thanks for replies.

Guest
1st September 2024, 12:23
I just wanted to post something about this again, as it will need to be addressed sometime soon.

For the users that like to update RB manually, any recent x265 builds, will produce an error like this :-

""\\RYZEN-9-7950X\Ripbot264temp\Tools\ffmpeg\bin\ffmpeg.exe" -loglevel panic -i "\\RYZEN-9-7950X\RipBot264temp\job3\Chunks\1.avs" -strict -1 -f yuv4mpegpipe - | "\\RYZEN-9-7950X\Ripbot264temp\tools\x265\x265_x64.exe" --seek 0 --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc
--master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)" --crf 16 --fps 24000/1001 --min-keyint 24 --keyint 240 --frames 3610 --sar 1:1 --level 5.2 --profile main10
--output-depth 10 --ctu 64 --high-tier --vbv-bufsize 240000 --vbv-maxrate 240000 --y4m --pools "32" --output "\\RYZEN-9-7950X\RipBot264temp\job3\Chunks\1.265" -"

x265 [WARN]: extra unused command arguments given <->

Juha
4th September 2024, 12:03
I ripped my first 4K movie. For testing purposes, I made two rips of it:

- 4K resolution rip
- Full HD resolution rip (resized original 4K to Full HD)

I used the setting to crop black bars but Ripbot only cropped black bars from 4K rip. 4K -> Full HD rip didn't get black bars cropped.

I suspect it's because I didn't choose "custom" as the output resolution, but if I crop something, shouldn't it always be taken into account even if I choose a predefined resize option?

4K rip: https://images2.imgbox.com/07/ad/hd6GSBcs_o.png

Full HD rip: https://images2.imgbox.com/b9/ca/j4n4wjg7_o.png

(Screenshots were taken by using MPC's native "save image" function.)

Cropping / resize settings in Ripbot I used for the Full HD rip: https://images2.imgbox.com/da/a4/vBf2sUmF_o.png

Resolution of the output 4K rip is 3840 x 1600. Full HD rip is 1920 x 1080.

Guest
4th September 2024, 12:49
I ripped my first 4K movie. For testing purposes, I made two rips of it:

- 4K resolution rip
- Full HD resolution rip (resized original 4K to Full HD)

I used the setting to crop black bars but Ripbot only cropped black bars from 4K rip. 4K -> Full HD rip didn't get black bars cropped.

I suspect it's because I didn't choose "custom" as the output resolution, but if I crop something, shouldn't it always be taken into account even if I choose a predefined resize option?

4K rip: https://images2.imgbox.com/07/ad/hd6GSBcs_o.png

Full HD rip: https://images2.imgbox.com/b9/ca/j4n4wjg7_o.png

(Screenshots were taken by using MPC's native "save image" function.)

Cropping / resize settings in Ripbot I used for the Full HD rip: https://images2.imgbox.com/da/a4/vBf2sUmF_o.png

Resolution of the output 4K rip is 3840 x 1600. Full HD rip is 1920 x 1080.

Have you tested them on your TV ??

Juha
4th September 2024, 19:56
No issues when viewing on TV. Just that they (black bars) are unnecessary and waste of bitrate / encoding time. Not necessarily much but still.

rlev11
4th September 2024, 23:16
I ripped my first 4K movie. For testing purposes, I made two rips of it:

- 4K resolution rip
- Full HD resolution rip (resized original 4K to Full HD)

I used the setting to crop black bars but Ripbot only cropped black bars from 4K rip. 4K -> Full HD rip didn't get black bars cropped.

I suspect it's because I didn't choose "custom" as the output resolution, but if I crop something, shouldn't it always be taken into account even if I choose a predefined resize option?

4K rip: https://images2.imgbox.com/07/ad/hd6GSBcs_o.png

Full HD rip: https://images2.imgbox.com/b9/ca/j4n4wjg7_o.png

(Screenshots were taken by using MPC's native "save image" function.)

Cropping / resize settings in Ripbot I used for the Full HD rip: https://images2.imgbox.com/da/a4/vBf2sUmF_o.png

Resolution of the output 4K rip is 3840 x 1600. Full HD rip is 1920 x 1080.

What you want to do when downsizing like what you are doing is after you do the autocrop, in your case will show 280 pixels for top and bottom. When you do the resize, choose the second to the bottom, which will be custom (and the aspect ratio) in your case Custom [2.40:1]. Then in the width section, change 3840 to 1920. Height will automatically change to 800 then in your case.

This way you will get what you are trying to do is downsize the encode without encoding the black bars. Doing the 1920x1080 [2.40:1] will encode it at the resolution specified which would be 1920x1080, but will just put the flag into the stream that it is a 2.4:1 aspect ratio.

This way only works if the aspect ratio is one of the presets built into ripbot. I think what is in now is 1.78,1.85,2.0,2.35, and 2.4.

If the pixels are just a few off just choose the preset that it shows, So if the autocrop shows 2.394:1 just choose the 2.40 and go. you will not notice those couple of pixels added or missing.

If it is not really close to one of the presets for something oddball, just get out the calculator and figure out what the 1920 x height number is (round up or down if not a full pixel) by using the SAR number from the autocrop if you have black bars on top and bottom. Vertical bars you would do the same except take 1080 times the SAR number. So a SAR of 1.5 would be 1620x1080.

This is where you would use the bottom custom resize setting that lets you choose both width and height. Bottom line is for horizontal bars use 1920 as the width and calculate the height, and for vertical bars use a height of 1080 and calculate the width.

Guest
5th September 2024, 01:08
No issues when viewing on TV. Just that they (black bars) are unnecessary and waste of bitrate / encoding time. Not necessarily much but still.

So if it plays OK on your TV, and if you've got a reasonably powerful CPU, then why bother....I rarely crop.

And after rlev11's excellent explanation, it might take you longer to "set it up" than how much longer those black bars take to process, and from what I understand, if you don't get it right, then you'll have to do it all over again....just sayin'.

Guest
5th September 2024, 01:08
what you want to do when downsizing like what you are doing is after you do the autocrop, in your case will show 280 pixels for top and bottom. When you do the resize, choose the second to the bottom, which will be custom (and the aspect ratio) in your case custom [2.40:1]. Then in the width section, change 3840 to 1920. Height will automatically change to 800 then in your case.

This way you will get what you are trying to do is downsize the encode without encoding the black bars. Doing the 1920x1080 [2.40:1] will encode it at the resolution specified which would be 1920x1080, but will just put the flag into the stream that it is a 2.4:1 aspect ratio.

This way only works if the aspect ratio is one of the presets built into ripbot. I think what is in now is 1.78,1.85,2.0,2.35, and 2.4.

If the pixels are just a few off just choose the preset that it shows, so if the autocrop shows 2.394:1 just choose the 2.40 and go. You will not notice those couple of pixels added or missing.

If it is not really close to one of the presets for something oddball, just get out the calculator and figure out what the 1920 x height number is (round up or down if not a full pixel) by using the sar number from the autocrop if you have black bars on top and bottom. Vertical bars you would do the same except take 1080 times the sar number. So a sar of 1.5 would be 1620x1080.

This is where you would use the bottom custom resize setting that lets you choose both width and height. Bottom line is for horizontal bars use 1920 as the width and calculate the height, and for vertical bars use a height of 1080 and calculate the width.

wow !!!

Atak_Snajpera
5th September 2024, 11:55
So if it plays OK on your TV, and if you've got a reasonably powerful CPU, then why bother....I rarely crop.

And after rlev11's excellent explanation, it might take you longer to "set it up" than how much longer those black bars take to process, and from what I understand, if you don't get it right, then you'll have to do it all over again....just sayin'.

Are you sure about that?

1920x1080 + MDegrain2 400
https://i.postimg.cc/PrSFGVq8/Capture1.png

1920x800 + MDegrain2 400
https://i.postimg.cc/cL6kd7Kk/Capture2.png

You basically get ~16% faster script processing for free. Add x265 encoder and it may go up to ~20% total.
Here We call this optimization...

Guest
5th September 2024, 13:03
Here We call this optimization...

Ha, not everything needs to be cropped, and some it's a little complicated.

Autocrop can sometimes not do the job properly, and I'm not going to get the calculator out.

If it looks OK on the TV, WGAF !!, I did a crop test a week or so ago, and it looked the same....

Atak_Snajpera
5th September 2024, 13:06
Ha, not everything needs to be cropped, and some it's a little complicated.

Autocrop can sometimes not do the job properly, and I'm not going to get the calculator out.

If it looks OK on the TV, WGAF !!, I did a crop test a week or so ago, and it looked the same....

You still do not understand why we crop... I'm out.

Guest
5th September 2024, 13:24
You still do not understand why we crop... I'm out.

Well, you're not good at explaining anything, we all seem to need a crystal ball, you just expect us to know..

I'd like to say more, but I don't want to get banned.....

Boulder
5th September 2024, 13:59
There's no reason not to crop. The borders are not always totally black and also may contain (invisible) compression artifacts which affect the bitrate needed.

Cropping has been a strong recommendation since I started working with video stuff over 20 years ago.

Guest
5th September 2024, 15:36
There's no reason not to crop. The borders are not always totally black and also may contain (invisible) compression artifacts which affect the bitrate needed.

Cropping has been a strong recommendation since I started working with video stuff over 20 years ago.

I have never cropped, unless it's a strange ratio to start with, or old 4:3 stuff.

And I've been encoding for 20+ years too....

rlev11
5th September 2024, 16:03
Going back to my test video of ST Strange new worlds in 4k. Original pixels is 3840x2160, but in a 2.4:1 aspect ratio so there are 560 horizontal lines of black space. If I encode it without an autocrop (x265 and using Smdegrain...), my test chunk on my 7950x shows 14.06 fps. That same chunk with an autocrop so encoding 3840x1600 comes out at 19.83 fps. That like a 29% increase in speed at the expense of 2 extra clicks. Resizing that down to 1080p takes 3 more clicks and typing in 1920. And "getting the calculator out" would be very rare if only downsizing an oddball aspect ratio.
To each his own, but I will keep cropping useless data and enjoy the speed increase for the time of a few extra clicks....

rlev11
5th September 2024, 20:23
And just if anyone is interested, I just replace my 7950x with a 9950x. Doing a couple test runs looks like I am pushing about a 10-15% speed increase over the 7950x. Watching Ryzen Master I am also seeing about a 10 degree C decrease in cpu temp. Both were on the same 360mm Arctic 3 AIO. All I had set before with the 7950x in PBO was a hard thermal limit. Where the 7950x would top out my hard limit of 85 degrees C, the 9950x is sitting around 75C with the cpu utilization in task manager still running at 100%. I haven't changed anything in the bios after it reset everything on the CPU change, so I need to look to see if I can push things a bit more from seeing the lower temps. The 9950x is supposed to have a limit of 95C, I won't push it that much, but I think I can get a few more percent increase pushing it up so it hits that same 85C hardline i set.

I've read that the new Win11 update due out later this fall is supposed to really help boost Zen5, not sure if that is just gaming or everything, but will be interesting to see if it boosts encoding speed as well...

Ryushin
6th September 2024, 13:05
Cropping also helps with displays that are not 16:9. Some projectors screens are configured for 2.40:1 and a lot of mobile phones are around that same aspect ratio. Reverse also helps when watching 4:3 content on a 16:10 screen.

I only encode the back bars when I'm doing foreign movies and I want to push the subtitles into the black bars.

Wishbringer
13th September 2024, 10:46
anyone knows, what was the latest build of x265, that worked out of the box with RB?
Thanks

LigH
13th September 2024, 13:03
Probably v3.6+35, before alpha channel support was added. Or v3.6+46, after alpha but before multi-view.

Wishbringer
13th September 2024, 16:01
@LigH: for me 3.6-46 (your build) worked. 3.6-56 didn't start anymore in RB, so I stay at -46... Or are there other inter builds?

LigH
13th September 2024, 16:08
Not really, MultiCoreWare released patches in batches. You might try to select a specific patch but will risk that a feature depends on several patches at the same time.

Wishbringer
13th September 2024, 18:24
Before the patches to support MVC were committed, specifying the input file name for x265 was optional.

Now that x265 may be able to read multiple input sources, it may also be mandatory now to specify them with a preceding parameter "--input".

@Atak_Snajpera:

Solution is really simple.
In jobX_EncodeVideoPassX.cmd just add "--input" before the last "-"

As a workaround it would be so simple even for us to add "--input -" in profiles, but then still the last "-" in cmd-file is too much and blocks executing.

So for running long single machine encodes, there is no problem to manually edit the files to work. But for DE it's too much....

LigH
15th September 2024, 08:00
I changed my x265 v4.0+4 archive (https://forum.doom9.org/showthread.php?p=2006909#post2006909).

Please note: From version 4.0 on I will build all variants without MultiView support so that they may still work without explicit --input parameter, except for a 64 bit build which has it explicitly enabled.

Wishbringer
15th September 2024, 08:29
@Atak_Snajpera:

Thanks for updating RipBot264 to 1.27.4 and updating several tools too (including x265 4.0-4).

@LigH:

Thanks for modding x265 for work with RB, but it seems, it's now not necessary anymore.

LigH
15th September 2024, 08:33
This was not a "modification", just a selection of compilation flags already provided by the unmodified sources.

Epitaph
15th September 2024, 18:41
My 3 systems updated Ripbot yesterday(not entirely sure that is the culprit) and I proceeded to line up 60 or so encodes. I am encoding to HEVC and I have no issues with VC1 or H264 sources but my system is completely hung up on mpeg2 extras... specifically interlaced TFF. I unchecked all MPEG2 videos and all other encodes finished without issue. If i have deinterlace off or inverse telecine , everything works fine... AVS Meter, Preview and DE. If I select Interlaced TFF, AVS Meter shows no progress, Preview will open MPC but it will hang until I end the process, and DE will run with all servers stuck on initializing(I've also tried without DE). Full disclosure, I am also trying to track down a random BSOD (that occurs while my system is idle) so this is all 24 hours after an in place WIN 11 Reinstall keeping documents and settings. Any Ideas or suggestions?

I downloaded a fresh copy of Ripbot from the first post in this thread, copied in my .ini files and disabled update. Ran it loading my previous que and it was unable to do anything with the same file. I then re-added the file and everything seems to work again. Re-adding the file into the updated Ripbot makes no difference. So there is something in the updated tools breaking Interlaced MPEG2.

Juha
15th September 2024, 23:14
Not sure whether this is an issue with 1.27.4 but a job with specific film gets stuck each time at the end of the conversion and the job never finishes properly. I have removed and re-created the job but the issue still occurs again.

I'm stuck at this point: https://images2.imgbox.com/0e/ae/6Ig7KjDG_o.png (Waiting even for hours won't help, job won't be finished).

The original source file for the job was .m2ts file (blu-ray). I muxed the source file into a mkv file and created the job again with it but the result was the same. Stuck again.

My conversion settings:

Video:
H265
Profile: MA10
Preset: Default
Tune: Default
Mode: CQ
CRF: 16
Crop: top 132, bottom: 132
CPU denoise: MDegrain3, Strength: 300

Audio: 5.1 FHG AAC-LC 320

Data from the source file:
Format : Matroska
Format version : Version 2
File size : 23.4 GiB
Duration : 1 h 38 min
Overall bit rate mode : Variable
Overall bit rate : 34.0 Mb/s
Frame rate : 23.976 FPS
Encoded date : 2024-09-15 08:37:12 UTC
Writing application : MakeMKV v1.17.7 win(x64-release)
Writing library : libmakemkv v1.17.7 (1.3.10/1.5.2) win(x64-release)

Video
ID : 1
ID in the original source medium : 4113 (0x1011)
Format : VC-1
Format profile : Advanced@L3
Codec ID : V_MS/VFW/FOURCC / WVC1
Codec ID/Hint : Microsoft
Duration : 1 h 38 min
Bit rate : 29.8 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
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.599
Stream size : 20.5 GiB (88%)
Language : English
Default : No
Forced : No
Original source medium : Blu-ray

Audio
ID : 2
ID in the original source medium : 4352 (0x1100)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 1 h 38 min
Bit rate mode : Variable
Bit rate : 4 154 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 : 2.86 GiB (12%)
Title : Surround 5.1
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray

Text
ID : 3
ID in the original source medium : 4608 (0x1200)
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 37 min
Bit rate : 31.7 kb/s
Frame rate : 0.378 FPS
Count of elements : 2225
Stream size : 22.2 MiB (0%)
Language : Finnish
Default : Yes
Forced : No
Original source medium : Blu-ray

Menu
00:00:00.000 : en:Chapter 01
00:04:14.003 : en:Chapter 02
00:10:59.367 : en:Chapter 03
00:15:12.703 : en:Chapter 04
00:24:53.325 : en:Chapter 05
00:29:02.741 : en:Chapter 06
00:32:52.804 : en:Chapter 07
00:39:08.304 : en:Chapter 08
00:48:36.121 : en:Chapter 09
00:55:10.598 : en:Chapter 10
01:01:26.849 : en:Chapter 11
01:08:42.785 : en:Chapter 12
01:13:54.763 : en:Chapter 13
01:18:58.775 : en:Chapter 14
01:26:52.790 : en:Chapter 15
01:31:50.755 : en:Chapter 16

slalom
16th September 2024, 16:49
Remove 5 sec from the end with mkv merge and try again

lemaireus
17th September 2024, 11:38
Would one of you please help me find a way of extracting the Dolby Vision metadata from a blu-ray and remuxing that metadata to a Ripbot encode?

I do not have the skill to work with command line interfaces and have therefore not been able to use the DDVT tool which I'm sure would solve my problem quickly. If you are aware of a "how to use DDVT tools" set of instructions/help file, please post a link and I'll give that a shot. If there are GUIs that can get the job done, I'd be grateful for a nudge in the right direction.

My thirteen years on this platform have taught me the pointlessness of placing feature requests on this forum. Genuinely helpful suggestions have almost always come from all of you, the wonderful members of this community who have almost always done all they can to help others such as myself. Thank you very much, always.

lemaireus
18th September 2024, 11:03
Would one of you please help me find a way of extracting the Dolby Vision metadata from a blu-ray and remuxing that metadata to a Ripbot encode?

I do not have the skill to work with command line interfaces and have therefore not been able to use the DDVT tool which I'm sure would solve my problem quickly. If you are aware of a "how to use DDVT tools" set of instructions/help file, please post a link and I'll give that a shot. If there are GUIs that can get the job done, I'd be grateful for a nudge in the right direction.

My thirteen years on this platform have taught me the pointlessness of placing feature requests on this forum. Genuinely helpful suggestions have almost always come from all of you, the wonderful members of this community who have almost always done all they can to help others such as myself. Thank you very much, always.

Thank you both very much for helping out. Since both of you refer to DoVi_Scripts, I shall try that out and hope that I can keep up with the learning curve. The YouTube help video makes a breeze of installation etc. Hope I'll get a hang of running the scripts by and by.

To those who wish to hear, it tells a story that help now comes through PMs rather than messages in the forum.

Once again, much gratitude for the wonderfully detailed and concretely helpful advice.

Ryushin
20th September 2024, 02:46
Would one of you please help me find a way of extracting the Dolby Vision metadata from a blu-ray and remuxing that metadata to a Ripbot encode?

I do not have the skill to work with command line interfaces and have therefore not been able to use the DDVT tool which I'm sure would solve my problem quickly. If you are aware of a "how to use DDVT tools" set of instructions/help file, please post a link and I'll give that a shot. If there are GUIs that can get the job done, I'd be grateful for a nudge in the right direction.

My thirteen years on this platform have taught me the pointlessness of placing feature requests on this forum. Genuinely helpful suggestions have almost always come from all of you, the wonderful members of this community who have almost always done all they can to help others such as myself. Thank you very much, always.

I use that DDVT Tool for all my 4K encodes. It's command line menu drivin, but it is a piece of cake to use. Steps off the top of my head:
* Use MakeMKV to create the 4K MKV file.
* Check Blu-ray to come to verify if the aspect ratio is 1.78:1 or if not, I need to crop.
* Drag and drop the MKV file onto the DDVT_DEMUXER.cmd program.
* Select Crop if necessary, then start it up. A RPU.bin file will be created.
* Create your encode with RB. If you selected the crop option, make sure your output is cropped.
* Drag your created RB encode on DDVT_INJECTOR.cmd program and drag your RPU.bin file on it when it asks for it.
* Make sure the cropped settings match, select MUX to MKV and you're done.

lemaireus
20th September 2024, 12:19
I use that DDVT Tool for all my 4K encodes. It's command line menu drivin, but it is a piece of cake to use. Steps off the top of my head:
* Use MakeMKV to create the 4K MKV file.
* Check Blu-ray to come to verify if the aspect ratio is 1.78:1 or if not, I need to crop.
* Drag and drop the MKV file onto the DDVT_DEMUXER.cmd program.
* Select Crop if necessary, then start it up. A RPU.bin file will be created.
* Create your encode with RB. If you selected the crop option, make sure your output is cropped.
* Drag your created RB encode on DDVT_INJECTOR.cmd program and drag your RPU.bin file on it when it asks for it.
* Make sure the cropped settings match, select MUX to MKV and you're done.

Thank you so much, Ryushin. I haven't yet had the time to give dovi_scripts a run through and DDVT tools, when I tried it last, seemed forbidding because of the command line interface. However, the steps you have outlined seem straightforward enough even for a technologically challenged person such as myself; it really cannot get any simpler than a drag and drop. I'll definitely give it another shot, follow the steps you have outlined, and hope that DDVT tools works for me this time around. I'll post the results I get, regardless of whether that is a 'success' or a 'failure' message.

Once again, thank you very much for helping out.

lemaireus
21st September 2024, 08:03
I use that DDVT Tool for all my 4K encodes. It's command line menu drivin, but it is a piece of cake to use. Steps off the top of my head:
* Use MakeMKV to create the 4K MKV file.
* Check Blu-ray to come to verify if the aspect ratio is 1.78:1 or if not, I need to crop.
* Drag and drop the MKV file onto the DDVT_DEMUXER.cmd program.
* Select Crop if necessary, then start it up. A RPU.bin file will be created.
* Create your encode with RB. If you selected the crop option, make sure your output is cropped.
* Drag your created RB encode on DDVT_INJECTOR.cmd program and drag your RPU.bin file on it when it asks for it.
* Make sure the cropped settings match, select MUX to MKV and you're done.

Ryushin, I tried following the steps that you have so helpfully outlined, but I'm doing something wrong. When I double click DDVT_DEMUXER.cmd, the cmd window flashes "waiting for 30 seconds, press a key to continue . . .". Thereafter, when I "Drag and drop the MKV file onto the DDVT_DEMUXER.cmd program", the cmd window instantly disappears. In fact, all the DDVT_XXX.cmd files, with the exception of DDVT_HYBRID.cmd and DDVT_OPTIONS.cmd, perform the same disappearing act after 30 seconds, or the moment when I drag and drop an MKV file onto the cmd window. Here's how the cmd window looks before disappearing:

https://i.postimg.cc/3wSVzGBD/DDVT-Tool-Error.jpg

I am unable to figure out exactly what it is that I might be doing wrong.

lemaireus
21st September 2024, 13:57
Elementary, dear Watson, elementary. Some wonderful, generous, and precisely articulated help in PMs provided the correct diagnosis. I should have dragged the mkv file over the DDVT_DEMUXER.cmd script. Instead, I was double clicking DDVT_DEMUXER.cmd and dragging the file on the cmd window that opened thereafter. That is the first step out of the way; now to the next. Many thanks for helping out.

lemaireus
21st September 2024, 16:44
I succeeded in getting my first Ripbot encode with Dolby Vision metadata, all thanks to the wonderfully generous forum members handholding me in PMs and over here, in the forum, thanks to Ryushin. Once my elementary but fundamental mistake became clear, the rest was a cakewalk.

Ryushin and my PM-ing friends, much, much gratitude.

Juha
23rd September 2024, 21:58
I have a Blu-Ray that is - according to Mediainfo - progressive but still it says "Top field first" which is typical term on interlaced video. Which is it really?

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : VC-1
Format profile : Advanced@L3
Codec ID : 234
Duration : 1 h 59 min
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Scan order : Top Field First
Compression mode : Lossy

RipBot allows to de-interlace this video (normally it doesn't allow to do so if it's a progressive video). Should I do it even if Mediainfo says it's progressive?

LigH
23rd September 2024, 22:04
"Scan order" is only interesting if "Scan type" is "Interlaced". But both are not relevant to decide whether to use a deinterlacer or not, you really have to check if there is a temporal progress from one field to another in a frame. MediaInfo cannot check that. It can only report how the video encoder was set up.

HDConvertToX has a check for the video content. It encodes a tiny piece of the video once in TFF, once in BFF interlaced mode, compares the statistics and calculates a probability which scan type and order may be most efficient. Still, there are better ways to check that, but also more elaborate (e.g. looking at a Bob result field by field with your own eyes).

rlev11
23rd September 2024, 22:37
I have a Blu-Ray that is - according to Mediainfo - progressive but still it says "Top field first" which is typical term on interlaced video. Which is it really?

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : VC-1
Format profile : Advanced@L3
Codec ID : 234
Duration : 1 h 59 min
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Scan order : Top Field First
Compression mode : Lossy

RipBot allows to de-interlace this video (normally it doesn't allow to do so if it's a progressive video). Should I do it even if Mediainfo says it's progressive?

What I would do is use the built in media player that will open the video when you click "preview script" in the avisynth filters window.

Load the video and then do not set any deinterlacing, then hit preview script. Once media player opens, slide to a point where there is some fast motion, then use CTRL-Right Arrow which will go frame by frame. look for any interlacing lines or stutters (same frame repeats itself). This should let you know if it is interlaced or not, or doing some sort of 3:2 pull down like DVD's used to do (doubtful, but maybe possible??). It does seem strange that a BR disk would be interlaced, but I guess anything is possible

If it does not show any interlacing lines, I would just encode it as usual and figure the TFF listed is just some sort of false positive glitch.
If it does show lines, you can choose the deinterlace TFF and repeat the test and see if that clears them up.

Juha
24th September 2024, 15:05
Thanks, I did carefully check the video for areas with movement and with CTRL + RIGHT Arrow. I think it's defenitely interlaced.

https://images2.imgbox.com/89/55/y9R5xeFw_o.png
https://images2.imgbox.com/b6/32/n0feQUCm_o.png
https://images2.imgbox.com/18/8b/06qNvjmi_o.png

Not the first Blu-Ray I see that has interlaced content though they are clear minority. Usually if Blu-Ray source has 25 fps, the picture is also interlaced (my experience). Truly progressive Blu-Rays have been 23.976.

LigH
24th September 2024, 15:12
Do not rely on single frames. There are multiple reasons for combing, and not all of them should be treated with "Deinterlacing". Between Film (24000/1001 fps) and NTSC (30000/1001 fps) there might be Telecine instead. And between Film and PAL (25.0 fps) there might be a blended norm conversion, and de-blending is a lot more elaborate than just de-interlacing. You will need some experience to judge the progress over at least half a dozen frames.

It is complicated. To learn more, see: exotic interlacing (https://forum.doom9.org/showthread.php?t=176104) (German original by scharfis_brain, translated by StainlessS).

rlev11
8th October 2024, 21:54
So I have been holding off posting this until I had some time to fully test what was going on.
Ever since the update which I think was back in June that put the EncodingClient.exe to version 1.19.0 I have had an intermittent issue where in the middle of an encode the distributed encoding client window would just close itself. The servers would continue to encode the chunk they were working on, and then everything would stop. Only thing to do would be go into task manager and close everything Ripbot related and start the process over. As said, it would be very intermittent, sometimes could do dozen or so encodes in a row before it happened, or could happen sooner even on the first job I tried in a session. Could not track down any specific scenarios where it would or would not happen.

So I waited until the last update of 1.27.4 to see if anything changed and it did not. I also tried 2 different computers as the clients and still got the same issue.

So my next step was just copying back encodingclient.exe from a previous version, in my case 1.18.3 and turning off auto updates so it did not get the newest encodingclient version of 1.19.0. I left everything else at its latest versions as part of 1.27.4, just using an older encodingclient. It's now been a couple of weeks running this way and I have done more than enough encodes without any issues that I can feel fairly confident that 1.19.0 has some sort of a bug in it causing the shutdowns.

Not sure if there is anything I can do to troubleshoot exactly why there is this issue with 1.19.0. would be willing to try anything if I get some guidance on what to do.

slalom
12th October 2024, 17:50
Poster download is broken again

stryker412
14th October 2024, 02:32
I ran two batch season encodes last night. Today I started on seasons 3 and 4. As soon as the job is prepared it "completes" within 2 seconds. I'm using the same settings so I'm not sure what's going on. I'm using the latest version 1.27.3.

https://imgur.com/a/NQNkeQq

Atak_Snajpera
14th October 2024, 15:06
check log. (right click on job and then SHOW LOG)

stryker412
14th October 2024, 23:26
Error: The file 'C:\Temp\RipBot264temp\job1\video.265' could not be opened for reading: open file error.

LigH
15th October 2024, 08:54
To discover the reason for the aborted encode, you will have to look at much more than the last line only...

Daringbaaz
15th October 2024, 14:14
check log. (right click on job and then SHOW LOG)

Are there any further developments and updates on RipBot264 available? Nowadays, all CPUs have multiple Cores, and we can't utilize them properly for single-file encoding.

I want to give it a try again to Ripbot264 for Distributed Encoding options. Please provide a download link to the latest version and change logs..

Thanks

bar72
15th October 2024, 15:37
I'd just like to say, nice work Atak_Snajpera. Been using ripbot for just over a year now and the DE has saved me a ton of time with the pile of BDs I'm backing up to my media server.

I've just got an old i7-7700k where I run the client and I run server on 2 x desktops with i7-4790s, all with 16GB RAM. Anyone with older CPUs, best settings are programs defaults with my setup:

/priority normal /restart-if-no-progress /avisynth-prefetch-threads 4 /x264-threads 4 /x265-threads 4 and "use multiple processing threads" set to 4 and setting any scripts to SetMemoryMax(8192).

SMDegrain took me ages to get running right but got there eventually, thanks to everyone in this thread.

Getting on great with Dogway's Example script on the SMD page of: Video=SMDegrain(video,tr=2,thSAD=180,prefilter=2,contrasharp=30,refinemotion=true,chroma=false,plane=0).

I'm still using MDegrain2 with some Blurays though as results are per movie specific.

stryker412
15th October 2024, 22:03
To discover the reason for the aborted encode, you will have to look at much more than the last line only...

My Ripbot updated to 1.27.4 finally and now it works again. So I have no idea what was wrong.

rlev11
15th October 2024, 22:34
Are there any further developments and updates on RipBot264 available? Nowadays, all CPUs have multiple Cores, and we can't utilize them properly for single-file encoding.

I want to give it a try again to Ripbot264 for Distributed Encoding options. Please provide a download link to the latest version and change logs..

Thanks

Setup properly using distributed encoding I can assure you Ripbot can use all of your cpu cores and threads to their fullest.
Running all the computers in my inventory, each of my encodes are currently using 200 physical cpu cores and 364 threads. Even running only 1 encoding server per PC, watching task manager, the cpu's are all going full bore near 100% usage.

LigH
15th October 2024, 22:36
My Ripbot updated to 1.27.4 finally and now it works again. So I have no idea what was wrong.

I would guess the reason might have been the command line syntax change (explicit "--input") we discussed in the last several pages of this thread.

00-00
18th October 2024, 18:41
I'm having a problem when trying to encode a BluRay with 7.1 DTS-MA, once everything is demuxed & prepared opening the preview window, the audio goes out of synch with the video. It's fine at the beginning but drifts out of sync during later parts of the preview.

I've tried encoding it anyway but the audio drifts out of synch in the resulting file too. I can add a delay, but it still drifts out. I've tried 3 completely separate sources all with the same problem. Other encodes are going on fine btw.

I'd appreciate any ideas!

slalom
18th October 2024, 19:17
Check fps display in program vs movie fps

00-00
18th October 2024, 20:15
Check fps display in program vs movie fps

Mediainfo reports: 23.976 (24000/1001) & RipBot also shows 23.976.

However! I just loaded it into RipBot again, (the 2nd time with this source) and, at least according to the preview window, everything seems to be in synch throughout. I'll re-encode tonight and see if the actual encode is also in synch.

Just as an FYI it's an obfuscated playlist, (definitely the correct one btw!) so I don't know if that has any bearing, but never had his happened previously with similar encodes..? Anyway, I'll re-encode & report back.


UPDATE: It was only in synch in the preview window with the audio profile at it's default setting: 7.1 FFMPEG FLAC ??? kbps [vbr] As soon as I change it to 7.1 Copy Stream it goes out of sync, even if i switch it back to default profile...

rlev11
19th October 2024, 02:19
Just out of curiosity, I would mux out the audio file from the original using mkvtoolnix which will save it as a .mka file. Then add that newly created file to the outputted file that ran through ripbot. I would be curious to see how the audio syncs up doing it that way. So essentially using the video part from ripbot, and the audio part from the original.

00-00
19th October 2024, 19:29
Just out of curiosity, I would mux out the audio file from the original using mkvtoolnix which will save it as a .mka file. Then add that newly created file to the outputted file that ran through ripbot. I would be curious to see how the audio syncs up doing it that way. So essentially using the video part from ripbot, and the audio part from the original.

Well that was strange - it worked! I tried extracting the audio separately and remuxing it afterwards previously with no luck, but doing it this way worked! I've never tried doing it this way before though, through mkvtoolnix, as I usually use tsmuxer if I have to demux a track.

So thank you for that, much appreciated!

stryker412
2nd November 2024, 22:13
What is everyone's personal CRF preference for 1080p?

LigH
2nd November 2024, 22:21
I wish this question would mean anything so I could answer...

microchip8
2nd November 2024, 22:24
What is everyone's personal CRF preference for 1080p?

x264: CRF 21

x265-10bit SDR: CRF 23
x265-10bit HDR: CRF 18

stryker412
2nd November 2024, 22:28
x264: CRF 21

x265-10bit SDR: CRF 23
x265-10bit HDR: CRF 18

Not an argument, just curious. Why 23 vs the default of 20?

microchip8
2nd November 2024, 22:33
Not an argument, just curious. Why 23 vs the default of 20?

20 was chosen at the beginning, when they added presets, and hasn't changed. At that time, x265 wasn't very good still so it needed more bitrate. Now, x265 is "good enough(tm)" and 23 is optimal CRF for me wrt quality/file size trade-off

LigH
2nd November 2024, 22:43
There may be different factors to select your preferred CRF.

But the video resolution should hardly be one.

stryker412
2nd November 2024, 22:45
20 was chosen at the beginning, when they added presets, and hasn't changed. At that time, x265 wasn't very good still so it needed more bitrate. Now, x265 is "good enough(tm)" and 23 is optimal CRF for me wrt quality/file size trade-off

Gotcha, thank you.

Boulder
3rd November 2024, 09:09
There may be different factors to select your preferred CRF.

But the video resolution should hardly be one.

With bigger resolutions, you might get away with a slightly higher CRF as the possible artifacts are often not as visible (because they are enlarged less if at all).

When talking about CRF, it must be remembered that the "hdr10-opt" parameter that should be enabled with HDR encodes, shifts the scale a bit so you can use a 1-2 points lower value for the same average bitrate.

rlev11
3rd November 2024, 15:37
With bigger resolutions, you might get away with a slightly higher CRF as the possible artifacts are often not as visible (because they are enlarged less if at all).

When talking about CRF, it must be remembered that the "hdr10-opt" parameter that should be enabled with HDR encodes, shifts the scale a bit so you can use a 1-2 points lower value for the same average bitrate.

So what exactly does having the --hdr10-opt (or even the --hdr10) in the x265 command line do. I have been running for the longest time with just the default ma10 profile in ripbot that just has
--profile main10 --output-depth 10
in it. It appears to me when encoding hdr, that even with the default setting, that the bt2020 parameters for hdr are being passed in the encode.

Boulder
3rd November 2024, 15:47
So what exactly does having the --hdr10-opt (or even the --hdr10) in the x265 command line do. I have been running for the longest time with just the default ma10 profile in ripbot that just has
--profile main10 --output-depth 10
in it. It appears to me when encoding hdr, that even with the default setting, that the bt2020 parameters for hdr are being passed in the encode.

--hdr10-opt will offset QPs based on the luma level of the frame so it will allocate bits better considering the characteristics of HDR sources being different from SDR ones.

You can use MediaInfo to see which parameters have been used on the video.

valnar
4th November 2024, 14:42
Hey everyone. My Google Fu is failing me.

Is there a tutorial on Batch mode? My episode files have a DTS-HD track and I assumed with the defaults based on this pic, it would copy the stream over. Instead it's converting it to FLAC. How can I adjust that?

18748

In case the pic doesn't come through, it's the default batch window of

Audio 1:
DEFAULT
English
1_audio

7.1|COPY STREAM
5.1|COPY STREAM
2.0|COPY STREAM
5.1|FFMPEG AC3|640 kpbs
2.0|FFMPEG AC3|256 kbps

slalom
4th November 2024, 18:03
That's a lot of pages back...

try this

https://i.ibb.co/LkThFqS/Screenshot-2024-11-04-190203.jpg (https://ibb.co/LkThFqS)

activoice
8th November 2024, 14:37
Before encoding a video I strip out any subs I don't want leaving just the English Subtitles, and English Forced Subtitles. I make sure that the forced subtitle has the Forced value set to YES

When the Forced Subtitles are de-muxed they end up in the corresponding Job folder with a file name like this (so far so good)

1_subtitles_English_DEFAULT_FORCED.srt

But after encoding has been completed by Ripbot and the output is remuxed that subtitle still ends up with the Forced value set to NO, I need to open the output file in MKVToolnix change the flag to Yes and Remux it.

When I look at Profile setting under preferred forced subtitles, it says FORCED and has examples of English|Forced.SSA as the filename to be used.

But I don't control the filename that the subtitle is output as. Does that mean I should be entering this file name in that field for it to retain the forced flag?

1_subtitles_English_DEFAULT_FORCED.srt in that box?

Or if that's not it, how do I retain the Forced value without having to remux after the encode?

Atak_Snajpera
8th November 2024, 15:38
Is 1_subtitles_English_DEFAULT_FORCED.srt automatically selected in SUBTITLES section after demuxing?
I think the problem is that 1_subtitles_English_DEFAULT_FORCED.srt was originally muxed with two flags DEFAULT and FORCED. In that case RipBot treats that file as DEFAULT.

activoice
8th November 2024, 17:46
Is 1_subtitles_English_DEFAULT_FORCED.srt automatically selected in SUBTITLES section after demuxing?
I think the problem is that 1_subtitles_English_DEFAULT_FORCED.srt was originally muxed with two flags DEFAULT and FORCED. In that case RipBot treats that file as DEFAULT.

Usually if you have a Forced Subtitle it's also the first subtitle and is often set to Default YES and Forced YES.

I did a test just now where I set Default to NO and Forced to YES, but Ripbot still did not set it to forced automatically in the job.

I also tried adding both English_DEFAULT_FORCED and DEFAULT_FORCED to the preferred forced subtitle box and that didn't do anything either.

It seems the only workarounds are to either Edit the job to manually select the subtitle I want forced. Or to edit the output with MKVToolnix, set the flag to YES and Remux.

hardkhora
9th November 2024, 22:15
Has anyone been able to get RipBot to work with Linux via WINE?
I know a Virtual Machine (VM) option exists but would take more resources... and I'm trying to de-windows my life, but it is soo hard :(
I saw some interest from a few users (TDS, apol847, dv8r, BLKMGK, Ryushin, and mparade)

Or is there something for Linux that does distributed encoding like RipBot?

Atak_Snajpera
10th November 2024, 12:02
Usually if you have a Forced Subtitle it's also the first subtitle and is often set to Default YES and Forced YES.

I did a test just now where I set Default to NO and Forced to YES, but Ripbot still did not set it to forced automatically in the job.

I also tried adding both English_DEFAULT_FORCED and DEFAULT_FORCED to the preferred forced subtitle box and that didn't do anything either.

It seems the only workarounds are to either Edit the job to manually select the subtitle I want forced. Or to edit the output with MKVToolnix, set the flag to YES and Remux.

It is a bug. I will fix that soon.

activoice
12th November 2024, 00:59
It is a bug. I will fix that soon.

Thanks

rlev11
12th November 2024, 01:44
With bigger resolutions, you might get away with a slightly higher CRF as the possible artifacts are often not as visible (because they are enlarged less if at all).

When talking about CRF, it must be remembered that the "hdr10-opt" parameter that should be enabled with HDR encodes, shifts the scale a bit so you can use a 1-2 points lower value for the same average bitrate.

Thanks for the info on hdr10-opt especially since i always encode with a CRF of 18.
I did a couple quick tests and re-encoded some hdr material using hdr10-opt in the command (along with what I believe is correct from reading also adding --aq-mode 2).
I can not tell any visual difference in the new encodes EXCEPT I am now getting anywhere from a 5 - 40 percent decrease in the final output size. So a win-win in my book.

Since having --hdr10-opt in the profile will not ignore and blow up the encode on non-hdr material, I just now have an additional profile I use specifically for hdr material now which is no problem.

Also, I posted back a bit that I was having issues with the latest encoding client .exe. Just recently I let ripbot auto update again which installed the latest version. I have done a bunch of encodes recently and have had no issues. Not sure if something was updated with ripbot, or something maybe with a windows update took care of the issue. Just wanted to get that out there....

Ryushin
17th November 2024, 19:31
It is a bug. I will fix that soon.

I was coming to post about this exact same bug.

If I have:
[Subtitles]
File=English;
Default=FORCED;
Forced=FORCED;

The default will always be populated and the Forced will be blank. If I set "Default=;" then it will show up in Forced. But yea, I set both the Default and Forced to be FORCED and I make my MKV files to be the same way.

So having Default and Forced be populated with the forced subtitle would be appreciate it. Also if it's possible to automatically move the Forced subtitle to be the first subtitle would be best too.

Thanks Atak.

Ryushin
17th November 2024, 19:34
Has anyone been able to get RipBot to work with Linux via WINE?
I know a Virtual Machine (VM) option exists but would take more resources... and I'm trying to de-windows my life, but it is soo hard :(
I saw some interest from a few users (TDS, apol847, dv8r, BLKMGK, Ryushin, and mparade)

Or is there something for Linux that does distributed encoding like RipBot?

No, no success working under WINE when I tried to make it work several years ago. So I settled on using a virtual machine using KVM under Linux which gives near bare metal performance.

hardkhora
19th November 2024, 07:14
No, no success working under WINE when I tried to make it work several years ago. So I settled on using a virtual machine using KVM under Linux which gives near bare metal performance.
I hadn't tried KVM, just VirtualBox since I usually use Nobara or Linux Mint.
I'll have to give that a go.
Thank you for the insight.

rp1989
19th November 2024, 08:12
I hadn't tried KVM, just VirtualBox since I usually use Nobara or Linux Mint.
I'll have to give that a go.
Thank you for the insight.

I’ve made significant progress on macOS by installing the encoding server through CrossOver. Everything launches as expected, but the encoding server cannot access the main shared folder via CrossOver. I suspect this is due to a limitation with Wine when accessing UNC paths. It would be ideal if there were a way to configure the shared folder for each encoding server to use mapped drives instead. Since CrossOver/Wine supports accessing mapped drives, configuring the encoding server to look for a mapped drive instead of directly accessing the shared folder via a UNC path would resolve this issue.

stryker412
21st November 2024, 02:30
Looking to build a new Intel PC. What is the best mix of GPU/CPU that helps with Ripbot that won't break the bank? I was thinking of an i7-14700K with a 2070 Ti Super.

rlev11
21st November 2024, 03:18
Looking to build a new Intel PC. What is the best mix of GPU/CPU that helps with Ripbot that won't break the bank? I was thinking of an i7-14700K with a 2070 Ti Super.

Can't help with the GPU side as I don't do any gpu based encoding (cpu only), but on the processor side I have the non-K i7-14700 which I push to about 175 watt. This slots in between a ryzen 7700x and a ryzen 7900x. I would imagine you should be able to push a 14700k real close to a 7900x.
Just as a comparison , a cheap i5-14500 I see about 30% slower than a 7900x and similar to the 7700x. I have never run a i9-14900k, but I can't imagine (might be wrong) that 4 extra E cores would make it that much faster than the i7 for the additional price.

stryker412
21st November 2024, 23:12
Well this will also be a gaming PC too so it'll be a mix of video encoding and gaming. Does Intel offer anything with their latest generation that AMD can't match when it comes to encoding (Ripbot use)?

Here's an AMD build to compare: https://www.microcenter.com/site/content/custom-pc-builder-amd.aspx?load=da1dec8f-9b9b-46e2-a795-2ccbcee2e3ba

rlev11
22nd November 2024, 02:13
Well this will also be a gaming PC too so it'll be a mix of video encoding and gaming. Does Intel offer anything with their latest generation that AMD can't match when it comes to encoding (Ripbot use)?

Here's an AMD build to compare: https://www.microcenter.com/site/content/custom-pc-builder-amd.aspx?load=da1dec8f-9b9b-46e2-a795-2ccbcee2e3ba

I don't game, but everything I have read is the AMD x3d processors are the king of gaming performance. I have nothing to compare, but I don't think the x3d variants help at all with encoding. They are also a lot more expensive than the non-x3d amd's.

Encoding is more of a CPU/Thread count for performance as opposed to other factors. CPU generations can also affect encoding performance a bit. There is a big jump on the AMD side going from the 5000 series to the 7000 series. 9000 series is a smaller jump from the 7000 series. My 9950x is a tad bit faster than my 7950x , but not significant. I have a i5-13500 and an i5-14500 and they encode identically (they also have the same thread count).

It is my understanding that the intels game a little better than a non-x3d equivalent processor probably due to their higher boost clock rates. There is also a lot of talk lately about issues with intel 13 and 14 gen cpu's having manufacturing issues to consider.

In my opinion, the best bang for your buck just for encoding would be a AMD 7900x. There are plenty of sites with gaming benchmarks out there (and also encoding), so I would look at those and see what works with your price range and has the best balance between the 2.

Emulgator
22nd November 2024, 19:07
Excactly, and Sagittaire has just made a nice benchmark:
https://forum.doom9.org/showthread.php?t=185855
On my 2 main encoding systems I am running Intel i9-11900K from September 2021, and there it is:
AMD Ryzen 9950x beats mine easily @ 400% encoding fps. Their price 700$ looks feasible for me as well,
the Intel CPUs in my past systems had always set me back around 1000$ each, but outlasting decades.

On the same sidenote: x3D I would rather consider as a testbed:
Can TMSC's engineers get 2 chips perfectly smooth stacked without any real contact as we are used to ?
Will that design around the "4nm" node outlast decades ?
Thermal diffusion might lead to decaying contact zones, I fear, and still would like to adhere to monolithic...

rlev11
22nd November 2024, 20:53
Since we are talking about cpu performance with ripbot, below I ran a quick test with all of my current machines just to see where they all stacked out in comparison. This might be useful for someone looking into what processor they want to get. This is taken from a 2.40:1 aspect 4k movie with some light degraining, HEVC 10 bit CRF 18. I did a sample of 3 chunks for each server and averaged them together in the middle of the movie using the result fps number for the chunk in the distributed encoding client window. This is more though about how the numbers compare to each other than the actual numbers....

9950x 20.02
7950x 18.3
7900x 17.37
7700x 11.26
5950x 11.15
5900x 9.07
3950x 9.43
3900x 9.78
i7-14700 13.98
i5-14500 12.44
i5-13500 12.64
i5-12600k 9.59

GZZ
23rd November 2024, 17:23
Whats more interesting is the power usage. Might be a fast CPU, but if it uses 3 times the power to complete the task, only 1 hour ealier, then it might not be the best CPU. Except if you have free power or dont care. I think the 7900 (non-x) (not on the above list) to be the sweet-spot, I think it will place itself between the 7700x and 7900x and properly closer to the 7900x, but at a much lower wattage.

Emulgator
23rd November 2024, 18:29
rlev, since you seem to have the most diverse collection of servers to choose from, would you mind enhancing your list by the CPU TDP or even better: real wattage ?
This would help comparing some pJ/cycles.
(Note to self: BTW, TDP I can do myself.)

rlev11
23rd November 2024, 23:13
This is the total Package Power as reported by CPUID HWMonitor when each server is in the middle of a chunk of a 4k encode. Only thing i do on the Ryzens is set a Thermal Limit in the PBO section of the bios. I set the 9000 and 7000 series to 85c, and the 5000 and 3000 to 75c

First wattage is total package and second is core/ia core watts

9950x 20.02 200w, 146w
7950x 18.3 190w, 144w
7900x 17.37 170w 125w
7700x 11.26 128w, 95w
5950x 11.15 147w, 104w
5900x 9.07 148w, 95w
3950x 9.43 112w, 85w
3900x 9.78 130w, 101w
i7-14700 13.98 175w, 170w
i5-14500 12.44 133w, 130w
i5-13500 12.64 119w, 117w
i5-12600k 9.59 115w, 112w

Emulgator
24th November 2024, 11:29
Thanks, rlev!
This is enlightening for everyone choosing a new encoding CPU.

Ryushin
24th November 2024, 14:33
Why ??, doesn't that hinder performance ??

I don't use that setting on any of mine.

When I got my 7950X, I ended up under clocking mine. I found that for that extra 5% encoding boost to get to 100% it required twice the power. So my encoding speed is 95% of what the CPU is capable of all the while using half the power and staying under 70 Celsius while encoding 4K. Not bad to extend the life of the processor and use less power.

I have 40 kWh of battery storage for my solar system and I can keep encoding through the night just fine this way.

rlev11
24th November 2024, 17:50
When I got my 7950X, I ended up under clocking mine. I found that for that extra 5% encoding boost to get to 100% it required twice the power. So my encoding speed is 95% of what the CPU is capable of all the while using half the power and staying under 70 Celsius while encoding 4K. Not bad to extend the life of the processor and use less power.

I have 40 kWh of battery storage for my solar system and I can keep encoding through the night just fine this way.

Back when I first got my 5950x and before I put a NH-d15 cooler on it, what I did was just in the windows power plan was change max processor from 100% to 99%. What this did was disable the cpu from going into it's boost clock speeds and just run at the base speed. Don't remember exactly how much, but this dropped the output wattage by quite a bit, and like you, only noticed a slight drop in performance. This might be a quick way to test other than changing the bios to eco mode. Back then I made a powerplan desktop shortcuts that let me switch between 100% and 99% on the fly for when I was encoding. Might be something I look into again just to see with the whole farm encoding how much performance drop I really see now.

In fact yesterday I tried setting eco mode using ryzen master as a test and ended up having to pull the cmos battery and rest the bios after ryzen master rebooted and nothing came up. Screwed it all up, so I gave up on that idea.

Wishbringer
25th November 2024, 09:15
For example:
5950X with 99% Powerplan = 3.4 Ghz for all cores (Stock clock)
5950X with 100% Powerplan = 4.25 GHz for all cores (value is different for each processor)
So you get around 20% higher clock.
If power consumtion is 20% higher too, there is no implact on IPW, else lower clocks with much lower wattage have a higher IPW.
Encoding is slower but takes lower power (cheaper) overall.

In Bios there are settings for THM, TDC, EDC and PPT to play around.
And with curve optimizer you can reduce wattage too (or increase clock at stock wattage).
My core values differ from -17 to -24 with stable encoding.

Ryushin
26th November 2024, 13:59
Back when I first got my 5950x and before I put a NH-d15 cooler on it, what I did was just in the windows power plan was change max processor from 100% to 99%. What this did was disable the cpu from going into it's boost clock speeds and just run at the base speed. Don't remember exactly how much, but this dropped the output wattage by quite a bit, and like you, only noticed a slight drop in performance. This might be a quick way to test other than changing the bios to eco mode. Back then I made a powerplan desktop shortcuts that let me switch between 100% and 99% on the fly for when I was encoding. Might be something I look into again just to see with the whole farm encoding how much performance drop I really see now.

I was using Ryzen Master to make the change manually for a few weeks when the system was rebooted. After I was sure it was stable I manually changed it in the EFI/BIOS. I did not know Windows itself had the option to drop the speed of the processor. I'll need to look into that.

For example:
5950X with 99% Powerplan = 3.4 Ghz for all cores (Stock clock)
5950X with 100% Powerplan = 4.25 GHz for all cores (value is different for each processor)
So you get around 20% higher clock.
If power consumtion is 20% higher too, there is no implact on IPW, else lower clocks with much lower wattage have a higher IPW.
Encoding is slower but takes lower power (cheaper) overall.

In Bios there are settings for THM, TDC, EDC and PPT to play around.
And with curve optimizer you can reduce wattage too (or increase clock at stock wattage).
My core values differ from -17 to -24 with stable encoding.

At least for me, that last 5% performance boost literally consumed 100% more power. So for me it was worth it to under clock the processor.

chainring
26th November 2024, 18:20
Before setting the Windows Balanced power plan to 99% for the CPU max, my girlfriend would remark that the four machines participating in DE sounded like a vortex. They also pumped out quite a bit of heat. Now, they're silent, cooler and still get plenty of FPS.

stryker412
27th November 2024, 20:34
This is the total Package Power as reported by CPUID HWMonitor when each server is in the middle of a chunk of a 4k encode. Only thing i do on the Ryzens is set a Thermal Limit in the PBO section of the bios. I set the 9000 and 7000 series to 85c, and the 5000 and 3000 to 75c

First wattage is total package and second is core/ia core watts

9950x 20.02 200w, 146w
7950x 18.3 190w, 144w
7900x 17.37 170w 125w
7700x 11.26 128w, 95w
5950x 11.15 147w, 104w
5900x 9.07 148w, 95w
3950x 9.43 112w, 85w
3900x 9.78 130w, 101w
i7-14700 13.98 175w, 170w
i5-14500 12.44 133w, 130w
i5-13500 12.64 119w, 117w
i5-12600k 9.59 115w, 112w

How do you think the 5700X or 5700X3D might do? I've had a few people suggest I just upgrade my 3700X to the 5700X and call it a day without having to do a full build.

rlev11
27th November 2024, 21:08
How do you think the 5700X or 5700X3D might do? I've had a few people suggest I just upgrade my 3700X to the 5700X and call it a day without having to do a full build.

Seeing how there is very little difference between the 3900x and 5900x, I doubt there would be much of a difference between the 3700x and 5700x in encoding performance. Remember encoding is based a lot on core and thread count, maybe a 5900x or a 5950x from the 3700x to get more cores. You will have to account for additional cooling though, either an aoi or a noctua d15, but that also brings into play the case on if it can handle an aio or the 165mm cooler height of the Noctua.

rlev11
27th November 2024, 21:22
Since we have been talking power usage lately, i found this that is interesting. Instead of changing the max cpu state in the power plan to 99%, leave that at 100%. then regedit here:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\be337238-0d82-4146-a960-4f3749d470c7 and change "Attributes" (DWORD) and set to "2"

Now, there is a new setting on advanced power settings: (in the legacy control panel power options) "Processor performance boost mode". Set it to "Disabled" and cpu power drops considerably.
This works for both AMD and Intel CPU's and forces everything to run at the base clock speed (setting to 99% didn't do anything for me on my Intel systems)

Have found on my AMD boxes, there is little performance difference with a considerable power decrease. On the Intel systems, since they have a much lower base clock (larger spread from base to boost speed) it does hamper performance a bit more. On my i7-14700, disabling boost, dropped p-cores to 2gz and E-cores to 1500 mhz. but cpu power dropped from 175 watts to 35 watts. lost about 30-40% performance

Just something else to consider if looking at lowering power usage quickly without messing with BIOS settings.

If I get some time this weekend, I'll run some numbers comparing the same video/chunk for each machine both boost enabled/disabled and come up with a fps versus watts used and see where things shake out.

Ryushin
29th November 2024, 16:24
Why do ppl buy multi core CPU's, then hobble them just to save some energy / money ??

Why not buy a lesser CPU, and run it at 100%, what's the point in having a 16C CPU, that is hobbled down to be equivalent to a 12C ??

The upgraded processor is able to process more FPS. Lowering the max speed by 5% results in processor that is more efficient for each clock cycle and more importantly, it will extend the life of the processor by not pushing it to thermal limits for days/weeks on end.

And as someone else said, their machines won't sound like a jet turbine just to gain another 5% performance at double the power usage and most likely killing the processor sooner then later.

ReinerSchweinlin
2nd December 2024, 13:22
This is the total Package Power as reported by CPUID HWMonitor when each server is in the middle of a chunk of a 4k encode. Only thing i do on the Ryzens is set a Thermal Limit in the PBO section of the bios. I set the 9000 and 7000 series to 85c, and the 5000 and 3000 to 75c

First wattage is total package and second is core/ia core watts

9950x 20.02 200w, 146w
7950x 18.3 190w, 144w
7900x 17.37 170w 125w
7700x 11.26 128w, 95w
5950x 11.15 147w, 104w
5900x 9.07 148w, 95w
3950x 9.43 112w, 85w
3900x 9.78 130w, 101w
i7-14700 13.98 175w, 170w
i5-14500 12.44 133w, 130w
i5-13500 12.64 119w, 117w
i5-12600k 9.59 115w, 112w

Thanx, this is really helpfull. Without doing the math, at first glance the 7900x seems like a performance/watt winner.

hardkhora
5th December 2024, 12:59
Is there a way to force files shorter than 60 seconds to still be encoded distributively?
The problem I'm having is that my main RipBot controlling computer, which I don't usually encode with but like using as the central server, uses a iGPU (UHD 770).
Any video with KNLMeansCL used gets extra blurry/halos around the edges of things when encoding with the UHD 770, but with KNLMeansCL off or when I use any of my other computers with discrete GPUs I don't have that issue.
Example of the issue:
https://imgur.com/a/X09dQrh

ReinerSchweinlin
5th December 2024, 14:39
Is there a way to force files shorter than 60 seconds to still be encoded distributively?
The problem I'm having is that my main RipBot controlling computer, which I don't usually encode with but like using as the central server, uses a iGPU (UHD 770).
Any video with KNLMeansCL used gets extra blurry/halos around the edges of things when encoding with the UHD 770, but with KNLMeansCL off or when I use any of my other computers with discrete GPUs I don't have that issue.
Example of the issue:
https://imgur.com/a/X09dQrh


do you really need nlmeans noise reduction on this footage? Looks fine to me.... I usually use CPU degrain on anime, rarely nlmeans does a better job.

hardkhora
5th December 2024, 18:18
do you really need nlmeans noise reduction on this footage? Looks fine to me.... I usually use CPU degrain on anime, rarely nlmeans does a better job.

I agree, I don't need it for that footage, that was to illustrate the problem.
I was trying to understand if there a way to force files shorter than 60 seconds to still be encoded distributively?

I also tried updating the iGPU driver and that didn't make a difference.

ReinerSchweinlin
5th December 2024, 19:28
I agree, I don't need it for that footage, that was to illustrate the problem.
I was trying to understand if there a way to force files shorter than 60 seconds to still be encoded distributively?

I also tried updating the iGPU driver and that didn't make a difference.
hm, I just looked up the chunk size - guess you tried that too - and found 1 minute as the smallest chunk...
if you donīt run a encoding server on the master PC - shouldnīt it pass one chunk onto one of the network encoders? Have you tried that ?

hardkhora
5th December 2024, 20:49
hm, I just looked up the chunk size - guess you tried that too - and found 1 minute as the smallest chunk...
if you donīt run a encoding server on the master PC - shouldnīt it pass one chunk onto one of the network encoders? Have you tried that ?

When the file can't be chunked (is below 60 seconds), then the process bypasses the distributed encoding and encodes it locally via the main RipBot window (same as if you turned off distributed encoding all together). So, even if there is no encoding server it still acts locally.
I tried setting the chunk size to 0 but it still won't pass it to encoding servers as I'd expect.

ReinerSchweinlin
5th December 2024, 22:32
ah ok... sorry, I canīt help then.

bar72
7th December 2024, 08:31
Why do ppl buy multi core CPU's, then hobble them just to save some energy / money ??

Why not buy a lesser CPU, and run it at 100%, what's the point in having a 16C CPU, that is hobbled down to be equivalent to a 12C ??

It's a bit like having a 2.0 litre over a 1.6 litre diesel engine in my car.

Doesn't have to work as hard to achieve sitting at the speed limit which puts less strain on engine overall. ;)

rlev11
7th December 2024, 19:58
So I got a chance to do a full test for FPS and wattage on my entire encoding farm with cpu boost enabled and disabled. I did a separate run with a 4k source (3840x1600 light degraining) and a 1920x1080 source with heavy degraining just to see how they compare. The below link is for the spreadsheet with the results. Ran each run and got the fps from the distributed encoding window and for each cpu it was the same chunk number so that matches up. I also timed each run and saw about a 10-12% increase in total encoding time without boost, which is close to what the fps difference is. Saw about a 48% total drop in combined power usage.
So my math may be fuzzy on the end result, but it looks like it is much more cost efficient to run at least AMD processors with boost disabled since their spread is minimal. Just using my raw numbers, If an encode runs for 1 hour at full power, I would use appx 106380 total watts. If running with boost off and it takes 15% longer (69 minutes) I get 63135 total watts used for the same encode.

I am not advocating anything with this, just was curious of the difference and how it all fits together. And plus, as others have mentioned, your computers don't sound like a turboprop taking off.

https://docs.google.com/spreadsheets/d/1w2N0-Kw3Lni3Tkmud-ViwluzUf7KuSJr/edit?gid=983798900#gid=983798900

supersnakeyez
8th December 2024, 00:44
I'm running RB 1.27.4 and for some reason every time I try to encode a movie from Netflix it encodes like normal but when played back on computer or portable hard drive the movie keeps skipping and looping which makes watching impossible. Only happens with Rb for some strange reason. Same file I encode with other software works fine.

chainring
8th December 2024, 21:30
I also timed each run and saw about a 10-12% increase in total encoding time without boost, which is close to what the fps difference is. Saw about a 48% total drop in combined power usage.

Almost half the power and only increasing encoding time up to 12%. That's an insane difference. Those of us who live where electricity isn't cheap, it's a seriously welcomed difference.

dipais
9th December 2024, 11:11
check log. (right click on job and then SHOW LOG)

Hello Atak Snajpera

I see from the logs shown in mediainfo that RipBot has different default settings than the x265.

x265 default : --ctu 64 --max-tu-size 32 --qg-size 32 --merange 57 --aq-mode 3
RipBot default : --ctu 16 --max-tu-size 16 --qg-size 16 --merange 9 --aq-mode 2
I really hope you can explain why you chose a different setting than the default x265. What is the impact?. What are the effects or what are the advantages and benefits that RipBot users can get with these settings?.

Cheers,
D

supersnakeyez
10th December 2024, 00:20
Might need to upload a sample...

Are you using std RB or an old PD build, and what app did you use to have the encode work OK ??

I'm using latest stable version of ripbot and the program that works flawlessly is Handbrake. I've had to resort to handbrake ever since rb kept crapping out on my encodes.

supersnakeyez
10th December 2024, 03:34
"Stable" version ???

I haven't been doing any encoding of late, and there has been a couple of updates to RB that I haven't tried yet,
but there were some problems with the build I was using, months ago, and I had to swap a few things around for it to work like it should (or should I say, "to my liking")....sadly.

Support of RipBot is sadly not what it used to be :(

I'll get back into it again, soon, no doubt.

So, the latest build of HB, 1.9.0 ??....never doubt good old Handbrake :)

Good luck.

yea HB has been working like a charm and gets updates regularly.

Boulder
10th December 2024, 19:35
I did a little power consumption test on a 5950X just for fun, using my chunked encoder to run an analysis step.

With PBO enabled and Curve Optimizer tweaked cores, the process took 1h 45min 47sec.
With stock multiplier and PBO disabled (i.e. all cores constantly at 3600 MHz), the process took 1h 50min 22sec.

The average power consumption of the whole PC with PBO enabled was 416,7 Watts and with stock clocks 361,8 Watts. These were measured using a Shelly smart plug with 5-second resolution stored to an SQL database.
So with about 5% loss in performance, a gain of close to 15% in energy efficiency which is quite nice if you for example don't have any excessive solar power to utilize here.

chainring
14th December 2024, 02:40
Fortunately for some of us here, have "excessive solar power", and also some of us have batteries, as well, so it is of little interest or consequence.

Let them run @ 100%.

Neat. So don't comment, TDS.

chainring
14th December 2024, 02:59
tds..

Yeah, your previous user name. What was the one before that? We all know.

jimbobub
14th December 2024, 19:17
Originally Posted by Atak_Snajpera View Post
Try this for now...
1) Add --colorprim bt709 --transfer bt709 --colormatrix bt709 to your encoding profile
2) Download ColorMatrix Plugin https://www.mediafire.com/file/aj88v...trix26.7z/file
3) extract to Tools\AviSynth plugins folder
4) Add following lines to your script under #ColorSpace

I am unable to find where #colorspace is located. I was able to do everything else. I'm trying to properly convert bt.601 to bt.709. Thanks.

jimbobub
14th December 2024, 19:40
I forgot to add that I am converting home videos from dvds to 1280x720 avc to play on a bluray player viewing on a tv. Do I need to change the level to tv or is the limited color range accounted for already? Thanks.

rlev11
14th December 2024, 20:44
Originally Posted by Atak_Snajpera View Post
Try this for now...
1) Add --colorprim bt709 --transfer bt709 --colormatrix bt709 to your encoding profile
2) Download ColorMatrix Plugin https://www.mediafire.com/file/aj88v...trix26.7z/file
3) extract to Tools\AviSynth plugins folder
4) Add following lines to your script under #ColorSpace

I am unable to find where #colorspace is located. I was able to do everything else. I'm trying to properly convert bt.601 to bt.709. Thanks.

After you load the video, click the AviSynth button. Then on the right side click Edit Script.
#ColorSpace is located near the bottom under the video tab

jimbobub
14th December 2024, 22:17
I get the error:
Cannot load file 'C:/Ripbot264/Tools/AviSynth plugins/ColorMatrix26/ColorMatrix64.dll' Platform returned code 126: The specified module could not be found.

From the directory listed above, ColorMatrix64.dll was in there. I even tried:
video=ColorMatrix(video,mode="Rec.601->Rec.709")

I got an error still.

chainring
14th December 2024, 23:44
I'm still here, smart arse, I just don't post on this thread anymore !!!

Oh, look, it's TDS, FTLOY, Retired@55 and Pauly Dunne. Please, take your multiple personas elsewhere. Preferably, a therapist.

jimbobub
15th December 2024, 00:45
I'm making some progress. The error was the path to colormatrix64.dll. I'm using preview to test first. The video now comes up in preview and plays but there is no audio as before using the color matrix script.

tebasuna51
15th December 2024, 10:06
BTW, what's wrong with having different usernames ??

Because the forum rules:

14) Multiple registrations are prohibited and are grounds for immediate account deletion.

If the chainring post is true please select the account you want preserve and the others will deleted.

rlev11
15th December 2024, 16:33
I'm making some progress. The error was the path to colormatrix64.dll. I'm using preview to test first. The video now comes up in preview and plays but there is no audio as before using the color matrix script.

I know it is a couple extra steps, but you could just use mkvtoolnix to extract the audio, then do your ripbot encode even if the audio has issues, and then add the audio back in again.
If you only need to do this to a couple videos, probably less time than trying to figure it out

jimbobub
15th December 2024, 16:43
Thanks for your response. I don't mind demuxing, processing and remuxing if need be. When converting from bt601 to bt709, will ripbot try to match the saturation, brightness, contrast ect? Thanks.

rlev11
15th December 2024, 17:11
Thanks for your response. I don't mind demuxing, processing and remuxing if need be. When converting from bt601 to bt709, will ripbot try to match the saturation, brightness, contrast ect? Thanks.

Can't help with that as I have never had to do that type of conversion. Hopefully someone who has or knows will chime in.
I would just create a short, say 5 minute clip that you can encode quickly, and just start doing some testing and see what happens to the video and the colors.

Ryushin
22nd December 2024, 17:53
So my math may be fuzzy on the end result, but it looks like it is much more cost efficient to run at least AMD processors with boost disabled since their spread is minimal. Just using my raw numbers, If an encode runs for 1 hour at full power, I would use appx 106380 total watts. If running with boost off and it takes 15% longer (69 minutes) I get 63135 total watts used for the same encode.

I am not advocating anything with this, just was curious of the difference and how it all fits together. And plus, as others have mentioned, your computers don't sound like a turboprop taking off.



Rlev11, I like the spreadsheet. It also confirms what I've seen. I can't believe how much more energy it takes to get that last 5-10% performance out of the processor.

Ryushin
23rd December 2024, 14:07
Thanks for your response. I don't mind demuxing, processing and remuxing if need be. When converting from bt601 to bt709, will ripbot try to match the saturation, brightness, contrast ect? Thanks.

Did you ever get colormatrix working? I spent a few hours on it and could not get it to work. Though, I'm trying to go from Rec.709 to Rec.2020.

I've been doing a lot of 4K upscales from HD. My workflow right now is running the video through Handbrake at CQ8 to convert my video to BT2020 before adding it to Ripbot.

Atak, when get the bug to work in RB, can you add color space conversions for 601 to 709 and 709 to 2020.

It would also be fantastic to see SMDegrain added to RB. Possible with these settings:
Light: Video=SMDegrain(video,tr=2,thSAD=200,thSADC=100,contrasharp=true,prefilter=0,refinemotion=true)
Medium: Video=SMDegrain(video,tr=4,thSAD=400,thSADC=200,contrasharp=true,prefilter=1,refinemotion=true)
Heavy: Video=SMDegrain(video,tr=8,thSAD=800,thSADC=400,contrasharp=true,prefilter=2,refinemotion=true)

These are the three I use. I mostly use Medium and Heavy though.

I have not used MDegrain at all since switching to SMDegrain. The results of SMDegrain are so much better.

Thanks Atak.

guest
23rd December 2024, 14:28
Did you ever get colormatrix working? I spent a few hours on it and could not get it to work. Though, I'm trying to go from Rec.709 to Rec.2020.

I've been doing a lot of 4K upscales from HD. My workflow right now is running the video through Handbrake at CQ8 to convert my video to BT2020 before adding it to Ripbot.

Atak, when get the bug to work in RB, can you add color space conversions for 601 to 709 and 709 to 2020.

It would also be fantastic to see SMDegrain added to RB. Possible with these settings:
Light: Video=SMDegrain(video,tr=2,thSAD=200,thSADC=100,contrasharp=true,prefilter=0,refinemotion=true)
Medium: Video=SMDegrain(video,tr=4,thSAD=400,thSADC=200,contrasharp=true,prefilter=1,refinemotion=true)
Heavy: Video=SMDegrain(video,tr=8,thSAD=800,thSADC=400,contrasharp=true,prefilter=2,refinemotion=true)

These are the three I use. I mostly use Medium and Heavy though.

I have not used MDegrain at all since switching to SMDegrain. The results of SMDegrain are so much better.

Thanks Atak.

I cannot believe you're still asking Atak to add SMDegrain to RipBot, you need to realize that he will NEVER add it !!!!

He built RipBot exclusively for his own use, and he has no interest in what other's want, unless he sees some personal benefit, and he can be very rude, as well, not to mention stubborn.

You have Pauly Dunne to thank for SMDegrain in RipBot, and now he's been banned, along with TDS, and shortly, I will be gone too.

Good luck, you'll need it.

Ryushin
24th December 2024, 16:14
I cannot believe you're still asking Atak to add SMDegrain to RipBot, you need to realize that he will NEVER add it !!!!

He built RipBot exclusively for his own use, and he has no interest in what other's want, unless he sees some personal benefit, and he can be very rude, as well, not to mention stubborn.

You have Pauly Dunne to thank for SMDegrain in RipBot, and now he's been banned, along with TDS, and shortly, I will be gone too.

Good luck, you'll need it.

For sure you got me to go down the path of learning SMDegrain and once I found the right options, the results were so much better then what I thought was possible. So I very much appreciate your efforts to bring SMDegrain to RB.

If you decide to no longer make a SMDegrain add on pack for RB, I'll create a light version that uses uses all of RB's stock components and just add the few files needed to add SMDegrain with the settings I use with with just the CPU. SMDegrain is just too good to not use it and other should have the ability to quickly use it. Once Atak adds SMDegrain, then I will stop having to do it.

Atak still adds features to RB in addition to fixing bugs. He is still supporting it. I greatly appreciate his efforts and have been relying on it since the early days. He has a life though, so I'm patient.

guest
25th December 2024, 01:30
For sure you got me to go down the path of learning SMDegrain and once I found the right options, the results were so much better then what I thought was possible. So I very much appreciate your efforts to bring SMDegrain to RB.

If you decide to no longer make a SMDegrain add on pack for RB, I'll create a light version that uses uses all of RB's stock components and just add the few files needed to add SMDegrain with the settings I use with with just the CPU. SMDegrain is just too good to not use it and other should have the ability to quickly use it. Once Atak adds SMDegrain, then I will stop having to do it.

Atak still adds features to RB in addition to fixing bugs. He is still supporting it. I greatly appreciate his efforts and have been relying on it since the early days. He has a life though, so I'm patient.

Ooooooooooh, I can feel that knife again.
Yeah, you go right ahead and release a Lite version of all my hard work, but don't you dare call it PD anything !!!
The last time you did this, you got credited, ironically, by the same prick that just threw me under the bus.
You know, I used to have a LOT of respect for you, but now it's less than zero.
And to be so naïve to think Atak is going to add SMDegrain to his little pet project, he's had years to do something, and it's so easy,
and what's he done.....NOTHING !!!!
Sure I will still keep developing it, but for my own use.
It's not safe & secure here on the Forum anymore, if I created a new username & account, how long would it be before the same guy, or other's, throw me back under the bus.
It's not worth it, and I certainly can do without the drama.
So once I've had this account deleted, you're on your own.
Way too many ungrateful ppl here.

Ryushin
25th December 2024, 15:57
Ooooooooooh, I can feel that knife again.
Yeah, you go right ahead and release a Lite version of all my hard work, but don't you dare call it PD anything !!!
The last time you did this, you got credited, ironically, by the same prick that just threw me under the bus.
You know, I used to have a LOT of respect for you, but now it's less than zero.
And to be so naïve to think Atak is going to add SMDegrain to his little pet project, he's had years to do something, and it's so easy,
and what's he done.....NOTHING !!!!
Sure I will still keep developing it, but for my own use.
It's not safe & secure here on the Forum anymore, if I created a new username & account, how long would it be before the same guy, or other's, throw me back under the bus.
It's not worth it, and I certainly can do without the drama.
So once I've had this account deleted, you're on your own.
Way too many ungrateful ppl here.

There is no knife here. I said I very much appreciate your efforts and work and you got me to started using SMDegrain. There was only praise there. In fact, I've always been very kind to you and valued your contributions.

You have done a lot of hard work pushing the boundaries of RB. You've explored many different avenues. Your PD releases showed off all your hard work. But not everyone wants to use a version that is outside of the official RB along with updates from Atak.

Adding basic SMDegrain support is just dozen files or so slip streamed into the official build and you're done. So that is where the Lite version came from. I actually encouraged you to create a stripped down SMDegrate Lite version of your PD build.

You did bring SMDegrain main stream to RB. Others were actually using SMDegrain for years before with RB, but I never went down that road because MDegrain produced good results and when I have something that works, I tend to stick with it unless I see a problem with it. You encouraged me to try SMDegrain and when I went down that rabbit hole, I found out what it could truly do and I was astounded. I posted praise for your work and asked Atak to include it in RB since it's such an improvement.

So you see, I have no malicious towards you. Pretty much only praise.

Atak is the creator of RB. It's Atak's hard work that we are all here. It's Atak's love for the project that keeps it going. I'm only grateful to Atak for keeping RB working and improving on it when he has time.

Oh, and Merry Christmas all. Have a most wonderful day.

dipais
27th December 2024, 19:36
Hello Atak Snajpera

I get the following error: https://imgbox.com/C0BK8Yoo, right after clicking "Preview Script". I haven't changed any settings, everything is using your default settings. A sample video can be downloaded at: https://pixeldrain.com/u/8kwFgutm. The video info is below:

Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 min 4 s
Bit rate mode : Constant
Bit rate : 8755 kb/s
Nominal bit rate : 10000 kb/s
Width : 1920 pixels
Height : 1040 pixels
Display aspect ratio : 1.85:1
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.183

Cheers,
D

dipais
27th December 2024, 20:01
Hello, All

You have Pauly Dunne to thank for SMDegrain in RipBot, and now he's been banned, along with TDS, and shortly, I will be gone too.

If you decide to no longer make a SMDegrain add on pack for RB, I'll create a light version that uses uses all of RB's stock components and just add the few files needed to add SMDegrain with the settings I use with with just the CPU. SMDegrain is just too good to not use it and other should have the ability to quickly use it. Once Atak adds SMDegrain, then I will stop having to do it.

Would you like to share the SMDegrain script that works in RB?. I want to try it. Thank you a lot.

Cheers,
D

rlev11
27th December 2024, 21:27
Hello Atak Snajpera

I get the following error: https://imgbox.com/C0BK8Yoo, right after clicking "Preview Script". I haven't changed any settings, everything is using your default settings. A sample video can be downloaded at: https://pixeldrain.com/u/8kwFgutm. The video info is below:

Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 min 4 s
Bit rate mode : Constant
Bit rate : 8755 kb/s
Nominal bit rate : 10000 kb/s
Width : 1920 pixels
Height : 1040 pixels
Display aspect ratio : 1.85:1
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.183

Cheers,
D


Was able to load the clip you provided and had no issues with the preview or even encoding it.

Are you able to run the encoding job without error, or is it just an issue with the preview in MPC player?

Ryushin
27th December 2024, 22:22
Hello, All

Would you like to share the SMDegrain script that works in RB?. I want to try it. Thank you a lot.

Cheers,
D

I'll have something for you probably in a couple of days. Doing some testing right now.