PDA

View Full Version : changing black bars in video


shpanks
27th March 2003, 13:03
hi i'm encoding the battle of mexico and the black bar size differs from time to time. I was thinking to overcome this problem i'll probably have to use the trim command in avisynth, but the problem with doing this is i'll have to join all the files back together to get a filesize of 700mb. If i'm using the trim command on different parts of the movie, won't those certain parts just max out the whole 700mb instead of using a portion so i can mix them back2gether.

What are the black bars? I know that when they transfer the film reel to DVD 720x576 it is transferred with an incorrect aspect ratio and then later corrected with DAR flags but y are there black bars in the video (as seen in the d2v). Ithought the black bars where added by software to keep the aspect ratio.

hoping to get a reply

shpanks

N_F
27th March 2003, 13:18
How much and how often does the black borders change? If it's very small and very often you're better off just cropping a few pixels in.

If it's only a few time and you feel it's worth your time you may do something like:


clip1 = trim(0,12345).crop(ints).bicubicresize(values).<whatever filters you want>
clip2 = trim(12346,54321).crop(other ints).bicubicresize(values).<whatever filters you want>
clip3 = trim(54322,84500).crop(other ints).bicubicresize(values).<whatever filters you want>
return clip1 + clip2 + clip3