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 14th December 2024, 19:17   #20981  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
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 is offline   Reply With Quote
Old 14th December 2024, 19:40   #20982  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
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.
jimbobub is offline   Reply With Quote
Old 14th December 2024, 20:44   #20983  |  Link
rlev11
Registered User
 
Join Date: Aug 2020
Location: Pennsylvania
Posts: 155
Quote:
Originally Posted by jimbobub View Post
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
rlev11 is offline   Reply With Quote
Old 14th December 2024, 22:17   #20984  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
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.
jimbobub is offline   Reply With Quote
Old 14th December 2024, 23:44   #20985  |  Link
chainring
Registered User
 
chainring's Avatar
 
Join Date: Sep 2006
Posts: 183
Quote:
Originally Posted by TDS View Post
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.
chainring is offline   Reply With Quote
Old 15th December 2024, 00:45   #20986  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
bt601 to bt709

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.
jimbobub is offline   Reply With Quote
Old 15th December 2024, 10:06   #20987  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,160
Quote:
Originally Posted by Retired@55 View Post
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.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 15th December 2024, 16:33   #20988  |  Link
rlev11
Registered User
 
Join Date: Aug 2020
Location: Pennsylvania
Posts: 155
Quote:
Originally Posted by jimbobub View Post
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
rlev11 is offline   Reply With Quote
Old 15th December 2024, 16:43   #20989  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
willwill ripbot try to match saturation, bright etc to that of the input?

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.
jimbobub is offline   Reply With Quote
Old 15th December 2024, 17:11   #20990  |  Link
rlev11
Registered User
 
Join Date: Aug 2020
Location: Pennsylvania
Posts: 155
Quote:
Originally Posted by jimbobub View Post
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.
rlev11 is offline   Reply With Quote
Old 22nd December 2024, 17:53   #20991  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 456
Quote:
Originally Posted by rlev11 View Post
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 is offline   Reply With Quote
Old 23rd December 2024, 14:07   #20992  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 456
Quote:
Originally Posted by jimbobub View Post
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.
Ryushin is offline   Reply With Quote
Old 23rd December 2024, 14:28   #20993  |  Link
guest
Guest
 
Posts: n/a
Quote:
Originally Posted by Ryushin View Post
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.
  Reply With Quote
Old 24th December 2024, 16:14   #20994  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 456
Quote:
Originally Posted by Retired@55 View Post
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.
Ryushin is offline   Reply With Quote
Old 25th December 2024, 01:30   #20995  |  Link
guest
Guest
 
Posts: n/a
Quote:
Originally Posted by Ryushin View Post
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.
  Reply With Quote
Old 25th December 2024, 15:57   #20996  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 456
Quote:
Originally Posted by Retired@55 View Post
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.
Ryushin is offline   Reply With Quote
Old 27th December 2024, 19:36   #20997  |  Link
dipais
Registered User
 
Join Date: Mar 2024
Posts: 9
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:

Code:
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 is offline   Reply With Quote
Old 27th December 2024, 20:01   #20998  |  Link
dipais
Registered User
 
Join Date: Mar 2024
Posts: 9
Hello, All

Quote:
Originally Posted by Retired@55 View Post
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.
Quote:
Originally Posted by Ryushin View Post
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
dipais is offline   Reply With Quote
Old 27th December 2024, 21:27   #20999  |  Link
rlev11
Registered User
 
Join Date: Aug 2020
Location: Pennsylvania
Posts: 155
Quote:
Originally Posted by dipais View Post
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:

Code:
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?
rlev11 is offline   Reply With Quote
Old 27th December 2024, 22:22   #21000  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 456
Quote:
Originally Posted by dipais View Post
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.
Ryushin 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 12:52.


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