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 > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th April 2020, 13:09   #301  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,537
Quote:
Originally Posted by Stereodude View Post
Sure, those will work.
Did you notice this release of AddGrain?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 7th April 2020, 21:57   #302  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by tormento View Post
Did you notice this release of AddGrain?
I guess I saw it, but didn't connect it to MCTD in my head. Have you tried using it with MCTD? It seems there is some discussion if the output is correct or not.
Stereodude is offline   Reply With Quote
Old 8th April 2020, 09:42   #303  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,537
Quote:
Originally Posted by Stereodude View Post
I guess I saw it, but didn't connect it to MCTD in my head. Have you tried using it with MCTD? It seems there is some discussion if the output is correct or not.


Not yet. I have a long restoration process that will finish in a day or two.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 22nd April 2020, 18:16   #304  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
MP_Pipeline doesn't work with L-SMASH-Works until the .lwi file has already been successfully created. MPP .18 and .20 both do it.

This fails:
Code:
LoadPlugin("C:\HDTV Tools\MP_Pipeline\x64\MP_Pipeline.dll")
SetMemoryMax(1)
MP_Pipeline("""

### platform: win64
LoadPlugin("C:\HDTV Tools\L-SMASH-Works\x64\LSMASHSource.dll")

LWLibavVideoSource("source.mkv")

### prefetch: 16, 8
### ###
""")
VD2 returns this:


It also fails to load from AVSmeter and x264. The .lwi file appears to only be partially created. It's smaller than when the source fully loads and the .lwi doesn't have a proper "footer" in it.

This works:
Code:
LoadPlugin("C:\HDTV Tools\L-SMASH-Works\x64\LSMASHSource.dll")

LWLibavVideoSource("source.mkv")
After using the version of the script without MPP and it returns video (the full .lwi is created) then the MP_Pipeline version of the script will work fine. Is there some sort of timeout internal to MPP that is getting tripped?
Stereodude is offline   Reply With Quote
Old 22nd April 2020, 23:36   #305  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Also, MPP .20 is incompatible with the old x64 build of DGMPGDec from 2010 (I'm not aware of a newer x64 build). You basically just get a green screen as the output if used in a MPP segment. It works with MPP .18. The x64 build works outside of MPP .20.


FWIW, the 32bit version of DGMPGDec works with MPP .20.

