View Full Version : StaxRip
JohnLai
1st July 2016, 15:54
Hello! Does anyone know whether nvidia Pascal supports NVENC with B Frames? Wikipedia does not help on that matter... Thanks!
Nobody know until nvidia release the next nvenc SDK.
But I can tell you.....the following features might/will be added for Pascal:
1) Frame look-ahead
2) Adaptive B-Frames
3) Temporal Adaptive Quantization
4) Adaptive GOP
Leo 69
1st July 2016, 22:49
Hi Stax,
It looks like either we have an elephant in the room (serious bug) or I'm doing something completely wrong - which I doubt.. Scenario:
1) As an input select ANY video file and choose Vapoursynth ffms2 or LWLibawSource.
2) In the codec selection choose "ffmpeg - VP9", for example. We are talking ONLY about ffmpeg section with its codecs (all of them do not work in the same manner).
3) Leave the codec settings at default and start the encoding.
4) There's an immediate error popping up:
------------------------------------------------------------------------------------------
Error Encoding VP9 using ffmpeg 2016-04-25 x64
Encoding VP9 using ffmpeg 2016-04-25 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
E:\Upload2\test.vpy: Invalid data found when processing input
StaxRip.ErrorAbortException: Encoding VP9 using ffmpeg 2016-04-25 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
E:\Upload2\test.vpy: Invalid data found when processing input
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 262
at StaxRip.ffmpegEncoder.Encode(String args) in D:\Projekte\VS\VB\StaxRip\Encoding\ffmpegEncoder.vb:line 107
at StaxRip.ffmpegEncoder.Encode() in D:\Projekte\VS\VB\StaxRip\Encoding\ffmpegEncoder.vb:line 94
at StaxRip.MainForm.Encode() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 2220
at StaxRip.MainForm.RunJobRecursive() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 3449
-------------------------------------------------------------------------------------------------------------------
This bug or I don't know what this is is very easy to reproduce!
LordVako
1st July 2016, 23:26
please see my signature regarding log file
I even emailed you and no response.
http://pastebin.com/bGKH1yLZ
I even emailed you and no response.
http://pastebin.com/bGKH1yLZ
It looks like x265 hangs at beginning of 2nd pass. It's hard to tell why.
It could be that the stat files are corrupted. You can view your "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.stats" file and check if it looks OK (especially at the end).
It could be related to stat file size -- you can try to cut source to about 500 frames and see if it hangs after new 1st pass of short encoding.
It could be related to mingw/msvcrt error(s) -- you can try to encode with x265 compiled by VS 2015 (for example).
stax76
2nd July 2016, 11:28
I even emailed you and no response.
http://pastebin.com/bGKH1yLZ
Thanks for the log file and sorry about not replying to your mail, I saw the log, googled a bit for 'av_interleaved_write_frame(): Broken pipe'
and after nothing interesting was found I gave up. Whenever something happens I cannot solve or expect not being able to solve easily, I usually wait if more people report the same issue.
Leo 69
2nd July 2016, 14:05
Stax, can you address my issue, please?
Magik Mark
3rd July 2016, 05:43
Stax, how do I apply avisynth filter to a video? But there will be no transcoding. Same video format and same audio format.
Sent from my iPhone using Tapatalk
NikosD
3rd July 2016, 08:01
Hello Frank.
I downloaded latest StaxRip test v1.3.7.7 and just a heads up for new versions of Rigaya's CLI HW encoders missing from your release.
He has updated all of them for Intel, Nvidia, AMD but I think for AMD he has added more features than the others, in order to be on par with them.
stax76
3rd July 2016, 12:42
@Leo 69
It's because ffmpeg don't support vpy, you can make a feature request on the github tracker to add support using vspipe
@Magik Mark
I don't understand the question.
@Nikos
I'll update them, thanks.
Magik Mark
6th July 2016, 14:06
Stax is there a way to port smdegrain found in vaporsynth to avisynth+? Thanks
Sent from my iPhone using Tapatalk
luigizaninoni
6th July 2016, 14:45
What's wrong with current Smdegrain for avisynth ?
Magik Mark
7th July 2016, 00:44
The only smdegrain I could find in staxrip is in vaporsynth. I'm using avisynth in conjunction with other filters. Or am I missing something
Sent from my iPhone using Tapatalk
luigizaninoni
7th July 2016, 07:43
SMdegrain is a script not a plugin. So it works both in 32 and 64 bits provided you have all the dependencies.
Download smdegrain.avsi from here http://avisynth.nl/index.php/SMDegrain and put it in your avisynth+ 64bit plugin folder
Make sure you have all the (64bit) required or optional dependencies
Update you Staxrip profiles with something like
SMDegrain = SMDegrain(tr=2,thSAD=250,contrasharp=true,refinemotion=true)
and you are good to go
Magik Mark
7th July 2016, 08:07
SMdegrain is a script not a plugin. So it works both in 32 and 64 bits provided you have all the dependencies.
Download smdegrain.avsi from here http://avisynth.nl/index.php/SMDegrain and put it in your avisynth+ 64bit plugin folder
Make sure you have all the (64bit) required or optional dependencies
Update you Staxrip profiles with something like
SMDegrain = SMDegrain(tr=2,thSAD=250,contrasharp=true,refinemotion=true)
and you are good to go
Thank you for clarifying. Where can I get all 64bit dependencies?
luigizaninoni
7th July 2016, 08:38
the dependencies are listed in the page previously linked
you can download the 64-bit plugins here:
http://avisynth.nl/index.php/AviSynth%2B#AviSynth.2B_x64_plugins
Magik Mark
7th July 2016, 09:29
the dependencies are listed in the page previously linked
you can download the 64-bit plugins here:
http://avisynth.nl/index.php/AviSynth%2B#AviSynth.2B_x64_plugins
Thanks a lot!
May I ask what your example do:
SMDegrain = SMDegrain(tr=2,thSAD=250,contrasharp=true,refinemotion=true)
Do you have settings something like light. moderate and heavy?
Magik Mark
7th July 2016, 09:47
I'm getting access violation. What can we do about it?
Groucho2004
7th July 2016, 09:57
I'm getting access violation. What can we do about it?
First you have to find out which module causes it. I recommend troubleshooting this with AVSMeter64. From the command line run "avsmeter64 -avsinfo -log". If there are errors, post the created log file (avsinfo.log). If there are no errors, run the script ("avsmeter64 script.avs -log). If there are errors, post the created log file.
Magik Mark
7th July 2016, 10:22
First you have to find out which module causes it. I recommend troubleshooting this with AVSMeter64. From the command line run "avsmeter64 -avsinfo -log". If there are errors, post the created log file (avsinfo.log). If there are no errors, run the script ("avsmeter64 script.avs -log). If there are errors, post the created log file.
Oh boy this getting complicated than I have anticipated. This is what I got:
http://i.imgur.com/lhOXGaa.png
Groucho2004
7th July 2016, 10:32
Oh boy this getting complicated than I have anticipated. This is what I got:
http://i.imgur.com/lhOXGaa.png
There are so many versions of smdegrain.avsi, you have to post these lines 199 and 568. I assume you didn't get any error with the "-avsinfo" switch? Also, you have to use the latest version of AVSMeter (2.2.9).
Magik Mark
7th July 2016, 22:20
Thanks you for all the help Groucho. I may have to give up on this. There are so many lines to look for
Groucho2004
7th July 2016, 22:21
I may have to give up on this. There are so many lines to look for
No, just two.
Magik Mark
8th July 2016, 01:57
I'm using notepad. I have to count 500 lines. Is there a faster way to do this?
Groucho2004
8th July 2016, 07:14
I'm using notepad. I have to count 500 lines. Is there a faster way to do this?
Yes, just post the file.
Magik Mark
8th July 2016, 08:09
No, just two.
Here you go:
http://pastebin.com/xyThjeYi
Groucho2004
8th July 2016, 08:41
Here you go:
http://pastebin.com/xyThjeYi
OK. Two more things:
- Post your script
- Run "avsmeter64 -avsinfo -log" and post the "avsinfo.log" file.
Magik Mark
8th July 2016, 09:51
OK. Two more things:
- Post your script
- Run "avsmeter64 -avsinfo -log" and post the "avsinfo.log" file.
Script:
SMDegrain(tr=2,thSAD=180,prefilter=2,contrasharp=30,refinemotion=true,lsb=true,chroma=false,plane=0)
avsmeter:
http://i.imgur.com/d72vGba.png
Groucho2004
8th July 2016, 09:59
Script:
SMDegrain(tr=2,thSAD=180,prefilter=2,contrasharp=30,refinemotion=true,lsb=true,chroma=false,plane=0)
That's one line from your script. :confused:
Magik Mark
8th July 2016, 10:22
Im sorry. I'm new to this. What am I supposed to do? That line came from smdegrain avisynth wiki. I'm using it as an example to see if it is working
Groucho2004
8th July 2016, 10:28
Oh boy this getting complicated than I have anticipated. This is what I got:
http://i.imgur.com/lhOXGaa.png
I tried to reproduce this and I got the same errors. It seems that RemoveGrainHD is the culprit. Try a different value for "Prefilter".
Magik Mark
8th July 2016, 11:26
I think this filter works with avisynth only. Not Avisynth+. RemovegrainHD is not being used by this filter. I think it uses Removegrain. The one included in rgtools
Groucho2004
8th July 2016, 12:03
I think this filter works with avisynth only. Not Avisynth+. RemovegrainHD is not being used by this filter. I think it uses Removegrain. The one included in rgtools
OK, you're the expert. ;)
JohnLai
8th July 2016, 14:51
PSA, for those who use NVencC or Nvidia H265, do not use the CU Min and Max switches. There is strange bug where 4x4 Intra PU sizes is not being used if those switches are specified with value.
EDIT: Confirmed with GTX 960 and 970 on two different pcs and different drivers......nvidia issue....-.-...hmmm.......<s>no idea how to report to nvidia</s>?
EDIT: Done reporting to nvidia.
Vulpix
9th July 2016, 13:00
@stax76 , are you planning to update the VCEencC ? There's v2 available @ rigaya's site
dandyclubs
10th July 2016, 05:17
The target drive has not enough free disk space.
StaxRip last test build use
i try BD extra to hdd
HDD space 45GB
how do space check disable?
stax76
14th July 2016, 18:02
@dandyclubs
@Vulpix
@Magik Mark
https://github.com/stax76/staxrip/blob/master/md/test-build.md
NikosD
14th July 2016, 19:30
Just before any release of StaxRip take a look at rigaya's blog.
He has already released QSVEncC v2.54 :)
brumsky
14th July 2016, 20:55
Hey Stax76,
Is there a way for staxrip to select the main feature only? Currently, I am getting commentary audio as well. I then manually remux the extra audio track out.
It would be awesome if staxrip could do that automagically.
Thanks!
Brumsky
stax76
14th July 2016, 21:24
@NikosD
I've updated it locally.
Is there a way for staxrip to select the main feature only? Currently, I am getting commentary audio as well. I then manually remux the extra audio track out.
You can remove the audio source before processing via the context menu of the audio text box, there is a menu item called 'Clear' which removes the source, or you can use the 'No Audio' audio profile.
brumsky
14th July 2016, 22:40
@NikosD
I've updated it locally.
You can remove the audio source before processing via the context menu of the audio text box, there is a menu item called 'Clear' which removes the source, or you can use the 'No Audio' audio profile.
Thanks for the quick reply!
I'm looking to do this from CLI. I have a PS script that monitors a folder and compresses the files automatically. Currently it uses HB but since staxrip > HB, I'd like to convert it over to use staxrip.
HB has a few options, one called main-feature and a audio mask. Basically, it'll determine the correct audio(s) and only copy based on the mask I supply. I can specify DTS,AC3 et cetera.
Is this something you could implement?
I'd be more than happy to share the PS script as it works great for processing in bulk! It does a few other things as well. ;)
All in all I really don't want to go back to HB, staxrip is by far nicer! Please save me from going back to HB!! :scared:
Magik Mark
14th July 2016, 22:44
You are the best stax!
Magik Mark
14th July 2016, 22:55
Stax the latest test build still has x265 v1.9 build 217 right? There's v2.0 I think
stax76
14th July 2016, 23:24
@brumsky
I don't see a use case for many people and it's not easy to code because the current detection is already very complicated, the scripting API for C# and PowerShell was made for such special things, I can help with it.
@Magik Mark
I wait for somebody posting a multi lib build.
Magik Mark
14th July 2016, 23:34
Tried the new SMDegrain using this parameters as depicted in wiki for HD sources:
SMDegrain(tr=2,thSAD=180,prefilter=2,contrasharp=30,refinemotion=true,lsb=true,chroma=false,plane=0)
Got this Error:
http://i.imgur.com/HruCDwS.png
stax76
14th July 2016, 23:48
Not all possible dependencies are included, I had googled 'AviSynth medianblur' but didn't find something helpful.
Magik Mark
15th July 2016, 00:35
In the smdegrain wiki all the required dependencies are indicated. Downloaded then at:
http://avisynth.nl/index.php/AviSynth%2B#AviSynth.2B_x64_plugins
I was able to successfully run it using avmeter. Im getting around 3 fps
Leo 69
16th July 2016, 08:57
@Mark
Did you manage to get this fixed with "medianblur"? I also get the same message when enabling the contrasharp function. I have no idea what to do.
Mr Alpha
16th July 2016, 12:47
I am in the process of transcoding my ripped DVD library from H.264 to H.265 using StaxRip and there is one thing I wonder if it would be possible to automate. The files have a variety of Color primaries, Transfer characteristics and Matrix coefficients set. Is it possible to have StaxRip automatically read this from the input stream and tell x265 to add it to the output stream?
NikosD
16th July 2016, 17:10
Hello Frank.
Latest QSVEncC v2.54 that you include in your latest 1.3.8.1 build has added an interesting option -avsw.
It can decode in SW video files using ffmpeg (so it's like every possible video file out there) instead of Avisynth or HW decoder.
Do you think you could add this option in the decoders section ?
robl45
16th July 2016, 17:14
Hi Guys, Incredible Newbie questions here so apologize in advance. I'd like to convert my bluray movies to 265. Is it best to do makemkv to make the mkv and then convert with staxrip? I'm trying that now as going straight into staxrip kept giving me errors. Then I have an I3 6100 processor and a GTX 950 card. Is it better to use Intel or Nvidia hardware encode? Last question and where I'm really stumped is I don't really understand the settings. Are there some basic settings to get a decent quality encode with a file size around 10GB or so? When I go to Intel or nvidia 265, I don't really understand what I'm looking at. Trying intel now and I changed it to best in the options. Should I be doing anything else?
Thanks
EDIT: another issue I am having is subtitles. I want hardcoded for non english parts so I checked hardcode the sub and got forced subs off of subscene, but it hardcoded the subs and put them below the actual movie while the soft subs are above. I want hard coded subs as many programs screw it up and I just want them to work for forced. I can't seem to find anyplace to adjust them higher, nor can I find a place to say just burn in the sub like dvdfab does.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.