Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd February 2025, 06:31   #21161  |  Link
TR-7970X
Registered User
 
TR-7970X's Avatar
 
Join Date: Jan 2025
Posts: 69
I am interested in using this obscure utility to post process an encode by opening FFMPEG to re-encode to a different container that RipBot does not support.

Code:
Job finished successfully.cmd
What would be the process to make this use a "freshly" encoded file to then open up FFMPEG, and use a pre determined commandline to convert that file ?

How to specify the actual file to be used, and could it be set up to run a series of processes without having to change it for every encode ?

I can manually run that .cmd, and it does the desired process, but getting it automated is the question here...

This is the first part of the command line..

Code:
"C:\RipBot264\Tools\ffmpeg\bin\ffmpeg.exe" -i "D:\xxxxx.mkv" -c:v....

Last edited by TR-7970X; 25th February 2025 at 01:11.
TR-7970X is offline   Reply With Quote
Old 22nd February 2025, 15:19   #21162  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,929
Code:
@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:\RipBot264\Tools\ffmpeg\bin\ffmpeg.exe" -i "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%" -c:v....
Atak_Snajpera is offline   Reply With Quote
Old 24th February 2025, 10:29   #21163  |  Link
TR-7970X
Registered User
 
TR-7970X's Avatar
 
Join Date: Jan 2025
Posts: 69
Quote:
Originally Posted by Atak_Snajpera View Post

"C:\RipBot264\Tools\ffmpeg\bin\ffmpeg.exe" -i "%OUTPUTFILEDIR%\%OUTPUTFILENAME%.%OUTPUTFILEEXT%" -c:v....
You know, with the fiddling around I've been doing with this over the last few days has shown me just how easy it would be to have several different encoding options out of RB, instead of just "boring" x265...

FFMPEG can do a LOT more stuff that what RB has it doing...video & audio !

And speaking of audio, the latest auto update has addressed the "core" option from ripped disks..

Last edited by TR-7970X; 25th February 2025 at 01:14.
TR-7970X is offline   Reply With Quote
Old 25th February 2025, 20:34   #21164  |  Link
hardkhora
Registered User
 
Join Date: Mar 2014
Posts: 13
Thank you for adding the default of /avisynth-setmemorymax to 0 (max), this has improved FPS for specifically filter heavy content massively.
In some cases I've already seen a change from ~0.08 to ~1.48 FPS.
hardkhora is offline   Reply With Quote
Old 26th February 2025, 07:05   #21165  |  Link
TR-7970X
Registered User
 
TR-7970X's Avatar
 
Join Date: Jan 2025
Posts: 69
Quote:
Originally Posted by hardkhora View Post
Thank you for adding the default of /avisynth-setmemorymax to 0 (max), this has improved FPS for specifically filter heavy content massively.
In some cases I've already seen a change from ~0.08 to ~1.48 FPS.
You may get better performance by using a certain number, instead of 0, depending on your hardware.

And I think you will find it's NOT a default setting, you need to add it to the command line.
TR-7970X is offline   Reply With Quote
Old 27th February 2025, 12:34   #21166  |  Link
hardkhora
Registered User
 
Join Date: Mar 2014
Posts: 13
Quote:
Originally Posted by TR-7970X View Post
You may get better performance by using a certain number, instead of 0, depending on your hardware.

And I think you will find it's NOT a default setting, you need to add it to the command line.
True, a none zero might be better, I'll have to play with that.

At least on my system, it does default to zero if I don't define it, which by default it isn't getting defined since my guess is I already had encoding server settings define.
hardkhora is offline   Reply With Quote
Old 1st March 2025, 14:59   #21167  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 478
Universal X86 Tuning Utility

I built a mini PC for an end user and the AMD Ryzen processor was spinning the fan too much. I used the trick in power settings to lower the percentage to 95% and that seem to work keeping fan ramping up too much. Even using Ryzen Master and setting Eco mode didn't help much.

