Log in

View Full Version : StaxRip


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 [34] 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101

TalasNetrag
2nd November 2016, 13:07
@chummy
@RazorBurn, sneaker_ger, TalasNetrag

I can probably add timecode support, a sample source file would be helpful.

Here is a sample.
http://www.mediafire.com/file/exs05w3oej99d24/VFR+timecodes+sample.mkv

VelleX
5th November 2016, 17:09
@Stax76

i often have problems extracting (copying) audio from recorded TS Files. I think its because of FFMPEG Stream Order (or the original TS File Stream Order, which is different to Mediainfo), so wrong stream is choosed to demux. Sometimes it may be an audio Stream too, but the wrong of course, but sometimes its a subtitle stream so i got an error and Staxrip just aborts.

Output file #0 does not contain any stream

Gibts dafür schon eine Lösung bzw alternative?
Any solution for this or maybe a workaround?

DaMacFunkin
5th November 2016, 23:52
Hello, i have a GTX 1060, is it possible to re encode HEVC to HEVC with hardware acceleration with this program?
Thank You.

DaMacFunkin
6th November 2016, 18:28
Hi have got this working, does anybody have anything i can read about the bit rate settings or CQP sttings when using X265 Nvenc.
Thank You.

need4speed
9th November 2016, 04:23
Hi, been using Staxrip for ages and works like a charm, really great results with newer hevc versions.
Switching to Linux and wondering if there will be any chance to have a Linux version.. kinda doubt that but asking never hurts.
Thanks again for the big effort!

Inviato dal mio GT-N7100 utilizzando Tapatalk

DaMacFunkin
9th November 2016, 07:56
Good luck with your question, it is a bit like a Ghost Town in here.

Yanak
11th November 2016, 00:10
Edit : figured it after finding a newer post this morning about this :
[Source]
Debugmode Frameserver Import =
MP_Pipeline("""
### platform: win32
AVISource("%source_file%", audio=false).AssumeFPS(%media_info_video:FrameRate%)
### ###
""")
It needs at least 4 blank spaces at the start of each new line, with only 3 blank spaces the lines will never show up,