Last edited by Stereodude; 22nd April 2020 at 23:47.
Stereodude is offline   Reply With Quote
Old 23rd April 2020, 00:02   #306  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Stereodude View Post
Also, MPP .20 is incompatible with the old x64 build of DGMPGDec from 2010 (I'm not aware of a newer x64 build). You basically just get a green screen as the output if used in a MPP segment. It works with MPP .18. The x64 build works outside of MPP .20.


FWIW, the 32bit version of DGMPGDec works with MPP .20.
https://kuroko.fushizen.eu/bin/
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 23rd April 2020, 03:45   #307  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by real.finder View Post
I can't read Japanese, but it's a stripped down version isn't it? The cpu2 argument is ignored / not used right?
Stereodude is offline   Reply With Quote
Old 23rd April 2020, 05:44   #308  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,309
Quote:
Originally Posted by Stereodude View Post
MP_Pipeline doesn't work with L-SMASH-Works until the .lwi file has already been successfully created. MPP .18 and .20 both do it.

This fails:
Code:
LoadPlugin("C:\HDTV Tools\MP_Pipeline\x64\MP_Pipeline.dll")
SetMemoryMax(1)
MP_Pipeline("""

### platform: win64
LoadPlugin("C:\HDTV Tools\L-SMASH-Works\x64\LSMASHSource.dll")

LWLibavVideoSource("source.mkv")

### prefetch: 16, 8
### ###
""")
VD2 returns this:
[lot of progress inditator messages]

It also fails to load from AVSmeter and x264. The .lwi file appears to only be partially created. It's smaller than when the source fully loads and the .lwi doesn't have a proper "footer" in it.

This works:
Code:
LoadPlugin("C:\HDTV Tools\L-SMASH-Works\x64\LSMASHSource.dll")

LWLibavVideoSource("source.mkv")
After using the version of the script without MPP and it returns video (the full .lwi is created) then the MP_Pipeline version of the script will work fine. Is there some sort of timeout internal to MPP that is getting tripped?
Could you somehow disable those message flow that appears on stdout during indexing? Seems like those "creating lwi" messages somehow confuse the internal pipe logic which is using stdout as well.
pinterf is offline   Reply With Quote
Old 23rd April 2020, 07:15   #309  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Stereodude View Post
I can't read Japanese, but it's a stripped down version isn't it? The cpu2 argument is ignored / not used right?
it seems https://i.imgur.com/njIyNGu.png
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 23rd April 2020, 13:26   #310  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by pinterf View Post
Could you somehow disable those message flow that appears on stdout during indexing? Seems like those "creating lwi" messages somehow confuse the internal pipe logic which is using stdout as well.
It doesn't look like there is an argument that can suppress them.
Stereodude is offline   Reply With Quote
Old 23rd April 2020, 15:04   #311  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,309
Quote:
Originally Posted by Stereodude View Post
It doesn't look like there is an argument that can suppress them.
I see. During an initial handshake the host process can detect a "SLAVE_OK" message sent over stdout. If no "SLAVE_OK" is received then it assumes that something bad happened and starts collecting data sent over the stdout pipe and waits until the internal buffer size (1024 bytes) is full (or timeout). Then it exits and is showing us the text which is intended to be an Error text, but it is only the indexing log. This 1024 bytes is that you posted from VD log screen.
pinterf is offline   Reply With Quote
Old 31st October 2020, 21:55   #312  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,869
I'm probably doing something wrong, but why this doesn't work?

Code:
MP_Pipeline("""
video1=FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1220_001.MP4")
### export clip: video1
### ###
video2=FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1226_001.MP4")
### export clip: video2
### pass clip: video1
### ###

video1++video2
### ###
""")



nor does this:

Code:
MP_Pipeline("""
video1=FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1220_001.MP4")
### export clip: video1
### ###
video2=FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1226_001.MP4")
### export clip: video1, video2
### ###

video1++video2
### ###
""")


nor does this

Code:
MP_Pipeline("""
FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1220_001.MP4")
### ###
video2=FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1226_001.MP4")
myvideo=last++video2
return myvideo
### ###
""")


while this clearly does:

Code:
FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1220_001.MP4")
video2=FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1226_001.MP4")
myvideo=last++video2
return myvideo
FranceBB is offline   Reply With Quote
Old 1st November 2020, 14:55   #313  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 997
I think it's because you don't pass the variable 'last'.
That's how it works for me.
Code:
MP_Pipeline("""
### inherit start ###
SourceFile = String(ScriptDir()) + "IMG_2563.MOV_x64.avs.mkv"
SourceFile = Exist(SourceFile) ? SourceFile : "E:\Ablage\IMG_2563.MOV_x64.avs.mkv"
### inherit end ###
LWLibavVideoSource(SourceFile, cache=False)
### ###

v2=LWLibavVideoSource(SourceFile, cache=False)

### export clip: v2
### ###
v3=Tweak(v2, hue=0.0, sat=1.5, bright=0, cont=1.0, coring=True, sse=False, startHue=0, endHue=360, maxSat=150, minSat=0, interp=16)
last+v3

### ###
return last
""")
or
Code:
MP_Pipeline("""
### inherit start ###
SourceFile = String(ScriptDir()) + "IMG_2563.MOV_x64.avs.mkv"
SourceFile = Exist(SourceFile) ? SourceFile : "E:\Ablage\IMG_2563.MOV_x64.avs.mkv"
### inherit end ###
LWLibavVideoSource(SourceFile, cache=False)
### ###
video2=LWLibavVideoSource(SourceFile, cache=False)
last++video2
### ###
return last
""")
__________________
Live and let live

Last edited by gispos; 1st November 2020 at 15:03.
gispos is offline   Reply With Quote
Old 1st November 2020, 15:20   #314  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Think there were several posts about that requirement for "return last", fairly recently, maybe within last 6 months. [not sure which thread]

EDIT: Here:- https://forum.doom9.org/showthread.p...07#post1914707
See several posts ahead of it too.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 1st November 2020 at 15:27.
StainlessS is offline   Reply With Quote
Old 1st November 2020, 17:20   #315  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,869
Right... right...
I forgot about return last, but it didn't help as this failed:

Code:
MP_Pipeline("""
video1=FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1220_001.MP4")
### export clip: video1
### ###
video2=FFVideoSource("I:\temp\Raw Canon EOS R\20190806_1226_001.MP4")
### export clip: video1, video2
### ###

video1++video2++video3

return last

""")
So I tried with Gispos's method and indeed it worked:

Code:
MP_Pipeline("""
### inherit start ###
SourceFile = String(ScriptDir()) + "20190806_1220_001.MP4"
SourceFile = Exist(SourceFile) ? SourceFile : "I:\temp\Raw Canon EOS R\20190806_1220_001.MP4"
### inherit end ###
FFVideoSource(SourceFile, cache=False)
### ###
video2=FFVideoSource(SourceFile, cache=False)
last++video2
### ###
return last
""")

but here is the thing, as I tried adding more and more SourceFile, it broke.
This code is still working:

Code:
MP_Pipeline("""
### inherit start ###
SourceFile = String(ScriptDir()) + "20190806_1220_001.MP4"
SourceFile = Exist(SourceFile) ? SourceFile : "I:\temp\Raw Canon EOS R\20190806_1220_001.MP4"
SourceFile2 = String(ScriptDir()) + "20190806_1226_001.MP4"
SourceFile2 = Exist(SourceFile2) ? SourceFile2 : "I:\temp\Raw Canon EOS R\20190806_1226_001.MP4"
SourceFile3 = String(ScriptDir()) + "20190807_2005_001.MP4"
SourceFile3 = Exist(SourceFile3) ? SourceFile3 : "I:\temp\Raw Canon EOS R\20190807_2005_001.MP4"
### inherit end ###
FFVideoSource(SourceFile, cache=False)
### ###
video2=FFVideoSource(SourceFile2, cache=False)
last++video2
### ###
video3=FFVideoSource(SourceFile3, cache=False)
last++video3
### ###

return last
""")
but this one is not:

Code:
MP_Pipeline("""
### inherit start ###
SourceFile = String(ScriptDir()) + "20190806_1220_001.MP4"
SourceFile = Exist(SourceFile) ? SourceFile : "I:\temp\Raw Canon EOS R\20190806_1220_001.MP4"
SourceFile2 = String(ScriptDir()) + "20190806_1226_001.MP4"
SourceFile2 = Exist(SourceFile2) ? SourceFile2 : "I:\temp\Raw Canon EOS R\20190806_1226_001.MP4"
SourceFile3 = String(ScriptDir()) + "20190807_2005_001.MP4"
SourceFile3 = Exist(SourceFile3) ? SourceFile3 : "I:\temp\Raw Canon EOS R\20190807_2005_001.MP4"
SourceFile4 = String(ScriptDir()) + "20190807_2011_001.MP4"
SourceFile4 = Exist(SourceFile4) ? SourceFile4 : "I:\temp\Raw Canon EOS R\20190807_2011_001.MP4"
### inherit end ###
FFVideoSource(SourceFile, cache=False)
### ###
video2=FFVideoSource(SourceFile2, cache=False)
last++video2
### ###
video3=FFVideoSource(SourceFile3, cache=False)
last++video3
### ###
video4=FFVideoSource(SourceFile4, cache=False)
last++video4
### ###

return last
""")
however this one is:

Code:
MP_Pipeline("""
### inherit start ###
SourceFile = String(ScriptDir()) + "20190806_1220_001.MP4"
SourceFile = Exist(SourceFile) ? SourceFile : "I:\temp\Raw Canon EOS R\20190806_1220_001.MP4"
SourceFile4 = String(ScriptDir()) + "20190807_2011_001.MP4"
SourceFile4 = Exist(SourceFile4) ? SourceFile4 : "I:\temp\Raw Canon EOS R\20190807_2011_001.MP4"
### inherit end ###
FFVideoSource(SourceFile, cache=False)
### ###
### ###
video4=FFVideoSource(SourceFile4, cache=False)
last++video4
### ###

return last
""")
Why?

I also tried with:

Code:
MP_Pipeline("""
### inherit start ###
video1 = "I:\temp\Raw Canon EOS R\20190806_1220_001.MP4"
video2 = "I:\temp\Raw Canon EOS R\20190806_1226_001.MP4"
video3 = "I:\temp\Raw Canon EOS R\20190807_2005_001.MP4"
video4 = "I:\temp\Raw Canon EOS R\20190807_2008_001.MP4"
video5 = "I:\temp\Raw Canon EOS R\20190807_2010_001.MP4"
video6 = "I:\temp\Raw Canon EOS R\20190807_2011_001.MP4"
video7 = "I:\temp\Raw Canon EOS R\20190807_2013_001.MP4"
video8 = "I:\temp\Raw Canon EOS R\20190808_1014_001.MP4"
video9 = "I:\temp\Raw Canon EOS R\20190808_1015_001.MP4"
video10 = "I:\temp\Raw Canon EOS R\20190808_1016_001.MP4"
video11 = "I:\temp\Raw Canon EOS R\20190808_1531_002.MP4"
video12 = "I:\temp\Raw Canon EOS R\20190808_1619_001.MP4"
video13 = "I:\temp\Raw Canon EOS R\20190808_1620_001.MP4"
video14 = "I:\temp\Raw Canon EOS R\20190808_1621_001.MP4"
video15 = "I:\temp\Raw Canon EOS R\20190812_1400_001.MP4"
video16 = "I:\temp\Raw Canon EOS R\20190812_1947_001.MP4"
video17 = "I:\temp\Raw Canon EOS R\20190812_1948_001.MP4"
video18 = "I:\temp\Raw Canon EOS R\20190812_2006_001.MP4"
### inherit end ###
FFVideoSource(video1, cache=False)
### ###
v2=FFVideoSource(video2, cache=False)
last=last++v2
return last
### ###
v3=FFVideoSource(video3, cache=False)
last=last++v3

return last
""")


same goes for this one:

Code:
MP_Pipeline("""
### inherit start ###
video1 = "I:\temp\Raw Canon EOS R\20190806_1220_001.MP4"
video2 = "I:\temp\Raw Canon EOS R\20190806_1226_001.MP4"
video3 = "I:\temp\Raw Canon EOS R\20190807_2005_001.MP4"
video4 = "I:\temp\Raw Canon EOS R\20190807_2008_001.MP4"
video5 = "I:\temp\Raw Canon EOS R\20190807_2010_001.MP4"
video6 = "I:\temp\Raw Canon EOS R\20190807_2011_001.MP4"
video7 = "I:\temp\Raw Canon EOS R\20190807_2013_001.MP4"
video8 = "I:\temp\Raw Canon EOS R\20190808_1014_001.MP4"
video9 = "I:\temp\Raw Canon EOS R\20190808_1015_001.MP4"
video10 = "I:\temp\Raw Canon EOS R\20190808_1016_001.MP4"
video11 = "I:\temp\Raw Canon EOS R\20190808_1531_002.MP4"
video12 = "I:\temp\Raw Canon EOS R\20190808_1619_001.MP4"
video13 = "I:\temp\Raw Canon EOS R\20190808_1620_001.MP4"
video14 = "I:\temp\Raw Canon EOS R\20190808_1621_001.MP4"
video15 = "I:\temp\Raw Canon EOS R\20190812_1400_001.MP4"
video16 = "I:\temp\Raw Canon EOS R\20190812_1947_001.MP4"
video17 = "I:\temp\Raw Canon EOS R\20190812_1948_001.MP4"
video18 = "I:\temp\Raw Canon EOS R\20190812_2006_001.MP4"
### inherit end ###
FFVideoSource(video1, cache=False)
### ###
mysource2=FFVideoSource(video2, cache=False)
last++mysource2
### ###
mysource3=FFVideoSource(video3, cache=False)
last++mysource3

return last
""")


I know that the compiler is always right, but... what is it trying to tell me this time?

and... by the way, I'm not mad, files are there and are not corrupted and have been indexed correctly, so... why?


Last edited by FranceBB; 1st November 2020 at 17:30.
FranceBB is offline   Reply With Quote
Old 1st November 2020, 17:49   #316  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Unhandled C++ execption is a dll error, not your fault.

No idea bout the rest of it, tis a mystery to me [mp_pipeline thingy].
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 1st November 2020, 18:08   #317  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,309
@FranceBB: which Avisynth version are you using?
pinterf is offline   Reply With Quote
Old 1st November 2020, 18:34   #318  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 997
Quote:
Originally Posted by FranceBB View Post
Code:
MP_Pipeline("""
### inherit start ###
video1 = "I:\temp\Raw Canon EOS R\20190806_1220_001.MP4"
video2 = "I:\temp\Raw Canon EOS R\20190806_1226_001.MP4"
video3 = "I:\temp\Raw Canon EOS R\20190807_2005_001.MP4"
video4 = "I:\temp\Raw Canon EOS R\20190807_2008_001.MP4"
video5 = "I:\temp\Raw Canon EOS R\20190807_2010_001.MP4"
video6 = "I:\temp\Raw Canon EOS R\20190807_2011_001.MP4"
video7 = "I:\temp\Raw Canon EOS R\20190807_2013_001.MP4"
video8 = "I:\temp\Raw Canon EOS R\20190808_1014_001.MP4"
video9 = "I:\temp\Raw Canon EOS R\20190808_1015_001.MP4"
video10 = "I:\temp\Raw Canon EOS R\20190808_1016_001.MP4"
video11 = "I:\temp\Raw Canon EOS R\20190808_1531_002.MP4"
video12 = "I:\temp\Raw Canon EOS R\20190808_1619_001.MP4"
video13 = "I:\temp\Raw Canon EOS R\20190808_1620_001.MP4"
video14 = "I:\temp\Raw Canon EOS R\20190808_1621_001.MP4"
video15 = "I:\temp\Raw Canon EOS R\20190812_1400_001.MP4"
video16 = "I:\temp\Raw Canon EOS R\20190812_1947_001.MP4"
video17 = "I:\temp\Raw Canon EOS R\20190812_1948_001.MP4"
video18 = "I:\temp\Raw Canon EOS R\20190812_2006_001.MP4"
### inherit end ###
FFVideoSource(video1, cache=False)
### ###
mysource2=FFVideoSource(video2, cache=False)
last++mysource2
### ###
mysource3=FFVideoSource(video3, cache=False)
last++mysource3

### ### 
return last
""")
It is not due to 'inherit start' and 'inherit end', this is just one method I like to use.

You make a mistake at the end of MP_Pipeline. Please compare.
Code:
MP_Pipeline("""
### inherit start ###
video1 = "E:\Ablage\IMG_2563.MOV_x64.avs.mkv"
### inherit end ###
LWLibavVideoSource(video1, cache=False)
### ###
mysource2=LWLibavVideoSource(video1, cache=False)
last++mysource2

### ###
mysource3=LWLibavVideoSource(video1, cache=False)
last++mysource3
### ###  (note this line)
return last
""")
After the last ### ### the process is in the main thread and MP_Pipeline no longer has access to the clip variables.
And MP_Pipeline can only access what is written in 'inherit start'.
For me it usually looks like this.
Code:
### ###
audio=LWLibavAudioSource(SourceFile, cache=False)
audioDub(last, audio)
return last
""")
Edit: I added the missing one to your code. Try it.
__________________
Live and let live

Last edited by gispos; 1st November 2020 at 19:02.
gispos is offline   Reply With Quote
Old 1st November 2020, 20:29   #319  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,869
Quote:
Originally Posted by gispos View Post
After the last ### ### the process is in the main thread and MP_Pipeline no longer has access to the clip variables.
And MP_Pipeline can only access what is written in 'inherit
Edit: I added the missing one to your code. Try it.
Same.

This returns unhandled C++ exception:

Code:
MP_Pipeline("""
### inherit start ###
video1 = "I:\temp\Raw Canon EOS R\20190806_1220_001.MP4"
video2 = "I:\temp\Raw Canon EOS R\20190806_1226_001.MP4"
video3 = "I:\temp\Raw Canon EOS R\20190807_2005_001.MP4"
video4 = "I:\temp\Raw Canon EOS R\20190807_2008_001.MP4"
video5 = "I:\temp\Raw Canon EOS R\20190807_2010_001.MP4"
video6 = "I:\temp\Raw Canon EOS R\20190807_2011_001.MP4"
video7 = "I:\temp\Raw Canon EOS R\20190807_2013_001.MP4"
video8 = "I:\temp\Raw Canon EOS R\20190808_1014_001.MP4"
video9 = "I:\temp\Raw Canon EOS R\20190808_1015_001.MP4"
video10 = "I:\temp\Raw Canon EOS R\20190808_1016_001.MP4"
video11 = "I:\temp\Raw Canon EOS R\20190808_1531_002.MP4"
video12 = "I:\temp\Raw Canon EOS R\20190808_1619_001.MP4"
video13 = "I:\temp\Raw Canon EOS R\20190808_1620_001.MP4"
video14 = "I:\temp\Raw Canon EOS R\20190808_1621_001.MP4"
video15 = "I:\temp\Raw Canon EOS R\20190812_1400_001.MP4"
video16 = "I:\temp\Raw Canon EOS R\20190812_1947_001.MP4"
video17 = "I:\temp\Raw Canon EOS R\20190812_1948_001.MP4"
video18 = "I:\temp\Raw Canon EOS R\20190812_2006_001.MP4"
### inherit end ###
FFVideoSource(video1, cache=False)
### ###
mysource2=FFVideoSource(video2, cache=False)
last++mysource2
### ###
mysource3=FFVideoSource(video3, cache=False)
last++mysource3


return last
""")
Same goes for this:

Code:
MP_Pipeline("""
### inherit start ###
video1 = "I:\temp\Raw Canon EOS R\20190806_1220_001.MP4"
video2 = "I:\temp\Raw Canon EOS R\20190806_1226_001.MP4"
video3 = "I:\temp\Raw Canon EOS R\20190807_2005_001.MP4"
video4 = "I:\temp\Raw Canon EOS R\20190807_2008_001.MP4"
video5 = "I:\temp\Raw Canon EOS R\20190807_2010_001.MP4"
video6 = "I:\temp\Raw Canon EOS R\20190807_2011_001.MP4"
video7 = "I:\temp\Raw Canon EOS R\20190807_2013_001.MP4"
video8 = "I:\temp\Raw Canon EOS R\20190808_1014_001.MP4"
video9 = "I:\temp\Raw Canon EOS R\20190808_1015_001.MP4"
video10 = "I:\temp\Raw Canon EOS R\20190808_1016_001.MP4"
video11 = "I:\temp\Raw Canon EOS R\20190808_1531_002.MP4"
video12 = "I:\temp\Raw Canon EOS R\20190808_1619_001.MP4"
video13 = "I:\temp\Raw Canon EOS R\20190808_1620_001.MP4"
video14 = "I:\temp\Raw Canon EOS R\20190808_1621_001.MP4"
video15 = "I:\temp\Raw Canon EOS R\20190812_1400_001.MP4"
video16 = "I:\temp\Raw Canon EOS R\20190812_1947_001.MP4"
video17 = "I:\temp\Raw Canon EOS R\20190812_1948_001.MP4"
video18 = "I:\temp\Raw Canon EOS R\20190812_2006_001.MP4"
### inherit end ###
FFVideoSource(video1, cache=False)
### ###
mysource2=FFVideoSource(video2, cache=False)
last++mysource2
### ###
mysource3=FFVideoSource(video3, cache=False)
last++mysource3

### ### 
return last
""")
So putting the ### ### at the end didn't really help and removing them didn't help either.

Quote:
Originally Posted by StainlessS View Post
Unhandled C++ execption is a dll error, not your fault.

No idea bout the rest of it, tis a mystery to me [mp_pipeline thingy].
I see...

Quote:
Originally Posted by pinterf View Post
@FranceBB: which Avisynth version are you using?
Ah, Ferenc is here.
I'm running Avisynth+ 3.6.1 r3300 on x86 under Windows XP with PAE turned on and 32 GB of RAM.

Output from AVSMeter:
Code:
Operating system:           Windows XP (x86) Service Pack 3.0 (Build 2600)

CPU:                        Intel(R) Xeon(R) CPU X5482 @ 3.20GHz / Xeon (Harpertown)
                            MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1
                            4 physical cores / 4 logical cores
[Avisynth info]
VersionString:              AviSynth+ 3.6.1 (r3300, 3.6, i386)
VersionNumber:              2.60
File / Product version:     3.6.1.0 / 3.6.1.0
Interface Version:          8
Multi-threading support:    Yes
Avisynth.dll location:      C:\WINDOWS\system32\avisynth.dll
Avisynth.dll time stamp:    2020-06-19, 20:44:24 (UTC)
PluginDir2_5 (HKLM, x86):   C:\Programmi\AviSynth\plugins
PluginDir+   (HKLM, x86):   C:\Programmi\AviSynth+\plugins+
So it's the last stable release.
The output of AVSMeter doesn't really show anything either:

FranceBB is offline   Reply With Quote
Old 1st November 2020, 21:06   #320  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 997
Quote:
Originally Posted by FranceBB View Post
Same.
So putting the ### ### at the end didn't really help and removing them didn't help either.
You're right, the ### ### doesn't do anything.
The filename comes from 'inherit' and the last clip variable (mysource3) is created in the main thread.
__________________
Live and let live
gispos is offline   Reply With Quote
Reply

Tags
avisynth, multi-process, pipeline

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 03:41.


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