fjhdavid
11th May 2009, 17:28
Dear Jdobbs,
I use the following script with dvdrb Pro 1.28.2:
--------------------------------------------------------
video = source(...).converttoyv12
w = video.width
h = video.height
y = video
u = video.utoy.lanczosresize(w,h)
v = video.vtoy.lanczosresize(w,h)
yp = mt_lutxyz(y, u, v, "x 1 * y 2 * z 3 * + +")
up = mt_lutxyz(y, u, v, "x 2 * y 3 * z 4 * + +").lanczosresize(w/2,h/2)
vp = mt_lutxyz(y, u, v, "x 1 * y -1 * z -1 * + +").lanczosresize(w/2,h/2)
return ytouv(up,vp,yp)
----------------------------------------------------------
Everything is working except the fact that I have 4x times more frames during encoding (3200 instead 800) with HC encoder, and during rebuilding I have to wait 4x times longer because I have warning "corrupted frames" from frame 801 to 3200.
Then the final re-encoded clip is readable but is 4x times bigger
What is the problem and how to fix it?
Thanks
Francois
I use the following script with dvdrb Pro 1.28.2:
--------------------------------------------------------
video = source(...).converttoyv12
w = video.width
h = video.height
y = video
u = video.utoy.lanczosresize(w,h)
v = video.vtoy.lanczosresize(w,h)
yp = mt_lutxyz(y, u, v, "x 1 * y 2 * z 3 * + +")
up = mt_lutxyz(y, u, v, "x 2 * y 3 * z 4 * + +").lanczosresize(w/2,h/2)
vp = mt_lutxyz(y, u, v, "x 1 * y -1 * z -1 * + +").lanczosresize(w/2,h/2)
return ytouv(up,vp,yp)
----------------------------------------------------------
Everything is working except the fact that I have 4x times more frames during encoding (3200 instead 800) with HC encoder, and during rebuilding I have to wait 4x times longer because I have warning "corrupted frames" from frame 801 to 3200.
Then the final re-encoded clip is readable but is 4x times bigger
What is the problem and how to fix it?
Thanks
Francois