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. |
3rd October 2017, 20:48 | #2621 | Link | ||
Registered User
Join Date: Oct 2011
Posts: 275
|
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 : Quote:
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 : Quote:
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 ^^ Last edited by Yanak; 3rd October 2017 at 20:52. |
||
3rd October 2017, 22:57 | #2622 | Link | |
Registered User
Join Date: Nov 2013
Posts: 577
|
Quote:
|
|
3rd October 2017, 23:11 | #2623 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
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.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
4th October 2017, 00:57 | #2625 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
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.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
4th October 2017, 15:57 | #2627 | Link | |
Registered User
Join Date: Oct 2011
Posts: 275
|
Hi Stax i ended up with this :
Quote:
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 Thank you . Last edited by Yanak; 4th October 2017 at 16:29. |
|
5th October 2017, 07:31 | #2628 | Link |
Registered User
Join Date: Nov 2013
Posts: 577
|
@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. Last edited by mparade; 5th October 2017 at 07:36. |
5th October 2017, 11:27 | #2629 | Link |
Registered User
Join Date: Dec 2014
Posts: 666
|
Stax
I get this error everytime encoding is finish and staxrip is set to "close" AND my Chrome browser is open and active:
__________________
Asus ProArt Z790 - 13th Gen Intel i9 - RTX 3080 - DDR5 64GB Predator - LG OLED C9 - Yamaha A3030 - Windows 11 x64 - PotPlayerr - Lav - MadVR |
5th October 2017, 16:58 | #2630 | Link | |
Registered User
Join Date: Nov 2013
Posts: 577
|
Quote:
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. |
|
5th October 2017, 20:14 | #2631 | Link | ||||
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
Code:
$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 } } } } Code:
%eval_ps:. C:\Users\Frank\AppData\Roaming\StaxRip\Scripts\test.ps1; GetFilter("RemoveGrain")% http://jeffwouters.nl/index.php/2015...nd-why-use-it/ Quote:
https://forum.doom9.org/showthread.php?t=169984 Quote:
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
||||
5th October 2017, 22:28 | #2632 | Link |
Registered User
Join Date: Nov 2010
Posts: 124
|
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. |
6th October 2017, 09:21 | #2633 | Link |
Registered User
Join Date: Nov 2010
Posts: 124
|
Here is screenshot of failed muxing:
http://imgbox.com/y6RHSFjJ# |
6th October 2017, 13:43 | #2634 | Link |
Registered User
Join Date: Oct 2011
Posts: 275
|
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 Code:
$select:msg:Select x86 filter;bla|bla;blabla|blabla$ Code:
%eval_ps:. %script_dir%Import_Filter.ps1; GetFilter("Rotate")% 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 or using it in a source filter having Gscript on it like here : Code:
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) } 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. Last edited by Yanak; 6th October 2017 at 13:50. |
6th October 2017, 20:50 | #2636 | Link | ||
Registered User
Join Date: Nov 2013
Posts: 577
|
Quote:
Additionally, there should be some syntax errors in this as well: Quote:
|
||
6th October 2017, 22:05 | #2637 | Link | ||||
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@mcjordan
Please also try mkvtoolnix 15.0.0 and post the full log file if it persists. Quote:
Quote:
Quote:
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
||||
6th October 2017, 22:29 | #2638 | Link | |||
Registered User
Join Date: Oct 2011
Posts: 275
|
Quote:
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 : Quote:
For a mp4 i get this kind of message : Quote:
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. Last edited by Yanak; 6th October 2017 at 22:44. |
|||
6th October 2017, 22:42 | #2639 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
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.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
6th October 2017, 22:48 | #2640 | Link | |
Registered User
Join Date: Oct 2011
Posts: 275
|
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 : Quote:
Thanks again Stax, i think i will just bypass it this way. Last edited by Yanak; 6th October 2017 at 23:03. |
|
|
|