Log in

View Full Version : Need Help For This Kind Of Source


kat123
14th January 2010, 22:34
Need Help For This Kind Of Source

Sample: http://www.sendspace.com/file/4a0dii

Script:
DGDecode_mpeg2source("F:\VIDEO_TS\VTS_01_1.d2v")
Load_Stdcall_Plugin("C:\Program Files\megui\tools\yadif\yadif.dll")
Yadif(order=0)
crop( 10, 78, -2, -72)
Spline36Resize(640,272) # Spline36 (Neutral)
#denoise

I have used this script in Megui and VirtualDub i tried almost all filters which are available in VirtualDup by default also Msu filters no success

Give some guide for filters and script which helps me to encode this dvd, encode size doesnt matters

This related with Avisynth thats why i post here

Thanks Guru's

Nightshiver
15th January 2010, 03:45
TGMCmod()
SRestore(frate=25.0)
crop( 12, 76, -2, -70)
Spline36Resize(720,368)

TGMCmod is included in the package for AnimeIVTC, go to the thread and download it.

Blue_MiSfit
15th January 2010, 03:57
If encode size doesn't matter, just keep the source :)

Remux it to an MKV or something, along with the original audio track.

Done!

~MiSfit

thetoof
15th January 2010, 06:53
For faster processing, use this dclip - http://forum.doom9.org/showthread.php?p=1362315#post1362315

oh, and the OP's resize supposes a 2.35:1 source, while Nightshiver resized to 1.95:1....? I'd strongly recommend encoding anamorphic if you can (crop only, minimal resize to keep mod16 and specify Display Aspect Ratio in mkvmerge to let the player resize on the fly while avoiding resolution loss when converting to 1:1 Pixel Aspect Ratio (purpose of the resize to "computer" resolution)

manono
15th January 2010, 09:18
oh, and the OP's resize supposes a 2.35:1 source, while Nightshiver resized to 1.95:1....?
And the OP is wrong. Although it may have been 2.35:1 once upon a time (like in the movie theater), on that horrible DVD 1.95:1 is more-or-less what it is. The Indian DVD production companies think nothing of cropping away as much of the picture as they want.
...while avoiding resolution loss...
I don't guess you looked at the sample. Any resolution it once may have had is long gone.

thetoof
15th January 2010, 10:15
Wow, now I get everybody's high opinion of indian post-prod companies... never had to work on any of those. After looking at the source, I tend to think that the AR is 1.92 (yes, I know it's nitpicking, but let's say it's a learning exercise :p)

From http://lipas.uwasa.fi/~f76998/video/conversion/, I assumed we have a case of "704x480 image overlayed on 720x480". However, the appropriate crop values imo are 10,74,-2,-71, meaning that instead of 704x480 = 4:3, we have 708x480 = 4,0227272:3

Then, to have 1:1 PAR, instead of 704 brought to 640, we have 708 brought to 643,636363. After Y cropping, we get a 643,636363x335 image, which means a 1,9213025780189959294436906377205 DAR.

So, (again, I dled the sample and noticed the amazing quality so I understand there's no need to encode anamorphic to preserve anything; only learning purposes for anyone seeing this thread... including me), it would mean that:

Anamorphic:

#global MeGUI_darx = 19213
#global MeGUI_dary = 10000
blabla
crop(10,74,-2,-70)
spline36resize(704,336,0,0,0,-1) #clesest mod16 resolution
#specify aformentioned DAR in mkvmerge if destined container is mkv (with a . instead of a ,). If you use anything else that can't handle DAR on its own, use the megui dar commands at the *beginning* of your script
1:1:
crop(10,74,-2,-70)
spline36resize(648,336,0,0,0,-1)
addborders(8,0,0,0)
#closest I could come up with while avoiding overcropping or non-mod8 pillarboxing

There can be many wrong assumptions in this post, so I'm awaiting to be corrected. Ah, those wonderful math and AR lessons^^

kat123
15th January 2010, 13:25
If encode size doesn't matter, just keep the source :)

Remux it to an MKV or something, along with the original audio track.

Done!

~MiSfit

Dear Blue_MiSfit nice of you but this is bad source very dark and when u see in full screen picture not good at all thats y i am trying to put some colors and brightness sharpness etc also it has crop problem when i used auto crop still there some black borders at middle of movie and some stars as well check this small sample... http://www.sendspace.com/file/hzx52b

anyways i am tring to do as other Gurus said and come back thanks Guru's