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

Magik Mark
29th July 2018, 23:23
It all started using x265 2.8+49 above

I'm using "awarpsharp2" only (AVS)

I was thinking maybe changes in x265 parameters

Would you provide some additional information. For instance, please specify the filters and their order. Are you able to successfully preview the video? Are you using VapourSynth or AVS?

FYI, I recently had trouble with almost every encode that used SMDegrain. I wasn't able to determine the exact source. There were newer versions of AviAynth+ and masktool2. Updating both of those resolved the error and I can encode again. If you are using AVS please see if you have latest AviAynth+. Also check the revision(s) of your filters.

Khun_Doug
30th July 2018, 16:26
It is possible something with x265 has changed. You can try going to a minimal set of x265 settings, something akin to the default profile for x265.

Does this happen very shortly after starting the encode? Or is this something that happens after the encode is well underway? Perhaps it happens at random points?

Finally, I know x265 is under relative constant upgrading. Within the past 30 days there have been new releases. In the event they accidentally made a bug in the version you are testing, see if the current version resolves the issue.

Magik Mark
30th July 2018, 23:44
Thanks for the reply. I'll try to ask in x265 team aswell. I will run more tests and try to figure out which among the switches have been changed

NikosD
2nd August 2018, 16:31
A new QSVEnc v3.09 is available but it's the last time I post on this thread until a real developer like Raven take in charge.

I'm under the impression that something happened between Stax and Raven and that conflict led to a temporary - I hope - pause of development for this application.

I don't know if it's too early to declare this project dead, but definitely it doesn't look that much alive.

Khun_Doug
5th August 2018, 02:54
If Raven is monitoring this list, it would be helpful if we knew if he plans to go forward with the work he started. I know it was some time before someone else took over VirtualDub. Now VirtualDub has forked to VirtualDub 2. Hopefully if Raven doesn't want to continue the project, someone else will eventually take this forward. It simply is too useful to be left to fade away.

Revan654
6th August 2018, 18:25
A new QSVEnc v3.09 is available but it's the last time I post on this thread until a real developer like Raven take in charge.

I'm under the impression that something happened between Stax and Raven and that conflict led to a temporary - I hope - pause of development for this application.

I don't know if it's too early to declare this project dead, but definitely it doesn't look that much alive.

nothing happenend, I think I've only talked to stax once on another forum.

I needed certain functions in staxrip didn't contain it's why I updated some features and added more filters and cut others that were never used.

Revan654
6th August 2018, 18:27
If Raven is monitoring this list, it would be helpful if we knew if he plans to go forward with the work he started. I know it was some time before someone else took over VirtualDub. Now VirtualDub has forked to VirtualDub 2. Hopefully if Raven doesn't want to continue the project, someone else will eventually take this forward. It simply is too useful to be left to fade away.

I'll try my best to update the software but I'm not sure what everyone wants right now. Is there any filters you want added?(Must be 64Bit and supported by Avs+).

The source code on my desktop got corrupted some how, so I had to restart from last code posted on github. The PC I use to program is very old. In the progress of building a new PC.

I've been programming in python which has been taking up most of my time. Which is a massive program and everything had to be created from the ground up.

Here is my releases for StaxRip: https://github.com/Revan654/staxrip/releases if anyone is interested.

I have allot of things I been working on, and I had to do a bunch of search for python to see how it handles certain data types so I could use them properly.

I will most likely be updating VS next, since I updated avs allot in staxrip and havn't touched vs yet.

I also have one idea what I want to do, I'm not sure if it's possible at this stage or not, I have to do some research on the matter to see.

mcjordan
6th August 2018, 18:38
NVEncC v4.1.1
- Fix avsync issue in some cases:
Countermeasures against sound slippage in some movie files.
- Relaxing restriction on GOP length of Bluray option.

Revan654
6th August 2018, 18:43
The resulted dgi file contains all the HDR info required by the encoder. If StaxRip read out the infos from this file, that would be great! Right now, one should manually read out and insert them.

Make sure all the metadata is intact, There are different forms of HDR metadata. Specially when you reach the colorspace area.

Staxrip reads the data from mediainfo and then injects it into the program.

I've made some changes on that, I just have to find a HDR file to test and see if it works now.

*Note* Only "True" HDR files will be supported that uses BT.2020 colorspace. If it uses anything else like P3 or such it will not work. P3 is not part of the HDR colorspace that is supported by the official docs.

It should look like this:

Colorprim: 2020
Matrix: 2020 NC
Transfer: ST. 2084
Range: limited

If the above is matched it will autodetect it as HDR source and select the proper VUI settings.

sneaker_ger
6th August 2018, 19:57
*Note* Only "True" HDR files will be supported that uses BT.2020 colorspace. If it uses anything else like P3 or such it will not work. P3 is not part of the HDR colorspace that is supported by the official docs.
You aren't referring to something as the following, are you?
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0500 cd/m2, max: 1000 cd/m2
(Shown like this in MediaInfo.)

Revan654
6th August 2018, 20:06
Hey

First, I just wanted to say that I've been using Staxrip since the beginning so I'm glad someone took it on after Stax76 left.

