View Single Post
Old 18th November 2018, 20:41   #74  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Quote:
Originally Posted by Betsy25 View Post
I did that and now it just crashed out...
Code:
-------------------------- System Environment --------------------------

StaxRip    : 2.0.0.0
Windows    : Windows 7 Professional
Language   : Dutch (Belgium)
CPU        : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
GPU        : ATI Radeon HD 4800 Series
Memory     : 8 GB
Resolution : 1680 x 1050
DPI        : 96

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

I:\Te coderen\Lili en Marleen Seizoen 01 DVD1\VIDEO_TS\VTS_01_1.VOB

General
Complete name                   : I:\Te coderen\Lili en Marleen Seizoen 01 DVD1\VIDEO_TS\VTS_01_1.VOB
Format                          : MPEG-PS
File size                       : 1 024 MiB
Duration                        : 25 min 42 s
Overall bit rate mode           : Variable
Overall bit rate                : 5 567 kb/s
Writing library                 : |HCenc 0.21.0.0 - (c) 2004/2007|

Video
ID                              : 224 (0xE0)
Format                          : MPEG Video
Format version                  : Version 2
Format profile                  : Main@Main
Format settings                 : CustomMatrix / BVOP
Format, BVOP                    : Yes
Format, Matrix                  : Custom
Format, GOP                     : Variable
Format, picture structure       : Frame
Duration                        : 25 min 42 s
Bit rate mode                   : Variable
Bit rate                        : 5 233 kb/s
Maximum bit rate                : 7 401 kb/s
Width                           : 720 pixels
Height                          : 576 pixels
Display aspect ratio            : 4:3
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.505
Time code of first frame        : 00:00:00:00
Time code source                : Group of pictures header
GOP, Open/Closed                : Open
GOP, Open/Closed of first frame : Closed
Stream size                     : 962 MiB (94%)
Writing library                 : |HCenc 0.21.0.0 - (c) 2004/2007|

Audio
ID                              : 189 (0xBD)-128 (0x80)
Format                          : AC-3
Format/Info                     : Audio Coding 3
Muxing mode                     : DVD-Video
Duration                        : 25 min 42 s
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
Delay relative to video         : -8 ms
Stream size                     : 41.2 MiB (4%)
Service kind                    : Complete Main

Menu

---------- DGIndex: Demux & Index MPEG-2 using DGIndex 1.5.8 ----------

"C:\Program Files\Staxrip\Apps\DGIndex\DGIndex.exe" -i "I:\Te coderen\Lili en Marleen Seizoen 01 DVD1\VIDEO_TS\VTS_01_1.VOB" -ia 2 -fo 0 -yr 1 -tn 1 -om 2 -drc 2 -dsd 0 -dsa 0 -o "I:\Te coderen\Lili en Marleen Seizoen 01 DVD1\VIDEO_TS\VTS_01_1_temp\VTS_01_1" -hide -exit

Start:    17:43:05
End:      17:43:25
Duration: 00:00:19

---------------------- Script file failed to load ----------------------

Source File Path: I:\Te coderen\Lili en Marleen Seizoen 01 DVD1\VIDEO_TS\VTS_01_1_temp\VTS_01_1_source.avs
LoadPlugin("C:\Program Files\Staxrip\Apps\Plugins\avs\MPEG2DecPlus\MPEG2DecPlus.dll")
MPEG2Source("I:\Te coderen\Lili en Marleen Seizoen 01 DVD1\VIDEO_TS\VTS_01_1_temp\VTS_01_1.d2v")
Plugins: ConvertStacked, DirectShowSource, ImageSeq, Shibatch, TimeStretch, VDubFilter

------------------------------ Exception ------------------------------

System.Exception: AVIFileOpen failed to execute

Failed to open AviSynth script:

I:\Te coderen\Lili en Marleen Seizoen 01 DVD1\VIDEO_TS\VTS_01_1_temp\VTS_01_1_source.avs

You can try to open the script with VirtualDub x64, if it don't open it could be a problem with the script or the AviSynth+ x64 setup, if StaxRip don't report a script error and the script looks valid then reinstalling AviSynth+ x64 might fix the problem, the setup is located at:

C:\Program Files\Staxrip\Apps\AviSynthPlus-MT-r2728.exe

   at StaxRip.AVIFile..ctor(String path) in C:\Users\Revan\Desktop\StaxRip-2.0\General\AVIFile.vb:line 50
   at StaxRip.VideoScript.Synchronize(Boolean convertToRGB, Boolean comparePath) in C:\Users\Revan\Desktop\StaxRip-2.0\General\VideoScript.vb:line 202
   at StaxRip.MainForm.ModifyFilters() in C:\Users\Revan\Desktop\StaxRip-2.0\Forms\MainForm.vb:line 2281
   at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) in C:\Users\Revan\Desktop\StaxRip-2.0\Forms\MainForm.vb:line 1997
Make Sure you make the changes in both backup folder and the Script folder.

Also You may have to change group policy in PowerShell, MS changed the security back in April locking out most scripts being run. It's a PIA with all the security MS keeps adding.

I just did a test on my PC with the Script and it works.

Filename: AfterSourceLoaded.ps1

Code:
# This script handles the AfterSourceLoaded event, remove the underscore from the
# filename in order to enable it. The script sets QTGMC filter to type 0 (Interlaced) if the
# MediaInfo property 'ScanType' returns 'Interlaced'. 
# However if it's not 'interlaced' and the Scantype is Progressive it will set QTGMC to type 1 (Progressive) if the 
# MediaInfo property 'ScanType' returns 'Progressive'. 

# active project
$p = [ShortcutModule]::p

#global object with miscelenius stuff
$g = [ShortcutModule]::g

if ([MediaInfo]::GetVideo($p.FirstOriginalSourceFile, "ScanType") -eq "Interlaced")
{
    $p.Script.SetFilter("Field", "QTGMC Interlaced", "QTGMC(Preset = ""Medium"", InputType=0, SourceMatch=3, Sharpness=0.2, EdiThreads=8)")
}
elseif ([MediaInfo]::GetVideo($p.FirstOriginalSourceFile, "ScanType") -eq "Progressive")
{
	$p.Script.SetFilter("Field", "QTGMC Progressive", "QTGMC(Preset = ""Medium"", InputType=1, Sharpness=0.2, EdiThreads=8)")
}
if there still issues remove SourceMatch=3, from the script

You can also try to Upgrade to 2.0 Beta 2 of StaxRip.
Revan654 is offline