Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 3rd May 2020, 12:55   #1741  |  Link
VirulentPip
Registered User
 
Join Date: Apr 2020
Posts: 16
Hey all, I'm intrigued as to why Subs don't seem to hardcode when using NVEnc Hardware to decode and encode and only works when choosing AviSynth to decode?
VirulentPip is offline  
Old 3rd May 2020, 18:55   #1742  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Only ass subs are supported by nvenc to be hardcoded in the file.
__________________
Tools for StaxRip | x264 - x265
Patman is offline  
Old 3rd May 2020, 19:52   #1743  |  Link
VirulentPip
Registered User
 
Join Date: Apr 2020
Posts: 16
Ohhh! Awesome thanks
VirulentPip is offline  
Old 4th May 2020, 00:28   #1744  |  Link
ACKR
Registered User
 
Join Date: Apr 2020
Posts: 42
Hello i have a couple of more questions:-

1)is there anyway to adjust memory cache for vapoursynth? i have error try increasing cache when only 50% memory is being used

2) when adding plugins using profiles do i separate multiple line code using ; ? where the 1st line is import code for the plugin or script as it is not included in stax

3) https://staxrip.readthedocs.io/gener...tml#finedehalo it says here that finedehalo2 is included but i couldn't find it anywhere?

thanks
ACKR is offline  
Old 4th May 2020, 02:33   #1745  |  Link
Arkana
Registered User
 
Join Date: Nov 2019
Posts: 30
Hello, what I need to do? I see the plugin is already on the folder

Arkana is offline  
Old 4th May 2020, 05:41   #1746  |  Link
ACKR
Registered User
 
Join Date: Apr 2020
Posts: 42
i am having another problem and this the worst of them all. whenever i try to use vapoursynth scripts the filters get copied into audio avisynth script as a result the encoder also crashes. why does this happen?.As a result whenever i choose no audio while using vapoursynth then only is the video encoded. any help is appreciated

Edit:
this is the error

D:\StaxRip-x64-2.0.8.0-stable\Apps\Encoders\ffmpeg\ffmpeg.exe -i "G:\test_Audio02.JPN_DecodeFFAudioSource.avs" -y -hide_banner "G:\test_Audio02.JPN_convFFAudioSource.w64"

clip = core.ffms2.Source(r"", cachefile=r"G:\.ffindex")
#clip = core.std.AssumeFPS(clip, None, 25, 1)
AudioDub(last,FFAudioSource("G:\test.dts", cachefile="G:\test_Audio02.JPN.ffindex"))
clip = core.dfttest.DFTTest(clip, sigma=1)
Audiochannels() >= 6 ? Down2(last) : last

function Down2(clip a)
{
a = ConvertAudioToFloat(a)
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
return MergeChannels(l, r)
}

[avisynth @ 000001d145ac3240] Script error: expected a , or )
(G:\test_Audio02.JPN_DecodeFFAudioSource.avs, line 3, column 28)
G:\test_Audio02.JPN_DecodeFFAudioSource.avs: Unknown error occurred

edit: this is the avisynth file being generated

LoadPlugin("D:\StaxRip-x64-2.0.8.0-stable\Apps\Plugins\AVS\DFTTest\dfttest.dll")
LoadPlugin("D:\StaxRip-x64-2.0.8.0-stable\Apps\Plugins\Dual\ffms2\ffms2.dll")
LoadPlugin("D:\StaxRip-x64-2.0.8.0-stable\Apps\Plugins\Dual\flash3kyuu_deband\flash3kyuu_deband.dll")
clip = core.ffms2.Source(r"", cachefile=r"G:\.ffindex")
#clip = core.std.AssumeFPS(clip, None, 25, 1)
AudioDub(last,FFAudioSource("G:\test.dts", cachefile="G:\test.ffindex"))
clip = core.dfttest.DFTTest(clip, sigma=1)
clip = core.f3kdb.Deband(clip)

Audiochannels() >= 6 ? Down2(last) : last

function Down2(clip a)
{
a = ConvertAudioToFloat(a)
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
return MergeChannels(l, r)
}



the highlighted part shouldnt be there right


whenever i try to encode video only its fine

Last edited by ACKR; 4th May 2020 at 06:15.
ACKR is offline  
Old 4th May 2020, 12:53   #1747  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by Arkana View Post
Hello, what I need to do? I see the plugin is already on the folder

Rename the folder both to Dual and test again.
__________________
Tools for StaxRip | x264 - x265
Patman is offline  
Old 4th May 2020, 12:56   #1748  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by ACKR View Post
i am having another problem and this the worst of them all. whenever i try to use vapoursynth scripts the filters get copied into audio avisynth script as a result the encoder also crashes. why does this happen?.As a result whenever i choose no audio while using vapoursynth then only is the video encoded. any help is appreciated

Edit:
this is the error

Code:
...

whenever i try to encode video only its fine
I commented your problem on Github.
__________________
Tools for StaxRip | x264 - x265
Patman is offline  
Old 4th May 2020, 18:43   #1749  |  Link
Statick
Registered User
 
Join Date: Aug 2016
Posts: 27
couple of issues I'm having with Staxrip2.0 :

if I use the default temp folder name and choose to delete temp files, then it gets deleted and that's all good. but if I specify a custom temp folder name then selecting to delete temp files has no effect, the temp folder remains with all the files inside it.

