View Full Version : StaxRip
fredlkrue
5th May 2017, 18:38
Hi stax76, on StaxRip 1.3.7.8 I can set the file size to 176MB and it encodes at that size that I set, but for some reason using the latest build it the encode ends up sizing 197MB. On both encodes I am using the same settings, x264 2 pass, audio passthrough.
LOG from new build: https://pastebin.com/i2SPeWGH
I am not sure if the audio file size is being ignore or something about the calculation was changed.
stax76
5th May 2017, 19:55
You should get a video bitrate about 930 instead of 1060 so it didn't account your 130 kbits audio file at all, look at the mediainfo of your mkv, there is no BitRate property for the audio so staxrip assumes the bitrate is 0, there is only a FromStats_BitRate property, next build will read that if the BitRate property is missing. 'Options > Audio > Demux Audio: None' is probably not the best choice, if you have a real audio file instead of mkv staxrip will calculate the bitrate from the file size.
General
Unique ID : 0 (0x0)
Complete name : F:\Organize\Naruto\[HorribleSubs] Naruto Shippuuden - 378.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 315 MiB
Duration : 23 min 9 s
Overall bit rate : 1 902 kb/s
Encoded date : UTC 2010-02-22 21:41:29
Writing application : no_variable_data
Writing library : no_variable_data
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 23 min 9 s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 spf)
Compression mode : Lossy
Language : Japanese
Default : Yes
Forced : No
Statistics Tags Issue : no_variable_data 1970-01-01 00:00:00 / no_variable_data 2010-02-22 21:41:29
FromStats_BitRate : 128000
FromStats_Duration : 00:23:09.946000000
FromStats_FrameCount : 59860
FromStats_StreamSize : 22239143
fredlkrue
5th May 2017, 20:20
Thanks could it also be a reason that I am batch encoding?, so it creates a project before extracting?.. I hope this issue gets resolve, thank you.
stax76
5th May 2017, 20:32
default is:
Options > Audio > Demux Audio: Show Dialog
batch mode cannot show a dialog so it won't demux in batch mode I guess, I've not looked at the code but it would explain it.
I like this options:
Options > Audio > Demux Audio: All
Filters > Source > Automatic (which filter is used for which file type can be configured in the settings)
This should work :
right click on the audio field and " Open " your flac file.
select the audio output format profile and right click again on the audio field and selet " Execute "
https://img4.hostingpics.net/pics/21687520170505132453.png
This should just process the flac file and convert it to the desired output format.
thank you very much. now staxrip is my complete solution. i used foobar to do that till now.
fredlkrue
5th May 2017, 20:41
default is:
Options > Audio > Demux Audio: Show Dialog
batch mode cannot show a dialog so it won't demux in batch mode I guess, I've not looked at the code but it would explain it.
I like this options:
Options > Audio > Demux Audio: All
Filters > Source > Automatic (which filter is used for which file type can be configured in the settings)
Thanks, I will give it a try when I have a chance.
EDIT 1: I did some testing; even using the old build when doing batch encode it gives a wrong file size.. but encoading/adding one by one it gives exact size. When I do avi batch mode gives correct set file size.
EDIT 2: Using Options > Audio > Demux Audio: All, encoding via batch mode it sets the correct file size. THANKS!!!
stax76
6th May 2017, 15:39
When i use some avisynth external script, Staxrip keep all temp files at same directory from avs script and video file, it dont even create temp file directory or delete files at end. With normal video encoding without usage of avs script temp folder creation works fine. I try changing temp file directory but everytime it reset and all temp files are stored in avs script directory.
Next build will always create a temp dir.
chummy
6th May 2017, 22:34
Next build will always create a temp dir.
Great. This will help a lot. :thanks:
aegisofrime
11th May 2017, 10:43
Hi stax76, do you think you could add DGSourceNV as a source filter for Vapoursynth as well?
stax76
11th May 2017, 12:26
Hi stax76, do you think you could add DGSourceNV as a source filter for Vapoursynth as well?
I don't know if it can be added easily, let me see example code and DGSourceNV version and build/change date. As far as I know recent builds don't have native VS support and there are 2 workarounds, wrapper API and virtual file system.
You can define a custom source filter here:
'Filters > Filter Setup > VapourSynth' and then 'Filters > Profiles: Source'
and then define for which file type your custom source filter should be called:
Tools > Settings > Source Filters > VapourSynth
Yanak
11th May 2017, 15:29
Hello Stax,
i am testing the last 1.4.3.6 build and got some questions please :
- I start with a profile having a custom muxer profile in a form of a command line, when using the new re-mux script it does not change the muxing profile to mp4 or mkv, it stays on the command line muxing profile, not sure if normal or not but seems like it cannot switch to mkv or mp4 when a custom command line for muxer is set, seems ot work fine when any other profile other than a command line is set.
- Still about muxing: using a mkv container we can use the attachment option and add a txt file or picture or even an .exe to a mkv.
https://s14.postimg.org/voudqrvc1/97711720170511154222.png
When adding such file containing an attachment as source into staxrip the attachments, if there is some, are extracted directly into the temp folder.
When selecting manually your "Demux" tool where we can select to extract attachments or not there ( will be nice to get the attachments files listed there if there is some in a mkv file btw )
https://s14.postimg.org/olmib5xm9/38216320170511154636.png
Not sure if something can be done when using a Mkv as source file to show that there is an attachment and ask the user if he wants it extracted or not.
Could also be possible to extend this for .mp4's using mp4box and extract picture cover if there is one using the command :
mp4box.exe -dump-cover videoInput.mp4
For easy tests of adding a cover picture to a MP4 go the the mp4 container option like in the first picture > command line > edit menu > and add this :
Add Cover = -itags cover="$browse_file$"
Also possible to drop chapters using -dump-chap and few more options for dumping stuff but i never really tried those, might be useful for your demux tool that support only audio for mp4's if i make no error.
also mp4box.exe -raw trackID fileInput.mp4 Or the one i use a lot to extract all content of a MP4 with mp4box.exe -raw * fileinput.mp4
I set this as custom menu for mp4's and mov's: "%app:MP4Box%" -dump-cover -raw * "%source_file%" dumps all tracks and cover . Those might help.
( mp4box allows me to store multiple video tracks in a single mp4 + add a cover to the mp4 for better visual identification on pc, useful to keep original raw video untouched next to the one i encoded or modified, like a backup of original raw data inside a single mp4 file, i can later extract and use again the original an unmodified video if needed )
Speaking of audio i saw you added this : "ffmpeg demuxing GUI added, only audio is supported so far, input types can be configured in the settings, default is avi, ts, flv"
Maybe i understand something incorrectly but where is the GUI? I mean how to trigger it please ? For now i could not find it, probably doing something wrong or misunderstanding something about this new feature.
As always thanks a lot for all the work on this nice tool.
stax76
11th May 2017, 16:50
@Yanak
Next build will have a v2 version of the re-mux script.
It was probably a stupid idea to use a separate code base for a demuxing tool, please use the tracker on github for feature requests.
I didn't reset demuxing settings so you need:
Tools > Settings > Demuxing > Restore
or
Tools > Settings > Demuxing > Add
Yanak
11th May 2017, 17:44
Hi, I'll wait for the next version then.
I will make a request on github later at night or most probably tomorrow for an improved demux interface with a bit more options possible for viewing and extracting attachments in Mkv's or covers from mp4's and mov's, thanks a lot.
I have reset the demuxing options, if i open an avi or ts file that if i understood correctly should use a new ffmpeg demux GUI for audio but i still see the same as before, I'm not sure if it should be like this or if i am missing something. Spent some time and done all my settings again in this new version instead of importing them just in case something could have been messed up.
One last thing, when using the Mkv container and checking file with media info i see that there is the tags for "Writing frontend : StaxRip 1.4.3.6" coming from the .xml file. I'm not too familiar with mkv muxing and while you fully deserve all recognition possible for the great work on this tool, i would like to know if there a way to disable this for once in a while i need to get a very neutral output file ?
Btw you can add a similar stuff for mp4's with mp4box using this : -itags encoder="StaxRip":Tool="%version%" , will get out in mediafinfo as "Writing application : StaxRip / 1.4.3.6"
But if you lock this one as mkv seems to be, i will not be able to add more tags or add a cover as all stuff needs to be added in a single "-itags" parameter, for example this is what i use for my mp4's when i don't need neutral files ( cover picture is taken in preview mode with SaveJpgByPath command and "%working_dir%%source_name%.jpg" for path ):
-itags encoder="StaxRip":tool="%version%":cover="%working_dir%%source_name%.jpg":comment="Some text comment + the GPS data from the original footage video etc..."
Maybe leaving this as a possibility the end user can select in the container options in the command line menu, with -itags encoder="StaxRip":Tool="%version%" set and applied by default but possible to be edited in the command line options or removed when not needed, i don't know, might add this in github too :p
Thanks again for all.
stax76
11th May 2017, 21:31
I have reset the demuxing options, if i open an avi or ts file that if i understood correctly should use a new ffmpeg demux GUI for audio but i still see the same as before, I'm not sure if it should be like this or if i am missing something.
Before there wasn't any AVI or TS demuxing, now there should be the same GUI as used for mkvmerge and mp4box.
One last thing, when using the Mkv container and checking file with media info i see that there is the tags for "Writing frontend : StaxRip 1.4.3.6" coming from the .xml file. I'm not too familiar with mkv muxing and while you fully deserve all recognition possible for the great work on this tool, i would like to know if there a way to disable this for once in a while i need to get a very neutral output file ?
There is a new MKV muxer dialog option in the last build.
Btw you can add a similar stuff for mp4's with mp4box using this : -itags encoder="StaxRip":Tool="%version%" , will get out in mediafinfo as "Writing application : StaxRip / 1.4.3.6"
I added the encoder tag as default for the custom switches.
Yanak
11th May 2017, 22:08
- Oh i see, mostly using avi's with avisource for input and rarely using ts files so i never noticed before searching for it whne seeing the option added to the list ... i understand now.
- Fantastic, really nice to have this now, i don't know how i can thank you enough for all the stuff you do on this tool and how accessible you are for requests like this, nowadays i'm almost always having pits in my pockets but the day i will be able to do it i will make a donation for sure.
- I saw it yes, i use it and will continue to use it the majority of the times.
Noticed the re-mux2 script and it's partially working only, posted on github explaining the issue.
Will add request for better options in demuxing later at night or tomorrow too.
Thanks again for all this fantastic job.
aegisofrime
12th May 2017, 16:30
I don't know if it can be added easily, let me see example code and DGSourceNV version and build/change date. As far as I know recent builds don't have native VS support and there are 2 workarounds, wrapper API and virtual file system.
You can define a custom source filter here:
'Filters > Filter Setup > VapourSynth' and then 'Filters > Profiles: Source'
and then define for which file type your custom source filter should be called:
Tools > Settings > Source Filters > VapourSynth
Hi, thanks for your reply. I followed the steps as described and when I load the dgi file, Staxrip still tries to load the source files using ffms...
Well, there isn't a Native Vapoursynth version, although VS is able to load the AVS dll easily as so:
http://rationalqm.us/board/viewtopic.php?f=8&t=441&start=20
fredlkrue
12th May 2017, 18:43
One issue I have with the latest build is that when I set the source to automatically, StaRip crashes.
stax76
12th May 2017, 18:44
any error message?
fredlkrue
13th May 2017, 00:22
any error message?
Sorry, I should have posted the error message that I got:
https://pastebin.com/CyR6Hf5Q
I check the Runtimes, all Visual C++ are up to date, according to StaxRip.
PS. I am running Windows 7 64bits.
stax76
13th May 2017, 00:43
Could not load type 'System.ValueTuple
It requires .NET 4.7, next build will show a warning.
fredlkrue
13th May 2017, 04:00
It requires .NET 4.7, next build will show a warning.
Thanks, I will be testing the new build.
lotnybartek
13th May 2017, 11:37
Got a laptop with switchable GPUS. StaxRiP see only Intel. Any way to use Nvidia (940mx in this case).?
Schattenspieler
14th May 2017, 14:55
Version 1.4.3.7 does not accept a changed path to MKVToolnix, or it just ignores it.
I have MKVToolnix installed in another path, because it updates much more often and is not only used by staxrip. But since 1.4.3.7 (didn't try any other since 1.3.x.x) it always pops up the settings dialog for the programs loctions, despite having already set it up correct (F11). Only if I copy the MKVToolnix files to the location, where staxrip wants them (within it's own apps folder), can I get going.
When updating I overwrote every file exept "StaxRip.pdb" in the program folder. Could that be the reason for such weird behaviour? And why?
stax76
15th May 2017, 17:03
@aegisofrime
Automatic filter selection should work, first you have to load a VapourSynth filter setup and after that change the source filter to Automatic. If you change the source filter to Manual the last build will offer VapourSynth DGSource/DGSourceIM in the filter selection dialog.
I improved the code that adds the required LoadPlugin calls, in the last build you can use code like this:
clip = core.avs.DGSource(r"%source_file%")
clip = core.avs.yadifmod2(clip)
and staxrip automatically adds:
core.avs.LoadPlugin(r"D:\Software\Medien\DGDecNV_2052\DGDecodeNV.dll")
core.avs.LoadPlugin(r"D:\Projekte\VS\VB\StaxRip\bin\Apps\Plugins\avs\yadifmod2\yadifmod2.dll")
Got a laptop with switchable GPUS. StaxRiP see only Intel. Any way to use Nvidia (940mx in this case).?
Maybe the NVEnc author can help: https://github.com/rigaya/NVEnc/issues
Version 1.4.3.7 does not accept a changed path to MKVToolnix, or it just ignores it.
I have MKVToolnix installed in another path, because it updates much more often and is not only used by staxrip. But since 1.4.3.7 (didn't try any other since 1.3.x.x) it always pops up the settings dialog for the programs loctions, despite having already set it up correct (F11). Only if I copy the MKVToolnix files to the location, where staxrip wants them (within it's own apps folder), can I get going.
It's fixed in the last build.
When updating I overwrote every file exept "StaxRip.pdb" in the program folder. Could that be the reason for such weird behaviour? And why?
The file contains debug symbols for crash diagnostics. If you want to be safe it's best to only use the exact content of the download.
stax76
16th May 2017, 14:26
Today I rewrote the manual source filter selection dialog:
It don't show AviSynth and VapourSynth together but rather only AviSynth or VapourSynth depending on what scripting engine is active (the script engine can be changed with: Filters > Filter Setup, to make it default after startup use: Project > Safe As Template > Load template on startup)
The shown filters are not hardcoded but rather taken from the filter profiles, if you have two DGSource VapourSynth filter profiles for instance both should show in the dialog.
It has a much more lightweight look and feel.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Natty
18th May 2017, 22:44
whats up with all these bugs in new test builds ? i am still on 1.4.3.2 and i didnt upgrade because there were several files missing in staxrip's folder and i want to upgrade asap. what i think is that there are compatibility issues with c++2017 and dot net 4.7.
stax76
18th May 2017, 23:04
What files were missing? With the removal of C# scripting support lot's of DLLs are no longer needed.
Systems prior Creators Update need .NET 4.7. I've added a requirements section in the test build page.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
stax76
20th May 2017, 13:59
To address the issue with high memory usage I changed the job processing in the build from today:
job processing is now always done in a new instance
after every finished job the instance shuts done and starts a new instance before in case there are more jobs to process
Havokdan
20th May 2017, 17:33
How do I use the following programs in portable mode along with StaxRip:
Python
Vapoursynth
Avisynth+
?
stax76
20th May 2017, 17:57
You can't, portable mode isn't supported and I don't plan to support it in the future.
Havokdan
20th May 2017, 18:36
Ok, thanks.
stax76
21st May 2017, 21:40
Again I totally rewrote job processing today, I hope it's much better now.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
stax76
22nd May 2017, 22:44
I modified much layout and scaling related code today and could need some help with testing because I want to release a stable build this week finally and pause for some time.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Hi Stax,
I'm currently testing 1.4.5.1 and i'm setting this error. Only seems to happen on my W7 machine, W10 is fine.
Exception
Could not load type 'System.ValueTuple`3' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
System.TypeLoadException: Could not load type 'System.ValueTuple`3' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at StaxRip.MainForm.ModifyFilters()
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isNotEncoding) in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1689
EDIT: fixed the problem by installing .net 4.7 from https://www.microsoft.com/en-us/download/details.aspx?id=55170
Hi Stax,
I've been testing 1.4.5.3 and this error appeared. The error didn't stop staxrip encoding and it's still happily going through the jobs.
http://i65.tinypic.com/xehbfm.png
the error on the left is the original error, the error on the right was after clicking the copy message link from the original error window.
StaxRip x64 : 1.4.5.3
OS : Windows 10 Pro 1703
Language : English (New Zealand)
CPU : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
GPU : Radeon (TM) RX 480 Graphics
stax76
25th May 2017, 14:33
@AMED
Clicking on 'Copy Message' was supposed to copy the error message to the clipboard and show a message box 'Error was copied to clipboard'. Even though I couldn't understand why (something threading related I think) it didn't work, I think it is fixed now.
The exception that was happening is hopefully fixed too.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
stax76
26th May 2017, 18:58
If everything goes right then I'll release a stable version this Sunday, last one is already 7 months old.
Test build from today:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Natty
26th May 2017, 20:43
what was the last build with worked fine without .net 4.7 ? on my win 10 installation of 4.7 is blocked and it says os not supported. whenever u make the stable release, please if possible, make a build which can work fine without 4.7 also. thanks.
stax76
26th May 2017, 20:46
Did you consider updating to creators update?
Natty
26th May 2017, 21:59
Did you consider updating to creators update?
i think new builds of staxrip will force me to do it :helpful::devil:
mcjordan
26th May 2017, 22:06
What about DPI scaling in last build /1.4.5.5 on LTSB 14393/? I've a "little bit" non-scalable StaxRip in miniature window on my 4K monitor? See - https://postimg.org/image/i14fqov07/a4653bec/
Hmm... and on Creators Update on my other machine - same behaviour. Оn both systems are installed .NET 4.7 /on CU machine it is by default/.
Zetti
26th May 2017, 23:01
what was the last build with worked fine without .net 4.7 ? on my win 10 installation of 4.7 is blocked and it says os not supported. whenever u make the stable release, please if possible, make a build which can work fine without 4.7 also. thanks.
No need to updating to creators update.
Just download .net 4.7 and install.
https://www.microsoft.com/en-us/download/details.aspx?id=55167
Magik Mark
26th May 2017, 23:58
Hi Stax:
In windows 10 you can have several desktops. I have 2. When using staxrip I usually do that in "Desktop 2". I realized that everytime it finishes a job, staxrip would move to "Desktop 1" then continue with the next job. Is there way for staxrip to remain in "Desktop 2" until it finishes all the jobs?
stax76
27th May 2017, 00:19
@mcjordan
What's your DPI setting?
@Magik Mark
I don't know if there is an API or something to control this.
stax76
27th May 2017, 01:23
There was a StaxRip.exe.config file missing and the function that restores the windows positions was accidentally removed.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Zetti
27th May 2017, 01:29
#stax76
Which x264 have you included in StaxRip??
x264 Vanilla, x264 kmod or other one.
stax76
27th May 2017, 06:35
Next build includes 0.150.2833 Vanilla both 10 and 8 bit.
Zetti
27th May 2017, 11:21
Ok thanks.
mcjordan
27th May 2017, 11:51
Sorry for delay. I must have to sleep from time to time ;-) My setting based on standart scaling factor - 150%.
Anyway, last build 1.4.5.7 and the new config file work together seamlessly. Thank you, Frank, and sorry for disturbance.
qjb2016
28th May 2017, 03:32
ParseException
所在位置 行:1 字符: 1
+ Using namespace StaxRip;
+ ~~~~~
此语言版本中不支持“using”关键字。
所在位置 行:2 字符: 1
+ Using namespace StaxRip.UI;
+ ~~~~~
此语言版本中不支持“using”关键字。
System.Management.Automation.ParseException: 所在位置 行:1 字符: 1
+ Using namespace StaxRip;
+ ~~~~~
此语言版本中不支持“using”关键字。
所在位置 行:2 字符: 1
+ Using namespace StaxRip.UI;
+ ~~~~~
此语言版本中不支持“using”关键字。
在 System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
在 StaxRip.Scripting.RunPowershell(String code) 位置 D:\Projekte\VS\VB\StaxRip\General\Scripting.vb:行号 26
@AMED
Clicking on 'Copy Message' was supposed to copy the error message to the clipboard and show a message box 'Error was copied to clipboard'. Even though I couldn't understand why (something threading related I think) it didn't work, I think it is fixed now.
The exception that was happening is hopefully fixed too.
https://github.com/stax76/staxrip/blob/master/md/test-build.mdThanks Stax, I haven't seen this error again while using v1.4.5.4.
stax76
28th May 2017, 06:35
@qjb2016
When you run powershell from the start menu what do you see when you execute each of following lines:
$PSVersionTable.PSVersion
[Environment]::OSVersion
stax76
28th May 2017, 09:26
Version 1.5.0.0 has been released today.
Thanks everybody for the feedback provided since the least release.
https://github.com/stax76/staxrip/releases
qjb2016
28th May 2017, 10:21
@qjb2016
When you run powershell from the start menu what do you see when you execute each of following lines:
$PSVersionTable.PSVersion
[Environment]::OSVersion
PS C:\Users\Administrator> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
4 0 -1 -1
PS C:\Users\Administrator>
PS C:\Users\Administrator> [Environment]::OSVersion
Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 6.3.9600.0 Microsoft Windows NT 6.3.9...
VincAlastor
28th May 2017, 11:19
this works for me:
https://s16.postimg.org/dobz0zn8l/Unbenannt.png
I'm sorry for asking but is it possible to do the same with ffmpeg as decoder?
Background is, i always wanna use the latest opus alpha/beta/stable encoder as external encoder.
Latest release is opusenc 1.2 beta and i only can find ffmpeg versions with opusenc 1.1.4 stable.
stax76
28th May 2017, 11:30
@qjb2016
Next build has a better error message:
MsgError("PowerShell Setup Problem", "Ensure you have at least PowerShell 5.1 installed.")
https://www.microsoft.com/en-us/download/details.aspx?id=54616
@VincAlastor
Sure it's possible, if you can't find out how and nobody answers then please create a new thread.
A guess would be:
ffmpeg -i %input% - | opusenc - %output%
DaMacFunkin
28th May 2017, 15:25
Amazing, Audio and subtitles demux at the same time, Mega Thanks.
qjb2016
29th May 2017, 02:38
@stax76
Thanks!!
wildpig1234
29th May 2017, 06:56
I am not sure if i am getting this error in stax because it's trying to use my nvs510 card that i have in the same computer instead of the gtx1070.
Any help is appreciated why i am getting this error. thanks
stax76
29th May 2017, 07:48
In the NVIDIA options dialog there is a 'Device' option on the 'Other' tab, on the bottom of the dialog is a small button with a drop down menu with some features to show hardware info.
DaMacFunkin
29th May 2017, 08:41
Mr Stax can i ask what is the default behaviour of this program?
If i import a MKV that has flac audio, it will demux the audio to a .mka file, then if i choose during the encode to have the audio as aac, does it re-encode the audio from the mka to flac again before aac encode, or does it just extract it from the .mka?
It appears to me it re-encodes the mka flac to flac first.
Please advise.
Alexander
29th May 2017, 08:53
@stax76
Staxrip 1.5.0.0, Shutdown after encoding doesn't work in the Creative Update of Windows 10 64 bit :)
wildpig1234
29th May 2017, 09:14
In the NVIDIA options dialog there is a 'Device' option on the 'Other' tab, on the bottom of the dialog is a small button with a drop down menu with some features to show hardware info.
Under other i can change the device number from 0-4. but do a check hardware and i get no nvenc support.
But i am able to use ffmpeg nvidia h265 but it doesn't seem like an ideal thing to use this. anyway i can get the other to work? thanks
stax76
29th May 2017, 10:05
If i import a MKV that has flac audio, it will demux the audio to a .mka file, then if i choose during the encode to have the audio as aac, does it re-encode the audio from the mka to flac again before aac encode, or does it just extract it from the .mka?
It appears to me it re-encodes the mka flac to flac first.
I don't know if it re-encodes, probably yes, I never noticed it extracts flac to mka, to determine the extension for extraction staxrip uses the Codec/String MediaInfo Parameter which is FLAC, in staxrip it was defined different as Flac so staxrip thought it's an unknown format and thus used mka, next build will fix it. Meanwhile you can use another mkvextract GUI like this one: https://forum.doom9.org/showthread.php?t=170249
Staxrip 1.5.0.0, Shutdown after encoding doesn't work in the Creative Update of Windows 10 64 bit
Shutdown and Standby will only work if there is only one instance running so if you have a non encoding instance open it will prevent Shutdown and Standby, I'm not sure this is OK or needs to be improved.
Under other i can change the device number from 0-4. but do a check hardware and i get no nvenc support.
But i am able to use ffmpeg nvidia h265 but it doesn't seem like an ideal thing to use this. anyway i can get the other to work? thanks
I don't know what could cause it, you can try to get help in the NVIDIA forum or this thread: https://forum.doom9.org/showthread.php?t=174621
varekai
30th May 2017, 09:13
@ stax76
Thanks for the update! Appreciate that!
Just wondering, is this a "stable" release?
At github I only see 1.5.0.0-x64
Thanks...
stax76
30th May 2017, 11:09
It's intended as stable release.
Taurus
30th May 2017, 16:49
@ wildpig1234:
Open a command prompt in Staxrip\Apps\NVencC and type NVEncC64.exe --check-device
This will show you the available grafics adapter installed on your machine.
Of course you have to change the path to NVEncC in your command line accordingly....
Try --check-features and/or --check-environment to narrow down the malfunction.
Your first grafics adapter should be: deviceID #0: Geforce ????
Schattenspieler
31st May 2017, 10:23
If i import a MKV that has flac audio, it will demux the audio to a .mka file, then if i choose during the encode to have the audio as aac, does it re-encode the audio from the mka to flac again before aac encode, or does it just extract it from the .mka? It appears to me it re-encodes the mka flac to flac first.
My 2ct: Your terminology is inconsistent. Right, FLAC may be demuxed/remuxed out of MKV into MKA, if StaxRip doesn't "know" the audio format. But MKA is still just a container (matroska audio, instead of matroska video). There would be no re-encode "from the mka to flac", because the FLAC audio is still in there. Nothing to recode, just to demux/extract. The only encoding needed is from FLAC to AAC. My guess is, you wittnessed the extraction of the FLAC out of the MKA. (Why that's not done in the first place, I wouldn't know.)
You can easily check by demuxing the FLAC directly from the source file and comparing it (bitwise or via hash) to the one found in the temp folder, which you guess was a re-encode. Right?
varekai
31st May 2017, 10:58
It's intended as stable release.
OK! Great, thanks!
regards
Patman
1st June 2017, 16:45
Hi Frank,
Showdown doesn't work for me with stable build 1.5.0.0. I reset all settings but no effect. I worked with one instance. Can you help? You need a log?
Greetz Pat
Gesendet von meinem E5823 mit Tapatalk
stax76
1st June 2017, 17:09
Hi, how many instances does the task manager show? It should be zero because every instance runs exactly one job and exits after that. If there are more jobs to encode it starts a new instance before it exits. Shutdown is done with a command line:
shutdown /f /s /t 0
Patman
1st June 2017, 21:24
Thanks for you help,
task manager shows me two instances. After closing of one, shutdown works.
Gesendet von meinem E5823 mit Tapatalk
stax76
2nd June 2017, 17:41
Starting from today every test build will have a own changelog.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.0.1 unstable test build
new: experimental AV1 codec support
new: the demux app was removed, the built-in demuxing GUIs for mkvextract, mp4box, eac3to and ffmpeg can be used as independent tool found at: Tools > Advanced > Demux
fix: FLAC was extracted to mka instead of flac
tweak: staxrip is a bit smarter to find out if all job processing is completed and shutdown/standby can be performed
update: MP4Box 0.7.2-DEV-rev79 which fixes issues with qsvenc output
update: MediaInfo 0.7.96
update: ffmpeg 3.3.1
NikosD
2nd June 2017, 17:46
On every new version, your app looks like even closer to professional.
Hope you keep it free :D
Taurus
2nd June 2017, 18:08
Thanks for the changelog!
It's getting better all the time.
stax76
2nd June 2017, 19:57
@Nikos
It'll stay free like that Patty Smith song.
@Taurus
You're welcome.
Schattenspieler
3rd June 2017, 12:28
On every new version, your app looks like even closer to professional.
Like working on a car, now finally doing the last finishes. And this car runs quite well! :D
Yanak
3rd June 2017, 12:53
Hi Stax,
just saw last text version and for once I'm not really convinced by one change, the demux tool as it is now is a bit a downgrade compared to before.
- No drag and drop for input file ( we need to set manually input and output by selecting paths and folder, was way better before with just a drag of the file and all set automatically)
- Need to select the demuxer type, was done automatically before.
- No way to extract the video track from a MKV for example, was possible using the GUI demuxer, it is also easily possible with MP4's using mp4box to get the video track extracted but this was not implemented before already.
I will gather the previous demuxer with GUI and make a menu shortcut for it to continue using it i think, used to have a shortcut for it using "StartTool demux" command but this seems removed now, gives "KeyNotFoundException" error for the shortcut, will do a small call by a batch command instead and it should do the trick.
And thanks for the mp4box new version, i encountered 1 error trying to mux some stuff into a mp4 and left it as i did not had time to dig deeper and make a bug report, but after testing and comparing with last update it seems like it was mp4box fault.
Thanks a lot , and i agree with what others said, professional quality tool close to perfection with all customization possibilities :)
PS : Anyone knows what command line could be used to extract in one shot all content from a .MKV file please ?
Something that could be comparable with "%app:MP4Box%" -dump-cover -raw * "%source_file%" for a mp4 or mov, this command extracting all audio and video tracks and the cover (if there is one)
Thanks again.
sauvage78
3rd June 2017, 13:10
Just thks, I use Staxrip more & more.
stax76
3rd June 2017, 14:00
@Yanak
Next build supports drag & drop and sets the output folder to the source folder.
Sometimes it can be useful being able to choose from 3 demuxing apps, if there is a file mp4box can't handle there is a chance ffmpeg can handle it.
For video track demuxing you could create a issue on the tracker.
PS : Anyone knows what command line could be used to extract in one shot all content from a .MKV file please ?
Something that could be comparable with "%app:MP4Box%" -dump-cover -raw * "%source_file%" for a mp4 or mov, this command extracting all audio and video tracks and the cover (if there is one)
It's unlikely that mkvextract has a demux everything feature, eac3to has something like this I think.
Yanak
3rd June 2017, 14:23
Hi Stax,
- Drag and drop will be very welcome, current demuxing tool is very nice for the workflow used like this, thank you.
- That's true i did not saw this under this point of view, especially since now you have to restart all process if one demuxer fails, but yeah seen like this you're right, will be better once drag and drop will speed up the process too.
- Will create a request on github a bit later for extracting also video track(s) via the demuxing tool, ( bit busy right now but will do before the end of the day) thanks a lot
- I searched a bit in mkvextract doc and i did not found, asked in case i missed something :/ Thanks for the answer and help.
Demuxing files to just reencode or add another audio track or simply add a cover to the file or even things like taking an .avi with XviD content for video file, cutting/trimming it and putting the output into a MKV container, then demuxing the content of the created MKV to then put all tracks inside a MP4 container as this cannot be done in one step from the first .avi input file directly into a MP4 is something really useful and quite easy to do, especially once you have created some specific profiles and event commands, easy and fast to process those modifications, thanks a lot for all.
Washka
4th June 2017, 13:46
@Stax76
I start encoding 2x same video in same time by mistake.. Try to encode any video, minimize the log window that pop up when encoding start and try to start encoding same video again. You get wall of text with errors. Maybe StaxRip should know that encoding is already in progress or something.. :) I`m using 1.5.0.1
stax76
4th June 2017, 14:01
There is a shared job list but other then that no communication between instances, when a job processing instance runs a job it disables the job in the job list so it's not processed by an additional job processing instance and when the job is finished it's removed from the job list. To create multiple jobs from the same source is a popular feature, creating jobs with same target file should hardly happen since the job project file paths are created from the target name. I don't know what exactly you did and if there is something staxrip could do better.
Disturbance
5th June 2017, 08:03
@Stax76
Hello, I seem to be having an ongoing issue with staxrip in both every release I have tried so far (currently on 1.5.0.0). When I load in some files it will auto crop them and prevent me from changing it at all, it does this while having all the auto crop and aspect ratio options turned off. The source res and DAR is:
Width : 1 912 pixels
Height : 802 pixels
Display aspect ratio : 2.40:1
Then staxrip will add in the code preview "Crop(0, 0, -0, -2)" and changes it to DAR/SAR 2.39. I am unable to get rid of that crop command as it is not editable, so it ends up making the video 1912x800, is there any way to stop this from happening and getting it to import correctly with it not trying to change it?
stax76
5th June 2017, 10:14
@Disturbance
Hi, it forces mod 4 on load to improve compatibility. It can't be disabled but you can edit the code by double-clicking the filter list.
Magik Mark
5th June 2017, 10:48
Hi Stax!
I dunno if this has been asked and answered. Is there a way to automatically crop black bars? Will the encoding become faster if part of the video has been removed?
stax76
5th June 2017, 11:34
Hi Stax!
I dunno if this has been asked and answered. Is there a way to automatically crop black bars?
Hi Mark, if I remember right then you only have to enable the crop filter before you load a source.
Will the encoding become faster if part of the video has been removed?
Sure, try it yourself using 'Execute Command Line' in the codec options, that'll show you a fps value.
craigpro
5th June 2017, 11:57
Hi stax76, thank you for an excellent utility I've been happily converting my DVD / bluray collection to HEVC but I've encountered an issue with DAR - I have some files which are 960x718 resolution and have a DAR of 16:9 - when I re-encode them the pixels are the same but DAR is changed to 4:3. Sorry, I have tried both 1.4.0.0 and 1.5.0.0 stable releases and it changes the DAR with either version.
I've tried auto aspect on / off but the DAR is changed. How can I keep the original DAR please? Thank you.
stax76
5th June 2017, 12:05
Hi stax76, thank you for an excellent utility I've been happily converting my DVD / bluray collection to HEVC but I've encountered an issue with DAR - I have some files which are 960x718 resolution and have a DAR of 16:9 - when I re-encode them the pixels are the same but DAR is changed to 4:3. Sorry, I have tried both 1.4.0.0 and 1.5.0.0 stable releases and it changes the DAR with either version.
I've tried auto aspect on / off but the DAR is changed. How can I keep the original DAR please? Thank you.
Hi! Please post a screenshot of the main dialog.
craigpro
5th June 2017, 12:49
Hi! Please post a screenshot of the main dialog.
done. the screenshot also has a mediainfo text tree of the same file next to it.. mediainfo sees the 16:9 DAR but because of the straight pixel count staxrip sees the DAR as 4:3
https://postimg.org/image/almxz7gf7/
stax76
5th June 2017, 13:36
Auto detection works fine as far as I can tell: https://postimg.org/image/ro3szst6b/
In the main dialog top left is a menu called 'PAR' where you can choose: DAR > 16:9
craigpro
5th June 2017, 14:00
Auto detection works fine as far as I can tell: https://postimg.org/image/ro3szst6b/
In the main dialog top left is a menu called 'PAR' where you can choose: DAR > 16:9
yeah I tried that sorry, didn't change anything on menu or when I re-encoded the file.
EDIT : Sorry it changes the PAR to 255:192 but the DAR always stays 1.333
stax76
5th June 2017, 14:09
You mean you choose DAR > 16:9 in the menu and the target file is still wrong? This would mean there is a bug in nvenc.
Are you sure you are getting another auto detection then me? Please load the source in staxrip, right-click the path, choose MediaInfo, choose Advanced, create pastebin
craigpro
5th June 2017, 14:14
You mean you choose DAR > 16:9 in the menu and the target file is still wrong? This would mean there is a bug in nvenc.
Are you sure you are getting another auto detection then me? Please load the source in staxrip, right-click the path, choose MediaInfo, choose Advanced, create pastebin
source file info done as you requested above:
https://pastebin.com/pwT98Swq
I just re-encoded then and the resulting file DAR is 4:3 according to mediainfo (and when I play it).
stax76
5th June 2017, 14:24
AR signaling don't work indeed, I'll report this to the nvenc author. You can't set the AR in staxrip's mkv muxing options so you have to use the null muxer 'No Muxing' and mux it with mkvtoolnix GUI where you can set the AR. Before I can decide what to do about it I have to wait what the nvenc author is saying, as far as I know the bitstream is written by the NV SDK so there probably won't be a quick fix and I will have to code a workaround.
craigpro
5th June 2017, 14:30
AR signaling don't work indeed, I'll report this to the nvenc author. You can't set the AR in staxrip's mkv muxing options so you have to use the null muxer 'No Muxing' and mux it with mkvtoolnix GUI where you can set the AR. Before I can decide what to do about it I have to wait what the nvenc author is saying, as far as I know the bitstream is written by the NV SDK so there probably won't be a quick fix and I will have to code a workaround.
ok thank you for your time and assistance with this issue.
Disturbance
5th June 2017, 23:48
@Disturbance
Hi, it forces mod 4 on load to improve compatibility. It can't be disabled but you can edit the code by double-clicking the filter list.
@Staxrip
Thanks for that, I had that dialogue up many times previously but was looking in the crop section, I had never noticed it in the Source section. That has fixed the issue for me.
Just another quick question, do you think the program will one day support subtitle cutting or would that be too much effort for too little payoff for you?
craigpro
6th June 2017, 00:24
unfortunately I have a usage question and don't know if this is the correct thread to ask in - but how do I set an entire folder to be resized, or change the audio (eg: EAC3 to AC3)? Do I need to set up templates to do that? But how about resizing, don't you need to have a source file first off so it knows how big it is and what size you want it resized to? thank you.
stax76
6th June 2017, 12:02
@Staxrip
Thanks for that, I had that dialogue up many times previously but was looking in the crop section, I had never noticed it in the Source section. That has fixed the issue for me.
Just another quick question, do you think the program will one day support subtitle cutting or would that be too much effort for too little payoff for you?
Probably I should move it to the crop section.
Subtitle cutting thanks to Mosu might be relatively easy to do so it's definitively something I would like to support. It might not be much more difficult then the mkvmerge audio cutting function which is relative small like 20 lines if I remember right.
unfortunately I have a usage question and don't know if this is the correct thread to ask in - but how do I set an entire folder to be resized, or change the audio (eg: EAC3 to AC3)? Do I need to set up templates to do that? But how about resizing, don't you need to have a source file first off so it knows how big it is and what size you want it resized to? thank you.
I'm not sure what you try to do, I would like to help but I'm pausing staxrip and doom9 for a week.
sneaker_ger
6th June 2017, 12:10
Subtitle cutting thanks to Mosu might be relatively easy to do so it's definitively something I would like to support. It might not be much more difficult then the mkvmerge audio cutting function which is relative small like 20 lines if I remember right.
Be warned that mkvmerge subtitle cutting has limitations. Cutting in the middle of a line can break things.
stax76
6th June 2017, 12:16
Be warned that mkvmerge subtitle cutting has limitations. Cutting in the middle of a line can break things.
Good to know, thanks.
craigpro
6th June 2017, 13:58
I'm not sure what you try to do, I would like to help but I'm pausing staxrip and doom9 for a week.
that's ok.. have a good rest :)
what I am trying to do is if I have a folder of 1080p rips and I want to resize the ENTIRE folder to 720p how do I do it please?
Currently I process each file separately in the folder.
Same goes if I just want to mux the video, but change the E-AC3 to AC3 or some other audio CODEC.
thank you.
RieGo
10th June 2017, 09:55
new: experimental AV1 codec support
using build 1.5.0.3 i can't find AV1 in the codec list. would like to try it out :)
Did I miss something?
Alexander
10th June 2017, 20:32
using build 1.5.0.3 i can't find AV1 in the codec list. would like to try it out :)
Did I miss something?
You can reset StaxRip settings
15930
stax76
11th June 2017, 09:42
using build 1.5.0.3 i can't find AV1 in the codec list. would like to try it out :)
Did I miss something?
It's because I avoid to reset user settings, in the video encoder menu go to: 'Edit Profiles' and choose 'Add' to only add the AV1 profile or Reset to reset all video encoder profiles.
what I am trying to do is if I have a folder of 1080p rips and I want to resize the ENTIRE folder to 720p how do I do it please?
There is: Source > right-click > Open > File Batch
mcjordan
11th June 2017, 10:40
From Rigaya with love... ;-)
NVEncC v3.09 - shortly
Update NVENC SDK to 8.0
Update ffmpeg dlls.
Add option to enable weighted prediction. (--weightp)
Please note this option will be disabled when B frame is in use.
Add support for 10bit depth HEVC HW decode.
Add avi file reader supporting YV12, YUY2, RGB input (imported from QSVEnc).
Now "--vbr-quality" can be set with floating point.
Remove "--enable-ltr" option, since LTR trust mode is told to be deprecated in future.
Enhance stability when using HW decoder.
Fix issue which subtitle was not copied properly in some occasions.
Fix app freeze issue when aborting from the app using vpy reader.
NVEnc 3.08
[NVEnc.auo / NVEncC common]
Updated NVENC SDK to 8.0.
Added option to enable weighted P-frame. (- weightp)
Unfortunately, it can only be used when there is no B frame ....
- Display the build version of Windows in the log.
- Fixed that there was a case that it was not possible to encode interleaved video with a height that can not be divided by 32.
- To be able to compile "Video Engine Load (VE)" of GPU-Z.
It is automatically acquired when GPU-Z is running in the background.
[NVEnc.auo]
- Added upper / lower limit / initial value setting of QP.
- Added VBR quality target setting.
- Updated simple installer.
[NVEncC]
- Supports HW decoding of 10 bit HEVC.
- Updated ffmpeg and related library dll.
- Improved stability during HW decoding.
- --vbr-quality corresponds to decimal point specification.
- Added avi file reader.
- Since the LTR Trust mode is scheduled to be deprecated in future, remove the --enable-ltr option.
- Fixed a problem that freezes when trying to interrupt encoding when using vpy reader.
- Fixed the case where copying of subtitles was not performed normally.
NVEnc 3.09
[NVEncC]
Fixed a picture breakdown when passing high bit depth y4m.
QSVEncC 2.65
Fixed a problem around the high bit depth pointed out.
[QSVEncC]
Fixed a picture breakdown when passing high bit depth y 4 m.
...I was completely forgotten y4m passing of high bit depth...
RieGo
11th June 2017, 14:51
It's because I avoid to reset user settings, in the video encoder menu go to: 'Edit Profiles' and choose 'Add' to only add the AV1 profile or Reset to reset all video encoder profiles.
Great! :thanks:
craigpro
11th June 2017, 15:20
From Rigaya with love... ;-)
NVEncC v3.09 - shortly
bother.. the display aspect ratio bug is not fixed :(
EDIT: it is, but it's not mentioned in the english changelog.
stax76
11th June 2017, 16:55
bother.. the display aspect ratio bug is not fixed :(
I already had a workaround added and then removed because it was fixed.
https://github.com/rigaya/NVEnc/issues/8
craigpro
12th June 2017, 06:11
I already had a workaround added and then removed because it was fixed.
https://github.com/rigaya/NVEnc/issues/8
awesome! thank you and thank you to Rigaya. I will wait for the next test build which has the updated files in it (I tried copying the 3.09 files over the 3.07 but it failed with this error message).
https://pastebin.com/z5WW0MtC
mcjordan
12th June 2017, 18:21
Same case. Confirmed.
stax76
12th June 2017, 18:22
3.10 fixes it.
mcjordan
12th June 2017, 18:41
Thank you, Frank.
That's on Rigaya's blog:
NVEnc 3.10
2017.06.12, 22:30
- Fix y4m delivery because it was broken even if it was 3.09.
- Fixed that sometimes error is returned under error code even if it ends normally.
craigpro
13th June 2017, 14:26
3.10 fixes it.
unfortunately not with the file set I was trying to compress :(
I think because the pixels are 920 x 716 (4:3 PAR), even though the DAR is set to 16:9 in the original file, the re-encoding is looking at the pixel resolution and setting the DAR from that.
I then did a test and disabled the Auto Aspect Ratio option in the Image / Options menu - but that also didn't work as the DAR was changed from 16:9 to 4:3
My third test was clicking the PAR in the menu and setting it to automatic 16:9 - unfortunately the output file DAR is still set to 4:3
Any other settings I should try? Thank you.
stax76
13th June 2017, 14:40
unfortunately not with the file set I was trying to compress :(
I think because the pixels are 920 x 716 (4:3 PAR), even though the DAR is set to 16:9 in the original file, the re-encoding is looking at the pixel resolution and setting the DAR from that.
I then did a test and disabled the Auto Aspect Ratio option in the Image / Options menu - but that also didn't work as the DAR was changed from 16:9 to 4:3
My third test was clicking the PAR in the menu and setting it to automatic 16:9 - unfortunately the output file DAR is still set to 4:3
Any other settings I should try? Thank you.
There is a issue with nvenc regardless of --sar or --dar is used, I've reported it to rigaya, it's probably a issue in the SDK, next staxrip build will have many new aspect ratio options including a option to set the dar with mkvmerge.
craigpro
13th June 2017, 15:31
There is a issue with nvenc regardless of --sar or --dar is used, I've reported it to rigaya, it's probably a issue in the SDK, next staxrip build will have many new aspect ratio options including a option to set the dar with mkvmerge.
thank you for your continued work and development on this program. when I can afford there will definately be beer money for you via paypal.
stax76
13th June 2017, 21:07
The build from today has some aspect ratio improvements that hopefully work better then the last build.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
1.5.0.6 unstable test build
new: various new x265 options
new: various new aspect ratio features
update: x265 2.4+61
update: QSVEncC 2.66
1.5.0.4 unstable test build
new: Subtitle Edit added to Apps in main menu and to container options dialog
new: nvenc --weightp
tweak: in case the source image width/height isn't mod 4 staxrip writes crop to the crop section instead of the source section and adds a comment 'ensure mod 4'
tweak: main form layout and scaling improved and increased precession of several values
update: TIVTC 1.0.9
update: VapourSynth R38
update: x265 2.4+36
update: nvenc 3.10
Magik Mark
13th June 2017, 23:49
Stax,
What are these new x265 options?
stax76
14th June 2017, 00:13
Stax,
What are these new x265 options?
--refine-inter
--refine-intra
--refine-mv
--scale-factor
Sagaroth
14th June 2017, 07:04
Hi guys,
first I want to thank to Stax for this stunning app.
Second I've started to use the program this Monday, and I need "a help from a friend" :)
I'm not resizing or cropping, just re-encoding 1080p blu rays. I want to achieve the smallest possible size, but with good quality (let's say 90% from the original)
I'm using nvenc (if there is better hw encoder please suggest)
I'm asking people which already tested and knows the best possible settings to achieve this.
I've tested with HEVC VBRHQ, but I'm not happy with the results (In moving scenes allot of problems)
Then I've tested HEVC CQP 21;31;35 (what to raise/lower for better size/quality ratio) and the quality is much better, but still I think the detail is not good enough.
Also should I use aq, lookahead and what else should I configure, to achieve the desired results?
So please guys advice. (Maybe share some screens, settings or maybe a command line)
The most important for me is
Size/Quality ratio
Thank you and keep up the good work!
craigpro
14th June 2017, 16:08
The build from today has some aspect ratio improvements that hopefully work better then the last build.
1.5.0.6 unstable test build
test file output with the desired 16:9 DAR even though PAR is 4:3 - many thanks for that, I'll set a batch encode and check them in the morning.
thank you for your time and bug fixes.
craigpro
14th June 2017, 16:16
Second I've started to use the program this Monday, and I need "a help from a friend" :)
I'm not resizing or cropping, just re-encoding 1080p blu rays. I want to achieve the smallest possible size, but with good quality (let's say 90% from the original)
I'm using nvenc (if there is better hw encoder please suggest)
I use NVencc with mt GTX 1060 and I've been re-encoding my DVDs / Blurays to go on my NAS. A 720p source file of a 30 minute episode takes about 3 1/2 minutes to re-encode using the GTX 1060 and Staxrip.
I use IPB settings of CQP: I=21:P=23:B=25, quality preset, bitdepth 10, and my auto generated command line is:
--cqp 20:23:25 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --colormatrix auto --colorprim auto --transfer auto
I initially did a lot of frame by frame comparisons (using bit compare tools, not just using my eyes) and the above settings are acceptable FOR ME.
1.5GB episodes usually shrink down to about 700-800MB
One thing I don't do though is encode the audio channels - I just MUX the original audio - my ears are better at picking up compression than my eyes.
happy to accept criticism for my settings.
Natty
14th June 2017, 22:03
i have an urgent issue. 2 days back i was encoding a file and its audio was truehd+atmos 7.1 channel. mediainfo is here -> https://pastebin.com/umrfpaV6 . . . like always i set audio encoder to qaac and channels = original. but during encoding it converted the 7 gb truehd+atmos track to a flac file of only 2.5 gb 2 channel. and then to m4a audio of just 2 channels. i saw logs of my previous encodes and saw that my audios have been destroyed several times. for instance in one of the encodes dtshdma track of 4 gb was converted to 2 gb flac only... i solved my issue by selecting audio encoder to eac3to and channel = 7.1. it converted my 7gb truehd+atmos file to wav file of 10 gb. i used that wav file with qaac @ 7.1 @ tvbr 100 and it encoded it directly to m4a without converting it to flac. so finally i want to ask, can i set any option by which qaac first converts by audio to wav before converting it to m4a, or better yet convert the truehd+atmos track directly to m4a. thanks :)
stax76
14th June 2017, 22:12
What's the problem with having a intermediate FLAC file instead of a WAV file? There are issues with WAV like it can't hold much meta data and can only be 4GB large.
ENiGMA59
14th June 2017, 23:55
Hi Stax76
excuse me i search delete line , red surrounded
https://s18.postimg.org/9t1gghzll/delete_line.png
i use StaxRip x64 1.5.0.0 stable release ,
thanx in advance :thanks:
stax76
15th June 2017, 02:57
@ENiGMA59
Hi, I don't know about the second one, the first one is created with mkvmerge tags that you edit at: Container Options > Options > Tags
stax76
15th June 2017, 03:47
@Natty
In any case of a problem don't forget to post a full log file using pastebin (enable expiration after a month).
Natty
15th June 2017, 14:17
What's the problem with having a intermediate FLAC file instead of a WAV file? There are issues with WAV like it can't hold much meta data and can only be 4GB large.
problem was that flac was encoded at lower bitrate (smaller size) than the original file and i fear that it can lower my final m4a audio quality. and theres no problem in wav file, i got my wav file at 10 gb and the final m4a file sounded better. i will post logs of both cases where intermediate file was flac and where it was wav.
stax76
15th June 2017, 14:20
problem was that flac was encoded at lower bitrate (smaller size) than the original file and i fear that it can lower my final m4a audio quality. and theres no problem in wav file, i got my wav file at 10 gb and the final m4a file sounded better. i will post logs of both cases where intermediate file was flac and where it was wav.
FLAC is lossless so the quality is identical to the original, if needed I could add some option to decide if WAV or FLAC should be used for intermediate files and which app should be used to create the intermediate file, with my atmos test file ffmpeg isn't working correctly where eac3to encoded it fine.
ENiGMA59
15th June 2017, 15:08
Hi, I don't know about the second one, the first one is created with mkvmerge tags that you edit at: Container Options > Options > Tags
Thanx stax76 ,
i search also , the best template encoding TVRIP 720p
very big thanx stax76
ENiGMA59
15th June 2017, 15:29
@ENiGMA59
Hi, I don't know about the second one, the first one is created with mkvmerge tags that you edit at: Container Options > Options > Tags
merci stax76 ,
I search also the best template for TVRiP-720p :thanks:
in advance , upload .srip ^^ :p
stax76
15th June 2017, 15:32
Test Build
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.0.7 unstable test build
new: Deblock VapourSynth plugin added: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock/
new: basic new x264 GUI based on the same framework then all other codec GUIs, this will soon replace the old GUI
new: support for subtitle cutting
new: added setting to minimze processing window to task bar instead of the tray area
new: the options for --sar in the encoder options have now the same dropdown menu then the PAR menus in the main dialog
tweak: the option Fixed Bitrate was removed, if the bitrate or filesize is fixed depends now on what was edited last
update: masktools2 (AviSynth+) 2.2.10
update: mvtools (VapourSynth) 19
craigpro
15th June 2017, 15:49
Hi stax76 - just a feature idea - if there are subtitles in the folder where the source file is, could there be the option to MKVmerge them into the MKV output file?
I haven't tried encoding all of the problem 16:9 files as yet sorry, been a busy day.
stax76
15th June 2017, 16:02
Hi stax76 - just a feature idea - if there are subtitles in the folder where the source file is, could there be the option to MKVmerge them into the MKV output file?
StaxRip already does that for both audio and subtitle files but only if the filenames start the same, this should work:
24.mkv
24 English.srt
24 English.ac3
Yups
15th June 2017, 16:40
As a sidenote there is a new Media SDK for Intel available: https://software.intel.com/en-us/blogs/2017/06/09/whats-new-in-intel-media-sdk-2017-for-windows
https://software.intel.com/sites/default/files/mediasdk_release_notes.pdf
NikosD
15th June 2017, 16:57
It seems that new features are available to Skylake and Kabylake only.
Someone to inform rigaya in order to release a new QSVEnc version for the new MSDK.
stax76
15th June 2017, 17:01
Best address would probably be here: https://github.com/rigaya/QSVEnc/issues
NikosD
15th June 2017, 17:02
Or a direct email
ENiGMA59
15th June 2017, 17:19
Stax76 Private message , very important ;)
:thanks::thanks::thanks:
--------------------------------------
Hi Guy's , i search the best template for TVRiP-720p staxrip (.srip)
sample video :
http://www109.zippyshare.com/v/CBx3w6Xg/file.html
http://www109.zippyshare.com/v/DOTZdX4m/file.html
mediainfo : https://pastebin.com/2sb9aJEP
thanx in advance , upload .srip on @ zippy
stax76
15th June 2017, 18:36
@ENiGMA59
Except that truck drivers are usually not that attractive the file is nothing special. TS can processed in many different ways but many tools have issues with TS as it's very difficult to handle, besides the various free tools StaxRip includes there are two external tools known to handle TS very well, DGDecNV and TS-Doctor. Audio can just be muxed, you'll have to do some deinterlacing, there are some tutorials and a comparison tool (Tools > Advanced) which you can use to compare different filter and codec options, for questions about these options you can reach more members by creating a thread in the avisynth/vapoursynth and codec section in the forum.
Schattenspieler
16th June 2017, 07:53
…, you'll have to do some deinterlacing, …That shouldn't be the case, as 720p TV (DVB-C) material should be progressive (hence the p) and only 1080i (DVB-S) be interlaced. Can't remember ever having had a TV show in 720i. (Excluding scenes within a show, that should have been deinterlaced beforehand.) Though creating a new thread (or reviving an old one) is strongly recommended for any further questions related to that topic.
stax76
16th June 2017, 08:51
That shouldn't be the case, as 720p TV (DVB-C) material should be progressive (hence the p) and only 1080i (DVB-S) be interlaced. Can't remember ever having had a TV show in 720i. (Excluding scenes within a show, that should have been deinterlaced beforehand.) Though creating a new thread (or reviving an old one) is strongly recommended for any further questions related to that topic.
I'm not sure if the OP's question is problematic according to the forum rules since it's a scene release term and asks for best.
The specs of the sample are this:
https://pastebin.com/2sb9aJEP
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : MBAFF
Scan type, store method : Separated fields
Scan order : Top Field First
Schattenspieler
16th June 2017, 12:01
Oh, well, I should have checked the samples, indeed! My bad. So it's most probably satellite footage @1080 in which case interlacing is to be expected (and obviously present), yes.
Khun_Doug
16th June 2017, 16:27
New Feature Suggestion ... When a 2 pass encode is being processed, have a mechanism to save the raw video from the first pass and then use that as the input to the second pass. This wold save CPU by not having to process the filter chain a second time.
stax76
16th June 2017, 17:16
New Feature Suggestion ... When a 2 pass encode is being processed, have a mechanism to save the raw video from the first pass and then use that as the input to the second pass. This wold save CPU by not having to process the filter chain a second time.
I'm not sure it's easy to do, are people already doing this with another app or manually?
sneaker_ger
16th June 2017, 17:25
Usually you do 3 passes then.
a: script to lossless or near-lossless intermediate
b: first pass read from a
c: second pass read from a
Natty
16th June 2017, 23:50
FLAC is lossless so the quality is identical to the original, if needed I could add some option to decide if WAV or FLAC should be used for intermediate files and which app should be used to create the intermediate file, with my atmos test file ffmpeg isn't working correctly where eac3to encoded it fine.
heres a short 26 sec sample of 7.1 TrueHD+Atmos Track for u so that u can test for yourself http://tinyurl.com/thdatmos
please conduct test in following conditions, it will take only 5 mins max in total.
1) where audio encoder is qaac, codec is aac and channels = original (FLAC Intermediate)
2) where audio encoder is eac3to, codec is aac and channels = original
3) where audio encoder is eac3to, codec is aac and channels = 7.1. (WAV intermediate)
4) where audio encoder is qaac, codec is aac, channels = 7.1 (use WAV intermediate file created in step (3) as source in this case, not the original "TrueHD+Atmos TEST.mka".
5) where audio encoder is qaac, codec is aac, channels = 7.1
p.s i only want to use qaac and i would want intermediate file as WAV. and also u would notice that channels are incorrectly encoded as 2 whereas the source is 7.1. :confused: :helpful:
stax76
17th June 2017, 11:03
Usually you do 3 passes then.
a: script to lossless or near-lossless intermediate
b: first pass read from a
c: second pass read from a
I'll take a look how this thing works in megui.
@Natty
Is there a practical reason you prefer WAV over FLAC? As far as I know lossless means absolutely bit-identical lossless, thing with WAV is it appears to be broken/messy to me.
The WAV format is limited to files that are less than 4 GiB, because of its use of a 32-bit unsigned integer to record the file size header (some programs limit the file size to 2 GB)[citation needed]. Although this is equivalent to about 6.8 hours of CD-quality audio (44.1 kHz, 16-bit stereo), it is sometimes necessary to exceed this limit, especially when greater sampling rates, bit resolutions or channel count are required. The W64 format was therefore created for use in Sound Forge. Its 64-bit header allows for much longer recording times. The RF64 format specified by the European Broadcasting Union has also been created to solve this problem.
FLAC (/ˈflæk/; Free Lossless Audio Codec) is an audio coding format for lossless compression of digital audio, and is also the name of the reference codec implementation. Digital audio compressed by FLAC's algorithm can typically be reduced to 50–60% of its original size[citation needed] and decompress to an identical copy of the original audio data.
Khun_Doug
18th June 2017, 17:15
Usually you do 3 passes then.
a: script to lossless or near-lossless intermediate
b: first pass read from a
c: second pass read from a
That's something I have done in the past. I confess I do not know how to do part 1, create the lossless output from the filters, using StaxRip. I have used another tool. My thought was to combine steps 1 and 2. Since the filters are already completed and the data has been processed pass 1, just save the data in a temporary lossless file. Pass 2 will read that temporary loessless file. After pass 2 then just delete the temporary lossless file.
It was just a thought. If someone can explain how to create the lossless part using StaxRip I would appreciate it. I am finding 2 pass encoding to be useful.
stax76
18th June 2017, 18:23
@Natty
I've made quite a few changes in the audio department and there will be more changes.
If something goes wrong you can load the project from: File > Recent and run the job a second time. If you use 'Just Mux' as video encoder it will search existing encoder output from a previous runs, only if it don't find any it will mux the source video. I plan to add a dialog that will ask what should be done if the output files already exists.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Zetti
18th June 2017, 20:16
Changelog for StaxRip-x64-1.5.0.8-test is not updated.
Is there a chance to get it updated??
stax76
18th June 2017, 20:17
Should be online now.
Zetti
18th June 2017, 21:25
Yes that is it, thank you.
JohnLai
19th June 2017, 07:51
Testing 1.5.0.9, why does all encoder profiles add additional "--sar 12:11"?
Natty
19th June 2017, 10:38
thanks stax, i will test the latest test build now :)
stax76
19th June 2017, 11:05
Testing 1.5.0.9, why does all encoder profiles add additional "--sar 12:11"?
Probably because staxrip detects that this is the correct target pixel aspect ratio, 12:11 would be a non anamorphic SD PAL source. If you don't believe this is correct then please post a screenshot of the desktop like so:
https://www.dropbox.com/s/rocibnbuaer1pu9/2017-06-19%2011_58_45-Greenshot.png?dl=0
You can change the AR in the main dialog, the options dialog, the codec dialog or in the container dialog, the auto detection should be pretty reliable.
thanks stax, i will test the latest test build now
it has a w64 option just in case
JohnLai
19th June 2017, 12:07
Probably because staxrip detects that this is the correct target pixel aspect ratio, 12:11 would be a non anamorphic SD PAL source. If you don't believe this is correct then please post a screenshot of the desktop like so:
I see....I tried with NTSC dvd source and pixel aspect ratio changes accordingly. Guess everything is fine.
:thanks:
burfadel
19th June 2017, 12:38
In 1.5.0.9, there are new audio options. There is 'convert method' (which has always been there) and 'convert format' with options FLAC and w64.
I use QAAC to encode the audio, and it doesn't seem to take FLAC or W64.
The convert method (FLAC/W64) should be disabled all together when the audio output options is set to stereo, as it would be completely redundant?
Message when using QAAC and there's FLAC/W64:
qaac 2.64, CoreAudioToolbox 7.10.9.0
ERROR: Not available input file format
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 243
at StaxRip.GUIAudioProfile.Encode() in D:\Projekte\VS\VB\StaxRip\General\AudioProfile.vb:line 660
at StaxRip.MainForm.Encode() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 2477
at StaxRip.GlobalClass.RunJobRecursive() in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 36
stax76
19th June 2017, 13:04
In 1.5.0.9, there are new audio options. There is 'convert method' (which has always been there) and 'convert format' with options FLAC and w64.
I use QAAC to encode the audio, and it doesn't seem to take FLAC or W64.
The convert method (FLAC/W64) should be disabled all together when the audio output options is set to stereo, as it would be completely redundant?
Are you using the qaac files included in staxrip? Maybe you miss:
D:\Projekte\VS\VB\StaxRip\bin\Apps\qaac\libsndfile-1.dll
D:\Projekte\VS\VB\StaxRip\bin\Apps\qaac\libFLAC_dynamic.dll
burfadel
19th June 2017, 13:34
Are you using the qaac files included in staxrip? Maybe you miss:
D:\Projekte\VS\VB\StaxRip\bin\Apps\qaac\libsndfile-1.dll
D:\Projekte\VS\VB\StaxRip\bin\Apps\qaac\libFLAC_dynamic.dll
I did! :D. I realised and just came back to edit my post! I usually don't blanket update the apps/plugins, because several of them have newer versions that what is included in the pack.
Separate issue. I set the output in the dialogue box to 2 channels, and yet it still encodes the 6 channel audio (doesn't downmix the channels from 5.1 to 2). It appears right in the GUI as per normal though, it's just how it outputs. QAAC doesn't appear to have a channel mixing option so it would need to be done beforehand.
stax76
19th June 2017, 15:47
@burfadel
It's fixed now.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.1.1 unstable test build
new: added option to pre-render slow scripts into a lossless AVI file
new: improvements on the new x264 GUI introduced in 1.5.0.7
fix: downmix not used with qaac (regression in 1.5.0.9)
1.5.0.9 unstable test build
new: to run PowerShell scripts on certain events the Event Command feature is no longer needed, it's documented here: https://github.com/stax76/staxrip#powershell-scripting
new: there are 2 new options what to do in case the video and audio encoder output files alread exists from a previous job run (reuse, overwrite or ask (default)), the 'Just Mux' video encoder profile does alse reuse the output file from previous job runs, in case it don't exist it uses the source video
new: there is a new option to define which intermediate format should be used in case the audio encoder don't support the input format, supported is FLAC (default) and W64 (WAV > 4 GB)
new: there is a new option to define which app should be used to create the intermediate audio file (default is ffmpeg)
new: the MediaInfo window has 'Developer Mode' in the context menu to show the property names for programmers
tweak: help improved for: Main Menu > Help > Command Line: There is a special mode where only the MediaInfo window is shown using -mediainfo "inputfile", this is useful for Windows File Explorer integration with an app like Open++.
1.5.0.8 unstable test build
new: download button added to apps dialog's toolbar, only certain apps have a download URL defined
new: DGIndex added, this was removed before because there wasn't a x64 d2v source filter, now staxrip has x64 d2v filters for both avisynth and vapoursynth included
new: improvements on the new x264 GUI introduced in 1.5.0.7
fix: opening a project from CLI had asked to save the current project even if no changes were made since it was loaded
fix: wrong channel count used with dolby atmos
fix: the automatically generated audio profile caption in the main dialog of the current profile gets updated when the source changes
tweak: improved scaling on 96 DPI (relates to layout changes from 1.5.0.4)
tweak: improved audio specs parameter display in the main dialog
tweak: the MediaInfo window is startet as separate process, the window can be minimized and maximized, the layout improved
update: RgTools 0.96
update: NVEnc 3.11
burfadel
19th June 2017, 16:09
All good now, thanks for the quick fix! It works well, I do see the benefit of using FLAC as the intermediatory now that things are working properly.
Natty
19th June 2017, 22:48
thanks a ton stax! w64 worked flawlessly, in the latest build. true raw audio ! :D and the issue of original channel settings is fixed now which earlier was encoding 7.1 audio to 2 channel. i tried this in many different settings and original channels were retained. :)
Natty
20th June 2017, 07:50
Hi Guy's , i search the best template for TVRiP-720p staxrip (.srip)
sample video :
http://www109.zippyshare.com/v/CBx3w6Xg/file.html
http://www109.zippyshare.com/v/DOTZdX4m/file.html
mediainfo : https://pastebin.com/2sb9aJEP
thanx in advance , upload .srip on @ zippy
nx265.srip @ ZippyShare (http://www82.zippyshare.com/v/YzJiGNih/file.html)
JohnLai
20th June 2017, 15:58
Bug report
http://i.imgur.com/mtfVEwG.png
Changing the audio bitrate (blue line) doesn't change the kbps naming on green line even after I click OK.
stax76
20th June 2017, 16:05
@JohnLai
Probably the name text box has a custom name that is used instead of a auto generated name, it's probably OK if you clear the custom name.
edit:
probably there is something wrong, I'm trying to reproduce it.
craigpro
20th June 2017, 16:13
I'll need to download the newer unstable builds, I'm using 1.5.0.6 and out of about 100 files I've had 3 random files be generated with no audio. I just mux the original audio from the source files, no conversion. there are no errors reported and no log files. if i process the files again, they output with audio.
stax76
20th June 2017, 17:40
@JohnLai
Should be fixed in the next build.
@craigpro
In case you used the option to delete the temp folder after the job was processed the log file is moved to the recycle bin, in the next build it will be copied to the target folder.
JohnLai
20th June 2017, 17:47
@JohnLai
Should be fixed in the next build.
:thanks:
Fishman0919
21st June 2017, 09:50
Hi everyone,
I apologize if this is not the right place but I do need someone's help using StaxRip.
Can someone with an Intel i7 please test this build of x264 for me?
A friend with an Intel i7 (not sure model) has it hang when x264 starts to encode with StaxRip.
I compiled with Msys2 using MSVC 2017 libs. Work fine for me with my AMD CPU, a little boost with speed... but with no Intel to test myself... I was hoping someone could help out?
x264 2833_x64-8bit - LINK (https://www.mediafire.com/?jcokdib33x2ctuu)
Thanks
EDIT: Sorry and Thank You.... User error on his end... Thank You again.
Natty
22nd June 2017, 01:19
x265 GUI is modified in 1.5.1.2 and did u forget to add slow first pass option ? :D and i saved my settings as .srip file in previous build and in this build i used that file again by pasting it in templates folder but older settings were not retained. am i doing something wrong ? or is this how it works ? like we cant save our settings in .srip file :(
EDIT: found the slow first pass option.
stax76
22nd June 2017, 01:32
Type 'slow' in the search field. What is mixed?
qjb2016
22nd June 2017, 09:14
“Error Demux M2TS using eac3to 3.31 x86
Demux M2TS using eac3to 3.31 x86 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: 函数不正确。
M2TS, 6 audio tracks, 4 subtitle tracks, 2:07:56
1: TrueHD/AC3 (Atmos), 7.1 channels, 48kHz
(embedded: AC3 EX, 5.1 channels, 640kbps, 48kHz)
2: AC3, 5.1 channels, 640kbps, 48kHz, 1ms
3: AC3, 5.1 channels, 640kbps, 48kHz, 1ms
4: AC3 Surround, 2.0 channels, 224kbps, 48kHz, 1ms
5: AC3 Surround, 2.0 channels, 224kbps, 48kHz, 1ms
6: AC3 Surround, 2.0 channels, 224kbps, 48kHz, 1ms
7: Subtitle (PGS)
8: Subtitle (PGS)
9: Subtitle (PGS)
10: Subtitle (PGS)
Track 1 is used for destination file "00000 ID1.thd+ac3 -progressnumbers".
This audio conversion is not supported.
StaxRip.ErrorAbortException: Demux M2TS using eac3to 3.31 x86 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: 函数不正确。
M2TS, 6 audio tracks, 4 subtitle tracks, 2:07:56
1: TrueHD/AC3 (Atmos), 7.1 channels, 48kHz
(embedded: AC3 EX, 5.1 channels, 640kbps, 48kHz)
2: AC3, 5.1 channels, 640kbps, 48kHz, 1ms
3: AC3, 5.1 channels, 640kbps, 48kHz, 1ms
4: AC3 Surround, 2.0 channels, 224kbps, 48kHz, 1ms
5: AC3 Surround, 2.0 channels, 224kbps, 48kHz, 1ms
6: AC3 Surround, 2.0 channels, 224kbps, 48kHz, 1ms
7: Subtitle (PGS)
8: Subtitle (PGS)
9: Subtitle (PGS)
10: Subtitle (PGS)
Track 1 is used for destination file "00000 ID1.thd+ac3 -progressnumbers".
This audio conversion is not supported.
在 StaxRip.Proc.Start() 位置 D:\Projekte\VS\VB\StaxRip\General\Proc.vb:行号 221
在 StaxRip.eac3toDemuxer.Run() 位置 D:\Projekte\VS\VB\StaxRip\General\Demux.vb:行号 306”
stax76
22nd June 2017, 10:03
@qjb2016
You can try to select ac3 or thd as output selection instead of thd+ac3 and if this don't work disable track 1, I'm not sure if track 2 or 3 have the same content. If it's possible to hear a difference between HD audio and AC3 640 is controversial as far as I know. As workaround you can use MakeMKV, in any case it would be interesting if you also post m2ts and mkv MediaInfo.
edit:
I notice now that your m2ts file doesn't have a video stream, how and with what intention was it created?
edit2:
I've posted your log to the eac3to support thread and the author of eac3to posted that he would need a sample.
https://forum.doom9.org/showthread.php?t=125966&page=713
JohnLai
23rd June 2017, 06:14
Bug report:
Hmmm....been playing with 1.5.1.2, notice one weird bug.
Let say if I have a long file name with underscore instead of spacing such as "[SubbingGroup]_The_Title_of_Drama_or_Series_Around_Here_[HASH_VALUE_HERE].mkv"
and select x265 default preset, it will crash with "failed with exit code: 1 (0x1)"
The whole path doesn't even reach 255 characters limit.
The audio encoding ran just fine. Once it reach video transcoding section, it crashes.
Reverting back to 1.5.0.9 and both audio + video trancoding just fine.
burfadel
23rd June 2017, 09:13
Bug report:
Hmmm....been playing with 1.5.1.2, notice one weird bug.
Let say if I have a long file name with underscore instead of spacing such as "[SubbingGroup]_The_Title_of_Drama_or_Series_Around_Here_[HASH_VALUE_HERE].mkv"
and select x265 default preset, it will crash with "failed with exit code: 1 (0x1)"
The whole path doesn't even reach 255 characters limit.
The audio encoding ran just fine. Once it reach video transcoding section, it crashes.
Reverting back to 1.5.0.9 and both audio + video trancoding just fine.
What about the path when you consider the temp folder creation? The location could possibly be different between the different revisions.
stax76
23rd June 2017, 12:28
@John
Windows 7?
https://pastebin.com/ix9VHYxp
JohnLai
23rd June 2017, 13:19
What about the path when you consider the temp folder creation? The location could possibly be different between the different revisions.
Possible, but I make sure both 1.5.0.9 and 1.5.1.2 are using exactly same path.
R: is my RAM Drive.
Default Target Directory R:\
Default Target Name %source_name%
Temp Files Directory R:\%source_name%_temp\
Kinda weird when 1.5.0.9 works just fine.
@John
Windows 7?
https://pastebin.com/ix9VHYxp
Actually, win 10 1607. I send the log to your inbox
stax76
23rd June 2017, 13:39
I can reproduce it, it's probably because I removed quotes, internally I change everything to use quotes only if paths contain spaces.
edit:
It should work in the next build again, for these three ' ()' it will use enclosing quotes and for those two '^%' it will show an error because I couldn't get it working even with trying to escape it like so ^^ or so ^% or so %%. On Windows 7 anything above 137 in ascii (ä ü ö etc) will show an error due to CMD bugs and due to mp4box box the hash character # cannot be used, some limitations but for people with Win 10 it should be fine.
JohnLai
23rd June 2017, 18:00
I can reproduce it, it's probably because I removed quotes, internally I change everything to use quotes only if paths contain spaces.
edit:
It should work in the next build again, for these three ' ()' it will use enclosing quotes and for those two '^%' it will show an error because I couldn't get it working even with trying to escape it like so ^^ or so ^%. On Windows 7 anything above 137 in ascii (ä ü ö etc) will show an error due to CMD bugs and due to mp4box box the hash character # cannot be used, some limitations but for people with Win 10 it should be fine.
Oh...okay....as long as it works.
By the way, I just noticed "Start another in new instance" at "Jobs" windows is gone.
Why was it removed?
I was using it to run two instances of NVENC transcoding for batch transcoding a lot of drama and it is working fine.
stax76
23rd June 2017, 18:03
It starts now always a new instance and every instance runs only one job and runs then a new instance in case there are more jobs, it was changed because if memory issues. You still can start multiple instances side by side of course.
JohnLai
23rd June 2017, 18:31
It starts now always a new instance and every instance runs only one job and runs then a new instance in case there are more jobs, it was changed because if memory issues. You still can start multiple instances side by side of course.
O.o.....Okay...still can run two instances by clicking Start twice. For a moment there, I was worried the feature was gone for good. :D
Khun_Doug
23rd June 2017, 21:29
I see that as of 1.5.1.1 there is support to pre-render to a lossless AVI. I believe this is regarding the request to save the filter output as it is processed on first pass when doing a 2 pass encode or multi-pass encode. I don't see how to use the feature. And I did read the help files but didn't see it mentioned. Where are the controls for this located, or how do I activate it?
stax76
24th June 2017, 05:28
It's at: Options > Video > Pre-render...
mcjordan
24th June 2017, 17:03
NVEncC 3.13
- add deband filter (--vpp-deband)
- fix --vpp-perf-monitor not working
- fix crop issue when using cuvid decode
--vpp-deband [<param1> = <value>] [, <param2> = <value>] [...]
Parameters:
Range = <int> (default = 15, 0 - 127)
It is a blurring range. We take samples from neighboring pixels within this range and perform blur processing.
Mode = <int> (default = 1, 0-2)
Setting value: 0
Processing is performed while referring to one peripheral pixel and maintaining the original pixel value.
Setting value: 1
Blur processing is performed by referring to two pixels in total, one pixel at the periphery and its point symmetric pixel.
Setting value: 2
Blur processing is performed by referring to a total of 4 pixels including 2 peripheral pixels and their point symmetric pixels.
Thre = <int> (collective setting)
Thre_y = <int> (default = 15, 0 - 31)
Thre_cb = <int> (default = 15, 0 - 31)
Thre_cr = <int> (default = 15, 0 - 31)
Y, cb, cr The threshold of each component. If this value is high, while reducing the gradation skipping, fine lines and others will collapse.
Dither = <int> (collective setting)
Dither_y = <int> (default = 15, 0 - 31)
Dither_c = <int> (default = 15, 0 - 31)
Y, cb & cr's dithering strength.
Seed = <int>
Change of random number seed (default = 1234)
Blurfirst (default = off)
By reducing the dither intensity by blur processing first, we will raise the effect with the material with many gradation skipping.
Overall side effects become stronger and fine lines are more likely to collapse.
Rand_each_frame (default = off)
Change the seed value of each frame.
Example: --vpp-deband range = 31, dither = 12, rand_each_frame
stax76
24th June 2017, 18:11
@mcjordan
Good you posted this not an hour later. ;)
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.1.3 unstable test build
new: the new x264 GUI is complete, the old is gone
new: nvenc option --vpp-deband added
new: x265 option --[no-]refine-vbv added
new: added new menu to the PAR/DAR option in the container dialog
fix: in some circumstances file paths with parenthesis failed to process (regression in 1.5.1.1)
fix: right-click help didn't navigate to help URL on string options in the x265 and the new x264 dialog
fix: audio settings/profile display was wrong generated if the audio source file has multiple audio streams
fix: audio was converted to FLAC/W64 even if the output already existed and processing should be skipped (refers to a new feature added with 1.5.0.9)
change: medium crf value was changed from 22 to 20 for x264 and x265
update: x265 2.4+87
update: nvenc 3.13
https://s16.postimg.org/3lesxou5h/Unbenannt.png
https://s7.postimg.org/qckueivcr/Unbenannt.png
stax76
24th June 2017, 18:57
The deband GUI was kind of half baked (built in 20 minutes) so I uploaded it again as 1.5.1.4.
mcjordan
24th June 2017, 19:11
Thank you, Frank!
JohnLai
25th June 2017, 09:10
1.5.1.4 --> How to automatically delete the log after finish transcoding? Noticed the log is no longer created in Temp directory.
stax76
25th June 2017, 10:21
It's created in the temp folder but copied to the target file folder before the temp folder gets deleted.
In the next build you can create a powershell script called JobEncoded.ps1 with following code:
# active project
$p = [ShortcutModule]::p
$logFilePath = [System.IO.Path]::GetDirectoryName($p.TargetFile) + "\" + $p.Name + "_staxrip.log"
if ([System.IO.File]::Exists($logFilePath))
{
[Microsoft.VisualBasic.FileIO.FileSystem]::DeleteFile($logFilePath,'OnlyErrorDialogs','SendToRecycleBin')
}
This will move the log file to the recycle bin but only if it's located in the target file folder so if you don't use the feature to delete the temp folder it does nothing.
Taurus
25th June 2017, 12:03
Small cosmetic bug:
https://s15.postimg.org/ycyleh86j/50fps.png (https://postimg.org/image/72da6k59j/)
StaxRip-x64-1.5.0.6-test shows correct fps.
JohnLai
25th June 2017, 12:34
It's created in the temp folder but copied to the target file folder before the temp folder gets deleted.
In the next build you can create a powershell script called JobEncoded.ps1 with following code:
# active project
$p = [ShortcutModule]::p
$logFilePath = [System.IO.Path]::GetDirectoryName($p.TargetFile) + "\" + $p.Name + "_staxrip.log"
if ([System.IO.File]::Exists($logFilePath))
{
[Microsoft.VisualBasic.FileIO.FileSystem]::DeleteFile($logFilePath,'OnlyErrorDialogs','SendToRecycleBin')
}
This will move the log file to the recycle bin but only if it's located in the target file folder so if you don't use the feature to delete the temp folder it does nothing.
:confused:
Err......sounds a bit too complicated........:eek:
I prefer previous behavior where the log get automatically deleted together with Temp directory once transcoding is successful.
stax76
25th June 2017, 12:43
@Taurus
It was a string processing miss probably introduced while increasing decimal digits.
@JohnLai
I can change it to be saved under Settings/Logs, there is a ticket about it:
https://github.com/stax76/staxrip/issues/166
JohnLai
25th June 2017, 13:09
@JohnLai
I can change it to be saved under Settings/Logs, there is a ticket about it:
https://github.com/stax76/staxrip/issues/166
Staxrip auto delete log + temp directory feature is very important.....for privacy reason....hehehehe.....
Back in my younger day when I used Handbrake, my dad asked me why I transcoded several 18+ videos after he looked into handbrake logs directory. Didn't realize that damned handbrake store transcoding log at %appdata%. ~.~"" :o
Zetti
25th June 2017, 13:12
MKVToolNix v13.0.0 is released.
JohnLai
25th June 2017, 16:17
Feature request:
Possible to start 2 audio transcoding at once?
I have few China dramas with multiple audios.
Cantonese, dubbed English and Mandarin audios
Currently, staxrip is transcoding audio one by one. Since audio transcoding kinda uses one CPU core and it takes quite a while by transcoding audio one by one....is it possible to start multiple audio transcoding simultaneously and after that, starts video transcoding?
stax76
25th June 2017, 16:32
MKVToolNix v13.0.0 is released.
Next build has it included.
Possible to start 2 audio transcoding at once?
I would like to but it's a rather big task...
Natty
26th June 2017, 12:26
errors encoding using 2.4.87 https://pastebin.com/P2DXgjPg. everything is fine in 2.4.74.
i tested using http://www.mediafire.com/file/v7xdauig5gozxu4/x265_2.4%2B87-5f2330bdb8fa.GCC710.7z and http://msystem.waw.pl/x265/x265-2.4+87-5f2330b_gcc71-SSE41.7z
Natty
26th June 2017, 12:57
hey, can delete temp file/folder delete the files permanently? as the temp folder can be as much as 40 G.B. mere moving to recycle bin doesnt save disk space. thanks.
errors encoding using 2.4.87 https://pastebin.com/P2DXgjPg. everything is fine in 2.4.74.
Renamed options -- see https://bitbucket.org/multicoreware/x265/commits/586d06ad195ae6907282e8a9048770145c0bd437
stax76
26th June 2017, 15:39
@Natty
I can add more options but in order to make it more manageable I'm refactoring a lot code which might result in new bugs and reset settings.
@Ma
I have a automated test that is checking for common problems and compares my code file against the help console output of x265, nvenc, qsvenc and vceenc, theoretically staxrip is in sync 100%, there are some small issues sometimes but generally the CLI interface and documentation of most encoders are fantastic.
https://github.com/stax76/staxrip/blob/323f7c6ec4cd0df5c595909f1b6dd02c1701ea33/General/GlobalCommands.vb#L349
craigpro
26th June 2017, 16:28
stax76 - how do I batch resize a folder please? I have a folder of 1080p content which I want to resize to 720p. Thank you.
I have a automated test that is checking for common problems and compares my code file against the help console output of x265 [...]
I see, so the error messages:
x265.exe: unknown option -- analysis-file
x265.exe: unknown option -- refine-level
are from StaxRip. Impressive!
I just remind that:
old option name ==> new option name
--analysis-mode ==> --analysis-reuse-mode
--analysis-file ==> --analysis-reuse-file
--refine-level ==> --analysis-reuse-level
From ver. 2.4+85 up to 2.4+87 doesn't work 2-pass encoding (we are waiting for a patch).
stax76
26th June 2017, 18:32
I think the newest test build has everything changed correctly but I'll double check it when the patch is here.
https://github.com/stax76/staxrip/blob/master/Encoding/x265Enc.vb#L790
https://github.com/stax76/staxrip/blob/master/Encoding/x265Enc.vb#L976
stax76
26th June 2017, 21:51
hey, can delete temp file/folder delete the files permanently? as the temp folder can be as much as 40 G.B. mere moving to recycle bin doesnt save disk space. thanks.
I've forgotten there is already a setting under: Tools > Settings > System > Use recycle bin...
In the next build I move both to the settings as menu:
Disabled
Recycle Bin
Permanent
how do I batch resize a folder please? I have a folder of 1080p content which I want to resize to 720p. Thank you.
It's simple I believe, first you setup your empty project and then you add the source files in file batch mode, it then creates a job for every source file.
https://www.dropbox.com/s/gpr2yhowoxibpdj/2017-06-26%2022_48_37-StaxRip.png?dl=0
Natty
26th June 2017, 22:33
--analysis-mode ==> --analysis-reuse-mode
--analysis-file ==> --analysis-reuse-file
--refine-level ==> --analysis-reuse-level
From ver. 2.4+85 up to 2.4+87 doesn't work 2-pass encoding (we are waiting for a patch).
oh renamed commands were causing those issues. a lot of modifications in x265 lately. and thanks a ton for ur avx2 builds.
Natty
26th June 2017, 22:36
Disabled
Recycle Bin
Permanent
perfect . thanks :thanks::):)
suspiciousBob
27th June 2017, 21:13
It should work with the build from today.
Thank you for the fix; staxrip has taken every audio i have thrown at it and processed it as expected. great stuff
Another small bug (in 1.5.0.0 at least); it seems that staxrip can't burn in .sup subtitles (don't understand why, but fair enough). In tools > advanced > hardcoded subs, the extension filter has *.sup (and others) in the list but when a .sup file is selected stax throws "only idx, srt and ass file types are supported" error dialog.
stax76
27th June 2017, 21:29
It could probably be more intuitive and more clear, unfortunately AviSynth has no sup filter, only VapourSynth. At the moment I cannot change it as I'm trying to implement parallel audio processing, the code quality of this area is a total mess. :(
gonca
27th June 2017, 23:26
unfortunately AviSynth has no sup filter,
Suptitle
NikosD
28th June 2017, 07:48
Hello Frank.
A new QSVEncC v2.70 is available: (with a few new options and bug fixes)
https://onedrive.live.com/?id=6BDD4375AC8933C6%21482&cid=6BDD4375AC8933C6
ABDO
28th June 2017, 13:21
Hi Frank
just want to thank you for your great and hard work in staxrip ، and we strongly appreciate that
thank you very mush 😍👍
alter4
28th June 2017, 22:46
Excuse me guys, might be stupid question but I am newbie to StaxRip. Is recent "unstable" version really unstable? I like cutting edge software and what to try recent version if it is "beta" and not "alpha" quality.
burfadel
29th June 2017, 07:08
Seems for me Staxrip is preventing the monitor to turn off after the 5 minutes I have it set to. Not standby, just monitor off. Using knlmeanscl, but was never an issue before with earlier builds. Using latest test build, but was happening with the previous one as well.
stax76
29th June 2017, 10:31
@gonca
As far as I know there isn't a AviSynth+ x64 compatible sup filter that is working in a .NET client app. There is a filter from somebody who also worked on a player but it's discontinued and don't work in StaxRip.
A new QSVEncC v2.70 is available: (with a few new options and bug fixes)
https://onedrive.live.com/?id=6BDD43...DD4375AC8933C6
I'm getting:
D3D9Device: Failed CreateDeviceEx: -2005530516.
Failed to initialize HW Device. : null pointer.
Failed to CreateHWDevice. : null pointer.
QSVEncC.exe finished with error!
2.66 is working, maybe my driver is old, in device manager it shows as: 21.20.16.4534
@ABDO
You're welcome.
Excuse me guys, might be stupid question but I am newbie to StaxRip. Is recent "unstable" version really unstable? I like cutting edge software and what to try recent version if it is "beta" and not "alpha" quality.
Some are more stable than others, unless you want x265 2pass encoding the last test build should be fine. One issue the stable release for instance has is with mp4box muxing.
Seems for me Staxrip is preventing the monitor to turn off after the 5 minutes I have it set to. Not standby, just monitor off. Using knlmeanscl, but was never an issue before with earlier builds. Using latest test build, but was happening with the previous one as well.
I've not changed the code since it was added. I've changed a flag now and tested it successfully afterwards (without knlmeanscl), new flag is called PowerRequestExecutionRequired, old was PowerRequestSystemRequired.
burfadel
29th June 2017, 11:10
After some playing around it seems to be fine now! Must be one of those little glitches in Windows because of the use of the video card with knlmeanscl.
NikosD
29th June 2017, 11:25
2.66 is working, maybe my driver is old, in device manager it shows as: 21.20.16.4534
My Haswell Core i3 works fine using latest 15.40 drivers which is 4624 (compatible with Broadwell/ Haswell)
Take a look here:
https://downloadcenter.intel.com/product/81497
For Skylake/ Kabylake latest 15.45 drivers you can download 4678 version from here:
https://downloadcenter.intel.com/product/98909/Intel-HD-Graphics-630
stax76
29th June 2017, 11:48
Thanks for the link, with the new driver neither worked, after a second look at the error:
D3D9Device: Failed CreateDeviceEx: -2005530516
I remembered there are related options so I tried --d3d11 and this works.
NikosD
29th June 2017, 11:59
Ah OK.
I have my only GPU (iGPU) connected directly to the monitor, so D3D9 always works fine.
I think you need the latest driver/API and Kabylake for some new features of 2.70 to work, anyway.
JohnLai
29th June 2017, 13:35
Dear stax76,
Where did the 'fixed bitrate' option at Project Options go?
stax76
29th June 2017, 14:35
Dear stax76,
Where did the 'fixed bitrate' option at Project Options go?
It's set automatically depending on which text box (bitrate/size) was edited last.
stax76
29th June 2017, 18:40
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.1.5 unstable test build
new: parallel audio processing
new: added setting to define how many projects to keep under: 'Main Menu > Project > Recent', the setting is located at: Main Menu > Tools > Settings > General
new: added new thumbnail generation options
new: added new feature to archive log files in the settings directory, by default the last 50 log files are keept, this number can be customized at: 'Main Menu > Tools > Settings > General', the folder can be opened with the windows file explorer at: Main Menu > Tools > Folders > Log Files
new: qsvenc options --fade-detect and --repartition-check
fix: wrong fps display in main form for 50/60 fps
fix: version detection disabled for all VC++ runtimes because of issues with file projection via hardlinks and WINSXS
fix: two issues in x264 command line generation
change: renamed and reset setting to minimize to tray
change: nvenc vpp deband support improved
change: Option to delete temp files moved to: Tools > Settings > System
change: scaling and layout improved for numeric up down control and custom menu editor
change: code refactoring of dynamically generated dialogs (settings/options/codecs), this has let to changed data types and a reset of video encoder profiles
change: the mkv title tag in the container options isn't overwritten by a title tag of the source file when the source is loaded
update: mkvtoolnix 13.0.0.0
update: qsvenc 2.70
update: AviSynth+ 2508
update: x265 2.4+89
stax76
29th June 2017, 19:41
1.5.1.6 fixes some issues with the new process management.
JohnLai
30th June 2017, 04:33
It's set automatically depending on which text box (bitrate/size) was edited last.
Oh...Okay.
Thanks for the parallel audio processing feature.:thanks:
Unfortunately I can only test it on next week.
I lent my external hdd to my friend yesterday.
My decrypted dvd stuff is inside it.
Just few questions on parallel audio processing, how many instances of audio are being processed at once? Two instances or as many as available? Can audio processing instances be specified? Worried it gonna overload older generation of dual core CPU (very unlikely to happen :devil:) or those with slow HDD (input/output bottleneck, all hail RAMdisk and SSD)
Magik Mark
30th June 2017, 09:30
Stax,
Nice work on parallel processing of video & audio!
Magik Mark
30th June 2017, 09:32
Stax,
No pressure, how are we doing in:
--analysis-mode ==> --analysis-reuse-mode
--analysis-file ==> --analysis-reuse-file
--refine-level ==> --analysis-reuse-level
How will this be implemented in Staxrip? Do we have to use "save" in first pass then "load" on the 2nd pass
stax76
30th June 2017, 10:58
Just few questions on parallel audio processing, how many instances of audio are being processed at once? Two instances or as many as available?
Only the two audio files from the main dialog are parallelized so together with video encoding max three processes run in parallel. I hope I can implement a option shortly. Meanwhile I noticed the last build is pretty alpha, I hope can improve it shortly, threading is tricky, the design is still not great but it will be a good improvement in the end.
@Mark
So far I only tested if two pass works, if there is nothing in the next built please create a issue on the tracker, most feature requests there are implemented within two weeks at times I'm dedicated to staxrip.
Yups
30th June 2017, 21:20
https://abload.de/img/unbenanntk7j1o.png
Can I disable this message somehow? Because it's quite annoying when I test different settings for a video and I have to close this window over and over again.
When I use Avisynth decoder Staxrips shows me the remaining time but with ffmpeg DVXA2 as a decoder which is faster I don't see the remaining encoding time. Is this Staxrip related?
https://abload.de/img/unbenannt2knu6f.png
https://abload.de/img/unbenannt3q6uk6.png
stax76
1st July 2017, 04:15
Can I disable this message somehow? Because it's quite annoying when I test different settings for a video and I have to close this window over and over again.
Yes, it can be disabled in Options > Video and Options > Audio
When I use Avisynth decoder Staxrips shows me the remaining time but with ffmpeg DVXA2 as a decoder which is faster I don't see the remaining encoding time. Is this Staxrip related?
It's qsvenc related, the status line is always a 1:1 copy of the console output.
You can also do hardware decoding with DSS2 (DXVA copy back in LAV Filters) or with DGDecNV.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.1.7 unstable test build
new: setting added to define the maximum number of parallel processes (Tools > Settings > General)
fix: parallel process management hopefully much more stable
update: mvtools2 2.7.21.22
update: x265 2.4+96
burfadel
1st July 2017, 04:43
Thanks! I was just about to report a bug, it's probably been fixed now with the process management fixes. If it is still an issue I'll try my best to explain what is happening :).
burfadel
1st July 2017, 13:36
Unfortunately the problem is still there. I have set Staxrip to go to the system tray, and have multiple files in queue and just doing single encodes at a time for this lot. The staxrip window comes up fine for the first encode, but I believe on encode changes the interface gets stuffed, such that Staxrip will just go to the taskbar but with no window showing so you have no control and can't see progress etc. Only way I know an encode is still going is by the task manager.
I'll leave it in the taskbar and see what happens when it goes on to the next encode. Even the taskbar is completely blank and does not show progress like it normally does.
stax76
1st July 2017, 13:41
You have multiple jobs in the jobs list and can't show the job processing window when you click on the tray icon, is that right?
burfadel
1st July 2017, 14:12
I mean the whole Staxrip window will not show. I believe it happens when it is in the system tray (not taskbar), and it completes a task and goes on to the next one. If you click on the system tray icon Staxrip appears in the taskbar area but with no window showing. Before anyone suggests, no it isn't off the edge of the screen or on a different monitor :). In the case that did happen, it's still a bug because it should show back in the location it was before it was sent to the system tray.
Basically, when you click on the system tray icon, this is all that shows. The encode I believe is about 85 percent through, and still going in the background, but I have no idea of the exact progress.
http://i.imgur.com/c5LXydo.jpg
Just realised I slightly cropped the bottom of the image which is why it doesn't quite look right.
That is with the peek preview where you mouse over the taskbar icon and it shows a miniature display of the programs window. As there is no program window it just show the Staxrip icon.
Example with Firefox that I moved the taskbar icon over to it:
http://i.imgur.com/ahvbhkr.jpg
I have the background change every minute (thousands of scenery etc pics), which is why the taskbar looks different.
I left MPC-BE next to it open in thet taskbar paused to show the progress indicator of the file (yellow because it is paused). Staxrip normally shows the progress like this as well.
stax76
1st July 2017, 14:17
OK, I hope I can easily reproduce and fix it later today.
burfadel
1st July 2017, 15:40
It finished that task and went on to the next one, the Staxrip window reset and shows properly.
I forgot to mention in my previous post that it's happened multiple times, and was what I was referring to immediately after the 1.5.1.7 post. I think it was introduced with the changes in 1.5.1.5, as 1.5.1.4 worked fine.
Thanks for the link, with the new driver neither worked, after a second look at the error:
D3D9Device: Failed CreateDeviceEx: -2005530516
I remembered there are related options so I tried --d3d11 and this works.
It was a bug, he fixed that in QSVEnc 2.71.
stax76
1st July 2017, 17:44
@Yups
That's good news.
@burfadel
I'm currently debugging it.
stax76
1st July 2017, 19:17
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.1.8 unstable test build
fix: unable to show processing window from tray
update: qsvenc 2.71
burfadel
2nd July 2017, 15:12
Works great now, thanks for the speedy update!
fredlkrue
2nd July 2017, 16:12
Small cosmetic bug:
https://s15.postimg.org/ycyleh86j/50fps.png (https://postimg.org/image/72da6k59j/)
StaxRip-x64-1.5.0.6-test shows correct fps.
I still get wrong frame rate display for 29.76fps and 23.976fps (displays 23.976023fps) files using latest StaxRip build under windows 7.
25fps files displays fine, I haven't try other frame rates.
How do I cut the audio? When I cut the video using preview, the video gets cut, but the audio doesn't get cut. It remains the same.
stax76
2nd July 2017, 17:51
I still get wrong frame rate display for 29.76fps and 23.976fps (displays 23.976023fps) files using latest StaxRip build under windows 7.
It's fine, the value is returned from avs/vs, if there is something wrong then it's the source filter or another filter in your script.
How do I cut the audio? When I cut the video using preview, the video gets cut, but the audio doesn't get cut. It remains the same.
signature, log file
fredlkrue
2nd July 2017, 18:23
It's fine, the value is returned from avs/vs, if there is something wrong then it's the source filter or another filter in your script.
The issue is the display, but the end encoded file is fine, its not a big deal, thanks.
stax76
2nd July 2017, 18:26
The issue is the display, but the end encoded file is fine, its not a big deal, thanks.
The display is fine too, avs/vs/vfw use num/denum 24000/1001, staxrip uses system.double and truncates after 6 decimal digits and mediainfo truncates after 3 decimal digits.
Zetti
2nd July 2017, 20:53
x264 r2851 is released.
stax76
2nd July 2017, 22:53
x264 r2851 is released.
Thanks, next built has it included.
How do I cut the audio? When I cut the video using preview, the video gets cut, but the audio doesn't get cut. It remains the same.
signature, log file
I think I figured it out. It was because I was using split and manually editing the cutting filter instead of setting cut start and end in the preview.
mcjordan
5th July 2017, 14:47
NVEncC 3.14
CPU usage reduction etc. It may be suppressed considerably less when decoding HW.
[NVEnc.auo / NVEncC common]
- Reduce CPU utilization. Especially, CPU usage rate when using HW decoder is greatly reduced.
- Added option to specify CUDA scheduling mode. (-cuda-schedule <string>)
Mainly determines the behavior of the CPU when waiting for GPU task completion. The default is sync.
- auto - Leave the mode decision to the driver of CUDA.
- spin - Always run the CPU and monitor the end of the GPU task. The latency of restoration is the smallest, it is the fastest, but always uses the CPU usage for one core.
- yield - Basically it is the same as spin, but it gives over to other threads if there is one.
- sync - leep thread until GPU task is finished. Instead of slightly degrading performance, especially when using HW decoding, greatly reduce CPU usage.
- Adjust the way to synchronize CPU / GPU.
- Display the CUDA version at runtime in the log.
[NVEncC]
- Fixed the place where help display was wrong.
- Progress display garbage should not remain at the end of encoding.
- Use NVML to get information such as GPU usage rate. Only x64 version.
ENiGMA59
5th July 2017, 17:13
Problem muxing mp4 :scared:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Muxing using MP4Box 0.7.2-DEV-rev37 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"C:\Program Files\Staxrip\Apps\MP4Box\MP4Box.exe" -add "C:\Users\ENiGMA59\Desktop\RS 2\rs.2_temp\rs.2_new_out.h264#video" -add "C:\Users\ENiGMA59\Desktop\RS 2\rs.2_temp\rs.2_out1.ac3#audio:lang=fre:name=French DTS 1509kbps" -add "C:\Users\ENiGMA59\Desktop\RS 2\rs.2_temp\rs.2 ID4 French French.srt:lang=fre:name= " -chap "C:\Users\ENiGMA59\Desktop\RS 2\rs.2_temp\rs.2_chapters.xml" -itags encoder="StaxRip 1.5.0.0" -new "C:\Users\ENiGMA59\Desktop\RS 2\rs.2_new.mp4"
[32m[avc-h264] Possible Variable Frame Rate: VUI "fixed_frame_rate_flag" absent.
[0m[32mAVC-H264 import - frame size 1280 x 528 at 23.976 FPS
[32mAVC Import results: 153963 samples (157820 NALUs) - Slices: 2152 I 47621 P 104190 B - 1 SEI - 1928 IDR
[0m[32mStream uses forward prediction - stream CTS offset: 2 frames
[0m[32mAC3 import - sample rate 48000 - 5.1 channels
[32mTimed Text (SRT) import - text track 1280 x 528, font Serif (size 18)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Muxing using MP4Box 0.7.2-DEV-rev37 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Muxing using MP4Box 0.7.2-DEV-rev37 x64 failed with exit code: -1073741819 (0xC0000005)
The exit code might be a system error code: L'instruction à 0xp emploie l'adresse mémoire 0xp. L'état de la mémoire ne peut pas être s.
[32m[avc-h264] Possible Variable Frame Rate: VUI "fixed_frame_rate_flag" absent.
[0m[32mAVC-H264 import - frame size 1280 x 528 at 23.976 FPS
[32mAVC Import results: 153963 samples (157820 NALUs) - Slices: 2152 I 47621 P 104190 B - 1 SEI - 1928 IDR
[0m[32mStream uses forward prediction - stream CTS offset: 2 frames
[0m[32mAC3 import - sample rate 48000 - 5.1 channels
[32mTimed Text (SRT) import - text track 1280 x 528, font Serif (size 18)
Start: 17:55:13
End: 17:55:13
Duration: 00:00:00
Help me please , thanx in adcance
stax76
5th July 2017, 19:27
@mcjordan
Thanks, I'll update it.
@ENiGMA59
The newest staxrip test build has a newer mp4box build, I hope that it was fixed meanwhile.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
I'm getting a crash on ArgumentOutOfRangeException.
Log: https://pastebin.com/dhS07HZC
ArgumentOutOfRangeException
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at StaxRip.MainForm.ProcessJob() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 2493
at StaxRip.GlobalClass.ProcessJobs() in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 37
craigpro
6th July 2017, 13:44
It's simple I believe, first you setup your empty project and then you add the source files in file batch mode, it then creates a job for every source file.
sorry just wanted to say a thank you for this - I've always used folders and batch encoded every file in there - adding files is actually much easier (but not obvious).
stax76
6th July 2017, 17:22
@XP1
Did that happen once or can you reproduce it? It's a problem with the exception handling of the threads for the new parallel processing. I've made a change but without knowing exactly what went wrong it might not yet be fixed.
@craigpro
You're welcome, glad it works.
@XP1
Did that happen once or can you reproduce it? It's a problem with the exception handling of the threads for the new parallel processing. I've made a change but without knowing exactly what went wrong it might not yet be fixed.Yes, reproducible.
I think the problem has something to do with an empty sub file. When StaxRip is trying to cut a sub for a duration that has no subs (or maybe the sub is corrupt?), it creates an empty "..._cut_.sub" file (0 bytes).
If I disable the sub, it works fine. When I enable the sub again, it causes the crash. Something to do with processing an empty sub file? Crash occurs before mkvmerge stage.
stax76
7th July 2017, 16:01
That's it exactly, good catch! I also found out why the exception handling didn't provide better information.
stax76
7th July 2017, 16:16
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.1.9 unstable test build
new: context help is now implemented for all video encoders, a right-click on any label, menu or checkbox will show the help for the option, for nvenc, qsvenc and vceenc a new help browser was developed with powershell look and feel
new: UT Video added for ffmpeg video encoder GUI with options for: -pred (None Left Gradient Median) -pix_fmt (YUV420P YUV422P YUV444P RGB24 RGBA)
new: help improved for Tags in mp4box container options dialog, the help is runtime generated using the output from mp4box -tag-list
new: ffmpeg muxing formats menu and profiles added for: asf avi flv ismv mkv mov mp4 mpg mxf nut ogg ts webm wmv
new: audio target format W64 added with 16/24 bit depth option
new: nvenc options --cuda-schedule, --perf-monitor, --perf-monitor-interval
fix: cmd.exe is now used directly without batch files, this improves foreign/special character support in particular on Windows 7
fix: Jobs Processing window popping up while job processing even when staxrip was previously minimized
fix: tray icons not cleaned up
fix: in a few dialogs the help dialog was shown four times instead once
fix: broken scaling on DPI change using a multi-monitor setup with different DPI values, virtual scaling is used in that case now
fix: crash when cutting empty subtitles
change: all classes made public for powershell usage
update: x264 0.150.2851
update: nvenc 3.14
burfadel
10th July 2017, 09:45
I have found the Job processing window disappears when moving on to the next project. I still have it in the memory, it's still processing, but the Staxrip icon isn't showing in the tray or task bar.
lotnybartek
10th July 2017, 10:11
Can someone enlighten me the difference between: LA-VBR vs LA-HRD-VBR in terms of picture quality? Form Intel's docs: "With HRD compliance, the Coded Picture Buffer should neither overflow nor underflow. This rate control is recommended in storage transcoding solutions and streaming scenarios, where low latency is not a major requirement." - so in other word, subjective image quality should be better, because encoder is distributing bits more effectively (no buffer overflow nor underflow)? I'm lost.
stax76
10th July 2017, 10:18
@burfadel
I had this also but often it appeared after a short time, it's a bit difficult to test because with small files it usually cannot be reproduced and testing large files takes much time, maybe the source filters are sluggish sometimes, one thing that is a issue is that l-smash don't report progress while indexing. I'll run some tests before I upload the next build.
stax76
10th July 2017, 11:06
@burfadel
There is a issue with l-smash, it loads slow even if there is already a index file, every time you open the preview it loads slow, it does not happen with ffms2, this causes staxrip to be hidden while l-smash loads, there was some discussion about l-smash a megui thread, I don't know if it relates.
burfadel
10th July 2017, 11:28
I am currently using FFMS2. I have seens avs2pipemod and x265 running in the task manager "Details' list, so the encode is running just Staxrip is completely hidden. Maybe if I left it long enough it might appear? I did leave it for quite a while. This is new behaviour in 1.5.1.9, I believe 1.5.0.9 it didn't do it.
stax76
10th July 2017, 11:38
It might appear, I'll do more tests, parallel process execution started in build 1.5.1.5.
burfadel
10th July 2017, 11:53
It might appear, I'll do more tests, parallel process execution started in build 1.5.1.5.
Sorry! I meant 1.5.1.8 :). I was looking at the previous build still in the test upload location (Google drive), not thinking of the actual previous build number.
The 1.5.1.8 is the one that fixed the issue I reported:
fix: unable to show processing window from tray
which worked well for me. I guess for some people that introduced a new error though, which was fixed in 1.5.1.9. My guess it's related to this:
fix: Jobs Processing window popping up while job processing even when staxrip was previously minimized
fix: tray icons not cleaned up
I did notice the second issue about the tray icons. The dialogue window not accessible in the task tray etc could either be related to the cleanup (cleanup of all icons including active one), or it could be related to the first fix? For me I've only noticed it as an issue when proceeding to the next job.
stax76
10th July 2017, 12:01
The tray icon cleanup happens when the app closes so it should be unrelated, the issue with the dialog popping up when it shouldn't was threading related I think, only thing I can do is run tests until I find something that can be reproduced.
burfadel
10th July 2017, 12:11
Ah ok! At least knowing it was working in 1.5.1.8 is hopefully beneficial. It seems to only occur at the changeover to a new encode, maybe it simply isn't creating the new tray icon now?
stax76
10th July 2017, 12:53
Without being able to reproduce it I can hardly do much, for any problem it's always crucial it can be reproduced, if things happen only arbitrary under special and unknown conditions it's usually gonna be a big drama until a solution is found.
What you can do when it happens again is write down the time to make a guess from the log file what it was doing. If there is a process running like x264 you can check the file properties of the h264/h265 file to see if the file is being written to.
stax76
10th July 2017, 14:21
@burfadel
Let's see if this built is more stable.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.2.1 unstable test build
new: various new features and improvements in the apps management dialog
new: The jobs dialog will show it's help the first time jobs are started explaining staxrip's parallel processing features
change: tray icon stays visible even when the job processing window is visible
change: mpc replaced with mpv
fix: when automatic demuxing of the video stream is enabled or if demuxing of the video stream was enabled in the demuxing dialog the demuxed video stream wasn't opened afterwards but still the original video was opened
burfadel
10th July 2017, 15:04
Thanks, I'll download it now and use it once the current job is finished. I'll run it overnight and see how it turns out tomorrow morning :).
EDIT:
1.5.2.1 seems to be working fine! I retoggled the minimise to tray option since I unchecked it earlier and it seems to be working. I'll find out tomorrow (well, later today now) whether the issue is resolved.
Thanks Stax!
burfadel
10th July 2017, 23:08
It seems if you leave the job in the tray and it goes on to the next one, it's like the issue I had recently here: http://forum.doom9.org/showpost.php?p=1810844&postcount=2233
However, it looks a little different:
http://i.imgur.com/ovuVkK7.jpg
The window is completely blank instead of having the Staxrip icon. Unlike before though the current encode progress seems to be showing, the current encode is about half done when I looked at the output files (still progressing properly), hence the half green icon. The window does not show, and if you click on it again it just returns to the system tray.
stax76
10th July 2017, 23:14
Looks not good, when the job completes please send me the log via PM in case it's triggered by certain settings. Which process or processes where processing at that time?
burfadel
11th July 2017, 04:15
For the first job it's okay, it's when it goes on to subsequent jobs and Staxrip is in the system tray it doesn't restore, it comes up as shown in the screenshot. The window doesn't appear nor does the peek.
I'll send you a log of the previous job and the Staxrip settings.bin file.
EDIT: I saw x265 in the task manager finish, so I clicked on the task tray icon, the window popped up, and as it was changing over with muxing, going to the next job, encoding audio and video it popped up and displayed. If I return it to the task bar and restore it, it works, and will do until the next encode.
However, I stopped that encode, and started it again. This time, I immediately returned it to the system tray before the audio task etc had been done, and it won't restore. So, it will only restore if you already had it open when the last task was listed in the dialogue window, such as the x265 encoding.
It seems the dialogue window isn't created with the new task tabs (audio, video encoding etc) when minimised to the task tray. If you have it open, since it is already created it continues to work from the task tray unless the tabs change.
stax76
11th July 2017, 10:52
When it happens how many audio streams to encode has the project and how many processes run in parallel (Settings > General > Number of processes)? I don't have a Ryzen CPU but I can try to setup a similar mt avisynth script, maybe it has something to do with the mt script and thread priorities which might be different when the form is minimized or hidden.
burfadel
11th July 2017, 11:20
Just one audio stream, and one process at a time since the script is pretty heavy. If I were doing normal encoding I'd run two in parallel like I have previously (just running Staxrip twice instead of having it combined in the one interface).
Like I said though, it didn't happen in 1.5.1.8, so it's something that was changed between 1.5.1.8 and 1.5.2.1. I would go back to 1.5.1.8 to make sure, but I no longer have the staxrip.exe and .pdb files from that build. Is it possible to have a test build of 1.5.2.1 without the two changes:
fix: Jobs Processing window popping up while job processing even when staxrip was previously minimized
fix: tray icons not cleaned up
As the issue seems to relate directly to the first fix? I presume when it was popping up from being minimised it refreshed the window, which doesn't seem to be happening now. I don't recall actually having the problem it fixed, but maybe I just didn't notice it. If not that's okay! It's just the only change between the builds that I can think it would be related to.
stax76
11th July 2017, 11:33
I hope I will be able to reproduce it, git allows me to look at differences between commits so I can check what I've changed after 1.5.1.8, at many commits I rewrote the threading code heavily thought so it will be difficult to spot something specific, unfortunately I only commit when I upload a new build and don't write comments in the commits.
burfadel
11th July 2017, 12:37
All good! I thought it would be difficult, but asked just in case. For me some short test clips with basic script worked fine. This is with x265 super fast (just for the test), QAAC 2 channel, subtitles.
They're DVD source.
Now, I encoded a clip h264 video with a subtitle track, basically making a couple of encodes by changing the file name and clicking next, and I could not restore it from the system tray. If I remove the subtitles from the container options, it works! So I proceeded to add some filter back into the encode, and it doesn't work...
So I can see why it is difficult to find. Try a clip with embedded subtitles for use and see if that triggers it for you, keeping in mind it must be in the task tray (not task bar) when the changeover occurs to the next project, and it's the next project that is unable to be shown.
stax76
11th July 2017, 12:42
It might be arbitrary, at least I saw it once now, I'll try it with your subtitle setup.
stax76
11th July 2017, 16:10
I've tried all day to reproduce it without success, maybe I can see a pattern if somebody else has it also, I've still uploaded a build with minor thread synchronization changes.
What exactly happens when you click on the tray icon? You see the taskbar icon but absolutely no Window?
You said the taskbar icon shows correct progress, this progress is updated in the GUI thread of the job processing window which means it's not deadlocked.
burfadel
11th July 2017, 16:22
That's right, the window just won't restore. It seems only when minimised to the task tray and it changes tasks. I notice the old icon is closed at the end of a job and a new icon is created when in the task tray, it might be related. This is why there were numerous old icons that need clearing. Is it possible to have it all self contained with one icon creation, and everything process in that window? This would also resolve the issue with it not showing since it isn't a new icon and associated window.
I'll try the updated build when it's not 1 am :D! In the afternoon.
stax76
11th July 2017, 16:37
After every job the instance shuts down and starts a new instance, that was done because I couldn't figure out why memory grows 50 MB after every job without ever being released, tray icon creation and removal should now be once per instance.
If it happens again please examine it with winlister, it shows coordinates and has a restore feature, maybe it's just offscreen for whatever reason, do you use virtual desktops or multiple monitors?
http://www.nirsoft.net/utils/winlister.html
burfadel
12th July 2017, 05:11
Still no luck with the 1.5.2.2. Maybe I'll just minimise it to the taskbar from now on since it only happens when it's in the tray, and nobody else seems to have the issue!
stax76
12th July 2017, 09:34
Right now you don't have another choice, you could use a virtual desktop dedicated to encoding if a permanent taskbar icon bothers you. I still hope we'll find it soon.
burfadel
12th July 2017, 11:28
It's fine! It's not an issue at all, the tray icon is merely a nicety :). It's good that there's the option to have it go the the taskbar instead, which I'm guessing there are probably many people who don't know that there is a toggle setting for it. Thankyou for taking your time looking into it!
stax76
12th July 2017, 13:52
I'm rather sure I finally found it. :)
_Mike_
12th July 2017, 17:45
Hello, Stax!
I use 1.5.0.3 as stable and try to use last build. New GUI x264 is impressive .. but please help me find option - Aimed quality from old GUI in tab "Compressibility check" :confused:
burfadel
12th July 2017, 18:22
I'm rather sure I finally found it. :)
Thanks!
stax76
12th July 2017, 19:26
@Mike
It was never added to the new generation encoder dialogs, you can find it in the build below, just enter 'aim' in the search field.
@burfadel
You're welcome, I hope the new build is more stable.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.2.3 unstable test build
new: aimed quality feature of the old x264 GUI added to the x264 and x265 GUI
fix: unable to recover processing form from tray
fix: unable to open new files (start new processes) after the process abortion feature was used
update: x265 2.4+99
burfadel
13th July 2017, 11:05
I tested it on the short clips that didn't work previously, and it seems to work now! :). I'll see what happes with normal use.
stax76
13th July 2017, 12:14
It was fine when a source file was opened and then encoded but not when a project was loaded and a process was never started before in the instance, I have a special mode for debugging so that running a job don't start a new instance and I can inspect the job processing with the debugger, that unfortunately made a difference, the problem was the form constructor was not created on the same thread that started the message pump which caused the notify icon click event not to be raised. When I noticed it I already worked on something else, I could then consistently reproduce it for a couple of minutes but lost it a after I while, I kept looking then until I found that it happens when I load a saved project.
_Mike_
13th July 2017, 14:48
new: aimed quality feature of the old x264 GUI added to the x264 and x265 GUI
Thanks a lot! This unique feature "Comp. check /aimed quality " is very useful!
_Mike_
14th July 2017, 05:35
Icon from task bar is lost when start or finish comp. check and staxrip i can see only in task manager
Minimize to tray - unticked
test build 1.5.2.3 Win 7
burfadel
14th July 2017, 06:23
Icon from task bar is lost when start or finish comp. check and staxrip i can see only in task manager
Minimize to tray - unticked
test build 1.5.2.3 Win 7
I was going to report basically the same thing! However, I thought I'd put it off in case it was just a carry over thing from the maximise issue.
What happens is when you restore the window after encoding only this will show:
http://i.imgur.com/FmMk05z.jpg
It might be hidden somewhere on your screen depending on where you last had it. You can move the cursor to the edge of the title bar, as posted, and expand it so whatever size you want and the information is displayed correctly. I thought it might have been a window size restore thing after the last issue about it not maximising and your too are experiencing it, or it could be a bug.
I notice in the registry key:
Computer\HKEY_CURRENT_USER\Software\StaxRip
It has ProcForm Pos Y and ProcForm Pos Y, but the size of the window is not stated.
stax76
14th July 2017, 11:20
I've seen windows os collapsing forms when the user minimizes the form and the form don't has a taskbar button, that would explain it, probably I call minimize somewhere while there is no taskbar button active.
Natty
14th July 2017, 13:55
1.5.2.4 unstable test build
new: qaac has a new option to pipe from ffmpeg instead of converting to FLAC/W64/WAV
great :goodpost::thanks:
stax76
14th July 2017, 14:24
@burfadel and _Mike_
I hope it's better with 1.5.2.5
@Natty
I hope it gives some performance boost.
Schattenspieler
14th July 2017, 20:52
Just updated from 1.5.0.1 to 1.5.2.3 and while my templates are still there, they're all useless now, messed up, and it feels weired, because even the templates for x265 are now using x264 presets and standard bit depth for x265 is 10? Did I do something wrong or do I have to "rebuild" my templates from scratch? (I just extracted the new 7z into my StaxRip folder.) That would be a downer, cuz I don't know that much about videocoding and spent quite some time looking up all the settings and adjusting them.
stax76
14th July 2017, 20:55
Just updated from 1.5.0.1 to 1.5.2.3
Why not 1.5.2.5?
Schattenspieler
14th July 2017, 21:08
I just downloaded it yesterday and did a test run today, only realising said problem after the first file went through and it was suspiciously bigger than expected. The jobs were created using 1.5.0.1 though. Will try 1.5.2.5. now …
Edit: Sadly, still the same thing. I also have to use the "Version" command (F12) twice, to get it to "ok". Does that sound fishy?
stax76
14th July 2017, 23:46
While I replaced the old x264 GUI with the new GUI I also improved all other video encoder GUIs. I found bad design in shared base components, the changes were too big to do without a reset, adding migration code is always possible but when I work on big features it's already a lot stress so I just reset it, that results all projects get the default which is x264. I could probably add a import feature to the video encoders to import from a command line, the code is mostly already there I think.
x265 has now 10 bit as default, I thought it makes sense.
When I update apps I use F12 myself all the time, I never have to use it twice so it could be a bug, does it happen for all apps? Do different staxrip versions use a shared settings dir (bad idea)? Is the startup dir write protected?
burfadel
15th July 2017, 05:28
@burfadel and _Mike_
I hope it's better with 1.5.2.5
Sorry Stax! 1.5.2.5 still doesn't restore the window. In 1.5.2.3 when I clicked on it the window appeared as in the screenshot,a and this could be easily expanded. It also appeared in the taskbar as it should. 1.5.2.5 does not restore at all, clicking on the tray icon doesn't (apparently) do anything.
Again, this is only on the change of encodes. If it were maximised like it is when starting a project and you put it to tray, it works until the next job.
wallander
15th July 2017, 06:06
Hello,
since some years I use this wonderful software for converting my TV- recordings to h264. Your powerful software offers many many possibilities to convert video and audio content.
Thank you very much for your tireless work.
Can you answer me one question.
How can I update staxrip without loosing my settings and templates?
At the moment I use 1.5.0.0.
Can I copy the new version over the old one?
My settings folder is within the app folder.
:thanks:
Natty
15th July 2017, 07:51
for all users who have problems in retaining templates and settings the fix can be easy sometimes and sometimes very hard. always extract staxrip into desktop under a folder, when a new version comes start stax and set directory to desktop/stax folder. copy old .srip to newer version's folder. and re start stax and select that .srip template. start both old stax and new stax side by side and compare app settings, encoding settings, filter settings etc and it can be sometimes same and sometimes not. lastly done forget to save encoding profiles and save template again in newer stax and select option of loading it on startup.
Schattenspieler
15th July 2017, 09:16
I understand that on some changes it's not advisable to just import older settings, but some warning, that my settings will be trashed and maybe I should do a backup before hand, just in case, would be helping. Because smth. is really messed up here:
I just checked my next run and while the manually checked setting for x265 was on crf25, the resulting file looked smth. like this:Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L3.1@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 51 min 45 s
Bit rate : 132 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.006
Stream size : 48.8 MiB (51%)
…
reuse-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=25.0 / qcomp=0.60 / qpstep=1 / stats-write=0
…That's should be impossible, right? And it's not even close to crf25. :confused:
x265 has now 10 bit as default, I thought it makes sense.Oh, it makes sense, if the expected source material is 10 bit. As I'm usually converting TV material, at least for me, it doesn't make sense. But that's not a problem, anyway, is it? I'll just change the preset. It just seemed peculiar to me. Allright, moving on …
About F12: Yes, I had/have to do it twice on every app, that needed "adjustment". I don't know about the "startup dir" (Ahw, well, still no striking bbcode? :( )
Nevermind, just cheked to find there is an actual setting for a startup dir. It is the install dir, which is on D:\ with most of my other programs and not write protected in any way. Also I don't have any AV programm installed/in use (just to rule that out).
Do different staxrip versions use a shared settings dir (bad idea)?I'm not sure, as to what you mean by that. I only have a single "installation" of StaxRip on my rig and when overwriting a previous version, I don't change the dirs. So there is sharing, but in a serial way, not parallel.
Having said all that, I'm going to completely wipe all residue of former StaxRip versions from my disk(s) and start all over again, see what happens then. Should be fine I guess, but magic and Murphy's law still apply. :scared:
[…] start both old stax and new stax side by side and compare app settings, encoding settings, filter settings etc […]No way! … computers were made for that and I'm using one right now. That could be automated and done by the program itself (not saying that it's needed, though, just saying).
Magik Mark
15th July 2017, 12:31
Stax
May we now the significance of this new feature:
"new: qaac has a new option to pipe from ffmpeg instead of converting to FLAC/W64/WAV"
Better quality perhaps? Or just faster?
dvd_maniac
15th July 2017, 14:21
I'm getting a crash using 1.5.0.0 when trying to use mp4 container:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Muxing using MP4Box 0.7.2-DEV-rev37 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
C:\StaxRip\Apps\MP4Box\MP4Box.exe -add "I:\Torrents\Done\1_temp\1_out.hevc#video" -add "I:\Torrents\Done\1_temp\1 ID2_out1.m4a#audio:lang=eng:name=" -itags encoder="StaxRip 1.5.0.0" -new I:\Torrents\Done\1.mp4
[32mHEVC import - frame size 752 x 416 at 29.970 FPS
[32mHEVC Import results: 2100 samples (2104 NALUs) - Slices: 40 I 555 P 1505 B - 1 SEI - 1 IDR
[0m[32mStream uses forward prediction - stream CTS offset: 2 frames
[0m[32mOpenGOP detected - adjusting file brand
[0m[32mIsoMedia import 1 ID2_out1.m4a - track ID 1 - HE-AAC (SR 24000 - SBR-SR 48000 - 2 channels)
Start: 9:17:08 AM
End: 9:17:11 AM
Duration: 00:00:02
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Exception
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
System.ComponentModel.Win32Exception (0x80004005): The resource loader failed to find MUI file
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 208
at StaxRip.MP4Muxer.Mux() in D:\Projekte\VS\VB\StaxRip\General\Muxer.vb:line 293
at StaxRip.MainForm.Encode() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 2192
at StaxRip.GlobalClass.RunJobRecursive() in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 36
stax76
15th July 2017, 14:22
@burfadel
I just checked my current build and it was OK here, if it's not soon getting better I'll add a debug logging feature. A lot of the difficulties have something to do with every job running in a new instance.
@wallander
StaxRip uses a dictionary in the registry to assign every startup folder (the location of StaxRip.exe) to a specific settings folder so you can use different builds with different settings side by side. There are different ways to work with it, like how Natty does. New builds try to be compatible with old settings but often it's very difficult to migrate everything.
I understand that on some changes it's not advisable to just import older settings, but some warning, that my settings will be trashed and maybe I should do a backup before hand, just in case, would be helping.
Making a automatic backup is something that might be simple enough to add.
To find a problem it's usually best to see a full log file.
To be sure about the 10 bit default I would have to ask somebody who knows better like sneaker or LigH.
May we now the significance of this new feature:
"new: qaac has a new option to pipe from ffmpeg instead of converting to FLAC/W64/WAV"
Better quality perhaps? Or just faster?
It's probably faster because you don't need to write a big temp file to disk, it depends on the source format, staxrip decodes it with ffmpeg without writing to disk to figure out the gain for normalizing, with fast encoders like qaac and nvenc and parallel processes disk IO can be a bottleneck, with nvenc, dgdecnv and ssd you can do a full hd blu-ray movie with encoding two audio streams in like 5-10 minutes I think.
stax76
15th July 2017, 14:31
@dvd_maniac
Better do search and replace your paths with a text editor, the mods will thank your for it, there are many good editors, I like sublime text.
The problem could be the old mp4box Build, the newest staxrip test builds has a newer mp4box build, the staxrip issue tracker has same solved items regarding mp4box.
wallander
15th July 2017, 15:30
@Natty
@stax76
Thank you for your statements.
When the next stable version is out, I will test your methods with the diffrent versions.
At the moment, the 1.5.0.0 is o.k. for me.
stax76,
thank you for you ongoing hard work.
Community,
thanks for testing.
stax76
15th July 2017, 17:17
@wallander
You're welcome, the whole processing thing was always staxrip's weakness, I hope someday it's on par with things that worked out better.
@burfadel
I thought about changing the design by not using a new instance for every job but only use a new instance if too much memory is consumed and also try to fix the memory management issues.
dvd_maniac
15th July 2017, 18:51
I'm trying to update my automated program to use with the new Staxrip (1.5.0.0) and I'm using the following code to encode all files in a particular folder
for /F "tokens=*" %%a in (I:files.txt) do (C:\StaxRip\StaxRip.exe -LoadTemplate:25 "I:\%%a" -StartEncoding -exit)
The problem is that it opens up a new Staxrip instance for every file and runs them all simultaneously instead of running them one at a time.
What am I doing wrong here?
stax76
16th July 2017, 04:45
@dvd_maniac
I think the problem was a design change that grandiosely failed from start to end, the new built reverts it.
#### Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
#### Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
#### 1.5.2.7 unstable test build
- fix: job processing is now done in the current instance like in the past
- fix: turned out staxrip never had a memory issue but the experimental ffms2 build was leaking memory
Magik Mark
16th July 2017, 05:04
Stax
Can you recommend the best way to convert HDR to HD
Sent from my iPhone using Tapatalk
burfadel
16th July 2017, 09:06
- fix: job processing is now done in the current instance like in the past
- fix: turned out staxrip never had a memory issue but the experimental ffms2 build was leaking memory
I'll try it out!
Since yesterday I was trying out 1.5.2.4. This build when you click in the system tray on subsequenty encodes it restores to the taskbar, it's just minimised. Once you click on it the window displays properly.
This almsot sounds obnoxious (not intending to be!), have you reported the memory leak to Myrsloik?
Magik Mark
16th July 2017, 09:31
Stax,
V1527, No shutdown option after encoding?
stax76
16th July 2017, 10:54
@burfadel
I've reported it now and hope it's easy to find.
@Mark
No shutdown like GUI controls being hidden or the shutdown not working? I tried standby a few times last night, that was OK.
burfadel
16th July 2017, 11:29
New bug in 1.5.2.7. If you cancel a job, for some reason the job list gets wiped. If you are encoding and it goes onto the job the list remains. On the plus side the window now restores properly!
I tried 1.5.2.6 and that doesn't have the issue.
craigpro
16th July 2017, 12:06
Oh, it makes sense, if the expected source material is 10 bit. As I'm usually converting TV material, at least for me, it doesn't make sense. But that's not a problem, anyway, is it? I'll just change the preset. It just seemed peculiar to me. Allright, moving on …
not quite true.. I also encode 8bit source, however by selecting 10bit in x265 the output file is a good 10% SMALLER than using 8bit.
I have done side by side comparisons of the same source file.
stax76
16th July 2017, 12:50
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.2.8 unstable test build
new: everytime the settings are saved there is also a backup of the settings saved in the settings folder
fix: in case of high memory usage like a avisynth filter leaking memory, if staxrip detects more then 1500 MB memory are consumed while jobs are processed it restarts
fix: job list got wiped when a job was aborted
fix: if an error happened in a job processing was aborted instead of continuing with other jobs
Schattenspieler
16th July 2017, 13:51
…, however by selecting 10bit in x265 the output file is a good 10% SMALLER than using 8bit.
Thank you for pointing that out. As said, I'm no pro in video encoding. It just didn't make much sense to me, to encode 8bit using 10bit, like putting a smaller package in a bigger one. And I'm not quite sure as to how many Displays actually support 10 or even 12bit color space.
BUT that may not have to do much or anything with that. I did some reading now and have to revise my opinion! Actually, it makes much sense to do 10bit encoding (or at least prefer it over 8bit). A short insight is given here for example: http://x264.nl/x264/10bit_02-ateme-why_does_10bit_save_bandwidth.pdf
When encoding with the 10-bit tool, the compression process is performed with at least 10-bit
accuracy compared to only 8-bit otherwise. So there is less truncation errors, especially in the motion
compensation stage, increasing the efficiency of compression tools. As a consequence, there is less
need to quantize to achieve a given bit-rate.
The net result is a better quality for the same bit-rate or conversely less bit-rate for the same quality:
between 5% and 20% on typical sources.Which makes total sense because the diff. between 8->10 bits is roughly 20%.
Now I'll try v1.5.2.8 and consult Murphy later. ^^
stax76
16th July 2017, 14:07
@Schattenspieler
I've added a feature to import a video encoder command line from the clipboard, if it's useful for you then you could post a command line so I can check if it works correctly, for simple numeric, boolean or option options it should work across all codecs but some special things like tune and deblock will need special handling, I can add some of these special things if it's simple enough, likely yes.
sneaker_ger
16th July 2017, 14:11
Which makes total sense because the diff. between 8->10 bits is roughly 20%.
Each bit doubles the amount of possible values. So by going from 8 bit to 10 bit calculations you reduce rounding errors by 75%. Of course it is more complicated because HEVC encoding is a composition of many different calculations.
colinhunt
16th July 2017, 22:20
Hi stax76, and thank you for an excellent program! I've been digging into it for a few days now, and I'm finally getting to grips with it. I'm using the official 1.5.0.0 release, so it could be later betas have already obsoleted my question (in which case sorry for wasting everyone's time).
I recently switched to VapourSynth filters and saw a remarkable increase in encoding speed, compared to using equivalent Avisynth filters and x265 settings. However, CPU usage hovers around 65-70% so there seems to be a bottleneck somewhere.
I went though Staxrip menus and googled for a while but could not find how to adjust MT mode, amount of memory and number of threads Vapoursynth is running under Staxrip. I thought that maybe fiddling with those could increase the encoding speed further since there's still some juice left in the CPU.
Thank you!
Natty
16th July 2017, 22:31
CPU usage hovers around 65-70% so there seems to be a bottleneck somewhere
maybe try to change process priority under staxrip settings ? and using avx2 build of x265
stax76
16th July 2017, 22:32
Hi colinhunt, I would guess the bottle neck is x265, sadly I don't encode much since some years and I'm more interested in nvenc and x264 so I don't have great experience with x265. Your best option might be to run two encodes and staxrip instances in parallel if you have the chance for it. VapourSynth does MT out of the box, there are some VapourSynth threading options but I don't remember details, sorry if this don't help much.
Natty
16th July 2017, 22:35
1. what is impact of piping on quality of final m4a qaac audio encoded from 7.1 atmos, and its difference vs converting to w64, apart from temp w64 file creation.
2. do we now have to overwrite .srip file and backup/settings.dat file in newer versions ? and what data does there 2 files store ?
:thanks::script::logfile:
colinhunt
16th July 2017, 22:35
VapourSynth does MT out of the box, there are some VapourSynth threading options but I don't remember details, sorry if this don't help much.
Staxrip has to set some values for VapourSynth, right? Are those values set somewhere I can access somehow? Thanks for taking the time to reply!
edit: Or am I simply barking up the wrong tree, i.e. there's no need (or way) to set the number of threads and amount of memory for VapourSynth like you can for Avisynth?
Schattenspieler
16th July 2017, 22:43
@sneaker_ger: I just quoted from the pdf and oversimplified.
@stax76: Sry, if this seems like a stupid question, but … is there a way to copy the logged "Encoding settings" from an x26?-stream (manually), as one can read from MediaInfo, and "import" them, use them as a preset to encode other files?
I converted seasons 1 and 2 of a series for private use, but didn't get to season 3 before my settings went "awol". Now I would like to use the same settings for the final season. I could probably go through each setting and check it against the MediaInfo, but as you may know well, those are a lot.
Though the format is a little bit different, "conversion" to command line style is easy and can be done in any text editor with a "find and replace" feature. But I don't know, how to get these into StaxRip. Is that what the new import feature could be used for? (And where do I find it?) If so, that would REALLY help! :D
stax76
16th July 2017, 23:11
what is impact of piping on quality of final m4a qaac audio encoded from 7.1 atmos
I don't think there is a difference if you pipe, use FLAC or W64. If you want to be sure the minimum you can do is compare the MediaInfo of the output. With piping normalization is handled different, if staxrip would let it handle qaac it would create a temp file. There would probably be a difference if you would let eac3to do the decoding, I can't tell you what is better, eac3to is surely much slower.
SettingsV2.dat is the settings, technically it uses binary serialization, same is true for srip which is used for templates/projects, with new builds and versions you can always load old settings, some settings will be recovered, others will be lost, I try to avoid resetting settings but when I make a bigger change like the new x264 GUI it's difficult to avoid resetting. Sometimes I write migration code so new things show up or work without a reset, I did this recently for the audio encoding profiles and the main menu.
Staxrip has to set some values for VapourSynth, right? Are those values set somewhere I can access somehow? Thanks for taking the time to reply!
It's mostly only editing the code, same for avisynth, you can open the code editor via context menu or with a double-click somewhere in the ListView control.
Sry, if this seems like a stupid question, but … is there a way to copy the logged "Encoding settings" from an x26?-stream (as one can read from MediaInfo, e.g.) and "import" them, use them as a preset to encode other files?
If the names would match the switches it could be done with advanced text editing, mostly regex and multi cursor, if it don't match it would require a script or program.
I converted seasons 1 and 2 of a series for private use, but didn't get to season 3 before my settings went "awol". Now I would like to use the same settings for the final season. I could probably go through each setting and check it against the MediaInfo, but as you may know well, those are a lot.
There is a log folder feature but it's relative new, files are at: Tools > Folders > Log Files, that would give you the command lines that you could import with the next build using the import feature I built this morning.
There are probably better diff tools but I don't need diff often so I use www.diffchecker.com, I've used that before to compare mediainfo and it was nice even for long lines like the encoding options.
The import feature should help but don't expect it to be 100% in the first release, it won't tell when it don't understand something and just ignores it, I'll just run my build/upload script:
#### Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
#### Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
#### 1.5.2.9 unstable test build
- new: at the bottom of the video encoder option dialogs there is a menu item to import a command line from the clipboard
Magik Mark
16th July 2017, 23:51
No shutdown like GUI controls being hidden or the shutdown not working? I tried standby a few times last night, that was OK.
NO GUI control for "Shutdown" or "Standby" Only one control is found "Suspend"
https://s24.postimg.org/durg4i7xd/No_Shutdown.png (https://postimg.org/image/durg4i7xd/)
stax76
17th July 2017, 00:49
NO GUI control for "Shutdown" or "Standby" Only one control is found "Suspend"
New build is out, I hope it's getting stable enough for a release this week.
Magik Mark
17th July 2017, 02:49
Stax
I noticed that watching videos in "Full Screen Exclusive Mode" (FSE) gets interrupted immediately after encoding. Video freezes and screen turns blank. I think you have a fix on this from previous versions.
burfadel
17th July 2017, 04:36
1.5.2.8 works great for me. It also restores properly etc now as well :).
Natty
17th July 2017, 13:59
NO GUI control for "Shutdown" or "Standby" Only one control is found "Suspend"
1.5.3.1 unstable test build
-> fix: shutdown/standby controls were not always visible when they should
Natty
17th July 2017, 14:01
I don't think there is a difference if you pipe, use FLAC or W64. If you want to be sure the minimum you can do is compare the MediaInfo of the output. With piping normalization is handled different, if staxrip would let it handle qaac it would create a temp file. There would probably be a difference if you would let eac3to do the decoding, I can't tell you what is better, eac3to is surely much slower.
SettingsV2.dat is the settings, technically it uses binary serialization, same is true for srip which is used for templates/projects, with new builds and versions you can always load old settings, some settings will be recovered, others will be lost, I try to avoid resetting settings but when I make a bigger change like the new x264 GUI it's difficult to avoid resetting. Sometimes I write migration code so new things show up or work without a reset, I did this recently for the audio encoding profiles and the main menu.
eac3to/nero is s#!t, i tested piping option last night and audio quality was awesome in 7.1 channel. i will test it with old w64 method also when i go home.:thanks:
stax76
17th July 2017, 15:07
Stax
I noticed that watching videos in "Full Screen Exclusive Mode" (FSE) gets interrupted immediately after encoding. Video freezes and screen turns blank. I think you have a fix on this from previous versions.
How exactly do I reproduce this?
burfadel
17th July 2017, 15:58
I don't see how video encoding could affect video playback unless one of the filters is GPU based, KNLMeansCL for example.
Magik Mark
18th July 2017, 00:15
How exactly do I reproduce this?
Make sure there are 2 or more jobs. Start encoding on "another desktop screen", lets call it "Desktop Screen 2". Set the window to "Do nothing" or "Standby". Do not minimize
Watch video in "FullScreen Exclusive Mode" in "Desktop Screen 1". Once the 1st encoding is done, Staxrip reactivates the encoding window and moves it on "Desktop Screen 1". This causes disruption on the screen display. If the display is disrupted, "FSE" is also disrupted
stax76
18th July 2017, 11:05
Guessing you were speaking about something like madvr I found and fixed a issue.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.5.3.2 unstable test build
fix: log files are no longer saved in the target folder if the temp folder is deleted, they can be found at: Tools > Folders > Log Files
fix: when a job failed it's no longer removed from the joblist
fix: when job processing starts there is only one Window activation at the start and no subsequent window activations, this prevents to interupt other software like players
Magik Mark
20th July 2017, 10:54
Does somebody know why this is not working:
ConvertToYUV422P10
"ConvertoYV16" has no problem
sneaker_ger
20th July 2017, 11:46
Script, error message, log? Expectation, result? "not working" is a bad error description.
Magik Mark
20th July 2017, 11:53
Script Error: There is no function named 'ConvertToYUV422P10'
Accodring to Avisynth wiki it is available in Aysinth+
http://avisynth.nl/index.php/Convert
sneaker_ger
20th July 2017, 12:11
The wiki says the color format is available. Not a function of the same name.
Try:
ConvertBits(10) #if source depth != 10
ConvertToYUV422()
or maybe
ConvertBits(16) #if source depth != 16
ConvertToYUV422()
ConvertBits(10)
Not really sure what's better.
Magik Mark
20th July 2017, 12:26
Thanks will give it a try
Magik Mark
20th July 2017, 12:53
Tried:
ConvertToYV16(matrix="Rec709")
ConvertBits(10)
Video Greenish. Source is 4:2:0 8bit. what did I miss?
sneaker_ger
20th July 2017, 13:18
Log? Screenshot? In which software is it displayed green? The script or the encoded file?
Natty
21st July 2017, 11:35
Video Greenish. Source is 4:2:0 8bit. what did I miss?
source and encoded file?
Patman
22nd July 2017, 11:08
Hi Stax,
1.5.3.4 unstable test build
fix: the main window stayed in the background instead of being activated to be top most
Problem still exists. When loading first file everything is ok, but when loading second file, window still stayed in background. Please check.
stax76
22nd July 2017, 11:44
Hi Patman, I'll check it.
stax76
22nd July 2017, 13:05
Patman, I've tried a couple of things but so far I'm not able to reproduce it.
drizzit
22nd July 2017, 21:06
First of all thank you for the program!
Still really new to this program so I might be doing something wrong but I'm having trouble with warnings about 260 character limit.
No matter what I set the temp files folder as the initial check when I try to open a source file seem to assume the original file location as the temp files location and if that path is too long I get an error.
Example:
File located at d:/temp movies/test.series.season 01/file.mkv
Temp path set as d:/temp/%source_name%_temp\
When initially opening the file (please assume my path above is long enough to trigger the 260 char warning for the sake of the example) I get an error saying the temp path might be too long and it gives me the original path as such
d:/temp movies/test.series.season 01/test.series.season 01_temp/file.mkv
However if I shorten the path to the original file so I manage to open the file without triggering the above error as soon as the file is opened the temp path is now handled correctly as set in the settings.
My expectations would be that the set path is used for the inital check too but this doesnt seem to be the case unless I'm missing something?
Edited to add I'm using latest test build 1.5.3.4
Schattenspieler
23rd July 2017, 10:07
Well, drizzit, the problem is probably -> obviously not the path to the temp-folder, but to the source. If either one is longer that 260 chars, you get an error. Or did I misunderstand you?
stax76
23rd July 2017, 11:23
@drizzit
There is a open issue on the tracker, I'll examine it after the upcoming release.
Zetti
23rd July 2017, 12:14
MKVToolNix v14.0.0 is released.
drizzit
23rd July 2017, 13:58
@drizzit
There is a open issue on the tracker, I'll examine it after the upcoming release.
Ah I missed that :rolleyes:
Sorry about the duplicate and thank you very much for the answer. Good to get confirmation its not me doing something wrong.
I'm a recent convert but I'm really loving your work, please keep it up! :thanks:
@Schattenspieler The source path is long but not too long. The problem is that IF I would use the source path as temp directory it would be too long and the error check ignores the manually set temp files folder that would make the path short enough to not trigger the error. Hope that made more sense? :)
Schattenspieler
23rd July 2017, 15:11
Aye, now I got it, drizzit! ^^
@stax76: Importing of command line options seems to work so far, but the CRF value is not changed. No big deal for now, since one can change it easily. Didn't have time to check it further, though, yet.
stax76
25th July 2017, 21:14
The stable release is available now. Things will be slower or even paused but I will be back!
https://github.com/stax76/staxrip/releases/tag/1.6
NikosD
25th July 2017, 21:22
You were throwing new releases like a machine gun!
Latest nightly I tried it was a very impressive work especially in the working progress window of the various stages of the transcoding pipeline.
I'll probably try tomorrow the new stable release.
Thank you for the new version.
drizzit
26th July 2017, 00:49
:thanks: for the update!
Vulpix
26th July 2017, 09:45
I am so happy that you didn't leave us, @stax76 ! StaxRip is the best encoding tool for people who aren't afraid to go a little deeper!
craigpro
26th July 2017, 13:43
thank you so much stax76!
burfadel
27th July 2017, 09:47
Here's a new one for you:
ManagementException
Call cancelled
System.Management.ManagementException: Call cancelled
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Linq.Enumerable.<OfTypeIterator>d__93`1.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.String.Join(String separator, IEnumerable`1 values)
at StaxRip.LogBuilder.WriteEnvironment() in D:\Projekte\VS\VB\StaxRip\General\LogBuilder.vb:line 72
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isNotEncoding) in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1906
I was running two encodes at a time, the message therefore showed twice.
stax76
27th July 2017, 12:49
Thanks everybody for the feedback!
@burfadel
It was a error raised in a WMI call to list the system's GPUs to write it to the log file header, it's hard to tell why it was failing, this has been working reliably since a very long time, I've changed it to let it fail silently and print 'unavailable' instead, please let me know if it happens again, I'll upload a new test build then.
craigpro
27th July 2017, 15:19
I just had this error, 1.6 stable:
OutOfMemoryException
Out of memory.
System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Drawing.Font.ToLogFont(Object logFont)
at System.Drawing.Font.ToHfont()
at System.Windows.Forms.Control.FontHandleWrapper..ctor(Font font)
at System.Windows.Forms.Control.get_FontHandle()
at System.Windows.Forms.Control.get_FontHandle()
at System.Windows.Forms.Control.get_FontHandle()
at System.Windows.Forms.Control.SetWindowFont()
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at System.Windows.Forms.ListView.OnHandleCreated(EventArgs e)
at StaxRip.UI.ListViewEx.OnHandleCreated(EventArgs e) in D:\Projekte\VS\VB\StaxRip\UI\Controls\ListViewEx.vb:line 406
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at StaxRip.UI.ListViewEx.WndProc(Message& m) in D:\Projekte\VS\VB\StaxRip\UI\Controls\ListViewEx.vb:line 220
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
NikosD
27th July 2017, 16:13
@Frank
Just a small typo with AMD HW encoding profile.
You write two times the same thing AMD AVC as title-name of the profiles for both AVC/HEVC.
Also, sometimes you use the term H.265/H.264 and others HEVC/ AVC.
Please, take a look at ffmpeg, Nvidia, Intel profiles.
burfadel
27th July 2017, 16:51
Thanks everybody for the feedback!
@burfadel
It was a error raised in a WMI call to list the system's GPUs to write it to the log file header, it's hard to tell why it was failing, this has been working reliably since a very long time, I've changed it to let it fail silently and print 'unavailable' instead, please let me know if it happens again, I'll upload a new test build then.
It still happens, only when already encoding and it goes onto the next job.
stax76
27th July 2017, 18:56
@burfadel
A new test build is online.
@craigpro
In what context did it happen? I know it can happen when 200+ files are added to batch encoding, there were issues/tickets created for it twice and I've examined it every time, the error happens in my extended ListView but has nothing to to with the listview because isolated I can add thousands of items, it must be something underlying, probably related to reaching a resource limit. I could try to rewrite batch processing but it's difficult and adding 200+ files isn't a common use case, there are workarounds like adding 150 files a few times or using the CLI.
@Nikos
I've corrected it for vceenc in the build from today and ffmpeg in the next build but the profile name is part of the settings and will only show when the settings are recreated, the name can be changed in the profiles editor, it has a rename feature.
burfadel
28th July 2017, 05:41
New test build 1.6.0.1, I still get this message:
ManagementException
Call cancelled
System.Management.ManagementException: Call cancelled
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Linq.Enumerable.<OfTypeIterator>d__93`1.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.String.Join(String separator, IEnumerable`1 values)
at StaxRip.LogBuilder.WriteEnvironment() in D:\Projekte\VS\VB\StaxRip\General\LogBuilder.vb:line 72
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isNotEncoding) in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1906
I tried doing some short encodes with it in the system tray, it works properly! Seems only with the really long encodes. I am thinking it's possibly a Windows issue or API change, I am on the Insider Preview which I changed over to the same time I went to the new Staxrip and also AMD Crimson 17.7.2. I'll try a few things (such as running Staxrip with Administrator priveleges) and see if there is any difference in behaviour. I guess it wouldn't hurt for the error just to be recorded in the log and for the process to continue, that way I can look at the logs in future builds and if it persists then it can be looked into further?
stax76
28th July 2017, 09:01
It's totally strange because a try catch block should absolutely suppress an error, I've downloaded 1.6.0.1 and de-compiled it with dotPeek, the try catch block is there:
https://github.com/stax76/staxrip/blob/master/General/Misc.vb#L2039
Not same but similar powershell code:
PS C:\Users\Frank> Get-WMIObject -Class Win32_VideoController | Select-Object -Property Caption
Caption
-------
NVIDIA GeForce GTX 1060 6GB
Intel(R) HD Graphics 530
PS C:\Users\Frank>
burfadel
28th July 2017, 09:41
Works here as well:
PS C:\WINDOWS\system32> Get-WMIObject -Class Win32_VideoController | Select-Object -Property Caption
Caption
-------
Radeon (TM) RX 480 Graphics
I'm currently running two encodes that are of the length that is triggering the issue, however this time I started Staxrip with administrator privileges. I'll see what happens! The powershell command works in both normal admin access and specifically with running as full administrator privileges, so maybe it's not an issue with the command. If it still doesn't work I'll rebuild the WMI repository and see if that helps.
EDIT:
Using Staxrip as 'Run as Administrator' it didn't do it this time with either of the encode processes. I've stopped the new encodes, closed staxrip, and started back in normal mode to see if it does it again.
stax76
29th July 2017, 11:07
@burfadel
Has it happen again meanwhile? Did anything change when it started? Like new GPU hardware, usage of GPU encoders, new insider build, how does the error look like, is it a error dialog from staxrip?
burfadel
29th July 2017, 11:41
No, still happens. I rebuilt the WMI repository and restarted just in case, but the error still shows. I'm on a new insider build 16251, however I changed to Staxrip 1.6.0.0 at the same time.
http://i.imgur.com/hF5ZD3z.jpg
I'll try a couple more things to see if it helps with the issue. It's only on extended encodes that it does it and it goes to the next file, it seems to not seem to do it with short clips.
stax76
29th July 2017, 11:50
Are you sure that 1601 don't suppress it? The try catch block exists since 1601.
burfadel
29th July 2017, 12:06
Yes, in Staxrip clicking help --> info shows StaxRip x64 1.6.0.1 unstable test build
stax76
29th July 2017, 12:09
OK, I'll rewrite it and ask rigaya if he knows a method without WMI.
burfadel
29th July 2017, 12:14
Cool thanks, I'm running another round with 'Run as administrator', but it will probably be tomorrow when I can report back on that.
Atak_Snajpera
29th July 2017, 13:28
OK, I'll rewrite it and ask rigaya if he knows a method without WMI.
You may use my tool OpenCLinfo
http://www.mediafire.com/file/ogwr9wzlbpez17p/OpenCLinfo.exe
accepted optional switches
/cpu - shows cpu compatible devices
/gpu - shows only compatible gpu devices
JohnLai
29th July 2017, 14:01
staxrip ffmsindex hang with one core being maxed (in my case, since I run two concurrent, so there are two cores being maxed)
Using Nvencc and converting audio to Opus.
No log as it simply stuck at ffmsindex
http://i.imgur.com/WFs0raE.png
Note:
While the first task run normally just fine (and completed)
The second concurrent task hang at ffmsindex.
Once the first task is done, staxrip will automatically start the third task.
Second and third task hang.
cegy
29th July 2017, 15:17
so i've slowly upgrade from 1.4.x to 1.5.0 this week the scaling wasn't nice and a few other minor things however...
i notice when updating to 1.6.0 it seems that if you run a batch script at the end of the encode for some weird/odd reason the output window will not auto scroll when there's new data being given to it and i can't see any option to enable this and wondering is this a bug ?
oh the log file also says "Failed to interpret output:" but i can't see mattering if i can clearly see it myself within the output window just that the scroll bar isn't auto scrolling down to the bottom like it use to. (this was never an issue for 1.3.x/1.4.x/1.5.x)
burfadel
29th July 2017, 16:48
In regards to the error, it still did it with 'Run as administrator'. I'm now trying something else. The compiled dll's in the Staxrip folder are System.Management.Automation.dll and Microsoft.Management.Infrastructure.dll dated 2015. These two files are included in NET Framework 4.7. It's possible there is a dll clash, since you are using these older dll's with code that has changed for the rest of the network. The versions on the system are the same versions as the Windows build, and much larger since they're likely the whole DLL's and not just the specific functions?
If these files are included in NET Framework 4.7 on all platforms maybe they could be removed if it doesn't affect functionality? I'll test and see if that is the cause, but even if it isn't it's probably something worth looking in to, to avoid possible future conflicts.
Natty
30th July 2017, 00:59
m4a aac audio isnt getting muxed which was earlier encoded by staxrip from untouched audio source. i used "just mux" option
https://pastebin.com/wGVJ1ehm
burfadel
30th July 2017, 07:56
Still the same issue with those two files gone, however the good news is that besides the same error everything seems to be working great without them.
ilko
30th July 2017, 11:04
There seems to be some problems with the window (w10 x64)
http://i.imgur.com/Qj0WiJ5.png
a132431
30th July 2017, 12:54
Can anyone explain this error?
"Files starting with the names of other files can't be used."
Whenever I try and do File Batches, either by adding multiple files or whole folders, I get that error even though I have no files that are named the same.
My naming convention usually looks like this: Capture, Capture_1 - Capture_xx.
So in order to do my encoding, I have to take 4 steps, grouping the filenames together so I don't get that error:
(The order of these steps doesnt matter)
1) Capture_11 - Capture_xx
2) Capture_2 - Capture_10
3) Capture_1
4) Capture
Thanks for your help!
luigizaninoni
30th July 2017, 17:45
Start with capture_01 and go on with capture_02 ... capture_99
if you name a file "capture" any file starting with "capture......." will generate an error
a132431
30th July 2017, 20:14
Start with capture_01 and go on with capture_02 ... capture_99
if you name a file "capture" any file starting with "capture......." will generate an error
The issue with that is, those file names are automatically generated by another program, so for me to go back and try and change thousands of file names from the past, and in the future is ridiculous.
I just dont understand how adding Capture_1 and Capture_2 is ok, but Capture and Capture_1 or Capture_1 and Capture_10 or not.
Trench
31st July 2017, 02:56
I just dont understand how adding Capture_1 and Capture_2 is ok, but Capture and Capture_1 or Capture_1 and Capture_10 or not.
I believe its because the "complete name" of one item isn't being found as the beginning prefix of another item. e.g. When you have just "Capture_1" and "Capture_2", you won't find "the complete sequence" of either name in the other item, because the differ by the time you reach the numeric portion.
An item named "Capture", on the other hand, has a complete name which matches the starting prefix on both "Capture_1" and "Capture_2".
Ran into that one myself, too.
-Trench
burfadel
31st July 2017, 12:52
Well, nothing I do to get Staxrip from not showing that error. The good news is that removing those two dll's in the troubleshooing for this issue did not seem to affect functionality, as they seem to be included with NET Framework 4.7. As the error does not occur on the first encode in an instance, only subsequent encodes, it gives me an idea for a small improvement to Staxrip that would also resolve the issue. Not fix the cause, just bypass the issue entirely!
When Staxrip finishes one job and starts the next, it shouldn't need to re-request the system information since it was already gathered in the first encode. If this was stored in the program memory it can simply be reused on the next encode as the information isn't going to change in the middle of an encoding session. The amount of information is little so the amount of memory used would be negligible.
dandyclubs
1st August 2017, 17:09
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
AviSynth Script
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LoadPlugin("D:\Encoder\StaxRip\Apps\Plugins\both\KNLMeansCL\KNLMeansCL.dll")
Import("D:\Encoder\StaxRip\Apps\Plugins\avs\LSFmod\LSFmod.avsi")
LoadPlugin("D:\Encoder\StaxRip\Apps\Plugins\avs\RgTools\RgTools.dll")
LoadPlugin("D:\Encoder\StaxRip\Apps\Plugins\avs\masktools2\masktools2.dll")
LoadPlugin("D:\Encoder\StaxRip\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
LSMASHVideoSource("C:\Work\154.mp4", format = "YUV420P8")
KNLMeansCL(D = 1, A = 1, h = 2)
LSFmod(defaults="slow")
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script Properties
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
source frame count : 196256
source frame rate : 60.000000
source duration : 00:54:30.9330000
target frame count : 196256
target frame rate : 60.000000
target duration : 00:54:30.9330000
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Video encoding using VCEEnc 3.06 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Video encoding using VCEEnc 3.06 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: 잘못된 기능입니다.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Video encoding using VCEEnc 3.06 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
cmd.exe /S /C call "D:\Encoder\StaxRip\Apps\VCEEnc\VCEEncC64.exe --codec hevc --quality slow --cqp 22:24:27 -i C:\Work\154_temp\154.avs -o H:\Work\154.hevc"
파일 이름, 디렉터리 이름 또는 볼륨 레이블 구문이 잘못되었습니다.
StaxRip x64 1.6.0.1 unstable test build
windows 10 x64
i run cmd window and test cmd line
cmd.exe /S /C call "D:\Encoder\StaxRip\Apps\VCEEnc\VCEEncC64.exe --codec hevc --quality slow --cqp 22:24:27 -i C:\Work\154_temp\154.avs -o H:\Work\154.hevc"
error
D:\Encoder\StaxRip\Apps\VCEEnc\VCEEncC64.exe --codec hevc --quality slow --cqp 22:24:27 -i C:\Work\154_temp\154.avs -o H:\Work\154.hevc
work
cmd.exe /S /C call D:\Encoder\StaxRip\Apps\VCEEnc\VCEEncC64.exe --codec hevc --quality slow --cqp 22:24:27 -i C:\Work\154_temp\154.avs -o H:\Work\154.hevc
work.
maybe ""(Double Quotes) is wrong
Lupissimo
2nd August 2017, 08:41
Can anybody tell me how to use 2-Pass NVIDIA H264 encoding.
wiak
2nd August 2017, 15:39
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
AviSynth Script
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LoadPlugin("D:\Encoder\StaxRip\Apps\Plugins\both\KNLMeansCL\KNLMeansCL.dll")
Import("D:\Encoder\StaxRip\Apps\Plugins\avs\LSFmod\LSFmod.avsi")
LoadPlugin("D:\Encoder\StaxRip\Apps\Plugins\avs\RgTools\RgTools.dll")
LoadPlugin("D:\Encoder\StaxRip\Apps\Plugins\avs\masktools2\masktools2.dll")
LoadPlugin("D:\Encoder\StaxRip\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
LSMASHVideoSource("C:\Work\154.mp4", format = "YUV420P8")
KNLMeansCL(D = 1, A = 1, h = 2)
LSFmod(defaults="slow")
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script Properties
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
source frame count : 196256
source frame rate : 60.000000
source duration : 00:54:30.9330000
target frame count : 196256
target frame rate : 60.000000
target duration : 00:54:30.9330000
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Video encoding using VCEEnc 3.06 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Video encoding using VCEEnc 3.06 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: 잘못된 기능입니다.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Video encoding using VCEEnc 3.06 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
cmd.exe /S /C call "D:\Encoder\StaxRip\Apps\VCEEnc\VCEEncC64.exe --codec hevc --quality slow --cqp 22:24:27 -i C:\Work\154_temp\154.avs -o H:\Work\154.hevc"
파일 이름, 디렉터리 이름 또는 볼륨 레이블 구문이 잘못되었습니다.
StaxRip x64 1.6.0.1 unstable test build
windows 10 x64
i run cmd window and test cmd line
cmd.exe /S /C call "D:\Encoder\StaxRip\Apps\VCEEnc\VCEEncC64.exe --codec hevc --quality slow --cqp 22:24:27 -i C:\Work\154_temp\154.avs -o H:\Work\154.hevc"
error
D:\Encoder\StaxRip\Apps\VCEEnc\VCEEncC64.exe --codec hevc --quality slow --cqp 22:24:27 -i C:\Work\154_temp\154.avs -o H:\Work\154.hevc
work
cmd.exe /S /C call D:\Encoder\StaxRip\Apps\VCEEnc\VCEEncC64.exe --codec hevc --quality slow --cqp 22:24:27 -i C:\Work\154_temp\154.avs -o H:\Work\154.hevc
work.
maybe ""(Double Quotes) is wrong
seem soo, am also getting issues with vceenc too
Error Video encoding using VCEEnc 3.06 x64
Video encoding using VCEEnc 3.06 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.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Video encoding using VCEEnc 3.06 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
cmd.exe /S /C call "C:\enctools\StaxRip-x64-1.6\Apps\VCEEnc\VCEEncC64.exe --codec hevc --level 5.1 --vbaq --motion-est full-pel --pre-analysis auto --vbr 10000 -i "D:\AMD Relive\2017.07.31-22.11_temp\2017.07.31-22.11.avs" -o "D:\AMD Relive\2017.07.31-22.11_temp\2017.07.31-22.11_out.hevc""
The filename, directory name, or volume label syntax is incorrect.
StaxRip.ErrorAbortException: Video encoding using VCEEnc 3.06 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.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Video encoding using VCEEnc 3.06 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
cmd.exe /S /C call "C:\enctools\StaxRip-x64-1.6\Apps\VCEEnc\VCEEncC64.exe --codec hevc --level 5.1 --vbaq --motion-est full-pel --pre-analysis auto --vbr 10000 -i "D:\AMD Relive\2017.07.31-22.11_temp\2017.07.31-22.11.avs" -o "D:\AMD Relive\2017.07.31-22.11_temp\2017.07.31-22.11_out.hevc""
The filename, directory name, or volume label syntax is incorrect.
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 334
at StaxRip.VCEEnc.Encode() in D:\Projekte\VS\VB\StaxRip\Encoding\VCEEnc.vb:line 80
at StaxRip.GlobalClass.ProcessVideo() in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 225
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob() in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 138
wiak
2nd August 2017, 15:52
this works
cmd.exe /S /C call C:\enctools\StaxRip-x64-1.6\Apps\VCEEnc\VCEEncC64.exe --codec hevc --level 5.1 --vbaq --motion-est full-pel --pre-analysis auto --vbr 10000 -i "D:\AMD Relive\2017.07.31-22.11_temp\2017.07.31-22.11.avs" -o 2017.07.31-22.11_out.hevc
seem the path is the issue, dunno why
stax76
2nd August 2017, 17:30
Can anybody tell me how to use 2-Pass NVIDIA H264 encoding.
As far as I know there is no real 2pass, if you like you can ask on the NVEnc tracker:
https://github.com/rigaya/NVEnc/issues
cmd.exe /S /C call
Before it was a batch file which needs 'call', it's not using a batch file any longer, the new build fixes it.
Well, nothing I do to get Staxrip from not showing that error. The good news is that removing those two dll's in the troubleshooing for this issue did not seem to affect functionality, as they seem to be included with NET Framework 4.7. As the error does not occur on the first encode in an instance, only subsequent encodes, it gives me an idea for a small improvement to Staxrip that would also resolve the issue. Not fix the cause, just bypass the issue entirely!
When Staxrip finishes one job and starts the next, it shouldn't need to re-request the system information since it was already gathered in the first encode. If this was stored in the program memory it can simply be reused on the next encode as the information isn't going to change in the middle of an encoding session. The amount of information is little so the amount of memory used would be negligible.
The two DLLs are needed for powershell extensibility. They are not part of the .NET framework, I've checked it by looking in the folder: 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'.
I changed it to cache the environment info and hope it's fine now.
@a132431
It's because of the auto load feature to detect audio and subtitle files. If you open a path like this:
D:\Temp\StaxRip\tv_temp\tv.d2v
Then audio and subtitle files with the same beginning are loaded.
D:\Temp\StaxRip\tv_temp\tv English.srt
D:\Temp\StaxRip\tv_temp\tv -561ms.mp2
@ilko
Please open a source and go to: 'Tools > Log File' and post the Environment header.
m4a aac audio isnt getting muxed which was earlier encoded by staxrip from untouched audio source. i used "just mux" option
https://pastebin.com/wGVJ1ehm
There was a small issue in the log file but I wasn't able to reproduce it, this is my test:
https://pastebin.com/8rs5W5Cn
so i've slowly upgrade from 1.4.x to 1.5.0 this week the scaling wasn't nice and a few other minor things however...
Please post a screenshot if something don't look good, I usually test it on 96 and 288 DPI so it's supposed to look good everywhere.
i notice when updating to 1.6.0 it seems that if you run a batch script at the end of the encode for some weird/odd reason the output window will not auto scroll when there's new data being given to it and i can't see any option to enable this and wondering is this a bug ?
The processing was totally rewritten and auto scroll didn't seem important because instead of the complete log file only the output of one process is shown.
oh the log file also says "Failed to interpret output:" but i can't see mattering if i can clearly see it myself within the output window just that the scroll bar isn't auto scrolling down to the bottom like it use to. (this was never an issue for 1.3.x/1.4.x/1.5.x)
This was a bug, the output was interpreted even if the interpret option wasn't used.
@JohnLai
Since ffmsindex was running is it correct that you were using the file batch mode and processed the job list with 2 staxrip instances? Is it reproducible or was it a one time thing?
@Atak_Snajpera
I would need something more lightweight, since the error only occurred in the second job and the info is now cashed the issue might be fixed.
https://github.com/stax76/staxrip/blob/master/md/changelog.md
Lupissimo
2nd August 2017, 17:36
@Stax: Thank you for the hint!
burfadel
2nd August 2017, 18:38
The two DLLs are needed for powershell extensibility. They are not part of the .NET framework, I've checked it by looking in the folder: 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'.
Ah ok, you're right they're not under there, they're under:
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35
http://i.imgur.com/msN4XeL.jpg
and
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35
http://i.imgur.com/nNuSurn.jpg
They are there in release build 14393 as well under the same location. It's quite possible it's just a bug in this build of Windows relating to other files since it has the same behaviour even with the provided files in the Staxrip folder, but the cacheing of the data is beneficial regardless. Thankyou for adding that!
Thanks for the update! I'll check it out and report back on how it goes.
ilko
2nd August 2017, 23:55
@stax76
Here's the header
StaxRip : 1.6.0.0
Windows : Windows 10 Pro N 1607
Language : French (France) (note : this is the input method language, not system's one which is en-us)
CPU : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
GPU : ATI Radeon HD 4800 Series
Resolution : 1920 x 1080
DPI : 96
JohnLai
3rd August 2017, 03:10
@JohnLai
Since ffmsindex was running is it correct that you were using the file batch mode and processed the job list with 2 staxrip instances? Is it reproducible or was it a one time thing?
Yes, it is reproducible. File batch mode and processed job list (there are 20+ tasks in job list) with 2 staxrip instances.
Second and third (staxrip auto-start third after first completed successfully) tasks simply hang at ffmsindex with high cpu usage (I waited 30 minutes) and nothing happens.
Happen with 3 different sets of dramas.
Hanged ffmsindex weren't reading/indexing the videos as shown in previous task manager screenshot (no disk activity)
If I only run one instance, everything works fine.
stax76
3rd August 2017, 10:44
@ilko
Your values for DPI and resolution are probably the most common, there might be a font related setting you or a software have changed, for the font size shown in your screenshot the form size should be larger.
@JohnLai
I'll try to reproduce it, as workaround you could try l-smash-works.
burfadel
3rd August 2017, 12:11
New version works great, no more issues. I'm also running it without those two dll files, so I'm guessing it's using the Windows 10 versions of them. I suspect that Windows 7 probably doesn't include those files.
Anyways, thanks! :)
a132431
3rd August 2017, 14:28
I believe its because the "complete name" of one item isn't being found as the beginning prefix of another item. e.g. When you have just "Capture_1" and "Capture_2", you won't find "the complete sequence" of either name in the other item, because the differ by the time you reach the numeric portion.
An item named "Capture", on the other hand, has a complete name which matches the starting prefix on both "Capture_1" and "Capture_2".
Ran into that one myself, too.
-Trench
I see, but why would the program care what the names of your files are, other than to prevent overwriting an already existing file?
Because of this, I cant even do batch file processing of a directory that has files named sequentially from 1 to 100, as the program will throw an error for file names 1, 11, 2, 22, 3, 33 etc etc.
@stax76
Is there some workaround or fix for this?
Natty
3rd August 2017, 21:36
what is this error while doing a batch encode ?
https://imagez.to/i/dlSl1Sl3.png
a132431
4th August 2017, 02:09
what is this error while doing a batch encode ?
https://imagez.to/i/dlSl1Sl3.png
That's the problem i've been talking about, apparently you cant have two filenames that contain the same name complete name, like: Filename and Filename_1 or Filename_1 and Filename_11.
I hope this can be fixed!
colinhunt
5th August 2017, 10:41
Is it possible to configure StaxRip in such a way that all encoding-related settings are kept as-is when a new source file is dropped in? That is, kept as-is instead of loading settings from default template.
stax76
5th August 2017, 18:41
Is it possible to configure StaxRip in such a way that all encoding-related settings are kept as-is when a new source file is dropped in? That is, kept as-is instead of loading settings from default template.
It's not possible and not easy to add, sorry.
@a132431
@Natty
I just removed the warning hoping that it works and don't break other use cases, it's not online yet.
@JohnLai
I've tried to reproduce it with a 1,5 GB 40 min file, 5 jobs with two instances, it was OK but indexing takes only 2 seconds because the file is small and the ssd is fast, next I will try a bigger file on a HDD.
a132431
5th August 2017, 20:17
It's not possible and not easy to add, sorry.
@a132431
@Natty
I just removed the warning hoping that it works and don't break other use cases, it's not online yet.
@stax76
Thank you!!!!!! I thought you were on vacation but it's great you're able to fix this issue!!
StaxRIP is by far the best encoder app i've used, and this fix will make it perfect :)
JohnLai
6th August 2017, 08:01
I've tried to reproduce it with a 1,5 GB 40 min file, 5 jobs with two instances, it was OK but indexing takes only 2 seconds because the file is small and the ssd is fast, next I will try a bigger file on a HDD.
Each file size about 2-3gb, sometimes 4.5gb on 4 external hdds. (all USB3.0)
Can discount the possibility of HDDs dying.
Weird, you mentioned it indexing only takes 2 seconds, but in my case the indexing doesn't even start for second instance and newly third instance. This is very weird indeed. Hmmm....
When first instance started, it is indexing just fine and it takes around 1-3 minutes to complete the indexing.
Ah, forgot to mention the build. It is 1.6.0.0 stable build with only nvencc being manually replaced by latest version.
stax76
6th August 2017, 12:12
A new build that addresses recent issues:
https://github.com/stax76/staxrip/blob/master/md/changelog.md
@JohnLai
I've tried it also with a full movie on a external USB3 HDD, ffmsindex of job 1 and job 2 was processing in parallel with 2 staxrip instances without problems. Where all jobs created with File Batch? In that case every job has a separate source file and there should be no conflict running ffmsindex in parallel.
Since there are more processing related bug reports I cannot reproduce I will do more testing with full Blu-rays instead of the small sample files I usually use for testing.
JohnLai
6th August 2017, 13:00
@JohnLai
I've tried it also with a full movie on a external USB3 HDD, ffmsindex of job 1 and job 2 was processing in parallel with 2 staxrip instances without problems. Where all jobs created with File Batch? In that case every job has a separate source file and there should be no conflict running ffmsindex in parallel.
Since there are more processing related bug reports I cannot reproduce I will do more testing with full Blu-rays instead of the small sample files I usually use for testing.
Hmm...I decided to delete all staxrip settings and start from zero + clean staxrip profile.
Everything seem to work now.
Probably some old settings from previous staxrip 1.5.x.x version somehow interferes with 1.6.0.0.
Sorry for the trouble.:thanks:
drizzit
6th August 2017, 14:13
Thank you for your continued work @stax76, loving the new controls for queue/jobs list and everything is working great on my end :thanks:
Cyberavater
7th August 2017, 16:00
I am trying to add EEDI2 plugin avisynth+ script but after creating the filter profile it says script error. Can anyone help me with the script?
Groucho2004
7th August 2017, 16:39
I am trying to add EEDI2 plugin avisynth+ script but after creating the filter profile it says script error. Can anyone help me with the script?
Is EEDI2 included in staxrip? If not, where did you download it? Also, post your script.
stax76
8th August 2017, 09:31
You can show some diagnostic with:
Tools > Advanced > Command Prompt:
AVSMeter64 -avsinfo
Is EEDI2 included in staxrip?
It's not.
Groucho2004
8th August 2017, 10:04
Is EEDI2 included in staxrip?
It's not.
In that case i recommend the 64 bit version from here (http://forum.doom9.org/showthread.php?t=173259).
Cyberavater
8th August 2017, 15:16
Is EEDI2 included in staxrip? If not, where did you download it? Also, post your script.
I downloaded it from http://avisynth.nl/index.php/AviSynth%2B
And my profile/script is....
[Antialiasing]
EEDI2 =
AviSource = ("%source_file%")
EEDI2 = (mthresh=10, lthresh=20, vthresh=20, estr=2, dstr=4, maxd=24, field=-1, map=0, nt=50, pp=1)
EEDI2 = LoadCplugin("%application:EEDI2%") EEDI2()
Cyberavater
8th August 2017, 15:29
For farther addition...Its saying, script error expected `)'
(C:\Users\Desktop\New folder (9)\1.Toradora! NCOP 1_temp\1.toradora! COP 1_new.avs
Cyberavater
8th August 2017, 15:36
Command Prompt result:
G:\PC Software\Portable\StaxRip-x64-1.6>"G:\PC Software\Portable\StaxRip-x64-1.6
\Apps\AVSMeter\AVSMeter64.exe" "C:\Users\Azmain\Desktop\New folder (9)\1.Torador
a! NCOP 1_temp\1.Toradora!COP 1_new.avs"
AVSMeter 2.4.3 (x64) - Copyright (c) 2012-2016, Groucho2004
AviSynth+ 0.1 (r2508, MT, x86_64) (0.1.0.0)
Script error: expected `)'
(C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1_temp\1.Toradora!COP 1
_new.avs, line 20, column 17)
G:\PC Software\Portable\StaxRip-x64-1.6>pause
Press any key to continue . . .
stax76
8th August 2017, 15:41
in the filter profile editor you can use:
[Antialiasing]
EEDI2 =
LoadCplugin("D:\Temp\EEDI2_092_64\EEDI2_092_64\EEDI2.dll")
EEDI2(mthresh=10, lthresh=20, vthresh=20, estr=2, dstr=4, maxd=24, field=-1, map=0, nt=50, pp=1)
auto load works too, auto load folder is at: Main Menu > Tools > Folders > Plugins
Groucho2004
8th August 2017, 16:07
EEDI2 = LoadCplugin("%application:EEDI2%")
EEDI2 is not a C-plugin. Load it with "LoadPlugin()" or put it in the auto-load directory.
Cyberavater
8th August 2017, 17:07
After coping the file to autoload directory I used this script...
[Antialiasing]
EEDI2 = EEDI2(mthresh=10, lthresh=20, vthresh=20, estr=2, dstr=4, maxd=24, field=-1, map=0, nt=50, pp=1)
But its still showing
G:\PC Software\Portable\StaxRip-x64-1.6>"G:\PC Software\Portable\StaxRip-x64-1.6
\Apps\AVSMeter\AVSMeter64.exe" "C:\Users\Azmain\Desktop\New folder (9)\1.Torador
a! NCOP 1_temp\1.Tordora! NCOP 1_new.avs"
AVSMeter 2.4.3 (x64) - Copyright (c) 2012-2016, Groucho2004
AviSynth+ 0.1 (r2508, MT, x86_64) (0.1.0.0)
Script error: expected `)'
(C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1_temp\1.Tordora! NCOP
1_new.avs, line 20, column 17)
G:\PC Software\Portable\StaxRip-x64-1.6>pause
Press any key to continue . . .
Groucho2004
8th August 2017, 17:14
I can only repeat myself - post the entire script, not just 1 or 2 lines.
Also, have you tried stax' suggestion ("AVSMeter64 -avsinfo")?
stax76
8th August 2017, 17:19
The entire script is shown in the menu with 'Preview Code'.
burfadel
8th August 2017, 18:15
One thing that has changed many builds back that I forgot to mention :). If you have a script with long lines that exceed the width of the input error, as soon as you insert or remove any character on the portion of the code that's past the text box edge, it jumps back to the beginning of the line. This makes it 'impossible' to edit. Previous behaviour was the window would resize, albeit do it slowly. Also if you have many lines in the script it doesn't really fit on the screen either.
stax76
9th August 2017, 01:21
I hope it's fine now:
https://github.com/stax76/staxrip/blob/master/md/changelog.md
Cyberavater
9th August 2017, 07:59
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\aWarpSharp2\aWarpSharp.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\both\ffms2\ffms2.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\both\KNLMeansCL\KNLMeansCL.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\MSharpen\msharpen.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\RgTools\RgTools.dll")
Import("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\SMDegrain\SMDegrain.avsi")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\masktools2\masktools2.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\mvtools2\mvtools2.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\nnedi3\nnedi3.dll")
FFVideoSource("C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1.mkv", colorspace = "YV12", \
cachefile = "C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1_temp\1.Toradora! NCOP 1.ffindex")
RemoveGrain()
aWarpSharp2(thresh = 128, blur = 2, type = 0, depth = 16, chroma = 4)
SMDegrain(tr = 2, thSAD = 250, contrasharp = false, refinemotion = true, lsb = false)
MSharpen(threshold = 10, strength = 100, highq = true, mask = false)
KNLMeansCL(D = 1, A = 1, h = 8)
Tweak(hue = 0, sat = 1, bright = 0, cont = 1, coring = true)
AviSource = ("C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1.mkv")
EEDI2 = (mthresh=10, lthresh=20, vthresh=20, estr=2, dstr=4, maxd=24, field=-1, map=0, nt=50, pp=1)
Is this what you guys were asking for?
Groucho2004
9th August 2017, 08:38
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\aWarpSharp2\aWarpSharp.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\both\ffms2\ffms2.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\both\KNLMeansCL\KNLMeansCL.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\MSharpen\msharpen.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\RgTools\RgTools.dll")
Import("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\SMDegrain\SMDegrain.avsi")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\masktools2\masktools2.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\mvtools2\mvtools2.dll")
LoadPlugin("G:\PC Software\Portable\StaxRip-x64-1.6\Apps\Plugins\avs\nnedi3\nnedi3.dll")
FFVideoSource("C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1.mkv", colorspace = "YV12", \
cachefile = "C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1_temp\1.Toradora! NCOP 1.ffindex")
RemoveGrain()
aWarpSharp2(thresh = 128, blur = 2, type = 0, depth = 16, chroma = 4)
SMDegrain(tr = 2, thSAD = 250, contrasharp = false, refinemotion = true, lsb = false)
MSharpen(threshold = 10, strength = 100, highq = true, mask = false)
KNLMeansCL(D = 1, A = 1, h = 8)
Tweak(hue = 0, sat = 1, bright = 0, cont = 1, coring = true)
AviSource = ("C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1.mkv")
EEDI2 = (mthresh=10, lthresh=20, vthresh=20, estr=2, dstr=4, maxd=24, field=-1, map=0, nt=50, pp=1)
Is this what you guys were asking for?
If you remove this line (I really don't know what that's for):
AviSource = ("C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1.mkv")
and change the last line to:
EEDI2(mthresh=10, lthresh=20, vthresh=20, estr=2, dstr=4, maxd=24, field=-1, map=0, nt=50, pp=1)
it will probably work.
Natty
9th August 2017, 11:11
Is it possible to configure StaxRip in such a way that all encoding-related settings are kept as-is when a new source file is dropped in? That is, kept as-is instead of loading settings from default template.
saving encoding profies and going to settings and saving templete while enabling option to load it at startup?
Cyberavater
9th August 2017, 13:47
If you remove this line (I really don't know what that's for):
AviSource = ("C:\Users\Azmain\Desktop\New folder (9)\1.Toradora! NCOP 1.mkv")
and change the last line to:
EEDI2(mthresh=10, lthresh=20, vthresh=20, estr=2, dstr=4, maxd=24, field=-1, map=0, nt=50, pp=1)
it will probably work.
Yes it worked thanks @Groucho2004 @stax76
Cyberavater
9th August 2017, 14:00
I have another problem.You see av+ works fine and finishes encoding without any problems but when I use vs staxrip crashes and says staxrip has stopped working... Any suggestion bro ?
stax76
9th August 2017, 14:29
A crash without the .NET runtime giving debug information is rare but can happen, do you have automatic window updates enabled on your machine? Post a screenshot of the error.
Cyberavater
9th August 2017, 14:50
A crash without the .NET runtime giving debug information is rare but can happen, do you have automatic window updates enabled on your machine? Post a screenshot of the error.
Automatic windows updates is DISABLED on my machine
Here is the snapshot http://imgbox.com/zLU1YsIw
And the detail you can't see in the snapshot...
Problem signature:
Problem Event Name: BEX64
Application Name: StaxRip.exe
Application Version: 1.6.0.0
Application Timestamp: 59779adf
Fault Module Name: StackHash_1dc2
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 0000000000000000
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2117
Additional Information 1: 1dc2
Additional Information 2: 1dc22fb1de37d348f27e54dbb5278e7d
Additional Information 3: cbc5
Additional Information 4: cbc5ec6970b2af35927ad67117ca57e2
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
stax76
9th August 2017, 15:00
See here:
https://forum.doom9.org/showthread.php?p=1811266#post1811266
Cyberavater
10th August 2017, 06:58
@stax76 So basically if I turn on windows update VS should work fine I presume ?
stax76
10th August 2017, 07:55
Probably yes.
Cyberavater
10th August 2017, 09:21
@stax76 Thanks
Cyberavater
10th August 2017, 20:32
Can you tell me how can I use waifu2x with avisynth (not VS) in staxrip?
burfadel
11th August 2017, 01:22
Is jpsdr's all-in-one plugin a consideration? It combines NNEDI3, Resize MT, and AutoYUY2 into one package. When using more than one of these functions it reduces the number of threads etc required. It's just under 200 KB larger for the DLL.
If included, the resize functions in Staxrip could be supplemented with these MT versions, with prefetch command set for these functions (and for NNEDI3 as well). The prefetch equates to the prefetch in the script, so at the moment this would be prefetch=4.
https://forum.doom9.org/showthread.php?t=174248
Also Mediainfo included is 0.7.96, 0.7.98 is the latest.
stax76
11th August 2017, 21:40
I've added it but the resize mt functions are freezing, what's strange is at first it worked, I'll try to reboot once my download completes.
Magik Mark
11th August 2017, 22:25
stax,
Error:
https://s7.postimg.org/6r7hjt5x7/Stax_Error.png (https://postimages.org/)
If other app windows is open and then stax finishes the job
stax76
11th August 2017, 22:44
Which build was it?
Magik Mark
11th August 2017, 22:55
It has been happening since 1.6.x
stax76
11th August 2017, 22:59
Under which circumstances does it happen and did you edit the main menu?
stax76
12th August 2017, 23:23
@burfadel
I get freezes with code like this:
LoadPlugin("D:\Projekte\VS\VB\StaxRip\bin\Apps\Plugins\both\ffms2\ffms2.dll")
LoadPlugin("D:\Projekte\VS\VB\StaxRip\bin\Apps\Plugins\avs\JPSDR\Plugins_JPSDR.dll")
FFVideoSource("D:\Temp\StaxRip\atmos.mkv", colorspace = "YV12", \
cachefile = "D:\Temp\StaxRip\atmos_temp\atmos.ffindex")
BicubicResizeMT(1920, 1080, prefetch = 4)
Prefetch(4)
stax76
13th August 2017, 00:22
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.6.0.7 unstable test build
fix: issue with numeric up/down controls causing rounding problem (bug report via email)
fix: memory leak causing high memory and crashes while batch processing, I was able to add and process 300 files with 250 MB memory used at the end (bug report via github issue tracker)
new: nnedi3 replaced by JPSDR plugin pack which is a merge of NNEDI3, Resize MT, and AutoYUY2, I'm getting freezes with the resize mt functions though (request via doom9 forum)
change: x265 options --refine-intra and --refine-inter changed from boolean to integer (doom9 forum anouncement)
change: more debug infos added to find the issue that the main window goes missing after eac3to demuxing (bug report via email)
update: AVSMeter 2.6.1 (doom9 forum anouncement)
update: MediaInfo 0.7.98 (request via doom9 forum)
Cyberavater
13th August 2017, 13:37
@stax Bro do have any plans to add a pre-filter set Template for anime encoding? Just asking cuz that would be much helpful.:)
Natty
14th August 2017, 12:56
is it possible to use hqdering / hqdering mod with staxrip frank?
burfadel
14th August 2017, 17:43
is it possible to use hqdering / hqdering mod with staxrip frank?
You can add any additional filter or script to the avisynth plugins directory, and they will automatically be loaded. The plugins can be used by adding the command in the script editor window as per the plugin's literature, and if you want to add more boxes just add any 'misc' filter and adjust accordingly.
Natty
15th August 2017, 19:18
You can add any additional filter or script to the avisynth plugins directory, and they will automatically be loaded. The plugins can be used by adding the command in the script editor window as per the plugin's literature, and if you want to add more boxes just add any 'misc' filter and adjust accordingly.
i tried hard but cant. maybe frank can tell the procedure.
Patman
16th August 2017, 19:05
Hi Frank,
i started only one encode and the mainwindow stays in background. Here is the log from the debug file:
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
ProcController Start Demux xml chapters using mkvextract 14.0.0
ProcController Start Demux ogg chapters using mkvextract 14.0.0
ProcController Start Index with ffmsindex
ProcController.Cleanup Demux xml chapters using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Cleanup Demux ogg chapters using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Finished aaa
ProcController.Finished bbb
MainForm.Activated
ProcController.Finished
ProcController.Cleanup about to call Finished
ProcController.Finished aaa
ProcController.Cleanup Index with ffmsindex; procs count: 0;isprocessing: False
ProcController.Finished bbb
ProcController.Finished
MainForm.Activated
ProcController Start Demux mkv using mkvextract 14.0.0
ProcController Start Demux xml chapters using mkvextract 14.0.0
ProcController Start Demux ogg chapters using mkvextract 14.0.0
ProcController.Cleanup about to call Finished
ProcController.Finished aaa
ProcController.Cleanup Demux mkv using mkvextract 14.0.0; procs count: 0;isprocessing: False
ProcController Start Process using DGIndexNV 2053 102
ProcController.Cleanup Demux xml chapters using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Cleanup Demux ogg chapters using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Cleanup about to call Finished
ProcController.Finished aaa
ProcController.Cleanup Process using DGIndexNV 2053 102; procs count: 0;isprocessing: False
AutoCrop start
AutoCrop end
ProcController.Finished aaa
ProcController.Finished bbb
MainForm.Activated
ProcController.Finished
ProcController.Finished bbb
ProcController.Finished
ProcController.Finished bbb
ProcController.Finished
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
ProcController Start Demux mkv using mkvextract 14.0.0
ProcController Start Demux xml chapters using mkvextract 14.0.0
ProcController Start Demux ogg chapters using mkvextract 14.0.0
ProcController Start Process using DGIndexNV 2053 102
ProcController.Cleanup Demux mkv using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Cleanup Demux xml chapters using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Cleanup Demux ogg chapters using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Cleanup about to call Finished
ProcController.Finished aaa
ProcController.Cleanup Process using DGIndexNV 2053 102; procs count: 0;isprocessing: False
ProcController Start Convert sup to sub: .... ID3 German Deutsch.sup
ProcController Start Convert sup to sub: .... ID4 German Deutsch.sup
ProcController.Cleanup Convert sup to sub: .... ID3 German Deutsch.sup; procs count: 1;isprocessing: False
ProcController Start Convert sup to sub: .... ID5 German Deutsch.sup
ProcController Start Extract forced subtitles if existing
ProcController Start Extract forced subtitles if existing
ProcController.Cleanup Convert sup to sub: .... ID4 German Deutsch.sup; procs count: 1;isprocessing: False
ProcController.Cleanup Convert sup to sub: .... ID5 German Deutsch.sup; procs count: 1;isprocessing: False
ProcController.Cleanup Extract forced subtitles if existing; procs count: 1;isprocessing: False
ProcController Start Extract forced subtitles if existing
AutoCrop start
ProcController.Cleanup about to call Finished
ProcController.Finished aaa
ProcController.Cleanup Extract forced subtitles if existing; procs count: 0;isprocessing: False
ProcController.Cleanup about to call Finished
ProcController.Finished aaa
ProcController.Cleanup Extract forced subtitles if existing; procs count: 0;isprocessing: False
AutoCrop end
ProcController.Finished aaa
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
MainForm.Activated
ProcController Start Demux mkv using mkvextract 14.0.0
ProcController Start Demux xml chapters using mkvextract 14.0.0
ProcController Start Demux ogg chapters using mkvextract 14.0.0
ProcController Start Process using DGIndexNV 2053 102
ProcController.Cleanup Demux mkv using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Cleanup Demux xml chapters using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Cleanup Demux ogg chapters using mkvextract 14.0.0; procs count: 1;isprocessing: False
ProcController.Cleanup about to call Finished
ProcController.Finished aaa
ProcController.Cleanup Process using DGIndexNV 2053 102; procs count: 0;isprocessing: False
ProcController Start Convert sup to sub: .... ID3 German Deutsch.sup
ProcController Start Convert sup to sub: .... ID4 German Deutsch.sup
ProcController.Cleanup Convert sup to sub: .... ID3 German Deutsch.sup; procs count: 1;isprocessing: False
ProcController Start Convert sup to sub: .... ID5 German Deutsch.sup
ProcController Start Extract forced subtitles if existing
ProcController.Cleanup Convert sup to sub: .... ID4 German Deutsch.sup; procs count: 1;isprocessing: False
ProcController Start Extract forced subtitles if existing
ProcController.Cleanup Convert sup to sub: .... ID5 German Deutsch.sup; procs count: 1;isprocessing: False
ProcController.Cleanup Extract forced subtitles if existing; procs count: 1;isprocessing: False
ProcController Start Extract forced subtitles if existing
AutoCrop start
ProcController.Cleanup about to call Finished
ProcController.Finished aaa
ProcController.Cleanup Extract forced subtitles if existing; procs count: 0;isprocessing: False
ProcController.Cleanup about to call Finished
ProcController.Finished aaa
ProcController.Cleanup Extract forced subtitles if existing; procs count: 0;isprocessing: False
AutoCrop end
ProcController.Finished aaa
I hope it helps to find the issue.
stax76
16th August 2017, 20:26
@Cyberavater
I usually don't add a lot profiles and templates.
is it possible to use hqdering / hqdering mod with staxrip frank?
I'll add any plugin on request if the file size isn't too high, in this case there is no x64 version available.
@Patman
I've also a report via mail about it, I'll examine it once the upcoming fdkaac feature is finished, probably tomorrow.
Patman
16th August 2017, 20:31
...
@Patman
I've also a report via mail about it, I'll examine it once the upcoming fdkaac feature is finished, probably tomorrow.
...
Problem is always solved when you restart the PC. Then Staxrip works. Maybe something with windows, .Net Framework or Visual C++???
Natty
16th August 2017, 22:34
in this case there is no x64 version available
any workaround?
stax76
16th August 2017, 23:40
@Patman
I don't know yet what could be the reason.
@Natty
There is a avisynth plugin using named pipes for inter process communication, I forgot the name. You can also make a request on the tracker for a 32-bit build, it's true I don't like the idea but it's also true I've always listened to feedback.
wiak
17th August 2017, 19:03
am currently testing ffmpeg with amf
so here is the settings
-vcodec h264_amf
Encoder h264_amf [AMD AMF H.264 Encoder]:
General capabilities: delay
Threading capabilities: none
Supported pixel formats: nv12 bgra argb rgba yuv420p yuyv422
h264_amf AVOptions:
-usage <int> E..V.... Encoder Usage (from 0 to 3) (default transcoding)
transcoding E..V.... Generic Transcoding
ultralowlatency E..V....
lowlatency E..V....
webcam E..V.... Webcam
-profile <int> E..V.... Profile (from 66 to 100) (default main)
baseline E..V....
main E..V....
high E..V....
-level <int> E..V.... Profile Level (from 0 to 62) (default auto)
auto E..V....
1.0 E..V....
1.1 E..V....
1.2 E..V....
1.3 E..V....
2.0 E..V....
2.1 E..V....
2.2 E..V....
3.0 E..V....
3.1 E..V....
3.2 E..V....
4.0 E..V....
4.1 E..V....
4.2 E..V....
5.0 E..V....
5.1 E..V....
5.2 E..V....
6.0 E..V....
6.1 E..V....
6.2 E..V....
-preanalysis <boolean> E..V.... Pre-Analysis Mode (default false)
-quality <int> E..V.... Quality Preference (from 0 to 2) (default speed)
speed E..V.... Prefer Speed
balanced E..V.... Balanced
quality E..V.... Prefer Quality
-rc <int> E..V.... Rate Control Method (from 0 to 3) (default vbr_peak)
cqp E..V.... Constant Quantization Parameter
cbr E..V.... Constant Bitrate
vbr_peak E..V.... Peak Contrained Variable Bitrate
vbr_latency E..V.... Latency Constrained Variable Bitrate
-enforce_hrd <boolean> E..V.... Enforce HRD (default false)
-filler_data <boolean> E..V.... Filler Data Enable (default false)
-vbaq <boolean> E..V.... Enable VBAQ (default false)
-frame_skipping <boolean> E..V.... Rate Control Based Frame Skip (default false)
-qp_i <int> E..V.... Quantization Parameter for I-Frame (from -1 to 51) (default -1)
-qp_p <int> E..V.... Quantization Parameter for P-Frame (from -1 to 51) (default -1)
-qp_b <int> E..V.... Quantization Parameter for B-Frame (from -1 to 51) (default -1)
-max_au_size <int> E..V.... Maximum Access Unit Size (in bits) (from 0 to INT_MAX) (default 0)
-header_spacing <int> E..V.... Header Insertion Spacing (from -1 to 1000) (default -1)
-bf_delta_qp <int> E..V.... B-Picture Delta QP (from -10 to 10) (default 4)
-bf_ref <boolean> E..V.... Enable Reference to B-Frames (default true)
-bf_ref_delta_qp <int> E..V.... Reference B-Picture Delta QP (from -10 to 10) (default 4)
-intra_refresh_mb <int> E..V.... Intra Refresh MBs Number Per Slot in Macroblocks (from 0 to INT_MAX) (default 0)
-slices <int> E..V.... Number of Slices per Frame (from 1 to 8160) (default 1)
-coding <int> E..V.... Coding Type (from 0 to 2) (default auto)
auto E..V.... Automatic
cavlc E..V.... Context Adaptive Variable-Length Coding
cabac E..V.... Context Adaptive Binary Arithmetic Coding
-me_half_pel <boolean> E..V.... Enable ME Half Pixel (default true)
-me_quater_pel <boolean> E..V.... Enable ME Quarter Pixel (default true)
-vcodec hevc_amf
Encoder hevc_amf [AMD AMF HEVC encoder]:
General capabilities: delay
Threading capabilities: none
Supported pixel formats: nv12 bgra argb rgba yuv420p yuyv422
hevc_amf AVOptions:
-usage <int> E..V.... Set the encoding usage (from 0 to 3) (default transcoding)
transcoding E..V....
ultralowlatency E..V....
lowlatency E..V....
webcam E..V....
-profile <int> E..V.... Set the encoding profile (default main) (from 0 to 1) (default main)
main E..V....
high E..V....
-level <int> E..V.... Set the encoding level restriction (default auto) (from 0 to 186) (default auto)
auto E..V....
1.0 E..V....
2.0 E..V....
2.1 E..V....
3.0 E..V....
3.1 E..V....
4.0 E..V....
4.1 E..V....
5.0 E..V....
5.1 E..V....
5.2 E..V....
6.0 E..V....
6.1 E..V....
6.2 E..V....
-quality <int> E..V.... Set the encoding quality (from 0 to 10) (default speed)
balanced E..V....
speed E..V....
quality E..V....
-rc <int> E..V.... Set the rate control mode (from 0 to 3) (default vbr_peak)
cqp E..V....
cbr E..V....
vbr_peak E..V....
vbr_latency E..V....
-gops_per_idr <int> E..V.... GOPs per IDR 0 means no IDR will be inserted (from 0 to INT_MAX) (default 60)
-header_insertion_mode <int> E..V.... Set header insertion mode (from 0 to 2) (default balanced)
balanced E..V....
speed E..V....
quality E..V....
-preanalysis <boolean> E..V.... Enable preanalysis (default false)
-enable_vbaq <int> E..V.... Set header insertion mode (from 0 to 1) (default none)
none E..V....
auto E..V....
-enforce_hrd <boolean> E..V.... Enforce HRD (default false)
-filler_data <boolean> E..V.... Filler Data Enable (default false)
-max_au_size <int> E..V.... Max AU Size in bits (from 0 to INT_MAX) (default 60)
-min_qp_i <int> E..V.... min quantization parameter for I frame (from -1 to 51) (default -1)
-max_qp_i <int> E..V.... max quantization parameter for I frame (from -1 to 51) (default -1)
-min_qp_p <int> E..V.... min quantization parameter for P frame (from -1 to 51) (default -1)
-max_qp_p <int> E..V.... max quantization parameter for P frame (from -1 to 51) (default -1)
-qp_p <int> E..V.... quantization parameter for P frame (from -1 to 51) (default -1)
-qp_i <int> E..V.... quantization parameter for I frame (from -1 to 51) (default -1)
-skip_frame <boolean> E..V.... Rate Control Based Frame Skip (default false)
-me_half_pel <boolean> E..V.... Enable ME Half Pixel (default true)
-me_quater_pel <boolean> E..V.... Enable ME Quarter Pixel (default true)
stax76
17th August 2017, 20:40
@wiak
It don't seem to be in zeranoe builds.
stax76
17th August 2017, 21:00
@Patman
I'm absolutely not able to reproduce it, I've tried it countless times today. I made a change that possibly could fix it and I've much improved the logging info.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.6.0.8 unstable test build
new: support for the fdkaac encoder, it's a high quality encoder, due to non free license it's not included, Opus via ffmpeg is included and because it's a great encoder it's now the default encoder!
fix: audio channel count not always detected correctly
change: better logging info and change that might or might not fix the issue with the missing window, unfortunately I'm not able to reproudce it.
burfadel
19th August 2017, 04:13
There's a new x265 option, currently only in the nightly x265's, just to be aware for later :)
--splitrd-skip
In the new audio settings page, if you change the codec and don't have it set to automatic it allows you to select Opus recording with qaac encoder. This may result in people trying to select incorrect combinations. BTW I like the improvements with batch handling, it's much faster to create batch jobs and start the new jobs now!
Zetti
19th August 2017, 18:42
MKVToolNix v15.0.0 is released.
Natty
20th August 2017, 10:26
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
@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.
i was also stuck in medianblur error, fixed it like this, cant set contrasharp=true though
https://imagez.to/i/JGYxJFvk.png
medianblur.dll is 32 bit and cant be used with stax, with advanced options in smdegrain u will also get errors regarding "dither_lut8"
Natty
20th August 2017, 11:33
earlier i used to select batch files to be encoded, indexed them and them loaded them individually to select different encoding/filtering/cropping etc settings and then started the encoding process but with the latest build i cant do that, it seems that now all files will use the same settings with no cropping
stax76
20th August 2017, 19:18
earlier i used to select batch files to be encoded, indexed them and them loaded them individually to select different encoding/filtering/cropping etc settings and then started the encoding process but with the latest build i cant do that, it seems that now all files will use the same settings with no cropping
I don't remember how exactly this feature worked as I rarely used or tested it, it was removed because it didn't fit into a new design that was needed to fix some long standing bugs, in the past adding files for batch processing has loaded every source and that was unstable, now the jobs are added without loading the source files but with that the demuxing/indexing feature is not possible. I think you can get the same thing done using the CLI, save a batch file in Windows's 'Send To' folder, the batch code looks like so:
@echo off
for %%i in (%*) do (
"D:\Apps\StaxRip.exe" -loadTemplate:"template name" %%i -addjob -exit
)
staxrip development is slow since I'm working on a player, just a little bit maintenance:
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
1.6.0.9 unstable test build
new: x265 switch and flags added but the x265 binary is not updated because it isn't yet merged with the stable branch (https://forum.doom9.org/showthread.php?p=1815427#post1815427)
new: added setting to enable debug logging to settings dialog, the issue with the main dialog disappearing is probably fixed so at the moment the setting is probably useless (https://github.com/stax76/staxrip/issues/244)
fix: subtitle cutting did not work for multi stream idx files extracted with vsrip (https://github.com/stax76/staxrip/issues/268)
change: The dialog to add files for batch processing and for merging is now bigger, resizeable and has automatic scrollbars (https://github.com/stax76/staxrip/issues/271)
internal: replace mkvmerge --identify-verbose with --identify due to --identify-verbose being deprecated
update: mkvmerge 15.0.0 (https://forum.doom9.org/showthread.php?p=1815485#post1815485)
Natty
20th August 2017, 20:56
I'm working on a player
cant wait to replace potplayer with staxplayer :D:devil:
stax76
20th August 2017, 22:57
I don't encode very often unfortunately and due to streaming and downloading the interest of most people in encoding is declining it seems, if you play media much more often then encode it then it makes sense switching focus from encoding to playback, my interest in Kodi and mpv is growing fast. This don't mean that I'll abandon staxrip, it's relative easy to maintain and still fun.
burfadel
21st August 2017, 04:02
A lot of people still like to encode, I do. It's almost a hobby in a way :). A good streaming player would be good though, especially if it can use madVR to maximise playback quality with maybe EVR as a fallback. For encoding you already need the source so you can watch it anyway, streaming is just convenience.
Ultimately a stream capture, temp storage as a largeish file and encode function would be handy, purely for personal use of course. Stream and save like an old analogue TV tuner card from the player, encode with Staxrip.
Natty
21st August 2017, 08:27
interest of most people in encoding is declining it seems.
no it isnt so, 4k sources are in tons of GB. if streaming sources eat lesser bandwidth, interest may decline. prices are already competitive.:helpful:
This doesn't mean I'll abandon staxrip.
please, never do.
IbrahimKh
25th August 2017, 04:25
https://s2.postimg.org/4jp606sjd/screenshot_118.png (https://postimages.org/)
how to edit this default value?
Natty
26th August 2017, 08:38
https://s2.postimg.org/4jp606sjd/screenshot_118.png (https://postimages.org/)
how to edit this default value?
remove that line
IbrahimKh
26th August 2017, 12:03
remove that line
I did but it keeps coming back to default
stax76
26th August 2017, 12:44
I've added a short description to the FQA:
https://github.com/stax76/staxrip/wiki/Frequently-Asked-Questions#why-dont-settings-persist
Yanak
30th August 2017, 22:54
any workaround?
Hi,
"MP_Pipeline" can help, i run a few things in x86-32bit mode inside staxrip x64, made a long explanation about it once, on this page here :
https://github.com/stax76/staxrip/issues/170
Might serve for your problem too, still running fine for me.
@Stax :
Hi,
i had to take a little break for various reasons, i come back and there was like 30 new releases done lmao, lot of new interesting things and fixes, you never stop man, thanks a lot for that hard work.
Had to re-do most of my profiles and settings again, exporting the settings as before did not worked this time for many of them or some things were messed up like the event commands that were all inverted.
Anyways i almost done all and i have a question for the AAC encoders :
- I used to encode audio in 384k CBR for some of my stuff, this is still possible using ffmpeg for the encoding, however after getting the needed files for the qaac and fdkaac i can not achieve this with those.
qaac is quite interesting with the piping from ffmpeg but apparently it is limited to 320k for stereo no matter if you set up a higher value ( goes higher with more channels than a simple stereo tho).
According the the documentation and if i understood correctly something i saw on one of my google searches you can somehow trick it if you set a value under 8 bits like said here :
https://github.com/nu774/qaac/wiki/Encoder-configuration
For CBR, ABR, and CVBR, bitrate less than 8 is taken as bits per sample. Bitrate is calculated as the following:
bitrate = bits per sample * number of channels(excluding LFE) * sample rate
For example, --cvbr 1.5 is equivalent for --cvbr 144 in case of 48kHz, 2ch.
But in staxrip the minimum i can set is 16 bits only... and trying to add this manually in the custom command option for the encoder creates a conflict of course, not sure what i can do here to experiment with values under 8bits and bypass the 320k bitrate limit in stereo mode.
fdkaac seems to work but this one doesn't keep my settings, i am not sure if it's a bug yet so i ask here first and if needed i'll make a report on github.
If i make a profile or set it to 384 like here :
https://s14.postimg.org/4r0goyao1/16425820170830233818.png
It works, but only once, using mediainfo the audio ouput when i use this is 384, same if i set 512 the ouput is 512, for some reasons after the profile is loaded again or for the next encoding it reverts to another value than the 384 in profile, again not sure if i am missing something and doing it wrong here or if it' a bug, or else.
Anyways i would like to use either qaac with the piping option or fdkaac with CBR 384 bitrate, qaac i can't since i cannot trick it with a birate under 8bits as the minimum i can set is 16 bit and fdkaac is apparently not working as expected and reverting my settings and profiles... if you or someone else have any ideas please, if the fdkaac reverting is confirmed as bug i'll make a proper bug report for it.
Thanks in advance and as always thanks a lot for this great tool ( and curious to see about the player you are working on too :p )
stax76
31st August 2017, 00:40
But in staxrip the minimum i can set is 16 bits only...
I've changed it to 1.
fdkaac seems to work but this one doesn't keep my settings.
Yes it was a bug.
My new player is included, it's mostly pure mpv with dotnet addon feature.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://1drv.ms/f/s!ArwKS_ZUR01goCzIRemxotXY_zz-
1.6.1.1 unstable test build
new: eac3to demuxing supports the temp files folder defined in the options (https://github.com/stax76/staxrip/issues/277)
new: mpv replaced with mpv.net (https://github.com/stax76/mpvnet)
new: added button to job processing dialog to show the log file (https://github.com/stax76/staxrip/issues/274)
fix: the OneDrive link had a permission issue (https://github.com/stax76/staxrip/issues/276)
fix: chapters were extracted even if the option was disabled (https://github.com/stax76/staxrip/issues/267#issuecomment-324134970)
fix: null ref exception due to subtitle play button being enabled even if no subtitle is selected (https://github.com/stax76/staxrip/issues/273)
fix: issue in x264 command line generation
fix: fdkaac cbr bitrate not being saved (https://forum.doom9.org/showthread.php?p=1816917#post1816917)
update mvtools2 2.7.22
Yanak
31st August 2017, 08:44
Hi,
awesome, downloading it now and gonna test all this, thanks a lot for the quick changes and fixes Stax, perfect as always.
Seems like i also found an issue with some video files having long names leading to some errors and files not found, already used to happen before once in a while but saw there was a fix applied for long names in one of the releases in the meantime, something is not working as it should i think, need to test more all this and pinpoint the issue then I'll report it on the tracker later in the day.
I will have to check a bit about mpv and his possibilities, and also how to store permanently some setting like borderless mode etc, using a cfg file is apparently possible so it should be fine, just need time to play a bit with this new toy. Not sure what dotnet adds as possibilities but i trust in you to bring some interesting features on this new project, will follow the dedicated thread for this :)
Thanks again for all.
PS: just saw there is a "x86" and "release" subfolder folder in last version, not sure if supposed to be there.
stax76
31st August 2017, 10:41
Hi,
mpv has a learning curve, mpv.net supports almost everything except window features because it uses window embedding in order to being able to add a classic GUI like menus and dialogs, I might be able to implement window features on request.
I worked some minuted on a x86 build, it's something I don't like much to do but I know there are quite a few people who use it so I should try to get it working some day.
ABDO
1st September 2017, 01:32
Hi,
mpv has a learning curve, mpv.net supports almost everything except window features because it uses window embedding in order to being able to add a classic GUI like menus and dialogs, I might be able to implement window features on requestthat is great news :D
burfadel
2nd September 2017, 20:30
In 1.6.1.1, the down arrow for changing the position of the files in queue doesn't work. The up arrow works fine though! Not sure if previous builds exhibited this behaviour.
fredlkrue
2nd September 2017, 21:15
In 1.6.1.1, the down arrow for changing the position of the files in queue doesn't work. The up arrow works fine though! Not sure if previous builds exhibited this behaviour.
Same problem here, and I hope the Close button comes back.
stax76
3rd September 2017, 04:31
and I hope the Close button comes back.
You are on Win 7, aren't you? On Win 10 the buttons in the title bar are bigger! ;)
the down arrow for changing the position of the files in queue doesn't work.
Yes, sorry, it was a stupid mistake on a tiny change that normally don't need testing. I uploaded a fix but there is not much changed, I need look at the github issue tracker.
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://1drv.ms/f/s!ArwKS_ZUR01goCzIRemxotXY_zz-
1.6.1.2 unstable test build
fix: move down item in job list was broke
update: mpv.net 0.2
update: Plugins_JPSDR 1.2.0
update: AVSMeter 2.6.2
burfadel
3rd September 2017, 05:33
Many custom scripts use filters included in Staxrip. If the filter isn't called in Staxrip the filter isn't loaded unless it is located in the Avisynth plugins64 folder or the person loads it manually.
Is it possible to add a loadplugin feature like currently when adding filled? All loaded plugins can be added to the same filter box segment at the top?...
stax76
3rd September 2017, 06:06
I didn't understand the second part. When a avsi file is imported staxrip could scan it to find out which plugins it uses, that should be better then how it currently works.
stax76
4th September 2017, 05:44
Please test. :)
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://1drv.ms/f/s!ArwKS_ZUR01goCzIRemxotXY_zz-
1.6.1.3 unstable test build
new: GradCurve VapourSynth plugin
new: smarter discovery of required AviSynth LoadPlugin calls
new: FFT3DFilter AviSynth plugin
new: mClean AviSynth+ script
NikosD
5th September 2017, 17:23
1.6.1.3 unstable test build
new: GradCurve VapourSynth plugin
new: smarter discovery of required AviSynth LoadPlugin calls
new: FFT3DFilter AviSynth plugin
new: mClean AviSynth+ script
Just FYI and for your next build, there is a new QSVEncC v2.73 version here:
https://drive.google.com/drive/folders/0BzA4dIFteM2dVGZ5dE5lSE5mYVk
stax76
5th September 2017, 22:37
Thanks, I've updated it.
Natty
7th September 2017, 16:51
Please test. :)
new: mClean AviSynth+ script
in smdegrain, set contrasharp=true and contrasharp=100 without using lsfmod (earlier without lsfmod it gave stupid errors) and didnt get errors in both the cases, currently doing a small encode with contrasharp=true.
lsb = true is giving error called "dither_lut8" though
and
where to find mclean option?
stax76
7th September 2017, 16:54
You can find mClean in the Filter Profiles editor on the defaults tab.
VfBFan
7th September 2017, 18:19
The option "Prevent system entering standby mode while encoding" does not work anymore. The system is entering standby mode after the time set in the windows options while StaxRip is encoding.
During the encode process I only have the job processing window open, no other StaxRip window.
StaxRip 1.6.0.9
Windows 7
Natty
7th September 2017, 18:19
You can find mClean in the Filter Profiles editor on the defaults tab.
using it now, but the present script and the newer script is giving error
https://forum.doom9.org/showthread.php?t=174804
https://imagez.to/i/g2Waiewb.png
i copy pasted mclean line from default tab to edit tab in filer profiles
Taurus
7th September 2017, 18:31
@Natty:
Fire up StaxRip.
Go to Apps.
Go to Manage.
Scroll down to find FFTW.
Open FFTW.
The last words are self explaining...
This is the simple way to put the right 64bit FFTW file to your Windows\system32 directory.
Natty
7th September 2017, 22:19
@Natty:
Fire up StaxRip.
Go to Apps.
Go to Manage.
Scroll down to find FFTW.
thanks for quick help, the older script of mclean works fine now :thanks:
stax76
7th September 2017, 22:53
The option "Prevent system entering standby mode while encoding" does not work anymore. The system is entering standby mode after the time set in the windows options while StaxRip is encoding.
During the encode process I only have the job processing window open, no other StaxRip window.
StaxRip 1.6.0.9
Windows 7
There is nothing changed since I last checked it, what I noticed is that the code doesn't support multiple staxrip instances, did you encode with more then one instance?
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://1drv.ms/f/s!ArwKS_ZUR01goCzIRemxotXY_zz-
1.6.1.4 unstable test build
fix: StaxRip didn't ask to install FFTW in case it's required by the active script (https://forum.doom9.org/showthread.php?p=1817732#post1817732)
new: the job processing dialog additionally to showing the progress as text it shows progress now also with a progress bar (https://github.com/stax76/staxrip/wiki/Screenshots#job-processing)
new: DeLogo VapourSynth plugin (https://forum.gleitz.info/showthread.php?26177-StaxRip-Encoding-Frontend-(Diskussion)&p=459186&viewfull=1#post459186)
new: Log File Viewer added, it features a nav/tab bar to eailiy navigate to the different sections of the log file (https://github.com/stax76/staxrip/wiki/Screenshots#log-file-viewer)
new: DCTFilter v0.5.0 AviSynth plugin added (https://github.com/chikuzen/DCTFilter)
usability: preview starts with zoom for small resolutions
cosmetic: DTS-HRA wasn't detected and extracted and displayed as DTS-HD
update: x265 2.5+14 (https://forum.doom9.org/showthread.php?p=1817514#post1817514)
update: QSVEnc 2.73 (https://forum.doom9.org/showthread.php?p=1817549#post1817549)
update: Plugins_JPSDR 1.2.1 (https://forum.doom9.org/showthread.php?p=1817738#post1817738)
update: mClean 1.5d (https://forum.doom9.org/showthread.php?t=174804)
VfBFan
8th September 2017, 13:18
I encode only with one instance.
I can't say with which version the faulty behaviour first has occurred, but v1.6.0.9 doesn't prevent entering standby mode.
stax76
8th September 2017, 14:47
I'll run some tests today and see if I can reproduce it. Are there people that can confirm that it's working correctly on their system?
NikosD
9th September 2017, 14:31
Nice job with the progress bar.
Great experience working with StaxRip.
Thanks for the update.
burfadel
10th September 2017, 01:49
I notice the progress update only occurs at each 0.1 percent intervals now, previously the frames counted in between each 0.1 percentage increase.
Magik Mark
10th September 2017, 02:57
Guys,
I really would like to try the fdkaac. Can someone teach us how to install the encoder? Preferably something that has been compiled already
Thaanks
stax76
10th September 2017, 03:19
@burfadel
I don't remember how it was before and when it was changed, the parsing code is simple, it reads the number before the percent character, the GUI is only refreshed if this number changes, keep in mind that additional parsing and drawing would use CPU time. There are some tools, I think it was eac3to and mkvtoolnix that have only 1 percent intervals, I can live with that.
Khun_Doug
10th September 2017, 05:10
I would bet real money that some number of releases back I was able to test AMD H.265 hardware encoding. I have been using the same PowerColor R9 380 video board since December 2016. I am now using a newer release of Windows 10 (build 16278) and a newer version of StaxRip. Now whenever I try to do an AMD H.265 encode I almost immediately get an error from VCEEncC 3.06 x64. The last line of the error window seems to give the relevant information: Failed to AMFCreateComponent: AMF_ENCODER_NOT_PRESENT, Finished with error in VCEEncC. I am also getting the same error on a newer PowerColor R9 380X Myst Edition board.
According to information I was able to ferret from the AMD website, both the R9 380 and R9 380X are Tonga generation boards and do have the H.265 encoder on board. According to HWInfo64, both boards show as Tonga.
Am I imagining things and that H.265 encoding never worked on the R9 380 boards? I distinctly remember my test cases because i remember the video board fans going to near full speed while the encode was running and then returning to normal speed once done.
What am I missing to make this all work?
burfadel
10th September 2017, 06:28
@burfadel
I don't remember how it was before and when it was changed, the parsing code is simple, it reads the number before the percent character, the GUI is only refreshed if this number changes, keep in mind that additional parsing and drawing would use CPU time. There are some tools, I think it was eac3to and mkvtoolnix that have only 1 percent intervals, I can live with that.
Previously it used to refresh about every second, so you can see the frames go up even if the percentage didn't, which was good! It only refreshes now on each 0.1 percent increase. Over an encode that means 1000 refreshes, which doesn't sound bad. However, consider a movie that is 2 hours long and is 23.976 fps. The total number of frames is 23.976 * 60 (seconds in a minute) * 120 (minutes in 2 hours). Total number of frames is 172,627, so the refresh occuring 1000 times means once every ~172 frames. If you are encoding at 4 fps, it means the progress text will now only update once every ~43 seconds.
NikosD
10th September 2017, 12:34
I got some stalls on the progressive bar too.
Firstly I thought the encoding just stalled, but the GPU was working fully, so waiting a little more I saw a huge jump from 5% to 80% or something like that.
The truth is that I use StaxRip on batch mode, so I almost never monitor the whole process.
I just leave it to do its job.
stax76
10th September 2017, 12:46
@Khun_Doug
You can try to post on the vceenc tracker.
https://github.com/rigaya/VCEEnc/issues
@burfadel
Turned out my custom control didn't repaint when the text property changes.
@Nikos
Maybe it's fixed in the new build.
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://1drv.ms/f/s!ArwKS_ZUR01goCzIRemxotXY_zz-
1.6.1.5 unstable test build
fix: issue in new progress bar implementation causes too few refresh cycles or no refreshes at all
new: FrameRateConverter AviSynth script/plugin added (https://github.com/mysteryx93/FrameRateConverter)
new: new shutdown mode /hybrid (https://www.lifewire.com/shutdown-command-2618100)
change: TS avc/hvc is by default now remuxed to mkv using ffmpeg
change: faster start of preview dialog and fix for the startup location not being remembered
update: AVSMeter 2.6.3
Magik Mark
10th September 2017, 23:10
Stax
"Shutdown" after encoding doesn't work
stax76
11th September 2017, 19:42
@VfBFan
@Magik Mark
I've made two tests, one on my Win 10 system and one on my Win 7 test system using vmware, on both systems I had standby time set to 5 Minutes and was running a 10 minute encode which successfully completed and successfully executed shutdown, the code for shutdown runs shutdown.exe, it's very simple and it wasn't much changed lately.
https://github.com/stax76/staxrip/blob/3a85774ce6191d3657a3237cc6b963dd5023fbfc/General/General.vb#L1447
The code for standby prevention wasn't changed since very long. If it happens again please use the bug tracker and if possible click on the star (only few stars are missing for second most popular VB.NET project).
Magik Mark
12th September 2017, 06:35
Resetting the template and filters helped
Magik Mark
12th September 2017, 06:36
Stax
Can you also put progress bar in encoding audio streams? Thanks
stax76
12th September 2017, 07:37
Resetting the template and filters helped
It's very likely unrelated to filters and templates.
Can you also put progress bar in encoding audio streams?
It parses the output for a percent character so it really depends on the app and it can make a difference what settings are used such as piping because with piping the app cannot calculate the length unless it's passed manually which might not be supported. Which converter are you referring to?
mparade
13th September 2017, 07:40
Is DGDecNV supported as the video decoder (automatic dgi file creation etc. based on the source)?
stax76
13th September 2017, 09:13
@mparade
Please look at:
Filters > Source > Select source filter > Right-Click > Source > DGSource
Filters > Profiles > Source section
Main Menu > Tools > Settings > Preprocessing (previously Demuxing) > DGIndex/DGIndexNV/DGIndexIM > Edit
Main Menu > Tools > Settings > Source Filters > AviSynth > dgi/dgim
Main Menu > Tools > Settings > Source Filters > VapourSynth > dgi
Main Menu > Apps > Manage > enter DG in the search field
There are more places like the code editor has a context menu for most DGSource parameters.
You have to be careful with these settings, for instance while you can demux mkv/mp4 with DGIndexNV I don't recommend it, that's why the Preprocessing setting has two entries for DGIndexNV, it's configured to demux TS, the last build uses ffmpeg to re-mux TS to mkv, if you see that entry depends on which build created your defaults because when I change defaults most of the time I don't force a reset of the defaults, if you see the ffmpeg re-mux ts to mkv entry you have to disable it because DGDecNV has better TS handling.
mparade
13th September 2017, 10:37
Sounds interesting. I will give it a try.
May I update within StaxRip DGDecNV and x265 to the latest versions?
Does your program accept HDR content as an input (via Avisynth+ and DGDecNV (the latest DGDecNV version does support HDR10 and 12) I want to reencode them). May I use custom x265 command lines (may I add custom parameters to the command line)? I want to let the encoder know what HDR metadata is located in the source file).
Thanks for your help.
stax76
13th September 2017, 12:51
May I update within StaxRip DGDecNV and x265 to the latest versions?
You can update things, there is a feature to change version and path in the apps dialog (Main Menu > Apps > Manage).
The newest staxrip test build 1.6.1.5 includes the last stable x265 build 2.5+14
Does your program accept HDR content as an input (via Avisynth+ and DGDecNV (the latest DGDecNV version does support HDR10 and 12) I want to reencode them).
I don't have HDR hardware and don't encode a lot, if you find limitations and report them I usually build and release improvements within a few days.
May I use custom x265 command lines (may I add custom parameters to the command line)? I want to let the encoder know what HDR metadata is located in the source file).
StaxRip supports all encoder options of all encoders but there is always a custom option included just in case. Special or new things I don't know much about I usually implement as script first, have a look at:
Main Menu > Tools > Scripts
There is script called 'Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR v3', the parameters are contributed by a user.
RieGo
13th September 2017, 14:49
Hello,
i'm having difficulties with one specific video file:
http://www18.zippyshare.com/v/yOhSh7CI/file.html (trimmed)
whenever i open it with staxrip vapoursynth, my staxrip just crashes completely. it's a ts-doctor generated ts file.
i tried muxing to mkv, i tried all source filters, i tried resetting settings and i even tried loading it as avi file by using avfs. (loading by avisynth works just fine)
other video files also work with staxrip / vapoursynth filters
does anybody have an explanation?
thanks
stax76
13th September 2017, 15:02
It works here, in the newest test build I changed the TS default handling, TS is now re-muxed to MKV with ffmpeg, you can find the build here:
https://github.com/stax76/staxrip/blob/master/md/changelog.md
Enable the new defaults here:
Main Menu > Tools > Settings > Preprocessing > Restore
DGDecNV is probably the best TS solution btw.
edit:
Log: https://pastebin.com/WZHVshQs
RieGo
13th September 2017, 15:52
ok, thanks.
it doesn't work with latest staxrip + default settings. it seems to be a problem with vapoursynth, as opening the vpy with mpc-hc also results in a crash...
i probably got something wrong with my python/VS installation
stax76
13th September 2017, 16:00
You are right, you can use LWLibavSource instead, I'll file a bug report.
RieGo
13th September 2017, 16:05
You are right, you can use LWLibavSource instead, I'll file a bug report.
fixed my problem. had an x86 python set as default :rolleyes:
thanks anyways!
stax76
13th September 2017, 16:07
OK, I had an error too but after a second try it was fine.
mparade
13th September 2017, 20:51
@Stax
HDR encoding seems to be working using the latest DGDecNV! Encoding seems to be ~35-40% faster than without GPU assistance for video decoding (on GTX 1060 6GB).
Nice job! More info only after testing the output on my HTPC and HDR OLED TV.
aegisofrime
14th September 2017, 02:17
Hi stax76.
I'm having some instances of StaxRip misinterpreting x265 returning "STATUS_WAIT_1" as an error and thus aborting the task. Based on my own analysis, STATUS_WAIT_1 (that's how I remember it, will grab a screenshot the next time I see it) might be returned when x265 is waiting for frames from the frameserver. This will occur with very heavy or slower scripts. The script itself is fine; I can simply start the encoding job again and most of the time it will encode fine. Could you disregard this status in future releases and stop StaxRip from aborting the encode job? I hope I'm making sense here. :p
stax76
14th September 2017, 15:04
Hi aegisofrime,
are you sure the x265 process is still alive when you get this error?
As far as I know you would only see such a error after the process was terminated.
@mparade
I'm working on something HDR related for the next build.
mcjordan
15th September 2017, 12:05
NVEnc 3.19
Changes in NVEnc 3.18
· Added automatic field shift. (vpp-afs)
· In case of interleave, various filters can process while maintaining the field.
Added the function to reflect rff appropriately and expand it to the field. (vpp-rff)
Fixed that abnormal termination might occur when converting yuv420 of high bit depth to p010.
Changes to NVEnc 3.19
[NVEnc.auo]
HEVC Enable to set frame type at encoder.
stax76
15th September 2017, 18:15
I've uploaded a maintenance build, nothing exciting due to lack of ideas. :)
Requirements
.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)
https://www.microsoft.com/en-us/download/details.aspx?id=55170
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://1drv.ms/f/s!ArwKS_ZUR01goCzIRemxotXY_zz-
1.6.1.6 unstable test build
new: various new resolutions added to the resize menu
new: transfer_characteristics added to mediainfo folder view
new: MediaInfo properties colour_primaries, transfer_characteristics and matrix_coefficients are read from the source file and the encoder switches --colorprim, --transfer and --colormatrix are set
new: NVEnc --vpp-rff and --vpp-afs switches added
fix: preview did not work with > 8 bit depth avs scripts
fix: incorrect VUI flags corected and all flags alphabetically sorted
usability: the preprocessing settings have better names and the dialog width adjusts automatically (https://github.com/stax76/staxrip/wiki/Screenshots#preprocessing)
change: improved discovery of required VapourSynth LoadPlugin/SourceFileLoader functions
new: VapourSynth plugin vsfft3dfilter added (https://github.com/VFR-maniac/VapourSynth-FFT3DFilter)
update: MediaInfo 0.7.99
update: mClean 1.7b
update: AVSMeter 2.6.5
update: NVEnc 3.19
VfBFan
15th September 2017, 22:10
The standby issue is gone.
But I have no idea why it is now working. :)
V1.6.1.5, all settings reseted -> works.
mparade
16th September 2017, 12:39
@stax
I would have some idea how to improve HDR encodes in your program (would be for not to set manually the mastering display parameters because calculating them manually is very time consuming). Unfortunately, the output 10-bit mkv file of your program has some decoding artifact so first of all I need to find out what is causing that:
http://www.mammutmail.com/hu/download/bdf08e075867514436013154b6fea0dd
1. It is encoded in the output (problem with DGDecNV);
2. It is a problem relating to the decoder (Lav filters etc.);
3. It is a problem relating to the renderer (madVR etc.);
4. It is a a problem relating to the display;
stax76
16th September 2017, 14:11
@mparade
First I wanted to support the mastering display parameters based on recent posts in the x265 thread but it was a little bit tricky. If you post your source media info and your resulting command line it will help me to code it.
@VfBFan
I hope it don't come back.
mparade
16th September 2017, 15:08
This is most probably the problem with:
1. It is encoded in the output (problem with DGDecNV);
stax76
16th September 2017, 15:13
You can report it here:
http://rationalqm.us/board/index.php
mparade
16th September 2017, 19:42
You can report it here:
http://rationalqm.us/board/index.php
I will be reporting the problem to Donald Graft urgently because I am quite sure it is a CUVID bug.
mparade
17th September 2017, 16:06
First I wanted to support the mastering display parameters based on recent posts in the x265 thread but it was a little bit tricky. If you post your source media info and your resulting command line it will help me to code it.
If media info tells:
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000
Mastering display luminance : min: 0.0050 cd/m2, max: 4000.0000 cd/m2
Maximum Content Light Level : 4000 cd/m2
Maximum Frame-Average Light Level : 290 cd/m2
a sample command line would be according to x265 specs (16bit input is assumed via DGDecNV and if I understand the specs correctly):
--crf 24 --preset slow --tune grain --profile main10 --output-depth 10 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)" --colorprim bt2020 --colormatrix bt2020nc --transfer smpte-st-2084 --range limited --max-cll "4000,290" --input-depth 16
stax76
18th September 2017, 01:06
Movie scene where a jukebox is spinning a stax record...
https://www.youtube.com/watch?v=97qA-Wr1SBU
@mparade
Thanks, it will definitively be supported in the next build (or one after).
dvd_maniac
18th September 2017, 04:09
Stax,
I upgraded to 1.6.0 and my batch script is broken again.
I opens a staxrip.exe but does not encode or create a temp folder. When I try to run the cli script manually it opens the select Avisynth source filter dialog box. How can I bypass this and set it to automatic for every run?
stax76
18th September 2017, 06:37
When I try to run the cli script manually it opens the select Avisynth source filter dialog box. How can I bypass this and set it to automatic for every run?
This dialog is only shown if the source filter is set to 'Manual', you can set it to 'Automatic'.
There is a project option on the misc tab that will hide any dialog, it's probably better to enable this only via CLI with following CLI switch: -SetHideDialogsOption:true
mparade
18th September 2017, 07:27
Thanks, it will definitively be supported in the next build (or one after).
Thank you. I am waiting for the CUDA bug to repair because I prefer GPU assisted decoding:
https://devtalk.nvidia.com/default/topic/1024038/video-technologies/nvdec-hevc-10-bit-decoding-is-broken/
stax76
18th September 2017, 12:39
Thank you. I am waiting for the CUDA bug to repair because I prefer GPU assisted decoding:
https://devtalk.nvidia.com/default/topic/1024038/video-technologies/nvdec-hevc-10-bit-decoding-is-broken/
The only other source filter that support hardware decoding is DSS2/DirectShowSource but it's probably 8-bit only.
ABDO
18th September 2017, 13:29
Hi frank, thank you for your hard work in staxrip, i have a question please, can i import image sequence to staxrip.
stax76
18th September 2017, 13:34
Hi, what kind of image and filename pattern do you have? One filter I found is this:
http://avisynth.nl/index.php/ImageSource
ABDO
18th September 2017, 13:48
thanks for your quick reply, my image is png or Bmp, i use adobe premiere pro to export it, and want to use staxrip to encode it because it much better in this case,the filename pattern is depend on the number of frams exported , if less than 3 digits from 1:100 ( 01-02-03-99), if larg than 3 digts then (001-002-003) and so on.
stax76
18th September 2017, 14:29
You can try to customize staxrip or write a avs/vpy script and open the script file as source file. I'll try to add direct support for image sequences. Would exporting it in a video format with adobe premiere not work?
ABDO
18th September 2017, 14:48
Would exporting it in a video format with adobe premiere not work? i can use adobe premiere to exporting it in a video, but the Problem is the (hevc encoder) in premiere is Useless, and give very bad result compara it (x265) in staxrip, would be great if you can get some time and effort to add this Feature dirctly to staxrip,Unfortunately i do not understand or use scripts :(
StephanD
18th September 2017, 15:10
Heyho,
Dunno if this was already reported, couldn't find anything in the search, but there is a mistake in the automatically created command line für AV1.
If you use the threads-flag, its automatically creating "t=x". This is not correct. There are two flags for it. If you use "--threads", you can use the "=". if you use the short "-t" it should be "-t x" without "=".
As this codec is still in progress, I wouldn't use the shortcodes, because it is not clear, if they remain in later versions.
For example you get a failure when using the "--best"-flag in your programm. In the latest repository of AV1 this flag is gone.
greetz
mcjordan
18th September 2017, 15:57
Updates
mClean v1.7c
* Slight adjustments and slightly better speed
NVEnc v3.20
Summary: Addition of automatic selection function of edge emphasis filter/device, correction of defects, etc.
Common
· If you do not specify otherwise, make device selection automatically when you execute.
In a multi-GPU environment, automatically determine the GPU to be used, especially when there is no designation of the device to be used.
The judgment standard is:
· Whether the specified encoding is possible (check codec, 8bit/10bit, YUV420/YUV444 etc)
· If --avhw is specified, it is possible to decode HW of the input file
· Low use rate of Video Engine
· Low GPU usage rate
· New generation of GPU
· People with a large number of GPU cores
The usage rate of the Video Engine and GPU usage rate are acquired by executing "nvidia -smi.exe -q" because the x64 version can not use the NVML library and the x86 version can not use NVML.
Nvidia-smi.exe is normally installed in "C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe" together with the driver.
· Added Unsharp filter. (-vpp-unsharp)
Unsharp filter for ordinary contour and detail emphasis (I think that's it). At first I tried using it because it is in the NPP library ... I tried it a lot but I thought that usage was bad after all, but it did not work well, so I decided to implement it myself with CUDA as there was no choice.
Parameters
-radius = <int> (default = 3, 1-9)
Scope of contour / detail detection. By setting it to a larger value, it will emphasize in response to a wider range of detail.
-weight = <float> (default = 0.5, 0-10)
Strength of contour and detail emphasis. By setting it to a larger value, it becomes strongly emphasized.
-threshold = <float> (default = 10.0, 0-255)
Threshold for contour and detail detection. Outline emphasis is performed on pixels having a difference equal to or larger than the threshold value.
Example: Somewhat stronger
-vpp-unsharp weight = 1.0
· Added edge level adjustment filter. (-vpp-edgelevel)
Added by adding CUDA as an edge level adjustment filter after Unsharp. The default value of the parameter is slightly weaker than the Aviutl version.
Parameters
-strength = <float> (default = 5.0, - 31-31)
Strength of contour emphasis. By setting it to a larger value, it will emphasize in response to a wider range of detail.
-threshold = <float> (default = 20.0, 0-255)
Noise threshold to avoid outline emphasis. As the larger the value, the larger the luminance change is treated as noise.
-black = <float> (default = 0.0, 0-31)
For the black part of the outline, shoot black more and emphasize the outline.
-white = <float> (default = 0.0, 0-31)
For white portions of the outline, shoot more whitely and emphasize the outline.
Example: Somewhat stronger (Aviutl version default)
-vpp-edgelevel strength=10.0, threshold=16.0, black=0, white=0
Example: Strengthening the black part of the outline
- vpp-edgelevel strength=5.0, threshold=24.0, black=6.0
NVEncC
· Fixed crop being doubled when using crop and resize when using avhw reader.
· Adjust the argument of --transfer to that used in x264 etc.
smpte-st-2048 -> smpte 2048
smpte-st-428 → smpte 428
stax76
18th September 2017, 16:41
@ABDO
I tried the filter, everything needs to be defined manually so it's too much work to integrate the filter in a way that things work as simple as opening a video file.
D:\Temp\aaa\test_000001.jpg
D:\Temp\aaa\test_003040.jpg
ImageSource("D:\Temp\aaa\test_%06d.jpg", 1, 3040, 25)
Maybe there is a easier way with ffmpeg or vapoursynth.
From a tool like premiere I would expect that it can export to a suitable video format.
@StephanD
@mcjordan
Thanks for reporting, I'll fix/update nvenc/aomenc support.
ABDO
18th September 2017, 18:05
ok, i will export video from premiere with ( AVC -H264 ) and it did Excellent job.thank you frank, always willing to help:thanks::)
mcjordan
18th September 2017, 19:30
Hmm... About new NVEnc 3.2.0
With this addition to my custom NVEnc profile aka
--vpp-unsharp radius=2,weight=0.65,threshold=20 --vpp-edgelevel strength=6.0,threshold=16.0,black=0,white=0
I've get a massive color shifting towards the red spectrum area.
Тhis is not observed when using any other --vpp filter.
Maybe I'm losing something somewhere...
---
Part of job processing info:
Input Info Avisynth 2.60(yv12)->p010 [AVX], 1920x816, 24000/1001 fps
Vpp Filters copyHtoD
cspconv(p010 -> yv12(16bit))
unsharp: radius 2, weight 0.6, threshold 20.0
edgelevel: strength 6.0, threshold 16.0, black 0.0, white 0.0
cspconv(yv12(16bit) -> p010)
---
Source media info:
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4
Format settings : 2 Ref Frames
Format settings, CABAC : No
Format settings, RefFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 min 31 s
Width : 1 920 pixels
Height : 816 pixels
Display aspect ratio : 2.35:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Help me - where am I wrong?
Schattenspieler
19th September 2017, 08:15
…, but the Problem is the (hevc encoder) in premiere is Useless, and give very bad result compara it (x265) in staxrip, …You could also try to export using a lossless codec or maybe a codec with lossless settings. There are many threads on the topic over at Adobes site, like this one:
https://forums.adobe.com/message/7686319#7686319
mcjordan
19th September 2017, 16:10
NVEnc v3.2.1
* fix issue of vpp-unsharp, which made the color of output video becoming unstable, going either red or blue.
Problem of color shifting /my previous post/ is resolved.
stax76
19th September 2017, 22:03
Does the nvenc default --cuda-schedule sync make sense? I'm getting 100 fps more with --cuda-schedule auto, maybe I should change the staxrip default using auto instead of sync.
Yanak
20th September 2017, 10:25
Hello Stax,
Since 1.6.1.4 we have this change : "usability: preview starts with zoom for small resolutions "
What resolutions are resized exactly, does it work based on the display resolution & based on a percentage for the input resolution?
I would like to know if there is a way to disable this behavior, if there is maybe an option to not have the resizing and instead get the preview work like it used to work before, displaying the preview window at 100% scale unless too big for the screen display.
I liked the way it worked before, for let's say 640*480px footage the preview display was showing me what i will get in the end, zoomed at 100%.
For high resolutions the preview was downscaled and apparently keeping the zoom level i had set previously when the sizes were bigger than my desktop resolution.
Now i have to use the zoom+- each time for low resolutions videos and don't even know exactly when i am at 100% zoom to see final result as there is no indication of the zoom level in the preview, and the preview display for bigger resolutions ( 1080p input on 1080p screen ) seems smaller than what we used to get too.
If possible would be nice to not have the preview auto zoom for low resolution inputs, at least have an option to disable this behavior, and maybe keep the max zoom level in windowed mode like before, staying under the display resolution but getting a bigger preview than what seems to be now, have a full and clean view of my project while in preview windowed mode and maybe the zoom level applied on the preview displayed, maybe next to the frame position in the top window bar.
Thanks a lot Stax.
Merlin93
20th September 2017, 15:11
Hello. I have spent most of the night doing google searches and searches on this forum and have been unable to find my own answer, so I'm hoping someone here can help.
I am trying to use Staxrip to convert cropped 1080p videos to anamorphic 720p and running into issues. No matter what I do, it seems like I am unable to find an automated way to adjust the settings to allow cropped 1080p videos to fit into a 1280 x 720 container. This is super easy to do in Handbrake, but I'd like to use Staxrip for this.
As an example, I have a video I'm trying to convert which is 1920 x 1080 but has 134-pixel bars on the top and bottom (1920 x 812). If I convert it with Handbrake, I can set the storage size to 1280 x 720 and it will keep the same aspect ratio and encode the video with an anamorphic display resolution of 1702 x 720 (at PAR 270/203). I am having trouble doing the same thing with Staxrip.
Perhaps it's because I cannot specify the storage resolution, but when I move the slider (with or without control held down for anamorphic mode) it seems to always select square (or nearly square) pixels. If I manually adjust the PAR to 270/203 for example, I cannot find a legal range on the slider and the aspect ratio is off in preview (and DAR). I have tried manually calculating the DAR and PAR values, but it never works how I expect (and I know it's generally bad form to try to set PAR from DAR.) Ideally, I shouldn't be calculating these things by hand anyway, that is what software does best.
TL;DR is that I am looking for a way to specify the output resolution to be 1280 x 720 pixels while maintaining the same display aspect ratio / DAR. Ideally, Staxrip would adjust the display height to 720 pixels and calculate the proper PAR to make the display width make sense. It feels like I'm missing a setting or approaching it wrong since I'd think this would be easy to do this given the power of Staxrip. Not to mention most 480i/480p DVD videos are anamorphic to exceed the 720x480 limit, and this is basically the same kind of thing so I have to believe the software supports it. I'm just not doing it right.
I'm using the 1.6 stable build, btw.
Thanks!
stax76
20th September 2017, 15:40
Hi Yanak,
the calculation is based on the working area (screen size - task bar), it compares the working area width to the video width, if the video width is more then 90% of the working area width then it's down scaled to 90%, if it's less then 60% then it's up scaled. On my 4K display SD was tiny, I can probably add a setting for it.
stax76
20th September 2017, 16:12
@Merlin93
If I understand correctly then you want to disable: Options > Image > Aspect Ratio > Adjust height according to target display aspect ratio
Perhaps it's because I cannot specify the storage resolution, but when I move the slider (with or without control held down for anamorphic mode) it seems to always select square (or nearly square) pixels.
You can enter the storage resolution in the text fields or customize the resize menu. I'm not sure I understand what's your goal, maybe you or somebody else can explain it again. I always thought that staxrip handles AR better then megui or handbrake, there were hardly any bugs or requests in the last ten years.
stax76
20th September 2017, 23:53
@Yanak
The next build has a setting and better calculation that also works for ultra wide displays. The default value is 60%, it ensures either width or height are minimum 60% of the screen width or height.
Merlin93
21st September 2017, 00:18
@Merlin93
If I understand correctly then you want to disable: Options > Image > Aspect Ratio > Adjust height according to target display aspect ratio
You can enter the storage resolution in the text fields or customize the resize menu. I'm not sure I understand what's your goal, maybe you or somebody else can explain it again. I always thought that staxrip handles AR better then megui or handbrake, there were hardly any bugs or requests in the last ten years.Hello Stax. Thanks for the quick reply!
I looked at that flag in the options and I don't think that is what I need. I'm sure Staxrip can do what I need, but I'm just not sure how to do so.
To use my earlier example, I have a cropped 1080p video which is 1920 x 812, and I would like to resize that to 1280 x 720 while keeping the same display aspect ratio, which would result in an anamorphic display size of 1702 x 720. Handbrake does this in a really intuitive way. I just specify the Storage Size as 1280 x 720, make sure Keep Aspect Ratio is flagged, and it automatically calculates the proper Display Size (of 1702 x 720) and PAR (270 x 203) to keep the same display aspect ratio. I am looking for a means to do the same thing using Staxrip.
Basically, I was hoping to be able to specify the output (storage) resolution separately from the display resolution using the GUI in a way that it automatically determines the proper PAR for me. Failing that, perhaps the next best option is to be able to see both the storage and display size, so as I adjust the PAR/DAR values I can see how that will affect the display size. Though that would still mean having to manually calculate DAR/PAR values which isn't very intuitive.
When I change the size slider in Staxrip, it seems to change the storage (output) size, so if we call this a feature request, perhaps there could be a way for me to lock the storage size and toggle the slider to affect display size and have it automatically adjust PAR values based on the source display aspect ratio?
Does that help at all?
P.S., I notice that if I set the resize to 1280 x 720 while leaving the DAR value as is, Staxrip will select the same PAR value that Handbrake calculates, but shows a -24% in the error field so I assumed it wouldn't work. Perhaps that is what is throwing me off... how do I get rid of that error?
Thanks!
Yanak
21st September 2017, 00:20
Hi, just seeing the answers now, got no mail notifications for new answers as it does usually for some reasons, weird.
I understand now how it worked and indeed on a 4k screen it might look extremely tiny especially with old videos material that is in small resolutions mostly, in many cases it's better to have the 100% scale to clearly see things after filters and such applied, or a wide preview window displayed inside the display screen less the task bar when it's bigger resolution videos, to get close as possible to the final output, will test this once the new version is released.
Thanks a lot for the changes Stax, big respect for all you do for us, as always you are very kind to do some changes based on users feedback, hat down for all this.
stax76
21st September 2017, 01:17
@Merlin93
Above the resize slider there are two text boxes, one is called width and one is called height, double click in this text boxes using the left mouse button to enter a value, all you have to do is enter 1280 in the width text box and 720 in the height text box, that is everything.
If this text boxes are disabled then you have to enable a resize filter, there are three ways to do this, first using the filter list, second using the slider and third using the menu.
Schattenspieler
21st September 2017, 03:41
P.S., I notice that if I set the resize to 1280 x 720 while leaving the DAR value as is, Staxrip will select the same PAR value that Handbrake calculates, but shows a -24% in the error field so I assumed it wouldn't work. Perhaps that is what is throwing me off... how do I get rid of that error?If I'm not mistaken, that is no "error" in the usual sense of the word, but an information. It's showing you, by how much the (overall) AR is off compared to the source AR (including DAR and PAR). (For me non-square pixels were and still are just a lousy workaround.)
So, yes, from what I read here, that seems to be, what's throwing you off. Just ignore it and give it a try. If in doubt, just cut a sample of some seconds and encode it. You'll see. (:
edit: If you right-click on the "Error" field for the help text, it'll tell you: "Aspect Ratio Error". And that's what it is.
stax76
21st September 2017, 04:00
P.S., I notice that if I set the resize to 1280 x 720 while leaving the DAR value as is, Staxrip will select the same PAR value that Handbrake calculates, but shows a -24% in the error field so I assumed it wouldn't work. Perhaps that is what is throwing me off... how do I get rid of that error?
You can get rid of it by clicking next, I'll add a option to prevent this warning being shown.
Merlin93
21st September 2017, 04:04
@Merlin93
Above the resize slider there are two text boxes, one is called width and one is called height, double click in this text boxes using the left mouse button to enter a value, all you have to do is enter 1280 in the width text box and 720 in the height text box, that is everything.I've been using the software for a couple months now and have converted a few dozen videos, so I am already pretty familiar with the UI and resize filter.
It appears to be working with that error message which was addressed in the post prior to this. I'm doing some test encodes now to verify but the preview looks correct and the DAR and PAR values are what I expect so we'll see shortly.
Thanks!
Merlin93
21st September 2017, 04:05
You can get rid of it by clicking next, I'll add a option to prevent this warning being shown.Great! That is what was confusing me. :)
Thanks again!
Merlin93
21st September 2017, 04:41
Btw, while I'm here, I do have one issue that I have I keep running into with v1.6 stable that may be a bug or some kind of misconfiguration on my side.
Occasionally (and it seems to be happening more and more often) when I select a template and then load a video source file, it will close the main UI per normal to open the mkvextract and ffmsindex window. Normally, after completing those processes to 100% the window should close and pop the main UI window back up again. However, it occasionally closes without popping up the UI window again.
When that happens, if I look at the process manager, the Staxrip process appears to still be running but headless. The log file only shows that the extraction/index process completed properly. At that point, I usually just kill the headless process and start again. But it is annoying since I basically have to start over.
This seems to happen most often when I already have a Staxrip process running another job.
If it helps, my video source files live on a remote NAS drive but the temp files are stored on the PC's local SSD.
Thanks!
stax76
21st September 2017, 10:24
@Merlin93
It's probably fixed since 1.6.0.9, I try to get a new stable build out soon.
https://github.com/stax76/staxrip/blob/master/md/changelog.md
Yanak
21st September 2017, 10:30
Hi Stax,
Tested the new build and setting a low value for the new setting does not resize anymore low resolution input videos so it's nice, however the display for remains smaller than before for larger resolution input, here a 1920*1080 input on a 1080p screen display, preview size before and now :
https://s14.postimg.org/6vktpuwtd/11125420170921111025.gif
Previously the preview size, (the video display only, not counting the borders) was 1680*945 and there was still some room on the display screen as seen above, now the preview size is 1536*864.Not a big deal tho, I'll hit enter and switch to full screen mode if needed, just wanting to let you know.
Also tested a bit the new options in the thumbnail generator and noticed that something introduced in previous versions was removed in the last ones, the option to define the tittle ( that used to replace "StaxRip" text on the generated picture ) and the same for the Font Choice and size possible :
https://s14.postimg.org/6621di3zl/26202620170921111658.png screenshot taken in version 1.6.1.5
Not sure exactly when those options where introduced exactly and when it was removed too, they were nice and were still present in 1.6.1.5 but not anymore on 1.6.1.8 version, nor do i know if it's intended or a simply a bug that pushed them out.
Thanks a lot for all again .
stax76
21st September 2017, 12:05
@Yanak
Preview will be larger in the next build, the old calculation was wrong on ultra wide monitors.
The thumbnail title was removed because it's good advertising... I can put it back, I'm thinking on a advanced settings section using a propertygrid, listview or config file, this way it's harder to find and slightly (almost neglectable) easier to code.
Font would be some work because the used dialog is code generated like most dialogs in staxrip and I would have to code a font picker for it first, coding such things are usually not a big deal but there is another issue like the font size code has some complexity as it has smart scaling implemented, now I can still remember how it works since I coded it just yesterday but when I code I hardly can resist doing code refactoring and that can always potentially break anything and I rather want to release a final soon and maybe take a break for a while again, there aren't any urgent tasks except better documentation, try encodingwissen.de and deepl.com!
Yanak
21st September 2017, 13:51
All good Stax,
Will try next build for the zoom, it's nice to have a maximized view on the project and filters applied, thanks again for this.
I understand perfectly, for the tittle it is a nice way to leave some bits of the program used and you deserve all recognition possible for what you do with this great tool, on the other hand it's nice to have lot of options like the fonts, it's a small thing but you granted us with so many customization options that I'm used to have a lot of liberties on this program, spoiled over time i guess :p, it's up to you man, whatever you decide and will end up with it's ok for me, no worries.
Did not knew deepl.com, will give more tries but seems to do a better job than some other online services like this on the little i tested, thanks for the link, went to favorites directly ^^
Thank you again.
mcjordan
21st September 2017, 15:22
Updates
mClean v1.8 /09.21.2017/ (remarkable script; my new favorite denoise weapon ;-)
* speed increase and reduced memory use for all but the lowest resolutions
* improved quality
* removed cpu option for FFT3DFilter, as any more than 4 threads proves no faster an for high thread counts, appears to run slower
Natty
21st September 2017, 18:18
mClean v1.8 /09.21.2017/ ([I]remarkable script; my new favorite
what settings do u use? i would like to sharpen the video aswell
AMED
21st September 2017, 18:40
Hi Stax,
There is a newer version of mvsfunc.py than the one packaged in with Staxrip. r7 is packaged and r8 was released a few months later.
https://github.com/HomeOfVapourSynthEvolution/mvsfunc/releases
stax76
21st September 2017, 20:52
@mcjordan
@AMED
Thanks, next build has it updated.
Khun_Doug
22nd September 2017, 03:50
Stax,
I want to add the FineSharp AVISynth filter. The Vapoursynth port of FineSharp doesn't have all the functionality as the AVISynth function. I added the FineSharp.avsi file to the Plugins/avs folder and modified the Filter Profiles for AviSynth in the [Misc] section. I thought it might be that I need 64 bit dll's but I keep getting a message that FineSharp is unknown, even if I have the script reference 32 bit dll's.
How do I add FineSharp to AVISynth filters?
Khun Doug
stax76
22nd September 2017, 04:11
@Khun_Doug
I don't recommend doing any changes within the startup directory because you can't easily update then!
You can load avsi either manually using Import:
http://avisynth.nl/index.php/Import
Or automatically by putting it in the auto load folder:
Main Menu > Tools > Folders > Plugins
Khun_Doug
22nd September 2017, 07:31
I wasn't able to determine how to use the Import function. Perhaps on a rainy day sometime. But the second solution worked. The FineSharp function needs RgTools and MaskTools2. I updated both to the current 64 bit versions and put the whole thing in the Plugin264+ folder for AviSynth+. It works well. And the AVISynth implementation does more than the VapourSynth port.
Thank for the help on this!! This tool is the best!
stax76
22nd September 2017, 07:56
In the code editor you would use:
Import("d:\FineSharp.avsi")
FineSharp()
In the filter profile editor you would use a multi line profile like so:
[Misc]
FineSharp =
Import("d:\FineSharp.avsi")
FineSharp()
Where can I find the script and which plugins where outdated?
dvd_maniac
22nd September 2017, 10:29
I'm trying to encode a video and the resulting encode has audio playing like a vinyl record playing on a slow speed.
According to MediaInfo the video has a frame rate of 23.976 but the audio's frame rate is 31.25 (1536 SPF).
The audio is also showing a delay of 125ms
What can I do to encode this without audio/video sync issues?
luigizaninoni
22nd September 2017, 10:43
never mind, mclean did not work because staxrip was autoloading older plugins
mcjordan
22nd September 2017, 13:05
mClean works perfectly if one takes to refresh the necessary plugins manualy. ;-)
I just use this:
Undot ()/ mClean(enh=35)Prefetch(16) / Sharpen (0.24,0.24)
Тhe result is slightly more sharper than usual.
Khun_Doug
22nd September 2017, 18:44
Here is the script I found on Internet when I was originally looking for something to use in AVISynth. It uses RgTools and MaskTools2. I was able to get current versions of both that include 32 bit and 64 bit dll's. I am including the script and the zipped support libraries.
I extracted the respective 64 bit dll's in the plugins+ folder within AviSynth+ folder, and placed the FineSharp.avsi file there as well. Works as expected.
The files are combined here: https://1drv.ms/u/s!Ap5bLSG819129APiHKZqQJ-SQUMF
mcjordan
22nd September 2017, 22:02
These are the plugins of Pinterf, the same as those within StaxRip.
FineSharp works without these - it works naturally in StaxRip.
Frank has described the procedure just above.
I use this: http://avisynth.nl/index.php/FineSharp
https://forum.doom9.org/showthread.php?t=166082
P.S. For sure, I copied them in plugins+ directory to. ;-)
stax76
23rd September 2017, 02:50
Yes, staxrip includes the newest versions of all plugins required for FineSharp, the newest staxrip build should automatically add the required LoadPlugin calls, this detection was added for avisynth and vapoursynth a few builds ago, next build has FineSharp included.
never mind, mclean did not work because staxrip was autoloading older plugins
Next build has a warning for this.
@dvd_maniac
I would new a full log file, a good way to upload is pastebin.com (enable auto expire).
stax76
23rd September 2017, 04:54
@dvd_maniac
It looks like eac3to fails with your AC3 source, you can reload the project and use mux/copy for the video, this will use the already encoded video, for audio there are different things you can do, the audio encoding options have a encoder option where you can choose fdkaac or qaac, those apps are not included and it can take some effort to find them, you don't have this problem if you use a free encoder like Opus. If you want AAC there is still another possibility, in the project options on the audio tab enable:
Convert Method: ffmpeg
Convert Format: FLAC or W64
Force conversion: Check
mcjordan
23rd September 2017, 12:36
Update (aaargh... ;-)
NVEnc v3.2.2
* switch --cuda-schedule default to "auto", since "sync" harms performance in some cases.
* add English version of readme & options list:
https://github.com/rigaya/NVEnc/blob/master/Readme.md
https://github.com/rigaya/NVEnc/blob/master/NVEncC_Options.en.md
stax76
23rd September 2017, 13:10
Stable release is out.
https://github.com/stax76/staxrip/releases/tag/1.7
fredlkrue
23rd September 2017, 16:35
Stable release is out.
https://github.com/stax76/staxrip/releases/tag/1.7
Great news stax, thanks for all the hard work you put into this project.
One question, since I encode with HEVC two passes in order to fit them into an specific file size, how can I set it up to do a "FAST" first pass?, as I have it now, both passes takes about the same time, so having first pass "FAST" will save me a lot of time.
Yanak
23rd September 2017, 16:49
The preview size is really great now, it's just perfect on this last vrsion, thansk a lot.
Just had time to mess a bit with default templates, just to test, noticed some like "remux" or "no indexing or remuxing" have the source set as DDS2, not sure if intended or not, should be set to "automatic" i think or a lot of inputs will have issues, easy to change for the end user setting "automatic" for source then saving the template again to avoid issues on the next times but just in case i better report it here.
Thanks.
robl45
23rd September 2017, 20:17
Can someone tell me decent settings for Nvidia HEVC encoding? I'm encoding a movie now and I guess I'm doing overkill as it used to encode at over 100fps and now its doing around 65.
I think I was doing VBR before, and this time I checked VBRHQ. It sounded good, but I have really no idea what the difference is. I prefer variable bit rate, but not really sure what options I should use to get a decent film quality and have it not totally bog down.
I also have skylake I3 chip in the computer so I can use intel hardware 265 encoding if that is better than nvidia.
mcjordan
23rd September 2017, 20:47
robl45
My custom NVEnc VBRHQ short profile:
--vbrhq 4224 --codec h265 --preset quality --output-depth 10 --weightp --ref 4 --lookahead 24 --qp-init 1 --vbr-quality 1 --aq --output-buf 128 --sar 12:11 --mv-precision q-pel --cabac --fullrange
stax76
24th September 2017, 01:53
One question, since I encode with HEVC two passes in order to fit them into an specific file size, how can I set it up to do a "FAST" first pass?, as I have it now, both passes takes about the same time, so having first pass "FAST" will save me a lot of time.
x265 has --slow-firstpass enabled by default, in staxrip you can find it with the search field at the bottom of the x265 config dialog.
Just had time to mess a bit with default templates, just to test, noticed some like "remux" or "no indexing or remuxing" have the source set as DDS2, not sure if intended or not, should be set to "automatic" i think or a lot of inputs will have issues, easy to change for the end user setting "automatic" for source then saving the template again to avoid issues on the next times but just in case i better report it here.
Sure it's intended, for me it's very useful as I often need to open a file quickly, I'll change it to support LSMASHVideoSource for MP4. I don't spend a lot thought about unexperienced users but there will be much better documentation. I wish something like LSMASHVideoSource would be available for mkv, is it impossible to build, absolutely not!
Can someone tell me decent settings for Nvidia HEVC encoding? I'm encoding a movie now and I guess I'm doing overkill as it used to encode at over 100fps and now its doing around 65.
There are various reasons for performance issues, without seeing a full log file it's difficult to guess, nvenc allow Full HD encodes up to 400 fps. You can find some info here:
https://github.com/stax76/staxrip/issues/265
fredlkrue
24th September 2017, 03:23
x265 has --slow-firstpass enabled by default, in staxrip you can find it with the search field at the bottom of the x265 config dialog.
Thanks, you are a life saver.
Yanak
24th September 2017, 09:45
Sure it's intended, for me it's very useful as I often need to open a file quickly, I'll change it to support LSMASHVideoSource for MP4. I don't spend a lot thought about unexperienced users but there will be much better documentation. I wish something like LSMASHVideoSource would be available for mkv, is it impossible to build, absolutely not!
No worries then, i don't use it much as source myself as it failed to read some files often in the past and now almost doing all in manual mode for sources, was just wondering if it was on purpose or not, no need to bother with this then :D
Thank you.
Magik Mark
25th September 2017, 01:06
Guys,
I noticed that most bluray, the audio is really low. Trying to increase the 'Gain" does very little. Can you recommend a good setting?
Patman
25th September 2017, 18:36
Guys,
I noticed that most bluray, the audio is really low. Trying to increase the 'Gain" does very little. Can you recommend a good setting?
You use ffmpeg? Frank use the "volumedetect" filter option in his script but there are also "loudnorm" and "dynaudnorm" as filter option.
Magik Mark
25th September 2017, 23:28
You use ffmpeg? Frank use the "volumedetect" filter option in his script but there are also "loudnorm" and "dynaudnorm" as filter option.
Where do I find this? How?
Atlantis
26th September 2017, 01:03
Is it possible to encode from HDR file to HDR with staxrip? How? When I encode an HDR file in staxrip the tag is not passed and when I play the staxrip encoded file with TV, it does not trigger HDR.
Patman
26th September 2017, 05:15
Where do I find this? How?ffmpeg manual. To use this filters write -af loudnorm or -af dynaudnorm as custom switch.
Gesendet von meinem G8141 mit Tapatalk
Magik Mark
26th September 2017, 08:24
Thanks Patman.
Stax, maybe you can include this option in the UI of staxrip?
mcjordan
26th September 2017, 18:12
Update:
NVEnc 3.2.3
* fix vpp-afs returning error, when last frame was dropped.
Patman
26th September 2017, 18:21
Thanks Patman.
Stax, maybe you can include this option in the UI of staxrip?
Hi Frank,
which script do you use for audio normalization with ffmpeg?
Atlantis
26th September 2017, 18:24
No one knows? Can you encode HDR?
Atlantis
26th September 2017, 18:55
In Staxrip 1.7, the default audio is now set to Opus. What is this codec and is it really better and more compatible with devices than AAC?
Natty
26th September 2017, 23:19
In Staxrip 1.7, the default audio is now set to Opus. What is this codec and is it really better and more compatible with devices than AAC?
no,
not as compatible as aac,
better only in cases of really low bitrates, or voice communication
Atlantis
27th September 2017, 01:19
no,
not as compatible as aac,
better only in cases of really low bitrates, or voice communication
So it's weird that it is set as default in Staxrip 1.7 because we are not encoding voice communications.
luigizaninoni
27th September 2017, 07:04
opus 96kbps stereo has same quality as aac 115kbps stereo, similar saving of nearly 20% bandwidth also for higher number of channels, so obviously better bang for the buck
NikosD
27th September 2017, 19:52
+1 by me that AAC could still be the default setting for audio encoding.
Opus is too new and too incompatible with a huge range of devices.
Atlantis
27th September 2017, 21:53
Also they changed the Quality settings a version back. Originally the CRF was 22. Now it's 20. Same for audio. Audio was at 0.35, now it's 0.40.
Marban
27th September 2017, 21:54
No one knows? Can you encode HDR?
interested to, how it works.
Natty
27th September 2017, 23:30
Also they changed the Quality settings a version back. Originally the CRF was 22. Now it's 20. Same for audio. Audio was at 0.35, now it's 0.40.
u can always change that, and use qaac encoder, tvbr @ q91
katzenjoghurt
29th September 2017, 17:03
Hi Stax.
I really, really love your tool! *thumbsup*
Super comfortable and I love that integrated video comparison tool!!
What I'm missing somehow during daily reencoding is something unorthodox:
That would be some batch tool to make out videos which could be far better compressed by i.e. reencoding them with x265 and some user given settings.
I know that there is a compressibility check available for two-pass encodings but it's a hassle to use for this purpose as it's not batch-friendly.
After all I'm missing some tool that would go over a list of videos, do a rather quick compression check and give me the candidates with the best compression gain.
Been already looking for some tool like that... but I guess it's too special? Or too nonsense?
But usually I start a reencoding... and already during the first very few percent I see whether it makes sense to go on or not.
From my observations the bitrate changes very rarely after the encoder passed the logos at the beginning.
colinhunt
29th September 2017, 18:26
Ran into a problem with 1.7.0.0 just now. Source has AC3 audio (stereo 384kbps, nothing out of ordinary), asked Staxrip to convert that into a 192kbps aac for muxing into final .mkv output. Done that hundreds of times with earlier versions of Staxrip. But 1.7.0.0 stopped the task at audio encoding, claiming "The format of the source file could not be detected". In the log file I found this:
[ac3 @ 00000000023200a0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 11520 >= 11520
and
--------------- Error Audio encoding 1 using eac3to 3.31 ---------------
Audio encoding 1 using eac3to 3.31 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.
------------------ Audio encoding 1 using eac3to 3.31 ------------------
C:\Users\xxxxxx\Desktop\videotools\StaxRip-x64\Apps\eac3to\eac3to.exe "E:\TEMP\MB 20131206_temp\MB 20131206 ID1 52ms Korean.ac3" "E:\TEMP\MB 20131206_temp\MB 20131206 ID1 Korean_a1.m4a" -quality=0.76 -normalize +52ms -progressnumbers
The format of the source file could not be detected.
------------------ Audio encoding 1 using eac3to 3.31 ------------------
C:\Users\xxxxxx\Desktop\videotools\StaxRip-x64\Apps\eac3to\eac3to.exe "E:\TEMP\MB 20131206_temp\MB 20131206 ID1 52ms Korean.ac3" "E:\TEMP\MB 20131206_temp\MB 20131206 ID1 Korean_a1.m4a" -quality=0.76 -normalize +52ms -progressnumbers
The format of the source file could not be detected.
Start: 20:17:49
End: 20:17:49
Duration: 00:00:00
mparade
29th September 2017, 19:29
The only other source filter that support hardware decoding is DSS2/DirectShowSource but it's probably 8-bit only.
It seems like taking forever for Nvidia to debug the hardware accelerated decoding of HEVC 10bit streams through CUDA (I have been waiting for it for two weeks now and nothing seems to be happening in the thema). Regarding software decoding of HEVC 10bit streams what are the possibilities in Staxrip?
wallander
1st October 2017, 07:28
Hallo
@stax76: Thank you for your hard work at this wonderful tool.
Since 1.7.0.0 I have a little problem.
When Demuxing with ffmpeg is active (ts->mkv) [h264] staxrip demuxes only one audio track. In MediaInfo are both tracks (german Audio & Audiodiskription) shown. In Project Option is "Show Dialog" at tzhe Dropdown Audio Demux active.
The Dialog shows only one Audiotrack.
When I deactivate demuxing with ffmpeg - everything is o.k.
stax76
2nd October 2017, 02:38
When Demuxing with ffmpeg is active (ts->mkv) [h264] staxrip demuxes only one audio track. In MediaInfo are both tracks (german Audio & Audiodiskription) shown. In Project Option is "Show Dialog" at tzhe Dropdown Audio Demux active.
The Dialog shows only one Audiotrack.
I don't know how better TS default handling could look like, before it was just demuxing, much likely resulting in av sync issues. If you can't find anything else there is always still dgdecnv.
It seems like taking forever for Nvidia to debug the hardware accelerated decoding of HEVC 10bit streams through CUDA (I have been waiting for it for two weeks now and nothing seems to be happening in the thema). Regarding software decoding of HEVC 10bit streams what are the possibilities in Staxrip?
Default is:
FFVideoSource(srcpath, colorspace = "YUV420P8")
You can change the default at: Filters > Profiles
If you remove the colorspace parameter you will get a ten bit format, the reason why it's not default is x265 is currently the only encoder that can handle it, I tried nvenc and it produces an error, it's something that should be to be requested on the nvenc issue tracker.
Ran into a problem with 1.7.0.0 just now. Source has AC3 audio (stereo 384kbps, nothing out of ordinary), asked Staxrip to convert that into a 192kbps aac for muxing into final .mkv output. Done that hundreds of times with earlier versions of Staxrip. But 1.7.0.0 stopped the task at audio encoding, claiming "The format of the source file could not be detected". In the log file I found this:
I've not changed anything that would explain the problem, it's still the same eac3to version, a alternative processing method would be:
If you enable fdkaac or qaac it would be converted to FLAC/W64 using ffmpeg by default, if you don't use fdkaac or qaac you still can have it converted with ffmpeg like so:
in the project options on the audio tab enable:
Convert Method: ffmpeg
Convert Format: FLAC or W64
Force conversion: Check
ffmpeg creates a FLAC file then and eac3to would use the FLAC file instead of reading the ac3 file directly.
What I'm missing somehow during daily reencoding is something unorthodox:
That would be some batch tool to make out videos which could be far better compressed by i.e. reencoding them with x265 and some user given settings.
I know that there is a compressibility check available for two-pass encodings but it's a hassle to use for this purpose as it's not batch-friendly.
After all I'm missing some tool that would go over a list of videos, do a rather quick compression check and give me the candidates with the best compression gain.
Been already looking for some tool like that... but I guess it's too special? Or too nonsense?
What would make sense is a CLI script (using powershell or python for instance) to show things like compressibility, projected file size etc. If somebody creates a issue on the tracker there is a chance that I'll write such a script in better days, maybe somebody else experienced in encoding and coding has interest to write such a script.
I'm not much into working on staxrip lately and I find working on better documentation is what is needed most.
@Atlantis
@Nikos
I'm usually not that idealistic but AV1 and Opus are free (like MKV) so I like to help making those formats popular, the reason why fdkaac is not included in staxrip or ffmpeg is the non free license.
No one knows? Can you encode HDR?
If you have a HDR source and have x265 enabled prior opening the source file, the latest build will read HDR info from the source and set the according x265 options, you can use the built in MediaInfo viewer to verify if your source contains HDR info.
If you have a regular HD source you can use:
Main Menu > Tools > Scripts > Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR
which script do you use for audio normalization with ffmpeg?
Right now only following is supported:
-af volumedetect
-af volume=1dB
Please create a issue on the tracker if you would like to have more options, development is slow these days, maybe I also pause forum support for some time so the issue tracker is the only way to ensure no reqests get forgotten.
wallander
2nd October 2017, 06:29
Hallo stax76,
thank you for your feedback.
What happens with my ts-file (h264) when Demuxing with ffmpeg ist deactivated? Staxrip encodes audio & video without demuxing?
Are there known problems with audio-video sync?
In the versions before there was no possibility for demuxing ts-files in the basic settings. What is the from your point of view the best method? Demuxing before encoding with one audio-track or encoding without demuxing with one track.
Again - Thank you for your great work.
wallander
2nd October 2017, 07:46
hallo stax,
after changing I get the following crash:
---------- Error ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 ----------
ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 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: Unzulässige Funktion.
------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 -------------
D:\PortableSuite\Video\StaxRip-x64-1.7.0.0\Apps\ffmpeg\ffmpeg.exe -i "G:\Cut\Test Wendemanöver.ts" -c -sn -y -hide_banner "G:\Cut\Test Wendemanöver_temp\Test Wendemanöver.mkv"
Input #0, mpegts, from 'G:\Cut\Test Wendemanöver.ts':
Duration: 00:05:40.86, start: 69955.054278, bitrate: 5836 kb/s
Program 10301
Stream #0:0[0x13ed]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x13ee](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
Stream #0:2[0x13ef](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
Unknown encoder '-sn'
------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 -------------
D:\PortableSuite\Video\StaxRip-x64-1.7.0.0\Apps\ffmpeg\ffmpeg.exe -i "G:\Cut\Test Wendemanöver.ts" -c -sn -y -hide_banner "G:\Cut\Test Wendemanöver_temp\Test Wendemanöver.mkv"
Input #0, mpegts, from 'G:\Cut\Test Wendemanöver.ts':
Duration: 00:05:40.86, start: 69955.054278, bitrate: 5836 kb/s
Program 10301
Stream #0:0[0x13ed]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x13ee](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
Stream #0:2[0x13ef](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
Unknown encoder '-sn'
Start: 08:41:32
End: 08:41:32
Duration: 00:00:00
------------------------------ Exception ------------------------------
StaxRip.ErrorAbortException: ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 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: Unzulässige Funktion.
------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 -------------
The arguments looks like This:
-i "%source_file%" -c -sn -y -hide_banner "%temp_file%.mkv"
stax76
2nd October 2017, 07:46
Sorry, edit it like so:
-c copy -map 0 -ignore_unknown
wallander
2nd October 2017, 07:52
Great!
Thank you.
Now I can demux both audio tracks.
mparade
2nd October 2017, 13:29
Does Staxrip support losslessly compressed avi files (e.g. Huffyuv 4:2:2 YUY2 or Lagarith 4:2:2 YUY2) as input? I would like to encode them using x265.
Thanks.
stax76
2nd October 2017, 15:04
Does Staxrip support losslessly compressed avi files (e.g. Huffyuv 4:2:2 YUY2 or Lagarith 4:2:2 YUY2) as input? I would like to encode them using x265.
Thanks.
It should support anything supported by AviSynth or VapourSynth. In the newest build you can choose the manual workflow template to show a dialog with a list of source filters that support AVI.
mparade
2nd October 2017, 21:18
It should support anything supported by AviSynth or VapourSynth. In the newest build you can choose the manual workflow template to show a dialog with a list of source filters that support AVI.
Do you know what this can be?:
resize [warning]: converting from yuyv422 to yuv422p
resize [warning]: converting from yuv422p to yuv420p
I am not resizing the source which is 720x576i, 25fps, in YUY2 colorspace. I am using Avisource without any colorspace convesrions.
Please help.
Atlantis
3rd October 2017, 01:48
Thank you very much Stax76 that was the secret. I opened the HDR files in the default preset and after I set it to x265 there was no HDR info.
As you said if I choose x265 first and then load the HDR file, the HDR info is loaded.
stax76
3rd October 2017, 03:27
@mparade
For avi there is l-smash and ffms2. avisource would require a installed vfw decoder.
http://staxrip.readthedocs.io/tools.html#ffms2
http://staxrip.readthedocs.io/tools.html#l-smash-works
@Atlantis
Maybe creating a template with x265 would make sense in your case.
http://staxrip.readthedocs.io/features.html#templates
sneaker_ger
3rd October 2017, 10:30
I am not resizing the source which is 720x576i, 25fps, in YUY2 colorspace. I am using Avisource without any colorspace convesrions.
x264 outputs YUV 4:2:0 by default. If the input is in a different format and --output-csp is not set accordingly it will rescale the input.
mparade
3rd October 2017, 11:11
x264 outputs YUV 4:2:0 by default. If the input is in a different format and --output-csp is not set accordingly it will rescale the input.
Thanks for the useful info. I have setup a 422 profile in x264. I thought it autmatically set up the --output-csp accordingly. It is a PAL VHS captured in YUY2 format (576i, 25fps). Finally, I converted the colorspace to YV12 using an avs script before feeding the input in x264. Do you think I have lost any visual quality? Anyway, nearly all filters needs YV12 to work, so conversion would be a must.
Thank you very much for the help.
mparade
3rd October 2017, 11:16
@Stax
For avi there is l-smash and ffms2. avisource would require a installed vfw decoder.
I have Huffyuv on my system installed which can decompress the source (that one was used for capturing too).
I think I will not lose much if I convert my VHS captures to Yv12 first using the avs script, then feed the x264 with the already converted colorspace.
Thank you very much for your nice program. Very nice too that the 64-bit version of applications can be used.
Yanak
3rd October 2017, 15:27
Hello Stax,
I doubt what it is possible but just in case i'm missing something i will ask.
I use MP_Pipeline for a lot of things to run x86 plugins inside Staxrip, right now i have a few custom "Source Filters" set for each tasks involving x86 plugins, my concern is that i have to set them like this :
Custom_Source_Filter =
MP_Pipeline("""
### platform: win64
$select:msg:Select Source Type;LogoRemove LSMASHVideoSource|LoadPlugin("%startup_dir%Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") LSMASHVideoSource("%source_file%", format = "YUV420P8");LogoRemove LWLibavVideoSource|LoadPlugin("%startup_dir%Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") LWLibavVideoSource("%source_file%", format = "YUV420P8");LogoRemove FFVideoSource|LoadPlugin("%startup_dir%Apps\Plugins\both\ffms2\ffms2.dll")FFVideoSource("%source_file%", cachefile = "%source_temp_file%.ffindex", colorspace = "YV12");LogoRemove AviSource|AviSource("%source_file%", Audio = False)$
### ###
### platform: win32
x86 filters here
### ###
""")
All the $select part in bold brings up a popup working a bit like the manual source filter :
https://s14.postimg.org/t7imj7tch/80037520171003161026.png
What i would like to know is if i can somehow replace this part with a function calling the automatic source function that will set this part of the script like automatic source does. A bit like :
Custom_Source_Filter =
MP_Pipeline("""
### platform: win64
Call Automatic Source loading Macro/Function
### ###
### platform: win32
x86 filters here
### ###
""")
and it will use the source filters defined in Tools > Settings > Source Filters to set the appropriate source at this line of the script, ending then in something like :
MP_Pipeline("""
### platform: win64
LoadPlugin("%startup_dir%Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") LSMASHVideoSource("%source_file%", format = "YUV420P8")
### ###
### platform: win32
x86 filters here
### ###
""")
Or whatever appropriate source filter and plugin will be needed there depending of the source file type.
Like i said i really doubt there is a solution for this but we never know, there is so many functions and possibilities in this tool that maybe i missed it.
End goal is to regroup all my custom source filters using mp_pipeline in a single one and have the process more automated instead of having lot of steps and a source filter for each different uses.
Thanks a lot.
stax76
3rd October 2017, 19:29
I don't know if Logo processing is desirable for default handling and I don't have experience with mp_pipeline.
In the newest build the 'No indexing and demuxing' template has a automatic source filter implementation.
Logic in VB pseudo code:
if extension = "mp4" then
LSMASHVideoSource(sourceFile)
else
DSS2(sourceFile)
end if
AviSynth code (not very elegant but works...):
srcFile = "%source_file%"
ext = LCase(RightStr(srcFile, 3))
(ext == "mp4") ? LSMASHVideoSource(srcFile, format = "YUV420P8") : DSS2(srcFile)
Used AviSynth features:
http://avisynth.nl/index.php/Operators#For_Booleans
http://avisynth.nl/index.php/Internal_functions#String_functions
mparade
3rd October 2017, 19:40
@stax76
Is it possible to process DVD-folder, 3D Blu-ray structure (AVC-MVC) with StaxRip?
DVD-folder - similarly like it can be done with BD folder;
3D BD (MVC)- to other formats like Full SBS, Full Tab;
stax76
3rd October 2017, 20:33
StaxRip is much older (since 2002) then makemkv, before vob file input was used, this workflow is still supported but some DVD structures cause issues due to tools in this workflow cannot handle such structures well, in particularly when processing subtitles. Many US users prefer the old workflow to deal with field processing and many US users don't process subtitles, for PAL users makemkv is much better. You would open vob in staxrip using the 'Merge Files' source opening method.
3D BD I don't know, certainly not without user customization.
Yanak
3rd October 2017, 20:48
Thanks stax,
I'm in a hurry so i have not tested yet but will do later at night, did not thought about this, as always you are a savior, thanks a lot, this is brilliant.
I use Mp_Pipeline for a remove logo plugin, and quite some other things, here it was just an example, i load source in manual mode when i need something specific done and select one of the mp_pipeline custom source filters for the task.
MP_Pipeline needs to have the source loaded and the loadplugin for it in the same part of the script, like here :
MP_Pipeline("""
### platform: win64
LoadPlugin("%startup_dir%Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") LSMASHVideoSource("%source_file%", format = "YUV420P8")
### ###
### platform: win32
x86 filters here
### ###
""")
It can't use the auto loaded plugins at the very start of the script nor get a source file passed there with a variable ( did not tried srcFile= method but will also give it a try, who knows it might work used this way. )
Not sure yet how i will do this but will explore the links and do by trial and error as always. Probably possible to combine the loadplugin and source in the same line of code or at worst i will make 2 lines, probably like this :
(ext == "mp4") ? LoadPlugin("%startup_dir%Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") : LoadPlugin("%startup_dir%Apps\Plugins\avs\DSS2mod\DSS2.dll")
(ext == "mp4") ? LSMASHVideoSource(srcFile, format = "YUV420P8") : DSS2(srcFile)
And so on for a few more type of source files and plugins needed, or not bother and just load all plugins in this part of the script so it will be done, as long as the rest works and select the right plugin it should be good enough.
Again thanks a lot for the help, you opened a lot of new possibilities for me, now i will probably be busy for a few days working on this ^^
mparade
3rd October 2017, 22:57
StaxRip is much older (since 2002) then makemkv, before vob file input was used, this workflow is still supported but some DVD structures cause issues due to tools in this workflow cannot handle such structures well, in particularly when processing subtitles. Many US users prefer the old workflow to deal with field processing and many US users don't process subtitles, for PAL users makemkv is much better. You would open vob in staxrip using the 'Merge Files' source opening method.
3D BD I don't know, certainly not without user customization.
Thanks again for the answer and great software. I will check your software on my DVD-collection soon (They are PAL and mostly only the main feature will be processed). So, the more "problematic" will be recognizing the 3D BDs correctly using StaxRip. Even if I converted them using makemkv the result would be a very large 3D mvc format inside a container. I know generally how to build up an avs script for a mvc-sbs conversion using FrimSource but not exactly know what "user customization" should exactly mean in that regard. In my experience with BD-RB a lot of bandwidth can be saved (even with a low crf value, like 16 or so) with an sbs/tab method compared to the original mvc encoded source.
stax76
3rd October 2017, 23:11
You can add custom filters like FrimSource at:
Filters > Profiles
Before opening a 3D source you would select FrimSource or you can use the 'Manual Workflow' template, staxrip would show a dialog then where you can select FrimSource.
Magik Mark
4th October 2017, 00:47
Stax,
Can't find the download links anymore
stax76
4th October 2017, 00:57
The new location is here:
http://staxrip.readthedocs.io/intro.html#download
The google drive app had a high CPU usage bug so I replaced it with dropbox.
Magik Mark
4th October 2017, 01:17
Thanks!
Yanak
4th October 2017, 15:57
Hi Stax i ended up with this :
MP_Pipeline =
SetFilterMtMode("MP_Pipeline",MT_SPECIAL_MT)
MP_Pipeline("""
### platform: win64
srcFile = "%source_file%"
ext = LCase(RightStr(srcFile, 4))
(ext == ".mov") || (ext == ".mp4") || (ext == ".m4v") || (ext == ".264") || (ext == "h264") || (ext == ".avc") || (ext == ".265") || (ext == "h265") || (ext == "hevc") || (ext == ".hvc") ? LoadPlugin("%startup_dir%Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") : \
(ext == ".d2v") ? LoadPlugin("%startup_dir%Apps\Plugins\avs\MPEG2DecPlus\MPEG2DecPlus64.dll") : \
LoadPlugin("%startup_dir%Apps\Plugins\avs\DSS2mod\DSS2.dll")
(ext == ".mov") || (ext == ".mp4") || (ext == ".m4v") ? LSMASHVideoSource(srcFile, format = "YUV420P8") : \
(ext == ".264") || (ext == "h264") || (ext == ".avc") || (ext == ".265") || (ext == "h265") || (ext == "hevc") || (ext == ".hvc") ? LWLibavVideoSource(srcFile, format = "YUV420P8") : \
(ext == ".avi") || (ext == ".vdr") ? AviSource(srcFile, Audio = False) : \
(ext == ".d2v") ? MPEG2Source(srcFile) : \
DSS2(srcFile)
### ###
### platform: win32
X86 Filters Here
### ###
""")
Not the most elegant stuff but it does the job nicely, thanks again for the help on this.
Now if i can bother you a bit again I have another question ( it will be my last one for a while i promise ) : Can i call and insert in my scripts a filter with a simple macro ? Something like :
%Add_filter:name_of_the_filter%
That will insert itself inside the script at the line where it is called ( not like the CLI switch that gets added at the end of the script )
Goal is to then make all my x86 custom filters inside a user created filter category and then in the source script above list and call them in a blink with a prompt
$select:msg:Select x86 filter;filter1|%Add_filter:Logo_Remover%;filter2|%Add_filter:VirtualDubx86Plugins% $
### ###
### platform: win32
$select:msg:Select x86 filter;filter1|%Add_filter:Logo_Remover%;filter2|%Add_filter:VirtualDubx86Plugins% $
### ###
""")
some of the x86 filters i use in Mp_Pipeline already have loads of prompts, input boxes or browse file in them and it's a pain as some things can not be nested , for example : https://pastebin.com/e0kJbsdx
But if it is possible to call & insert a filter with something like %Add_filter:name_of_the_filter% i'll just have to turn all my things into filters for a easier and quicker use.
Then create a selection prompt to add them where i want in my scripts, It will also make the possibility to use and add pure x86 avisynth filters way more easily than it is now, probably eliminate some of the nesting issues too and allow some loops too i guess, this will be the ultimate icing on the cake :D
Thank you .
mparade
5th October 2017, 07:31
@stax76
If I have several .avi containers and during import I select "merge files" is it possible to set chapter points at the merging points? I just want to jump to the merging points in the final output file, is it possible? In Vdub I will prepare the files for StaxRip. I could save my files as 1 pc of long avi. In this case I would need to determine the scene changes for StayRip to encode properly. Or I can save as multiple avi files which then would be merged with StaxRip but in this case the merging points should be the chapter points as well. Does Staxrip have some chapter handling capability (in case of merged container files, not BD input)?
Thank you very much.
Magik Mark
5th October 2017, 11:27
Stax
I get this error everytime encoding is finish and staxrip is set to "close" AND my Chrome browser is open and active:
https://s1.postimg.org/784iv8165n/Stax_Error.png (https://postimg.org/image/784iv8165n/)
mparade
5th October 2017, 16:58
You can add custom filters like FrimSource at:
Filters > Profiles
Before opening a 3D source you would select FrimSource or you can use the 'Manual Workflow' template, staxrip would show a dialog then where you can select FrimSource.
I will check it shortly because I could save ~50% of bitrate with this mvc - full sbs conversion method using FrimSource and x264 with a low crf value if works (aim is visual transparency which is subjective). Do you recommend a conversion stage at first in makemkv before feeding StaxRip? Or should I try directly a 3D BD folder? As far as I know, it was not easy for other softwares as well to implement 3D handling capabilities.
Thanks again. The results of my first 2D BD projects are
excellent (no bugs found yet and I really like the large number of functions, capabilities available). Thank you for the great program I am much obliged.
stax76
5th October 2017, 20:14
Can i call and insert in my scripts a filter with a simple macro ? Something like :
%Add_filter:name_of_the_filter%
Yes you can using the eval_ps macro, create a script containing a function that returns your filter:
$s = [ShortcutModule]::s
function GetFilter($name)
{
foreach ($i in $s.AviSynthProfiles)
{
foreach ($i2 in $i.Filters)
{
$temp = $i2
if ($name -eq $temp.Name)
{
return $temp.Script
}
}
}
}
Then in your eval_ps macro argument you can import your script using powershell's dot sourcing.
%eval_ps:. C:\Users\Frank\AppData\Roaming\StaxRip\Scripts\test.ps1; GetFilter("RemoveGrain")%
info about dot sourcing:
http://jeffwouters.nl/index.php/2015/07/powershell-what-is-dot-sourcing-and-why-use-it/
If I have several .avi containers and during import I select "merge files" is it possible to set chapter points at the merging points?
For merging staxrip uses either dgmpgdec or mkvmerge, it don't support creating chapters at the merge points and I don't know if there is an easier way than writing script code, here is a tool you can try:
https://forum.doom9.org/showthread.php?t=169984
I get this error everytime encoding is finish and staxrip is set to "close" AND my Chrome browser is open and active:
It's fixed in the next build.
Or should I try directly a 3D BD folder? As far as I know, it was not easy for other softwares as well to implement 3D handling capabilities.
I remember a staxrip issue with 3D and eac3to but I don't remember details.
mcjordan
5th October 2017, 22:28
Latest mkvtoolnix (v16.0 r01574/r01572; on r01570 this behavior is not present)
gone in heaven on final muxing phase with error aka:
----------------- Error Muxing using mkvmerge 16.0 x64 -----------------
Muxing using mkvmerge 16.0 x64 failed with exit code: -1073740940 (0xC0000374)
The exit code might be a system error code: A heap has been corrupted.
---
In log under that I've a doubled section of "Muxing using mkvmerge 16.0 x64" etc. mkvtoolnix command line order. Muxing failed in this case.
I've not made screenshot (may be later; now is after midnight), but on error window I see numerous VBS line tags.
I'm under Win 10 LTSB. Тomorrow on а fresh head I'm going to investigate this case... Sorry for disturbance.
mcjordan
6th October 2017, 09:21
Here is screenshot of failed muxing:
http://imgbox.com/y6RHSFjJ#
Yanak
6th October 2017, 13:43
Hi Stax,
the last bits of code works nicely, always learning something new with you and this will serve me for some things i had in plan but had no idea how to do it until your last answer, but for my import filter last question sadly i cannot use this code inside a
$select:msg:Select x86 filter;bla|bla;blabla|blabla$
because of the semi colon inside the eval_Ps line breaking it all
%eval_ps:. %script_dir%Import_Filter.ps1; GetFilter("Rotate")%
I think i will not bother more with this part, i need to take time and rethink my approach of this problem, think at another way for doing what i want, probably directly using powershell to set all parameters, might be longer to code such thing for the noob i am but giving less issues in the end.
Now i have to figure out why as long as i have "LWLibavVideoSource" in my filter the program launches -- Index LWLibav -- sequence, each time i open or close a preview ... either with this in a ternary expression like code posted earlier here : http://forum.doom9.org/showthread.php?p=1820703#post1820703
or using it in a source filter having Gscript on it like here :
Source_Filter_Test =
srcFile = "%source_file%"
ext = LCase(RightStr(srcFile, 4))
if ( (ext == ".avi") || (ext == ".vdr") ) {
AviSource(srcFile, Audio = False)
}
else if ( (ext == ".mov") || (ext == ".mp4") || (ext == ".m4v") ) {
LSMASHVideoSource(srcFile, format = "YUV420P8")
}
else if ( (ext == ".264") || (ext == "h264") || (ext == ".avc") || (ext == ".265") || (ext == "h265") || (ext == "hevc") || (ext == ".hvc") ) {
LWLibavVideoSource(srcFile, format = "YUV420P8")
}
else if ( (ext == ".d2v") ) {
MPEG2Source(srcFile)
}
else {
DSS2(srcFile)
}
It have to be compressed into a single line to avoid formating issues in the profiles manager but this works.
As long as LWLibavVideoSource(srcFile, format = "YUV420P8") is present on the code filter Staxrip launches --- Index LWLibav -- processes on file load, even if the file is an avi using avisource for example, then this --- Index LWLibav -- process is also launched each time the preview is opened or closed. Tested also outside MP_Pipeline and same results when code above is used as a regular source filter. once i remove the LWLibavVideoSource part it works nicely as expected...
Seems also to work ok outside staxrip in avspmod but once inside Staxrip filter it launched the index process, i spend last hours trying to figure this out and starting to have a headache now.
Thanks a lot.
Taurus
6th October 2017, 19:44
This is what I get trying Avisynth+ new "mClean" on any suitable SourceFilter/ or any encoder.
https://thumbs.imgbox.com/05/66/NMiWjaSt_t.png (http://imgbox.com/NMiWjaSt)
All other new scripts (Finesharp,etc.) are doing fine
mparade
6th October 2017, 20:50
You can add custom filters like FrimSource at:
Filters > Profiles
Before opening a 3D source you would select FrimSource or you can use the 'Manual Workflow' template, staxrip would show a dialog then where you can select FrimSource.
StaxRip told: "3D demuxing is not supported"
Additionally, there should be some syntax errors in this as well:
FRIMSource = SBS=FRIMSource(codec="mvc",filename="%source_file%",filename_dep="%source_file%",layout="sbs",ts=true,platform="sw",cache=24,num_frames=%frame_count%)
VIEW1 = Crop(SBS,1920,0,1920,1080)
VIEW2 = Crop(SBS,0,0,1920,1080)
stax76
6th October 2017, 22:05
@mcjordan
Please also try mkvtoolnix 15.0.0 and post the full log file if it persists.
Now i have to figure out why as long as i have "LWLibavVideoSource" in my filter the program launches -- Index LWLibav -- sequence, each time i open or close a preview ... either with this in a ternary expression like code posted earlier here : http://forum.doom9.org/showthread.ph...03#post1820703
Is it really indexing or just reading the index file, the l-smash index file can be large like 1GB and just reading it can take 10-20 sec.
This is what I get trying Avisynth+ new "mClean" on any suitable SourceFilter/ or any encoder.
mClean 1.8 with x264 works here on Win 10 and Win 7.
StaxRip told: "3D demuxing is not supported"
I can't find a sample otherwise I would try to add support.
Additionally, there should be some syntax errors in this as well:
What error do you get?
Yanak
6th October 2017, 22:29
Is it really indexing or just reading the index file, the l-smash index file can be large like 1GB and just reading it can take 10-20 sec.
The window process pops out quickly.
If i add cache = true , like LWLibavVideoSource(srcFile, cache = true, format = "YUV420P8")
The .lwi file is sometimes created where the source file loaded is located, depends the file extension loaded, most often nothing is created, but there is a problem anyways, it goes too fast for an indexing and the log tell me this :
---------------------------- Index LWLibav ----------------------------
C:\Users\Yanak\Desktop\StaxRip-x64-1.7.0.1-test\Apps\ffmpeg\ffmpeg.exe -i "H:\TEMP\Eisenwald 2017-08-17 11-51-34-58_temp\Eisenwald 2017-08-17 11-51-34-58.avs" -hide_banner
Input #0, avisynth, from 'H:\TEMP\Eisenwald 2017-08-17 11-51-34-58_temp\Eisenwald 2017-08-17 11-51-34-58.avs':
Duration: 00:00:52.70, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, 60 fps, 60 tbr, 60 tbn, 60 tbc
At least one output file must be specified
Start: 23:43:26
End: 23:43:27
Duration: 00:00:00
that was for a .avi file loaded
For a mp4 i get this kind of message :
---------------------------- Index LWLibav ----------------------------
C:\Users\Yanak\Desktop\StaxRip-x64-1.7.0.1-test\Apps\ffmpeg\ffmpeg.exe -i H:\TEMP\00_temp\00_new.avs -hide_banner
[avisynth @ 000000000054a800] AviSynth version is too old. Please upgrade to either AviSynth 2.6 >= RC1 or AviSynth+ >= r1718.
H:\TEMP\00_temp\00_new.avs: Unknown error occurred
Start: 23:24:59
End: 23:24:59
Duration: 00:00:00
Strange message as i use last avs+ version ...
Those log entries get created each time i load a file + each time i open or close the preview mode, each time i load a file a file having an extension not supposed to trigger this source filter i mean, if i load a hvc or h264 input it works as supposed.
I can't figure out why this gets triggered while the extensions of the input files are not supposed to trigger it, also i don't demux sound or anything for those avi's or mp4's, it's a mystery for me.
Thank you.
stax76
6th October 2017, 22:42
The automatic indexing isn't really designed for having multiple source filters in the source section, maybe you could put your automatic source detection code in a avsi file, this would disable automatic indexing.
Yanak
6th October 2017, 22:48
Will try this method yes, at least for the LWLibavVideoSource that gives the problem, if i remove LWLibavVideoSource from the source filter all works perfectly fine...
Will try to add it into a separate script and see if i can call it only when needed, in case the input file extension is needing it only.
Thank you very much for the help Stax, very kind from you to answer us for such things, and learning a bit more each day with all this.
Edit :
Importing from avsi having this only in it : LWLibavVideoSource(srcFile, format = "YUV420P8") and following code works :
srcFile = "%source_file%"
ext = LCase(RightStr(srcFile, 4))
(ext == ".mov") || (ext == ".mp4") || (ext == ".m4v") || (ext == ".264") || (ext == "h264") || (ext == ".avc") || (ext == ".265") || (ext == "h265") || (ext == "hevc") || (ext == ".hvc") ? LoadPlugin("%startup_dir%Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") : \
(ext == ".d2v") ? LoadPlugin("%startup_dir%Apps\Plugins\avs\MPEG2DecPlus\MPEG2DecPlus64.dll") : \
LoadPlugin("%startup_dir%Apps\Plugins\avs\DSS2mod\DSS2.dll")
(ext == ".avi") || (ext == ".vdr") ? AviSource(srcFile, Audio = False) : \
(ext == ".mov") || (ext == ".mp4") || (ext == ".m4v") ? LSMASHVideoSource(srcFile, format = "YUV420P8") : \
(ext == ".264") || (ext == "h264") || (ext == ".avc") || (ext == ".265") || (ext == "h265") || (ext == "hevc") || (ext == ".hvc") ? import("H:\import.avsi") : \
(ext == ".d2v") ? MPEG2Source(srcFile) : \
DSS2(srcFile)
Should have tried this earlier to avoid hours of headache testing various options today, had nose pointed inside this for too long and it did not even came to my mind before :/.
Thanks again Stax, i think i will just bypass it this way.
mparade
6th October 2017, 23:25
@stax76
I can't find a sample otherwise I would try to add support.
I can provide and upload it for you just do not know if I should convert it to mkv first or should cut the original m2ts container.Maybe the first one is better for you because the dependent view file located in the 3D BD folder can be separated from the main view container file as well (more than one storage method (only 2 exist as far as I remember) is determined in the 3D BD standard). But, makemkv can convert it to a uniform frame-packed format which can be handled more easily as a 3D source hopefully. :thanks:
P.S. I really do not know how to cut an ISO file properly for you to test.
stax76
6th October 2017, 23:36
It might be sufficient when I only see the eac3to info about the video stream.
Blackshadow
7th October 2017, 04:23
Me to Same error 3d demuxing not supported pls add support to convert blue ray 3d into full SBS
mparade
7th October 2017, 09:45
It might be sufficient when I only see the eac3to info about the video stream.
@stax76
This is happening after using as input one of 3D BD (including an SSIF folder) in eac3to:
C:\Users\x\Downloads\eac3to331>eac3to "F:\"
1) 00801.mpls, 01151.m2ts, 1:32:30
- Chapters, 28 chapters
- h264/AVC (left eye), 1080p24 /1.001 (16:9)
- h264/MVC (right eye), 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48kHz
- AC3, English, multi-channel, 48kHz
- AC3, Spanish, multi-channel, 48kHz
- AC3, French, multi-channel, 48kHz
- AC3, Portuguese, multi-channel, 48kHz
- AC3, Bulgarian, multi-channel, 48kHz
- AC3, Hungarian, multi-channel, 48kHz
- AC3, Polish, multi-channel, 48kHz
mparade
7th October 2017, 14:35
In case of an SSIF folder exists inside the STREAM folder (1st method of storing 3D content on commercial BD-s):
1) 00098.mpls, 00098.m2ts, 2:00:21
- Chapters, 13 chapters
- h264/AVC (left eye), 1080p24 /1.001 (16:9)
- h264/MVC (right eye), 1080p24 /1.001 (16:9)
- TrueHD, English, multi-channel, 48kHz
- AC3, Czech, multi-channel, 48kHz
- AC3, Hindi, multi-channel, 48kHz
- AC3, Hungarian, multi-channel, 48kHz
- AC3, Polish, multi-channel, 48kHz
- AC3, Russian, multi-channel, 48kHz
- AC3, Turkish, stereo, 48kHz
In case of no SSIF folder exists inside the STREAM folder
(2nd method of storing 3D content on commercial BD-s)
1) 00800.mpls, 00543.m2ts, 1:48:32
- Chapters, 22 chapters
- h264/AVC, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48kHz
- AC3, Hungarian, multi-channel, 48kHz
- AC3, French, multi-channel, 48kHz
- AC3, Spanish, multi-channel, 48kHz
So, the second one (in-muxed method) might be difficult for eac3to to recognize as 3D.
After importing this m2ts (with in-muxed mvc content) into tsMuxer, I got the window like the one as attached:
http://s1.toldacuccot.hu/letoltes?sid=12b34f72a5ee1691fcbe9de4eab7a187&file=tsMuxer+-+in-muxed+m2ts+import.jpg
Blackshadow
7th October 2017, 15:14
I created an avs script with bd3d2mkv3d from blue ray 3d and then load the avs script with staxrip error cant load dgmvc 32 bit dll on 64 bit stax rip second i tried with frim source it showing error that intel sdk version
i tried to emulate avs script with avs virtual mount which virtualy mount the script to .avi file then i can import the file in staxrip for encoding but the problem is that file size become so large bcuz raw video 4 min video is 40 gb so if i compress it file size is even larger than original !! So anyone have any idea that how can i import avs script created with bd3d2mkv3d into staxrip
mparade
7th October 2017, 15:33
I created an avs script with bd3d2mkv3d from blue ray 3d and then load the avs script with staxrip error cant load dgmvc 32 bit dll on 64 bit stax rip second i tried with frim source it showing error that intel sdk version
i tried to emulate avs script with avs virtual mount which virtualy mount the script to .avi file then i can import the file in staxrip for encoding but the problem is that file size become so large bcuz raw video 4 min video is 40 gb so if i compress it file size is even larger than original !! So anyone have any idea that how can i import avs script created with bd3d2mkv3d into staxrip
I think the best way would be to load the 3D BD folder directly into StaxRip then decode the original avc-mvc source using FrimSource 64 bit version then using x264-10 bit with low crf to output a Full SBS file which will be visually transparent to the original. The output will be much smaller than the original in this case even at a crf=16 value, let's say.
mcjordan
7th October 2017, 20:20
Frank, sorry for delay.
With mkvtoolnix v15.0 the problem does not exist.
But with v16.0 (from r01572 onwards) muxing does not realized.
Here is log of an example:
https://pastebin.com/A1ih1etp
Yanak
7th October 2017, 20:32
Hello Stax,
SOrry to bother you again but i'm stuck with this ,
Before starting to add all my options needed i made a script to test easily like this :
function Mp_Pipeline_Select {
$Menu_Select = new-object "TaskDialog[string]"
$Menu_Select.MainInstruction = "Select Mp_Pipeline Mode"
$Menu_Select.AddCommandLink("Vegas DebugFrameserver Import" , "debugFrameserver")
$Menu_Select.AddCommandLink("Logo Remove by Coords" , "logo_coords")
$Menu_Select.AddCommandLink("Logo Remove by Area" , "logo_area")
$Menu_Select.AddCommandLink("VirtualDub Plugins" , "virtualdubplugins")
$selectMode = $Menu_Select.Show()
$Menu_Select.Dispose()
if ($selectMode -eq "debugFrameserver") {
$selected = "turnright"
} elseif ($selectMode -eq "logo_coords") {
$selected = "flipvetical"
} elseif ($selectMode -eq "logo_area") {
$selected = "reverse"
} elseif ($selectMode -eq "virtualdubplugins") {
$selected = "fliphorizontal"
} else {exit}
return $selected
}
and for now calling it via a filter :
Testing = %eval_ps:. %script_dir%Mp_Pipeline_Select.ps1; Mp_Pipeline_Select%
- If i go to the filters editor and click on preview tab it launches the script and returns correctly the value I selected.
- If i add the filter on a empty project, no input video loaded at all, Staxrip only started, the script will runs twice for some reasons.
- If i load an input video file and after add the filter the script runs in infinite loop, i click the option i want on the popup and it comes back again and again each time i select an option, and i have to alt+f4 Staxrip.
I'm probably doing something wrong here but i'm lost in this now and have to query again your precious help.
Thanks in advance.
Merlin93
8th October 2017, 12:03
Hey folks,
Is there a way to perform cuts or encodes based on chapters using Staxrip? I couldn't find the answer to in the new documentation website, nor via searches to this thread. It is probably something simple I'm just overlooking.
For example, I'd like to be able to cut out the long intermission sequence in the middle of the movie Alexander. In my MKV file, this intermission is chapter 27 (02:04:52.443 to 02:06:21.632). I'd like to be able to remove it (and chapter 27) from the output file. Based on what I've seen of the cut commands in the preview screen, I should theoretically be able to remove this segment manually by finding the frame associated with 02:04:52.443 and the frame associated with 02:06:21.632 and then mark the segment between them to be cut, however that seems rather inefficient. Plus I suspect it would not automatically modify the chapter information in the output file to remove chapter 27 and resync the rest of the chapters.
As an additional example, for some anime and TV shows, they are extracted from the video disc media as a single multi-chapter source file and then need to be split into separate episodes using chapter numbers when encoding them. Right now I have to use Handbrake for those since it is simple to encode by chapter using Handbrake (and I have a ton of anime in my library to convert.) Though I'd like to eventually be able to use Staxrip for that as well.
Obviously, I can use MKVToolNix to break up each source file into episodes by chapter before encoding. In theory, I could also use this technique to remove chapter 27 from the Alexander movie MKV as well. But, it is a pain and certainly isn't efficient... particularly if I'm just looking to isolate a chapter for a test encode, for example.
I assume there is an easy way to do stuff like this in Staxrip that I'm not seeing. Hopefully, someone here can explain the proper way to approach these kinds of challenges.
Thanks!
mcjordan
8th October 2017, 12:59
Updates:
VapourSynth R39
https://github.com/vapoursynth/vapoursynth/releases
AVS Meter v2.6.6
https://www.dropbox.com/sh/oxx5cm9hkbpj5oz/AAB1_64FB4ZEJe68g38Yj6nqa/AVSMeter266.7z?dl=0
AMED
8th October 2017, 21:16
Is there a way to resize by height for templates?
I have a 16:9 source but crops to 4:3ish and i would resize the height to 720p. I have tried creating resize line like this auto x 720 = 0 x 720 but it seems to be ignored and comes out as 1280x960.
Yanak
8th October 2017, 23:49
A custom filter "auto x 720 = 0 x 720" seems to work for me , on a 1280x720 source cropped to 800x600, applying this filter gives then 960x720
maybe there is some other settings involved like DAR or PAR (those are set to auto for me ) or some other related settings in Options > Image Options ... maybe, not sure.
Yanak
9th October 2017, 17:39
Managed to get what i wanted and working, still have to finish and polish this but working good ,
-Created a template just to trigger an event commands based on the template name and executing "ExecutePowerShellScript" with this inside it :
$activeProject = [ShortcutModule]::p
#Get Input_Source & Extension
$Source = "`"$($activeProject.SourceFile)`""
$Source_Extension = [IO.Path]::GetExtension($activeProject.SourceFile)
#$Staxrip_Path = (get-item $PSScriptRoot).parent.parent.FullName
$Staxrip_Path = "H:\StaxRip-x64-1.7.0.1-test"
#Select Source Plugin by file extension
if ($Source_Extension -eq ".avi" -Or $Source_Extension -eq ".vdr" ) {
$Source_Choice = "AviSource($Source, Audio = False)"
$Load = "$Source_Choice "
} elseif ($Source_Extension -eq ".mov" -Or $Source_Extension -eq ".mp4" -Or $Source_Extension -eq ".m4v") {
$LoadPlugin = "LoadPlugin(""$Staxrip_Path\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll"")"
$Source_Choice = "LSMASHVideoSource($Source, format = ""YUV420P8"")"
$Load = "$LoadPlugin `n$Source_Choice"
} elseif ($Source_Extension -eq ".264" -Or $Source_Extension -eq ".h264" -Or $Source_Extension -eq ".avc" -Or $Source_Extension -eq ".265" -Or $Source_Extension -eq ".h265" -Or $Source_Extension -eq ".hevc" -Or $Source_Extension -eq ".hvc") {
$LoadPlugin = "LoadPlugin(""$Staxrip_Path\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll"")"
$Source_Choice = "LWLibavVideoSource($Source, format = ""YUV420P8"")"
$Load = "$LoadPlugin `n$Source_Choice"
} elseif ($Source_Extension -eq ".d2v"){
$LoadPlugin = "LoadPlugin(""$Staxrip_Path\Apps\Plugins\avs\MPEG2DecPlus\MPEG2DecPlus64.dll"")"
$Source_Choice = "MPEG2Source($Source)"
$Load = "$LoadPlugin `n$Source_Choice "
} else {
$LoadPlugin = "LoadPlugin(""$Staxrip_Path\Apps\Plugins\avs\DSS2mod\DSS2.dll"")"
$Source_Choice = "DSS2($Source)"
$Load = "$LoadPlugin `n$Source_Choice"
}
#MainMenu Select MP_Pipeline Mode
$Menu_Select = new-object "TaskDialog[string]"
$Menu_Select.MainInstruction = "Select Mp_Pipeline Mode"
$Menu_Select.AddCommandLink("Vegas DebugFrameserver Import" , "debugFrameserver")
$Menu_Select.AddCommandLink("Logo Remove by Coords" , "logo_coords")
$Menu_Select.AddCommandLink("Logo Remove by Area" , "logo_area")
$Menu_Select.AddCommandLink("VirtualDub Plugins" , "virtualdubplugins")
$selectMode = $Menu_Select.Show()
$Menu_Select.Dispose()
#Multipurpose Functions
#Browse .bmp mask
function Browse_File {
Add-Type -AssemblyName System.Windows.Forms
$FileBrowser = New-Object System.Windows.Forms.OpenFileDialog -Property @{
Multiselect = $false
Filter = 'Images (*.bmp)|*.bmp'
}
[void]$FileBrowser.ShowDialog()
if ($FileBrowser.FileNames -notlike "*\*") {exit}
#$Path = "`"$FileBrowser.FileNames`""
$Path = $FileBrowser.FileNames
return $Path
}
#Select analyze Speed
Function Select_Speed {
$Speed_select = new-object "TaskDialog[string]"
$Speed_select.MainInstruction = "Select Logo Analyzing Speed"
$Speed_select.AddCommandLink("Very Slow - Analyze 100% of the Video" , "20")
$Speed_select.AddCommandLink("Slow - Analyze 75% of the Video" , "15")
$Speed_select.AddCommandLink("Medium - Analyze 50% of the Video" , "10")
$Speed_select.AddCommandLink("Fast - Analyze 25% of the Video" , "5")
$Speed_select.AddCommandLink("Very Fast - Analyze 10% of the Video" , "2")
$Speed_select.AddCommandLink("Ultra Fast - Analyze 5% of the Video" , "1")
$selected_Speed = $Speed_select.Show()
$Speed_select.Dispose()
$Speed = $selected_Speed
return $Speed
}
#Select mode to apply
Function Select_Mode {
$mode_select = new-object "TaskDialog[string]"
$mode_select.MainInstruction = "Select Treatment Mode"
$mode_select.AddCommandLink("Inpaint for Opaque logo" , "Inpaint")
$mode_select.AddCommandLink("Deblend for Transparent logo" , "Deblend")
$mode_select.AddCommandLink("Both if both Opaque and Transparent" , "Both")
$selected_Mode = $mode_select.Show()
$mode_select.Dispose()
$Mode = $selected_Mode
return $Mode
}
# Select PP mode
Function Select_PP_Mode {
$PP_mode_select = new-object "TaskDialog[string]"
$PP_mode_select.MainInstruction = "Select Treatment Mode"
$PP_mode_select.AddCommandLink("Mode 1: Blur all the area where logo was present" , "1")
$PP_mode_select.AddCommandLink("Mode 2: Blur all the area where logo was present using TemporalSoften and SpatialSoften" , "2")
$PP_mode_select.AddCommandLink("Mode 3: Blur only the edge of logo area using TemporalSoften and SpatialSoften" , "3")
$PP_mode_select.AddCommandLink("Disabled" , "0")
$selected_PP_Mode = $PP_mode_select.Show()
$PP_mode_select.Dispose()
$PPmode = $selected_PP_Mode
return $PPmode
}
# Show process y/n ?
Function Show_Process {
$Show_Process_Y_N = new-object "TaskDialog[string]"
$Show_Process_Y_N.MainInstruction = "Show Delogoing Steps and Process ?"
$Show_Process_Y_N.AddCommandLink("Show Result Only" , "false")
$Show_Process_Y_N.AddCommandLink("Show Steps and Process" , "true")
$selected_Y_N = $Show_Process_Y_N.Show()
$Show_Process_Y_N.Dispose()
$Show = $selected_Y_N
Return $Show
}
#Input logo coords function
function logo_coords_input {
$logo_coords_input_box = [InputBox]::Show("Enter the logo coordinates ex: 760,1030,-28,-8")
if ([string]::IsNullOrEmpty($logo_coords_input_box)) {exit}
# + need add check to see if numeric value only
$loc = "$logo_coords_input_box"
Return $Loc
}
#Select logo area function
function logo_area {
$area = new-object "TaskDialog[string]"
$area.MainInstruction = "Select where is the Logo Area to Treat"
$area.AddCommandLink("Top Left" , "TL")
$area.AddCommandLink("Top Center" , "TC")
$area.AddCommandLink("Top Right" , "TR")
$area.AddCommandLink("Middle Left" , "ML")
$area.AddCommandLink("Center of The Screen" , "MC")
$area.AddCommandLink("Middle Right" , "MR")
$area.AddCommandLink("Bottom Left" , "BL")
$area.AddCommandLink("Bottom Center" , "BC")
$area.AddCommandLink("Bottom Right" , "BR")
$SelectedArea = $area.Show()
$area.Dispose()
$Loc = "$SelectedArea"
Return $Loc
}
if ($selectMode -eq "debugFrameserver") {
$x86_filter_paremeters = ""
} elseif ($selectMode -eq "logo_coords") {
$Mask = Browse_File
$loc = logo_coords_input
$Speed = Select_Speed
$Mode = Select_Mode
$PPMode = Select_PP_Mode
$Show = Show_Process
$x86_filter_paremeters = "InpaintFunc(mask=""$Mask"", loc=""$Loc"", Speed=$Speed, Mode=""$Mode"", ppmode=$PPmode, pp=50, Radius= 5.0, sharpness=75.0, preblur=8.0, postblur=4.0, reset=true, show=$Show)"
} elseif ($selectMode -eq "logo_area") {
$Mask = Browse_File
$Loc = logo_area
$Speed = Select_Speed
$Mode = Select_Mode
$PPMode = Select_PP_Mode
$Show = Show_Process
$x86_filter_paremeters = "InpaintFunc(mask=""$Mask"", loc=""$Loc"", Speed=$Speed, Mode=""$Mode"", ppmode=$PPmode, pp=50, Radius= 5.0, sharpness=75.0, preblur=8.0, postblur=4.0, reset=true, show=$Show)"
} elseif ($selectMode -eq "virtualdubplugins") {
$x86_filter_paremeters = ""
} else {exit}
# Source filter result full # `t tabulation
$Mp_Pipeline_Source_Filter_Result = "
SetFilterMtMode(""MP_Pipeline"",MT_SPECIAL_MT)
MP_Pipeline(""""""
### platform: win64
$Load
### ###
### platform: win32
$x86_filter_paremeters
### ###
"""""")
"
#Process
$Replace_Source_Filter = [ShortcutModule]::g.DefaultCommands
$Replace_Source_Filter.SetFilter("Mp_Pipeline_test", "Source", $Mp_Pipeline_Source_Filter_Result)
$preview = [ShortcutModule]::g
$preview.MainForm.ShowPreview()
Still have to do and include all my x86 vdub filters and some additional parameters but it works, as long as i have the template selected all is automated and needs just a few clicks after i load a source, then at the end the script replaces the source filter with Mp_Pipeline one containing all the settings i need inside.
Probably not the best looking code but granted i started to touch powershell for the first time only few weeks ago.... :p
Now only will need to find a good way to get $Staxrip_Path variable used for plugins paths or maybe there is already some existing variables for the plugins directly that can be used and it will be clean for me.
Thanks a lot Stax for all the help provided, answering silly questions from a noob like me here or in git , if could not have done such thing only a few weeks ago :)
stax76
9th October 2017, 23:43
C:\Users\x\Downloads\eac3to331>eac3to "F:"
1) 00801.mpls, 01151.m2ts, 1:32:30
- Chapters, 28 chapters
- h264/AVC (left eye), 1080p24 /1.001 (16:9)
- h264/MVC (right eye), 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48kHz
- AC3, English, multi-channel, 48kHz
- AC3, Spanish, multi-channel, 48kHz
- AC3, French, multi-channel, 48kHz
- AC3, Portuguese, multi-channel, 48kHz
- AC3, Bulgarian, multi-channel, 48kHz
- AC3, Hungarian, multi-channel, 48kHz
- AC3, Polish, multi-channel, 48kHz
I also need to know how it is processed further, a regular BD would look like so:
------------------ Process playlist file using eac3to ------------------
D:\Projekte\VS\VB\StaxRip\bin\Apps\eac3to\eac3to.exe "E:\BDMV\PLAYLIST" 2) -progressnumbers
M2TS, 1 video track, 1 audio track, 0:16:18, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: AC3, English, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--------------------- Demux M2TS using eac3to 3.31 ---------------------
D:\Projekte\VS\VB\StaxRip\bin\Apps\eac3to\eac3to.exe "E:\BDMV\PLAYLIST" 2) 1: "D:\Temp\StaxRip\aaa.mkv" 2: "D:\Temp\StaxRip\aaa.ac3" -progressnumbers
@Merlin93
The new build has a new chapter navigation feature that might help.
@Yanak
You can get the startup folder with:
[System.Windows.Forms.Application]::StartupPath
in the new build following will work too:
[Application]::StartupPath
new build:
https://github.com/stax76/staxrip/blob/master/changelog.md
Magik Mark
10th October 2017, 05:26
Stax,
Can you help us create a script that would convert BT2020 to BT709
Thanks
mcjordan
10th October 2017, 08:40
Thank you for new build, Frank! With mkvtoolnix v16.0 r1582 problem of muxing is gone.
Yanak
10th October 2017, 12:44
You can get the startup folder with:
[System.Windows.Forms.Application]::StartupPath
in the new build following will work too:
[Application]::StartupPath
Perfect, working nicely and now I finished to add the missing stuff, will just need to polish the code one of those days maybe but it works perfectly, very happy about this, plus will allow me to add a x86 filter easily in the future too, well just a bit of editing but will be nice.
Thanks again for all the help and this fantastic program :)
mparade
10th October 2017, 17:05
@stax76
In case of SSIF folder included:
C:\Users\x\Downloads\eac3to331>eac3to.exe "E:\BDMV\PLAYLIST" 1) -progressnumbers
analyze: 1%
analyze: 2%
analyze: 3%
analyze: 4%
analyze: 5%
analyze: 6%
analyze: 7%
analyze: 8%
analyze: 9%
analyze: 10%
analyze: 11%
analyze: 12%
analyze: 13%
analyze: 14%
analyze: 15%
analyze: 16%
analyze: 17%
analyze: 18%
analyze: 19%
analyze: 20%
analyze: 21%
analyze: 22%
analyze: 23%
analyze: 24%
analyze: 25%
analyze: 26%
analyze: 27%
analyze: 28%
analyze: 29%
analyze: 30%
analyze: 31%
analyze: 32%
analyze: 33%
analyze: 34%
analyze: 35%
analyze: 36%
analyze: 37%
analyze: 38%
analyze: 39%
analyze: 40%
analyze: 41%
analyze: 42%
analyze: 43%
analyze: 44%
analyze: 45%
analyze: 46%
analyze: 47%
analyze: 48%
analyze: 49%
analyze: 50%
analyze: 51%
analyze: 52%
analyze: 53%
analyze: 54%
analyze: 55%
analyze: 56%
analyze: 57%
analyze: 58%
analyze: 59%
analyze: 60%
analyze: 61%
analyze: 62%
analyze: 63%
analyze: 64%
analyze: 65%
analyze: 66%
analyze: 67%
analyze: 68%
analyze: 69%
analyze: 70%
analyze: 71%
analyze: 72%
analyze: 73%
analyze: 74%
analyze: 75%
analyze: 76%
analyze: 77%
analyze: 78%
analyze: 79%
analyze: 80%
analyze: 81%
analyze: 82%
analyze: 83%
analyze: 84%
analyze: 85%
analyze: 86%
analyze: 87%
analyze: 88%
analyze: 89%
analyze: 90%
analyze: 91%
analyze: 92%
analyze: 93%
analyze: 94%
analyze: 95%
analyze: 96%
analyze: 97%
analyze: 98%
analyze: 99%
analyze: 100%
M2TS, 2 video tracks, 8 audio tracks, 8 subtitle tracks, 1:27:45, 24p /1.001
1: Chapters, 24 chapters
2: h264/AVC (right eye), 1080p24 /1.001 (16:9)
3: h264/MVC (left eye), 1080p24 /1.001 (16:9)
4: DTS Master Audio, English, 7.1 (strange setup) channels, 24 bits, 48kHz
(core: DTS-ES, 5.1 channels, 1509kbps, 48kHz)
5: AC3, Modern Greek, 5.1 channels, 448kbps, 48kHz
6: AC3, Hebrew, 5.1 channels, 448kbps, 48kHz
7: AC3, Hungarian, 5.1 channels, 448kbps, 48kHz
8: AC3, Icelandic, 5.1 channels, 448kbps, 48kHz
9: AC3, Polish, 5.1 channels, 448kbps, 48kHz
10: AC3, Portuguese, 5.1 channels, 448kbps, 48kHz
11: AC3, Romanian, 5.1 channels, 448kbps, 48kHz
12: Subtitle (PGS), English
13: Subtitle (PGS), Modern Greek
14: Subtitle (PGS), Hebrew
15: Subtitle (PGS), Hungarian
16: Subtitle (PGS), Icelandic
17: Subtitle (PGS), Polish
18: Subtitle (PGS), Portuguese
19: Subtitle (PGS), Romanian
In case of there is no SSIF folder included:
C:\Users\x\Downloads\eac3to331>eac3to.exe "E:\BDMV\PLAYLIST" 1) -progressnumbers
analyze: 1%
analyze: 2%
analyze: 3%
analyze: 4%
analyze: 5%
analyze: 6%
analyze: 7%
analyze: 8%
analyze: 9%
analyze: 10%
analyze: 11%
analyze: 12%
analyze: 13%
analyze: 14%
analyze: 15%
analyze: 16%
analyze: 17%
analyze: 18%
analyze: 19%
analyze: 20%
analyze: 21%
analyze: 22%
analyze: 23%
analyze: 24%
analyze: 25%
analyze: 26%
analyze: 27%
analyze: 28%
analyze: 29%
analyze: 30%
analyze: 31%
analyze: 32%
analyze: 33%
analyze: 34%
analyze: 35%
analyze: 36%
analyze: 37%
analyze: 38%
analyze: 39%
analyze: 40%
analyze: 41%
analyze: 42%
analyze: 43%
analyze: 44%
analyze: 45%
analyze: 46%
analyze: 47%
analyze: 48%
analyze: 49%
analyze: 50%
analyze: 51%
analyze: 52%
analyze: 53%
analyze: 54%
analyze: 55%
analyze: 56%
analyze: 57%
analyze: 58%
analyze: 59%
analyze: 60%
analyze: 61%
analyze: 62%
analyze: 63%
analyze: 64%
analyze: 65%
analyze: 66%
analyze: 67%
analyze: 68%
analyze: 69%
analyze: 70%
analyze: 71%
analyze: 72%
analyze: 73%
analyze: 74%
analyze: 75%
analyze: 76%
analyze: 77%
analyze: 78%
analyze: 79%
analyze: 80%
analyze: 81%
analyze: 82%
analyze: 83%
analyze: 84%
analyze: 85%
analyze: 86%
analyze: 87%
analyze: 88%
analyze: 89%
analyze: 90%
analyze: 91%
analyze: 92%
analyze: 93%
analyze: 94%
analyze: 95%
analyze: 96%
analyze: 97%
analyze: 98%
analyze: 99%
analyze: 100%
M2TS, 2 video tracks, 4 audio tracks, 3 subtitle tracks, 1:48:32, 24p /1.001
1: Chapters, 22 chapters
2: h264/AVC (left eye), 1080p24 /1.001 (16:9)
3: h264/MVC (right eye), 1080p24 /1.001 (16:9)
4: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
5: AC3, Hungarian, 5.1 channels, 384kbps, 48kHz, dialnorm: -27dB
6: AC3, French, 5.1 channels, 640kbps, 48kHz
7: AC3, Spanish, 5.1 channels, 640kbps, 48kHz
8: Subtitle (PGS), Hungarian
9: Subtitle (PGS), Hungarian
10: Subtitle (PGS), Spanish
Zetti
10th October 2017, 23:17
eac3to v3.32 is released.
Magik Mark
11th October 2017, 01:24
Stax
Windows 10 RS3 "Fall Update" is out. Do you see any incompatibilities?
Sxc
11th October 2017, 04:08
Hi, if I use staxrip 1.7.0.0 stable to encode a mkv with AC3 audio that has a delay to a mkv with AAC audio, the audio is wildly out of sync and the resulting output file has the audio listed as being 1 second shorter (and a slightly smaller delay value).
Source from mediainfo before encoding:
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 21 min 59 s
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -126 ms
Stream size : 60.4 MiB (7%)
Service kind : Complete Main
Default : Yes
Forced : No
From the output mkv file, note the duration is less by a second and the delay is adjusted:
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC-2
Duration : 21 min 58 s
Bit rate : 211 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : -117 ms
Stream size : 33.2 MiB (4%)
Language : English
Default : No
Forced : No
And using handbrake to encode the same file (and the sound is in sync) the mediainfo shows:
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC-2
Duration : 21 min 59 s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : -126 ms
Title : Stereo
Default : Yes
Forced : No
I've tried using different encoders (qaac instead of the eac3to it uses for auto) and still the same result. Anyone else had this issue?
Magik Mark
12th October 2017, 23:22
Stax
Just installed RS3 so far the the only problem that I encountered is "Shutdown" doesn't work after encoding
Zetti
14th October 2017, 17:12
MKVToolNix v17.0.0 is released.
Lupissimo
14th October 2017, 23:01
Could somebody please tell me how to include HSVadjust into Staxrip 1.6( I am a newcomer to scripting).
@ Stax:
I confirm the audio delay bug with 1.7.(see above: AC3 with delay > AAC to MKV or MP4 issue)
Encoding with 1.6 is OK.
stax76
15th October 2017, 00:33
@Lupissimo
@Sxc
Please post the full log file, I tried to reproduce it but couldn't find a problem.
@Zetti
Thanks, I've updated both.
Just installed RS3 so far the the only problem that I encountered is "Shutdown" doesn't work after encoding
Is RS3 is officially released? I didn't notice news about it on my tech news site golem.de. staxrip uses shutdown.exe and I can't do much if it don't work.
@mparade
That don't contain the info I need, please upload a sample.
craigpro
15th October 2017, 02:08
hi stax76 - unfortunately I have this recurring error with stable 1.7.0.0 with any file I try to encode (I upgraded NVencc 3.2.2 to 3.2.3):
Error Video encoding using NVEnc 3.22 (1.7.0.0)
Video encoding using NVEnc 3.22 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.
------------------- Video encoding using NVEnc 3.22 -------------------
C:\GPU\StaxRip-x64-1.7\Apps\NVEnc\NVEncC64.exe --cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --transfer auto -i H:\NEW\testfile_temp\testfile.avs -o H:\NEW\testfile_temp\testfile_out.h265
NVEncC (x64) 3.23 (r667) by rigaya, Sep 26 2017 20:51:36 (VC 1900/Win/avx2)
OS Version Windows 7 x64 (7601)
CPU Intel Core i5-2500K @ 3.30GHz (4C/4T)
GPU #0: GeForce GTX 1060 6GB (10 EU) @ 1708 MHz (387.92)
NVENC / CUDA NVENC API 8.0, CUDA 9.1, schedule mode: auto
Input Buffers CUDA, 36 frames
Input Info Avisynth 2.60(yv12)->p010 [AVX], 1280x720, 24000/1001 fps
Vpp Filters copyHtoD
Output Info H.265/HEVC main10 @ Level auto
1280x720p 1:1 23.976fps (24000/1001fps)
Encoder Preset quality
Rate Control CQP I:18 P:20 B:22
Lookahead on, 16 frames, Adaptive I, B Insert
GOP length 240 frames
B frames 0 frames
Ref frames 3 frames, LTR: off
AQ off
CU max / min auto / auto
Others mv:auto
Error cudaEventSynchronize: 4 (cudaErrorLaunchFailure).
StaxRip.ErrorAbortException: Video encoding using NVEnc 3.22 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.
------------------- Video encoding using NVEnc 3.22 -------------------
C:\GPU\StaxRip-x64-1.7\Apps\NVEnc\NVEncC64.exe --cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --transfer auto -i H:\NEW\testfile_temp\testfile.avs -o H:\NEW\testfile_temp\testfile_out.h265
NVEncC (x64) 3.23 (r667) by rigaya, Sep 26 2017 20:51:36 (VC 1900/Win/avx2)
OS Version Windows 7 x64 (7601)
CPU Intel Core i5-2500K @ 3.30GHz (4C/4T)
GPU #0: GeForce GTX 1060 6GB (10 EU) @ 1708 MHz (387.92)
NVENC / CUDA NVENC API 8.0, CUDA 9.1, schedule mode: auto
Input Buffers CUDA, 36 frames
Input Info Avisynth 2.60(yv12)->p010 [AVX], 1280x720, 24000/1001 fps
Vpp Filters copyHtoD
Output Info H.265/HEVC main10 @ Level auto
1280x720p 1:1 23.976fps (24000/1001fps)
Encoder Preset quality
Rate Control CQP I:18 P:20 B:22
Lookahead on, 16 frames, Adaptive I, B Insert
GOP length 240 frames
B frames 0 frames
Ref frames 3 frames, LTR: off
AQ off
CU max / min auto / auto
Others mv:auto
Error cudaEventSynchronize: 4 (cudaErrorLaunchFailure).
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 338
at StaxRip.NVEnc.Encode() in D:\Projekte\VS\VB\StaxRip\Encoding\NVEnc.vb:line 82
at StaxRip.GlobalClass.ProcessVideo() in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 225
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob(String jobPath) in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 137
the complete log file :
-------------------------- System Environment --------------------------
StaxRip : 1.7.0.0
Windows : Windows 7 Home Premium
Language : English (Australia)
CPU : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
GPU : NVIDIA GeForce GTX 1060 6GB
Resolution : 1920 x 1080
DPI : 96
------------------------ MediaInfo Source File ------------------------
H:\NEW\testfile.mkv
General
Complete name : H:\NEW\testfile.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 2.18 GiB
Duration : 56 min 53 s
Overall bit rate mode : Variable
Overall bit rate : 5 479 kb/s
Encoded date : UTC 2017-08-21 21:21:11
Writing application : mkvmerge v8.3.0 ('Over the Horizon') 64bit
Writing library : libebml v1.3.1 + libmatroska v1.4.2
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 5 Ref Frames
Format, CABAC : Yes
Format, RefFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 56 min 53 s
Bit rate : 4 773 kb/s
Width : 1 280 pixels
Height : 720 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
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.216
Stream size : 1.89 GiB (87%)
Writing library : x264 core 152 r2851 ba24899
Language : English
Default : Yes
Forced : No
Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 56 min 53 s
Bit rate mode : Variable
Bit rate : 720 kb/s
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 kHz
Frame rate : 11.719 FPS (4096 SPF)
Bit depth : 24 bits
Stream size : 293 MiB (13%)
Writing library : libFLAC 1.2.1 (UTC 2007-09-17)
Language : English
Default : Yes
Forced : No
Menu
00 : 00:00.000 : en:00:00:00.000
00 : 07:07.552 : en:00:07:07.552
00 : 11:30.023 : en:00:11:30.023
00 : 23:31.076 : en:00:23:31.076
00 : 29:10.207 : en:00:29:10.207
00 : 36:12.712 : en:00:36:12.712
00 : 45:33.314 : en:00:45:33.314
------------------ Demux MKV using mkvextract 15.0.0 ------------------
C:\GPU\StaxRip-x64-1.7\Apps\MKVToolNix\mkvextract.exe tracks H:\NEW\testfile.mkv 1:"H:\NEW\testfile_temp\testfile ID1 English.flac" --ui-language en
Extracting track 1 with the CodecID 'A_FLAC' to the file 'H:\NEW\testfile_temp\testfile ID1 English.flac'. Container format: raw data
Start: 11:58:46 AM
End: 11:58:58 AM
Duration: 00:00:12
General
Complete name : H:\NEW\testfile_temp\testfile ID1 English.flac
Format : FLAC
Format/Info : Free Lossless Audio Codec
File size : 293 MiB
Duration : 56 min 53 s
Overall bit rate mode : Variable
Overall bit rate : 720 kb/s
Audio
Format : FLAC
Format/Info : Free Lossless Audio Codec
Duration : 56 min 53 s
Bit rate mode : Variable
Bit rate : 720 kb/s
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 kHz
Bit depth : 24 bits
Stream size : 293 MiB (100%)
Writing library : libFLAC 1.2.1 (UTC 2007-09-17)
-------------- Demux xml chapters using mkvextract 15.0.0 --------------
C:\GPU\StaxRip-x64-1.7\Apps\MKVToolNix\mkvextract.exe chapters H:\NEW\testfile.mkv --redirect-output H:\NEW\testfile_temp\testfile_chapters.xml
File 'H:\NEW\testfile.mkv': container: Matroska
Track ID 0: video (MPEG-4p10/AVC/h.264)
Track ID 1: audio (FLAC)
Chapters: 7 entries
Start: 11:58:58 AM
End: 11:58:59 AM
Duration: 00:00:00
-------------- Demux ogg chapters using mkvextract 15.0.0 --------------
C:\GPU\StaxRip-x64-1.7\Apps\MKVToolNix\mkvextract.exe chapters H:\NEW\testfile.mkv --redirect-output H:\NEW\testfile_temp\testfile_chapters.txt --simple
File 'H:\NEW\testfile.mkv': container: Matroska
Track ID 0: video (MPEG-4p10/AVC/h.264)
Track ID 1: audio (FLAC)
Chapters: 7 entries
Start: 11:58:59 AM
End: 11:58:59 AM
Duration: 00:00:00
----------------------- Indexing using ffmsindex -----------------------
C:\GPU\StaxRip-x64-1.7\Apps\Plugins\both\ffms2\ffmsindex.exe H:\NEW\testfile.mkv H:\NEW\testfile_temp\testfile.ffindex
Writing index... done.
Start: 11:58:59 AM
End: 11:59:03 AM
Duration: 00:00:04
--------------------------- AviSynth Script ---------------------------
LoadPlugin("C:\GPU\StaxRip-x64-1.7\Apps\Plugins\both\ffms2\ffms2.dll")
FFVideoSource("H:\NEW\testfile.mkv", colorspace = "YV12", \
cachefile = "H:\NEW\testfile_temp\testfile.ffindex")
-------------------------- Script Properties --------------------------
Source Frame Count : 81838
Source Frame Rate : 23.976024
Source Duration : 00:56:53.3270000
Target Frame Count : 81838
Target Frame Rate : 23.976024
Target Duration : 00:56:53.3270000
----------------------- MediaInfo Audio Source 1 -----------------------
General
Complete name : H:\NEW\testfile_temp\testfile ID1 English.flac
Format : FLAC
Format/Info : Free Lossless Audio Codec
File size : 293 MiB
Duration : 56 min 53 s
Overall bit rate mode : Variable
Overall bit rate : 720 kb/s
Audio
Format : FLAC
Format/Info : Free Lossless Audio Codec
Duration : 56 min 53 s
Bit rate mode : Variable
Bit rate : 720 kb/s
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 kHz
Bit depth : 24 bits
Stream size : 293 MiB (100%)
Writing library : libFLAC 1.2.1 (UTC 2007-09-17)
---------------- Error Video encoding using NVEnc 3.22 ----------------
Video encoding using NVEnc 3.22 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.
------------------- Video encoding using NVEnc 3.22 -------------------
C:\GPU\StaxRip-x64-1.7\Apps\NVEnc\NVEncC64.exe --cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --transfer auto -i H:\NEW\testfile_temp\testfile.avs -o H:\NEW\testfile_temp\testfile_out.h265
NVEncC (x64) 3.23 (r667) by rigaya, Sep 26 2017 20:51:36 (VC 1900/Win/avx2)
OS Version Windows 7 x64 (7601)
CPU Intel Core i5-2500K @ 3.30GHz (4C/4T)
GPU #0: GeForce GTX 1060 6GB (10 EU) @ 1708 MHz (387.92)
NVENC / CUDA NVENC API 8.0, CUDA 9.1, schedule mode: auto
Input Buffers CUDA, 36 frames
Input Info Avisynth 2.60(yv12)->p010 [AVX], 1280x720, 24000/1001 fps
Vpp Filters copyHtoD
Output Info H.265/HEVC main10 @ Level auto
1280x720p 1:1 23.976fps (24000/1001fps)
Encoder Preset quality
Rate Control CQP I:18 P:20 B:22
Lookahead on, 16 frames, Adaptive I, B Insert
GOP length 240 frames
B frames 0 frames
Ref frames 3 frames, LTR: off
AQ off
CU max / min auto / auto
Others mv:auto
Error cudaEventSynchronize: 4 (cudaErrorLaunchFailure).
------------------- Video encoding using NVEnc 3.22 -------------------
C:\GPU\StaxRip-x64-1.7\Apps\NVEnc\NVEncC64.exe --cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --transfer auto -i H:\NEW\testfile_temp\testfile.avs -o H:\NEW\testfile_temp\testfile_out.h265
NVEncC (x64) 3.23 (r667) by rigaya, Sep 26 2017 20:51:36 (VC 1900/Win/avx2)
OS Version Windows 7 x64 (7601)
CPU Intel Core i5-2500K @ 3.30GHz (4C/4T)
GPU #0: GeForce GTX 1060 6GB (10 EU) @ 1708 MHz (387.92)
NVENC / CUDA NVENC API 8.0, CUDA 9.1, schedule mode: auto
Input Buffers CUDA, 36 frames
Input Info Avisynth 2.60(yv12)->p010 [AVX], 1280x720, 24000/1001 fps
Vpp Filters copyHtoD
Output Info H.265/HEVC main10 @ Level auto
1280x720p 1:1 23.976fps (24000/1001fps)
Encoder Preset quality
Rate Control CQP I:18 P:20 B:22
Lookahead on, 16 frames, Adaptive I, B Insert
GOP length 240 frames
B frames 0 frames
Ref frames 3 frames, LTR: off
AQ off
CU max / min auto / auto
Others mv:auto
Error cudaEventSynchronize: 4 (cudaErrorLaunchFailure).
Start: 11:59:30 AM
End: 12:01:01 PM
Duration: 00:01:30
hope this helps, any further information I can give please let me know.
Please note that the issue does ALSO occur with stable 1.6.0.0 - so it might be video driver related - I updated my Nvidia GPU drivers to v387.92 two days ago.
Thank you.
stax76
15th October 2017, 02:11
Yes I think it's related to the new driver.
https://github.com/rigaya/NVEnc/issues/15
craigpro
15th October 2017, 02:25
Yes I think it's related to the new driver.
https://github.com/rigaya/NVEnc/issues/15
mate, you are a legend. thank you. I had a look at that other bloke's error report and I'll try it without the weightp option (if possible) as a workaround.. otherwise guess I need to wait until the issue is identified as a driver issue or not.
thank you.
EDIT: tried a quick test by disabling the weightp option and it works but video size is hardly compressed at all.
suprasaiyan123
15th October 2017, 05:07
what's the correct way to encode x265 2160p HDR video?? I tried a test vid however after encoding(x265) the HDR metadata was no longer picked up and the encode was washed out, thought the metadata would automatically pass through to the encode??? using staxrip 1.7.0.0
LazyNcoder
15th October 2017, 07:52
I also need a proper way to convert HDR to SDR. I think we need a guide for HDR -> HDR, HDR -> SDR, SDR -> HDR.
I think they talked about it before on the forum but it's needed to be gathered from many posts here as we don't have any complete guide about this.
Zetti
15th October 2017, 13:20
FFmpeg v3.3.4 is released.
and
MP4Box v0.7.2-DEV-rev292 is released.
Natty
15th October 2017, 23:56
https://mkvtoolnix.download/doc/NEWS.md
mkvtoolnix 17.0.0
mparade
17th October 2017, 07:42
I have done one test encode using NVEnc and my Quadro K4200.
I have set output bitdepth to 10bit. The output became only 8bit. Does NVEnc support 10bit h264 encoding with any other Nvidia card at all (my card is from the 1st (Kepler) generation)? I haven't found anything about it in the NVEnc docs.
On top of it, all I have found some artifacts in the output as well
Please help.
Yanak
17th October 2017, 09:19
Stax released a new test version yesterday 1.7.0.4 : https://github.com/stax76/staxrip/blob/master/changelog.md
There is a new option for the HDR metadata and one thing related to nvenc --transfer flags , not using those myself but maybe previous posts related to HDR or nvenc issues can give it a try and find this one more helpful.
mparade
20th October 2017, 07:19
@stax76
That don't contain the info I need, please upload a sample.
No problem. Just have to find out how to cut properly a BD 3D structure. If there is is no SSIF folder it is not a problem because only an m2ts container needs to be cut. But if storing is done using the other method when AVC and MVC part is stored in separate containers, I still do not know.
If you have a HDR source and have x265 enabled prior opening the source file, the latest build will read HDR info from the source and set the according x265 options, you can use the built in MediaInfo viewer to verify if your source contains HDR info.
If you have a regular HD source you can use:
Main Menu > Tools > Scripts > Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR
What about when using NVEncC? I have an Nvidia GTX 1080Ti and try to make some tests using the CQP method on HDR 4K and "Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR" converted sources.
But in this case we need to feed the encoder (NVEncC) with the correct HDR metadata as well. Is it currently possible? The player is going to use such metadata when the source is HDR10:
- "SMPTE 2086 mastering display information (gamut, min + max luminance), MaxCLL and MaxFALL. Stuff like the video's color primaries, matrix, transfer etc are usually "assumed" and not transported;"
So, if they lack of such metadata, I do not really know if they will be handled properly at all by the display/player.
Thank you very much for the info.
Blackshadow
21st October 2017, 07:22
@stax76
No problem. Just have to find out how to cut properly a BD 3D structure. If there is is no SSIF folder it is not a problem because only an m2ts container needs to be cut. But if storing is done using the other method when AVC and MVC part is stored in separate containers, I still do not know.
What about when using NVEncC? I have an Nvidia GTX 1080Ti and try to make some tests using the CQP method on HDR 4K and "Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR" converted sources.
But in this case we need to feed the encoder (NVEncC) with the correct HDR metadata as well. Is it currently possible? The player is going to use such metadata when the source is HDR10:
- "SMPTE 2086 mastering display information (gamut, min + max luminance), MaxCLL and MaxFALL. Stuff like the video's color primaries, matrix, transfer etc are usually "assumed" and not transported;"
So, if they lack of such metadata, I do not really know if they will be handled properly at all by the display/player.
Thank you very much for the info.
You can cut 3d blue ray using dvdfab latest version
It allow mvc mkv passthrough simultaneously trim the movie output is same like make mkv or you can generate small 3d blue ray from SBS clip for testing using Sony Vegas
mparade
21st October 2017, 10:33
@mparade
That don't contain the info I need, please upload a sample.
Sample1 (the original m2ts container was cut including both AVC and MVC streams, in-mux "storage") is uploaded here:
http://s1.toldacuccot.hu/letoltes?sid=465a093c13549fd723f77394f5d6ad34&file=teszt1_inmux3D.zip
Please let me know if it contains the info you need.
Thank you very much for your amazing software.
mparade
21st October 2017, 11:29
@mparade
That don't contain the info I need, please upload a sample.
2nd sample is uploaded here as an ISO file (SSIF structure):
http://s1.toldacuccot.hu/letoltes?sid=3840067148455e3b1828463e83e02e75&file=teszt2_SSIF_3D.zip
mparade
21st October 2017, 11:32
You can cut 3d blue ray using dvdfab latest version
It allow mvc mkv passthrough simultaneously trim the movie output is same like make mkv or you can generate small 3d blue ray from SBS clip for testing using Sony Vegas
Finally, I have found out that tsMuxer GUI can solve these problems, but first of all, we should wait for stax76 to know if he can use the uploaded sources.
mparade
21st October 2017, 15:10
@stax76
If the source is VC-1 and using Vapoursynth with "convert bt709 to 10bit HDR" script enabled, then I will get an error message from StaxRip...if the source is h264, then there is no error message. It should be a Vapoursynth problem because DGDecNV can handle VC-1 since several years now.
Atlantis
21st October 2017, 19:28
Any simple script for Staxrip to convert HDR to SDR?
mparade
21st October 2017, 19:29
Any simple script for Staxrip to convert HDR to SDR?
Personally, I am using madVR to convert HDR sources to SDR during the rendering process.
Atlantis
22nd October 2017, 01:51
Yes, no I want to encode it first and have it in SDR before playing.
lotnybartek
23rd October 2017, 10:39
Is it possible to encode with QSVEnc BUT resize and de-interlace with software? I'd like to use yadifmod2 for de-interlacing and Lanczos4Resize for resizing. So, in Intel Encoding Options, I should select AviSynth/VapourSynth as Decoder?
craigpro
23rd October 2017, 23:07
new nvidia drivers out - let's hope that it was a bug in the previous version which prevented NVencC from working.. might download and test tonight when I get home.
EDIT: nope, still same error message from NVencC and it exits.
foxace
24th October 2017, 12:08
Hello,
how to convert 4k HDR movies with NVencC and preserve the HDR metadata ?
thanks for help me
sausuke
27th October 2017, 12:34
can I ask what can I do to fix this? I'm frameserving from Sony Vegas 15, I've tried the one it made, it works on MEGUI but want to use StaxRip? here's the screenshot thank you
https://i.imgur.com/y7mTgBc.png
Atak_Snajpera
27th October 2017, 12:56
Use DirectShowSource instead of AviSource
sausuke
27th October 2017, 13:04
Use DirectShowSource instead of AviSource
hello I've change the script to Directshowsource and here's the error
Failed to load script.
DirectShowSource: RenderFile, the filter graph manager won't talk to me
(E:\2Encoded Files\kljsfdlkjfsdljkfsdaljksfad_temp\kljsfdlkjfsdljkfsdaljksfad_source.avs, line 1)
I think I encounter this too with your Ripbot so I don't know how to fix this. Thank you for the reply
Atak_Snajpera
27th October 2017, 13:08
Yes I've noticed that too. I think that something is wrong with Frameserver plugin. It does not work in 64 bit environment (avisynth 64bit).
sausuke
27th October 2017, 13:19
Yes I've noticed that too. I think that something is wrong with Frameserver plugin. It does not work in 64 bit environment (avisynth 64bit).
oh now I finally get it, hence the people asking the author of frame server to release 64 bit version, I see. Thank you for the answer
Yanak
27th October 2017, 13:35
Debugmode frameserver output needs to be run under x86 avisynth, x64 won't work, however i bypass this by using MP_Pipepline and run a part of the script under x86 avisynth in Staxrip ( you loose a bit of speed most of the times but not that important to me ) :
- You need MP_Pipeline that can be found here : https://forum.doom9.org/showthread.php?p=1746479#post1746479
- Unzip it and put the content from the "64" folder into the avisynth plugin64+ folder, here :
"C:\Program Files\AviSynth+\plugins64+" You don't need the content from the "86 "folder, just what is inside the "64" into avisynth plugins64+ folder.
Then we need to create a custom source for the avi's of the frameserer :
- Right click on the "AVS filters" list here :
https://s14.postimg.org/yces41575/30363420171027142028cr.jpg
- On the contextual menu select '" Profiles"
- Under [Source] category copy and add this :
Vegas Frameserver Import =
MP_Pipeline("""
### platform: win32
AVISource("%source_file%", audio=false)
### ###
""")
Like here :
https://s14.postimg.org/xa4llheo1/23738920171027142237.png
The only thing you will then need is set source to manual in the filters list when you will use an input from vegas frameserver, select your source and on the popup list select "Vegas Frameserver Import".
https://s14.postimg.org/ehsqhwak1/31399820171027143304.png
You can also make a template using directly this source and save it, just need to switch to it before loading your source file, or if you always use the workflow passing by vegas and the frameserver you can set staxrip to start directly with this template.
Then add the rest of the filters and normal process in staxrip.
Edit : yeah many asked for a x64 codec output to the author of the frameserver, but seems like he abandoned the project sadly :/
sausuke
27th October 2017, 21:23
Debugmode frameserver output needs to be run under x86 avisynth, x64 won't work, however i bypass this by using MP_Pipepline and run a part of the script under x86 avisynth in Staxrip ( you loose a bit of speed most of the times but not that important to me ) :
- You need MP_Pipeline that can be found here : https://forum.doom9.org/showthread.php?p=1746479#post1746479
- Unzip it and put the content from the "64" folder into the avisynth plugin64+ folder, here :
"C:\Program Files\AviSynth+\plugins64+" You don't need the content from the "86 "folder, just what is inside the "64" into avisynth plugins64+ folder.
Then we need to create a custom source for the avi's of the frameserer :
- Right click on the "AVS filters" list here :
https://img4.hostingpics.net/pics/30363420171027142028cr.jpg
- On the contextual menu select '" Profiles"
- Under [Source] category copy and add this :
Vegas Frameserver Import =
MP_Pipeline("""
### platform: win32
AVISource("%source_file%", audio=false)
### ###
""")
Like here :
https://img4.hostingpics.net/pics/23738920171027142237.png
The only thing you will then need is set source to manual in the filters list when you will use an input from vegas frameserver, select your source and on the popup list select "Vegas Frameserver Import".
https://img4.hostingpics.net/pics/31399820171027143304.png
You can also make a template using directly this source and save it, just need to switch to it before loading your source file, or if you always use the workflow passing by vegas and the frameserver you can set staxrip to start directly with this template.
Then add the rest of the filters and normal process in staxrip.
Edit : yeah many asked for a x64 codec output to the author of the frameserver, but seems like he abandoned the project sadly :/
wow thank you, gonna test this up :D
EDIT:
It works :O thank you again
EDIT:
I have to say I'm impressed, 60 fps in rendering (medium preset) and using Threadripper 1950x 100% on default without using any script. Can I ask how to add avisynth script? thanks for the responses
Yanak
27th October 2017, 22:41
Glad to see you get it working ^^
You can add some filters already existing in staxrip with a right click on the filters list using the "+ Add" contextual menu.
You can also edit the filters and create your own ones with your own settings the same way you added this source filter for the frameserver, then add them easily to the projects you work with or create a template having you most commonly used filters.
It is also possible to create some kind of "dynamic" filters with input box , browse files and various choices, all this using various macros like i posted here some times ago when starting to experiment with this: http://forum.doom9.org/showthread.php?p=1804975#post1804975 ,
or also possible to use powershell scripting inside (http://forum.doom9.org/showthread.php?p=1821327#post1821327) staxrip to do a bit more complexes things,
or here recently when i made a script to create simple chapters while in staxrip preview mode : https://github.com/stax76/staxrip/issues/200#issuecomment-336909865
You should take a look at the documentation of staxrip : http://staxrip.readthedocs.io/index.html , this program allows a lot of customizations and i really love i for that.
Not sure what type of filter you are trying to add but if your post the script i'll try to explain how to add it into staxrip as a custom filter, keep in mind that staxrip is x64 , using x64 avisynth so avisynth plugins used must be x64, again it is possible to bypass this using MP_Pipeline most of the times but it gets more complex with a lot of x86 plugins ^^
PS: you can also load directly a .avs script as input directly into staxrip, or in the filters list use " Edit code " and directly insert parts of your script there ( and possible to save this as template then ) , but if it's things you will use regularly it's better to create custom filters for them in my opinion.
sausuke
28th October 2017, 05:41
Glad to see you get it working ^^
You can add some filters already existing in staxrip with a right click on the filters list using the "+ Add" contextual menu.
You can also edit the filters and create your own ones with your own settings the same way you added this source filter for the frameserver, then add them easily to the projects you work with or create a template having you most commonly used filters.
It is also possible to create some kind of "dynamic" filters with input box , browse files and various choices, all this using various macros like i posted here some times ago when starting to experiment with this: http://forum.doom9.org/showthread.php?p=1804975#post1804975 ,
or also possible to use powershell scripting inside (http://forum.doom9.org/showthread.php?p=1821327#post1821327) staxrip to do a bit more complexes things,
or here recently when i made a script to create simple chapters while in staxrip preview mode : https://github.com/stax76/staxrip/issues/200#issuecomment-336909865
You should take a look at the documentation of staxrip : http://staxrip.readthedocs.io/index.html , this program allows a lot of customizations and i really love i for that.
Not sure what type of filter you are trying to add but if your post the script i'll try to explain how to add it into staxrip as a custom filter, keep in mind that staxrip is x64 , using x64 avisynth so avisynth plugins used must be x64, again it is possible to bypass this using MP_Pipeline most of the times but it gets more complex with a lot of x86 plugins ^^
PS: you can also load directly a .avs script as input directly into staxrip, or in the filters list use " Edit code " and directly insert parts of your script there ( and possible to save this as template then ) , but if it's things you will use regularly it's better to create custom filters for them in my opinion.
I've tried to add on profile (ConvertToYV12(matrix="PC.709"), what do you think of this script? I added the Msharpen dunno if it's good in that order.
LoadPlugin("C:\Users\xxx\Desktop\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\avs\MSharpen\msharpen.dll")
MP_Pipeline("""
### platform: win32
AVISource("C:\FrameServer Files\lksdfjlksajflkas.avi", audio=false)
### ###
""")
ConvertToYV12(matrix="PC.709")
MSharpen(threshold = 10, strength = 100, highq = true, mask = false)
Prefetch(10)
Yeah this is much easier than MEGUI, can move up and down line in the script :D
Yanak
28th October 2017, 10:36
You can also edit and directly add the convert part inside the source filter you created:
Vegas Frameserver Import =
MP_Pipeline("""
### platform: win32
AVISource("%source_file%", audio=false)
ConvertToYV12(matrix="PC.709")
### ###
""")
The rest of the filters are already part of Staxrip native filters, if you want this scheme all the time just need to create a template ( needs to be done while no video is loaded on Staxrip )
- Set directly the source filter to Vegas Frameserver
- Add MSShapren, add Prefetch filters with your own edited settings
Then go to "Project >Save as Template" . Enter a name for your template, tick the box if you want Staxrip to start with this created template and done.
The next time it will start it will have all already set and ready, or you can switch to it easily going to templates list and selecting it, simple as this.
You can also create a simple custom filter for the convertto that you can access and add easily like this :
YV12(PC.709) = ConvertToYV12(matrix="PC.709")
Just need to add this code in the profiles editor, (like for the source custom one), but here it will be under another category, i mean do not add it under the [Source], those need to be separated, but most probably add it under [Misc] category.
Or you can also create your own custom category, name it like you want, ex "My Filters":
[My Filters]
YV12(PC.709) = ConvertToYV12(matrix="PC.709")
(I place mines at the very top of the profiles edit page to have easy access ^^ )
https://s14.postimg.org/vwcyq2zy9/44707320171028113933.png
When using "+ Add" a filter you will see this new category with all the custom filters you added there :
https://s14.postimg.org/9x6k2vqtt/74345620171028112432.png
If you use a lot of convertto stuff you can create a bit more complex custom filter in Staxrip, I put it on pastebin to not break forum layout with long line of code : https://pastebin.com/gyyUNPKb
Same as before, either paste this at the end of the [Misc] category for example or add it under your created [My Filters] new category.
When selecting this custom filter ( +Add > My Filters > Convert To ) a popup will come :
https://s14.postimg.org/dgshsp19d/55069020171028110937.png
Select and click on the desired option in this list and it gets added to the list of filters in the project
;)
RieGo
29th October 2017, 10:38
quick question, i didn't find an answer to this: is it currently possible to run 2 or more jobs in parallel? or do i need to manually start 2 instances of staxrip as a workaround?
thanks
edit: it works by starting two instances of staxrip.
but i found a small bug while experimenting with multi job processing (probably even with one instance)
-if you activate to remove temporary folders after job it sometimes doesn't work. this is because the temporary folders names are very likely to be the same, if the first chars of filenames are the same.
this results in a messagebox, which stops processing jobs until you cancel the folder deletion.
sausuke
29th October 2017, 22:22
You can also edit and directly add the convert part inside the source filter you created:
Vegas Frameserver Import =
MP_Pipeline("""
### platform: win32
AVISource("%source_file%", audio=false)
ConvertToYV12(matrix="PC.709")
### ###
""")
The rest of the filters are already part of Staxrip native filters, if you want this scheme all the time just need to create a template ( needs to be done while no video is loaded on Staxrip )
- Set directly the source filter to Vegas Frameserver
- Add MSShapren, add Prefetch filters with your own edited settings
Then go to "Project >Save as Template" . Enter a name for your template, tick the box if you want Staxrip to start with this created template and done.
The next time it will start it will have all already set and ready, or you can switch to it easily going to templates list and selecting it, simple as this.
You can also create a simple custom filter for the convertto that you can access and add easily like this :
YV12(PC.709) = ConvertToYV12(matrix="PC.709")
Just need to add this code in the profiles editor, (like for the source custom one), but here it will be under another category, i mean do not add it under the [Source], those need to be separated, but most probably add it under [Misc] category.
Or you can also create your own custom category, name it like you want, ex "My Filters":
(I place mines at the very top of the profiles edit page to have easy access ^^ )
https://img4.hostingpics.net/pics/44707320171028113933.png
When using "+ Add" a filter you will see this new category with all the custom filters you added there :
https://img4.hostingpics.net/pics/74345620171028112432.png
If you use a lot of convertto stuff you can create a bit more complex custom filter in Staxrip, I put it on pastebin to not break forum layout with long line of code : https://pastebin.com/gyyUNPKb
Same as before, either paste this at the end of the [Misc] category for example or add it under your created [My Filters] new category.
When selecting this custom filter ( +Add > My Filters > Convert To ) a popup will come :
https://img4.hostingpics.net/pics/55069020171028110937.png
Select and click on the desired option in this list and it gets added to the list of filters in the project
;)
Thank you so much for this, btw I experience slow down using Stax Rip too and I posted the fix I do in avisynth+ thread (This threadripper is so complicated xD). Thanks to this I trouble shoot where the problem is but the good thing though is I learned how to use this encoder with your help :D
dev84
1st November 2017, 00:40
Hi
I just got this error, it's converting so i don't know the end result.
Any one knows what it means?
--------------- Convert THD to FLAC 1 using ffmpeg 3.3.3 ---------------
E:\...\StaxRip\Apps\ffmpeg\ffmpeg.exe -i "D:\...English.thd" -y -hide_banner -ac 6 "D:\...English.flac"
Input #0, truehd, from 'D:\...English.thd':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit)
Stream mapping:
Stream #0:0 -> #0:0 (truehd (native) -> flac (native))
Press [q] to stop, [?] for help
Output #0, flac, to 'D:\...English.flac':
Metadata:
encoder : Lavf57.71.100
WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x3f
Stream #0:0: Audio: flac, 48000 Hz, 5.1, s32 (24 bit), 128 kb/s
Metadata:
encoder : Lavc57.89.100 flac
[out_0_0 @ 0000000000ecccc0] 100 buffers queued in out_0_0, something may be wrong.
Thx
dev
foxace
4th November 2017, 16:47
Hello,
how to convert 4k HDR movies with NVencC and preserve the HDR metadata ?
thanks for help me
Hello
Can someone help me please ?
thank
Yanak
5th November 2017, 12:33
Hello
Can someone help me please ?
thank
Hi, i don't have HDR sources nor the display needed for HDR and don't use Nvencc either but last test version of Staxrip added an option to keep HDR metaData :
new: option added to the options dialog on the video tab to import VUI metadata like HDR from the source file to the video encoder, this is applied when the source loads like before and since this build additionally everytime a video encoder profile is loaded
https://s14.postimg.org/fmruk65up/96726920171105122707.png
This 1.7.0.4 test version of Staxrip can be found here : https://github.com/stax76/staxrip/blob/master/changelog.md
Can't help more than this sorry :/
foxace
5th November 2017, 14:37
thanks for you answer, but this do not work on NvenCc.
Yanak
5th November 2017, 15:34
Arg :/
Not using HDR or having Nvidia GPU i could not even test, Stax is probably the only one that could answer this then, he did not login since a couple of weeks i think, hope he's fine tho.
IbrahimKh
9th November 2017, 03:44
how to enable this demux option on newest version?
https://s1.postimg.org/4edb7kr5zj/jjj.png (https://postimages.org/)
Yanak
9th November 2017, 19:34
Hi, Not sure if it's what you want but should be this, in Options :
https://s14.postimg.org/lmflo9tch/76565420171109193126.png
(tied to each templates so you will need to save the template after setting this option to be set for the next times too I think)
foxace
12th November 2017, 12:40
for the HDR with nvencc
https://github.com/SK-Hardwired/nv_hevc_hdr_patcher
this work very well
ircopdd
15th November 2017, 16:35
for the HDR with nvencc
https://github.com/SK-Hardwired/nv_hevc_hdr_patcher
this work very well
how to get HDR metadata?
foxace
15th November 2017, 17:54
with media info
ircopdd
17th November 2017, 10:31
with media info
MasteringDisplay_ColorPrimaries :
R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000
I do not know what to do
G(0.265000,0.690000) ???
sneaker_ger
17th November 2017, 13:27
You have to multiply with specific factors to get from one value to the other. You can find them in the x265 documentation along with an example:
http://x265.readthedocs.io/en/default/cli.html#cmdoption-master-display
0.265 / 0.00002 = 13250
0.69 / 0.00002 = 34500
BTW:
1.7.0.4 unstable test build
new: option added to the options dialog on the video tab to import VUI metadata like HDR from the source file to the video encoder, this is applied when the source loads like before and since this build additionally everytime a video encoder profile is loaded
https://github.com/stax76/staxrip/blob/master/changelog.md
ircopdd
18th November 2017, 03:50
You have to multiply with specific factors to get from one value to the other. You can find them in the x265 documentation along with an example:
http://x265.readthedocs.io/en/default/cli.html#cmdoption-master-display
0.265 / 0.00002 = 13250
0.69 / 0.00002 = 34500
BTW:
https://github.com/stax76/staxrip/blob/master/changelog.md
thanks you
but VUI metadata no work for nvenc
Magik Mark
18th November 2017, 10:33
Hi Stax!
Any update on HDR -> SDR conversion script?
Zetti
19th November 2017, 15:10
eac3to v3.33 is released.
MKVToolNix v18.0.0 is released.
Zetti
20th November 2017, 08:37
eac3to v3.34 is released.
Cyberavater
21st November 2017, 19:51
@stax76 Replace ur f3kdb plugin with this one
https://onedrive.live.com/?authkey=%21AJgT9vilE6ClKVU&cid=C1FACEB7B51DAE61&id=C1FACEB7B51DAE61%21417581&parId=root&action=locate
the one u added doesn't work check it if ya like.
Also Plz add FineDehalo filter I'm having problem adding it manually.
craigpro
22nd November 2017, 10:33
hi all, been offline for a while due to my chipset 1155 motherboard failing and couldn't afford a replacement for a while.. anyways - is there still the issue with the recent nvidia driver and nvencc encoding? If yes, which previous nvidia driver should I downgrade to please? thank you.
daberti
22nd November 2017, 12:43
I'm using StaxRip 1.7 and I'm investigating Intel H264 VBR encoding, with max size being assigned.
On the GUI appear Quality and Compressibility, both at 0, point is: how to run compressibility check?
TIA
JohnLai
23rd November 2017, 06:18
hi all, been offline for a while due to my chipset 1155 motherboard failing and couldn't afford a replacement for a while.. anyways - is there still the issue with the recent nvidia driver and nvencc encoding? If yes, which previous nvidia driver should I downgrade to please? thank you.
Pascal = weighted-P is not working with driver 387.92 and current 388.13
Get drivers older than 387.92 if you want weighted-P for HEVC encoding.
craigpro
24th November 2017, 07:04
Pascal = weighted-P is not working with driver 387.92 and current 388.13
Get drivers older than 387.92 if you want weighted-P for HEVC encoding.
thanks JohnLai! I'll try 385.69
from memory the weighted option resulted in a lot smaller file size but I've been without a PC for a month so I've forgotten what I was testing.
EDIT: yes 385.69 works fine. I'd need to do testing to see the file difference with the weighted-p option but from memory it was about 10%?
JohnLai
24th November 2017, 08:44
thanks JohnLai! I'll try 385.69
from memory the weighted option resulted in a lot smaller file size but I've been without a PC for a month so I've forgotten what I was testing.
Don't forget to enable adaptive quantization and lookahead too.
Another thing about NVENC Weight.P..........if you turn it on for H264 encoding, B-Frame will be disabled. Not a good idea.
Only enable W.P. for HEVC encoding because NVENC doesn't support B-Frame for HEVC.
Malphie
24th November 2017, 22:53
Hi,
this is a support thread for StaxRip, when I'm active it's OK to post bugs and feature requests here, sometimes I'm offline for weeks or even months, in that case it's better to use the github issue tracker to ensure things don't get lost.
The official website of StaxRip is on GitHub: https://github.com/stax76/staxrip
Are there any merge code for stax? Merge files option doesn't work for me.
ENiGMA59
25th November 2017, 02:35
Hi Stax76 help me please the solution ? thanx in advance :p
Error ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 (1.7.0.4)
ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 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: Fonction incorrecte.
------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 -------------
"C:\Program Files (x86)\Staxrip\Apps\ffmpeg\ffmpeg.exe" -i "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts" -c copy -map 0 -ignore_unknown -sn -y -hide_banner "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv"
[h264 @ 0000012b27e23c60] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000012b27e23c60] Increasing reorder buffer to 3
[mpegts @ 0000012b26636960] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0000012b26636960] start time for stream 5 is not set in estimate_timings_from_pts
Input #0, mpegts, from 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts':
Duration: 00:43:36.68, start: 0.280000, bitrate: 5062 kb/s
Program 2565
Stream #0:0[0x208]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 24.83 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x212](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2[0x213](qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:3[0x214](qad): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 96 kb/s
Stream #0:4[0x226](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream #0:5[0x227](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, matroska, to 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24.83 fps, 25 tbr, 1k tbn, 90k tbc
Stream #0:1(fra): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2(qaa): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:3(qad): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 96 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Press [q] to stop, [?] for help
[matroska @ 0000012b27e29c40] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 0000012b27e29c40] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
video:70kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
StaxRip.ErrorAbortException: ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 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: Fonction incorrecte.
------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 -------------
"C:\Program Files (x86)\Staxrip\Apps\ffmpeg\ffmpeg.exe" -i "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts" -c copy -map 0 -ignore_unknown -sn -y -hide_banner "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv"
[h264 @ 0000012b27e23c60] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000012b27e23c60] Increasing reorder buffer to 3
[mpegts @ 0000012b26636960] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0000012b26636960] start time for stream 5 is not set in estimate_timings_from_pts
Input #0, mpegts, from 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts':
Duration: 00:43:36.68, start: 0.280000, bitrate: 5062 kb/s
Program 2565
Stream #0:0[0x208]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 24.83 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x212](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2[0x213](qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:3[0x214](qad): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 96 kb/s
Stream #0:4[0x226](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream #0:5[0x227](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, matroska, to 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24.83 fps, 25 tbr, 1k tbn, 90k tbc
Stream #0:1(fra): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2(qaa): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:3(qad): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 96 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Press [q] to stop, [?] for help
[matroska @ 0000012b27e29c40] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 0000012b27e29c40] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
video:70kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
à StaxRip.Proc.Start() dans D:\Projekte\VS\VB\StaxRip\General\Proc.vb:ligne 338
à StaxRip.CommandLineDemuxer.Run(Project proj) dans D:\Projekte\VS\VB\StaxRip\General\Demux.vb:ligne 207
à StaxRip.MainForm.Demux() dans D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:ligne 3114
à StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) dans D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:ligne 1977
craigpro
26th November 2017, 12:55
Don't forget to enable adaptive quantization and lookahead too.
Another thing about NVENC Weight.P..........if you turn it on for H264 encoding, B-Frame will be disabled. Not a good idea.
Only enable W.P. for HEVC encoding because NVENC doesn't support B-Frame for HEVC.
yeah I'm encoding with HEVC - I did some testing and with AQ enabled the file size was between 5-10% larger than AQ disabled.
WP is enabled and my command line is like this:
--cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --transfer auto
sneaker_ger
26th November 2017, 13:40
yeah I'm encoding with HEVC - I did some testing and with AQ enabled the file size was between 5-10% larger than AQ disabled.
That doesn't really tell you much. File size might can be 5%-10% bigger but quality may be 10%-15% better (or not). You need to compare same file size with your eyes.
JohnLai
26th November 2017, 15:06
yeah I'm encoding with HEVC - I did some testing and with AQ enabled the file size was between 5-10% larger than AQ disabled.
WP is enabled and my command line is like this:
--cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --transfer auto
Just enable AQ, the quality improvement and extra file size is worth it.
I noticed you use CQP mode, why not pseudo CRF mode? (It is VBR-Target Quality mode, but I have difficulty in explaining it)
Take a look on the setting here
https://i.imgur.com/k9Shlwr.png
You will notice there is less "banding" or blockiness on scene with dark background compared to CQP mode.
Trust me on this. :D or.....test it yourself.
Edit: Because many people complained about weight-p being broken with latest nvidia driver........rigaya@nvencc developer decided to disable weightp option temporary. https://github.com/rigaya/NVEnc/releases/tag/3.25 Thus...stick with version 3.24........
craigpro
26th November 2017, 16:03
Just enable AQ, the quality improvement and extra file size is worth it.
I noticed you use CQP mode, why not pseudo CRF mode? (It is VBR-Target Quality mode, but I have difficulty in explaining it)
Take a look on the setting here
https://i.imgur.com/k9Shlwr.png
You will notice there is less "banding" or blockiness on scene with dark background compared to CQP mode.
Trust me on this. :D or.....test it yourself.
Edit: Because many people complained about weight-p being broken with latest nvidia driver........rigaya@nvencc developer decided to disable weightp option temporary. https://github.com/rigaya/NVEnc/releases/tag/3.25 Thus...stick with version 3.24........
will give your suggested settings a try, I use the staxrip compare function - save a few frames from the same timeframe in source and output file, then do a direct pixel comparison between the two to see how much noise / error / garbage is in the output file.
I'm re-encoding my NAS x264 collection anyways, purpose was to maintain similar 720p quality for much smaller file size.
yes, I know. I am the devil.
EDIT: cannot try your settings as I get an error when processing:
NVEncC64.exe --vbr 24329 --codec h265 --preset quality --level 4.1 --output-depth 10 --weightp --lookahead 32 --max-bitrate 24329 --vbr-quality 27 --aq --sar 255:191 --transfer auto -i "Block.mkv" -o "Block_out.h265"
Failed to Initialize the encoder
.: 8 (NVENC indicates that one or more of the parameter passed to the API call is invalid.)
Malphie
27th November 2017, 20:25
guys i want to merge 2 videos but merge files option doesn't work, it gives error. are there any merge code?
JohnLai
28th November 2017, 03:46
EDIT: cannot try your settings as I get an error when processing:
NVEncC64.exe --vbr 24329 --codec h265 --preset quality --level 4.1 --output-depth 10 --weightp --lookahead 32 --max-bitrate 24329 --vbr-quality 27 --aq --sar 255:191 --transfer auto -i "Block.mkv" -o "Block_out.h265"
Failed to Initialize the encoder
.: 8 (NVENC indicates that one or more of the parameter passed to the API call is invalid.)
Hmm? You didn't follow the settings exactly.
-.- Where is Initial QP = 1 ? (This one is mandatory as we don't dont want set min QP contraint at default 20)
Nvencc max bitrate for L4.1 is 17500kbps.
For L5.1, max bitrate is 38400kbps
EDIT: You should get something like below. Let us modify it a bit to L5.1 as per BD-ROM-AV-WhitePaper_HEVC.
NVEncC64.exe --vbr 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 27 --aq --sar 12:11 -i -o %source_dir%%source_name%_temp\_out.h265
craigpro
29th November 2017, 13:11
Hmm? You didn't follow the settings exactly.
EDIT: You should get something like below. Let us modify it a bit to L5.1 as per BD-ROM-AV-WhitePaper_HEVC.
NVEncC64.exe --vbr 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 27 --aq --sar 12:11 -i -o %source_dir%%source_name%_temp\_out.h265
Many thanks JohnLai!! I haven't had time to conduct in-depth tests as yet but your settings result in about another 10% file size saving over my settings.
Both your and my settings however result in a slight loss of red, particularly noticeable in skin tones WITH static images side by side for comparison. I doubt very much it'd be noticed on a tv watching the show.. at worst the video may look a little ''cool''.
I'm hoping to have time this weekend to do some frame by frame comparisons (staxrip video comparison tool is awesome!) and report back.
JohnLai
29th November 2017, 14:56
Many thanks JohnLai!! I haven't had time to conduct in-depth tests as yet but your settings result in about another 10% file size saving over my settings.
Both your and my settings however result in a slight loss of red, particularly noticeable in skin tones WITH static images side by side for comparison. I doubt very much it'd be noticed on a tv watching the show.. at worst the video may look a little ''cool''.
I'm hoping to have time this weekend to do some frame by frame comparisons (staxrip video comparison tool is awesome!) and report back.
Chroma subsampling issue ~.~
Generation loss = can't do much about this.
EDIT: Consider using "--profile main444" to minimize chroma subsampling generation loss. But your output file size gonna...be a trouble....~.~
EDIT2: You can read more about it at https://cloudinary.com/blog/why_jpeg_is_like_a_photocopier
Crash82
29th November 2017, 21:22
I need some help I've been searching but I'm not sure exactly what I'm looking for or if it's even possible to do, so i hope there is some smart people here who can help me:)
What I'm trying to do is when i'm muxing I want to have a name on
the audio track with the type of audio it is and channels has and what language it is so I know which one is what.
Normally I see it like this http://prntscr.com/hgypb8
But I wanted more like this
Example
TrueHD 5.1 [Language]
DTS-HD MA 6.1 [Language]
DTS 5.1 [Language]
AC3 2.0 [Language]
and so on
I want to hear if this possible to do it automatically instead of typing it manually
if it is possible how do I do it.
Any help is appreciated
hajj_3
30th November 2017, 09:39
x265 v2.6 is out.
VincAlastor
4th December 2017, 12:06
By setting DGSourceNV as Source and hardware cropping filter staxrip's auto crop borders feature uses the wrong values when source is codes in 1088p but displayed in 1080p. This also deactivates the forcing output mod 4 rule for DGDecNV.
How can I fix this? :thanks:
Marban
4th December 2017, 23:11
HDR to SDR is very bad, something make it wrong.
http://fs5.directupload.net/images/171204/gyfvj6r7.jpg (http://www.directupload.net)
is it right?
sneaker_ger
4th December 2017, 23:17
Those options do not convert HDR to SDR. They only tell x264 what flags to set in the bitstream (players read the flags in order to know how to interpret/display the content). The HDR->SDR conversion has to be done in VapourSynth/AviSynth.
Marban
5th December 2017, 00:52
ok, thanks.
How does it work with VapourSynth/AviSynth?
Vesdaris
6th December 2017, 08:04
Hey guys. What settings would you recommend using for nvenc hevc for max quality? There are so many and when I try to experiment (like enabling deband, for instance) I usually get errors ;)
So I was wondering if someone would be kind enough to post them .
I've got gtx 1060.
Thanx in advance
PS Should I use these?
https://imgur.com/k9Shlwr
Should I select VBR HQ instead of VBR? What about cabac?
PPS It seems --weightp is still broken in the latest nvidia drivers ;( It makes my encoding process stop at random %
craigpro
6th December 2017, 13:39
Hey guys. What settings would you recommend using for nvenc hevc for max quality?
PS Should I use these?
https://imgur.com/k9Shlwr
Should I select VBR HQ instead of VBR? What about cabac?
PPS It seems --weightp is still broken in the latest nvidia drivers ;( It makes my encoding process stop at random %
I'm using JohnLai's settings and I needed to downgrade my nvidia drivers to version 385.69 for -weightp option to work. I also have a GTX 1060 6GB GPU (intel I5-2500K CPU).
JohnLai
6th December 2017, 13:58
Hey guys. What settings would you recommend using for nvenc hevc for max quality? There are so many and when I try to experiment (like enabling deband, for instance) I usually get errors ;)
So I was wondering if someone would be kind enough to post them .
I've got gtx 1060.
Thanx in advance
PS Should I use these?
https://imgur.com/k9Shlwr
Should I select VBR HQ instead of VBR? What about cabac?
PPS It seems --weightp is still broken in the latest nvidia drivers ;( It makes my encoding process stop at random %
Dont select VBR HQ with the CQ mode setting, otherwise, you will get full 17500kbps or 38400kbps all the way and ended up with huge file size.
CQ mode only work with standard VBR.
edit: CABAC is the only entropy encoder method that is allowed in HEVC per standard. What with the question? For H264 encoding, nvenc will use CABAC as default
Vesdaris
7th December 2017, 09:16
Dont select VBR HQ with the CQ mode setting, otherwise, you will get full 17500kbps or 38400kbps all the way and ended up with huge file size.
CQ mode only work with standard VBR.
I use the settings like on the image I posted above (found it in this thread), only with VBR HQ instead of VBR and so far it's been working fine.No huge files\bitrates.
davidm71
9th December 2017, 23:34
Using Staxrip and NVenc and it says my Video Engine is at 97% load on my GTX 1060 but my fans aren't spinning on my video card! Is this normal??
Max temps in the low 60's. Also like the last few you asked what are your 2500 bps quality settings? Staxrip doesn't have a 2-pass mode?
Thanks
gonca
10th December 2017, 00:51
Trying to process a 10 bit video with StaxRip and getting an error
I'm sure its just user caused, so if someone can point out my error it would be appreciated.
Error
avs: invalid colorformat.
Failed to open input file.
AVS script
LoadPlugin("C:\Program Files (Portable)\dgdecnv\x64 Binaries\DGDecodeNV.dll")
DGSource("I:\xxxxx.dgi", fieldop=0, fulldepth=true)
CMD line
"C:\Program Files (Portable)\StaxRip\Apps\NVEnc\NVEncC64.exe" --vbrhq 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --gop-len 24 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 25 --aq --cuda-schedule auto --colormatrix bt2020nc --colorprim bt2020 --transfer bt2020-10 --mv-precision q-pel --cabac -i -o W:\TEMP\%source_name%_temp\_out.h265
Thank you
craigpro
10th December 2017, 04:29
nvidia drivers 388.13 still have API error with nvencc
JohnLai
10th December 2017, 05:14
I use the settings like on the image I posted above (found it in this thread), only with VBR HQ instead of VBR and so far it's been working fine.No huge files\bitrates.
I got a feeling that your Initial QP ain't set to 1.........
Using Staxrip and NVenc and it says my Video Engine is at 97% load on my GTX 1060 but my fans aren't spinning on my video card! Is this normal??
Max temps in the low 60's. Also like the last few you asked what are your 2500 bps quality settings? Staxrip doesn't have a 2-pass mode?
Thanks
=.= Let just say NVENCC two pass isn't what you think it is........
MSI GTX 1060? I read it only start to spin the fan once it reach 62'C. There is one manufacturer who set the fan to spin at 65'C too, but I can't remember which. To be sure, try manually adjust the fan speed to verify if it is fan hardware issue. Can't discount the possibility.
Because nvenc chip (pascal) doesn't support B-Frame, depending on resolution/framerate/scene, 2500kbps might be a bad or good idea.....
2500kbps with DVD resolution is fine.
720p 30fps is still acceptable.
1080p 30fps with 2500kbps? Unless it is animation or the content has a lot of static scene......don't bother.
General rule: Follow https://support.google.com/youtube/answer/1722171?hl=en youtube bitrate recommendation, but with a bit twist. Youtube bitrate recommendation is for H264. Since you are using HEVC, well, divide those values by 2? However, since Nvenc chip doesn't support b-frame, so....better set 60-70% of youtube recommended bitrates/resolution/framerate.
nvidia drivers 388.13 still have API error with nvencc
Yup...didn't I type that version in the screenshot? As far as nvidia concerned, it is fixed in their bug report database. I kinda lazy to report/inform the issue still exists. Anyone wanna inform nvidia instead?
impei
10th December 2017, 09:47
=.= Let just say NVENCC two pass isn't what you think it is........
How is it different than x264 two pass?
JohnLai
10th December 2017, 11:13
How is it different than x264 two pass?
Copy paste from afterdawn and Nvidia documentation
x265/x264 multi-pass
The video encoder analyzes the video many times from the beginning to the end before the actual encoding process.
Nvenc
In 2-pass rate control modes, NVENC estimates the complexity of the frame to be encoded and determines bit distribution across the frame in the first pass. In the second pass, NVENC actually encodes macroblocks in the frame using the distribution determined in the first pass.
NikosD
10th December 2017, 13:01
Using Staxrip and NVenc and it says my Video Engine is at 97% load on my GTX 1060 but my fans aren't spinning on my video card! Is this normal??
Max temps in the low 60's.
The video engine chip inside the GPU, is a very small piece of hardware compared to the whole GPU chip.
So, even after using that chip to 100% for hours, don't expect to push GPU Temps high enough to trigger the spinning of fans, especially in winter and inside a cool case.
The behavior of your card is normal.
videoh
12th December 2017, 14:57
Trying to process a 10 bit video with StaxRip and getting an error I'm sure its just user caused, so if someone can point out my error it would be appreciated.
Error:
avs: invalid colorformat.
Failed to open input file.
NVEncC supports only 8 bit for AVS input. If you must use DGSource then you can use VPY input.
Also, it would be worth asking Rigaya if he can support full depth for AVS input.
gonca
12th December 2017, 22:51
NVEncC supports only 8 bit for AVS input. If you must use DGSource then you can use VPY input.
Also, it would be worth asking Rigaya if he can support full depth for AVS input.
Yes, I must use DGSource
thomy21
13th December 2017, 07:56
I got this error message. Can anyone tell me what the problem is?
------------------ Error Muxing using mkvmerge 17.0.0 ------------------
Muxing using mkvmerge 17.0.0 failed with exit code: 2 (0x2)
The exit code might be a system error code: STATUS_WAIT_2
The exit code might be a system error code: Das System kann die angegebene Datei nicht finden.
The file could not be opened for reading, or there was not enough data to parse its headers.
--------------------- Muxing using mkvmerge 17.0.0 ---------------------
The file could not be opened for reading, or there was not enough data to parse its headers.
Zetti
13th December 2017, 16:29
FFmpeg v3.4.1 is released.
Pulp Catalyst
14th December 2017, 19:00
Hello,
preview not working in latest version, i'm running vapoursynth mode.
"Resize error: Resize error 3074: unrecognized transfer characteristics (1/5/5 => 0/5/5). May need to specify additional colorspace parameters."
without previewing working, can't do manual crop!!
grich99
15th December 2017, 10:22
Hello StaxRip,
Thank you for a wonderful program!0
I found a bug with 1.7.0.0
- For encoding using AMD VCEenc H.265, if I select .MP4 box as the output container, the file generated cannot be played. .MKV container works fine with H.265
Feature request:
Is it possible to stamp onto the encoded file the same Date and Time as the original file? It would save a lot of time for archiving purposes!
hajj_3
15th December 2017, 15:06
XviD 1.3.5 has been released.
grich99
15th December 2017, 20:49
The video engine chip inside the GPU, is a very small piece of hardware compared to the whole GPU chip.
So, even after using that chip to 100% for hours, don't expect to push GPU Temps high enough to trigger the spinning of fans, especially in winter and inside a cool case.
The behavior of your card is normal.
Yep, and the fun thing is that you can literally encode HEVC files while playing a game and suffer no slow downs for encoding or game playing!
Vesdaris
17th December 2017, 07:55
I got a feeling that your Initial QP ain't set to 1.........
Ah, but it is set to 1.
Micheal813
21st December 2017, 10:33
This is what I get trying Avisynth+ new "mClean" on any suitable SourceFilter/ or any encoder.
https://thumbs.imgbox.com/05/66/NMiWjaSt_t.png (http://imgbox.com/NMiWjaSt)
All other new scripts (Finesharp,etc.) are doing fine
I'm having the same issue with the latest stable x64 and test build x64 on Windows 10 64 bit. All other filters work fine. It's when I add mclean (either by itself or with others) that I get the same error message.
Error Video encoding using x264 0.150.2851 8-Bit (1.7.0.0)
Video encoding using x264 0.150.2851 8-Bit 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 x264 0.150.2851 8-Bit --------------
F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\x264\x264.exe --crf 20 --output F:\Capture\Testing_temp\Testing_out.h264 F:\Capture\Testing_temp\Testing.avs
StaxRip.ErrorAbortException: Video encoding using x264 0.150.2851 8-Bit 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 x264 0.150.2851 8-Bit --------------
F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\x264\x264.exe --crf 20 --output F:\Capture\Testing_temp\Testing_out.h264 F:\Capture\Testing_temp\Testing.avs
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 338
at StaxRip.x264Enc.Encode(String passName, String commandLine, ProcessPriorityClass priority) in D:\Projekte\VS\VB\StaxRip\Encoding\x264Enc.vb:line 69
at StaxRip.x264Enc.Encode() in D:\Projekte\VS\VB\StaxRip\Encoding\x264Enc.vb:line 41
at StaxRip.GlobalClass.ProcessVideo() in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 225
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob(String jobPath) in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 137
Khun_Doug
21st December 2017, 15:22
I've seen instances where the order of the filters can cause faults. In particular, I had to be mindful of where the cropping filter was, and also any resizing filter. You can try to temporarily disable any cropping or resizing if you are using them, and set a small 1 or 2 minute clip, and then see if the error goes away. If so, then the fix would be as simple as rearranging your filters.
Also, the latest beta build may resolve your problem. I know mClean is currently at revision 2.0 and I am sure that StaxRip 1.7.0.0 is not up to that revision. Since you specifically want to use mClean then going to 1.7.0.4 will be a boost. I'm using 1.7.0.3 but copied in the updated mClean AVSI file to get the latest filter. The filter works great!
Micheal813
21st December 2017, 20:54
I've seen instances where the order of the filters can cause faults. In particular, I had to be mindful of where the cropping filter was, and also any resizing filter. You can try to temporarily disable any cropping or resizing if you are using them, and set a small 1 or 2 minute clip, and then see if the error goes away. If so, then the fix would be as simple as rearranging your filters.
Also, the latest beta build may resolve your problem. I know mClean is currently at revision 2.0 and I am sure that StaxRip 1.7.0.0 is not up to that revision. Since you specifically want to use mClean then going to 1.7.0.4 will be a boost. I'm using 1.7.0.3 but copied in the updated mClean AVSI file to get the latest filter. The filter works great!
It's not a filter order problem. It happens when mClean is the only filter. I tried 1.7.0.3 and got some other error. I'll do some more testing in a bit.
Micheal813
21st December 2017, 22:39
I've tried over and over. Nothing I do is working. Same error anytime mClean is added. All other filters work fine.
-------------------------- System Environment --------------------------
StaxRip : 1.7.0.0
Windows : Windows 10 Home 1709
Language : English (United States)
CPU : AMD Athlon(tm) II X2 215 Processor
GPU : NVIDIA GeForce 6150SE nForce 430
Resolution : 1920 x 1080
DPI : 96
------------------------ MediaInfo Source File ------------------------
F:\Capture\Testing.avi
General
Complete name : F:\Capture\Testing.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 394 MiB
Duration : 1 min 1 s
Overall bit rate : 53.8 Mb/s
Writing library : VirtualDub build 40717/release
Video
ID : 0
Format : Lagarith
Codec ID : LAGS
Duration : 1 min 1 s
Bit rate : 52.3 Mb/s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Bits/(Pixel*Frame) : 5.678
Stream size : 383 MiB (97%)
Audio
ID : 1
Format : PCM
Format settings : Little / Signed
Format, Endianness : Little
Format, Sign : Signed
Codec ID : 1
Duration : 1 min 1 s
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 11.3 MiB (3%)
Alignment : Aligned on interleaves
Interleave, duration : 34 ms (1.01 video frame)
Interleave, preload duration : 500 ms
----------------------- Indexing using ffmsindex -----------------------
F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\both\ffms2\ffmsindex.exe F:\Capture\Testing.avi F:\Capture\Testing_temp\Testing.ffindex
Writing index... done.
Start: 4:35:48 PM
End: 4:35:51 PM
Duration: 00:00:02
--------------------------- AviSynth Script ---------------------------
LoadPlugin("F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\avs\DCTFilter\DCTFilter.dll")
LoadPlugin("F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\avs\FFT3DFilter\fft3dfilter.dll")
LoadPlugin("F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\avs\masktools2\masktools2.dll")
LoadPlugin("F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\avs\modPlus\modPlus.dll")
LoadPlugin("F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\avs\mvtools2\mvtools2.dll")
LoadPlugin("F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\avs\RgTools\RgTools.dll")
LoadPlugin("F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\both\ffms2\ffms2.dll")
Import("F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\Plugins\avs\mClean\mClean.avsi")
FFVideoSource("F:\Capture\Testing.avi", colorspace = "YV12", \
cachefile = "F:\Capture\Testing_temp\Testing.ffindex")
ConvertToYV12()
mClean()
-------------------------- Script Properties --------------------------
Source Frame Count : 1842
Source Frame Rate : 29.970030
Source Duration : 00:01:01.4610000
Target Frame Count : 1842
Target Frame Rate : 29.970030
Target Duration : 00:01:01.4610000
----------- Error Video encoding using x264 0.150.2851 8-Bit -----------
Video encoding using x264 0.150.2851 8-Bit 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 x264 0.150.2851 8-Bit --------------
F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\x264\x264.exe --crf 20 --output F:\Capture\Testing_temp\Testing_out.h264 F:\Capture\Testing_temp\Testing.avs
-------------- Video encoding using x264 0.150.2851 8-Bit --------------
F:\Programs\StaxRip-x64-1.7.0.0-stable\Apps\x264\x264.exe --crf 20 --output F:\Capture\Testing_temp\Testing_out.h264 F:\Capture\Testing_temp\Testing.avs
Start: 4:36:19 PM
End: 4:36:28 PM
Duration: 00:00:09
Micheal813
22nd December 2017, 07:07
I'm also getting an error when trying to use the latest QTGMC on Windows 10. Both with the stable build and test build.
"Cannot load file .....\KNLMeansCL.dll" Platform returned code 127. The specified procedure could not be found."
Is there some way to fix? If not, is there some way to stop a plugin from trying to load? I only use the default preset for QTGMC and don't think I need KNLMeansCL.
Groucho2004
22nd December 2017, 09:38
@Micheal813
Run "AVSMeter64 -avsinfo".
Groucho2004
22nd December 2017, 09:43
Remove the "yadifmod2_avx2.dll" and see if it works. If not, run your script with AVSMeter.
Micheal813
22nd December 2017, 09:51
Remove the "yadifmod2_avx2.dll" and see if it works. If not, run your script with AVSMeter.
AVSMeter 2.6.6 (x64) - Copyright (c) 2012-2017, Groucho2004
VersionString: AviSynth+ 0.1 (r2544, MT, x86_64)
VersionNumber: 2.60
File / Product version: 0.1.0.0 / 0.1.0.0
Interface Version: 6
Multi-threading support: Yes
Avisynth.dll location: C:\Windows\SYSTEM32\avisynth.dll
Avisynth.dll time stamp: 2017-11-15, 22:16:02 (UTC)
PluginDir2_5 (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64
PluginDir+ (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64+
[CPP 2.5 / 64 Bit Plugins]
C:\Program Files (x86)\AviSynth+\plugins64\AddGrainC.dll [1.7.1.0]
C:\Program Files (x86)\AviSynth+\plugins64\dfttest.dll [1.9.4.0]
C:\Program Files (x86)\AviSynth+\plugins64\TDeinterlace.dll [1.1.0.0]
[CPP 2.6 / 64 Bit Plugins]
C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll
C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll
C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll
C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll
C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll
C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll
C:\Program Files (x86)\AviSynth+\plugins64\DCTFilter.dll [0.5.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\DePan.dll [2.13.1.3]
C:\Program Files (x86)\AviSynth+\plugins64\DePanEstimate.dll [2.10.0.2]
C:\Program Files (x86)\AviSynth+\plugins64\EEDI2.dll [0.9.2.0]
C:\Program Files (x86)\AviSynth+\plugins64\eedi3.dll [0.9.2.1]
C:\Program Files (x86)\AviSynth+\plugins64\fft3dfilter.dll [2.4.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\masktools2.dll [2.2.10.0]
C:\Program Files (x86)\AviSynth+\plugins64\mvtools2.dll [2.7.24.0]
C:\Program Files (x86)\AviSynth+\plugins64\nnedi3.dll [0.9.4.48]
C:\Program Files (x86)\AviSynth+\plugins64\PlanarTools.dll
C:\Program Files (x86)\AviSynth+\plugins64\RgTools.dll [0.96.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2.dll
C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2_avx2.dll
[Scripts / AVSI]
C:\Program Files (x86)\AviSynth+\plugins64\AnimeIVTC.avsi
C:\Program Files (x86)\AviSynth+\plugins64\mClean.avsi
C:\Program Files (x86)\AviSynth+\plugins64\QTGMC.avsi
C:\Program Files (x86)\AviSynth+\plugins64\SMDegrain.avsi
AVSMeter 2.6.6 (x64) - Copyright (c) 2012-2017, Groucho2004
AviSynth+ 0.1 (r2544, MT, x86_64) (0.1.0.0)
Cannot load file 'F:/Programs/StaxRip-x64-1.7.0.4-test/Apps/Plugins/both/KNLMeansCL/KNLMeansCL.dll'. Platform returned code 127:
The specified procedure could not be found.
(F:\Capture\Testing_temp\Testing.avs, line 5)
Groucho2004
22nd December 2017, 10:05
"NVIDIA GeForce 6150SE nForce 430". I don't think this card supports OpenCL at all. Remove KNLMeansCL and try again.
Micheal813
22nd December 2017, 10:12
"NVIDIA GeForce 6150SE nForce 430". I don't think this card supports OpenCL at all. Remove KNLMeansCL and try again.
If I delete KNLMeansCL and try to load a video, the apps window opens wanting me to find the KNLMeans.dll. If I close the window, it will not load the video. Is there a way to stop it from trying to load KNLMeans after it is deleted?
Groucho2004
22nd December 2017, 10:17
If I delete KNLMeansCL and try to load a video, the apps window opens wanting me to find the KNLMeans.dll. If I close the window, it will not load the video. Is there a way to stop it from trying to load KNLMeans after it is deleted?No idea. You'll have to ask the author or maybe one of the users knows.
Micheal813
22nd December 2017, 10:24
No idea. You'll have to ask the author or maybe one of the users knows.
OK. Thanks for the help.
Groucho2004
22nd December 2017, 10:30
OK. Thanks for the help.You could try replacing KNLMeansCL with a dummy. I'll post one in a minute.
Groucho2004
22nd December 2017, 10:35
Here (https://www.dropbox.com/s/lth1f2rddn8bzyh/KNLMeansCL.7z?dl=1) you go.
Micheal813
22nd December 2017, 10:48
Here (https://www.dropbox.com/s/lth1f2rddn8bzyh/KNLMeansCL.7z?dl=1) you go.
QTGMC now works. Thanks for your time. Now if I could just get mClean to work.
Groucho2004
22nd December 2017, 10:58
QTGMC now works. Thanks for your time. Now if I could just get mClean to work.What's the problem there? Did you run it with AVSMeter?
Micheal813
22nd December 2017, 11:08
What's the problem there? Did you run it with AVSMeter?
https://forum.doom9.org/showpost.php?p=1827997&postcount=2761
When I run it with AVSMETER:
AVSMeter 2.6.6 (x64) - Copyright (c) 2012-2017, Groucho2004
AviSynth+ 0.1 (r2544, MT, x86_64) (0.1.0.0)
Exception 0xC000001D [STATUS_ILLEGAL_INSTRUCTION]
Module: C:\Windows\SYSTEM32\avisynth.DLL
Address: 0x00007FFA2B51FB6E
Groucho2004
22nd December 2017, 11:44
https://forum.doom9.org/showpost.php?p=1827997&postcount=2761
When I run it with AVSMETER:
AVSMeter 2.6.6 (x64) - Copyright (c) 2012-2017, Groucho2004
AviSynth+ 0.1 (r2544, MT, x86_64) (0.1.0.0)
Exception 0xC000001D [STATUS_ILLEGAL_INSTRUCTION]
Module: C:\Windows\SYSTEM32\avisynth.DLL
Address: 0x00007FFA2B51FB6E
Hm, I'm pretty sure it's one the plugins even though the exception occurs in avisynth.dll. Remove all the ones you don't need for this script and try again with AVSMeter. Possible candidates:
nnedi3.dll [0.9.4.48]
yadifmod2_avx2.dll
Micheal813
22nd December 2017, 11:53
Hm, I'm pretty sure it's one the plugins even though the exception occurs in avisynth.dll. Remove all the ones you don't need for this script and try again with AVSMeter. Possible candidates:
nnedi3.dll [0.9.4.48]
yadifmod2_avx2.dll
Same thing with those removed. I even deleted all the filters except those required for mClean.
AVSMeter 2.6.6 (x64) - Copyright (c) 2012-2017, Groucho2004
AviSynth+ 0.1 (r2544, MT, x86_64) (0.1.0.0)
Exception 0xC000001D [STATUS_ILLEGAL_INSTRUCTION]
Module: C:\Windows\SYSTEM32\avisynth.DLL
Address: 0x00007FFA2B51FB6E
Groucho2004
22nd December 2017, 12:00
Same thing with those removed. I even deleted all the filters except those required for mClean.
AVSMeter 2.6.6 (x64) - Copyright (c) 2012-2017, Groucho2004
AviSynth+ 0.1 (r2544, MT, x86_64) (0.1.0.0)
Exception 0xC000001D [STATUS_ILLEGAL_INSTRUCTION]
Module: C:\Windows\SYSTEM32\avisynth.DLL
Address: 0x00007FFA2B51FB6EWell, consider me stumped. :D
At this point I don't know what else to suggest except to remove all unnecessary filters.
Micheal813
22nd December 2017, 12:06
Well, consider me stumped. :D
At this point I don't know what else to suggest except to remove all unnecessary filters.
Already tried that. :confused:
pinterf
22nd December 2017, 12:15
What instruction set is Athlon missing? In an earlier mvtools there was a bug when sse4 was used w/o checking, but that issue was fixed already.
Groucho2004
22nd December 2017, 12:17
Already tried that. :confused:Let's try to exclude the source and source filter. Try this simple script with AVSMeter:
colorbars(width = 1920, height = 1080, pixel_type = "yv12").killaudio().assumefps(50, 1).trim(0, 499)
mclean()
Groucho2004
22nd December 2017, 12:19
Already tried that. :confused:I assume you physically removed the plugins, not just removed the "LoadPlugin()" lines, right?
Groucho2004
22nd December 2017, 12:26
What instruction set is Athlon missing? In an earlier mvtools there was a bug when sse4 was used w/o checking, but that issue was fixed already.Posting the full log created with "-avsinfo" would clear that up...
Micheal813
22nd December 2017, 12:36
Let's try to exclude the source and source filter. Try this simple script with AVSMeter:
colorbars(width = 1920, height = 1080, pixel_type = "yv12").killaudio().assumefps(50, 1).trim(0, 499)
mclean()
Didn't work.
Micheal813
22nd December 2017, 12:36
I assume you physically removed the plugins, not just removed the "LoadPlugin()" lines, right?
Correct
Micheal813
22nd December 2017, 12:42
Posting the full log created with "-avsinfo" would clear that up...
This is everything that comes up when I go to APPS and then AVSMETER
AVSMeter 2.6.6 (x64) - Copyright (c) 2012-2017, Groucho2004
VersionString: AviSynth+ 0.1 (r2574, MT, x86_64)
VersionNumber: 2.60
File / Product version: 0.1.0.0 / 0.1.0.0
Interface Version: 6
Multi-threading support: Yes
Avisynth.dll location: C:\Windows\SYSTEM32\avisynth.dll
Avisynth.dll time stamp: 2017-12-19, 22:16:28 (UTC)
PluginDir2_5 (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64
PluginDir+ (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64+
[CPP 2.5 / 64 Bit Plugins]
C:\Program Files (x86)\AviSynth+\plugins64\AddGrainC.dll [1.7.1.0]
C:\Program Files (x86)\AviSynth+\plugins64\dfttest.dll [1.9.4.0]
C:\Program Files (x86)\AviSynth+\plugins64\TDeinterlace.dll [1.1.0.0]
[CPP 2.6 / 64 Bit Plugins]
C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll
C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll
C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll
C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll
C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll
C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll
C:\Program Files (x86)\AviSynth+\plugins64\DCTFilter.dll [0.5.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\DePan.dll [2.13.1.3]
C:\Program Files (x86)\AviSynth+\plugins64\DePanEstimate.dll [2.10.0.2]
C:\Program Files (x86)\AviSynth+\plugins64\EEDI2.dll [0.9.2.0]
C:\Program Files (x86)\AviSynth+\plugins64\eedi3.dll [0.9.2.1]
C:\Program Files (x86)\AviSynth+\plugins64\fft3dfilter.dll [2.4.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\masktools2.dll [2.2.10.0]
C:\Program Files (x86)\AviSynth+\plugins64\mvtools2.dll [2.7.24.0]
C:\Program Files (x86)\AviSynth+\plugins64\nnedi3.dll [0.9.4.48]
C:\Program Files (x86)\AviSynth+\plugins64\PlanarTools.dll
C:\Program Files (x86)\AviSynth+\plugins64\RgTools.dll [0.96.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2.dll
C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2_avx2.dll
[Scripts / AVSI]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.avsi
C:\Program Files (x86)\AviSynth+\plugins64\AnimeIVTC.avsi
C:\Program Files (x86)\AviSynth+\plugins64\mClean.avsi
C:\Program Files (x86)\AviSynth+\plugins64\QTGMC.avsi
C:\Program Files (x86)\AviSynth+\plugins64\SMDegrain.avsi
[Uncategorized / Other]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.txt
Groucho2004
22nd December 2017, 12:44
Use the switches "-avsinfo -log" and post the log (avsinfo_x64.log).
Micheal813
22nd December 2017, 12:59
Log file created with: AVSMeter 2.6.6 (x64)
[OS/Hardware info]
Operating system: Windows 10 (x64) (Build 16299)
CPU brand string: AMD Athlon(tm) II X2 215 Processor
CPU features: MMX, SSE, SSE2, SSE3, SSE4A, 3DNOW, 3DNOWEXT, MMXEXT, POPCNT
[Avisynth info]
VersionString: AviSynth+ 0.1 (r2574, MT, x86_64)
VersionNumber: 2.60
File / Product version: 0.1.0.0 / 0.1.0.0
Interface Version: 6
Multi-threading support: Yes
Avisynth.dll location: C:\Windows\system32\avisynth.dll
Avisynth.dll time stamp: 2017-12-19, 22:16:28 (UTC)
PluginDir2_5 (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64
PluginDir+ (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64+
[CPP 2.5 / 64 Bit Plugins]
C:\Program Files (x86)\AviSynth+\plugins64\AddGrainC.dll [1.7.1.0]
C:\Program Files (x86)\AviSynth+\plugins64\dfttest.dll [1.9.4.0]
C:\Program Files (x86)\AviSynth+\plugins64\TDeinterlace.dll [1.1.0.0]
[CPP 2.6 / 64 Bit Plugins]
C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll
C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll
C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll
C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll
C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll
C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll
C:\Program Files (x86)\AviSynth+\plugins64\DCTFilter.dll [0.5.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\DePan.dll [2.13.1.3]
C:\Program Files (x86)\AviSynth+\plugins64\DePanEstimate.dll [2.10.0.2]
C:\Program Files (x86)\AviSynth+\plugins64\EEDI2.dll [0.9.2.0]
C:\Program Files (x86)\AviSynth+\plugins64\eedi3.dll [0.9.2.1]
C:\Program Files (x86)\AviSynth+\plugins64\fft3dfilter.dll [2.4.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\masktools2.dll [2.2.10.0]
C:\Program Files (x86)\AviSynth+\plugins64\mvtools2.dll [2.7.24.0]
C:\Program Files (x86)\AviSynth+\plugins64\nnedi3.dll [0.9.4.48]
C:\Program Files (x86)\AviSynth+\plugins64\PlanarTools.dll
C:\Program Files (x86)\AviSynth+\plugins64\RgTools.dll [0.96.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2.dll
C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2_avx2.dll
[Scripts / AVSI]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.avsi
C:\Program Files (x86)\AviSynth+\plugins64\AnimeIVTC.avsi
C:\Program Files (x86)\AviSynth+\plugins64\mClean.avsi
C:\Program Files (x86)\AviSynth+\plugins64\QTGMC.avsi
C:\Program Files (x86)\AviSynth+\plugins64\SMDegrain.avsi
[Uncategorized / Other]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.txt
[Internal (core) functions]
AVIFileSource
AVISource
AddAlphaPlane
AddAutoloadDir
AddBorders
AlignedSplice
Amplify
AmplifydB
Animate
Apply
ApplyRange
Assert
AssumeBFF
AssumeFPS
AssumeFieldBased
AssumeFrameBased
AssumeSampleRate
AssumeScaledFPS
AssumeTFF
AudioDub
AudioDubEx
AudioTrim
AutoloadPlugins
AverageB
AverageChromaU
AverageChromaV
AverageG
AverageLuma
AverageR
BDifference
BDifferenceFromPrevious
BDifferenceToNext
BPlaneMax
BPlaneMedian
BPlaneMin
BPlaneMinMaxDifference
BicubicResize
BilinearResize
BitsPerComponent
BlackmanResize
Blackness
BlankClip
Blur
Bob
Cache
ChangeFPS
Chr
ChromaUDifference
ChromaVDifference
ClearAutoloadDirs
ColorBars
ColorBarsHD
ColorKeyMask
ColorSpaceNameToPixelType
ColorYUV
CombinePlanes
Compare
ComplementParity
ComponentSize
ConditionalFilter
ConditionalReader
ConditionalSelect
ContinuedDenominator
ContinuedNumerator
ConvertAudio
ConvertAudioTo16bit
ConvertAudioTo24bit
ConvertAudioTo32bit
ConvertAudioTo8bit
ConvertAudioToFloat
ConvertBackToYUY2
ConvertBits
ConvertFPS
ConvertTo16bit
ConvertTo8bit
ConvertToFloat
ConvertToMono
ConvertToPlanarRGB
ConvertToPlanarRGBA
ConvertToRGB
ConvertToRGB24
ConvertToRGB32
ConvertToRGB48
ConvertToRGB64
ConvertToY
ConvertToY8
ConvertToYUV411
ConvertToYUV420
ConvertToYUV422
ConvertToYUV444
ConvertToYUY2
ConvertToYV12
ConvertToYV16
ConvertToYV24
ConvertToYV411
Crop
CropBottom
Default
Defined
DelayAudio
DeleteFrame
Dissolve
DoubleWeave
DuplicateFrame
Echo
EnsureVBRMP3Sync
Eval
Exist
Expr
ExtractA
ExtractB
ExtractG
ExtractR
ExtractU
ExtractV
ExtractY
FadeIO
FadeIO0
FadeIO2
FadeIn
FadeIn0
FadeIn2
FadeOut
FadeOut0
FadeOut2
FixBrokenChromaUpsampling
FixLuminance
FlipHorizontal
FlipVertical
FrameEvaluate
FreezeFrame
FunctionExists
GDifference
GDifferenceFromPrevious
GDifferenceToNext
GPlaneMax
GPlaneMedian
GPlaneMin
GPlaneMinMaxDifference
GaussResize
GeneralConvolution
GetChannel
GetChannels
GetLeftChannel
GetParity
GetProcessInfo
GetRightChannel
Grayscale
Greyscale
HasAlpha
HasAudio
HasVideo
Hex
Histogram
HorizontalReduceBy2
Import
Info
Interleave
InternalCache
InternalFunctionExists
Invert
Is420
Is422
Is444
IsAudioFloat
IsAudioInt
IsBool
IsClip
IsFieldBased
IsFloat
IsFrameBased
IsInt
IsInterleaved
IsPackedRGB
IsPlanar
IsPlanarRGB
IsPlanarRGBA
IsRGB
IsRGB24
IsRGB32
IsRGB48
IsRGB64
IsString
IsVideoFloat
IsY
IsY8
IsYUV
IsYUVA
IsYUY2
IsYV12
IsYV16
IsYV24
IsYV411
KillAudio
KillVideo
Lanczos4Resize
LanczosResize
Layer
Letterbox
Levels
Limiter
LoadCPlugin
LoadPlugin
Load_Stdcall_Plugin
LogMsg
Loop
LumaDifference
Mask
MaskHS
Max
Merge
MergeARGB
MergeChannels
MergeChroma
MergeLuma
MergeRGB
MessageClip
Min
MixAudio
MonoToStereo
Normalize
Null
NumComponents
OpenDMLSource
Ord
Overlay
PeculiarBlend
PixelType
PlaneToY
PointResize
Prefetch
Preroll
Pulldown
RDifference
RDifferenceFromPrevious
RDifferenceToNext
RGBAdjust
RGBDifference
RGBDifferenceFromPrevious
RGBDifferenceToNext
RPlaneMax
RPlaneMedian
RPlaneMin
RPlaneMinMaxDifference
ReduceBy2
RemoveAlphaPlane
ResampleAudio
ResetMask
Reverse
ScriptClip
ScriptDir
ScriptDirUtf8
ScriptFile
ScriptFileUtf8
ScriptName
ScriptNameUtf8
SegmentedAVISource
SegmentedDirectShowSource
Select
SelectEven
SelectEvery
SelectOdd
SelectRangeEvery
SeparateColumns
SeparateFields
SeparateRows
SetFilterMTMode
SetLogParams
SetMemoryMax
SetPlanarLegacyAlignment
SetWorkingDir
Sharpen
ShowAlpha
ShowBlue
ShowFiveVersions
ShowFrameNumber
ShowGreen
ShowRed
ShowSMPTE
ShowTime
ShowU
ShowV
ShowY
SincResize
SkewRows
SpatialSoften
Spline
Spline16Resize
Spline36Resize
Spline64Resize
StackHorizontal
StackVertical
StrFromUtf8
StrToUtf8
String
Subtitle
Subtract
SwapFields
SwapUV
TemporalSoften
Time
Tone
Trim
Turn180
TurnLeft
TurnRight
Tweak
UDifferenceFromPrevious
UDifferenceToNext
UPlaneMax
UPlaneMedian
UPlaneMin
UPlaneMinMaxDifference
UToY
UToY8
UnalignedSplice
VDifferenceFromPrevious
VDifferenceToNext
VPlaneMax
VPlaneMedian
VPlaneMin
VPlaneMinMaxDifference
VToY
VToY8
Version
VersionNumber
VersionString
VerticalReduceBy2
WAVSource
Weave
WeaveColumns
WeaveRows
WriteFile
WriteFileEnd
WriteFileIf
WriteFileStart
YDifferenceFromPrevious
YDifferenceToNext
YPlaneMax
YPlaneMedian
YPlaneMin
YPlaneMinMaxDifference
YToUV
abs
acos
asin
atan
atan2
audiobits
audiochannels
audioduration
audiolength
audiolengthf
audiolengthhi
audiolengthlo
audiolengths
audiorate
bitand
bitchange
bitchg
bitclear
bitclr
bitlrotate
bitlshift
bitlshifta
bitlshiftl
bitlshifts
bitlshiftu
bitnot
bitor
bitrol
bitror
bitrrotate
bitrshifta
bitrshiftl
bitrshifts
bitrshiftu
bitsal
bitsar
bitset
bitshl
bitshr
bittest
bittst
bitxor
ceil
cos
cosh
exp
fillstr
findstr
float
floor
fmod
frac
framecount
framerate
frameratedenominator
frameratenumerator
height
hexvalue
int
lcase
leftstr
log
log10
midstr
muldiv
nop
pi
pow
rand
replacestr
revstr
rightstr
round
sign
sin
sinh
sqrt
strcmp
strcmpi
strlen
tan
tanh
ucase
undefined
value
width
Micheal813
22nd December 2017, 13:00
[External (plugin) functions]
AddGrain
AddGrainC
AddGrainC_AddGrain
AddGrainC_AddGrainC
BackwardClense
Clense
ConvertFromDoubleWidth
ConvertFromStacked
ConvertStacked_ConvertFromDoubleWidth
ConvertStacked_ConvertFromStacked
ConvertStacked_ConvertToDoubleWidth
ConvertStacked_ConvertToStacked
ConvertToDoubleWidth
ConvertToStacked
DCTFilter
DCTFilter4
DCTFilter4D
DCTFilter8
DCTFilter8D
DCTFilterD
DCTFilter_DCTFilter
DCTFilter_DCTFilter4
DCTFilter_DCTFilter4D
DCTFilter_DCTFilter8
DCTFilter_DCTFilter8D
DCTFilter_DCTFilterD
DePan
DePanEstimate
DePanEstimate_DePanEstimate
DePanInterleave
DePanScenes
DePanStabilize
DePan_DePan
DePan_DePanInterleave
DePan_DePanScenes
DePan_DePanStabilize
DirectShowSource
DirectShowSource_DirectShowSource
EEDI2
EEDI2_EEDI2
ExtractPlane
FFT3DFilter
FFT3DFilter_VersionNumber
ForwardClense
ImageReader
ImageSeq_ImageReader
ImageSeq_ImageSource
ImageSeq_ImageSourceAnim
ImageSeq_ImageWriter
ImageSource
ImageSourceAnim
ImageWriter
LoadVirtualdubPlugin
MAnalyse
MBlockFps
MCompensate
MDegrain1
MDegrain2
MDegrain3
MDegrain4
MDegrain5
MDegrain6
MDegrainN
MDepan
MFlow
MFlowBlur
MFlowFps
MFlowInter
MMask
MRecalculate
MRestoreVect
MSCDetection
MScaleVect
MShow
MStoreVect
MSuper
PackedToPlanar
PlanarToPacked
PlanarToRGB32
PlanarTools_ExtractPlane
PlanarTools_PackedToPlanar
PlanarTools_PlanarToPacked
PlanarTools_PlanarToRGB32
PlanarTools_RGBToRGB
PlanarTools_Transpose
RGBToRGB
RemoveGrain
Repair
RgTools_BackwardClense
RgTools_Clense
RgTools_ForwardClense
RgTools_RemoveGrain
RgTools_Repair
RgTools_VerticalCleaner
SSRC
Shibatch_SSRC
Shibatch_SuperEQ
SuperEQ
TDeint
TDeinterlace_TDeint
TDeinterlace_TSwitch
TSwitch
TimeStretch
TimeStretch_TimeStretch
Transpose
VDubFilter_LoadVirtualdubPlugin
VerticalCleaner
dfttest
dfttest_dfttest
eedi3
eedi3_eedi3
eedi3_eedi3_rpow2
eedi3_rpow2
fft3dfilter_FFT3DFilter
fft3dfilter_FFT3DFilter_VersionNumber
masktools2_mt_adddiff
masktools2_mt_average
masktools2_mt_binarize
masktools2_mt_circle
masktools2_mt_clamp
masktools2_mt_convolution
masktools2_mt_deflate
masktools2_mt_diamond
masktools2_mt_edge
masktools2_mt_ellipse
masktools2_mt_expand
masktools2_mt_freeellipse
masktools2_mt_freelosange
masktools2_mt_freerectangle
masktools2_mt_gradient
masktools2_mt_hysteresis
masktools2_mt_infix
masktools2_mt_inflate
masktools2_mt_inpand
masktools2_mt_invert
masktools2_mt_logic
masktools2_mt_losange
masktools2_mt_lut
masktools2_mt_lutf
masktools2_mt_luts
masktools2_mt_lutspa
masktools2_mt_lutsx
masktools2_mt_lutxy
masktools2_mt_lutxyz
masktools2_mt_lutxyza
masktools2_mt_makediff
masktools2_mt_mappedblur
masktools2_mt_merge
masktools2_mt_motion
masktools2_mt_polish
masktools2_mt_rectangle
masktools2_mt_square
mt_adddiff
mt_average
mt_binarize
mt_circle
mt_clamp
mt_convolution
mt_deflate
mt_diamond
mt_edge
mt_ellipse
mt_expand
mt_freeellipse
mt_freelosange
mt_freerectangle
mt_gradient
mt_hysteresis
mt_infix
mt_inflate
mt_inpand
mt_invert
mt_logic
mt_losange
mt_lut
mt_lutf
mt_luts
mt_lutspa
mt_lutsx
mt_lutxy
mt_lutxyz
mt_lutxyza
mt_makediff
mt_mappedblur
mt_merge
mt_motion
mt_polish
mt_rectangle
mt_square
mvtools2_MAnalyse
mvtools2_MBlockFps
mvtools2_MCompensate
mvtools2_MDegrain1
mvtools2_MDegrain2
mvtools2_MDegrain3
mvtools2_MDegrain4
mvtools2_MDegrain5
mvtools2_MDegrain6
mvtools2_MDegrainN
mvtools2_MDepan
mvtools2_MFlow
mvtools2_MFlowBlur
mvtools2_MFlowFps
mvtools2_MFlowInter
mvtools2_MMask
mvtools2_MRecalculate
mvtools2_MRestoreVect
mvtools2_MSCDetection
mvtools2_MScaleVect
mvtools2_MShow
mvtools2_MStoreVect
mvtools2_MSuper
nnedi3
nnedi3_nnedi3
nnedi3_nnedi3_rpow2
nnedi3_rpow2
yadifmod2
yadifmod2_avx2_yadifmod2
yadifmod2_yadifmod2
[DLL dependencies (x64)]
C:\Windows\system32\avisynth.dll:
AVIFIL32.dll
MSVFW32.dll
MSACM32.dll
GDI32.dll
USER32.dll
ADVAPI32.dll
ole32.dll
imagehlp.dll
MSVCP140.dll
KERNEL32.dll
VCRUNTIME140.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-environment-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-locale-l1-1-0.dll
api-ms-win-crt-utility-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64\AddGrainC.dll:
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\dfttest.dll:
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\TDeinterlace.dll:
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll:
KERNEL32.dll
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll:
WINMM.dll
QUARTZ.dll
ole32.dll
USER32.dll
OLEAUT32.dll
KERNEL32.dll
VCRUNTIME140.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll:
DevIL.dll
MSVCP140.dll
KERNEL32.dll
VCRUNTIME140.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll:
MSVCP140.dll
KERNEL32.dll
VCRUNTIME140.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll:
KERNEL32.dll
VCRUNTIME140.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll:
USER32.dll
KERNEL32.dll
VCRUNTIME140.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64\DCTFilter.dll:
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\DePan.dll:
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\DePanEstimate.dll:
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\EEDI2.dll:
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\eedi3.dll:
VCOMP120.DLL
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\fft3dfilter.dll:
KERNEL32.dll
USER32.dll
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64\masktools2.dll:
KERNEL32.dll
MSVCP140.dll
VCRUNTIME140.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64\mvtools2.dll:
KERNEL32.dll
MSVCP140.dll
VCRUNTIME140.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-utility-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64\nnedi3.dll:
KERNEL32.dll
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
C:\Program Files (x86)\AviSynth+\plugins64\PlanarTools.dll:
MSVCP140.dll
VCRUNTIME140.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\RgTools.dll:
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2.dll:
MSVCP140.dll
VCRUNTIME140.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
KERNEL32.dll
C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2_avx2.dll:
MSVCP140.dll
VCRUNTIME140.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
KERNEL32.dll
Groucho2004
22nd December 2017, 13:01
Post it somewhere else (pastebin.com). Attachments here can take a long time to be approved.
Micheal813
22nd December 2017, 13:03
Post it somewhere else (pastebin.com). Attachments here can take a long time to be approved.
I deleted it and reposted as 2 separate post.
Groucho2004
22nd December 2017, 13:09
I deleted it and reposted as 2 separate post.OK. I still don't know what the problem could be...
Micheal813
22nd December 2017, 13:13
OK. I still don't know what the problem could be...
Ok. Thanks for trying. I'll see if I can get it working later.
Sun is about to rise. Time to get some sleep.:)
pinterf
22nd December 2017, 13:53
Intel sde emulator set to an sse2-only architecture may help us reproducing the crash.
Pulp Catalyst
22nd December 2017, 14:39
Hello, can some help me with the following, for some reason staxrip wants to load the module that is connected to DGDecNV, however i don't want that one, i have setup to use the DGDecIM. the following LOG is included.
note, i tried to edit the .avs file and removed the "LoadPlugin("D:\Program Files\StaxRip 1.7.0.0\Apps\dgdecnv2053\x64 Binaries\DGDecodeNV.dll")"
then tried to load back into Staxrip, but it still complained that it needs the NV module to load, however i do not have a Nvidia GPU in the system, so therefore this is why it fails to load that module.
-------------------------- System Environment --------------------------
StaxRip : 1.7.0.0
Windows : Windows 8.1 Pro
Language : English (United Kingdom)
CPU : Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
GPU : Intel(R) HD Graphics 4000
Resolution : 1920 x 1080
DPI : 96
------------------------ MediaInfo Source File ------------------------
Y:\DVD\Bell-Bottom George\Bell-Bottom George.mkv
General
Complete name : Y:\DVD\Bell-Bottom George\Bell-Bottom George.mkv
Format : Matroska
Format version : Version 2
File size : 4.08 GiB
Duration : 1 h 33 min
Overall bit rate : 6 238 kb/s
Encoded date : UTC 2017-12-12 10:50:29
Writing application : MakeMKV v1.10.8 win(x64-release)
Writing library : libmakemkv v1.10.8 (1.3.5/1.4.7) win(x64-release)
Video
ID : 1
ID in the original source medium : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : BVOP
Format, BVOP : Yes
Format, Matrix : Default
Format, GOP : M=3, N=13
Format, picture structure : Frame
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 1 h 33 min
Bit rate mode : Constant
Bit rate : 6 000 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.579
Time code of first frame : 09:59:59:00
Time code source : Group of pictures header
GOP, Open/Closed : Open
Stream size : 3.93 GiB (96%)
Language : English
Default : No
Forced : No
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B, BT.470 System G
Matrix coefficients : BT.470 System B, BT.470 System G
Original source medium : DVD-Video
Audio
ID : 2
ID in the original source medium : 189 (0xBD)128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Format, Endianness : Big
Codec ID : A_AC3
Duration : 1 h 33 min
Bit rate mode : Constant
Bit rate : 224 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 150 MiB (4%)
Title : Stereo
Language : English
Service kind : Complete Main
Default : Yes
Forced : No
Original source medium : DVD-Video
Text
ID : 3
ID in the original source medium : 189 (0xBD)32 (0x20)
Format : VobSub
Codec ID : S_VOBSUB
Codec ID/Info : Picture based subtitle format used on DVDs
Duration : 1 h 33 min
Bit rate : 8 766 b/s
Count of elements : 1475
Stream size : 5.85 MiB (0%)
Language : English
Default : Yes
Forced : No
Original source medium : DVD-Video
Menu
00 : 00:00.000 : en:Chapter 01
00 : 08:34.800 : en:Chapter 02
00 : 14:00.840 : en:Chapter 03
00 : 18:44.760 : en:Chapter 04
00 : 31:56.720 : en:Chapter 05
00 : 42:07.200 : en:Chapter 06
00 : 51:12.680 : en:Chapter 07
00 : 58:46.120 : en:Chapter 08
01 : 07:14.680 : en:Chapter 09
01 : 19:55.960 : en:Chapter 10
01 : 25:01.200 : en:Chapter 11
01 : 31:56.680 : en:Chapter 12
------------ DGIndexIM: Index, No Demux using DGIndexIM b50 ------------
"D:\Program Files\StaxRip 1.7.0.0\Apps\dgdecim_b50\x64\DGIndexIM.exe" -i "Y:\DVD\Bell-Bottom George\Bell-Bottom George.mkv" -o "E:\Temp\Bell-Bottom George_temp\Bell-Bottom George.dgim" -h
Project
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
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
93
94
95
96
97
99
100
Start: 13:28:51
End: 13:31:06
Duration: 00:02:14
------------------------- Error opening source -------------------------
Cannot load file 'D:/Program Files/StaxRip 1.7.0.0/Apps/dgdecnv2053/x64 Binaries/DGDecodeNV.dll'. Platform returned code 126:
The specified module could not be found.
(E:\Temp\Bell-Bottom George_temp\Bell-Bottom George_source.avs, line 2)
LoadPlugin("D:\Program Files\StaxRip 1.7.0.0\Apps\dgdecim_b50\x64\DGDecodeIM.dll")
LoadPlugin("D:\Program Files\StaxRip 1.7.0.0\Apps\dgdecnv2053\x64 Binaries\DGDecodeNV.dll")
DGSourceIM("E:\Temp\Bell-Bottom George_temp\Bell-Bottom George.dgim")
thanks.
Micheal813
22nd December 2017, 20:39
OK. I still don't know what the problem could be...
When I try to use mClean without Staxrip I also get an error. I Just make a avs script and load it into VDub and it says something about an illegal instruction line 117. Line 117 is "clean = clean.dctfilter (1,1,1,1,1,1,0.50,0)"
I've posted in the mClean thread. Hopefully I can get it sorted out there. Thanks for the help.
Khun_Doug
23rd December 2017, 18:11
Micahel813, you are a step ahead of my recommended solution. I was going to suggest you get mClean to work in an AVISynth script first, and then go forward. I use a free tool called AVSPmod that allows me to develop and edit AVISynth scripts. The only drawback is that the tool only supports 32 bit filters, no 64 bit. But that hasn't been a problem. All of the plugins needed for mClean are available in 64 bit and 32 bit. So I would recommend getting the plugins needed and tuning your AVISynth script until it works, and then you will know you have the proper plugins.
When I was first starting on mClean and needed to get all the plugins I discovered there were several different downloadable versions. I recall one of the plugins needed the beta 2.0 version for the script to operate correctly. That one stumped me. The other thing to keep in mind is the type of CPU you have. Some of the plugins are compiled with processor support you may not have.
You are on the right path. Once you have the correct set of plugins then you can move forward.
Groucho2004
23rd December 2017, 18:44
I use a free tool called AVSPmod that allows me to develop and edit AVISynth scripts. The only drawback is that the tool only supports 32 bit filters, no 64 bit.Not true, there's a 64 bit version (https://cloud.pados.hu/index.php/s/0e0d5588307a7b0474742711731699b6/download?path=%2Fr2172-MT-test%2Fx64&files=AvsPmod_v2.5.1_r452_x64.7z).
Some of the plugins are compiled with processor support you may not have.
You are on the right path. Once you have the correct set of plugins then you can move forward.
Not the problem in his case. It's a bug in the Avisynth+ core.
Micheal813
23rd December 2017, 21:59
Not true, there's a 64 bit version (https://cloud.pados.hu/index.php/s/0e0d5588307a7b0474742711731699b6/download?path=%2Fr2172-MT-test%2Fx64&files=AvsPmod_v2.5.1_r452_x64.7z).
Not the problem in his case. It's a bug in the Avisynth+ core.
Correct. Another user was able to send me a modified avisynth.dll that now works.
https://forum.doom9.org/showthread.php?p=1828203#post1828203
Thanks everyone for the help.
Khun_Doug
24th December 2017, 17:39
Hey Groucho thanks for info. I've wanted that for some time. For some reason all my searches didn't reveal one. It's early Christmas gift for me.
Micheal813
25th December 2017, 08:22
When adding interlaced video to StaxRip, the script it creates has ConvertToYV12(). Should it be ConvertToYV12(interlaced=true)?
Zetti
26th December 2017, 11:01
x264 r2893 is released.
suprasaiyan123
26th December 2017, 18:27
can someone help me out with an issue, staxrip 1.7 specifically using x264 blurs the top and bottom of my encodes for some reason, I can't figure out what the issue is, grainy vids are the worse as the top and bottom few pixels in an encode are completely devoid of grain and stand out like a sore thumb... Any help is greatly appreciated, here are some pics which show the issue https://imgur.com/a/xJMmZ
Taurus
27th December 2017, 21:51
@suprasaiyan123:
I can see the washed out borders.
Please save your screenshots as png in the future.
Because jpg compression adds all kind of artefacts to the picture.
Did you crop or upscale the source file?
Maybe a sample from the original and a mediainfo report?
And your settings for x264.
and, and, and.....
Without any more information nobody will/can help you.
suprasaiyan123
28th December 2017, 15:42
@suprasaiyan123:
I can see the washed out borders.
Please save your screenshots as png in the future.
Because jpg compression adds all kind of artefacts to the picture.
Did you crop or upscale the source file?
Maybe a sample from the original and a mediainfo report?
And your settings for x264.
and, and, and.....
Without any more information nobody will/can help you.
Thanks for the reply, here is another encode with the same issue https://drive.google.com/drive/folders/1qnaj1FJ07jkhrDx5dGVY4RBhEmqW4QDi png files as requested, the same issue is present on the top and bottom of the encode(blurred and blocky) while the rest is almost transparent. The settings on staxrip 1.7, x264, crf 15, very slow, tune grain, 10 bit, high 10, and cropped to 816 height from 1080, everything else remains default for tune grain. source bit rate 37.4mbs, encode is ~10mbs, no upscale.
Taurus
28th December 2017, 18:07
@suprasaiyan123
I can see the distorted lines on both = original and encoded file :confused:
Did you try with different crop parameters or resizers?
And why did you crop down to 816 ?
Did you apply the black bars later on to go back to 1080?
Your stills are perfect 1920/1080 16:9 (with the black borders).
I dont think it is a encoder error.
Your x264 settings should be almost transparent at crf 15.
So we can sort this out.
Any way, this has nothing to do with StaxRip.
Maybe the avisynth or vapoursynth decoder faults on your sources.
Without a sample of your source and your exact avisynth/vapoursynth script nobody can help you.
And mediainfo report of source and encode might be beneficial.
suprasaiyan123
29th December 2017, 21:35
@suprasaiyan123
I can see the distorted lines on both = original and encoded file :confused:
Did you try with different crop parameters or resizers?
And why did you crop down to 816 ?
Did you apply the black bars later on to go back to 1080?
Your stills are perfect 1920/1080 16:9 (with the black borders).
I dont think it is a encoder error.
Your x264 settings should be almost transparent at crf 15.
So we can sort this out.
Any way, this has nothing to do with StaxRip.
Maybe the avisynth or vapoursynth decoder faults on your sources.
Without a sample of your source and your exact avisynth/vapoursynth script nobody can help you.
And mediainfo report of source and encode might be beneficial.
I reinstalled staxrip and avisynth and couldn't fix the issue(happens on 99% of files, more evident on some than others.) It certainly isn't a source issue or lack of bit rate in the encode. Tried an identical encode in Megui and the encode was transparent, there was no issue of the blurring/blockiness on the top and bottom of the encode, so I still can't figure out the problem unfortunately, it's annoying as I really prefer the staxrip GUI
Magik Mark
30th December 2017, 23:36
I found awasharp2 ported from avisynth to vaporsynth. Can someone tell me the proper syntax so it would work in staxrip?
warp.AWarpSharp2(clip clip[, int thresh=128, int blur=2, int type=0, int depth=16, int chroma=0, int[] planes=<all>, bint opt=True])
Magik Mark
3rd January 2018, 04:00
Happy new year Stax! How are you doing?
stax76
3rd January 2018, 18:52
Happy new year Mark and everybody, I'm fine thanks. I'm not very exciting about coding at the moment, especially not with VB.NET/WinForms, if somebody 20 years younger wants to step in and maintain staxrip would be best because I don't encode much if anything, otherwise I will maintain it like I promised.
Yanak
3rd January 2018, 20:12
He's back ;),
Happy New Year Stax and all others, good to see you around.
No worries i won't bother you with silly questions or requests, just nice to see you around :)
suckerpuncher
5th January 2018, 15:37
I jsut updated from the ancient 1.3.7.0 to the latest 1.7.0.4 version and now I'm missing the "Demux and index before creating jobs" options in the file batch menu. Is this on purpose or can I somehow manually enable this option again?
Yanak
5th January 2018, 22:16
I jsut updated from the ancient 1.3.7.0 to the latest 1.7.0.4 version and now I'm missing the "Demux and index before creating jobs" options in the file batch menu. Is this on purpose or can I somehow manually enable this option again?
Hello,
Go to "Project" > "Templates" and select " Manual Workflow"
Then go again to "Project " > " Save as Template " > and tick the " Load template on Startup " Option, and save.
By default it is now set to "Automatic Workflow ", following the steps above and it will be back to manual mode like before ;)
suckerpuncher
6th January 2018, 09:26
Hello,
Go to "Project" > "Templates" and select " Manual Workflow"
Then go again to "Project " > " Save as Template " > and tick the " Load template on Startup " Option, and save.
By default it is now set to "Automatic Workflow ", following the steps above and it will be back to manual mode like before ;)
Thanks. I tried it but it still doesn't work.
I even reset the templates to make sure I didn't mess anything up but still after adding files via Files Batch option it just creates a job but doesn't automatically demux and index the files before adding the job.
Yanak
6th January 2018, 13:28
Ah i think i understand now, still cannot see the screenshot you attached to your post, still pending approval,
for the batch mode it seems i can't trigger this either, using manual workflow, having the project option "Hide dialogs for demux" disabled like in the following picture :
https://s14.postimg.org/mokq9kvip/94461020180106131528cr.png
+ still in the project settings, the demux options for video and subtitles set to "Show Dialog" but it skips the manual demuxing, not sure if it's on purpose for batch more or if I'm missing something obvious or else.
For now you select batch mode and all is automatically processed once the jobs list is started it seems, not sure how it was done in older versions.
Only Stax could answer this i guess :/
suckerpuncher
6th January 2018, 14:47
Thanks again. Unfortunately it still won't work. Whether I tick the box from your screenschot or not it still just adds a job. I also set the Demux option on audio and subitles to "All" but still nothing.
Here are 2 screenshots to show which box I mean is missing:
Old:
https://abload.de/img/batch_oldoyr4p.png
New:
https://abload.de/img/batch_newoupjy.png
It seems to be by design. Maybe one day when Stax has the time he can give a short answer or even release something new but until then we have to live with it. No biggie.
craigpro
9th January 2018, 04:56
just curious and there are a lot of knowledgeable people here - but with Rigaya's NVencc 3.27 being released - is it as ''good as'' 3.22 and older nvidia drivers where we can use th -weightp option? thank you.
thomy21
10th January 2018, 14:06
Hi Stax
Happy New Year to you too.
It's a bad thing that you're not going to continue, the support especially last year was sensational.
I would be very happy if someone would find someone to continue the project. Even if it is only so far that the newest tools and versions are installed. I still need Staxrip every day and that won't change that soon.
Yups
13th January 2018, 18:55
QSVEnc 2.75 is out.
Taurus
14th January 2018, 15:51
Hi,
haven't touched StaxRip for about 4 weeks.
I mainly use it to convert h264 1920x1080 50fps progressive material
from Camcorder quick and dirty to h264 1280x720 50fps progressive.
Using a template for NVEnc with hardware resizing.
All over sudden video playback of the encoded files is stuttering.
Using StaxRip-x64-1.7.0.4-test.
The only thing I have changed are the GPU drivers.
Didn't touch the Stax directory for weeks.
Stuttering occurs on default NVEnc settings and modified ones.
Older encodes with the same settings dont show this behaviour.
Any help for troubleshooting is really appreciated.
Trying newer/older nvidia GPU drivers for now.
gonca
14th January 2018, 16:28
Hi,
haven't touched StaxRip for about 4 weeks.
I mainly use it to convert h264 1920x1080 50fps progressive material
from Camcorder quick and dirty to h264 1280x720 50fps progressive.
Using a template for NVEnc with hardware resizing.
All over sudden video playback of the encoded files is stuttering.
Using StaxRip-x64-1.7.0.4-test.
The only thing I have changed are the GPU drivers.
Didn't touch the Stax directory for weeks.
Stuttering occurs on default NVEnc settings and modified ones.
Older encodes with the same settings dont show this behaviour.
Any help for troubleshooting is really appreciated.
Trying newer/older nvidia GPU drivers for now.
Try a newer version of NVEnc, it might solve your problem
craigpro
16th January 2018, 23:36
Hi,
haven't touched StaxRip for about 4 weeks.
.
Using a template for NVEnc with hardware resizing.
All over sudden video playback of the encoded files is stuttering.
The only thing I have changed are the GPU drivers.
your question has answered yourself.. there is an issue with the newest nvidia GPU drivers and NVencc, I downgraded my nvidia drivers so I could continue using NVencc with -weightp option.
Vesdaris
18th January 2018, 09:09
y so I could continue using NVencc with -weightp option.
Would it be worth the hassle of constantly reinstalling drivers considering that I often play games? I mean, is the difference in bitrate big enough to justify this?
stax76
20th January 2018, 17:26
Hi everybody,
I uploaded a tiny update with few updated tools.
https://github.com/stax76/staxrip/blob/master/changelog.md
suckerpuncher
20th January 2018, 22:30
Hi everybody,
I uploaded a tiny update with few updated tools.
https://github.com/stax76/staxrip/blob/master/changelog.md
Thanks for the update.
Will you adress the missing "Demux and index before creating jobs" options in the file batch menu in the nearer future or is it gone for good?
Magik Mark
20th January 2018, 22:45
Hi Stax!
Thank You very much for the update. I hope this is not too much. x265 switches have been updated as well. 2 Pass encoding has been affected as follows:
"Multipass opt analysis" has been renamed to:
--analysis-save <filename> Dump analysis info into the specified file. Default Disabled
--analysis-load <filename> Load analysis buffers from the file specified. Default Disabled
Is it too much work to have this incorporated. Thanks a lot again
stax76
21st January 2018, 10:47
Thanks for the update.
Will you adress the missing "Demux and index before creating jobs" options in the file batch menu in the nearer future or is it gone for good?
It's gone for good, here is a workaround:
https://forum.doom9.org/showthread.php?p=1815695#post1815695
Thank You very much for the update. I hope this is not too much. x265 switches have been updated as well.
Sorry but I can't tell if and when it will be addressed, following switches are missing:
# NVEnc Todo
--vpp-tweak
# x265 Todo
--analysis-load --analysis-save --copy-pic --gop-lookahead --lowpass-dct --radl --refine-mv-type --vbv-end --vbv-end-fr-adj
Magik Mark
21st January 2018, 11:37
[emoji120][emoji4]
Sent from my iPhone using Tapatalk
Statick
22nd January 2018, 18:04
I've been using the video comparison tool to help tweak my encoding settings, and among the things I've been comparing are x264 8-bit vs 10-bit encodes
When I switch between 8-bit and 10-bit encodes in the comparison tool, along with the source video, the 10-bit encodes show a very slight colour shift, with a slight emphasis of blue and green compared to the 8-bit video. It's very subtle but definitely there, and is applied consistently to every frame in the video.
This led me to think I had a problem with my 10-bit encoder settings, so I ran 10-bit x264 encodes in different softwares, and regardless of whether I compare the results generated from StaxRip, Handbrake or MeGUI the same colour shift is present
however when I open the videos in an actual player (I'm using MPC-HC) the colour shift isn't there - the colours in the 10-bit clips match up exactly with the 8-bit clips as well as the source videos. It seems this colour shift is only ever visible in the StaxRip video comparison tool, which leads me to think there's a problem with how this decodes 10-bit videos, at least compared to how the rest of my system does this (LAV decoders and MadVR renderer)
I've attached photos of 8bit and 10bit videos as saved from the comparison tool so you can see the difference. As I said it is subtle, but it is definitely there, the 8-bit video is slightly redder than the 10-bit.
I'm not sure if there's even anything I can change on my end to adjust this (the video comparison tool doesn't seem to let me choose decoders or anything) but I'm open to all suggestions!
stax76
22nd January 2018, 19:03
For preview/drawing staxrip converts to RGB, maybe this conversion is incorrect, when you have the preview open you can see the resulted script (_preview.avs).
https://github.com/stax76/staxrip/blob/master/General/VideoScript.vb#L162
sausuke
22nd January 2018, 21:52
Debugmode frameserver output needs to be run under x86 avisynth, x64 won't work, however i bypass this by using MP_Pipepline and run a part of the script under x86 avisynth in Staxrip ( you loose a bit of speed most of the times but not that important to me ) :
- You need MP_Pipeline that can be found here : https://forum.doom9.org/showthread.php?p=1746479#post1746479
- Unzip it and put the content from the "64" folder into the avisynth plugin64+ folder, here :
"C:\Program Files\AviSynth+\plugins64+" You don't need the content from the "86 "folder, just what is inside the "64" into avisynth plugins64+ folder.
Then we need to create a custom source for the avi's of the frameserer :
- Right click on the "AVS filters" list here :
https://img4.hostingpics.net/pics/30363420171027142028cr.jpg
- On the contextual menu select '" Profiles"
- Under [Source] category copy and add this :
Vegas Frameserver Import =
MP_Pipeline("""
### platform: win32
AVISource("%source_file%", audio=false)
### ###
""")
Like here :
https://img4.hostingpics.net/pics/23738920171027142237.png
The only thing you will then need is set source to manual in the filters list when you will use an input from vegas frameserver, select your source and on the popup list select "Vegas Frameserver Import".
https://img4.hostingpics.net/pics/31399820171027143304.png
You can also make a template using directly this source and save it, just need to switch to it before loading your source file, or if you always use the workflow passing by vegas and the frameserver you can set staxrip to start directly with this template.
Then add the rest of the filters and normal process in staxrip.
Edit : yeah many asked for a x64 codec output to the author of the frameserver, but seems like he abandoned the project sadly :/
Thank you again for this, I migrated to this application due to this tutorial and MEGUI (even rams are new in Threadripper Build) is having slowdown bugs when used repeatedly. I guess it's time to move on to other application like this.
The speed is superb and consistent and been using it for my workflow in 3 months.
My last build i7 5960x (41fps max) compare to 1950x Threadripper
Screenshot:
https://i.imgur.com/g1WIeaj.png
Yanak
22nd January 2018, 23:19
Glad to see you get all this sorted out and that i helped a bit, the least i can do, Staxrip really offers a lot of versatility to customize it once you know a bit the ropes, learned a lot with Stax help when he took time to answer a noob like me, now if i can help and share a bit of what i know in return i'm happy ;)
Seeing those pics it reminds me I also need to edit some of my posts damnit, the picture host i was using for the last 8 years is gonna close in the next months, not accepting pictures uploads anymore already, i'd better start to use another host and replace some pictures in post like this before it's too late, might serve in the future for some others too ^^.
PS: seeing your numbers i think it's time for me to move on from my 3770k too :p, one of those days when wallet will allow it hopefully.
@Stax: thanks for the update,
happy to see it receiving updated tools and little fixes, did not had time to test it yet tho, will dig into this tomorrow probably,
thanks again :)
RieGo
26th January 2018, 12:40
got one question to you guys.
How can you convert an HDR video (mp4/mkv) properly - using the same parameters as the source?
is HDR meta data extracted from source automatically by staxrip? ("import VUI metadata")
what parameters are needed for x265? is "--hdr-opt" enough?
-also do i need to use avisynth or vapoursynth and which source... i think i tried with avisynth DGSource which only outputs 8bit?
encoding HDR seems tough. hope someone got some experience.
thanks for your help!
update: staxrip sets x265 parameters if "import VUI metadata" is enabled. so i only need "--hdr-opt"?
also dgsource needs "fulldepth=true" to output a 16bit stream. is 16bit good for feeding to an x265 10bit encode? or do i need to convert in avisynth?
hajj_3
28th January 2018, 11:46
I don't know if staxrip supports libvpx but there is a new version out: https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/1003857-libvpx-1-7-0-released-with-avx-optimizations-more
Glarioo
29th January 2018, 22:31
Staxrip does not give a "real" 10bit output?
In the lofile: "i420p8" p8=8bit. How can I set that on "i420p10" p10=10bit?
Thanks in advance.
LOGFILE:
"C:\Users\Gebruiker\Documents\Blu Ray\StaxRip-x64-1.7.0.5-test\Apps\avs2pipemod\avs2pipemod64.exe" -y4mp G:\VIDEO\E_T_UHD_temp\E_T_UHD_new.avs | "C:\Users\Gebruiker\Documents\Blu Ray\StaxRip-x64-1.7.0.5-test\Apps\x265\x265.exe" --crf 19 --preset fast --profile main10 --level-idc 5.1 --output-depth 10 --vbv-bufsize 160000 --vbv-maxrate 160000 --min-keyint 24 --keyint 240 --no-open-gop --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)" --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --max-luma 1023 --max-cll "1000,148" --repeat-headers --hrd --vui-timing-info --vui-hrd-info --frames 164693 --y4m --output G:\VIDEO\E_T_UHD_temp\E_T_UHD_new_out.hevc -
y4m [info]: 3840x2160 fps 24000/1001 i420p8 unknown frame count
raw [info]: output file: G:\VIDEO\E_T_UHD_temp\E_T_UHD_new_out.hevc
x265 [info]: HEVC encoder version 2.6+31-3712d13c09bf
x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-5.1 (High tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-19.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init : 160000 / 160000 / 0.900
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=8 deblock sao
avs2pipemod[info]: writing 164693 frames of 24000/1001 fps, 3840x2160,
sar 0:0, YUV-420-planar-8bit progressive video.
avs2pipemod[info]: finished, wrote 164693 frames [100%].
avs2pipemod[info]: total elapsed time is 22219.616 sec.
x265 [info]: frame I: 1214, Avg QP:17.13 kb/s: 84392.94
x265 [info]: frame P: 33201, Avg QP:18.51 kb/s: 40042.91
x265 [info]: frame B: 130278, Avg QP:21.85 kb/s: 13615.43
x265 [info]: Weighted P-Frames: Y:7.9% UV:6.0%
x265 [info]: consecutive B-frames: 4.3% 0.6% 0.7% 1.3% 93.2%
encoded 164693 frames in 22220.68s (7.41 fps), 19464.75 kb/s, Avg QP:21.14
sneaker_ger
29th January 2018, 22:34
It seems the output of your script is 8 bit but the x265 encoding 10 bit.
Is your source file 10 bit? How does your script look? For source filter try ffvideosource.
Glarioo
29th January 2018, 22:47
It seems the output of your script is 8 bit but the x265 encoding 10 bit.
Is your source file 10 bit? How does your script look? For source filter try ffvideosource.
Source file is 10bit (MediaInfo). And I use ffvideosource.
Where can i find "my script"?
sneaker_ger
29th January 2018, 23:05
AVS Filters -> Edit Code
But I see now it converts to 8 bit by default. Edit from:
FFVideoSource("%source_file%", colorspace = "YUV420P8", \
cachefile = "%source_temp_file%.ffindex")
to;
FFVideoSource("%source_file%", cachefile = "%source_temp_file%.ffindex")
and try again.
Note that this may break certain filters.
Glarioo
29th January 2018, 23:28
AVS Filters -> Edit Code
But I see now it converts to 8 bit by default. Edit from:
FFVideoSource("%source_file%", colorspace = "YUV420P8", \
cachefile = "%source_temp_file%.ffindex")
to;
FFVideoSource("%source_file%", cachefile = "%source_temp_file%.ffindex")
and try again.
Note that this may break certain filters.
It works! Thank you!
Arhu
1st February 2018, 09:22
For preview/drawing staxrip converts to RGB, maybe this conversion is incorrect, when you have the preview open you can see the resulted script (_preview.avs).
https://github.com/stax76/staxrip/blob/master/General/VideoScript.vb#L162
It's a dithering issue. There was one just like it in ffmpeg and derived libraries, which was fixed by Ma0 (https://github.com/FFmpeg/FFmpeg/commit/f192f2f061d979e3d2716b9892ca276b5d5cd418) last October, though I guess it didn't make it into the current stable release 3.4. I'm using a ffmpeg nightly until the next major release for this reason. The bug used to cause color and image degradation (greenish tint) when (re-)encoding videos from 10 or 12 bit. It makes previewing 10 bit sources in staxrip or comparing them with 8 bit sources very inaccurate, of course. Ma0 could probably shed some more light on this. Maybe only some library needs to be updated in staxrip to fix it?
Balthazar2k4
1st February 2018, 17:29
I am using the latest StaxRip beta and am having a problem with creating a 4K to 1080P template. I am using NVEnc and have the template set to use the hardware resizer, but every time I drop a file into the template to process it shows 1920x1088 instead of 1920x1080. I have triple checked the template and it shows 1080 before a file is demuxed and indexed. Am I missing something here? It basically makes batch encoding impossible.
EDIT: Nevermind. I figured it out. Once I turned off the auto AR height correction in options it is now sticking to 1080p. Would be curious to know why it is correcting to 1088 though as the source file is 2160p.
Malphie
1st February 2018, 22:17
Can someone tell me that how can i merge two different videos into one? I want to use my intro but staxrip keeps giving errors.
Error Merge source files using mkvmerge 17.0.0 (1.7.0.4)
Merge source files using mkvmerge 17.0.0 failed with exit code: 2 (0x2)
The exit code might be a system error code: STATUS_WAIT_2
The exit code might be a system error code: The system cannot find the file specified.
--------------- Merge source files using mkvmerge 17.0.0 ---------------
D:\Programlar\StaxRip-x64-1.7.0.4-test\Apps\MKVToolNix\mkvmerge.exe -o C:\Users\Administrator\Desktop\Op_1080p48kHz_new_merged.mkv "C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4" + "C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv"
mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv': Using the demultiplexer for the format 'Matroska'.
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4' track 0: Using the output module for the format 'AVC/h.264'.
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4' track 1: Using the output module for the format 'AAC'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' track 0: Using the output module for the format 'AVC/h.264'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' track 1: Using the output module for the format 'FLAC'.
No append mapping was given for the file no. 1 ('C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv'). A default mapping of 1:0:0:0,1:1:0:1 will be used instead. Please keep that in mind if mkvmerge aborts with an error message regarding invalid '--append-to' options.
Warning: The track number 0 from the file 'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' can probably not be appended correctly to the track number 0 from the file 'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4': The codec's private data does not match (lengths: 43 and 46). Please make sure that the resulting file plays correctly the whole time. The author of this program will probably not give support for playback issues with the resulting file.
Error: The track number 1 from the file 'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' cannot be appended to the track number 1 from the file 'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4'. The formats do not match.
StaxRip.ErrorAbortException: Merge source files using mkvmerge 17.0.0 failed with exit code: 2 (0x2)
The exit code might be a system error code: STATUS_WAIT_2
The exit code might be a system error code: The system cannot find the file specified.
--------------- Merge source files using mkvmerge 17.0.0 ---------------
D:\Programlar\StaxRip-x64-1.7.0.4-test\Apps\MKVToolNix\mkvmerge.exe -o C:\Users\Administrator\Desktop\Op_1080p48kHz_new_merged.mkv "C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4" + "C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv"
mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv': Using the demultiplexer for the format 'Matroska'.
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4' track 0: Using the output module for the format 'AVC/h.264'.
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4' track 1: Using the output module for the format 'AAC'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' track 0: Using the output module for the format 'AVC/h.264'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' track 1: Using the output module for the format 'FLAC'.
No append mapping was given for the file no. 1 ('C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv'). A default mapping of 1:0:0:0,1:1:0:1 will be used instead. Please keep that in mind if mkvmerge aborts with an error message regarding invalid '--append-to' options.
Warning: The track number 0 from the file 'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' can probably not be appended correctly to the track number 0 from the file 'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4': The codec's private data does not match (lengths: 43 and 46). Please make sure that the resulting file plays correctly the whole time. The author of this program will probably not give support for playback issues with the resulting file.
Error: The track number 1 from the file 'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' cannot be appended to the track number 1 from the file 'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4'. The formats do not match.
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 338
at StaxRip.MainForm.ShowOpenSourceDialog() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 4782
RieGo
3rd February 2018, 15:29
Can someone tell me that how can i merge two different videos into one? I want to use my intro but staxrip keeps giving errors.
see:
The formats do not match.
make sure all video files have the same codec, resolution and framerate.
i'm not sure about audio. one file uses aac the other one flac(?). maybe that's your problem
stax76
4th February 2018, 13:07
@Balthazar2k4
There was a bug forcing mod 16 instead of using the mod value defined in the options which has 8 as default.
Yanak
4th February 2018, 21:43
Hello Stax, few tools that might need an update :
AVSMeter - 2.7.1
KNLMeansCL - 1.1.1
masktools2 - 2.2.13
MediaInfo - 17.2
VSFilterMod_x64 - r5 see : https://github.com/stax76/staxrip/issues/348 & https://forum.doom9.org/showthread.php?p=1829836#post1829836
FFmpeg 3.4.1 ( i had various issues one month or so ago with the one in Staxrip and some actions performed, getting a newer build resolved them, well no issues linked to ffmpeg since a while so... )
Plugins_JPSDR - 2.0.5 if i understood correctly it have now aWarpSharpMT so aWarpSharp2 might be removed, need confirmation.
Not sure if all are needed or if there is incompatibilities when mixed, so far i had no problems but not mixing them much.
Thank you.
Edit :
@ sausuke :
You might be interested by this : https://github.com/satishsampath/frame-server/issues/28#issuecomment-362878180
Someone finally made Debugmode frameserver compatible with x64 ( win7 only for now ), no need of MP_Pipepline anymore for this now ;)
sausuke
5th February 2018, 05:22
Hello Stax, few tools that might need an update :
AVSMeter - 2.7.1
KNLMeansCL - 1.1.1
masktools2 - 2.2.13
MediaInfo - 17.2
VSFilterMod_x64 - r5 see : https://github.com/stax76/staxrip/issues/348 & https://forum.doom9.org/showthread.php?p=1829836#post1829836
FFmpeg 3.4.1 ( i had various issues one month or so ago with the one in Staxrip and some actions performed, getting a newer build resolved them, well no issues linked to ffmpeg since a while so... )
Plugins_JPSDR - 2.0.5 if i understood correctly it have now aWarpSharpMT so aWarpSharp2 might be removed, need confirmation.
Not sure if all are needed or if there is incompatibilities when mixed, so far i had no problems but not mixing them much.
Thank you.
Edit :
@ sausuke :
You might be interested by this : https://github.com/satishsampath/frame-server/issues/28#issuecomment-362878180
Someone finally made Debugmode frameserver compatible with x64 ( win7 only for now ), no need of MP_Pipepline anymore for this now ;)
Wow thank you. Glad I visited this forum again gonna read it now. :)
DaMacFunkin
5th February 2018, 11:15
Hello I need a new Laptop to run Stax, i currently use Nvenc to convert my Blu-ray collection to HEVC with stax, which do you think is the better combination of the 2 below?
Intel® Core™ i5-6300HQ processor with GTX 1060 Graphics or..
Intel® Core™ i7-7500U processor with GTX1050 Graphics.
Any advise would be appreciated.
phazer11
6th February 2018, 07:19
So. Would like to first say thank you for the GUI and all your hard effort Stax, I've been a fan for a while now.
Recently I've been using a program by the name of Hybrid GUI (http://forum.doom9.org/showthread.php?t=153035) for a bit easier time denoising video and line darkening (since the line darkeners are 32-bit). This is how I discovered an oddity and also a bit of an issue using SMDegrain in Stax (since Stax is more reliable in some ways and also has mClean to boot!).
Using the following in Hybrid results in ~1.8 FPS in Hybrid using x265 custom very slow settings.
SMDegrain(tr=12,thSAD=800,thSADC=400,contrasharp=true,interlaced=false,subpixel=3,prefilter=0,blksize=16,search=5,Truemotion=false,thSCD1=2400)
Now in Stax I have to remove the contrasharp=true because I receive an error saying "Script error. There is no function named 'medianblur'." Perhaps because you don't have RemoveGrainHD? I know that was one of the problems in Hybrid GUI (the author selur (https://forum.doom9.org/member.php?u=206) has since fixed it).
So for now I'm running the script with contrasharp turned off and here's the other weirdness. Stax is not utilizing the cpu to its' full potential, the usage info in taskmanager for Hybrid shows ~75-98% usage. Stax shows a max of 88% and hovers in the 30s and 40s for the most part and the FPS shows this @ ~0.75-1 FPS.
To be clear, I've updated all versions of the softwares used (x265 etc.) to the same versions where possible (due to Hybrid using 64-bit and 32-bit) and checked the settings dozens of times to be sure before I posted anything. Stax and Hybrid are within margin of error speed wise (to be expected with the same version of x265) with no filters enabled so... yeah just weird.
So I don't know if the speed problem is Stax's fault but I thought I would at least let you know about the contrasharp issue and maybe you'd have some insight into the speed issue.
Also, if I could I would like to request some deband options be included.
RieGo
7th February 2018, 09:10
Hello I need a new Laptop to run Stax, i currently use Nvenc to convert my Blu-ray collection to HEVC with stax, which do you think is the better combination of the 2 below?
Intel® Core™ i5-6300HQ processor with GTX 1060 Graphics or..
Intel® Core™ i7-7500U processor with GTX1050 Graphics.
Any advise would be appreciated.
depending on how much quality/efficiency you want.
for quality you probably pefer cpu encoding, so i7-7500 would be your choice.
in terms of gpu decoding/encoding i don't think there would be a significant difference between gtx 1060 and 1050. even my 1030 does a perfectly fine job at decoding 4k hevc 10bit streams
DaMacFunkin
7th February 2018, 14:27
depending on how much quality/efficiency you want.
for quality you probably pefer cpu encoding, so i7-7500 would be your choice.
in terms of gpu decoding/encoding i don't think there would be a significant difference between gtx 1060 and 1050. even my 1030 does a perfectly fine job at decoding 4k hevc 10bit streams
Mum thanks for that, what would the speed difference be between cpu encoding and nvenc?
Nvidia quotes the 1060 as having twice as many coda cores as the 1050?
deekey777
7th February 2018, 19:04
ffmpeg supports AMD's VCE (over AMF), https://ffmpeg.zeranoe.com/forum/viewtopic.php?t=4231#p12946
Is it possible to use it in StaxRip (instead of VCEEnc)?
CCaptain00
8th February 2018, 04:41
AVS Filters -> Edit Code
But I see now it converts to 8 bit by default. Edit from:
FFVideoSource("%source_file%", colorspace = "YUV420P8", \
cachefile = "%source_temp_file%.ffindex")
to;
FFVideoSource("%source_file%", cachefile = "%source_temp_file%.ffindex")
and try again.
Note that this may break certain filters.
This fixed my 10 bit encodes but seems to have broken my ability to add hardcoded subtitles. Has anyone else tested or experienced this? I have tested this on StaXrip 1.7.0.0 and 1.7.0.6. Should I try updating ffmpeg to 3.4.1?
sneaker_ger
8th February 2018, 13:45
It's probably possible to write a script that renders subtitles separately on alpha and overlay it onto the 10 bit video in AviSynth+.
But: since StaxRip supports VapourSynth you might want to try that. Should be easier than AviSynth since it supported 10 bit from the beginning.
CCaptain00
8th February 2018, 18:17
It's probably possible to write a script that renders subtitles separately on alpha and overlay it onto the 10 bit video in AviSynth+.
But: since StaxRip supports VapourSynth you might want to try that. Should be easier than AviSynth since it supported 10 bit from the beginning.
I will try Vapour Synth if my current test doesn't work. No clue on how to script that. I have been doing some investigating. It seems VSFilterMod is used for hardcoding subtitles. I found a revision (R5) of VSFilterMod here:
https://github.com/sorayuki/VSFilterMod/releases
29 days ago r5 … support YUV420P10 and YUV420P16 for vapoursynth.
sneaker_ger
8th February 2018, 18:39
VapourSynth has another subtitle renderer integrated. (I don't know if StaxRip uses that or VSFilter(Mod) by default.)
http://www.vapoursynth.com/doc/plugins/subtext.html
If you need updated build of VSFilterMod you can download it here:
https://www.nmm-hd.org/newbbs/viewtopic.php?f=17&t=1989
CCaptain00
8th February 2018, 20:33
VapourSynth has another subtitle renderer integrated. (I don't know if StaxRip uses that or VSFilter(Mod) by default.)
http://www.vapoursynth.com/doc/plugins/subtext.html
If you need updated build of VSFilterMod you can download it here:
https://www.nmm-hd.org/newbbs/viewtopic.php?f=17&t=1989
It took me awhile but it seems that installing and switching to vapoursynth fixed my issues.
1) 10 bit pipeline by default (at least using ffms2 as a source filter)
2) Hardcoded subtitles now work
*Bonus* I can hardcode SUP subtitles without converting to IDX
Gereral1
8th February 2018, 21:35
Using latest straxrip 1.7 64bit
Video encoding second pass using x265 2.5+14 failed with exit code: 1073807364 (0x40010004)
Happens with UHD 4k files on second pass. First pass on bitrate works fine. Cost me 30 hrs close to throwing this program out. Last test running bitrate and bitrate quality mode. If it fails then I'm uninstalling.
sneaker_ger
8th February 2018, 21:47
Always post the log when reporting problems.
I would at least update StaxRip + x265 before I try again if the problem is reproducable. (And I'd test with shortened file, like 10 seconds. Not encode 30 hours just for testing.)
https://github.com/stax76/staxrip/blob/master/changelog.md
https://forum.doom9.org/showpost.php?p=1832835&postcount=5882
8-BaLL
12th February 2018, 16:12
It is mentioned in the 1.7.0.2 version:
update: QTGMC 3.357
Was the update just for Avisynth or also Vapoursynth?
Also is the "FrameRateControl" script the latest 1.2 version in 1.7.0.6?
If I want to update scripts or encoders like x265, is it just enough to overwrite the versions in the folder?
One thing Ive noticed is (compared to 1.7.0.0) that the 1.7.0.6 version (with overwritten x265.exe in the folder by the newest version 2.6-37) was actually encoding slower than 1.7.0.0 at exactly same settings. Also I had a freeze (app crash) at like 50-60% or so.
Its something like 2.5 fps vs 1.5 fps speed difference.
The only script I was using is QTGMC within Vapoursynth (exactly same QTGMC preset), so I cant really tell if the slowdown was caused by newer x265 version or newer QTGMC version, because I think 1.7.0.0 has older version than 1.7.0.6, but Im not sure if only Avisynth version of it or also VS version was updated as well..
I know 1.7.0.6 is a beta build still. So for now I went back to 1.7.0.0 and will do some more comparisons... Other than that its a great program, esp. since QTGMC seems to work pretty consistently out of the box.
sneaker_ger
12th February 2018, 16:16
If I want to update scripts or encoders like x265, is it just enough to overwrite the versions in the folder?
Most of the time: yes. But sometimes there can be changes in the tools that require a deeper change within StaxRip.
Marban
13th February 2018, 20:35
new information about HDR-->SDR? i didnt saw it in the new beta version.
Khun_Doug
16th February 2018, 21:21
New Feature Request
Yes, I know Stax wants to retire and probably the last thing he wants to see is a new feature request. But I think this one might be easy to implement.
Would it be possible to make job entries for jobs that are two pass and three pass, and the same with lossless video, to appear as individual steps? That way a portion of the job would be allowed to complete and the remaining passes / steps can be held for later times when it is more convenient.
(some title):1 Create lossless video
(some title):2 x265 Pass 1
(some title):3 x265 Pass 2
Alternatively, as each part of a job is completed, have the job automatically pause, requiring a resume/continue. That would essentially accomplish the same thing.
phazer11
26th February 2018, 03:50
Just wanted to bump this to see if Stax or anyone else had any insights.
https://forum.doom9.org/showthread.php?p=1833012#post1833012
Khun_Doug
26th February 2018, 17:33
I can make a few suggestions, and point a few possibilities. First, I didn't see mention of what OS you are using. I use Win 10 and found some tweaks with Windows Defender. I added the executablles for X265, ffmpeg, AVSpipe... (it's a long name) to the process exclusion list. That has the effect of letting Defender operate as "hands off" when these things are running.
Another thing to try would be adding Prefetch at the end of the chain. That is essential for some filters.
Finally, if you are using X265, you already know that it may not be possible to reach 100% saturation of the CPU, just by the virtue of the way X265 works.
I hope that offers some help.
Neillithan
28th February 2018, 15:29
Feature Request: Can you make it so that I can move the primary window while a job is processing? Often times, I turn off my monitors and the main staxrip window moves back to my primary whenever I turn my primary monitor back on. Then, it gets stuck there for 8 hours while the job is processing because the window cannot be focused and moved.
Thanks!
DaMacFunkin
3rd March 2018, 08:33
Is there a setup that will allow me to use Nvenc to recode 4K 10 bit HEVC HDR to 1080p HEVC 8 bit sdr? I also have i7 7700u if that helps.
Thank You.
DaMacFunkin
10th March 2018, 09:09
Anybody please?
mparade
13th March 2018, 13:40
Hello Stax76,
Thanks for your amazing software.
Can StaxRip handle 3D sources like frame-packed mkv containers, 3DBD structures as sources?
My aim is to encode them either to HTAB format (I have a passive 4K TV) or to 2D format using NVenc with my 1080Ti card. Decoding of 3D portion was a problem earlier with StaxRip.
Thanks for the answer.
foxace
13th March 2018, 17:30
Hello Stax76
how to use this please ?
https://github.com/rigaya/NVEnc/issues/19
mparade
16th March 2018, 20:31
Hello Stax76
how to use this please ?
https://github.com/rigaya/NVEnc/issues/19
I tried this and worked. I had to copy the missing HDR metadata from x265 command line (StaxRip automatically inserts all the HDR metadata required by a HDR display) then paste them into the NVenc command line. But it is working with NVenc 3.33! Confirmed by mediainfo afterwards on the output stream.
foxace
18th March 2018, 08:19
@mparade thank you. I will test
ashlar42
18th March 2018, 16:02
I've tried searching but I've not found much in the way of clear univocal explanations.
Is there a way to ensure that StaxRip always uses MT versions of filters/scripts? I'm mainly interested in QTGMC multithreading. I've currently managed to get it working multithreaded (I think so, anyway) with:
SetFilterMTMode("DEFAULT_MT_MODE", 2)
FFVideoSource("MySource.mkv", colorspace = "YV12", \
cachefile = "MySource.ffindex")
QTGMC(Preset = "Medium").SelectEven()
Prefetch(6)
I use a i7 4770K, with 32GB of RAM. Is the above correct? Is there a way to tell StaxRip to always work in MT mode through the GUI? Also, is there a consensus on whether it's easier to get a portable installation using Avisynth+ or VapourSynth? Is VS supposed to be more future proof, hence worth moving to it for all encoding purposes? I'm currently staying with Avisynth+. Thanks to anybody that will try to help.
Khun_Doug
19th March 2018, 16:42
I think the PreFetch tool is the key to what you want. Some filters get no benefit to using PreFetch, while others get drastic improvement. I believe the answer is that StaxRip is always in MT mode, but the PreFetch command is necessary to determine how the MT is invoked. I found it necessary to use PreFetch with mClean.
Depending on your source content, PreFetch (6) may not be sufficient. I am using an i7-6850K, 12 threads. With SD content, the PreFetch (6) is good. But for HD content I needed to go to PreFetch (8) and sometime PreFetch (10). YMMV, but experiment.
Lastly, if you are using filters that require PreFetch and you are doing two or three pass encodes, I highly recommend using the option to save as lossless AVI. I have a few encodes that were three pass X265 with mClean and PreFetch(6). Without the lossless AVI option, I would be running that filter across the same content three times! This way, it is one pass and then the real encoding can begin without sucking up the CPU unnecessarily.
ashlar42
19th March 2018, 17:42
Depending on your source content, PreFetch (6) may not be sufficient. I am using an i7-6850K, 12 threads. With SD content, the PreFetch (6) is good. But for HD content I needed to go to PreFetch (8) and sometime PreFetch (10). YMMV, but experiment.Having a 4770K, which offers 8 threads, I think 6 is similar to you choosing 8 (out of 12). Am I wrong?
Still, it's quite... surprising that no GUI options are in StaxRip to handle multithreading. It leaves me with the constant doubt whether it's working or not.
Also, what you are saying about AVI lossless flew right above my head. As mentioned I need MT for QTGMC. And yes, this specific time I'm encoding with 2-pass, as I couldn't for the life of me manage to get enough compression when using CRF with the settings I needed trying to preserve the grain in the original source.
StaxRip is currently running, so I won't "disturb it" to check but I'm not sure I understand. AVI lossless would lead to a HUGE file if it's really lossless. We're talking about 1h42m 1080i video content (29,97 fps). How much space would it require to be saved losslessly?
A single screen saved as PNG lossless takes 3.9 MB.
183,416 frames would take about 715GB. Is that what you are talking about, more or less?
foxace
19th March 2018, 20:40
I tried this and worked. I had to copy the missing HDR metadata from x265 command line (StaxRip automatically inserts all the HDR metadata required by a HDR display) then paste them into the NVenc command line. But it is working with NVenc 3.33! Confirmed by mediainfo afterwards on the output stream.
please post screenshot, do not work for me
proper88
21st March 2018, 21:22
HDR metadata missing when encoding with QSVEnc (there are no option to enter the values manually, i think you also have to update QSVEnc to version 2.75)
Natty
26th March 2018, 12:19
has anyone managed to use 16bit hack in staxrip ?
sneaker_ger
26th March 2018, 13:38
StaxRip already supports high bitdepth via VapourSynth.
For AviSynth(+) it's just a matter of you editing the script in the right way.
https://forum.doom9.org/showthread.php?p=1832342#post1832342
nandoom
5th April 2018, 15:55
Just tried to do TS - Mkv remux but it failed and Staxrip crashed. Not sure if is a bug or something else is wrong. Any idea?
Error ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 (1.7.0.0)
ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 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.
------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 -------------
C:\Users\SA\Downloads\StaxRip-x64-1.7.0.0-stable\Apps\ffmpeg\ffmpeg.exe -i "C:\Users\SA\Videos\DN.ts" -c:a copy -c:v copy -sn -y -hide_banner "C:\Users\SA\Videos\DN\DN.mkv"
[h264 @ 0000000000517160] Increasing reorder buffer to 2
[mpegts @ 00000000004f2400] start time for stream 2 is not set in estimate_timings_from_pts
[mpegts @ 00000000004f2400] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 00000000004f2400] start time for stream 4 is not set in estimate_timings_from_pts
Input #0, mpegts, from 'C:\Users\SA\Videos\DN.ts':
Duration: 01:28:26.62, start: 0.200000, bitrate: 8804 kb/s
Program 671
Stream #0:0[0x1a37]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1a38](rum): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:2[0x1a39](rum): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:3[0x1a3a](hun): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:4[0x1a3b](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, matroska, to 'C:\Users\SA\Videos\DN..._temp\DN.mkv':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn, 90k tbc
Stream #0:1(rum): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[matroska @ 00000000004fa4c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 00000000004fa4c0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
video:1067317kB audio:24702kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.052423%
Conversion failed!
StaxRip.ErrorAbortException: ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 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.
------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.3 -------------
C:\Users\SA\Downloads\StaxRip-x64-1.7.0.0-stable\Apps\ffmpeg\ffmpeg.exe -i "C:\Users\SA\Videos\DN.ts" -c:a copy -c:v copy -sn -y -hide_banner "C:\Users\SA\Videos\DN.mkv"
[h264 @ 0000000000517160] Increasing reorder buffer to 2
[mpegts @ 00000000004f2400] start time for stream 2 is not set in estimate_timings_from_pts
[mpegts @ 00000000004f2400] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 00000000004f2400] start time for stream 4 is not set in estimate_timings_from_pts
Input #0, mpegts, from 'C:\Users\SA\Videos\DN.ts':
Duration: 01:28:26.62, start: 0.200000, bitrate: 8804 kb/s
Program 671
Stream #0:0[0x1a37]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1a38](rum): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:2[0x1a39](rum): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:3[0x1a3a](hun): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:4[0x1a3b](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, matroska, to 'C:\Users\SA\Videos\DN.mkv':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn, 90k tbc
Stream #0:1(rum): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[matroska @ 00000000004fa4c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 00000000004fa4c0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
video:1067317kB audio:24702kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.052423%
Conversion failed!
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 338
at StaxRip.CommandLineDemuxer.Run(Project proj) in D:\Projekte\VS\VB\StaxRip\General\Demux.vb:line 207
at StaxRip.MainForm.Demux() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 3119
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1962
NikosD
10th April 2018, 11:25
Hi everybody,
I uploaded a tiny update with few updated tools.
https://github.com/stax76/staxrip/blob/master/changelog.mdHello Frank.
I hope everything is fine for you.
Any plans of a new maintenance update (new versions/ switches) ?
TIA
Magik Mark
25th April 2018, 23:35
Looks like Frank has lost his enthusiasm in this project as he indicated that other parties may continue his work
Does anybody know and encoder that offers the same functionality as staxrip besides "Hybrid"?
Khun_Doug
26th April 2018, 01:41
Someone took over the idled VirtualDub project. It does have some flexibility but not the caliber of StaxRip. It would be really nice if VirtualDub could incorporate part of StaxRip. One of the biggest drawbacks to VirtualDub is the lack of updated X265 VFW (video for windows). The X264 VFW seems to be current. There are 32 bit and 64 bit versions available.
If someone takes over the StaxRip project, I might be able to help with some parts. I am familiar with coding but not the specific language that StaxRip is written in. I'm not adverse to learning a new language though :)
mariush
26th April 2018, 13:02
Virtualdub offers the option to send the output to an external encoder. Set the output to the proper format (for example uncompressed YV12) and set the command line parameters to tell x265 to expect the same format as input, and then virtualdub can send the frames to the external encoder.
See https://forum.doom9.org/showthread.php?t=171141
dev84
28th April 2018, 10:05
Hello
I'm in a dire need of Your help :)
I got myself a new dslr camera, with which i'm very happy.
The only thing is that, it records videos so soft that it "hurts" my eyes ;)
I tried "limitedsharpenfaster", "awarpsharp2", "msharpen" - nothing works, that i could say that it is, how it was suppose to be.
So, after some time i found a solution that does sharpening that i'm very happy with.
The solution is "sharpen" in shaders in MPC-HC - it does excellent job with this camera input.
Finally to the question; how to use pixel shader sharpen from MPC-HC with StaxRip?
I have found this:
https://github.com/mysteryx93/AviSynthShader
but i'm to stupid to make it work.
Can someone explain to me like a child step by step if it's possible and how exactly to do this?
Thank You
Paweł
MysteryX
29th April 2018, 19:20
Adding a pixel shader into Avisynth isn't easy. First, this works with Pixel Shader 3.0 language, which runs on old DirectX 9. *IF* the shader is a PS_3_0 shader, and you have access to its source code, then you need to compile it correctly, and then import it into AvisynthShader. It's easier to compile the shader manually, and then when that works, try to import it into AvisynthShader -- otherwise if you try to load the script directly there will probably be compile errors and you won't know what's going on.
Here you can see how I'm compiling shaders from source files.
https://github.com/mysteryx93/AviSynthShader/tree/master/Src/Shaders/Src
dev84
29th April 2018, 19:25
Thx MysteryX unfortunately i had never compiled anything in my life so i really don't know where to even start with this.
Paweł
Vincent Vega
29th April 2018, 23:20
hi guys, its my first time trying to use staxrip and nvenc, mostly just curious what's possible for hevc with this older card i have.
used default QP settings for now, will adjust that later.
i just want to ask about hardware crop/resize, and what settings maybe could further improve performance (but quality is still priority).
(a)
so (with nvenc native decoder setting) i have these keys in command line:
--crop []
--vpp-resize [] --output-res []
both crop/resize are done by gpu, so just need some clarification about the resizing part..
the pic for "NVEnc 3.xx" from rigaya's post here (https://rigaya34589.blog.fc2.com/blog-entry-832.html) shows i think two possible resizing methods, either the original cuvid hw decode -> hw resize, or cuda filter -> resize (e.g. spline, lanczos and others), the latter supposedly higher quality (right?), so i guess its the one i'd want to use (i downloaded the npp*64_80.dlls and put in folder with encoder).
so in command line how to tell which resizer is activated? from what i see in the UI it appears that:
--output-res param only --> means the old cuvid hw decode -> hw resize will be used
--output-res and --vpp-resize params both --> means cuda filter -> resize will be used
is that correct or not?
(b)
is ~250fps ok for 1080p h264 decode -> 720p h265 encode by gm206 (gtx960 4gb)?
is more speed possible without much quality loss / size increase?
thanks!
and big :thanks: so much to stax and rigaya for these great softwares, its excellent work, thank you guys for all your time and effort!
my log:
NVEncC64.exe --cqp 18:20:22 --codec h265 --preset quality --ref 5 --lookahead 32 --aq --cuda-schedule auto --output-buf 128 --vpp-resize lanczos --mv-precision q-pel --cabac --crop 0,20,0,20 --output-res 1280x688 -i "some-path-1\in.mkv" -o "some-path-2\out_out.h265"
NVEncC (x64) 3.22 (r663) by rigaya, Sep 23 2017 09:17:29 (VC 1900/Win/avx2)
OS Version Windows 10 x64 (16299)
CPU Intel Core i7-6700K @ 4.00GHz [TB: 4.19GHz] (4C/8T)
GPU #0: GeForce GTX 960 (8 EU) @ 1367 MHz (397.31)
NVENC / CUDA NVENC API 8.0, CUDA 9.2, schedule mode: auto
Input Buffers CUDA, 36 frames
Input Info avcuvid: H.264/AVC, 1920x1080, 24000/1001 fps
Vpp Filters cspconv(nv12 -> yv12)
resize(lanczos): 1920x1040 -> 1280x688
cspconv(yv12 -> nv12)
Output Info H.265/HEVC main @ Level auto
1280x688p 1:1 23.976fps (24000/1001fps)
Encoder Preset quality
Rate Control CQP I:18 P:20 B:22
Lookahead on, 32 frames, Adaptive I, B Insert
GOP length 240 frames
B frames 0 frames
Ref frames 5 frames, LTR: off
AQ on
CU max / min auto / auto
Others mv:Q-pel
encoded 151105 frames, 254.39 fps, 12814.60 kbps, 9627.57 MB
encode time 0:09:53, CPU: 1.3, GPU: 34.3, VE: 97.8, GPUClock: 1468MHz, VEClock: 1202MHz
frame type IDR 1030
frame type I 1030, total size 177.88 MB
frame type P 150075, total size 9449.69 MB
Start: 9:09:51 PM
End: 9:19:48 PM
Duration: 00:09:56
General
Complete name : some-path-2\out_out.h265
Format : HEVC
Format/Info : High Efficiency Video Coding
File size : 9.40 GiB
Video
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L3.1@Main
Width : 1 280 pixels
Height : 688 pixels
Display aspect ratio : 1.85:1
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
JohnLai
30th April 2018, 03:43
hi guys, its my first time trying to use staxrip and nvenc, mostly just curious what's possible for hevc with this older card i have.
used default QP settings for now, will adjust that later.
i just want to ask about hardware crop/resize, and what settings maybe could further improve performance (but quality is still priority).
(a) Yes, you are correct. From your log, it appears Nvidia NPP was used as the GPU load was 34.3%. Only NPP usage will result in 30%++ after taking account of Lookahead and AQ. The default cuvid hw decode -> hw resize + LA + AQ generally result in 15%++ GPU usage for GTX960
(b) Instead of CQP, use VBR-Target quality mode.
https://i.imgur.com/k9Shlwr.png
The difference = don't enable weighted P-prediction (GTX960 doesn't support it), select 8bit, change those two bitrates based on your chosen Profile Level (L4.1 = 17500, L5.1 = 38400) and follow the rest.
Finally, play with the VBR Quality value. This rate control mode is a bit slower than CQP, but provide better quality.
Vincent Vega
30th April 2018, 11:53
thank you for detailed answers and suggestions sir, will give it a try right away.
one more thing that seemed less convenient with staxrip is limitatation of min 1% error in aspect ratio before it is signaled to encoder/muxer.
in that test it was 0.78% so it was ignored, so i ended up with video playing as 1280*688 while it should have been 1270*688, so had to use mmg header editor to fix it.
i mean yeh some people may not notice the difference but i do, i wish the min threshold for AR error could be made lower in staxrip.
and another related question, it seems to suggest mod8 resolutions by default, would it be safe to try lower options like mod4/mod2 with h265 hw encoder, could it cause any potential trouble with encoder (or decoders later) or significantly slow down encoding or something? i just thought doing that could minimize AR errors from crop/resize, help with that previous issue a bit.
JohnLai
30th April 2018, 12:33
thank you for detailed answers and suggestions sir, will give it a try right away.
one more thing that seemed less convenient with staxrip is limitatation of min 1% error in aspect ratio before it is signaled to encoder/muxer.
in that test it was 0.78% so it was ignored, so i ended up with video playing as 1280*688 while it should have been 1270*688, so had to use mmg header editor to fix it.
i mean yeh some people may not notice the difference but i do, i wish the min threshold for AR error could be made lower in staxrip.
and another related question, it seems to suggest mod8 resolutions by default, would it be safe to try lower options like mod4/mod2 with h265 hw encoder, could it cause any potential trouble with encoder (or decoders later) or significantly slow down encoding or something? i just thought doing that could minimize AR errors from crop/resize, help with that previous issue a bit.
No idea on the first.
For the second, probably you will cause nvidia cuvid decoder to send few green lines to nvenc with "inappropriate" resolution.
Monty11
3rd May 2018, 05:04
I have used StaxRip 1.7.0.0 on a Widows 7 64-bit computer to convert six NTSC DVDs derived from a PAL source. I used MakeMKV to rip them, then ran StaxRip with IVTC and QTGMC Medium x264 High 4.2 with the six jobs in the StaxRip jobs queue (and On Completion = shutdown). All six output files seem to be OK (frame rate 47.952), but there is a file "crash.srip" in the output folder - why? I attach the log file for the last of the six jobs. Exactly the same thing happened when I converted six other NTSC DVDs from a PAL source on another Windows 7 64-bit computer (there was a "crash.srip" file in the output folder). Thank you for making StaxRip available - it's a wonderful program.
Revan654
6th May 2018, 01:48
I have used StaxRip 1.7.0.0 on a Widows 7 64-bit computer to convert six NTSC DVDs derived from a PAL source. I used MakeMKV to rip them, then ran StaxRip with IVTC and QTGMC Medium x264 High 4.2 with the six jobs in the StaxRip jobs queue (and On Completion = shutdown). All six output files seem to be OK (frame rate 47.952), but there is a file "crash.srip" in the output folder - why? I attach the log file for the last of the six jobs. Exactly the same thing happened when I converted six other NTSC DVDs from a PAL source on another Windows 7 64-bit computer (there was a "crash.srip" file in the output folder). Thank you for making StaxRip available - it's a wonderful program.
Can't look at the log since it requires approval from the site. I know a few people were having issues with Mediainfo not reading the final output correctly.
Also I recall someone having the encoding software crash due to the framerate, Even someone using Vegas had it crash due to the framerate not being up to the encoders standard. That could be the main reason for the crash file.
You may want to convert 47.952 to a solid 48fps and see what happens.
katzenjoghurt
10th May 2018, 11:39
Hey,
In version 1.7.0.6 I spot the following behaviour:
I had several videos with a resolution of of 1920x1038.
After importing them "Crop" was preselected and the resolution was resized to 1920x1036.
https://www2.pic-upload.de/img/35300994/bad_crop.png
Version 1.7.0.4 was fine.
It's a bit annoying as it can easily be overlooked.
K.i.N.G
10th May 2018, 22:05
Anyone knows how to apply HDR to SDR tonemapping in staxrip?
imhh11
17th May 2018, 19:33
2 questions
Can Staxrip uncrop a video ( add black bar) ?
Is there a way to add madvr algorithms for HDR to SDR tonemapping in staxrip?
thank you
K.i.N.G
18th May 2018, 10:17
2 questions
Can Staxrip uncrop a video ( add black bar) ?
Is there a way to add madvr algorithms for HDR to SDR tonemapping in staxrip?
thank you
I know staxrip supports vapoursynth and I found info on how to do it with vapoursynth... (i think it was on these forums somewhere, but i'll have to recheck that).
Problem is i don't know how to exactly apply the syntax in staxrip.
I tried to the best of my very limited abilities but failed.
imhh11
18th May 2018, 16:29
I really hope someone can find a way because I did some testing with a capture card and the results are truly amazing.
I can go as low as a 4000kbps bitrate and it still looks a lot better than the full bluray 1080p remux.
http://screenshotcomparison.com/comparison/113867
Yanak
19th May 2018, 09:24
Hi,
for the second question i don't know sorry, but for the first one ( if I understood it correctly ) it's rather easy to add black bars to a video:
Let's say the video is 1920x800 and you want to add black bars at the top and bottom to have it in 1920x1080, you just need to add a avisynth filter into staxrip :
AddBorders(0, 140, 0, 140, color_black)
The numbers values are the size in pixels for the left, top, right, bottom, so if we want 1080p from a 800p we do:
1080-800=280, 280/2=140, and we then add 140px black border at the top and bottom.
Is it also possible to create a filter that should do this automatically and you don't have to calculate stuff, should work on most videos having a height inferior to 1080p ( as long as the height is not an uneven number like 799, should be an even height number to work) :
In the filters list do a right click > Profiles :
https://i.imgur.com/S5suOVI.png
Go to "Resize" section (can be placed elsewhere too ), and copy-paste this :
Add Borders 1080p = AddBorders(0, (1080 - %source_height% )/2, 0, (1080 - %source_height% )/2, color_black)
like this :
https://i.imgur.com/9r793sZ.png
Then the next time you have a video with less than 1080p height you can just use this filter to automatically add top and bottom borders and make it 1080p using the existing filter :
https://i.imgur.com/i7N3867.png
Of course this can be extended or modified for right + left borders or other final video sizes with black borders. A "Dynamic" filter with multiples choices can be done to automatically add borders into a SD video and turn it into 720p or 1080p, adding if needed borders on the right and left sides + top and bottom, not something i use but it's possible to create such thing in Staxrip without much hassle if it's what you need.
Not sure if i understood your first question correctly and if that's what you wanted, if not just let me know, i'll try to see what i can do :)
imhh11
19th May 2018, 14:57
yes this is exactly what i wanted to do . thank you so much !!
Revan654
19th May 2018, 20:14
Anyone knows how to apply HDR to SDR tonemapping in staxrip?
yes, there a few ways. This seems to work the best:
You need will need the latest avsresize and DGTonemap filters.
It supports two of the more commonly used tonemapping.
ConvertBits(10)
z_ConvertFormat(pixel_type="RGBPS",colorspace_op="2020ncl:st2084:2020:l=>rgb:linear:2020:l", dither_type="none")
#DGReinhard()
#or
#DGHable()
z_ConvertFormat(pixel_type="YV12",colorspace_op="rgb:linear:2020:l=>709:709:709:l",dither_type="ordered")
prefetch(4)
gonca
20th May 2018, 00:06
yes, there a few ways. This seems to work the best:
You need will need the latest avsresize and DGTonemap filters.
It supports two of the more commonly used tonemapping.
If going that route you should consider DGHDRtoSDR.
It is more up to date
Either way, the input should be an avs file, unless you can get StaxRIP to use the filters directly
Revan654
21st May 2018, 23:03
If going that route you should consider DGHDRtoSDR.
It is more up to date
Either way, the input should be an avs file, unless you can get StaxRIP to use the filters directly
Do you have link to DGHDRtoSDR filter? Google is not showing anything for that name. Also tried github also got no results.
As for Staxrip just drop the filter into Avisynth folder and it will load when called in Staxrip.
you can also alter the source code.
gonca
21st May 2018, 23:38
http://rationalqm.us/board/viewtopic.php?f=14&t=617
Look toward end of thread
If you read through the thread you will find two or three different solutions
IbrahimKh
23rd May 2018, 16:42
http://rationalqm.us/board/viewtopic.php?f=14&t=617
Look toward end of thread
If you read through the thread you will find two or three different solutions
thanks
I found the links
now how do I apply them into staxrip? I mean what should I do to import etc?
gonca
23rd May 2018, 21:08
Have StaxRIP use the filters directly if possible
I just create my own avisynth script and use that as input for StaxRIP
IbrahimKh
24th May 2018, 14:30
Have StaxRIP use the filters directly if possible
I just create my own avisynth script and use that as input for StaxRIP
how to create avisynth script for staxrip?
gonca
24th May 2018, 21:30
LoadPlugin("C:/Program Files (Portable)/dgdecnv/x64 Binaries/DGDecodeNV.dll")
DGSource("__vid__", fieldop=0, fulldepth=True)
LoadPlugin("C:/Program Files (Portable)/AVS Templates/DGHDRtoSDR/x64/DGHDRtoSDR.dll")
DGHDRtoSDR(impl="255",tm="gamma",light=40,gamma=0.40)
prefetch(16)
For __vid__ use the name of your video
Choose whichever source filter you like
Or someone who puts custom filters into StaxRip can help you in that route
Revan654
24th May 2018, 23:35
http://rationalqm.us/board/viewtopic.php?f=14&t=617
Look toward end of thread
If you read through the thread you will find two or three different solutions
Thanks, I can't get the dll to load correctly, I keep getting return of bad module(This is with only LoadPlugin and no functions added yet).
thanks
I found the links
now how do I apply them into staxrip? I mean what should I do to import etc?
Drop the filters into Avisynth+ 64bit directory.
Staxrip part:
Right Click Profile:
[Misc]
Other filters
HDRtoSDR= DGHDRtoSDR(impl="255",tm="gamma",light=40,gamma=0.40)
It will now show up under Misc.
When you select SDRtoHDR filter it should autoload the dll file for the script.
As I said in previous comment I'm having issues getting the dll file to load. I can't test it to see if it loads correctly or not.
gonca
24th May 2018, 23:54
Are you using the 64 or 32 bit dll?
Do you have a NVidia GPU?
Try changing "255" to "sw"
videoh
25th May 2018, 15:08
As I said in previous comment I'm having issues getting the dll file to load. Re-download and run with impl="sw". The nvcuda.dll has been configured for delay loading, which should allow DGHDRtoSDR to be loaded and run on a system without an nVidia card and driver.
Be warned that software mode is slow.
Atak_Snajpera
25th May 2018, 16:39
Too bad that DGHDRtoSDR still supports CUDA (Locked down API) only instead of OpenCL. Intel iGPU and AMD iGPU/dGPU users are being totally ignored in this case. I wish that some day apis like CUDA and DX12 will just die.
Revan654
25th May 2018, 20:52
Re-download and run with impl="sw". The nvcuda.dll has been configured for delay loading, which should allow DGHDRtoSDR to be loaded and run on a system without an nVidia card and driver.
Be warned that software mode is slow.
The dll will not even load, I don't even have the function in the script.
I tried to use Sw still getting the same error.
This user is getting the same errors: http://rationalqm.us/board/viewtopic.php?f=14&t=617&sid=b37e654031da82b86b7fb9d33004e7e6&start=310#p8482
videoh
25th May 2018, 21:05
The dll will not even load, I don't even have the function in the script. You give no script and no error message. Nothing to work with there.
I'll try it on my notebook PC, which has no nVidia.
This user is getting the same errors Yes, and I gave him the solution.
videoh
25th May 2018, 21:08
Intel iGPU and AMD iGPU/dGPU users are being totally ignored in this case. Correct, I'm an nVidia fanboy.
It's not rocket science; somebody can write one for OpenCL if they want it. The specs for the transformations are all available.
videoh
25th May 2018, 21:23
I'll try it on my notebook PC, which has no nVidia. Loads and runs fine for me. Also working for douzi at my forum.
Do you have Avisynth+ installed together with its redistributables? Use AVSMeter to check the installation.
Atak_Snajpera
26th May 2018, 10:40
Correct, I'm an nVidia fanboy.
It's not rocket science; somebody can write one for OpenCL if they want it. The specs for the transformations are all available.
I guess it is a rocket science since author chose to not support that "evil OpenCL".
videoh
26th May 2018, 13:46
It's about time and lack of interest, not complexity.
foxace
29th May 2018, 12:03
@stax76 hello, please add support the last nvenc HDR metadata function.
thanks you
Vesdaris
1st June 2018, 10:43
Could someone, please, post (screenshots or just text) recommended QSvenc settings for each tab for maximum "quality" encode?
I've tried searching this topic but I'm having problems finding this info
I've got 3770k cpu, so I suppose some settings are not supported.
Thank you.
PS If it's too much of a trouble then link with a detailed description of all qsvenc stax rip settings would do.
Revan654
3rd June 2018, 02:29
@stax76 hello, please add support the last nvenc HDR metadata function.
thanks you
Not sure if stax76 is even updating the software anymore.
I forked the project and added in the HDR code functions in very quickly. I don't have access to Nvidia card to test it right now. It should send the flags correctly. Not sure if quotes are needed or not.
Link: https://github.com/Revan654/staxrip/blob/master/Encoding/NVEnc.vb
Not 100% sure how Nvidia encoder differs from the software based encoder. I couldn't find proper documentation on all the function the GPU has.
Not sure if everything has been added to create HDR10 file. Mediainfo has been inaccurate when it comes to HDR10 files.
Software encoding for HDR10 requires additional flags, Which NVENCc does not have as of yet.
Revan654
3rd June 2018, 02:37
Could someone, please, post (screenshots or just text) recommended QSvenc settings for each tab for maximum "quality" encode?
I've tried searching this topic but I'm having problems finding this info
I've got 3770k cpu, so I suppose some settings are not supported.
Thank you.
PS If it's too much of a trouble then link with a detailed description of all qsvenc stax rip settings would do.
All the Flags that can be used, It also has some examples of usage: https://github.com/rigaya/QSVEnc/blob/master/QSVEncC_Options.en.md
HEVC/H.265 requires Skylake or newer. You are locked to x264.
Natty
18th June 2018, 08:56
is this official developer of staxrip now?
https://github.com/Revan654/staxrip/releases
luigizaninoni
18th June 2018, 14:42
Not sure if stax76 is even updating the software anymore.
I forked the project
Link: https://github.com/Revan654/staxrip/blob/master/Encoding/NVEnc.vb
Well done !! I thought Staxrip was dead ... :thanks:
Magik Mark
18th June 2018, 14:45
Revan654
Is it possible for you to update the x265 switches as well?
What's a good option for hdr to sdr conversation?
Sent from my iPhone using Tapatalk
Taurus
18th June 2018, 16:48
@Revan654:
Thanks for bringing StaxRip back to life :D!:thanks:
Revan654
18th June 2018, 17:15
is this official developer of staxrip now?
https://github.com/Revan654/staxrip/releases
It's my own modded version with allot of changes to filters and such. Add small little tweaks here and there. Still tweak the filter list, it's hard to test for every combination possible. I Had to update and compile some of the filters myself, They would not run on 64bit machines. Some of the scripts have been tweaked since they would not load. With MCTemporalDenoise being the hardest to get up and running, It would not get along with the other filters.
Revan654
18th June 2018, 17:21
Revan654
Is it possible for you to update the x265 switches as well?
What's a good option for hdr to sdr conversation?
Sent from my iPhone using Tapatalk
I've added the AVX512 to it already. Some of the newer options I need to search more to see how they suppose to work and where there placed. Some of the menu's I'm running out of room to add more options. I might have to add a part to some of the tabs.
If you want a certain option to be added, post what it is and where it's placed. Any details about.
Best option would be the use of a 3Dlut with proper settings applied. That of course requires HDRColor filter and 3Dlut. HDRColor is not a free filter.
The next best option would be HDRtoSDR filter
Link: http://rationalqm.us/board/viewtopic.php?f=14&t=617&sid=3fd18f8666328b5f2decdef422294e46&start=330
The DGMaptoning Filter also works well ( I kind I prefer it over the newer HDRtoSDR filter).
Link: http://rationalqm.us/mine.html
Use Dither tool to resize if any is needed.
------------
One side note, due to the changes in mediainfo for Master-Display will not auto-load anymore. Since mediainfo removed the color coordinates. It only shows the colorspace now.
I removed ProjectX completely from Staxrip, there are better option to use now then that. Plus who runs java anymore?
Revan654
18th June 2018, 18:04
- Last post
- If anyone wants certain filters (must be 64Bit) added to the core. Post what they are with link and there default syntax.
- If anyone has suggestions on any additional features (That can be done within the realm of MVS2017). Do post your suggest and I will take a look and see if it's possible to do.
- or any other changes or tweaks. Post your your suggestions and I will take a look at them.
NikosD
18th June 2018, 19:04
Hello.
I think there are new versions of QSVEnc v3.06 and NVEnc v4.07.
Maybe you could take a look if they add new switches, as well.
Revan654
18th June 2018, 21:41
Hello.
I think there are new versions of QSVEnc v3.06 and NVEnc v4.07.
Maybe you could take a look if they add new switches, as well.
Those have already been added. The new version has introduced some issues as well. Mainly with QSVEnc, The documentation is either faulty or code is buggy. It's having problems processing certain colorspace.
NikosD
18th June 2018, 21:46
Those have already been added. The new version has introduced some issues as well. Mainly with QSVEnc, The documentation is either faulty or code is buggy. It's having problems processing certain colorspace.You could definitely reach the developer (rigaya) he is all ears.
Writing a comment or directly with an email.
https://rigaya34589.blog.fc2.com/blog-entry-1031.html?sp
You seem very active and someone who knows what he is talking about.
Revan654
18th June 2018, 21:55
You could definitely reach the developer (rigaya) he is all ears.
Writing a comment or directly with an email.
https://rigaya34589.blog.fc2.com/blog-entry-1031.html?sp
You seem very active and someone who knows what he is talking about.
I did try to contact him, But haven't heard back from him. I even tried by creating a post in the issue section on the project.
I have no idea if there an issue since I don't speak Japanese.
NikosD
18th June 2018, 22:00
I did try to contact him, But haven't heard back from him.
I have no idea if there an issue since I don't speak Japanese.No that's not an issue.
He speaks English as well, but he is a slow responder sometimes.
Did you email him ?
Revan654
18th June 2018, 22:06
No that's not an issue.
He speaks English as well, but he is a slow responder sometimes.
Did you email him ?
I believe I did, maybe E-mail didn't all the way through or it was flagged as spam (I use Yahoo).
tyler durdan
19th June 2018, 13:26
Does this new version support 10 bit HDR conversion for 4k without having to tweak anything?
Thanks
paauw
19th June 2018, 14:46
Can you update gui options for QSVencc, like LA ICQ and other settings ?
Khun_Doug
19th June 2018, 15:07
I just downloaded the 1.8.2.0 build. Simple job and setup. Read a HD file, crop it, apply mClean, and PreFetch. Works solid in the older 1.7.0.6 build. In 1.8.2.0 the preview fails and the entire app crashes. If I omit the PreFetch it will preview but ever so slowly. I can screen snip the exception information from the preview if needed.
luigizaninoni
19th June 2018, 17:48
I just downloaded the 1.8.2.0 build. Simple job and setup. Read a HD file, crop it, apply mClean, and PreFetch. Works solid in the older 1.7.0.6 build. In 1.8.2.0 the preview fails and the entire app crashes. If I omit the PreFetch it will preview but ever so slowly. I can screen snip the exception information from the preview if needed.
The same here (crashes even without prefetch)
Another issue with MCTD, says:
cannot load file c:/ .../FFT3DGPU.dll. Platform returned code 126. The specified module could not be found.
Also, the script tries to load both
LoadPlugin("C:\Users\luigi\Desktop\media\Stax1820\Apps\Plugins\avs\FFT3DFilter\fft3dfilter.dll")
LoadPlugin("C:\Users\luigi\Desktop\media\Stax1820\Apps\Plugins\avs\FFT3DGPU\FFT3dGPU.dll")
which seems not necessary
Revan654
19th June 2018, 19:51
The same here (crashes even without prefetch)
Another issue with MCTD, says:
cannot load file c:/ .../FFT3DGPU.dll. Platform returned code 126. The specified module could not be found.
Also, the script tries to load both
LoadPlugin("C:\Users\luigi\Desktop\media\Stax1820\Apps\Plugins\avs\FFT3DFilter\fft3dfilter.dll")
LoadPlugin("C:\Users\luigi\Desktop\media\Stax1820\Apps\Plugins\avs\FFT3DGPU\FFT3dGPU.dll")
which seems not necessary
There is allot of code in that script, The actual script isn't written by me.
I made some new tweaks hopefully it will help in the long run. It will be included in the next release. That script was nothing but a PIA to get up and running.
The issue is the script sees GPU dll and auto loads it. I believe the script requires it or it will not even load. I have to take a closer look at the script when I get a chance to see what it does.
Platform returned code 126. The specified module could not be found. That happens when you don't have a GPU that supports the filter or wrong syntax for the filter.
Revan654
19th June 2018, 19:54
I just downloaded the 1.8.2.0 build. Simple job and setup. Read a HD file, crop it, apply mClean, and PreFetch. Works solid in the older 1.7.0.6 build. In 1.8.2.0 the preview fails and the entire app crashes. If I omit the PreFetch it will preview but ever so slowly. I can screen snip the exception information from the preview if needed.
It's mclean, the new version is a bit unstable. Half the time I get a blank screen. I was going to remove it but, people like that filter so I left it in.
Post the script your using and I will test it at my end.
Revan654
19th June 2018, 20:00
Does this new version support 10 bit HDR conversion for 4k without having to tweak anything?
Thanks
The changes I made to this was designed to work with HDR content.
I have loaded a uncompressed 4K HDR file into the software and it loaded without any issues. Just make sure you pick a proper filter for your source file.
*Note* Everything was tested on a Rec.2020 HDR monitor, the picture may be a bit dim due to ST.2084 and not having a HDR monitor. That is normal when view it on a SDR monitor.
Revan654
19th June 2018, 20:02
Can you update gui options for QSVencc, like LA ICQ and other settings ?
Some new options have been added. I have to wait for a newer version since there currently problems with the latest version.
paauw
20th June 2018, 08:32
Some new options have been added. I have to wait for a newer version since there currently problems with the latest version.
I forgot to mention that i missed the options with intel h265....h264 has all this options...
in xmedia recode the options are working
Revan654
20th June 2018, 20:21
I forgot to mention that i missed the options with intel h265....h264 has all this options...
in xmedia recode the options are working
xmedia uses an older version, Which does work. It's the newer versions that having issues. You can replace the current version with an older versions and everything should work. I know one user said he got everything to work with an older version.
The biggest issue right now it the colorspace flags. The sourcecode/.EXE and the documentation released with it are not matching up. Documentation claims X feature works, However even when you try to run outside of staxrip it still fails to run.
There not much I can do about this until the corrections are made.
mparade
21st June 2018, 07:40
One side note, due to the changes in mediainfo for Master-Display will not auto-load anymore. Since mediainfo removed the color coordinates. It only shows the colorspace now.
Hello Revan654,
I would like to reencode my HDR10 sources with StaxRip.
All HDR parameters required for the encoder should manually be inserted to the x265 command line again? Isn't there any workaround out there then? Manual inserting would slow down my projects significantly.
paauw
21st June 2018, 08:58
revan,
What i ment with my wish, is if you can change the gui stacrip offers to alter the setting for h265 to have the same choices like in h264 intel qsv.
I did not wanted tohe HDR stuff, but would like more options to be available in h265 settings like LA-ICQ...
H265 is becoming popular and these settings are missing in the staxrip gui.
Can you make that ?
easyfab
21st June 2018, 13:43
paauw,
Are you sure intel QSV have LA-ICQ feature for HEVC ? Last time I check it didn't. And it's not Staxrip but intel driver to do that first.
paauw
21st June 2018, 15:38
Revan,
I did take the --check-- features option with qsvencc 1.06.exe and there were a lot of options available for my processor
Also other software works wher i can choose f.i la -icq (xmedia recode) but has other flaws...
Staxrip did'nt update qsvenc anymore after 2.75 and last 5-6 months i guess (not for sure) and therefore the gui of intel h265 (qsvenc) does not contain the options now available
It is really outdated and should be upgraded with the latest options to choose from....H265 is the next move in encoding and would really improve...it is as important as the nvencc...most computers have now the availability of hardware encoding with lightning fast encode time and quality
imhh11
21st June 2018, 15:41
Thanks Revan654 for the updates
Hello Revan654,
I would like to reencode my HDR10 sources with StaxRip.
All HDR parameters required for the encoder should manually be inserted to the x265 command line again? Isn't there any workaround out there then? Manual inserting would slow down my projects significantly.
+1 for that
there must be a way, theres only two master display line possible.
i dont know if its possible but maybe something like this:
-When mediainfo Mastering display color primaries say Display P3 then tell staxrip to set
--master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)
-When mediainfo Mastering display color primaries say Bt2020 then tell staxrip to set
--master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)
Display Luminance data are still reported by the newer mediainfo.
*Also, could it be possible to add some kind of CRF estimator/ calculator like Bd-Rebuilder ?
Taurus
21st June 2018, 18:10
Revan,
I did take the --check-- features option with qsvencc 1.06.exe and there were a lot of options available for my processor
Also other software works wher i can choose f.i la -icq (xmedia recode) but has other flaws...
Staxrip did'nt update qsvenc anymore after 2.75 and last 5-6 months i guess (not for sure) and therefore the gui of intel h265 (qsvenc) does not contain the options now available
It is really outdated and should be upgraded with the latest options to choose from....H265 is the next move in encoding and would really improve...it is as important as the nvencc...most computers have now the availability of hardware encoding with lightning fast encode time and quality
You know that you can tweak your heart out at the command line in the QSVEnc options page.
Just try all the new stuff and if you're satisfied with them save this settings as a template.
Easy as this...
Or wait until a kind soul plug all this new switches to the options page.
Revan654
21st June 2018, 19:37
Hello Revan654,
I would like to reencode my HDR10 sources with StaxRip.
All HDR parameters required for the encoder should manually be inserted to the x265 command line again? Isn't there any workaround out there then? Manual inserting would slow down my projects significantly.
Create a profile for HDR is the easiest way, The only thing that doesn't autoload in the VUI is the Master-Display data. Due to mediainfo and that data changes from monitor to monitor.
Revan654
21st June 2018, 19:49
Thanks Revan654 for the updates
+1 for that
there must be a way, theres only two master display line possible.
i dont know if its possible but maybe something like this:
-When mediainfo Mastering display color primaries say Display P3 then tell staxrip to set
G(13250,34500)B(7500,3000)R(34000,16000)WP(15634,16450)
-When mediainfo Mastering display color primaries say Bt2020 then tell staxrip to set
G(13250,34500)B(7500,3000)R(35000,16000)WP(15634,16450)
Display Luminance data are still reported by the newer mediainfo.
*Also, could it be possible to add some kind of CRF estimator/ calculator like Bd-Rebuilder ?
The Master-Display should be set to monitor it was graded on. It will usually be within BT.2020 Range. P3 is not considered a proper HDR colorspace by many. Even Youtube refuses to enable HDR if you upload P3. just a small warning about that.
I've never used BD-Rebuilder not sure what that looks like or how it works.
I could add checking line and it would have to pass both sets to be enabled.
If Mediainfo returns BT.2020 = Pass, Now Check Luma if passed send BT.2020 Master-display data to codec.
The results would auto load adding BT.2020 Master-Display data to text box in the codec settings. of course this would only work with BT.2020 space anyone who tries to use P3 will will not pass the check.
Right now it tries to reads the full Master-Display line, Which is completely missing. So it fails everytime. I have no idea why mediainfo removed it. I tried to get them to add it back but never got reply back or it got buried in the massive thread about HDR.
Revan654
21st June 2018, 20:05
Revan,
I did take the --check-- features option with qsvencc 1.06.exe and there were a lot of options available for my processor
Also other software works wher i can choose f.i la -icq (xmedia recode) but has other flaws...
Staxrip did'nt update qsvenc anymore after 2.75 and last 5-6 months i guess (not for sure) and therefore the gui of intel h265 (qsvenc) does not contain the options now available
It is really outdated and should be upgraded with the latest options to choose from....H265 is the next move in encoding and would really improve...it is as important as the nvencc...most computers have now the availability of hardware encoding with lightning fast encode time and quality
QSVENCc settings and switches have been updated, It's one of first things I updated in the core settings. Documentation does not match the source code. If I add X switch from the Documentation it does not work when you enable the flag.
I would add the colorspace switches for 2020 and see if it runs. So far no one can get the newer version to run with BT.2020.
Some changes and updates to the switches some many not be visible to the outside. Many of the hardware encoders are still missing many import flags. It still comes down to Software vs Hardware encoder debate which I'm not going to touch.
I do tests outside of staxrip first to see if it runs, if it fails I know it's not in the source code yet or was cut. Allot of this is out of my hand and have no control over it.
Adding new switches and such is easy enough for me. Maybe list what switches you want added and I'll look into it.
mparade
22nd June 2018, 07:16
Create a profile for HDR is the easiest way, The only thing that doesn't autoload in the VUI is the Master-Display data. Due to mediainfo and that data changes from monitor to monitor.
Thanks, but I think without Master-display data in the output
there will be a risk for my HDR TV not to dispay the video correctly. Don't you recommend to replace the new medianfo with the old one?
Revan654
22nd June 2018, 07:30
Thanks, but I think without Master-display data in the output
there will be a risk for my HDR TV not to dispay the video correctly. Don't you recommend to replace the new medianfo with the old one?
Never said you shouldn't include it, Just saying it doesn't auto-load.
The old one gave bad data readouts when it came to HDR10.
mparade
22nd June 2018, 12:30
Never said you shouldn't include it, Just saying it doesn't auto-load.
The old one gave bad data readouts when it came to HDR10.
Thanks, so there is no any workaround yet. : (
Revan654
23rd June 2018, 20:07
Thanks, so there is no any workaround yet. : (
No, Since it tries to read the data from mediainfo, since the data isn't there so it fails everytime.
I could add default values for BT.2020 and other HDR colorspaces. However if it's off by one number it will fail.
I can't use the encoding settings since it can be completely missing from the metadata (Studios remove this data). I have a habit of removing it as well.
I would contact mediainfo and ask them to add the coordinate system for colorspace(HDR). If there enough interest, they will add it. I did ask them to add it but dev just stopped replying to the post.
I would run the file through mkvinfo and see if it's even output the coordinates. Sometimes that data isn't even in the core metadata but found elsewhere this is specially noticeable with studio releases.
I will do some testing to see what can be done but for now I would just create a codec profile and use that until mediainfo adds the feature.
Media Info:
https://i.imgur.com/tl0k7iyl.jpg
Mediainfo(Even when I inject custom coordinate by other software, It remains unchanged):
https://i.imgur.com/JennVjml.jpg
MKVInfo(How it should be showing up):
https://i.imgur.com/81l2jSAl.jpg
mparade
23rd June 2018, 21:04
Maybe the answer is that most of/all the displays will not need those values at all to display the content correctly:
"… Metadata Usage
• Some TVs ignore metadata and don’t use it when present entirely (even when they state support for ST.2086) • Some TVs ignore metadata when present and assume own values for MaxCLL/MaxFALL/Mastering Display Peak Luminance (i.e. 1000nits) • Some TVs prioritise MaxCLL over Mastering Display Peak Luminance (i.e. ignore Mastering Display Peak value) • Some TVs prioritise Mastering Display Peak Luminance (i.e. ignore MaxCLL) • Some TVs use the higher of the two values of MaxCLL / Mastering Display Peak Luminance • Some TVs use MaxCLL only if lower than Mastering Display Peak Luminance. • Some TVs assume Metadata MUST be followed at all times and respond accordingly • Some TVs undertake processing of video frames to determine own values for MaxCLL, MaxFALL on a continual basis • Some TVs use combinations of above strategies “Metadata MAY be used by the display Then again it MAY NOT”
What about making use of the info resulting from MKVInfo instead of the ones from Mediainfo and calculate from them the ones that can be feeded into x265 command line?
SKPN
25th June 2018, 17:47
Hey everyone,
I apologize if this has been asked before; I did a search of this thread, but didn't see anything for what I'm trying to do.
Is there any way to auto-generate chapters in a video to line up with where a video is cut? Basically, I have a 35 minute video. I cut out 4 separate sections, leaving me with a 21 minute video. I'd like to add chapters to line up with each individual section from cut to cut. Is this something that can be done via Staxrip?
gonca
25th June 2018, 21:41
MediaInfo 17.10 still shows the coordinate system.
It was after this version that it was changed
dvd_maniac
30th June 2018, 05:07
I'm having an issue trying to encode a video file.
Can someone explain what the issue is and/or offer a resolution?
Error Demux audio using MP4Box 0.7.2-DEV-rev79 (1.7.0.0)
Demux audio using MP4Box 0.7.2-DEV-rev79 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.
--------------- Demux audio using MP4Box 0.7.2-DEV-rev79 ---------------
C:\StaxRip\Apps\MP4Box\MP4Box.exe -single 2 -out "T:\PlayOn\Stargate SG-1\Season 1\Stargate SG-1 -..._temp\Stargate SG-1 - s01e01 - Children of the Gods, Part 1 ID1.m4a" "T:\PlayOn\Stargate SG-1\Season 1\Stargate SG-1 - s01e01 - Children of the Gods, Part 1.mp4"
[iso file] Read Box "tx3g" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "stsd" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "stbl" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "minf" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "mdia" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "trak" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "moov" failed (Invalid IsoMedia File) - skipping
Error opening file T:\PlayOn\Stargate SG-1\Season 1\Stargate SG-1 - s01e01 - Children of the Gods, Part 1.mp4: Invalid IsoMedia File
StaxRip.ErrorAbortException: Demux audio using MP4Box 0.7.2-DEV-rev79 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.
--------------- Demux audio using MP4Box 0.7.2-DEV-rev79 ---------------
C:\StaxRip\Apps\MP4Box\MP4Box.exe -single 2 -out "T:\PlayOn\Stargate SG-1\Season 1\Stargate SG-1 -..._temp\Stargate SG-1 - s01e01 - Children of the Gods, Part 1 ID1.m4a" "T:\PlayOn\Stargate SG-1\Season 1\Stargate SG-1 - s01e01 - Children of the Gods, Part 1.mp4"
[iso file] Read Box "tx3g" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "stsd" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "stbl" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "minf" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "mdia" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "trak" failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "moov" failed (Invalid IsoMedia File) - skipping
Error opening file T:\PlayOn\Stargate SG-1\Season 1\Stargate SG-1 - s01e01 - Children of the Gods, Part 1.mp4: Invalid IsoMedia File
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 338
at StaxRip.MP4BoxDemuxer.Demux(String sourcefile, AudioStream stream, AudioProfile ap, Project proj) in D:\Projekte\VS\VB\StaxRip\General\Demux.vb:line 601
at StaxRip.MP4BoxDemuxer.Run(Project proj) in D:\Projekte\VS\VB\StaxRip\General\Demux.vb:line 471
at StaxRip.MainForm.Demux() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 3119
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1962
DaMacFunkin
30th June 2018, 07:52
Hi where do we download the latest developed versions? Are these still on the front page are are they somewhere else now the project has forked?
Thank you.
Yanak
30th June 2018, 08:06
Hello, last "stable" release is here 1.7.0.0 :
https://github.com/stax76/staxrip/releases
Latest "test" version released by Stax76 is here 1.7.0.6 :
https://github.com/stax76/staxrip/blob/master/changelog.md
1.7.0.6 have no issues for me and is my main version.
@dvd_maniac :
hard to say what this error is, seems like MP4box have troubles , try to do a manual demuxing using FFMPEG :
Go to Tools > Advanced > Demux,
pick your video file and select an output folder, press OK, in the next dialog select FFmpeg as demuxer to see if it can extract audio and video tracks.
If it works then you just need to import audio and video tracks separately in your project.
PS : sometimes Staxrip have issues with input files and paths being too long, renaming the input video for a shorter name does the trick, not sure if it's the problem encountered here tho.
Zetti
30th June 2018, 11:18
#DaMacFunkin
Revan654 have created a fork.
GitHub Page:
https://github.com/Revan654/staxrip/
GitHub Release Page:
https://github.com/Revan654/staxrip/releases
dvd_maniac
30th June 2018, 15:42
@Yanak
Manual Demuxing works.
Going to be time consuming rather than simple batch mode since I have about 130 of these files to do... :(
But at least I can now do it...
Thanks.
Yanak
30th June 2018, 21:29
Do all your MP4 files fail when trying to be demuxed by MP4Box ? I mean did you done a few more tests on some other of those 130 files and all resulted in the same type of error ?
Maybe you should try to replace MP4Box.exe by a more recent version, maybe you have an old one and it have some issues, hard to say but it won't be the first time it happens.
Edit : this is the one i use, self compiled not long ago, MP4Box version 0.7.2-DEV-rev563-g3096514bb-master : https://www99.zippyshare.com/v/L1YIQVvP/file.html
Try to replace it by the version you have inside staxrip, located here "\StaxRip\Apps\MP4Box" to see if it makes any difference.
Also did you tried to rename the mp4 file for something with a much shorter name like "video.mp4", just for testing purpose.
If still wrong you can try this if you use staxrip in automatic mode :
- Go to Settings > Preprocessing
- Select the MP4Box line and click the edit button, remove the mp4 extension from the " mp4 m4v mov" list
- Then go to the "FFmpeg: Demux", edit button, and this time you add mp4 there, list will look like this "avi flv mp4"
After this in automatic mode all .mp4 files should be directly demuxed by ffmpeg instead of MP4box that gives the error.
This is for the automatic mode, you can also select manual mode as source (and save it as startup template too), there you will be prompted when opening a file and you will just have a single click to do on FFmpeg in the list.
Any of those 2 will be way easier and quicker than demuxing and importing all tracks manually.
@Zetti,
thanks for the info, i think i will have to take a look at this version, i had started to modify the sources too to add a few custom stuff and things i was missing but i'm not a coder so it takes time, too much time, lot of trial and errors :p , this will probably be easier ( and take a bit before importing all my changes and settings made in the program itself ) Thx.
Yups
30th June 2018, 23:35
Adding new switches and such is easy enough for me. Maybe list what switches you want added and I'll look into it.
There is no B-Pyramid Off option in the GUI. I can enable it, a unchecked checkbox means it is auto by the driver. I have to use the --no-b-pyramid command.
And you should update QSVEnc to 3.06 because with 3.05 I get some errors.
dvd_maniac
1st July 2018, 01:53
@Yanak
I tried renaming and placing file in a root drive folder (T:\test\test.mp4) and got the same issue.
I tried a dozen of the files and got the same error as well...
All the files were ripped the same way from the same streaming service so I expected the issue to be with all files.
I did however manage to figure out how to use a different demuxer and it is chugging away at the 130 videos nicely.
The only real problem now is that it is tipping me over the edge to build a new PC equipped with a nice threadripper.
5820K 6-core @4.4Ghz is nice but this is still going to take days to encode X265 @720p with decent quality settings...
Yanak
1st July 2018, 09:42
All good then :)
did you tried to upgrade the MP4Box.exe, either by the one i linked or any other one available on the net, to see if a newer version cause less issues with your videos ?
As for the upgrade i feel you, I'm still on a 3770k... But pockets broken for a proper upgrade so I'll have to wait and hope for better days...
dvd_maniac
1st July 2018, 14:05
I did not try to upgrade and I'm fine with the current fix.
I'll switch back to mp4box as soon as I am done with these videos.
About 90 videos still left... :(
Another question I had that someone can hopefully answer:
On previous versions of StaxRip, the encoded video created a temp folder that was not shared by other encoded video and the folder name was the complete name of the video file without the extension.
I do a lot of automated stuff through batch files using the filename as a variable and I used to be able to check the temp folders for subtitles, save them off and then delete them using this variable but now I can't. The temp folder is only a truncated version of the filename now.
Is there a way to go back to using the full filename as the temp folder name?
Yanak
3rd July 2018, 09:51
No worries, i think it is something that was fixed in MP4box 3 or so months ago with some files being .mp4's but having some .mov tags inside them causing MP4box to loose it's mind and crash, was just by curiosity :p
For the question :
With an empty project ( Staxrip started, no videos added ) :
Go to Options > Paths
in the last field "Temp Files Folder" click the little arrow on the right side, select "Source File Directory" , it will add this in the field:
%source_dir%%source_name%_temp
Then you need to save this as template, it's part of the project options, not the general options, if you don't save it as part of the template settings it won't stick with the next video/project you will add in Staxrip.
Go to: Project > Save as Template
either override existing one, in your case i think it is "Automatic Workflow" that will be already filled, or create a new one and set it as startup template ticking the little box in the popup dialog.
But one thing to keep in mind when using this :
if the result path is too long, i think it's a problem happening when there is more 256 or 260 characters in the ending path, you will see errors reported by tools not able to access the files, keep in mind that the path will be like "path-to-the-input-video/name-of-the-inputvideo_temp/" and can be very very long when files are located in a lot of sub-folders and to make it worse the videos often have very long names...
Myself i use the videos full name for the temp folders but inside a static "Temp" folder at the root of one of my drives to reduce the length of the paths and limit the risks of errors due to long paths, this way i can already shorten it a bit, my temp folder path is :
H:\TEMP\%source_name%_temp\
https://i.imgur.com/mIoZSUb.png
All my staxrip temp folders will be "NameOfTheInputVideo_temp" and all will always be located inside the "H:\TEMP" main folder instead of being inside the source video folder ( i prefer it this way , easier than looking in the videos folders )
And even like this with videos having a very long name i manage to have errors when adding a video to the project, It's rare but happens sometimes, for those i have to rename them for a shorter name to fix it, but i know it and when Staxrip throws me and error directly when input a video file having a long name i know i have to rename it :p
dvd_maniac
3rd July 2018, 11:51
I think the lengths will be fine in my case as I drop my automated encodes directly to D:\Videos\Encode
I never used to have an issue with crashes due to path lengths before so I should be fine.
Thank You very much... :)
After spending so much time automating my process and then having to do manual work again was getting tedious...
Yanak
3rd July 2018, 12:17
My encoded files go the root of another drive but this ain't the problem, in my case using H:\TEMP\ for all videos temp folders the limit of characters a video input name can have is around 114, ( i don't recall exactly but it's more or less 114 ), without the file extension just the tittle itself, 114_Characters_long_tittle.mp4 for example, because in the end the paths will be :
"H:\TEMP\114_Characters_long_tittle_temp\114_Characters_long_tittle_new_source.avs" for the avs script of Staxrip,
path length should be around 256 characters in this example, ( and funny enough the entire above line is 114 characters long, to put this in perspective ) :p
if my video name was longer it will end up in errors and I'll have to rename it for something a bit shorter to make it work :p
Anyways, glad to have helped a bit and to see this sorted :)
Revan654
4th July 2018, 00:51
snip
I would try a different demuxing program for pre-process. It seems like Mp4Box isn't getting along with your video file.
There is an GUI issue in Staxrip with the CQP bitrate mode for Quicksync with main10 profile. Staxrip goes up to CQP 51. The problem is that for main10 Intel allows up to CQP 63. Staxrip GUI doesn't allow higher than 51.
paauw
7th July 2018, 20:57
Can anyone explain why i have to demux and index before i encode x264 to HEVC ?
Can i skip one step ?
Why is de mkvextract so much faster than the dgindexnv or dgindexIM ?
I have i5 6400, MSI GTX960 and Intel HD530...
the encoding is fast with hardware accelaration but not the index/remux with dgindexnv/im
NikosD
8th July 2018, 15:59
Those have already been added. The new version has introduced some issues as well. Mainly with QSVEnc, The documentation is either faulty or code is buggy. It's having problems processing certain colorspace.New versions for QSVEnc v3.07 and NVEnc v4.08
QSVEnc:
- Fixed --audio-file not working properly.
· Added missing options for --colorprim and --transfer etc.
· Improved --input-analyze effect.
- Improvement that - vpp - deinterlace does not work on raw output.
NVEnc:
Fixed --audio-file not working properly.
· Improved --input-analyze effect.
· Improved stability when specifying SAR.
frenchfries
11th July 2018, 07:28
New versions for QSVEnc v3.07 and NVEnc v4.08
QSVEnc:
- Fixed --audio-file not working properly.
· Added missing options for --colorprim and --transfer etc.
· Improved --input-analyze effect.
- Improvement that - vpp - deinterlace does not work on raw output.
NVEnc:
Fixed --audio-file not working properly.
· Improved --input-analyze effect.
· Improved stability when specifying SAR.
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.
Zetti
11th July 2018, 23:09
FFmpeg v4.0.1 is released.
Zetti
12th July 2018, 21:15
MKVToolNix v25.0.0 is released.
mparade
14th July 2018, 15:52
No, Since it tries to read the data from mediainfo, since the data isn't there so it fails everytime…...
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.
NikosD
19th July 2018, 08:01
New QSVEnc v3.08
In order to pass options to the audio encoder.
Example: - audio - codec aac: aac_coder = twoloop
so that profiles can be specified during speech encoding. (- audio-profile)
· Added option to specify tier of HEVC. (- tier)
· Slightly reduced memory usage at high bit rate.
· Improved to be incomplete frame rate in case of variable frame rate and so on.
· Improved synchronization when audio starts first.
New NVEnc v4.09
Now --audio-codec can have option to audio encoders.
Example: --audio-codec aac:aac_coder=twoloop
Slightly reduce memory usage, especially encoding with high bitrate.
Add option to add padding to videos. (--vpp-pad)
Improve frame rate detection.
Improve avsync, especially when video has delay.
Add option to specify audio profile, but most of the time it is unnecessary. ( --audio-profile )
thomy21
19th July 2018, 08:44
@Revan654
Please also update the x264 to the latest version with the next update: 2901
Thanks and great for developing Stax.
lansing
20th July 2018, 17:23
I was trying out this program but couldn't even successfully load a vapoursynth script. It always returns the error "core is not defined". I searched and found the same complain (https://github.com/stax76/staxrip/issues/51) 2 years ago on the project page. I guess it hasn't been fix for 2 years.
I investigated myself and found that every time I load a vpy script, it will auto create a temp folder and duplicated my script to a temp vpy script with some lines added on the top and the program will run that temp script instead. And that's where the problem came from. From the added lines, there's a few calls to core.std but on top of those calls there is no declaration of the vs object or the core...that's why the "core is not defined" error. This is just so silly.
stax76
21st July 2018, 07:28
Hi everybody,
it's time for me to leave staxrip, shall the gods decide about it's future, I'm out, PEACE!
NikosD
21st July 2018, 08:47
Hope everything is fine for you Frank regarding StaxRip and in general.
Many, many thanks for your time and effort, fixing bugs, replying posts and fulfilling requests.
You were acting as a good paradigm of a developer for the rest to follow.
Have fun whatever you do!
Yanak
21st July 2018, 08:57
Hi Stax,
Sad to hear that, still had a tiny hope you will come back to it one of those days.
Thanks a lot for this fantastic tool, thanks for all the help and support you provided, thanks for answering my too numerous questions or requests, thanks for all the things you made me learn while messing with Staxrip, like powershell scripting that i use more often now.
Staxrip is a great tool with a lot of customizations possible, it's really not common nowadays to see such program versatility and open possibilities for the end user to customize it to it's needs or even add some stuff to it while not being it's primary usage, this tool is really outstanding for that.
A big thank you for all Stax, wish you the best for whatever you will do in the future.
mcjordan
21st July 2018, 18:00
Frank, I feel deep regret that you leave us. But I fully understand you.
As time goes on, I have less and less time to deal with my favorite things.
You will remain in my heart with your responsiveness and altruism.
Thank you for everything you did for us!
dev84
22nd July 2018, 08:04
Thank You Frank for years of hard work, i wish You all the best.
You can be sure that Your software will be used for many years to come.
Lynx_TWO
24th July 2018, 23:23
So sorry to see you go Stax! Any chance you'll be working with the new dBpoweramp Video Converter? You'd bring a lot of experience to the table with them :)
:thanks:
Digga
25th July 2018, 12:59
it's time for me to leave staxrip, shall the gods decide about it's future, I'm out, PEACE!I'd like to thank you for the work you put in this project, I have been a longtime user... your work is and was very much appreciated!
IMHO, the GUI is very nice and suits my needs as an educated user (though no pro) in most ways, so thanks again!
Please also update the x264 to the latest version with the next update: 2901you can easily and without fear of breaking something replace the x264 codec manually by yourself. I've done this a few times already to be up to date with newer encoder versions.
to do so, just replace the executeable located in 'path-to-StaxRip\Apps\x264'. you have to rename your new version to 'x264.exe' or 'x264-10bit.exe', depending on which version you are using (if you don't know which one, replace both, though you prolly are using the more common 'normal' 8-bit version then).
also, make sure to download and use the 64-bit version of x264, unless you are still using an older version of StaxRip with 32-bit support.
there are many places to get a newer version of x264, e.g. here:
http://download.videolan.org/pub/videolan/x264/binaries/win64/
for cosmetic reasons, you also may want to edit the version textfile located in 'path-to-StaxRip\Apps' scroll down untill you see 'x264' there on the left and edit the version number on the right to '0.155.2901 8-Bit'. otherwise, the encoding window will still display the older version number IIRC.
Zetti
26th July 2018, 13:04
FFmpeg v4.0.2 is released.
Yanak
26th July 2018, 13:50
@Digga : you can edit the version directly from Staxrip ,
go to tools > apps > manage
on the top left in the search field enter x264, select/highlight it on the list of results,
then on top of this window see "version", click on it, enter new version in the little popup and done.
Same for easily locating one .exe or plugin, just need to click on "Explore" at the top after selecting it on the list ;)
Khun_Doug
26th July 2018, 17:19
Enjoy your retirement Frank. It's one of the best jobs I ever had. Unlike me, I hope your retirement does not bring on a sense of boredom.
Revan654, are you still on the list? If so, do you plan to move forward, beyond the 1.8.2.0 release?
NikosD
27th July 2018, 08:54
I would try a different demuxing program for pre-process. It seems like Mp4Box isn't getting along with your video file.
Hello.
Your last post here is three weeks ago.
Is everything OK with StaxRip support ?
Are you going to keep on developing on this project ?
You seemed very determined in the beginning and full of energy.
I hope everything is fine.
NikosD
27th July 2018, 23:51
New NVEncC v4.10
Now progress info shown by NVEncC will consider --trim option.
Avoid freeze with some environments which has OpenCL API causing crush.
Lynx_TWO
28th July 2018, 13:54
Staxrip Updates (https://1drv.ms/u/s!Aoz5nDzevbl1k98RYy9KBrUT6rUvSw)
UPDATE 07/28/2018 - MP4Box, added required dlls to folder
7zip file, all you have to do is drag and drop the contents into your Staxrip folder and replace original files. The settings texts are there as well so you shouldn't need to manually update the settings in Staxrip.
Disclaimer: none of these have been tested so your mileage may vary with compatibility. :)
List of updates in this package:
APPS
AviSynth+ 2798 (you'll need to run and install this)
ffmpeg 20180726
FFTW 3.3.8
MediaInfo 0.18.05
mkvextract 25.0.0
mkvmerge 25.0.0
MP4Box 0.7.2-DEV-rev625
QSCEnc 3.08
NVEnc 4.10
ProjectX 0.91.0.10
qaac 2.67
x264 2901
x264 10-Bit 2851
x265 2.8+47
PLUGINS (avs)
masktools2 2.2.17
mClean 3.2
modPlus 2017-10-17
mvtools2 2.7.31
QTGMC 3.358s
RgTools 0.97
SMDegrain 3.1.2.100s
TIVTC 1.0.11
PLUGINS (both)
KNLMeansCL 1.1.1
VSFilterMod 11-12-2017
PLUGINS (vs)
d2vsource 1.1
mvtools 20
nnedi3 11
vcmod r24+ (2017)
RUNTIMES (you'll need to install these)
VapourSynth R44
Python 3.7
Magik Mark
29th July 2018, 12:30
Can somebody help decipher this:
Error Video encoding using x265 2.8+56 (1.7.0.6)
Video encoding using x265 2.8+56 failed with exit code: -1073741819 (0xC0000005)
The exit code might be a system error code: The instruction at 0xp referenced memory at 0xp. The memory could not be s.
------------------- Video encoding using x265 2.8+56 -------------------
avs2pipemod[info]: writing 61619 frames of 24000/1001 fps, 1920x1080,
sar 0:0, YUV-420-planar-8bit progressive video.
y4m [info]: 1920x1080 fps 24000/1001 i420p8 unknown frame count
raw [info]: output file: NUL
x265 [info]: HEVC encoder version 2.8+56-613074c6714f
x265 [info]: build info [Windows][MSVC 1914][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 28 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 3 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : ABR-1500 kbps / 0.60
x265 [info]: tools: rd=3 ssim-rd rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao stats-write
avs2pipemod[info]: finished, wrote 36 frames [0%].
avs2pipemod[info]: total elapsed time is 5.167 sec.
avs2pipemod[error]: only wrote 36 of 61619 frames.
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 338
at StaxRip.x265Enc.Encode(String passName, String commandLine, ProcessPriorityClass priority) in D:\Projekte\VS\VB\StaxRip\Encoding\x265Enc.vb:line 65
at StaxRip.x265Enc.Encode() in D:\Projekte\VS\VB\StaxRip\Encoding\x265Enc.vb:line 42
at StaxRip.GlobalClass.ProcessVideo() in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 225
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob(String jobPath) in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 137
Khun_Doug
29th July 2018, 16:19
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.
NikosD
29th July 2018, 19:07
Staxrip Updates (https://1drv.ms/u/s!Aoz5nDzevbl1k98RYy9KBrUT6rUvSw)
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.
mironicus
29th July 2018, 23:15
Hello,
I tried to encode a video with Staxrip using NVEnc on my laptop that uses Intel HD 630/NVidia GTX 1070 optimus. It does not work because I always get an error message. Also Intel hardware encoding (Intel H264/H265) is not working. Is there a problem that the computer uses two GPUs at the same time?
On my desktop with a single GTX 1050Ti it works.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.