View Full Version : StaxRip
stax76
24th April 2015, 10:39
About
StaxRip is a video encoding GUI for Windows, it executes and controls console apps like x265, NVEnc, mkvmerge or ffmpeg and uses the scripting based frame servers AviSynth and VapourSynth for video processing.
Website
https://github.com/staxrip/staxrip
Groucho2004
24th April 2015, 11:02
All AviSynth plugins except ffms2 and l-smash are gone
Why? There are quite a number of working 64 Bit plugs, see here (http://forum.doom9.org/showthread.php?t=169832) for example.
The latest AviSynth+ binary build is here:
http://forum.doom9.org/showthread.php?p=1711770#post1711770
Nope, the latest builds are here (http://www.avs-plus.net/builds).
stax76
24th April 2015, 11:13
I've not known this links so thanks again, did you notice AVSMeter x64 is included (Tools/Advanced/AVSMeter)? :)
Groucho2004
24th April 2015, 11:19
I've not known this links so thanks, did you notice AVSMeter x64 is included (Tools/Advanced/AVSMeter)? :)
I don't use GUIs so I did not download it. However, quite a number of people seem to be using staxrip and this way 64 Bit AVS+ will get a lot more testing.
NikosD
25th April 2015, 07:21
Frank, I have sent you an email regarding DSS2 mod which I think it works with x64
stax76
25th April 2015, 07:30
Thanks, it works! Next version will have ffms2, l-smash, DSS2, SangNom2, checkmate, RgTools, DGDecNV works and DGDecIM will be integrated shortly.
NikosD
25th April 2015, 07:32
Great!
Have you contacted Rigaya for the HW encoders not being able to use AVS with x64 versions ?
stax76
25th April 2015, 07:39
I mailed him 22 hours so hope he replies soon otherwise I might have to use piping with ffmpeg meanwhile.
NikosD
25th April 2015, 07:46
From your first posts I can see that maybe your decision of abandoning completely the x86 version of a program that is based so much upon Avisynth, is probably rushed.
I think the release of madVR x64 and the obvious weakness of LAV HEVC x86 decoder, have created a "madness" with 64bit version for everything, but that seems to not working so good at the moment.
I suggest to reconsider the maintenance of x86 version, at least on fixing latest bugs and then updating components (apps, filters etc) in the future without adding new features.
At least until StaxRip x64 reaches the functionality of StaxRip x86
stax76
25th April 2015, 08:46
For madvr, Firefox and StaxRip this is the year of x64. I'll probably make some 32-Bit maintenance releases.
huhn
25th April 2015, 10:50
did your old version used the x265 build with 8 bpp?
NikosD
25th April 2015, 10:55
The x86 version had both executables (8bit and 10bit) for both encoders (x264 and x265) and you could select whatever you want for each encoder.
I don't know why Frank decided to include only one executable for each encoder and not both in x64 version.
huhn
25th April 2015, 10:57
i was asking about 16bpp or 8bpp. while 10 bit should always be 16bpp you could choice it for 8 bit and the 8bpp version is pretty bad.
stax76
25th April 2015, 11:43
The download size and hard drive space is huge, I added new plugins and might be able to restore old plugins because I found 64 bit versions, I've also added xvid encraw and DivX265, AviSynth+ is gonna be 18 MB, so altogether it's 70 MB now. The source is on github now, probably I should give up sourceforge completely, I don't know if github allows that much traffic, many people here use mediafire, mkvtoolnix uses fosshub, maybe BitTorrent could be a way.
What I'll much likely do is allow tools not used being deleted, I added xvid encraw only because it was requested at least once a week so still used by many people, if people request separate 8-Bit and 10-Bit frequently I have to put it back, the poll showed there are x264 10-Bit users, if I add this people might enable it not even knowing it has little to no hardware support (right?) so I would have to add a warning at least. It's not looking there are many people using x265 8-Bit, HEVC is all about 10-Bit, right?
huhn
25th April 2015, 11:59
What I'll much likely do is allow tools not used being deleted, I added xvid encraw only because it was requested at least once a week so still used by many people, if people request separate 8-Bit and 10-Bit frequently I have to put it back, the poll showed there are x264 10-Bit users, if I add this people might enable it not even knowing it has little to no hardware support (right?) so I would have to add a warning at least. It's not looking there are many people using x265 8-Bit, HEVC is all about 10-Bit, right?
yes there is liberally no h264 10 bit hardware support,
but nearly all hardware decoder can't decode 16 ref frames so do you have a warning for this too?
just add a (if you didn't already have) presets for devices like megui did. there are multiply settings you can't use for some hardware devices using x264 8 bit.
if someone is changing settings he has to deal with the result no need to hold there hands.
10 bit x264 is used quiet a lot.
some/most decoder can't decode 10 bit HEVC like lentoid or UHDcode. so there is a reason to use 8 bit HEVC but please use the 16 bpp version.
do you think about adding AMD VCE to your hardware decoder list? the people on the OBs forum liked it and i wouldn't be shocked if AMD VCE 2.0 is better than NVenc kampler and haswell.
NikosD
25th April 2015, 12:05
Do you know any tool in CLI form that supports VCE ?
huhn
25th April 2015, 12:12
Do you know any tool in CLI form that supports VCE ?
sadly no.
but OBS has a version with VCE support and it's open source and the used "encoder" there should be usable for things like staxrip.
using the SDK should be possible too.
http://developer.amd.com/community/blog/2014/02/19/introducing-video-coding-engine-vce/
NikosD
25th April 2015, 12:14
The developer of QSVEncC and NVEncC (rigaya) hasn't built a CLI tool for VCE but only an aviutil plugin - VCEnc.
burfadel
25th April 2015, 12:20
What about deinterlacing filters like YADIF, and IVTC processing?
stax76
25th April 2015, 12:39
@huhn
There is devices support applying some restrictions, I try to add at least some tooltips and help. I like adding new encoders even with GUI, my design makes this a very very easy task, I'm not really C++ programming (future maybe...) so no AMD support until there is a tool (which I didn't search hard for).
What about deinterlacing filters like YADIF, and IVTC processing?
There is a good chance most comes back in the next release.
huhn
25th April 2015, 12:51
@huhn
There is devices support applying some restrictions, I try to add at least some tooltips and help. I like adding new encoders even with GUI, my design makes this a very very easy task, I'm not really C++ programming (future maybe...) so no AMD support until there is a tool (which I didn't search hard for).
maybe useful for you maybe not: https://obsproject.com/forum/threads/obs-branch-with-amd-vce-support.13996/
burfadel
25th April 2015, 13:03
There is a good chance most comes back in the next release.
That's good, deinterlacing vital for encoding :).
stax76
25th April 2015, 13:09
There are various plugins but I don't know yet the quality of the port and the compatibility.
https://sites.google.com/site/avisynth64bitplugin/download
http://web.archive.org/web/20130922222259/http://yo4kazu.110mb.com
http://members.optusnet.com.au/squid_80
https://code.google.com/p/avisynth64/wiki/PluginLinks
luigizaninoni
25th April 2015, 14:08
Hello, I have been using Staxrip for some months, and so far I have been very pleased with the results.
My usual workflow is as follows:
- record movie from DVB-T with dvbviewer
- remove ads with Videoredo
- encode with Staxrip-32bit – avisynth qtgmc – x265 10bit slow - crf 19
The introduction of Staxrip 64-bit is very welcome (qtgmc is so slooooow … and x265 10bit does not help). However I am trying to have it work properly but I am totally stuck – I am not a total noob, but certainly I am not an expert either.
My difficulties:
- How can I install Avisynth+, given that the existing installer is very old and not updated to most recent version ?
- How do I implement Qtgmc ? As far as I can understand, I would need Mvtools, MaskTools v2, NNEDI3, RemoveGrain + Repair, SSE2Tools, NNEDI2, NNEDI, EEDI3, EEDI2, Tdeint. All 64-bit plugins. I do not use the other plugins. I have been able to find some of these plugins in 64-bit version, but where can I find all of them ?
stax76
25th April 2015, 14:32
I try to get a newer installer, Qtgmc and x64 might be a problem.
Reel.Deel
25th April 2015, 15:18
My difficulties:
- How can I install Avisynth+, given that the existing installer is very old and not updated to most recent version ?
I used the AviSynth+ r1576 installer (make sure you install 32 and 64-bit) and then I manually replaced the respective files using the updated build from here (https://cloud.pados.hu/index.php/s/0e0d5588307a7b0474742711731699b6?path=%2Fr1779-MT-release). 32-bit avisynth.dll and devil.dll go in the SysWOW64 folder, 64-bit goes in the System32 folder. Also replace the core plugins in the AviSynth autoload folder with the included plugins.
- How do I implement Qtgmc ? As far as I can understand, I would need Mvtools, MaskTools v2, NNEDI3, RemoveGrain + Repair, SSE2Tools, NNEDI2, NNEDI, EEDI3, EEDI2, Tdeint. All 64-bit plugins. I do not use the other plugins. I have been able to find some of these plugins in 64-bit version, but where can I find all of them ?
Really you don't need all these plugins for it to work, QTGMC() with all default settings only needs MVtools2, MaskTools2, RemoveGrain/Repair, and NNEDI3. Some of the other plugins like NNEDI, NNEDI2, EDDI2 can be considered deprecated. SSE2Tools is only used to process YUY2, it's closed source and the author is no longer around so we won't see a 64-bit version of that (this is probably a good thing, it was just an ugly hack anyways).
Anyways you can download the core plugins here:
MaskTools2 (https://github.com/tp7/masktools/releases)
MVTools2 (http://forum.doom9.org/showpost.php?p=1718402&postcount=1054)
RgTools (https://github.com/tp7/RgTools/releases) - includes RemoveGrain, Repair, and VerticalCleaner
NNEDI3 (http://forum.doom9.org/showthread.php?t=170083)
luigizaninoni
25th April 2015, 15:30
:thanks:
luigizaninoni
25th April 2015, 16:28
Ok, thanks to Reel.Deel, now Avisynth+ and Qtgmc "might" be in place.
However, I am still stuck with Staxrip 64-bit. When I try to open a source I get this error message:
Exception
Overflow di un'operazione aritmetica.
System.OverflowException: Overflow di un'operazione aritmetica.
in System.IntPtr.op_Explicit(IntPtr value)
in StaxRip.TaskDialog`1.AllocateAndMarshalButtons(List`1 structs) in C:\Daten\Projekte\GitHub\staxrip\UI\TaskDialog.vb:riga 379
in StaxRip.TaskDialog`1.MarshalDialogControlStructs() in C:\Daten\Projekte\GitHub\staxrip\UI\TaskDialog.vb:riga 361
in StaxRip.TaskDialog`1.Show() in C:\Daten\Projekte\GitHub\staxrip\UI\TaskDialog.vb:riga 302
in StaxRip.MainForm.OpenSourceFiles() in C:\Daten\Projekte\GitHub\staxrip\Forms\MainForm.vb:riga 4858
in StaxRip.MainForm.lTip_Click() in C:\Daten\Projekte\GitHub\staxrip\Forms\MainForm.vb:riga 5297
in StaxRip.MainForm._Lambda$__163(Object a0, EventArgs a1) in C:\Daten\Projekte\GitHub\staxrip\Forms\MainForm.vb:riga 0
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.Label.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
stax76
25th April 2015, 18:08
Looks like a bad pointer size so 64-bit port bug number two, this kind of bug was to be expected, I'll upload a fix shortly.
stax76
25th April 2015, 18:31
The code works here, which OS are you using and what were you doing when it happens?
luigizaninoni
25th April 2015, 18:45
The code works here, which OS are you using and what were you doing when it happens?
Windows 8.1 64-bit. Main windows of staxrip, click on "source-single file" or right-click on "source-open"
stax76
25th April 2015, 19:08
It's the same line of code described here:
https://github.com/aybe/Windows-API-Code-Pack-1.1/issues/3
What I don't understand is why it's another type of exception, my code was casting to int while the code that is said to work uses intptr.ToInt64, maybe the integer size is different on your system, I don't get it, anyway, I upload a build in a few minutes which I hope will work.
stax76
25th April 2015, 19:20
alpha 1.3.0.1
http://1drv.ms/1DwnJsY
luigizaninoni
25th April 2015, 19:25
alpha 1.3.0.1
http://1drv.ms/1DwnJsY
now source opens, thanks
I'll try an encode with qtgmc and report back
luigizaninoni
25th April 2015, 19:28
alpha 1.3.0.1
http://1drv.ms/1DwnJsY
source opens now, thanks
I'll try an encode with qtgmc and report back
luigizaninoni
25th April 2015, 19:44
thanks, now no error while opening source.
However, tried to encode (with qtgmc); gives error message "AviFile open failed" (strange, because it's a .ts and it should open with directshowsource)
luigizaninoni
25th April 2015, 19:48
Exception
AVIFileOpen failed
System.Exception: AVIFileOpen failed
in StaxRip.AVIFile..ctor(String path) in C:\Daten\Projekte\GitHub\staxrip\General\AVIFile.vb:riga 66
in StaxRip.AviSynthDocument.Synchronize() in C:\Daten\Projekte\GitHub\staxrip\General\AviSynth.vb:riga 146
in StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean autoMode) in C:\Daten\Projekte\GitHub\staxrip\Forms\MainForm.vb:riga 1946
stax76
25th April 2015, 19:50
Is there a full log file you can upload to pastebin?
luigizaninoni
25th April 2015, 19:57
loaded crash.srip to dropbox:
https://dl.dropboxusercontent.com/u/2189315/Comuni%20a%20tutti%20i%20PC/crash.srip
stax76
25th April 2015, 20:03
Is there a log file?
*_StaxRip.log
Try to remove all plugins from the auto load folder, it could be a problem with your system or avisynth.
luigizaninoni
25th April 2015, 20:05
Here is the log:
https://dl.dropboxusercontent.com/u/2189315/Comuni%20a%20tutti%20i%20PC/13-25-00-Star%20Trek%20%20Primo%20contatto_Rai%204%20%28ita%29_StaxRip.log
stax76
25th April 2015, 20:09
LoadPlugin("C:\Users\admin\Desktop\Video\Staxrip 64bit\Tools\DGMPGDec\DGDecode.dll")
MPEG2Source("C:\Users\admin\Desktop\13-25-00-Star Trek Primo contatto_Rai 4 (ita) temp files\13-25-00-Star Trek Primo contatto_Rai 4 (ita).d2v")
QTGMC( Preset="Slow" ).SelectEven()
Crop(0, 0, -0, -0)
AviSynth Plugins: masktools2, mvtools2, nnedi3, RgTools
First try to not use QTGMC, if the problem persists then remove all plugins from the auto load folder and try again.
Try to load the avs file with MPC 64-Bit, problem is the script generally don't work I suspect.
luigizaninoni
25th April 2015, 20:20
I removed all plugins, and tried this simple avs:
LoadPlugin("C:\Users\admin\Desktop\Video\Staxrip 64bit\Tools\DGMPGDec\DGDecode.dll")
MPEG2Source("C:\Users\admin\Desktop\13-25-00-Star Trek Primo contatto_Rai 4 (ita) temp files\13-25-00-Star Trek Primo contatto_Rai 4 (ita).d2v")
It does not open in MPC-HC64. So probably I didn't install Avisynth+ correctly ? Or anyway there is a problem with avisinth+ ?
stax76
25th April 2015, 20:33
Try loading a avs file with mpc 64-bit containing just:
Version()
Reel.Deel described exactly how to install AviSynth+, try uninstalling AviSynth+ and just install the installer and nothing else.
luigizaninoni
25th April 2015, 20:52
at first version() avs did not load in mpc.
After uninstall and reinstall of avisynth+ it now works.
luigizaninoni
25th April 2015, 20:58
tried to encode a 2-minute video at default settings, gives again:
Overflow di un'operazione aritmetica.
I think I'll stick with Staxrip-32bit for the moment, it is a great software anyway
I'll try again 64bit when the setup procedure is more streamlined and mature
Thanks anyway for your kind help, Stax76
stax76
26th April 2015, 01:51
Maybe there is something special on your side, I've integrated 13 plugins meanwhile, dgdecode and autocrop are back, I'll integrate 4 more plugins and QTGMC, everything is working perfectly, I've not expected there are that few problems and few things missing, maybe 64-Bit AviSynth is more ready then many people think it is, great job from everybody building and porting.
detmek
26th April 2015, 14:58
Hi stax76. First, thanks for Codec Comparisson tool! Its fantastic! Second, is it postible for StaxRip x64 to use portable Avisynth or Avisynth+, like MeGUI does?
stax76
26th April 2015, 15:18
Hi, portable AviSynth isn't supported, would this have an advantage? StaxRip from now on requires AviSynth+ 64-Bit.
There are two users reporting an arithmetic overflow returned from IAvisynthClipInfo, both are on win 8.1, one has provided a log file, nothing special to see there, ffms2 failing to load a old mkv/avc movie, maybe only Win 7 works. First I need a AviSynth+ installer.
stax76
26th April 2015, 16:06
There is a ffms2 memory leak, workaround: Tools/Settings/Filter/default > LWLibavVideoSource
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.