Awesomely, the new version of QSVEnc seems to add the missing pieces for full HDR support.

Command line is annoying though, so can you add the missing bits to the GUI? Specifically, Max CLL and FALL, min/max luma, updated color matrixes, display primaries? Might be something I've forgotten.

As I'm sure you're aware the updated switches are detailed in an empty run of QSVEnc.exe but see below for an excerpt


--colormatrix <string> undef, auto, bt709, smpte170m, bt470bg
smpte240m, YCgCo, fcc, GBR, bt2020nc
bt2020c
default: undef
--colorprim <string> undef, auto, bt709, smpte170m, bt470m
bt470bg, smpte240m, film, bt2020
default: undef
--transfer <string> undef, auto, bt709, smpte170m, bt470m
bt470bg, smpte240m, linear, log100, log316
iec61966-2-4, bt1361e, iec61966-2-1
bt2020-10, bt2020-12, smpte2084, smpte428
arib-srd-b67
default: undef
--aud insert aud nal unit to ouput stream.
--pic-struct insert pic-timing SEI with pic_struct.
--chromaloc <int> set chroma location flag [ 0 ... 5 ]
default: 0 = unspecified
--fullrange set stream as fullrange yuv
--max-cll <int>,<int> set MaxCLL and MaxFall in nits. e.g. "1000,300"
--master-display <string> set Mastering display data.
e.g. "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)"

Thanks again for taking this one on.

I had them in, but had to delete them since early versions were were missing features & switches that the doc clearly stated it had. I talked about it a few pages back I believe.

Revan654
6th August 2018, 20:18
You aren't referring to something as the following, are you?
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0500 cd/m2, max: 1000 cd/m2
(Shown like this in MediaInfo.)


When it comes to P3 and mastering content:


In cinema, it's common to master HDR content in the DCI P3 color space, with either the DCI (~D50) or D65 white points. This is not a supported format for delivery to consumer electronics.

When mastering, choose Rec. 2020 color primaries (the Rec. 2100 standard implies Rec. 2020 color in many applications).
A common mistake is to master in P3, then tag the result using Rec. 2020 primaries. This will result in an oversaturated look with shifted hues.


I would also use MKVToolNix(mkvinfo) to double check the metadata results.

Proper HDR Metadata in Mediainfo:

https://i.imgur.com/JennVjml.jpg

Proper Metadata inside mkvinfo:

https://i.imgur.com/81l2jSAl.jpg

sneaker_ger
6th August 2018, 20:51
The coordinates shown in your mkvinfo screenshot are P3:
https://en.wikipedia.org/wiki/DCI-P3#System_colorimetry

