View Full Version : StaxRip
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
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.