the default temp folder name has issues with very long folder names (this is why I specify a custom temp folder name). if the folder name and the video name are over a certain length, then the default temp folder name can end up too long and Staxrip crashes. it also handles this very poorly as well - the app crashes, it opens a log file in notepad, it opens a browser to show a staxrip support page, it opens the problem folder in windows, as well as popping up multiple dialog boxes. it's quite punishing if this happens when you're on the machine, and suddenly all this stuff pops up at once. it also then stops processing the task queue until the error dialogs are clicked on. it would be good if this error could be handled more gracefully without opening half a dozen new windows, and if the task queue would also continue (so a machine rendering overnight doesn't sit idle for 8 hours). but also it would be good if the default temp folder did not cause this behaviour if the folder and file names involved happen to be too long.
Statick is offline  
Old 4th May 2020, 19:05   #1750  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Maybe try last beta:

https://staxrip.readthedocs.io/introduction.html#beta
stax76 is offline  
Old 4th May 2020, 19:18   #1751  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
I generally install it in a folder on the root of my SSD. Never have had issues with temp files but file names that are super long I've had issues in the past.

Sent from my Pixel 3a using Tapatalk
jlw_4049 is offline  
Old 4th May 2020, 19:56   #1752  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
In the beta there is a setting which defines a character limit of 150 characters, if the path is longer it will show:

In theory Windows supports paths that are longer than 260 characters, in reality neither Windows, nor the .NET Framework or the used tools have full long path support. StaxRip has a setting that allows to increase the limit but it's not recommended changing this limit! It will almost certainly not work!
stax76 is offline  
Old 4th May 2020, 21:03   #1753  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
Quote:
Originally Posted by stax76 View Post
In the beta there is a setting which defines a character limit of 150 characters, if the path is longer it will show:

In theory Windows supports paths that are longer than 260 characters, in reality neither Windows, nor the .NET Framework or the used tools have full long path support. StaxRip has a setting that allows to increase the limit but it's not recommended changing this limit! It will almost certainly not work!
It's something I've gotten used to. It's easier to just rename them. As long as I rename the super long ones I've never had an issue.

Sent from my Pixel 3a using Tapatalk
jlw_4049 is offline  
Old 4th May 2020, 21:51   #1754  |  Link
ACKR
Registered User
 
Join Date: Apr 2020
Posts: 42
Quote:
Originally Posted by Patman View Post
I commented your problem on Github.
thanks Patman this works. which decoders can you use with vapoursynth?

also few other questions

1)is there anyway to adjust memory cache for vapoursynth? i have error try increasing cache when only 50% memory is being used

2) when adding plugins using profiles do i separate multiple line code using ; ? where the 1st line is import code for the plugin or script as it is not included in stax

3) https://staxrip.readthedocs.io/gener...tml#finedehalo it says here that finedehalo2 is included but i couldn't find it anywhere?
ACKR is offline  
Old 4th May 2020, 23:03   #1755  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by ACKR View Post
thanks Patman this works. which decoders can you use with vapoursynth?
I think ffmpeg, but i have a look at it. Maybe this option is a bit tricky/buggy

Quote:
1)is there anyway to adjust memory cache for vapoursynth? i have error try increasing cache when only 50% memory is being used
there is an option called std.cache. You can ask in the vapoursynth thread for more informations.

Quote:
2) when adding plugins using profiles do i separate multiple line code using ; ? where the 1st line is import code for the plugin or script as it is not included in stax
vapoursynth or avisynth usage?

Quote:
3) https://staxrip.readthedocs.io/gener...tml#finedehalo it says here that finedehalo2 is included but i couldn't find it anywhere?
__________________
Tools for StaxRip | x264 - x265
Patman is offline  
Old 4th May 2020, 23:08   #1756  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
when adding plugins using profiles do i separate multiple line code using ; ? where the 1st line is import code for the plugin or script as it is not included in stax
There are multi line filter profiles defined at the top of the defaults:

Code:
LSMASHVideoSource =
    LSMASHVideoSource("%source_file%")
    #AssumeFPS(25)
stax76 is offline  
Old 5th May 2020, 02:27   #1757  |  Link
ACKR
Registered User
 
Join Date: Apr 2020
Posts: 42
Quote:
Originally Posted by Patman View Post
I think ffmpeg, but i have a look at it. Maybe this option is a bit tricky/buggy



there is an option called std.cache. You can ask in the vapoursynth thread for more informations.



vapoursynth or avisynth usage?




1) i know how set cache for one vapoursynth script but i wanted to know if there is a way to incorporate it into a profile so its included at top of .vpy scripts generated everytime

2)vapoursynth. To stax76 does that mean to incorporate something like this you just need line

Adaptive grain = import kagefunc as kgf
clip = kgf.adaptive_grain(clip)

and the ; isn't needed?


3)code for finedehalo2 is different but i added it using profiles since its one line only.
ACKR is offline  
Old 7th May 2020, 14:13   #1758  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
I noticed this today. When I batch encode several files. If later I go and open one project of one of those files and change settings and the name of the output, it always encodes to the old name and overwrites the old file [file]_new.
For example if in target I say [file]_new2 it always encodes to [file]_new.

So this happens to projects that were created automatically with Batch Encoding.
Atlantis is offline  
Old 7th May 2020, 14:55   #1759  |  Link
chipxtreme
Registered User
 
Join Date: Feb 2019
Posts: 47
NVEnc 5.01 is out
MKVToolnix 46.0.0 is out
chipxtreme is offline  
Old 8th May 2020, 06:45   #1760  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
Wanted to report a bug.

https://i.imgur.com/qa77ORW.png

Sometimes when I'm going through settings the window will get to large to see all the way to the top. There is no way to resize the window or drag it and move it around.
jlw_4049 is offline  
Closed Thread

Tags
aac, hdr, hevc, nvenc, staxrip, x264, x265

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.