My point being is to not be confused by MediaInfo showing "Mastering display color primaries : Display P3". It is "proper" HDR. (Not saying you didn't understand but maybe for others.)

NikosD
6th August 2018, 20:58
I'll try my best to update the software but I'm not sure what everyone wants right now. Is there any filters you want added?(Must be 64Bit and supported by Avs+).

Here is my releases for StaxRip: https://github.com/Revan654/staxrip/releases if anyone is interested.


Happy to see you around here again.

I think your replies are the most detailed in this forum.

For me, if you just keep up with the latest versions of the tools inside StaxRip (they are a lot) is enough, if you don't have time for more.

I mean real update with all the new functionality of the latest versions added to StaxRip's GUI + bugs fixes.

Your last version was around 2 months ago.

When do you believe you will be ready for the next one ?

Khun_Doug
7th August 2018, 03:13
Good to see you are still here Raven. Interesting you mention about a project in Python. I too am working on a massive project in Python.

As for filters, I rely on mClean and SMDegrain. Both of those also need the PreFetch. Other filters are the IVTC, Yadifmod2 and TDEint. Hard to believe that as old as TDEint is, no other filter can do all the things that one does with interlaced material.

If I were to think of something that could be requested it would inclusion of Levels and also GrayScale. I manually add these in, but it would be handy if they were right on the menus.

Revan654
7th August 2018, 06:14
Good to see you are still here Raven. Interesting you mention about a project in Python. I too am working on a massive project in Python.

As for filters, I rely on mClean and SMDegrain. Both of those also need the PreFetch. Other filters are the IVTC, Yadifmod2 and TDEint. Hard to believe that as old as TDEint is, no other filter can do all the things that one does with interlaced material.

If I were to think of something that could be requested it would inclusion of Levels and also GrayScale. I manually add these in, but it would be handy if they were right on the menus.

Levels is already there in mainly for changing levels from PC <-> TV (It's under ColorYUV).

I don't want to overcrowd the context menu. There also plenty you can add manually if need be.

I will likely remove one or two line filters, since that menu is getting a bit crowded.

Revan654
7th August 2018, 18:05
The coordinates shown in your mkvinfo screenshot are P3:
https://en.wikipedia.org/wiki/DCI-P3#System_colorimetry

My point being is to not be confused by MediaInfo showing "Mastering display color primaries : Display P3". It is "proper" HDR. (Not saying you didn't understand but maybe for others.)

I was mainly trying to show the other metadata tags. Mediainfo is been kind of a mess for HDR and only recently started to fix some of the broken functions.

P3 will be reject by many services and some electronics. Even youtube rejects P3 and only allows 2020 for HDR uploads. Youtube is behind the curve when it comes to support new types of formats and such.

Revan654
7th August 2018, 18:07
Happy to see you around here again.

I think your replies are the most detailed in this forum.

For me, if you just keep up with the latest versions of the tools inside StaxRip (they are a lot) is enough, if you don't have time for more.

I mean real update with all the new functionality of the latest versions added to StaxRip's GUI + bugs fixes.

Your last version was around 2 months ago.

When do you believe you will be ready for the next one ?

I will start work on it once python project is finished. Which should be soon. Been working on this project for over month+. It's in testing phase now, it's trying to test it and see if it will run on two different platforms which slows down the process.

Revan654
7th August 2018, 18:23
Good to see you are still here Raven. Interesting you mention about a project in Python. I too am working on a massive project in Python.

As for filters, I rely on mClean and SMDegrain. Both of those also need the PreFetch. Other filters are the IVTC, Yadifmod2 and TDEint. Hard to believe that as old as TDEint is, no other filter can do all the things that one does with interlaced material.

If I were to think of something that could be requested it would inclusion of Levels and also GrayScale. I manually add these in, but it would be handy if they were right on the menus.

I personally prefer python over MVS(MVS is a memory hog), which is what Staxrip is written in. I had to do plenty of research to for certain functions. Specially when it came to web functions and such. I also trying to make the project as file-less as possible(No external files being created). Also needed to make sure it could run without the need of root access.

---------

mClean is not going anywhere, I personally consider it one top denoisers in avisynth. Along with MCTemporalDenoise. Even though mclean has some issues when using it(Usually black screen when previewing). Right now sure if it's mclean or windows files that create the issues. It looks like the script since the second you disable it everything returns to normal. MCTemporalDenoise script is kind of broken, did tweak it a bit to get it to work. Not sure if it's 100% Fully working yet(My tweaked version hasn't been released).


These are all the Filters currently Included and works within StaxRip:

https://i.imgur.com/1y7pzdF.jpg

FreaQ
7th August 2018, 19:00
Did not realize someone took over the development of StaxRip.
Thank you. I will give it a try.

foxace
7th August 2018, 19:17
an auto update function, like megui would be really great. but I guess it would take a dedicated server

Revan654
8th August 2018, 16:57
an auto update function, like megui would be really great. but I guess it would take a dedicated server

If staxrip(Native) was on linux, that would be easy to add. Since Windows likes to make everything difficult. It might be possible but not 100% sure at this point. I have to check github and see how there site handles the files. on linux you just have to do is pull command and the files will update.

The easiest way to check would be with a simple python script to check the site. Then with a simple if statement. If the version on site is higher then loaded version download the new package.

However the issue becomes Windows doesn't come preinstalled with python. Instead it comes preinstall with candycrush and bunch of other apps no one every uses.

To update only the Filters wouldn't be possible without a personal server setup in certain way. Since there need to be separate from the main release.

of Course it's possible to add autoupdate for the filters without a server but it would require allot of code to check each webpage of the hosted file. Then use a web scraper to pull the data in to see what version it is.

Then of course there is another way but only works on Windows 10 64Bit. W10 64Bit has small linux support in the form of a terminal. Could use that to update the files. If you do anyone running 32Bit or Windows 8.1 and below could not use the feature.

Hope all this makes sense.

Revan654
8th August 2018, 17:01
The one major thing I want to update is the preview window to add HDR support and make it a bit faster. I need to look over the code and see how all this is handled and if it's possible without causing issues for SDR content.

FreaQ
9th August 2018, 13:57
I did create some encoding profiles in StaxRip 1.7.0.6
How can I copy them to 1.8.x?
In the "settings" folder there are only the templates.

imhh11
9th August 2018, 20:57
Make sure all the metadata is intact, There are different forms of HDR metadata. Specially when you reach the colorspace area.

Staxrip reads the data from mediainfo and then injects it into the program.

I've made some changes on that, I just have to find a HDR file to test and see if it works now.

*Note* Only "True" HDR files will be supported that uses BT.2020 colorspace. If it uses anything else like P3 or such it will not work. P3 is not part of the HDR colorspace that is supported by the official docs.

It should look like this:

Colorprim: 2020
Matrix: 2020 NC
Transfer: ST. 2084
Range: limited

If the above is matched it will autodetect it as HDR source and select the proper VUI settings.

here some hdr file for you.

DCI-P3 HDR file:
https://www.dropbox.com/s/ve78j26gtfqv0q1/DCI-P3.mkv?dl=0
BT2020 HDR file:
https://www.dropbox.com/s/a7xofwp4ydx1y4h/BT2020.mkv?dl=0


DCI-P3: G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)

BT.2020: G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)

Revan654
10th August 2018, 00:27
I did create some encoding profiles in StaxRip 1.7.0.6
How can I copy them to 1.8.x?
In the "settings" folder there are only the templates.

Everything you created within the program is saved to the settingsV2.dat file.

Lynx_TWO
11th August 2018, 03:24
Adding latest versions of the tools/apps used by StaxRip is one thing, but adding the added functionality of those latest versions is another e.g new switches to QSVEnc & NVEnc GUI.

Haven't used latest StaxRip yet, I would like to know which case we are talking about with latest update.

Download Visual Studio Community and you can get the project off GitHub. Once you open the StaxRip.vbproj file, you will see how everything is laid out and compiled. It's some doing, but you can see where all the settings for each screen is, the forms being used, etc. If you are used to using Staxrip, you can reverse-engineer what's going on even without much coding knowledge. Of course, know how to write code in VB would help, but basic troubleshooting like incorrect strings is pretty straightforward. Looks like Stax really spelled everything out well, like he knew people would carry on development. As a non-coder I can even make a lot of it out. :D

Lynx_TWO
11th August 2018, 03:30
Thanks for the reply. I'll try to ask in x265 team aswell. I will run more tests and try to figure out which among the switches have been changed

Updating existing switches is pretty easy. Adding new dropdowns and graphical interfaces would take me a bit to learn. Can't promise the code would be the most elegant though... Looks like Revan654 is going to be doing the heavy lifting there?

FYI I usually use only VapourSynth, so never really tested the AVS functions. Is there anything we absolutely need AVISynth for anymore? Thought the idea was to get everything ported to VapourSynth eventually...

Edit: Ok, yes I see Revan654 is an actual developer. Thanks man! I use BM3D for denoising if encoding anything animation (like Final Space), but it's slowwwww. Even on my 20 core workstation with 64GB of memory (building to 256GB). Does work really well though for animation. I've used SMDegrain, not so much mClean. It's hard to find de-noisers that are not only fast, but also keep all fine details. They can really save a lot of bits over several movies though. Would be cool to be able to automatically set the core.max_cache_size depending on the resolution of the frame, and number of reference frames. This could warn the user if they don't have enough physical RAM, because shuttling to virtual memory is sloooowwww and tends to freeze the system.

HDR to SDR would be fantastic. 4K bluray always looks washed out otherwise, and it'd be nice to encode a 1080p SDR version for the PLEX server using Spline to downsize.

It would also be really cool to have a downsizing algorithm specifically for really small resolutions, like this https://johanneskopf.de/publications/downscaling/

For example, I encode all my movies down to separate 448x240 (animorphic of course) version, using DynAudNorm to normalize and maintain volume level, compression set to 28, audio encoded to 70KBPS Mono for times I need an ultra-low bitrate version. PLEX's built in optimize function is not high quality for ultra low-bitrate encodes.

Having recommended settings for each filter with descriptions about what kind of footage they are designed for would be convenient, and I'm sure everyone here could contribute to that.

Finally, it'd be nice to have a degrain function specifically for high resolution 4K movies. With all the extra resolution it should be possible to get better results.

RieGo
11th August 2018, 08:57
FYI I usually use only VapourSynth, so never really tested the AVS functions. Is there anything we absolutely need AVISynth for anymore? Thought the idea was to get everything ported to VapourSynth eventually...

i agree. most important stuff is ported to vapoursynth so avisynth is basically redundant... BUT people will still complain a lot because of edge cases... i.e. I remember there is not a good logo removal for vs. so maybe you should just keep it meanwhile?

btw: if you start a new repo or something I think I could help with development.

gonca
11th August 2018, 13:00
HDR to SDR would be fantastic
https://forum.doom9.org/showthread.php?p=1848471#post1848471http://

RanmaCanada
12th August 2018, 01:25
If staxrip(Native) was on linux, that would be easy to add. Since Windows likes to make everything difficult. It might be possible but not 100% sure at this point. I have to check github and see how there site handles the files. on linux you just have to do is pull command and the files will update.

The easiest way to check would be with a simple python script to check the site. Then with a simple if statement. If the version on site is higher then loaded version download the new package.

However the issue becomes Windows doesn't come preinstalled with python. Instead it comes preinstall with candycrush and bunch of other apps no one every uses.

To update only the Filters wouldn't be possible without a personal server setup in certain way. Since there need to be separate from the main release.

of Course it's possible to add autoupdate for the filters without a server but it would require allot of code to check each webpage of the hosted file. Then use a web scraper to pull the data in to see what version it is.

Then of course there is another way but only works on Windows 10 64Bit. W10 64Bit has small linux support in the form of a terminal. Could use that to update the files. If you do anyone running 32Bit or Windows 8.1 and below could not use the feature.

Hope all this makes sense.

Then tell everyone to install python? haha Whatever it takes for the users to make your life easier :) Just put a disclaimer that you aren't responsible for anything that happens and such and such ;) We as the users are greatly appreciative that this project is continuing and the majority will do whatever it takes to make life easier for the person handling it.

Natty
12th August 2018, 11:16
thank you revan for continuing the development of staxrip with a ton of new features added. loving it. however i am facing some issues in the latest version.

tried latest smdegrain plug-in and it throws this error while using prefilter=2

https://imagez.to/i/do0SfDBT.png

older smdegrain script works fine

stax lags a lot while editing filter settings, especially when avisynth throws some script error.

lags while drag-drop of source file

lags while adding a new job too

sometimes stax windows disappears when encode starts, maybe when stax was minimized for sometime prior to starting of job

some strange bugs which force closes stax when encode is aborted and restarted with new settings and encoded audio file is set to copy/mux.

these errors didn't occur in frank's 1.7.0.6.

sorry i forgot to take screen-shot, i will edit this post with screen-shots when i encounter those errors again..

:thanks:

SKPN
13th August 2018, 13:23
Hi everyone,

I have been using the modified version/template posted in this thread for UHD 10bit HDR for a while now. However, my motherboard died and I am now using my server to do my encoding until I get it replaced.

I am getting an error any time I attempt to encode a file using the same template I was using before, and cannot figure out why. Previously, I was encoding using a 5820K, and my server uses a 2600K. I'm not sure what I would need to change in the template to account for that if that's what the issue is.

The error log is below, and also attached in the zip file. Any help would be greatly appreciated, as I've been racking my brain for a week trying to figure it out.


-------------------------- System Environment --------------------------

StaxRip : 1.7.0.0
Windows : Windows 10 Pro 1803
Language : English (United States)
CPU : Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
GPU : Intel(R) HD Graphics 3000, NVIDIA GeForce GTX 1070
Resolution : 1920 x 1080
DPI : 96

------------------------ MediaInfo Source File ------------------------

E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGERS_INFINITY_WAR_t00.mkv

General
Complete name : E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGERS_INFINITY_WAR_t00.mkv
Format : Matroska
Format version : Version 2
File size : 52.7 GiB
Duration : 2 h 29 min
Overall bit rate mode : Variable
Overall bit rate : 50.5 Mb/s
Movie name : MARVEL'S AVENGERS: INFINITY WAR
Encoded date : UTC 2018-08-12 20:57:11
Writing application : MakeMKV v1.12.3 win(x64-release)
Writing library : libmakemkv v1.12.3 (1.3.5/1.4.7) win(x64-release)

Video
ID : 1
ID in the original source medium : 4113 (0x1011)
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 29 min
Bit rate : 45.9 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.231
Stream size : 47.9 GiB (91%)
Writing library : ATEME Titan File 3.8.16 (4.8.16.0)
Language : English
Default : No
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Original source medium : Blu-ray
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2

Audio
ID : 2
ID in the original source medium : 4352 (0x1100)
Format : TrueHD
Format profile : TrueHD+Atmos / TrueHD
Codec ID : A_TRUEHD
Duration : 2 h 29 min
Bit rate mode : Variable
Bit rate : 4 534 kb/s
Maximum bit rate : 6 930 kb/s
Channel(s) : Object Based / 8 channels
Channel positions : Object Based / Front: L C R, Side: L R, Back: L R, LFE
Sampling rate : / 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 4.73 GiB (9%)
Title : Surround 7.1
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray

Text #1
ID : 3
ID in the original source medium : 4768 (0x12A0)
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 28 min
Bit rate : 32.7 kb/s
Count of elements : 4134
Stream size : 34.7 MiB (0%)
Language : English
Default : No
Forced : No
Original source medium : Blu-ray

Text #2
ID : 5
ID in the original source medium : 4776 (0x12A8)
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 s 147 ms
Bit rate : 86.2 kb/s
Count of elements : 2
Stream size : 12.1 KiB (0%)
Language : English
Default : No
Forced : No
Original source medium : Blu-ray

Menu
00 : 00:00.000 : en:Chapter 01
00 : 11:28.729 : en:Chapter 02
00 : 18:13.884 : en:Chapter 03
00 : 27:23.808 : en:Chapter 04
00 : 35:48.771 : en:Chapter 05
00 : 42:23.541 : en:Chapter 06
00 : 54:12.666 : en:Chapter 07
00 : 59:36.614 : en:Chapter 08
01 : 05:06.861 : en:Chapter 09
01 : 10:53.666 : en:Chapter 10
01 : 17:06.955 : en:Chapter 11
01 : 24:14.758 : en:Chapter 12
01 : 31:07.628 : en:Chapter 13
01 : 42:00.405 : en:Chapter 14
01 : 45:57.601 : en:Chapter 15
01 : 53:03.902 : en:Chapter 16
01 : 58:52.917 : en:Chapter 17
02 : 03:57.972 : en:Chapter 18
02 : 11:13.282 : en:Chapter 19
02 : 17:31.117 : en:Chapter 20

-------------- Demux xml chapters using mkvextract 24.0.0 --------------

"B:\Installs\TV Stuff\staxrip 1.7 Imhh1 Nightly Build 10bit color fix\Apps\MKVToolNix\mkvextract.exe" chapters "E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGERS_INFINITY_WAR_t00.mkv" --redirect-output "E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGE..._temp\MARVEL'S_AVENGERS_INFINITY_WAR_t00_chapters.xml"

File 'E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGERS_INFINITY_WAR_t00.mkv': container: Matroska
Track ID 0: video (MPEG-H/HEVC/h.265)
Track ID 1: audio (TrueHD Atmos)
Track ID 2: subtitles (HDMV PGS)
Track ID 3: subtitles (HDMV PGS)
Chapters: 20 entries

Start: 8:07:22 AM
End: 8:07:23 AM
Duration: 00:00:00

-------------- Demux ogg chapters using mkvextract 24.0.0 --------------

"B:\Installs\TV Stuff\staxrip 1.7 Imhh1 Nightly Build 10bit color fix\Apps\MKVToolNix\mkvextract.exe" chapters "E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGERS_INFINITY_WAR_t00.mkv" --redirect-output "E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGE..._temp\MARVEL'S_AVENGERS_INFINITY_WAR_t00_chapters.txt" --simple

File 'E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGERS_INFINITY_WAR_t00.mkv': container: Matroska
Track ID 0: video (MPEG-H/HEVC/h.265)
Track ID 1: audio (TrueHD Atmos)
Track ID 2: subtitles (HDMV PGS)
Track ID 3: subtitles (HDMV PGS)
Chapters: 20 entries

Start: 8:07:23 AM
End: 8:07:23 AM
Duration: 00:00:00

--------------------------- AviSynth Script ---------------------------

LoadPlugin("B:\Installs\TV Stuff\staxrip 1.7 Imhh1 Nightly Build 10bit color fix\Apps\Plugins\both\ffms2\ffms2.dll")
FFVideoSource("E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGERS_INFINITY_WAR_t00.mkv", cachefile = "E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGE..._temp\MARVEL'S_AVENGERS_INFINITY_WAR_t00.ffindex")
Crop(0, 276, -0, -276)

-------------------------- Script Properties --------------------------

Source Frame Count : 214872
Source Frame Rate : 23.976024
Source Duration : 02:29:21.9530000
Target Frame Count : 214872
Target Frame Rate : 23.976024
Target Duration : 02:29:21.9530000

----------------------- MediaInfo Audio Source 1 -----------------------

General
Complete name : E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGE..._temp\MARVEL'S_AVENGERS_INFINITY_WAR_t00 ID1 English.thd
Format : TrueHD
File size : 4.73 GiB
Overall bit rate mode : Variable

Audio
Format : TrueHD
Format profile : TrueHD+Atmos / TrueHD
Bit rate mode : Variable
Maximum bit rate : 6 930 kb/s
Channel(s) : Object Based / 8 channels
Channel positions : Object Based / Front: L C R, Side: L R, Back: L R, LFE
Sampling rate : / 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Compression mode : Lossless

---------------- Error Video encoding using x265 2.5+14 ----------------

Video encoding using x265 2.5+14 failed with exit code: -1073741795 (0xC000001D)

The exit code might be a system error code: {EXCEPTION}
Illegal Instruction
An attempt was made to execute an illegal instruction.


------------------- Video encoding using x265 2.5+14 -------------------

"B:\Installs\TV Stuff\staxrip 1.7 Imhh1 Nightly Build 10bit color fix\Apps\avs2pipemod\avs2pipemod64.exe" -y4mp "E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGE..._temp\MARVEL'S_AVENGERS_INFINITY_WAR_t00_new.avs" | "B:\Installs\TV Stuff\staxrip 1.7 Imhh1 Nightly Build 10bit color fix\Apps\x265\x265.exe" --crf 18 --output-depth 10 --me star --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --max-luma 1023 --hdr --hdr-opt --repeat-headers --vui-timing-info --vui-hrd-info --input-csp i420 --fps 24000/1001 --frames 214872 --y4m --output "E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGE..._temp\MARVEL'S_AVENGERS_INFINITY_WAR_t00_new_out.hevc" -

avs2pipemod[info]: writing 214872 frames of 24000/1001 fps, 3840x1608,
sar 0:0, YUV-420-planar-10bit progressive video.
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 1.347 sec.
avs2pipemod[error]: only wrote 0 of 214872 frames.

------------------- Video encoding using x265 2.5+14 -------------------

"B:\Installs\TV Stuff\staxrip 1.7 Imhh1 Nightly Build 10bit color fix\Apps\avs2pipemod\avs2pipemod64.exe" -y4mp "E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGE..._temp\MARVEL'S_AVENGERS_INFINITY_WAR_t00_new.avs" | "B:\Installs\TV Stuff\staxrip 1.7 Imhh1 Nightly Build 10bit color fix\Apps\x265\x265.exe" --crf 18 --output-depth 10 --me star --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --max-luma 1023 --hdr --hdr-opt --repeat-headers --vui-timing-info --vui-hrd-info --input-csp i420 --fps 24000/1001 --frames 214872 --y4m --output "E:\Incomplete\4K.Avengers - Infinity War\MARVEL'S_AVENGE..._temp\MARVEL'S_AVENGERS_INFINITY_WAR_t00_new_out.hevc" -

avs2pipemod[info]: writing 214872 frames of 24000/1001 fps, 3840x1608,
sar 0:0, YUV-420-planar-10bit progressive video.
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 1.347 sec.
avs2pipemod[error]: only wrote 0 of 214872 frames.

Start: 8:17:14 AM
End: 8:17:16 AM
Duration: 00:00:01

imhh11
13th August 2018, 23:03
Hi SKPN

I see that you are using an old template I made for the Redfox forum. It uses Avisynth with a tweak to get complete 10bit pipeline so maybe that tweak doesn't work with your new pc.
You should switch to Vapoursynth instead since it supports 10bits without any tweak.

you can also use the new templates I made for encoding UHD-BD. You'll need to install Python and Vapoursynth which are included in this link:



https://drive.google.com/open?id=1yOW4CKwr2WqeEfVZaOjcItjpOOfa9rnD

SKPN
14th August 2018, 13:19
Hi SKPN

I see that you are using an old template I made for the Redfox forum. It uses Avisynth with a tweak to get complete 10bit pipeline so maybe that tweak doesn't work with your new pc.
You should switch to Vapoursynth instead since it supports 10bits without any tweak.

you can also use the new templates I made for encoding UHD-BD. You'll need to install Python and Vapoursynth which are included in this link:

https://drive.google.com/open?id=1q4APPUx3cnLmRHKAdAmqy5cc7_3YP73O

https://extraimage.net/images/2018/08/13/43d40d1ac616e420c37fd4fb380cc196.png

Oh, awesome. Thanks a ton! This seems to be working. I do get an error when I first load the video file, although it doesn't seem to affect anything, as the file still loads and I am able to encode it.

ObjectDisposedException (1.7.0.6)

Cannot access a disposed object.
Object name: 'CommandLineRichTextBox'.

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'CommandLineRichTextBox'.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.TextBoxBase.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.RichTextBox.get_TextLength()
at System.Windows.Forms.TextBoxBase.AdjustSelectionStartAndEnd(Int32 selStart, Int32 selLength, Int32& start, Int32& end, Int32 textLen)
at System.Windows.Forms.TextBoxBase.GetSelectionStartAndLength(Int32& start, Int32& length)
at System.Windows.Forms.TextBoxBase.set_SelectionLength(Int32 value)
at StaxRip.CommandLineForm.ValueChanged(CommandLineParam item) in D:\Projekte\VS\VB\StaxRip\Forms\CommandLineForm.vb:line 55
at StaxRip.CommandLine.CommandLineParams.OnValueChanged(CommandLineParam item) in D:\Projekte\VS\VB\StaxRip\General\CommandLine.vb:line 56
at StaxRip.x265Params.OnValueChanged(CommandLineParam item) in D:\Projekte\VS\VB\StaxRip\Encoding\x265Enc.vb:line 926
at StaxRip.CommandLine.CommandLineParams.RaiseValueChanged(CommandLineParam item) in D:\Projekte\VS\VB\StaxRip\General\CommandLine.vb:line 45
at StaxRip.BasicVideoEncoder.ImportCommandLine(String commandLine, CommandLineParams params) in D:\Projekte\VS\VB\StaxRip\Encoding\VideoEncoder.vb:line 440

FreaQ
15th August 2018, 07:24
Everything you created within the program is saved to the settingsV2.dat file.

I copied the settingsV2.dat to the settings folder within the StaxRip 1.8.2.0 directory (using it as portable) but my encoding profiles don't show up.

Revan654
17th August 2018, 01:02
thank you revan for continuing the development of staxrip with a ton of new features added. loving it. however i am facing some issues in the latest version.

tried latest smdegrain plug-in and it throws this error while using prefilter=2

https://imagez.to/i/do0SfDBT.png

older smdegrain script works fine

stax lags a lot while editing filter settings, especially when avisynth throws some script error.

lags while drag-drop of source file

lags while adding a new job too

sometimes stax windows disappears when encode starts, maybe when stax was minimized for sometime prior to starting of job

some strange bugs which force closes stax when encode is aborted and restarted with new settings and encoded audio file is set to copy/mux.

these errors didn't occur in frank's 1.7.0.6.

sorry i forgot to take screen-shot, i will edit this post with screen-shots when i encounter those errors again..

:thanks:

The issue is related to MT_lutxy. It's working in the newer code. Which Will be released at some point.

Try update the dll files and see if that helps at all.

Scroll to middle of the page about. There more info about it.

Link: http://avisynth.nl/index.php/MaskTools2

I'm not 100% off the top of my head what version is included with the build.
--------

The lag will be related to your systems resources and How the code access X resources. It's likely an issue with the MS runtimes or something with the studio code(MS End). I'm not experiencing lag at my end so I can't really investigate it without knowing what is triggering it.

MS broken a few thinks with Spring Update and then still havn't been fixed yet.

Revan654
17th August 2018, 01:03
I copied the settingsV2.dat to the settings folder within the StaxRip 1.8.2.0 directory (using it as portable) but my encoding profiles don't show up.

Files are un-clickable, can't help without actual images.

FreaQ
17th August 2018, 09:53
Files are un-clickable, can't help without actual images.

My settings in 1.7.0.6

https://abload.de/img/st1706fofvu.jpg

1.8.x after copying V2.dat

https://abload.de/img/st1820gyc08.jpg

I noticed that my original 1.7.0.6 setting file is ~250kb. After copying it to 1.8.x and opening StaxRip it shrinks to ~176kb. :confused:

Revan654
17th August 2018, 19:35
My settings in 1.7.0.6

https://abload.de/img/st1706fofvu.jpg

1.8.x after copying V2.dat

https://abload.de/img/st1820gyc08.jpg

I noticed that my original 1.7.0.6 setting file is ~250kb. After copying it to 1.8.x and opening StaxRip it shrinks to ~176kb. :confused:

Check the Backup Folder first (Within the Settings Folder). Make sure it's named correctly. It should be named like so: SettingsV2(1.8.2.0).dat or whatever build your using. Make sure all your Templates have been copied over as well.

It's the Templates here that are the important files.

I'm not 100% Sure without having your Setting files to test it, I could only guess at this point. It could be the update to all the codecs. I've updated the assembly which could be another reason.

FreaQ
17th August 2018, 22:25
SettingsV2(1.8.2.0).dat is in the Backup folder.
Templates were copied to TemplatesV2. I can also choose from them.
But my custom encoder settings are not choosable.

The strangest thing happend: When I load a template, the assigend encoder setting shows up with all the correct values but it is still not visible.

Is there a limit how much settings can be shown?

https://abload.de/img/unbenanntauadkz.jpg https://abload.de/img/unbenannt7te97.jpg

I have attached my settingsV2.dat

Revan654
17th August 2018, 22:36
SettingsV2(1.8.2.0).dat is in the Backup folder.
Templates were copied to TemplatesV2. I can also choose from them.
But my custom encoder settings are not choosable.

The strangest thing happend: When I load a template, the assigend encoder setting shows up with all the correct values but it is still not visible.

Is there a limit how much settings can be shown?

https://abload.de/img/unbenanntauadkz.jpg https://abload.de/img/unbenannt7te97.jpg

I have attached my settingsV2.dat

just like Images, the link is not clickable. Attachments have to be approved which takes awhile.

Just upload it to Mega or Dropbox.

IbrahimKh
18th August 2018, 12:22
Hi, is there any way I can make this default

https://s15.postimg.cc/jtwjlz9t7/screenshot_465.png (https://postimages.org/)

in old version (1.6 or older I think) this option was default, now in 1.7 the default is 'all'

Revan654
18th August 2018, 18:53
Hi, is there any way I can make this default

https://s15.postimg.cc/jtwjlz9t7/screenshot_465.png (https://postimages.org/)

in old version (1.6 or older I think) this option was default, now in 1.7 the default is 'all'

Just create a Template Once you Pick that Option. Then Set that Template as the Startup.

Revan654
18th August 2018, 21:20
Quick Question to anyone who uses VS. Is there a WebSite like avisynth.nl but for VS? VS has very little documentation and the filters even less. Some filters are not direct ports since some variables are not carried over.

I been using avisynth.nl and having to read code lines to figure out what got carried over. It would be nice to know all the variables which would speed up the process of updating VS and adding new Filters.

Wolfberry
19th August 2018, 05:15
You can use print(core.list_functions()) in python and it will print all the functions in your plugins.

Here is a text (http://www.mediafire.com/file/xa1co1020019cq4/functions.txt) file generated using the above command.

FreaQ
19th August 2018, 09:33
just like Images, the link is not clickable. Attachments have to be approved which takes awhile.

Just upload it to Mega or Dropbox.

https://www12.zippyshare.com/v/7ZY4p1zn/file.html

Revan654
19th August 2018, 19:01
You can use print(core.list_functions()) in python and it will print all the functions in your plugins.

Here is a text (http://www.mediafire.com/file/xa1co1020019cq4/functions.txt) file generated using the above command.

I was trying to avoid running both Python & VS at the same time. I use a different IDE which can be a bit of a memory hog. It hits about 50% with both running at the same time. This PC is old

Even with with the output there still missing information not shown.

--------

Now to try to figure out how to port some older filters from avisynth to VS. Since they don't work with the avs LoadPlugin function.

Revan654
19th August 2018, 19:02
https://www12.zippyshare.com/v/7ZY4p1zn/file.html

File is missing the Templates and the backup file.

mparade
19th August 2018, 20:52
Hello there,

Using this code my CPU utilization is between 10-13% averagely.

import vapoursynth as vs
core = vs.get_core()
core.avs.LoadPlugin(r"C:\dgdecnv2053_3\x64 Binaries\DGDecodeNV.dll")
core.std.LoadPlugin(r"C:\StaxRipV1820\Apps\Plugins\vs\fmtconv\fmtconv.dll")
core.std.LoadPlugin(r"C:\StaxRipV1820\Apps\Plugins\both\KNLMeansCL\KNLMeansCL.dll")
clip = core.avs.DGSource(r"C:\Temp\A Few Good Men (1992) [Dune]_temp\A Few Good Men (1992) [Dune].dgi")
clip = core.fmtc.bitdepth(clip, bits=16)
clip = core.std.Crop(clip, 0, 0, 132, 132)
clip = core.knlm.KNLMeansCL(clip, d = 4, s = 4, a = 4, h = 0.5, device_type="gpu")
clip = core.fmtc.bitdepth(clip, bits=10)
clip.set_output()

Could someone advise something to utilize my cores better?

The result is independent of how many threads are being assigned to the task in x265. Using multiple StaxRip instances did not help either.

The CPU is a AMD Ryzen 1950X. Inputs are Blu-ray folders without exception.
Thank you in advance for the support!