But I also stumbled upon a nice little program call Universal X86 Tuning Utility which was originally made to tune Ryzen processor. I installed it, set Eco and it was perfect. Very nice little program. I thought it might help others with under or over clocking their processors:

https://amdaputuningutility.com/
https://github.com/JamesCJ60/Univers...Tuning-Utility
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
Ryushin is online now   Reply With Quote
Old 8th March 2025, 14:37   #21168  |  Link
Juha
Registered User
 
Join Date: Aug 2014
Posts: 27
Any idea why in distributed encoding some frames are strangely skipped and not encoded?

https://images2.imgbox.com/98/92/6zJ4qY1k_o.png
Juha is offline   Reply With Quote
Old 8th March 2025, 15:13   #21169  |  Link
rlev11
Registered User
 
Join Date: Aug 2020
Location: Pennsylvania
Posts: 181
Quote:
Originally Posted by Juha View Post
Any idea why in distributed encoding some frames are strangely skipped and not encoded?

https://images2.imgbox.com/98/92/6zJ4qY1k_o.png
I used to have that same or similar issue back when I was first upgrading my systems to Windows 11. The distributed encoding server window on the Windows 11 boxes needs to be left open on the desktop, NOT minimized to the system tray. Did not have the issue with 10, just 11.
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
rlev11 is offline   Reply With Quote
Old 8th March 2025, 15:42   #21170  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,929
Quote:
Originally Posted by rlev11 View Post
I used to have that same or similar issue back when I was first upgrading my systems to Windows 11. The distributed encoding server window on the Windows 11 boxes needs to be left open on the desktop, NOT minimized to the system tray. Did not have the issue with 10, just 11.
Does win11 still do that? What if you select high power profile instead of balanced?
Atak_Snajpera is offline   Reply With Quote
Old 8th March 2025, 15:52   #21171  |  Link
rlev11
Registered User
 
Join Date: Aug 2020
Location: Pennsylvania
Posts: 181
Quote:
Originally Posted by Atak_Snajpera View Post
Does win11 still do that? What if you select high power profile instead of balanced?
I'll have to get back to you on that. For years now I have always just left the server window open on the desktops and have had no issues like that. I'll run some tests when i can over the next couple of days and see if I can reproduce.
I'll test with both power plans I have setup, full bore and also on all my ryzens I have my balanced plans set to boost mode disabled that I talked about back a couple months ago.
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
rlev11 is offline   Reply With Quote
Old 9th March 2025, 10:47   #21172  |  Link
ReinerSchweinlin
Registered User
 
Join Date: Oct 2001
Posts: 484
Quote:
Originally Posted by Atak_Snajpera View Post
Any idea how to bypass that stupid compatibility check in win11 24H2 installer when installing in VMware?
In the past, I succesfully patched USB Sticks with Rufus - when opening a WIN11 ISO and "burning" it on a USB Stick, Rufus us able to turn of the checks with a simple click.
ReinerSchweinlin is offline   Reply With Quote
Old 9th March 2025, 15:20   #21173  |  Link
Juha
Registered User
 
Join Date: Aug 2014
Posts: 27
I'll try High performance and not to minimize that Encoding client window. Will see whether it helps.

Btw, in Windows 11, High performance might not be there, but this Powershell command restores it:

Code:
powercfg /s SCHEME_MIN
--------------

Another question. I hate the way how 4K HDR material looks so dark on my screen. I prefer the way how it looks in 1080p SDR blu-ray.

I have used "Tonemap" option to convert HDR to SDR, but the ripped content still looks clearly darker than if it were ripped from 1080p blu-ray disc.

Are there any settings in Ripbot what could tweak the brightness the way it would look like 1080p blu-ray disc rip?

Last edited by Juha; 9th March 2025 at 15:22.
Juha is offline   Reply With Quote
Old 9th March 2025, 16:30   #21174  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,929
Quote:
Originally Posted by Juha View Post
I'll try High performance and not to minimize that Encoding client window. Will see whether it helps.

