Log in

View Full Version : Decomb521VFR issue...


Blanchimont
31st January 2009, 23:44
Using Decomb521VFR to encode a hybrid source to get smooth motion in both film and video parts in the final encode, however...

For some reason the video parts get a narrow black border left/right?

From the script; (deinterlaces/decimates the film parts while leaving video untouched...)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb521VFR1.3_P4-Athlon.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dgdecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\fieldhint.dll")


DGDecode_Mpeg2Source("path\d2v")

Telecide(order=1,guide=0,blend=true)
Decimate(mode=4,threshold=1.0,timecodes="timecodes.txt",vfrstats="vfrstats")

I know I could crop the entire encode, but as film is main fodder of it, I'd end up losing more for less. So is there any filters to remove (black)borders from only video parts of an encode without messing up the rest of it?
On a note those borders aren't present on the DVD/VOB
Also on a note the VOB is 720x480(3:2) and DAR 4:3

I assume the diagnosis/solution is easy enough, but I'm still lacking experience on this field... Thanks for any help in advance.

Guest
1st February 2009, 01:37
For some reason the video parts get a narrow black border left/right?
...
On a note those borders aren't present on the DVD/VOB
There's nothing in the filter chain that would do that. So please post a link to an unprocessed sample of your VOB that we can use to duplicate the issue.

DegrainMedian
4th February 2009, 07:37
There's nothing in the filter chain that would do that. So please post a link to an unprocessed sample of your VOB that we can use to duplicate the issue.

Ya that's rite ... :thanks:

[P]ako
5th February 2009, 14:45
On a note those borders aren't present on the DVD/VOB


The black borders don't show when playing back the DVD or when playing the VOBs in certain players, they certainly show when processing said vobs.

So is there any filters to remove (black)borders from only video parts of an encode without messing up the rest of it?


Just Crop(left, top, -right, -bottom). If parts of the video had different border's widths, then use crop in combination with trim and a resizer, like this:

source.trim(0,1000).crop(2,0,-2,0).lanczosresize(720,480) + source.trim(1001,5000).crop(0,6,-2,0).lanczosresize(720,480) + source.trim(5001,10000).crop(-2,2,0,6).lanczosresize(720,480) + ...

thetoof
5th February 2009, 15:34
ako;1245871']source.trim(0,1000).crop(2,0,-2,0).lanczosresize(720,480) + source.trim(1001,5000).crop(0,6,-2,0).lanczosresize(720,480) + source.trim(5001,10000).crop(-2,2,0,6).lanczosresize(720,480) + ...You're messing up the AR by doing this...

[P]ako
5th February 2009, 20:17
You're messing up the AR by doing this...

Yeah, though it's not noticeable. I am just answering to the first poster's question (I understood that only some sections of the video have black borders).

TheRyuu
5th February 2009, 21:19
Just curious here, but why are you not using TIVTC?