View Single Post
Old 29th August 2014, 18:18   #3  |  Link
bxyhxyh
Registered User
 
Join Date: Dec 2011
Posts: 354
Quote:
Originally Posted by LemMotlow View Post
What do you mean by "overlay"
Upscale DVD and overlay bluray video on it to get some pixels from DVD source.

Quote:
Originally Posted by LemMotlow View Post
That's not correct.

DVD is almost always interlaced or telecined. Depending on who created them, some DVD's are purely progressive but encoded as interlaced. There are several variations.

1280x720 standard BluRay is always progressive at 23.97, 24, 50, or 59.94 fps.
I meant my sources are. Bluray source that I have is progressive and DVD is interlaced.

Quote:
Originally Posted by LemMotlow View Post
Can't answer that. No one knows anything about your source videos.
Here are samples and a script
dvd - https://dl.dropboxusercontent.com/u/58215671/dvd.ts
bluray - https://dl.dropboxusercontent.com/u/...71/bluray.m2ts

Code:
dvd=MPEG2Source("C:\Users\win8\Desktop\dvd.d2v", cpu=0).Trim(4,0) # This trim is to start progressive frame of this sample. Doesn't exist in my real script
bd=lwlibavvideosource("C:\Users\win8\Desktop\bluray.m2ts").Trim(178,0) # This trim is for match first frame with dvd's first frame. Doesn't exist in my real script
dvd.TFM().crop(0,2,0,0).TDecimate(mode=1)
nnedi3_rpow2(2,cshift="spline36resize")
d1=Spline36Resize(1280,718)
d2=Spline36Resize(1280,720)
dvd=overlay(d2,d1)

overlay(dvd,bd.Spline36Resize(1260,718,0.5,0.5,-0.5,0),10,2)
EDIT: For these samples, they are off by one frame. But for whole video it appears randomly.

Last edited by bxyhxyh; 29th August 2014 at 21:03.
bxyhxyh is offline   Reply With Quote