Btw, in Windows 11, High performance might not be there, but this Powershell command restores it:

Code:
powercfg /s SCHEME_MIN
--------------

Another question. I hate the way how 4K HDR material looks so dark on my screen. I prefer the way how it looks in 1080p SDR blu-ray.

I have used "Tonemap" option to convert HDR to SDR, but the ripped content still looks clearly darker than if it were ripped from 1080p blu-ray disc.

Are there any settings in Ripbot what could tweak the brightness the way it would look like 1080p blu-ray disc rip?

Open HDRtoSDR.avs in notepad and change that value in red.

Code:
Function HDRtoSDR(clip video,string "Transfer") 
{
source=video

Transfer = Default(Transfer,"")

cond = (Transfer=="PQ") ? Eval("""

	video=ConvertYUVtoXYZ(video,Color=0,HDRMode=0,OOTF=false,OutputMode=2,threads=1)
	video=ConverXYZ_BT2446_C_HDRtoSDR(video,PQMode=true,Lhdr=50000.0,Lsdr=100.0,pColor=0,pct_ref=0.6,pct_ip=0.6,pct_wp=1.0,pct_sdr_skin=1.0,pct_hdr_skin=0.44,threads=1)
	video=ConvertXYZtoYUV(video,Color=2,pColor=0,OOTF=false,threads=1)	
	video=ConvertBits(video,8)
	
""") : Eval("""""")

Last edited by Atak_Snajpera; 9th March 2025 at 16:35.
Atak_Snajpera is offline   Reply With Quote
Old 9th March 2025, 16:49   #21175  |  Link
rlev11
Registered User
 
Join Date: Aug 2020
Location: Pennsylvania
Posts: 181
Quote:
Originally Posted by Juha View Post
I'll try High performance and not to minimize that Encoding client window. Will see whether it helps.
Let us know if that does take care of the issue for you, I ran a 15 job test yesterday with all 14 servers with the window minimized with no issues. However in the past it was VERY intermittent, so no way to tell yet for sure if that is the cause and if the issue still exists.
I'm going to change my server scripts to minimize all of them for now and just see over the next couple of weeks if it returns and report back....
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
rlev11 is offline   Reply With Quote
Old 9th March 2025, 18:10   #21176  |  Link
rlev11
Registered User
 
Join Date: Aug 2020
Location: Pennsylvania
Posts: 181
One thing I have just noticed, is on my 3 Intel Boxes (Ryzens are fine) with the server window minimized, performance is basically cut in half. This picture of the encoding server window shows the difference when I brought the window back to the desktop. the FPS started jumping up as well as soon as i did that. Very strange indeed. The 3 intels are a 13500,14500, and 14700. I also have "/priority normal" in all the start parameters on all 14 systems. Will have to look into what is killing performance on these when minimiized. (probably something with e and p core crap)
https://drive.google.com/file/d/1Ij6...ew?usp=sharing


Looks like maybe a windows 11update issue according to this:
https://www.laptopmag.com/software/e...-means-for-you
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X

Last edited by rlev11; 9th March 2025 at 18:28. Reason: add more info
rlev11 is offline   Reply With Quote
Old 9th March 2025, 19:56   #21177  |  Link
Juha
Registered User
 
Join Date: Aug 2014
Posts: 27
Quote:
Originally Posted by Atak_Snajpera View Post
Open HDRtoSDR.avs in notepad and change that value in red.

Code:
Function HDRtoSDR(clip video,string "Transfer") 
{
source=video

Transfer = Default(Transfer,"")

cond = (Transfer=="PQ") ? Eval("""

	video=ConvertYUVtoXYZ(video,Color=0,HDRMode=0,OOTF=false,OutputMode=2,threads=1)
	video=ConverXYZ_BT2446_C_HDRtoSDR(video,PQMode=true,Lhdr=50000.0,Lsdr=100.0,pColor=0,pct_ref=0.6,pct_ip=0.6,pct_wp=1.0,pct_sdr_skin=1.0,pct_hdr_skin=0.44,threads=1)
	video=ConvertXYZtoYUV(video,Color=2,pColor=0,OOTF=false,threads=1)	
	video=ConvertBits(video,8)
	
""") : Eval("""""")

Thanks for reply.

I made some digging and testing, and found another tool that allows to convert HDR to SDR by using "Mobius" algorithm. That method produced almost exactly the same looking picture as if the source were a regular 1080p blu-ray disc.

It should probably be possible to use that on Ripbot as well as it's an ffmpeg command. But how? I couldn't properly add that command.

Last edited by Juha; 9th March 2025 at 22:12.
Juha is offline   Reply With Quote
Old 10th March 2025, 01:49   #21178  |  Link
TR-7970X
Registered User
 
TR-7970X's Avatar
 
Join Date: Jan 2025
Posts: 69
Quote:
Originally Posted by Juha View Post
Thanks for reply.

I made some digging and testing, and found another tool that allows to convert HDR to SDR by using "Mobius" algorithm. That method produced almost exactly the same looking picture as if the source were a regular 1080p blu-ray disc.

It should probably be possible to use that on Ripbot as well as it's an ffmpeg command. But how? I couldn't properly add that command.
Interesting, not that I do any HDR to SDR, but your post got me looking for this "Mobius" FFMPEG algorithm, and I found this very interesting post:-

https://ericswpark.com/blog/2022/202...rt-hdr-to-sdr/

It compares Mobius with Hable & Reinhard, and the OP prefers Hable.

Another:-

https://www.binarytides.com/convert-...oogle_vignette lots of ads

Maybe FFMPEG is better at this HDR to SDR conversion than Avisynth

There might be a way to add an FFMPEG function after RipBot has done its process, but you'd probably not do the HDR to SDR with RB, and let FFMPEG do it.

You could also possibly use VapourSynth.

Last edited by TR-7970X; 10th March 2025 at 02:17.
TR-7970X is offline   Reply With Quote
Old 10th March 2025, 11:11   #21179  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,929
Quote:
Originally Posted by Juha View Post
Thanks for reply.

I made some digging and testing, and found another tool that allows to convert HDR to SDR by using "Mobius" algorithm. That method produced almost exactly the same looking picture as if the source were a regular 1080p blu-ray disc.

It should probably be possible to use that on Ripbot as well as it's an ffmpeg command. But how? I couldn't properly add that command.
Mobius is not perfect. Bt2446 is much better.

https://forum.doom9.org/showthread.p...74#post1893674
Atak_Snajpera is offline   Reply With Quote
Old 10th March 2025, 11:44   #21180  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,929
Quote:
Originally Posted by rlev11 View Post
One thing I have just noticed, is on my 3 Intel Boxes (Ryzens are fine) with the server window minimized, performance is basically cut in half. This picture of the encoding server window shows the difference when I brought the window back to the desktop. the FPS started jumping up as well as soon as i did that. Very strange indeed. The 3 intels are a 13500,14500, and 14700. I also have "/priority normal" in all the start parameters on all 14 systems. Will have to look into what is killing performance on these when minimiized. (probably something with e and p core crap)
https://drive.google.com/file/d/1Ij6...ew?usp=sharing


Looks like maybe a windows 11update issue according to this:
https://www.laptopmag.com/software/e...-means-for-you
Switching to high performance profile should fix that issue. You may also try /high instead of /normal
Atak_Snajpera is offline   Reply With Quote
Reply

Tags
264, 265, appletv, avchd, bluray, gui, iphone, ipod, ps3, psp, ripbot264, x264 2-pass, x264 gui, x264_64, x265, xbox360

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:21.


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