View Single Post
Old 14th September 2009, 00:19   #427  |  Link
Arshad07
Jeremy Duncan Fan
 
Arshad07's Avatar
 
Join Date: Aug 2008
Location: London, UK
Posts: 238
Quote:
Originally Posted by Gavino View Post
You're setting b by trimming the result of the first SRestore.
Try this:
Code:
a=Trim(0,100000).Yadif(Mode=1,Order=1).SRestore()
b=Trim(100001,180000).Yadif(Mode=1,Order=1).SRestore()
a+b
Tried that. Works fine but running time has gone down dramatically. Like movie was ~ 2hrs, it came down to 1hr 40 mins.

Quote:
Originally Posted by Gavino View Post
Better still would be:
Code:
Yadif(Mode=1,Order=1).SRestore()
Trim(0, ...)+Trim(..., ...)
but you would then need to use different frame numbers, relative to the result of SRestore.
Works fine. Will see if it encodes without crashing. Thanks


Quote:
Originally Posted by Gavino View Post
But why split in two if the two parts are consecutive?
Because everytime i'm encoding, its crashing at like 60%. I'm guessing thats because Srestore cannot be used on a certain length of a movie.

Quote:
Originally Posted by manono View Post
You want to split the encoding into 2 parts and then join the 2 parts later:

Trim(0,100000)#part 1
#Trim(100001,0)#part 2
Yadif(Mode=1,Order=1)
SRestore()
Dont understand what you're trying to do here.

Quote:
Originally Posted by elguaxo View Post
there are probably hundreds of ways to do this. I do it like this:

Script A:
Code:
DGDecode_mpeg2source("I:\sample.d2v")

SomeBobber
SRestore()

Trim(0,37968,false)
Script B:
Code:
DGDecode_mpeg2source("I:\sample.d2v")

SomeBobber
SRestore()

Trim(37969,75937,false)
I encode A and then B to lossless AVIs. And then I use this script for joining all parts for the final encode:

Code:
a=AVISource("sample.part1.avi")
b=AVISource("sample.part2.avi")

f=a+b
return f
edit: already answered by manono
Cheers. :thumbup:

Will see how it turns out!

Last edited by Arshad07; 14th September 2009 at 00:23.
Arshad07 is offline   Reply With Quote