View Full Version : StaxRip
lazyjss
25th January 2022, 04:15
Using staxrip x265 to encode some bluray remuxs, after a 2 day long encode, mediainfo shows resulting file as variable frane rate 23.976 instead of constant.
Could anyone tell me how to set a constant frane rate please?
Zcehtro
1st February 2022, 01:18
Hi. I've been a long time lurker.
Created an account to ask about the development of StaxRip.
I've noticed that development kind of died, and the project coders are ASAP as far as anybody knows.
I've check here, discord and reddit, and haven't been able to find what has happened.
I'd like to ask seasoned StaxRip users, would the outdated-"ness" of this program eventually render it obsolete? If so, would Handbrake be a viable alternative?
Or would it remain in time?
shodan5000
1st February 2022, 17:26
Well, anyone else interested in maintaining StaxRip?
Zcehtro
1st February 2022, 23:05
I believe a major concern when using StaxRip, is maintaining the plugins/apps/tools up to date, and therefore the GUI that operates their parameters as well.
Regarding the application functionality and features in itself, it should be only secondary if the main objective is to at least keep the project alive.
I'd love to help out, but my coding experience is mainly in VBA with Excel. At best I write simple AVS scripts but nothing advanced like from the legendary Didée.
Magik Mark
2nd February 2022, 07:28
Guys,
In the event nobody wants to maintain staxrip, will Adobe media encoder do a great job in converting x264 to x265? Will it also capable converting different audio formats to aac?
Thanks
AMED
10th February 2022, 22:54
In case anyone wants to update their portable Vapoursynth from R54 to R55 there is a maintenance release that works fine with Staxrip 2.10.
https://github.com/vapoursynth/vapoursynth/releases/tag/R55-API3
Download the 64bit portable version and unzip in to staxrip\Apps\FrameServer\VapourSynth\.
fredlkrue
11th February 2022, 14:17
In case anyone wants to update their portable Vapoursynth from R54 to R55 there is a maintenance release that works fine with Staxrip 2.10.
https://github.com/vapoursynth/vapoursynth/releases/tag/R55-API3
Download the 64bit portable version and unzip in to staxrip\Apps\FrameServer\VapourSynth\.
There is a compatibility issue with R55, checkout the following commit:
https://github.com/staxrip/staxrip/commit/d7cfbaf410871ca089296def19bf1549ad64b240
AMED
11th February 2022, 20:15
There is a compatibility issue with R55, checkout the following commit:
https://github.com/staxrip/staxrip/commit/d7cfbaf410871ca089296def19bf1549ad64b240
There are 2 builds of R55.
The one I'm talking about is a maintenance release. vs.get_core() still works so compatible with Staxrip.
http://www.vapoursynth.com/2021/09/r55-start-of-the-api3-builds/
https://github.com/vapoursynth/vapoursynth/releases/tag/R55-API3
This is the one you are referencing. vs.get_core() has been replaced with vs.core and doesn't work with Staxrip.
http://www.vapoursynth.com/2021/09/r55-audio-support-and-improved-performance/
https://github.com/vapoursynth/vapoursynth/releases/tag/R55
fredlkrue
12th February 2022, 00:14
There are 2 builds of R55.
The one I'm talking about is a maintenance release. vs.get_core() still works so compatible with Staxrip.
http://www.vapoursynth.com/2021/09/r55-start-of-the-api3-builds/
https://github.com/vapoursynth/vapoursynth/releases/tag/R55-API3
This is the one you are referencing. vs.get_core() has been replaced with vs.core and doesn't work with Staxrip.
http://www.vapoursynth.com/2021/09/r55-audio-support-and-improved-performance/
https://github.com/vapoursynth/vapoursynth/releases/tag/R55
I see, thanks for the tip.
Amateur
12th February 2022, 17:52
Is anyone willing to help a newbie out with using this program? How do I actually implement additional filters into my encode like dedot, anti-aliasing, FastLineDarken, or line thinning (I forget what the line thinning filter was if anyone could remind me)?
I've gone through some posts on here which say you can see your code "The entire script is shown in the menu with 'Preview Code'." but I only see Preview in the top menu which opens up the video instead of any code.
Thank you
Atlantis
14th March 2022, 00:03
I noticed if you have a 5.1 flac and choose to encode it to stereo AAC, it doesn't do the conversion. The conversion works if you have ac3 or dts 5.1.
It seems the channel conversion to stereo happens in here
------------------------ Convert AC3 to FLAC 2 ------------------------
ffmpeg N-103081-gf7958d0883-x64-gcc10.3.0 Patman
"....ffmpeg.exe" -i "....English.ac3" -af volume=1.2dB -y -hide_banner -ac 2 "....ID1 English_562399560.flac"
So if your source is already flac 5.1, the conversion to stereo never happens.
fredlkrue
22nd March 2022, 14:42
I noticed if you have a 5.1 flac and choose to encode it to stereo AAC, it doesn't do the conversion. The conversion works if you have ac3 or dts 5.1.
It seems the channel conversion to stereo happens in here
------------------------ Convert AC3 to FLAC 2 ------------------------
ffmpeg N-103081-gf7958d0883-x64-gcc10.3.0 Patman
"....ffmpeg.exe" -i "....English.ac3" -af volume=1.2dB -y -hide_banner -ac 2 "....ID1 English_562399560.flac"
So if your source is already flac 5.1, the conversion to stereo never happens.
Do a bug report, I see some activity from Dendraspis.
DMD
26th March 2022, 08:28
There are 2 builds of R55.
The one I'm talking about is a maintenance release. vs.get_core() still works so compatible with Staxrip.
http://www.vapoursynth.com/2021/09/r55-start-of-the-api3-builds/
https://github.com/vapoursynth/vapoursynth/releases/tag/R55-API3
This is the one you are referencing. vs.get_core() has been replaced with vs.core and doesn't work with Staxrip.
http://www.vapoursynth.com/2021/09/r55-audio-support-and-improved-performance/
https://github.com/vapoursynth/vapoursynth/releases/tag/R55
Is the R57 (http://www.vapoursynth.com/) version also to be tested with StaxRip?
Thank you
AMED
26th March 2022, 10:36
Is the R57 (http://www.vapoursynth.com/) version also to be tested with StaxRip?
Thank you
https://github.com/staxrip/staxrip/pull/841
AMED
3rd April 2022, 08:18
StaxRip v2.11.0 released
https://github.com/staxrip/staxrip/releases
maupassant
5th April 2022, 04:20
Problem with StaxRip 2.11.0 only.
I tried to use the mClean VS filter and I received an error message 👍
Script Error
Python exception: No attribute with the name vcm exists. Did you mistype a plugin namespace?
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 2242, in vapoursynth.vpy_evaluateScript
File "src\cython\vapoursynth.pyx", line 2243, in vapoursynth.vpy_evaluateScript
File "C:\1957\REQUESTS\THE AVENGERS\title_t00 (02)_temp\title_t00 (02)_new.vpy", line 46, in
clip = G41Fun.mClean(clip, thSAD=400, chroma=True, sharp=10, rn=14, deband=0, depth=0, strength=20)
File "C:\STAXRIP\StaxRip-v2.11.0-x64\Apps\Plugins\VS\Scripts\G41Fun.py", line 2504, in mClean
c = core.vcm.Median(clip, plane=[0, 1, 1]) if chroma else clip
File "src\cython\vapoursynth.pyx", line 1891, in vapoursynth._CoreProxy.getattr
File "src\cython\vapoursynth.pyx", line 1754, in vapoursynth.Core.getattr
AttributeError: No attribute with the name vcm exists. Did you mistype a plugin namespace?
AMED
19th April 2022, 04:24
StaxRip v2.12.0 released
https://github.com/staxrip/staxrip/releases
Atlantis
3rd May 2022, 18:19
Can you encode 2 video tracks in one job? For example to have HDR and SDR video tracks in one file.
BobDig
5th May 2022, 10:30
Probably no one wants that, because most players these days do it on the fly (HDR->SDR)?
jlw_4049
6th May 2022, 04:02
Well, anyone else interested in maintaining StaxRip?
Dendraspis is maintaining staxrip on Github. He does not use the forum, so if anyone is wanting things fixed/updated it's probably best to refer to the github.
https://github.com/staxrip/staxrip
He also maintains a discord server for staxrip https://discord.gg/uz8pVR79Bd
Good morning.
In the NVEnc section I can't find the INFO option as in the x265> Bitstream section.
Some idea?
Thanks
Zetti
11th May 2022, 09:11
StaxRip v2.13.0 released
https://github.com/staxrip/staxrip/releases
Ripmann
1st June 2022, 05:10
Hi guys, I was told that you can set up StaxRip to implement overlays with custom filters. Armed with that knowledge I spent hours scouring the web and blindly testing some functions, but I'm just too much of a FFMPEG/StaxRip newb to figure this out by my own. Can somebody please help me out? I don't like wasting other people's time but this is rather important and I am stuck.
In short, I have two identical HD videos of varying ratios. I need to overlay one on the other and then output the result without losing any quality. Something like this, except this example re-encodes the output to a fraction of source's size and I need to keep it as close to the originals as possible:
ffmpeg -i Back.mkv -i Front.mkv -filter_complex "[0:v][1:v]overlay=0:0" -map 1:a -c:a copy output.mkv
I tried tinkering with filter_complex in StaxRip as a custom filter but it doesn't seem to recognize the function. Even if it did, I'm not sure I can figure out how to adjust it so it'll first apply the overlay and then re-encode the combined result with StaxRip's regular single file settings. I also tried the AutoOverlay plugin but I couldn't even install it with StaxRip, let alone figure out how to execute it for my needs. If there's a kindly encoding expert who could spare a few minutes to teach me how to do this, I would immensely appreciate the help.
fafner88
13th July 2022, 12:09
Hi Guys. I need help installing scripts/plugins in StaxRip. I'm a complete newbie when it comes to these sorts of things and I don't know anything about code. I tried to search for guides on google but it all seemed too complicated for me. Can someone guide me step by step on how to do it?
Basically I want to install this plugin
http://avisynth.nl/index.php/SeeSaw
And the page tells me that I also need to install MaskTools2. Can someone show me how I install these two things? Thank you.
fafner88
13th July 2022, 12:44
I'd like also to report a potential bug in the mpv.net player. The filters appear to randomly mess up the contrast during playback. Sometimes the contrast is fine, but then when you add filters or change the code the contrast goes down and the picture looks off (the blacks look too light). I can sometimes fix the contrast by switching a filter off and on, but it doesn't always work. Is someone familiar with this issue?
tormento
14th July 2022, 10:11
Is there a way to throw an entire folder in batch encoding and have the qp file recognized and inserted in x265?
Alternatively, is there any variable to put in the x265 options to have some name pushing in the encoder in batch mode?
BobDig
27th July 2022, 08:10
Is there a decimate filter in staxrip? Or to be more precise, is there a filter which just removes random duplicate frames in a video?
Pulp Catalyst
31st July 2022, 10:36
Hello in my log i'm getting this R:\>"C:\PROGZ\ENCODING\RipBot264v1.26.2 (14-07-22)\tools\mkvtoolnix\mkvmerge.exe" "@D:\Temp\RipBot264temp\job1\job1_MuxFiles.json"
mkvmerge v69.0.0 ('Day And Age') 64-bit
Error: The file 'D:\Temp\RipBot264temp\job1\Encoded_Audio_1.opus' could not be opened for reading: open file error
any ideas what's causing this?
edit 1
i reinstalled everything from scratch, it's working fine now...something must of went wrong with one of the files.
Atlantis
16th August 2022, 11:30
How can we encode and have 3 audio tracks?
Update: never mind. I see multiple audio tracks are implemented. In the container I thought you could only add and mux audio. But you can actually also encode there. Thank you.
stax76
30th August 2022, 14:08
Here is a machine translation of a beginner-friendly guide, originally authored by Doom9 member Brother John.
The translation process was easier than a thought it would, but I think the result is already good.
Some things are not yet up-to-date.
Tools used:
https://www.deepl.com/translator
https://github.com/marktext/marktext
Find it here:
website:
https://staxrip.github.io/x265-encoding-tutorial
website repo:
https://github.com/staxrip/x265-encoding-tutorial
I've updated the staxrip wiki, so people can find it. Native speakers helping to update it would be very helpful.
maupassant
21st September 2022, 01:58
Changed PC today, now with Windows 11 instead of Windows 10.
Now, mp4 files re-encoded with VideoRedo won't load in StaxRip.
Any help will be gladly appreciated. Thanks.
https://thumbs4.imagebam.com/e7/ab/a8/MEDNOEK_t.jpg (https://www.imagebam.com/view/MEDNOEK)
guest
21st September 2022, 07:49
Changed PC today, now with Windows 11 instead of Windows 10.
Now, mp4 files re-encoded with VideoRedo won't load in StaxRip.
Any help will be gladly appreciated. Thanks.
https://thumbs4.imagebam.com/e7/ab/a8/MEDNOEK_t.jpg (https://www.imagebam.com/view/MEDNOEK)
Hi, did you re-install this:-
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
After all, that error msg is for this :o
maupassant
21st September 2022, 15:43
Hi, did you re-install this:-
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
After all, that error msg is for this :o
Hi TDS,
Yes, I did. All of them.
WarnerBrah
4th November 2022, 01:36
so I have this line loaded into stax vapoursynth
"clip = havsfunc.SMDegrain(clip, tr=2, Str=1.5, pel=1, search=3, prefilter=6, thSAD=180, contrasharp=True, truemotion=False, RefineMotion=True, chroma=False, plane=0)"
what i want is to enter more parameters for the prefilter=6 which is BM3DCUDA.
how do i do that?
guest
11th November 2022, 02:27
so I have this line loaded into stax vapoursynth
"clip = havsfunc.SMDegrain(clip, tr=2, Str=1.5, pel=1, search=3, prefilter=6, thSAD=180, contrasharp=True, truemotion=False, RefineMotion=True, chroma=False, plane=0)"
what i want is to enter more parameters for the prefilter=6 which is BM3DCUDA.
how do i do that?
I would think it would be as simple as adding what you want to that "call".
eg:-
(clip,tr=8,thSAD=800,thSADC=400,thSCD1=400,thSCD2=130,contrasharp=true,prefilter=6,str=1.2,refinemotion=true,blksize=8)
WarnerBrah
11th November 2022, 21:12
well the call puts the parameters for SMDegrain and not for the prefilter.
the syntax for BM3DCUDA is like this:
BM3D_CUDA (clip, clip "ref", float[] "sigma", int[] "block_step", int[] "bm_range", int "radius", int[] "ps_num", int[] "ps_range", bool "chroma", int "device_id", bool "fast", int "extractor_exp")
but I don't understand how to integrate this parameters into the SMDegrain line.
Examples
DGSource("sample.dgi")
ConvertBits(bits=32)
BM3D_CUDA(sigma=0.5, radius=2)
BM3D_VAggregate(radius=2)
ConvertBits(bits=16)
the example is from http://avisynth.nl/index.php/BM3DCUDA
guest
16th November 2022, 02:40
well the call puts the parameters for SMDegrain and not for the prefilter.
the syntax for BM3DCUDA is like this:
BM3D_CUDA (clip, clip "ref", float[] "sigma", int[] "block_step", int[] "bm_range", int "radius", int[] "ps_num", int[] "ps_range", bool "chroma", int "device_id", bool "fast", int "extractor_exp")
but I don't understand how to integrate this parameters into the SMDegrain line.
Examples
DGSource("sample.dgi")
ConvertBits(bits=32)
BM3D_CUDA(sigma=0.5, radius=2)
BM3D_VAggregate(radius=2)
ConvertBits(bits=16)
the example is from http://avisynth.nl/index.php/BM3DCUDA
As I don't use Staxrip, I can't relate that well, and there isn't as much help here, these days.
However, maybe you could try something like this :-
pre=BM3D_CUDA(sigma=5,radius=1)
SMDegrain(tr=4,thSAD=400,thSADC=200,thSCD1=400,thSCD2=130,contrasharp=true,prefilter=pre,str=1.2,refinemotion=true)
Magik Mark
22nd November 2022, 22:31
Stax
Is StaxRIP still being worked on? There are new features in Rigaya NVenc that may need to be incorporated as well as updates on many plugins
guest
26th November 2022, 00:45
Stax
Is StaxRIP still being worked on? There are new features in Rigaya NVenc that may need to be incorporated as well as updates on many plugins
It almost seems like ongoing development of Staxrip has stalled, there hasn't been a new build for quite some time.
Same goes for Handbrake, last build was way back in Jan '22.
And not that too many seem to use RipBot264, it's also pretty much stalled, too. :( :confused:
Edit:- got a substantial RipBot264 update today :)
DMD
26th November 2022, 09:45
Good morning
Regarding AV1 encoding will it be implemented on StaxRip?
Thank you
guest
29th November 2022, 11:15
Good morning
Regarding AV1 encoding will it be implemented on StaxRip?
Thank you
Have you heard of this ??
https://github.com/cdgriffith/FastFlix/releases/tag/5.0.0
Emulgator
29th November 2022, 23:43
AV1 is already in Staxrip (2.13.0): AOMEnc, Rav1e, SVT-AV1
thomy21
11th December 2022, 09:18
Is Staxrip still being further developed?
Emulgator
11th December 2022, 16:29
https://github.com/staxrip/staxrip/graphs/contributors
If all are really nice to stax76, Dendraspis, JKyle, and all the others I guess yes ;-)
guest
12th December 2022, 05:46
https://github.com/staxrip/staxrip/graphs/contributors
If all are really nice to stax76, Dendraspis, JKyle, and all the others I guess yes ;-)
Well, JKyle, (who was VERY involved with Staxrip, for a time), his last post on Doom9 was way back in August '21, and the last update for Staxrip was back in May '22, and there has been MANY updates to the components it uses, in that time.
So, unless you are "brave" enough to update it yourself, who knows what's going on, moving forward.
Sad, really, and it's not the only encoding app that seems to be "slipping behind" :(
cartman0208
24th December 2022, 12:14
Hi all,
I have some MP4 files that I want to remux into MKV
Mediainfo shows a content description in the General>Comment section in the MP4.
After remuxing that information is gone ...
Is there a way to copy that information over into the MKV with StaxRip?
Ripmann
28th December 2022, 18:53
Is Staxrip still being further developed?
I'd really like to know that as well. I took a look at some of its components last week, and a lot of them were outdated. While you can manually update the latest binaries for some stuff like FFMpeg, SVT-AV1, or AOMEnc, there's some stuff that seems to stop working with newer versions. VapourSynth, for example, is already on v61, but updating it manually from v54 seems to break things.
If the development has stopped and the author is no longer interested in (or capable of) updating the tool with new features, perhaps you could at least consider doing occasional across-the-board-component-update maintenance releases from now on, so the more casual users can at least get the performance benefits of encoder updates, newer FFMpeg features, and so on?
Nikos
29th December 2022, 19:38
I want to encode a large .avi file (200GB, FICV) to x264.
The auto-selection for the source is FFVideoSource instead of AVISource.
The ffindex build time is too long.
In the case of .avi files is there any advantage to using FFVideoSource?
Khun_Doug
31st December 2022, 17:17
In my experience with reading AVI sources, the AVISource driver was not as accurate as the FFVideoSource. Just allow the indexer to complete, set your encode and try a sample of 5 to 10 minutes. The sample wallow you to determine if the encode is done properly.
Nikos
31st December 2022, 22:04
Thanks for your answer.
From my tests, I didn't see any difference.
I use only resize and no complex filters and do 1 pass (crf) encoding.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.