View Full Version : Correcting A/R
Amrit
11th May 2008, 03:09
Hi guys i wanna learn how i can correct the a/r of this movie for a manual encode cce for this film
This film is called Joggers PArk and it is supposed to be 16 X 9. When you see sample and screens its nothing close.
here are the screens
http://i286.photobucket.com/albums/ll91/DeadRippersSociety/b-20.png
http://i286.photobucket.com/albums/ll91/DeadRippersSociety/c-19.png
http://i286.photobucket.com/albums/ll91/DeadRippersSociety/d-18.png
http://i286.photobucket.com/albums/ll91/DeadRippersSociety/e-15.png
Here is a Sample:
http://www.sendspace.com/file/r5zgor
The first step is finding out the correct a/r. How do i do that?
I really want to learn how to do this and i will put all my effort in it. so please be kind and helpfull. thanks
Amrit
11th May 2008, 03:16
here is my script w/o the a/r correction
MPEG2Source("C:\Documents and Settings\Amrit\Desktop\hfghfg\VTS_01_1.d2v",cpu=2)
Import("C:\Program Files\AviSynth 2.5\plugins\Mrestore.avs")
Load_Stdcall_Plugin("C:\program files\avisynth 2.5\plugins\yadif.dll")
AssumeTFF()
Yadif(Mode=1)
Mrestore()
Crop(2, 0, -6, -0)
DeGrainMedian(limitY=2,limitUV=3,mode=1)
dull=last
sharp = dull.LimitedSharpenfaster(ss_x=1.25,ss_y=1.25,Smode=3,strength=60,soft=-1)
Soothe( sharp, dull, 35 )
manono
11th May 2008, 04:02
Hi-
Well, it is, and it's supposed to be, 16:9. 16:9 is just a DAR after all, and there are only 2 of those, 16:9 and 4:3. However, it's 1.78:1, and it's obviously not supposed to be that. Some idiot left out the black bars. If 2.35:1, then:
Crop(w,x,y,z)
LanczosResize(704,368)
AddBorders(0,56,0,56)
If somewhat wider, then maybe 60 pixels should be added to top and bottom. I don't know if there's any real way to tell, unless you can find something round and big in the movie, like a sun, moon, a ball, etc. But even just using your eyes will give you a much better result than what the fools that made this did to it.
Also, the "base" framerate isn't 25fps, but 23.976fps. You might try something like:
Yadif(Mode=1,Order=1)
MRestore(Numr=2400,Denm=6000)
Amrit
11th May 2008, 04:04
Hi-
Well, it is, and it's supposed to be, 16:9. 16:9 is just a DAR after all, and there are only 2 of those, 16:9 and 4:3. However, it's 1.78:1, and it's obviously not supposed to be that. Some idiot left out the black bars. If 2.35:1, then:
Crop(w,x,y,z)
LanczosResize(704,368)
AddBorders(0,56,0,56)
If somewhat wider, then maybe 60 pixels should be added to top and bottom. I don't know if there's any real way to tell, unless you can find something round and big in the movie, like a sun, moon, a ball, etc. But even just using your eyes will give you a much better result than what the fools that made this did to it.
Also, the "base" framerate isn't 25fps, but 23.976fps. You might try something like:
Yadif(Mode=1,Order=1)
MRestore(Numr=2400,Denm=6000)
about the framerate
i found 5intercled and 1 progressive pattern meaning the proper deinterlacing would be to 25 fps and i found this the best way i could deinterlace this
so when i put the movie in dgpull down it would be from 25-29.976
also how did u decide
LanczosResize(704,368)
EuropeanMan
11th May 2008, 04:09
yadif(mode=3)
mrestore()
Amrit
11th May 2008, 04:10
yadif(mode=3)
mrestore()
you follow me everywhere dont you :)
kidding
mode 3 doesnt have a differnt effect on the source
Amrit
11th May 2008, 04:26
Hi-
Well, it is, and it's supposed to be, 16:9. 16:9 is just a DAR after all, and there are only 2 of those, 16:9 and 4:3. However, it's 1.78:1, and it's obviously not supposed to be that. Some idiot left out the black bars. If 2.35:1, then:
Crop(w,x,y,z)
LanczosResize(704,368)
AddBorders(0,56,0,56)
If somewhat wider, then maybe 60 pixels should be added to top and bottom. I don't know if there's any real way to tell, unless you can find something round and big in the movie, like a sun, moon, a ball, etc. But even just using your eyes will give you a much better result than what the fools that made this did to it.
Also, the "base" framerate isn't 25fps, but 23.976fps. You might try something like:
Yadif(Mode=1,Order=1)
MRestore(Numr=2400,Denm=6000)
http://s2.disperseit.com/attachment.php?attachmentid=7650
does that count??
i personnaly feel the width isnt 2 bad but the lenth of the problem
video_magic
11th May 2008, 05:42
Guys, do You not suspect that this may very well be dealing with non-backup material? (e.g. it is some downloaded video)
Amrit
11th May 2008, 06:05
Guys, do You not suspect that this may very well be dealing with non-backup material? (e.g. it is some downloaded video)
who said this can actually be encoded. it can be for learning purposes.
2Bdecided
12th May 2008, 15:04
Well, it is, and it's supposed to be, 16:9. 16:9 is just a DAR after all, and there are only 2 of those, 16:9 and 4:3.The MPEG-2 aspect_ratio_information table lists 3 DARs; 2.21:1 is also allowed. There's also a SAR of 1:1, so four options in total.
They're all there in TMPGEnc, for example.
I don't know if anything other than 4:3 and 16:9 are allowed on DVD. I've never tried.
DVD patcher only does 4x3 and 16x9, so it wouldn't let you patch this VOB to the (possibly) correct 2.21:1 anyway.
Cheers,
David.
unskinnyboy
12th May 2008, 15:54
The MPEG-2 aspect_ratio_information table lists 3 DARs; 2.21:1 is also allowed. There's also a SAR of 1:1, so four options in total.
They're all there in TMPGEnc, for example.
I don't know if anything other than 4:3 and 16:9 are allowed on DVD. I've never tried.
DVD patcher only does 4x3 and 16x9, so it wouldn't let you patch this VOB to the (possibly) correct 2.21:1 anyway.
manono is right. He was speaking specifically about DVD. From here (http://forum.doom9.org/showthread.php?p=1133249#post1133249):
...When you say "original DAR", it means the DAR of the DVD, which can only be 4:3 or 16:9, and that's not what you want to get close to (if your source is just MPEG-2, then it can have 1:1, 4:3, 16:9 or 2.21:1)...
So, in short,for DVD - 4:3 or 16:9.
for MPEG-2 - 1:1, 4:3, 16:9 or 2.21:1.
2Bdecided
12th May 2008, 16:52
Thanks for that info.
This could be the root of the problem though. Commercial DVDs don't normally contain images that look like this (i.e. the wrong shape!) - and DVDs can't contain the aspect ratio flag that would make it the right shape.
So did this really come from a DVD originally?
Cheers,
David.
manono
12th May 2008, 18:05
So did this really come from a DVD originally?
Yes, and evidently you haven't see many Indian DVDs. Whatever can go wrong has gone wrong. Fieldblending is more the norm than the exception. They completely screw up the movie's aspect ratio with some frequency. That's from an untouched retail DVD9 (from what I've been told by Piracy in PM).
unskinnyboy
12th May 2008, 18:54
Agreed to manono's points above. Also agreed that the proper AR of this source can only be obtained by manually correcting it (this is much, much wider than 2.35:1). The AR at which the setting sun looks OK, doesn't work for the rest of the movie (Perizaad Zorabian's long face doesn't help either). So you'd have to analyze the rest of the DVD too, and find a trade-off spot somewhere.
Amrit
12th May 2008, 21:20
^^ ill post after correct and before and after
big thanks to manono
SeeMoreDigital
13th May 2008, 09:12
Have you looked at this thread: -
http://forum.doom9.org/showthread.php?t=135229
2Bdecided
13th May 2008, 10:49
Yes, and evidently you haven't see many Indian DVDs.No, none! Oh well...
The next thing I would suggest is checking the IMDB for the "correct" aspect ratio - but it's not there :( . You'll just have to guess.
Cheers,
David.
SeeMoreDigital
13th May 2008, 15:59
No, none! Oh well...
The next thing I would suggest is checking the IMDB for the "correct" aspect ratio - but it's not there :( . You'll just have to guess.
Cheers,
David.It looks to me as though the top of the image has been cropped off more than it should have been too...
Maybe there were some "time codes" up there :eek:
Amrit
15th May 2008, 02:55
No, none! Oh well...
The next thing I would suggest is checking the IMDB for the "correct" aspect ratio - but it's not there :( . You'll just have to guess.
Cheers,
David.
yeah i looked there and amazon but i got nothing :(
Amrit
15th May 2008, 02:57
It looks to me as though the top of the image has been cropped off more than it should have been too...
Maybe there were some "time codes" up there :eek:
time codes??
unskinnyboy
15th May 2008, 03:28
time codes??Ever seen something like this on old VHS tapes?
http://img185.imageshack.us/img185/3089/timecodehc0.th.png (http://img185.imageshack.us/img185/3089/timecodehc0.png)
Amrit
15th May 2008, 03:44
Ever seen something like this on old VHS tapes?
http://img185.imageshack.us/img185/3089/timecodehc0.th.png (http://img185.imageshack.us/img185/3089/timecodehc0.png)
yes i have
not the TCR part though
unskinnyboy
15th May 2008, 04:34
TCR = Time Code Reader or Time Code Reading.
In the olden days, these time codes were burned (or sometimes superimposed as a separate layer) onto the frames while recording, for synchronization purposes (I think some DV cameras may do this still). Although, I do think that your source has been overcropped vertically (the reason why it's so wider than usual aspect ratios), I don't think there were any time codes at the top. That would have been the case only if this was transferred from an analog source like VHS or from DV. This doesn't look like it. This is probably a simple case of someone not knowing what they are doing, authoring the DVD.
2Bdecided
15th May 2008, 11:50
Maybe the overcropping is artistic, and hence on the original?
I'm not sure it is overcropped - just typical framing when the aspect ratio is greater than 2:1.
Whatever - what's gone is gone - unless video inpainting gets a lot better, or you can find another source, then you're stuck with the amount of picture that you have. Just getting the aspect ratio correct is the best that you can do.
Cheers,
David.
SeeMoreDigital
15th May 2008, 21:24
A few frames into the uploaded sample, you'll see a bedroom scene with a light stand... It's most probable that the top diffuser will be spherical (not allowing for perspective).
Amrit
15th May 2008, 22:02
TCR = Time Code Reader or Time Code Reading.
In the olden days, these time codes were burned (or sometimes superimposed as a separate layer) onto the frames while recording, for synchronization purposes (I think some DV cameras may do this still). Although, I do think that your source has been overcropped vertically (the reason why it's so wider than usual aspect ratios), I don't think there were any time codes at the top. That would have been the case only if this was transferred from an analog source like VHS or from DV. This doesn't look like it. This is probably a simple case of someone not knowing what they are doing, authoring the DVD.
yeah who ever authored this dvd9 was not the greatest. i cant expect more from a bollywood source lol.
Amrit
15th May 2008, 23:58
*Before*
http://maxupload.com/img/94A317F6.png
*After*
http://maxupload.com/img/B7676542.png
unskinnyboy
16th May 2008, 08:15
That's not the exact same frame, is it?. Anyway, AR-wise, it looks better now. You've managed to wash away the frown lines from Victor Banerjee's face and made him look younger though (not the scope of this thread. Hint -> cut back on the denoising). Also, crop away the green line from the right side.
Amrit
17th May 2008, 03:00
That's not the exact same frame, is it?. Anyway, AR-wise, it looks better now. You've managed to wash away the frown lines from Victor Banerjee's face and made him look younger though (not the scope of this thread. Hint -> cut back on the denoising). Also, crop away the green line from the right side.
not the same frame i didnt know which frame i got the first one from but its very close it
ok ill cut down at denoising. thanks for the advice
also the green line isnt on the real rip its just from VLC when you take screens
I would like to thank everyone for there help and imput
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.