Following stuff is solved now ^^
Hello Stax, i found this (http://forum.doom9.org/archive/index.php/t-149832.html) searching a bit the web :

The filter code may contain macros. Clicking the Macro button shows a list of possible macros. A filter profile is restricted to a single line, there are two ways to overcome this restriction, the first is to separate different functions with blanks which is legal AviSynth syntax:
Yadif = LoadCplugin("%application:Yadif%") Yadif()
Another way is to use the newline macro:

Yadif = LoadCplugin("%application:Yadif%")%newline%Yadif()

It's quite an old post and i did not found this %newline% in the help file of macros but I tried few times and newline macro doesn't seems to work it only adds the %newline% as it is into the avs file

tried to add this into a profile :
test = test %newline% test2 %newline% test3
and this
test = test%newline%test2%newline%test3

ends up in the avs as :
test %newline% test2 %newline% test3
and
test%newline%test2%newline%test3

Is this still working ? If not, what can i use to make a profile using multiples lines , i can not use space between the different action needed for this one please.
( can also not put a dot like this .crop(10,10).ChangeFPS(60).Subtitle() for example )

Thanks in advance.

ShogoXT
11th November 2016, 09:21
Great software! I have been wanting to try to work with vapoursynth because Avisynth MT was a real pain.

Been trying to get some quality upscaling working my older PC. I got most of the filters working that I wanted, but I tried to add in nnedi3_rpow2, but it gives me "fapprox" arguement errors. I did a search and fapprox was replaced in nnedi3 since v8.

I tried to swap out the older version of nnedi3 dll, but it gives me a unsupported version error in staxrip. I guess il have to wait til one of those gets updated?

I noticed you have waifu2x in there, maybe il try that.... Hope its not too slow.

Thanks for all the hard work!

EDIT: And I still cant grasp how to load plugins in vapoursynth lol....
Waifu2x =
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\Waifu2x-w2xc.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\w2xc.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\libiomp5md.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\svml_dispmnd.dll")
clip = w2xc.Waifu2x(clip)

I tried a few different ways based on what was on the documentation, but I probably mislabeled it somehow....

luigizaninoni
11th November 2016, 13:05
Great software! I have been wanting to try to work with vapoursynth because Avisynth MT was a real pain.

Been trying to get some quality upscaling working my older PC. I got most of the filters working that I wanted, but I tried to add in nnedi3_rpow2, but it gives me "fapprox" arguement errors. I did a search and fapprox was replaced in nnedi3 since v8.

I tried to swap out the older version of nnedi3 dll, but it gives me a unsupported version error in staxrip. I guess il have to wait til one of those gets updated?

I noticed you have waifu2x in there, maybe il try that.... Hope its not too slow.

Thanks for all the hard work!

EDIT: And I still cant grasp how to load plugins in vapoursynth lol....
Waifu2x =
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\Waifu2x-w2xc.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\w2xc.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\libiomp5md.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\svml_dispmnd.dll")
clip = w2xc.Waifu2x(clip)

I tried a few different ways based on what was on the documentation, but I probably mislabeled it somehow....

edit your edi_rpow2.py and remove all references to fapprox. Save. Enjoy

re waifu2x what is error message ?

anyway the correct syntax for loading plugins is core.std.LoadPlugin(r"whateveryouneed"), you should not prefix "w2xc="

luigizaninoni
11th November 2016, 13:38
Also, don't be too ready to give up when you receive "unsupported version" message. Just go to apps-manage-yourpluginorapp press F12 and manually change version number.

This happens very often, for example whenever there is a new version of x265 and you wish to use the updated version

Yanak
11th November 2016, 14:34
Hello Stax and sorry to bother you again :p

In the test build on the macros list i noticed the addition of those ones :
$browse_file$
$enter_text$
$enter_text:<prompt>$
$select:<param1;param2;...>$

I tried to create a filter with a selection box to add a rotation avisynth filter with this added in the profiles :
Rotate = $select:TurnLeft;TurnRight;Turn180$

Problem is that after creating the filter if i right click on the filters list i have the prompt box for the selection of the options i created but there is no way to select it, the box appears non stop and if i click cancel i have to cancel it 3 times each tiem before having the filters list back to normal.

This seems to happens with all macros i listed.

Step to reproduce :
- Create a custom filter profile with this content :
Rotate = $select:TurnLeft;TurnRight;Turn180$

- Validate the filter profile creation. Once back to main window of Staxrip program make a right click on the list of filters, immediately the selection box appears :
https://s14.postimg.org/ub2qv83pt/56099920161111142605.png

- Select one of the 3 options in the drop down list and the box will continue to come back.

- To remove the box you need to press cancel 3 times, cancelin once or twice only will make the box come back ( same stuff for all those new macros, a simple $enter_text$ custom filter have the same results )

-This will continue to happen each time you will make a right click on the filters list area, even if the custom created filter is not on the list of the filters.

-Selected input option seems to never appear in the code preview too

Thank you.

ShamisOMally
14th November 2016, 02:43
Some reason with the current test build if you encode a x264 wrapped with a .avi file from Premiere it comes out extremely dark

Leo 69
15th November 2016, 19:56
Stax, can you add STPresso and maybe some other denoisers, deband filters and "tweak" to default list of filters of Vapoursynth and/or Avisynth, please?

ShogoXT
19th November 2016, 06:12
Thanks for the help Luigi.

I have been adding the plugins in no problem, just gotta throw them into the vapoursynth autoload folders.

My current problem is im working on a earlier season DVD for my anime show One Piece. It has insane amounts of rainbow and dot crawl.
I have gotten most of the rainbows removed with TComb, Bifrost, and using Temporal Denoisers like Fluxsmooth, but the Dot crawl is another matter.
TComb isnt very effective and after looking into it, all the ones available are TEMPORAL only for Vapoursynth. Is there no Dot Crawl solutions for motion? Checkmate doesnt seem to be ported over.

Thanks again!

luigizaninoni
19th November 2016, 08:13
Thanks for the help Luigi.

I have been adding the plugins in no problem, just gotta throw them into the vapoursynth autoload folders.

My current problem is im working on a earlier season DVD for my anime show One Piece. It has insane amounts of rainbow and dot crawl.
I have gotten most of the rainbows removed with TComb, Bifrost, and using Temporal Denoisers like Fluxsmooth, but the Dot crawl is another matter.
TComb isnt very effective and after looking into it, all the ones available are TEMPORAL only for Vapoursynth. Is there no Dot Crawl solutions for motion? Checkmate doesnt seem to be ported over.

Thanks again!

One of the functions in havsfunc.py is LUTDeCrawl, try it

burfadel
20th November 2016, 05:40
@stax
If you have a large number of files in the job list the scroll bar is missing. In previous builds you could always scoll down the list, now you can only see what is on the screen. If you move down the list with the cursor it just disappears off the bottom of the window.

ShogoXT
22nd November 2016, 10:26
One of the functions in havsfunc.py is LUTDeCrawl, try it

Played with that one and it also seems to be temporal only. I dont know of any that have the spacial component like Checkmate does. I know one episode in question has a ton of side and vertical scrolling. The bad IVTC is showing too. VDecimate has been showing its limits. I have been forced to use VFM on Mode=0 because any more gets me tons of duplicate frames.

I feel like im so close, just issues with the aliasing on the vertical movement and the left over dotcrawl and rainbowing is all thats holding me back. Im sure I could try SSIQ for rainbows though.

clip = core.std.CropRel(clip, 8, 8, 0, 0)
clip = core.tcomb.TComb(clip,mode = 2,fthreshl = 20,fthreshc = 20,othreshl = 20,othreshc = 20)
clip = core.bifrost.Bifrost(clip)
clip = core.vivtc.VFM(clip, 1, mode = 0)
clip = core.vivtc.VDecimate(clip)
clip = core.flux.SmoothST(clip, temporal_threshold = 7, spatial_threshold = 7, planes = [0, 1, 2])
clip = core.rgvs.RemoveGrain(clip, 1)
clip = edi.nnedi3_rpow2(clip,rfactor = 2)
clip = core.resize.Spline36(clip, 1440, 1080)
clip = core.warp.AWarpSharp2(clip)
clip = havsfunc.LSFmod(clip, strength = 100)
clip = haf.DeHalo_alpha(clip,darkstr= 0.6)
My junk code so far. Luckily its only for the first season or so that has rainbow and dot crawl.
Thank you though.

NikosD
24th November 2016, 15:08
The scaling issues are hopefully fixed now.

https://github.com/stax76/staxrip/blob/master/md/test-build.md
Hello Frank.

I hope you are doing fine.

I have a bunch of MKV files that I want to transcoding in file batch mode, but at the same time I want to remove the embedded subtitles which are inside.

The default option is to include subtitles in "file batch" mode.

Is there any way to remove them ? (In File batch mode of course)

Thank you !

IbrahimKh
28th November 2016, 05:31
does anyone know how to encode 10-bit x264 source video?
https://s21.postimg.org/hnnv3rbyv/screenshot_217.png

Leo 69
30th November 2016, 19:08
does anyone know how to encode 10-bit x264 source video?

As a source filter, choose Vapoursynth ffms2.

IbrahimKh
5th December 2016, 05:50
As a source filter, choose Vapoursynth ffms2.

thanks
it works

SaboraPie
9th December 2016, 00:03
This error when use the video comparision with a mkv (x265) in version 1.3.9.6:

Exception

Se produjo una excepción en el destino de la invocación.

System.Reflection.TargetInvocationException: Se produjo una excepción en el destino de la invocación. ---> System.ArgumentException: El identificador nativo es 0.
Nombre del parámetro: handle
en System.Drawing.Image.SetNativeImage(IntPtr handle)
en System.Drawing.Bitmap.FromGDIplus(IntPtr handle)
--- Fin del seguimiento de la pila de la excepción interna ---
en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
en System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
en StaxRip.AVIFile.GetBMPFromDib(IntPtr pDIB) en D:\Projekte\VS\VB\StaxRip\General\AVIFile.vb:línea 147
en StaxRip.AVIFile.GetBitmap() en D:\Projekte\VS\VB\StaxRip\General\AVIFile.vb:línea 139
en StaxRip.VideoComparisonForm.VideoTab.GetBitmap() en D:\Projekte\VS\VB\StaxRip\Forms\VideoComparisonForm.vb:línea 348
en StaxRip.VideoComparisonForm.VideoTab.Draw() en D:\Projekte\VS\VB\StaxRip\Forms\VideoComparisonForm.vb:línea 343
en StaxRip.VideoComparisonForm.VideoTab.OnPaint(PaintEventArgs e) en D:\Projekte\VS\VB\StaxRip\Forms\VideoComparisonForm.vb:línea 392
en System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
en System.Windows.Forms.Control.WmPaint(Message& m)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Havokdan
9th December 2016, 11:33
Change source filter?

Enviado de meu XT1069 usando Tapatalk

stax76
12th December 2016, 23:29
Hi everybody,

after roughly 15 years building and supporting staxrip I will have to more or less stop the project except for maybe 1-2 small updates per year to keep it alive.

The thing is I don't use staxrip any longer, nowadays I only stream from Amazon or Netflix.

Maybe somebody wants to take over development or submit some pull requests, that would be great.

Thanks to everybody that supported staxrip with donations, contributions, bug reports or anything else.

I uploaded 1.4.0.0-stable with 2-3 updated apps, I've changed the license to MIT and removed my email address, I try to look at the issue tracker from time to time.

see you!

NikosD
13th December 2016, 07:07
Have fun!

luigizaninoni
13th December 2016, 09:13
Thanks for your work, I use your software a lot, a pity you can't carry on. Best wishes !

NikosD
13th December 2016, 09:21
The links from this page don't work:
https://github.com/stax76/staxrip/blob/master/md/changelog.md

The first one is for 1.3.9.6 test build and the other one from live.com asks for signing-in.

This link is the latest stable 1.4.0.0
https://github.com/stax76/staxrip/releases/download/v1.4.0.0-stable/StaxRip-x64-1.4.0.0-stable.7z

Keep it alive Frank, it's a very useful application.

Leo 69
13th December 2016, 11:31
Sad. The best application in business has come to its end. Anyways..good luck Frank and thanks for your hard and high quality work.

mcjordan
13th December 2016, 11:31
Oh, Frank, do not leave us!
StaxRip is my favorite tool from years ago.
Will be sad after so long to be abandoned. ;-(

jlpsvk
13th December 2016, 21:46
where to find nvencc64 3.02 changelog?

ismail0100
14th December 2016, 02:59
I am very sad now :(

JohnLai
15th December 2016, 09:45
Eh? stax76 is leaving the project? Oh my..........

SaboraPie
19th December 2016, 20:02
I hope that at least major maintenance and updates are done. :(

_matt_
20th December 2016, 04:19
Although I only encode video occasionally, staxrip has always been my favorite tool for doing so. Thanks so much, stax76, for sharing your great work for as long as you have.

Would you care to post/PM your current preferred link for a donation? I'd like to make a small contribution as thanks for all the years I've benefited from your hard work, regardless of any development staxrip may or may not see in the future.

Thanks again, and happy holidays!

need4speed
20th December 2016, 16:12
Would like to add my personal thank you for the hard job, now clearly we need a substitute



Inviato dal mio GT-N7100 utilizzando Tapatalk

mcjordan
21st December 2016, 10:52
A little strange question.
I'd be grateful if you help me.
Testing GTX960 and GTX1080 at the same settings in NVencC 3.0.2 / StaxRip 1.4.0.1
I got close to the ideal result, but... In the case of GTX1080 the resulting image
is little more blurry in comparison with result of GTX960.

I guess this is due to activated by default SAO on internal HEVC encoder of GTX1080.
How do I turn off f...ng SAO? (smooth antialiasing Oh ;-) Any ideas?

Pulp Catalyst
28th December 2016, 18:34
the crop feature seems broken in vapoursynth mode, tried with three diffren sources.

anyone else having issue?

i'm using the 1.4.0.0

mcjordan "1.4.0.1"? where is this version?

sorry to see you go STAX.... you've done great, and lasted so long and given so much, but i hope you at least can maybe switch over to a small window of bug fixes only for a small while.

mcjordan
29th December 2016, 13:05
To Pulp Catalyst

Test build:
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z

P.S. I have some interesting experiences with NVidia HEVC under AsVideo and hardware edge enhancement filter.
With minimal input values (desired) result is pretty good compared to NVEncC VBR2 encoding (following good advices of JohnLai)
plus banal avs Sharpen e.g. (0.2,0.2)...

Magik Mark
31st December 2016, 16:01
Stax,

Is it possible to include the new Motion Search Method - "SEA"

Leo 69
31st December 2016, 16:14
Stax,

Is it possible to include the new Motion Search Method - "SEA"

Mark, you can manually type in --me sea in Custom Switches. It will override the setting in the gui.

burfadel
1st January 2017, 08:55
That's true, just make sure the default setting is set in the gui so the ME override is only stated once. There has just been added SSIM based RDO and AQ motion added to the latest builds.

Magik Mark
2nd January 2017, 04:45
New CLI that are missed:

--me-sea
--aq-motion
--ssim-rd
--multi-pass-opt-analysis
--multi-pass-opt-distortion

DaMacFunkin
2nd January 2017, 14:55
Hello, is there an option to enable look ahead with Nvenc x265 using Stax 1.4.0.0?
Thank you.

fogbav
2nd January 2017, 17:42
Just add "--lookahead 32" in encoding options / other / custom - there is a field where you can add custom CLI parameters ....

DaMacFunkin
4th January 2017, 13:01
Thanks for that reply, much appreciated, hope i can have some new help, i have tried to add the switches
--me sea
--aq motion

but i get the error:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Encoding using NVEncC 3.02 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Encoding using NVEncC 3.02 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.

Error: Unknown option: --me
Did you mean option(s) below?
--y4m
--ref
Are these new switches not supported by NVEnnC?
Thank You.

JohnLai
8th January 2017, 04:43
Thanks for that reply, much appreciated, hope i can have some new help, i have tried to add the switches
--me sea
--aq motion

but i get the error:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Encoding using NVEncC 3.02 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Encoding using NVEncC 3.02 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.

Error: Unknown option: --me
Did you mean option(s) below?
--y4m
--ref
Are these new switches not supported by NVEnnC?
Thank You.

Those switches are for x265, not NVENCC

mcjordan
9th January 2017, 20:17
NVEncC 3.0.3
[NVEnc.auo / NVEncC.exe common]
Updated NVENC SDK to 7.1.
Organize rate control mode according to NVENC SDK 7.1
--cqp
- vbr
- vbrhq (old - vbr 2)
- cbr
- cbrhq (new!)

- Fixed the problem that error termination occurs even if --level 3 etc. are specified at low resolution.
Address this issue.

[NVEncC]
HEVC encoding with mkv as input eliminates freezing immediately after starting encoding.

Yups
9th January 2017, 21:45
Any improvements or is it just a renaming?

JohnLai
10th January 2017, 03:47
Based on SDK 7.0 and 7.1 comparison.....it just a renaming on rate control.

mcjordan
10th January 2017, 09:48
- cbrhq ? Any additional information?