View Full Version : StaxRip
Revan654
21st May 2018, 23:03
If going that route you should consider DGHDRtoSDR.
It is more up to date
Either way, the input should be an avs file, unless you can get StaxRIP to use the filters directly
Do you have link to DGHDRtoSDR filter? Google is not showing anything for that name. Also tried github also got no results.
As for Staxrip just drop the filter into Avisynth folder and it will load when called in Staxrip.
you can also alter the source code.
gonca
21st May 2018, 23:38
http://rationalqm.us/board/viewtopic.php?f=14&t=617
Look toward end of thread
If you read through the thread you will find two or three different solutions
IbrahimKh
23rd May 2018, 16:42
http://rationalqm.us/board/viewtopic.php?f=14&t=617
Look toward end of thread
If you read through the thread you will find two or three different solutions
thanks
I found the links
now how do I apply them into staxrip? I mean what should I do to import etc?
gonca
23rd May 2018, 21:08
Have StaxRIP use the filters directly if possible
I just create my own avisynth script and use that as input for StaxRIP
IbrahimKh
24th May 2018, 14:30
Have StaxRIP use the filters directly if possible
I just create my own avisynth script and use that as input for StaxRIP
how to create avisynth script for staxrip?
gonca
24th May 2018, 21:30
LoadPlugin("C:/Program Files (Portable)/dgdecnv/x64 Binaries/DGDecodeNV.dll")
DGSource("__vid__", fieldop=0, fulldepth=True)
LoadPlugin("C:/Program Files (Portable)/AVS Templates/DGHDRtoSDR/x64/DGHDRtoSDR.dll")
DGHDRtoSDR(impl="255",tm="gamma",light=40,gamma=0.40)
prefetch(16)
For __vid__ use the name of your video
Choose whichever source filter you like
Or someone who puts custom filters into StaxRip can help you in that route
Revan654
24th May 2018, 23:35
http://rationalqm.us/board/viewtopic.php?f=14&t=617
Look toward end of thread
If you read through the thread you will find two or three different solutions
Thanks, I can't get the dll to load correctly, I keep getting return of bad module(This is with only LoadPlugin and no functions added yet).
thanks
I found the links
now how do I apply them into staxrip? I mean what should I do to import etc?
Drop the filters into Avisynth+ 64bit directory.
Staxrip part:
Right Click Profile:
[Misc]
Other filters
HDRtoSDR= DGHDRtoSDR(impl="255",tm="gamma",light=40,gamma=0.40)
It will now show up under Misc.
When you select SDRtoHDR filter it should autoload the dll file for the script.
As I said in previous comment I'm having issues getting the dll file to load. I can't test it to see if it loads correctly or not.
gonca
24th May 2018, 23:54
Are you using the 64 or 32 bit dll?
Do you have a NVidia GPU?
Try changing "255" to "sw"
videoh
25th May 2018, 15:08
As I said in previous comment I'm having issues getting the dll file to load. Re-download and run with impl="sw". The nvcuda.dll has been configured for delay loading, which should allow DGHDRtoSDR to be loaded and run on a system without an nVidia card and driver.
Be warned that software mode is slow.
Atak_Snajpera
25th May 2018, 16:39
Too bad that DGHDRtoSDR still supports CUDA (Locked down API) only instead of OpenCL. Intel iGPU and AMD iGPU/dGPU users are being totally ignored in this case. I wish that some day apis like CUDA and DX12 will just die.
Revan654
25th May 2018, 20:52
Re-download and run with impl="sw". The nvcuda.dll has been configured for delay loading, which should allow DGHDRtoSDR to be loaded and run on a system without an nVidia card and driver.
Be warned that software mode is slow.
The dll will not even load, I don't even have the function in the script.
I tried to use Sw still getting the same error.
This user is getting the same errors: http://rationalqm.us/board/viewtopic.php?f=14&t=617&sid=b37e654031da82b86b7fb9d33004e7e6&start=310#p8482
videoh
25th May 2018, 21:05
The dll will not even load, I don't even have the function in the script. You give no script and no error message. Nothing to work with there.
I'll try it on my notebook PC, which has no nVidia.
This user is getting the same errors Yes, and I gave him the solution.
videoh
25th May 2018, 21:08
Intel iGPU and AMD iGPU/dGPU users are being totally ignored in this case. Correct, I'm an nVidia fanboy.
It's not rocket science; somebody can write one for OpenCL if they want it. The specs for the transformations are all available.
videoh
25th May 2018, 21:23
I'll try it on my notebook PC, which has no nVidia. Loads and runs fine for me. Also working for douzi at my forum.
Do you have Avisynth+ installed together with its redistributables? Use AVSMeter to check the installation.
Atak_Snajpera
26th May 2018, 10:40
Correct, I'm an nVidia fanboy.
It's not rocket science; somebody can write one for OpenCL if they want it. The specs for the transformations are all available.
I guess it is a rocket science since author chose to not support that "evil OpenCL".
videoh
26th May 2018, 13:46
It's about time and lack of interest, not complexity.
foxace
29th May 2018, 12:03
@stax76 hello, please add support the last nvenc HDR metadata function.
thanks you
Vesdaris
1st June 2018, 10:43
Could someone, please, post (screenshots or just text) recommended QSvenc settings for each tab for maximum "quality" encode?
I've tried searching this topic but I'm having problems finding this info
I've got 3770k cpu, so I suppose some settings are not supported.
Thank you.
PS If it's too much of a trouble then link with a detailed description of all qsvenc stax rip settings would do.
Revan654
3rd June 2018, 02:29
@stax76 hello, please add support the last nvenc HDR metadata function.
thanks you
Not sure if stax76 is even updating the software anymore.
I forked the project and added in the HDR code functions in very quickly. I don't have access to Nvidia card to test it right now. It should send the flags correctly. Not sure if quotes are needed or not.
Link: https://github.com/Revan654/staxrip/blob/master/Encoding/NVEnc.vb
Not 100% sure how Nvidia encoder differs from the software based encoder. I couldn't find proper documentation on all the function the GPU has.
Not sure if everything has been added to create HDR10 file. Mediainfo has been inaccurate when it comes to HDR10 files.
Software encoding for HDR10 requires additional flags, Which NVENCc does not have as of yet.
Revan654
3rd June 2018, 02:37
Could someone, please, post (screenshots or just text) recommended QSvenc settings for each tab for maximum "quality" encode?
I've tried searching this topic but I'm having problems finding this info
I've got 3770k cpu, so I suppose some settings are not supported.
Thank you.
PS If it's too much of a trouble then link with a detailed description of all qsvenc stax rip settings would do.
All the Flags that can be used, It also has some examples of usage: https://github.com/rigaya/QSVEnc/blob/master/QSVEncC_Options.en.md
HEVC/H.265 requires Skylake or newer. You are locked to x264.
Natty
18th June 2018, 08:56
is this official developer of staxrip now?
https://github.com/Revan654/staxrip/releases
luigizaninoni
18th June 2018, 14:42
Not sure if stax76 is even updating the software anymore.
I forked the project
Link: https://github.com/Revan654/staxrip/blob/master/Encoding/NVEnc.vb
Well done !! I thought Staxrip was dead ... :thanks:
Magik Mark
18th June 2018, 14:45
Revan654
Is it possible for you to update the x265 switches as well?
What's a good option for hdr to sdr conversation?
Sent from my iPhone using Tapatalk
Taurus
18th June 2018, 16:48
@Revan654:
Thanks for bringing StaxRip back to life :D!:thanks:
Revan654
18th June 2018, 17:15
is this official developer of staxrip now?
https://github.com/Revan654/staxrip/releases
It's my own modded version with allot of changes to filters and such. Add small little tweaks here and there. Still tweak the filter list, it's hard to test for every combination possible. I Had to update and compile some of the filters myself, They would not run on 64bit machines. Some of the scripts have been tweaked since they would not load. With MCTemporalDenoise being the hardest to get up and running, It would not get along with the other filters.
Revan654
18th June 2018, 17:21
Revan654
Is it possible for you to update the x265 switches as well?
What's a good option for hdr to sdr conversation?
Sent from my iPhone using Tapatalk
I've added the AVX512 to it already. Some of the newer options I need to search more to see how they suppose to work and where there placed. Some of the menu's I'm running out of room to add more options. I might have to add a part to some of the tabs.
If you want a certain option to be added, post what it is and where it's placed. Any details about.
Best option would be the use of a 3Dlut with proper settings applied. That of course requires HDRColor filter and 3Dlut. HDRColor is not a free filter.
The next best option would be HDRtoSDR filter
Link: http://rationalqm.us/board/viewtopic.php?f=14&t=617&sid=3fd18f8666328b5f2decdef422294e46&start=330
The DGMaptoning Filter also works well ( I kind I prefer it over the newer HDRtoSDR filter).
Link: http://rationalqm.us/mine.html
Use Dither tool to resize if any is needed.
------------
One side note, due to the changes in mediainfo for Master-Display will not auto-load anymore. Since mediainfo removed the color coordinates. It only shows the colorspace now.
I removed ProjectX completely from Staxrip, there are better option to use now then that. Plus who runs java anymore?
Revan654
18th June 2018, 18:04
- Last post
- If anyone wants certain filters (must be 64Bit) added to the core. Post what they are with link and there default syntax.
- If anyone has suggestions on any additional features (That can be done within the realm of MVS2017). Do post your suggest and I will take a look and see if it's possible to do.
- or any other changes or tweaks. Post your your suggestions and I will take a look at them.
NikosD
18th June 2018, 19:04
Hello.
I think there are new versions of QSVEnc v3.06 and NVEnc v4.07.
Maybe you could take a look if they add new switches, as well.
Revan654
18th June 2018, 21:41
Hello.
I think there are new versions of QSVEnc v3.06 and NVEnc v4.07.
Maybe you could take a look if they add new switches, as well.
Those have already been added. The new version has introduced some issues as well. Mainly with QSVEnc, The documentation is either faulty or code is buggy. It's having problems processing certain colorspace.
NikosD
18th June 2018, 21:46
Those have already been added. The new version has introduced some issues as well. Mainly with QSVEnc, The documentation is either faulty or code is buggy. It's having problems processing certain colorspace.You could definitely reach the developer (rigaya) he is all ears.
Writing a comment or directly with an email.
https://rigaya34589.blog.fc2.com/blog-entry-1031.html?sp
You seem very active and someone who knows what he is talking about.
Revan654
18th June 2018, 21:55
You could definitely reach the developer (rigaya) he is all ears.
Writing a comment or directly with an email.
https://rigaya34589.blog.fc2.com/blog-entry-1031.html?sp
You seem very active and someone who knows what he is talking about.
I did try to contact him, But haven't heard back from him. I even tried by creating a post in the issue section on the project.
I have no idea if there an issue since I don't speak Japanese.
NikosD
18th June 2018, 22:00
I did try to contact him, But haven't heard back from him.
I have no idea if there an issue since I don't speak Japanese.No that's not an issue.
He speaks English as well, but he is a slow responder sometimes.
Did you email him ?
Revan654
18th June 2018, 22:06
No that's not an issue.
He speaks English as well, but he is a slow responder sometimes.
Did you email him ?
I believe I did, maybe E-mail didn't all the way through or it was flagged as spam (I use Yahoo).
tyler durdan
19th June 2018, 13:26
Does this new version support 10 bit HDR conversion for 4k without having to tweak anything?
Thanks
paauw
19th June 2018, 14:46
Can you update gui options for QSVencc, like LA ICQ and other settings ?
Khun_Doug
19th June 2018, 15:07
I just downloaded the 1.8.2.0 build. Simple job and setup. Read a HD file, crop it, apply mClean, and PreFetch. Works solid in the older 1.7.0.6 build. In 1.8.2.0 the preview fails and the entire app crashes. If I omit the PreFetch it will preview but ever so slowly. I can screen snip the exception information from the preview if needed.
luigizaninoni
19th June 2018, 17:48
I just downloaded the 1.8.2.0 build. Simple job and setup. Read a HD file, crop it, apply mClean, and PreFetch. Works solid in the older 1.7.0.6 build. In 1.8.2.0 the preview fails and the entire app crashes. If I omit the PreFetch it will preview but ever so slowly. I can screen snip the exception information from the preview if needed.
The same here (crashes even without prefetch)
Another issue with MCTD, says:
cannot load file c:/ .../FFT3DGPU.dll. Platform returned code 126. The specified module could not be found.
Also, the script tries to load both
LoadPlugin("C:\Users\luigi\Desktop\media\Stax1820\Apps\Plugins\avs\FFT3DFilter\fft3dfilter.dll")
LoadPlugin("C:\Users\luigi\Desktop\media\Stax1820\Apps\Plugins\avs\FFT3DGPU\FFT3dGPU.dll")
which seems not necessary
Revan654
19th June 2018, 19:51
The same here (crashes even without prefetch)
Another issue with MCTD, says:
cannot load file c:/ .../FFT3DGPU.dll. Platform returned code 126. The specified module could not be found.
Also, the script tries to load both
LoadPlugin("C:\Users\luigi\Desktop\media\Stax1820\Apps\Plugins\avs\FFT3DFilter\fft3dfilter.dll")
LoadPlugin("C:\Users\luigi\Desktop\media\Stax1820\Apps\Plugins\avs\FFT3DGPU\FFT3dGPU.dll")
which seems not necessary
There is allot of code in that script, The actual script isn't written by me.
I made some new tweaks hopefully it will help in the long run. It will be included in the next release. That script was nothing but a PIA to get up and running.
The issue is the script sees GPU dll and auto loads it. I believe the script requires it or it will not even load. I have to take a closer look at the script when I get a chance to see what it does.
Platform returned code 126. The specified module could not be found. That happens when you don't have a GPU that supports the filter or wrong syntax for the filter.
Revan654
19th June 2018, 19:54
I just downloaded the 1.8.2.0 build. Simple job and setup. Read a HD file, crop it, apply mClean, and PreFetch. Works solid in the older 1.7.0.6 build. In 1.8.2.0 the preview fails and the entire app crashes. If I omit the PreFetch it will preview but ever so slowly. I can screen snip the exception information from the preview if needed.
It's mclean, the new version is a bit unstable. Half the time I get a blank screen. I was going to remove it but, people like that filter so I left it in.
Post the script your using and I will test it at my end.
Revan654
19th June 2018, 20:00
Does this new version support 10 bit HDR conversion for 4k without having to tweak anything?
Thanks
The changes I made to this was designed to work with HDR content.
I have loaded a uncompressed 4K HDR file into the software and it loaded without any issues. Just make sure you pick a proper filter for your source file.
*Note* Everything was tested on a Rec.2020 HDR monitor, the picture may be a bit dim due to ST.2084 and not having a HDR monitor. That is normal when view it on a SDR monitor.
Revan654
19th June 2018, 20:02
Can you update gui options for QSVencc, like LA ICQ and other settings ?
Some new options have been added. I have to wait for a newer version since there currently problems with the latest version.
paauw
20th June 2018, 08:32
Some new options have been added. I have to wait for a newer version since there currently problems with the latest version.
I forgot to mention that i missed the options with intel h265....h264 has all this options...
in xmedia recode the options are working
Revan654
20th June 2018, 20:21
I forgot to mention that i missed the options with intel h265....h264 has all this options...
in xmedia recode the options are working
xmedia uses an older version, Which does work. It's the newer versions that having issues. You can replace the current version with an older versions and everything should work. I know one user said he got everything to work with an older version.
The biggest issue right now it the colorspace flags. The sourcecode/.EXE and the documentation released with it are not matching up. Documentation claims X feature works, However even when you try to run outside of staxrip it still fails to run.
There not much I can do about this until the corrections are made.
mparade
21st June 2018, 07:40
One side note, due to the changes in mediainfo for Master-Display will not auto-load anymore. Since mediainfo removed the color coordinates. It only shows the colorspace now.
Hello Revan654,
I would like to reencode my HDR10 sources with StaxRip.
All HDR parameters required for the encoder should manually be inserted to the x265 command line again? Isn't there any workaround out there then? Manual inserting would slow down my projects significantly.
paauw
21st June 2018, 08:58
revan,
What i ment with my wish, is if you can change the gui stacrip offers to alter the setting for h265 to have the same choices like in h264 intel qsv.
I did not wanted tohe HDR stuff, but would like more options to be available in h265 settings like LA-ICQ...
H265 is becoming popular and these settings are missing in the staxrip gui.
Can you make that ?
easyfab
21st June 2018, 13:43
paauw,
Are you sure intel QSV have LA-ICQ feature for HEVC ? Last time I check it didn't. And it's not Staxrip but intel driver to do that first.
paauw
21st June 2018, 15:38
Revan,
I did take the --check-- features option with qsvencc 1.06.exe and there were a lot of options available for my processor
Also other software works wher i can choose f.i la -icq (xmedia recode) but has other flaws...
Staxrip did'nt update qsvenc anymore after 2.75 and last 5-6 months i guess (not for sure) and therefore the gui of intel h265 (qsvenc) does not contain the options now available
It is really outdated and should be upgraded with the latest options to choose from....H265 is the next move in encoding and would really improve...it is as important as the nvencc...most computers have now the availability of hardware encoding with lightning fast encode time and quality
imhh11
21st June 2018, 15:41
Thanks Revan654 for the updates
Hello Revan654,
I would like to reencode my HDR10 sources with StaxRip.
All HDR parameters required for the encoder should manually be inserted to the x265 command line again? Isn't there any workaround out there then? Manual inserting would slow down my projects significantly.
+1 for that
there must be a way, theres only two master display line possible.
i dont know if its possible but maybe something like this:
-When mediainfo Mastering display color primaries say Display P3 then tell staxrip to set
--master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)
-When mediainfo Mastering display color primaries say Bt2020 then tell staxrip to set
--master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)
Display Luminance data are still reported by the newer mediainfo.
*Also, could it be possible to add some kind of CRF estimator/ calculator like Bd-Rebuilder ?
Taurus
21st June 2018, 18:10
Revan,
I did take the --check-- features option with qsvencc 1.06.exe and there were a lot of options available for my processor
Also other software works wher i can choose f.i la -icq (xmedia recode) but has other flaws...
Staxrip did'nt update qsvenc anymore after 2.75 and last 5-6 months i guess (not for sure) and therefore the gui of intel h265 (qsvenc) does not contain the options now available
It is really outdated and should be upgraded with the latest options to choose from....H265 is the next move in encoding and would really improve...it is as important as the nvencc...most computers have now the availability of hardware encoding with lightning fast encode time and quality
You know that you can tweak your heart out at the command line in the QSVEnc options page.
Just try all the new stuff and if you're satisfied with them save this settings as a template.
Easy as this...
Or wait until a kind soul plug all this new switches to the options page.
Revan654
21st June 2018, 19:37
Hello Revan654,
I would like to reencode my HDR10 sources with StaxRip.
All HDR parameters required for the encoder should manually be inserted to the x265 command line again? Isn't there any workaround out there then? Manual inserting would slow down my projects significantly.
Create a profile for HDR is the easiest way, The only thing that doesn't autoload in the VUI is the Master-Display data. Due to mediainfo and that data changes from monitor to monitor.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.