View Full Version : StaxRip 2.0 Support Thread
Taurus
20th February 2020, 22:50
xvid_encraw download throws the error JKyle mentioned.
Maybe try with a proxy server :cool:
JKyle
20th February 2020, 23:03
xvid_encraw download throws the error JKyle mentioned.
Maybe try with a proxy server :cool:
It's funny but the problem is gone after @Patman changed the file name from xvid to x_v_i_d. :rolleyes:
Magik Mark
21st February 2020, 01:08
PatMan,
Among your x265 builds (3 of them), which one is best suited for intel i9 Processors? May I ask for performance differences?
Thanks a lot!
Taurus
22nd February 2020, 16:40
It's funny but the problem is gone after @Patman changed the file name from xvid to x_v_i_d. :rolleyes:
Thank you!
Will have a look:D.
imhh11
22nd February 2020, 17:14
@Patman thanks a lot for the new builds.
Any chance for your custom build with estimated size on GCC as well? It's always slightly faster than MSVC with my i9.
https://extraimage.net/images/2020/02/22/1313b44ace928032940f749bc0989a72.png
Patman
22nd February 2020, 17:31
@Patman thanks a lot for the new builds.
Any chance for your custom build with estimated size on GCC as well? It's always slightly faster than MSVC with my i9.
Hi imhh11,
I'm just testing the compilation with clang instead of gcc. If there is no big difference, I will compile the custom build in gcc. Stay tuned...
Gesendet von meinem HMA-L09 mit Tapatalk
imhh11
22nd February 2020, 18:42
Thank you!
Patman
23rd February 2020, 02:48
Thank you!
Done...
x265M-3.3+2-...-gcc is online.
lifta19
23rd February 2020, 12:36
Hi, Patman. Please build stable version of x265.
Patman
23rd February 2020, 19:55
x265 builds
I added a stable version of x265 (3.3+1) that was compiled with GCC 9.2.0 and MSVC 1924 (VS2019). Short explanation to my builds:
x265-3.3+1 - Stable Build
x265-3.3+2 - Default Branch / Master Branch
x265M-3.3+2 - Default Branch / Master Branch with customization to display estimated file size
I recompiled all MSVC version because i optimizied the compile code. In my case, the MSVC version is almost 1.5 seconds faster with a small video file.
GCC 9.2.0
avs2pipemod[info]: writing 4115 frames of 24000/1001 fps, 720x304,
sar 0:0, YUV-420-planar-8bit progressive video.
y4m [info]: 720x304 fps 24000/1001 i420p8 unknown frame count
raw [info]: output file: G:\Movie\x264\test\testfile_temp\testfile_new_out.hevc
x265 [info]: HEVC encoder version 3.3+2-gbe2d82093
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-2.1 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / wpp(5 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing deblock sao
avs2pipemod[info]: finished, wrote 4115 frames [100%].
avs2pipemod[info]: total elapsed time is 45.134 sec.
x265 [info]: frame I: 153, Avg QP:18.30 kb/s: 3471.00
x265 [info]: frame P: 1226, Avg QP:21.36 kb/s: 1335.03
x265 [info]: frame B: 2736, Avg QP:26.01 kb/s: 433.49
x265 [info]: Weighted P-Frames: Y:2.9% UV:2.3%
x265 [info]: consecutive B-frames: 29.7% 8.7% 16.5% 23.8% 21.3%
encoded 4115 frames in 44.84s (91.78 fps), 815.03 kb/s, Avg QP:24.34
Start: 02:37:22
End: 02:38:07
Duration: 00:00:45
MSVC
avs2pipemod[info]: writing 4115 frames of 24000/1001 fps, 720x304,
sar 0:0, YUV-420-planar-8bit progressive video.
y4m [info]: 720x304 fps 24000/1001 i420p8 unknown frame count
raw [info]: output file: G:\Movie\x264\test\testfile_temp\testfile_new_out.hevc
x265 [info]: HEVC encoder version 3.3+2-gbe2d82093
x265 [info]: build info [Windows][MSVC 1924][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-2.1 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / wpp(5 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing deblock sao
avs2pipemod[info]: finished, wrote 4115 frames [100%].
avs2pipemod[info]: total elapsed time is 43.694 sec.
x265 [info]: frame I: 153, Avg QP:18.30 kb/s: 3471.00
x265 [info]: frame P: 1226, Avg QP:21.36 kb/s: 1335.03
x265 [info]: frame B: 2736, Avg QP:26.01 kb/s: 433.49
x265 [info]: Weighted P-Frames: Y:2.9% UV:2.3%
x265 [info]: consecutive B-frames: 29.7% 8.7% 16.5% 23.8% 21.3%
encoded 4115 frames in 43.43s (94.74 fps), 815.03 kb/s, Avg QP:24.34
Start: 18:57:42
End: 18:58:26
Duration: 00:00:44
Pls test and give feedback...
imhh11
23rd February 2020, 21:31
thanks but the GCC builds don't work on my end. it says it's missing libgcc_s_seh-1.dll
imhh11
23rd February 2020, 22:27
same error
Mzvasturbo
24th February 2020, 12:51
Hi is it possible to rip with 2computers at the same time. I have a pc with i7 and other pc with i5 cpu both conected in my home network i rip 4k hdr movies using x265 cpu only. Now my i7 struggles even at medium preset so if there is a way my i5 pc could help it would be great. O and i found some nice settings for 4k hdr compression i get very nice rezults and small files if anyone is interested write me in private.
stax76
24th February 2020, 15:38
Hi is it possible to rip with 2computers at the same time. I have a pc with i7 and other pc with i5 cpu both conected in my home network i rip 4k hdr movies using x265 cpu only. Now my i7 struggles even at medium preset so if there is a way my i5 pc could help it would be great. O and i found some nice settings for 4k hdr compression i get very nice rezults and small files if anyone is interested write me in private.
Not with StaxRip but with RipBot264.
Mzvasturbo
24th February 2020, 16:23
And finally i figure out x265 settings i like. Staxrip with encoding server is the future :)
chipxtreme
25th February 2020, 02:19
And finally i figure out x265 settings i like. Staxrip with encoding server is the future :)
What were your settings?
Natty
26th February 2020, 09:30
Short explanation to my builds:
x265-3.3+2 - Default Branch / Master Branch
x265M-3.3+2 - Default Branch / Master Branch with customization to display estimated file size
:thanks: :)
mikraphne
26th February 2020, 20:39
I've been doing 4K encodes perfectly fine for awhile, and was wondering about HDR10+. I know how to use the HDR10plus parser tool to generate a JSON from a raw HEVC file, but how do I insert this file into Staxrip to have it embedded within the .mkv?
MrBrownCow
26th February 2020, 22:43
I added a stable version of x265 (3.3+1) that was compiled with GCC 9.2.0 and MSVC 1924 (VS2019). Short explanation to my builds:
x265-3.3+1 - Stable Build
x265-3.3+2 - Default Branch / Master Branch
x265M-3.3+2 - Default Branch / Master Branch with customization to display estimated file size
Pls test and give feedback...
the GCC version was consistently about 4% faster vs the MSVC on my ryzen 3900X testing with a few short files.
Thank you!
imhh11
26th February 2020, 23:21
I've been doing 4K encodes perfectly fine for awhile, and was wondering about HDR10+. I know how to use the HDR10plus parser tool to generate a JSON from a raw HEVC file, but how do I insert this file into Staxrip to have it embedded within the .mkv?
here:
https://extraimage.net/images/2020/02/26/3cee6fa9a4978bf88d051f8d4c033272.png
you will want to add --dhdr10-opt too
stax76
27th February 2020, 08:01
--chromaloc --vpp-sub --vpp-sub-charset --vpp-sub-shaping --videoformat --colormatrix --colorprim --transfer --fullrange
Were all these switches removed from qsvenc or is the documentation incomplete?
Patman
27th February 2020, 20:48
--chromaloc --vpp-sub --vpp-sub-charset --vpp-sub-shaping --videoformat --colormatrix --colorprim --transfer --fullrange
Were all these switches removed from qsvenc or is the documentation incomplete?
Only vpp-sub (--vpp-sub --vpp-sub-charset --vpp-sub-shaping) switches were removed. All other switchen can be found here (https://github.com/rigaya/QSVEnc/blob/master/QSVEncC_Options.en.md)
Patman
27th February 2020, 20:49
the GCC version was consistently about 4% faster vs the MSVC on my ryzen 3900X testing with a few short files.
Thank you!
Thanks for your feedback!
Mzvasturbo
27th February 2020, 22:37
What were your settings?
Try it on average 4k hdr bluray source.
preset medium
--crf 17 --level-idc 5.1 --output-depth 10 --rdoq-level 2 --aq-mode 4 --aq-motion --max-merge 3 --ref 4 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(x,x)" --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --max-cll "x,x" --hdr --hdr-opt --repeat-headers --hrd --aud --deblock -1:-1 --no-sao
If you can go slow preset it is like this.
--crf 17 --preset slow --level-idc 5.1 --output-depth 10 --aq-mode 4 --aq-motion --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(x,x)" --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --max-cll "x,x" --hdr --hdr-opt --repeat-headers --hrd --aud --deblock -1:-1 --no-sao
It gives me very good rezults and small files.
For heavy grainy movies like midway 2019 filesize with above settings is very big almost the same as tune grain. So in movies like that it is better to use tune grain if you want quality. Or some other settings mybe some grain remove filter to get better compression and smaller file.
stax76
27th February 2020, 23:13
Only vpp-sub (--vpp-sub --vpp-sub-charset --vpp-sub-shaping) switches were removed. All other switchen can be found here (https://github.com/rigaya/QSVEnc/blob/master/QSVEncC_Options.en.md)
Thanks, I'll update it later. Which GCC version did you use to build x265?
@all
I was working on this VFW interface replacement, it worked out well I think and I've tested all I could think of, I hope the new build is fine as well as the updated tools. In the next weeks I don't plan to work on anything larger, so I should have time for staxrip and mpv.net maintenance. Sorry for things not addressed yet, I have to catch up. I hope there are some useful improvements, have fun.
### 2.0.7.1 Beta
- new: icons added in encoder dialog menus
- new: option dialog is shown in case a tool has multiple help
resources, x265 for instance has a local help file containing
the console help and it has a comprehensive online help.
L-Smash-Works for instance has separate help pages
for AviSynth and for VapourSynth
- new: medium quality for x264 was changed from crf 20 to 22
- new: medium quality for x265 was changed from crf 20 to 18
- new: %dpi% macro added, returnes the DPI value of the main dialog screen
- new: High DPI aware Info() AviSynth filter profile added to misc section
- new: the VFW interface used to access AviSynth and VapourSynth
was replaced with a new library
- new: a dozen new x265 switches
- new: nvenc switches --colorrange, --psnr, --ssim
- new: search matches in the video encoder config dialog
stay now permanently highlighted with bold font
- new: the search feature in the video encoder config dialog now
also searches in option values, for instance searching
for 'medium' will find and highlight the 'preset' switch
- new: in the video encoder config dialogs the context menu of the
command line preview has a new menu item to search
for the switch or string at the caret or cursor
- new: Opus format enabled for MP4Box muxer, this was requested
but did not work in my test
- new: bmp format for cover art can be used in muxer dialog
- update: nvenc 4.65
- update: qsvenc 3.31
- update: vceenc 5.02
- update: x265 3.3+2-gbe2d82093 GCC Patman
- update: ffmpeg N-96788 GCC 9.2.0 Patman
- update: mkvtoolnix 43
- update: MP4Box 0.8.0-rev178-g44c48d630 Patman
- fix: x265 three pass encoding (untested)
- fix: zoom in/out was flipped in preview dialog
https://www.dropbox.com/sh/4ctl2y928xkak4f/AAADEZj_hFpGQaNOdd3yqcAHa?dl=0
https://1drv.ms/u/s!ArwKS_ZUR01g0kH4d4eT_6a3GaKe?e=qbOfGS
Patman
28th February 2020, 07:35
Thanks, I'll update it later. Which GCC version did you use to build x265?
I use GCC 9.2.0 to build x265.
JKyle
28th February 2020, 08:49
@stax76:
Thanks for the update.
But even with 2.0.7.1 Beta, the following things related to x265 options don't seem to have been fixed.
1) refine-ctu-distortion is named incorrectly
https://i.imgur.com/duAUvXX.jpg
2) High Tier doesn't work
https://i.imgur.com/qESW4Sx.jpg
3) Options with the 'no-' switch do not show up the help file when right-clicked
https://i.imgur.com/JhzaAHM.jpg
:thanks:
Patman
28th February 2020, 12:52
@stax76:
2) High Tier doesn't work
This switch only had an effect when a level is set. I can't see in the commandline, that you set a level.
JKyle
28th February 2020, 14:47
This switch only had an effect when a level is set. I can't see in the commandline, that you set a level.
Oops, my bad! :eek:
Yes, you’re right, as it’s obviously explained in the help. :p
:thanks:
shodan5000
28th February 2020, 21:42
When trying to open a source file with the newest beta I only get a message stating:
System.DllNotFoundException: Unable to load DLL 'FrameServer': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Any ideas on how to fix this issue?
Spunkmeyer
28th February 2020, 22:25
When trying to open a source file with the newest beta I only get a message stating:
System.DllNotFoundException: Unable to load DLL 'FrameServer': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Any ideas on how to fix this issue?
Me too, path in error details is pointing to drive D:/Projekte
Suppose I could just install it there as a temp fix but still ;-)
JKyle
28th February 2020, 22:37
When trying to open a source file with the newest beta I only get a message stating:
System.DllNotFoundException: Unable to load DLL 'FrameServer': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Any ideas on how to fix this issue?
Same problem here.
DllNotFoundException (2.0.7.1)
Unable to load DLL 'FrameServer': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
System.DllNotFoundException: Unable to load DLL 'FrameServer': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at StaxRip.FrameServer.CreateAviSynthServer()
at StaxRip.FrameServer..ctor(String path) in D:\Projekte\VB\staxrip\General\FrameServer.vb:line 12
at StaxRip.VideoScript.Synchronize(Boolean convertToRGB, Boolean comparePath, Boolean flipVertical) in D:\Projekte\VB\staxrip\General\VideoScript.vb:line 246
at StaxRip.VideoScript.GetInfo() in D:\Projekte\VB\staxrip\General\VideoScript.vb:line 437
at StaxRip.VideoScript.GetFramerate() in D:\Projekte\VB\staxrip\General\VideoScript.vb:line 432
at StaxRip.MainForm.ModifyFilters() in D:\Projekte\VB\staxrip\Forms\MainForm.vb:line 2263
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) in D:\Projekte\VB\staxrip\Forms\MainForm.vb:line 1981
chipxtreme
29th February 2020, 02:15
Same for me
Patman
29th February 2020, 02:25
FrameServer-Error
Copy the FrameServer.dll from zip or folder to C:/Windows/System32. I think Stax will fix that soon :)
EDIT: doesn't help... :(
JKyle
29th February 2020, 03:25
Copy the FrameServer.dll from zip or folder to C:/Windows/System32.
This doesn't seem to fix the problem.
There already existed another version of the file, but I replaced it with the one included in the StaxRip zip file. However, the problem still exists.
:(
Patman
29th February 2020, 03:28
This doesn't seem to fix the problem.
There already existed another version of the file, but I replaced it with the one included in the StaxRip zip file. However, the problem still exists.
:(
Hmmm... i have no problem with the new version of Staxrip...
Mister XY
29th February 2020, 05:21
I have also the same FramServer error
JKyle
29th February 2020, 06:07
Just out of curiosity...
If FrameServer.dll plays such a crucial role in the new Beta version, why don't you put it in the Apps => Manage => Runtimes menu and let users to customize its path?
Sorry if it's against your development philosophy.
Taurus
29th February 2020, 11:25
Same for me
Same here...
Magik Mark
29th February 2020, 12:27
Same here. Refuses to be copied in the system32 directory
stax76
29th February 2020, 13:48
Sorry, I'm not super C++ competent, I've not used it often and not in recent years.
I use Windows 10 and in Visual Studio 2019 I used Platform Toolset 'Visual Studio 2019 (v142)', it's the newest and I hope it works when following x64 runtime is installed:
https://support.microsoft.com/en-au/help/2977003/the-latest-supported-visual-c-downloads
If it doesn't work then it might be the same issue I have with my other C++ library:
https://github.com/stax76/OpenWithPlusPlus/issues/5
The C++ DLL exports C functions, in .NET C functions are called using a technique named pinvoke, which means the .NET runtime loads FrameServer.dll, there is another unrelated FrameServer.dll in system32 (maybe a Windows component), this should not be a problem because the startup directory has a higher priority than the system32 directory.
Patman
29th February 2020, 14:44
Maybe this will help with the frameserver. dll error
http://batcmd.com/windows/10/services/frameserver/
That service only exists on win10.
Spunkmeyer
29th February 2020, 15:40
System.DllNotFoundException: Unable to load DLL 'FrameServer': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at StaxRip.FrameServer.CreateVapourSynthServer()
at StaxRip.FrameServer..ctor(String path) in D:\Projekte\VB\staxrip\General\FrameServer.vb:line 14
at StaxRip.VideoScript.Synchronize(Boolean convertToRGB, Boolean comparePath, Boolean flipVertical) in D:\Projekte\VB\staxrip\General\VideoScript.vb:line 246
at StaxRip.VideoScript.GetInfo() in D:\Projekte\VB\staxrip\General\VideoScript.vb:line 437
at StaxRip.VideoScript.GetFrameCount() in D:\Projekte\VB\staxrip\General\VideoScript.vb:line 461
at StaxRip.GlobalClass.IsValidSource(Boolean warn) in D:\Projekte\VB\staxrip\General\GlobalClass.vb:line 684
at StaxRip.MainForm.AviSynthListView_ScriptChanged() in D:\Projekte\VB\staxrip\Forms\MainForm.vb:line 5196
at StaxRip.FiltersListView.OnChanged() in D:\Projekte\VB\staxrip\Controls\FiltersListView.vb:line 269
at StaxRip.FiltersListView._Lambda$__14-0(VideoScript script) in D:\Projekte\VB\staxrip\Controls\FiltersListView.vb:line 29
at StaxRip.VideoScript.RaiseChanged() in D:\Projekte\VB\staxrip\General\VideoScript.vb:line 21
at StaxRip.VideoScript.SetFilter(Int32 index, VideoFilter filter) in D:\Projekte\VB\staxrip\General\VideoScript.vb:line 91
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) in D:\Projekte\VB\staxrip\Forms\MainForm.vb:line 2064
Tried all the above hints and Visual Studio, 3.5 gig download etc, happens with both AVS and Vapour.
Oh and Nvenc has been updated again :-)
Magik Mark
29th February 2020, 15:50
Yup. Problem still persisting
stax76
29th February 2020, 17:06
I searched for DllNotFoundException which led to a StackOverflow thread were somebody said:
I ran into this problem and solved with the following:
There's a dependency on msvcr90.dll if you compile under /MD. Try compiling the code with /MT instead.
Project properties > C/C++ > Code Generation > Runtime Library: /MT
I check this setting and it's:
Multi-threaded Debug DLL (/MDd)
I think the problem is I released a debug build, I do it all the time with .NET code and wasn't aware that it can't be done with native code.
Sorry everybody, I'll upload a new build soon.
ukmark
29th February 2020, 17:18
Sorry everybody, I'll upload a new build soon.
Absolutely no need to apologize.
I know we are all very grateful for your efforts.:thanks:
stax76
29th February 2020, 19:27
I hope it's fine now.
2.0.7.2 Beta
------------
- new: showing MediaInfo for the source file works now even if
the source file is an d2v/dgi index file
- new: improved detection to find out if all video encoder
command line switches have a GUI implementation,
(there is still a lot work to do)
- fix: use FrameServer.dll release build instead of debug build
https://www.dropbox.com/sh/4ctl2y928xkak4f/AAADEZj_hFpGQaNOdd3yqcAHa?dl=0
https://1drv.ms/u/s!ArwKS_ZUR01g0kH4d4eT_6a3GaKe?e=qbOfGS
Patman
29th February 2020, 20:06
I hope it's fine now.
2.0.7.2 Beta
------------
- new: showing MediaInfo for the source file works now even if
the source file is an d2v/dgi index file
- new: improved detection to find out if all video encoder
command line switches have a GUI implementation,
(there is still a lot work to do)
- fix: use FrameServer.dll release build instead of debug build
The new version with release compiling settings works great!!! :thanks:
Magik Mark
1st March 2020, 00:06
Thanks Stax! It' s awesome!
stax76
1st March 2020, 09:57
Thanks for the feedback everybody. :thanks:
@JKyle
Next build addresses the x265 issues and has also some related improvements.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.