Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
17th January 2006, 03:14 | #1 | Link |
Registered User
Join Date: Jul 2005
Posts: 240
|
Need your help with first anamorphic encode
Hi,
I'm encoding my first movie using anamorphic resizing. Howver after reading everything on the forum, I think I'm more confused than ever. So I'm looking for someone to help me out to endode the following movie. I have Red Eye, it's 2:40 Anamorphic, NTSC. I'm using MeGUI, to mkv. So step 1 go to Tools, AviSynth Script Creator, select my project file. For Input DAR, I select Custom and do I enter in 2:35? Check REtain anamorphic resolution and set SAR in Encoder. AVS Profile just keep at Default? Click Autocrop, which gives me 60 off the top and 66 off the bottom and 2 off the right. Go to Output Resolution and select ?? 720? Resize Filter, not sure what to select here but how about Bicubic Neatrual? Leave Deinterlace and Noise Filter unchecked. Mpeg2 Deblocking unchecked. Do I need Colour Correction checked? Is that it? I noticed that when I select the Edit tab, it says to "# Set SAR in encoder to 720 : 627" So now I go to Video and select the AviSynth script, set the output file, set it to mkv. For Codec set to AVC and here's where I select config and enter in 720:627 for SAR in the Advanced Tab? Is the 627 right? FYI I usually encode all my movies to about 2GB for a full 2hr movie with the AC3 track. So do I have this right?
__________________
Toronto,ON |
17th January 2006, 03:45 | #2 | Link | ||||
Registered User
Join Date: Apr 2005
Posts: 1,740
|
Quote:
Quote:
Quote:
Quote:
Code:
trim(0,5000) |
||||
17th January 2006, 04:02 | #3 | Link |
Registered User
Join Date: Jul 2005
Posts: 240
|
Thanks good to know I have the process down. When I select custom, the 2:35 shows in the box automically. So I guess that's right.
Just curious can I trust the Edit page where it suggests to use "# Set SAR in encoder to 720 : 627"? Is it usually right? Also if my movie is 1:85:1 aspect ratio what do I select in the Input DAR, simply 16:9?
__________________
Toronto,ON |
17th January 2006, 04:25 | #5 | Link | |
Registered User
Join Date: Jul 2005
Posts: 240
|
Quote:
Anyhow thanks for the input! Much appreciated.
__________________
Toronto,ON |
|
17th January 2006, 05:32 | #6 | Link | ||
Registered User
Join Date: Apr 2005
Posts: 1,740
|
Quote:
Quote:
|
||
18th January 2006, 01:23 | #7 | Link | |
Registered User
Join Date: Jul 2005
Posts: 240
|
Quote:
__________________
Toronto,ON |
|
18th January 2006, 11:16 | #8 | Link | ||
unrecognized user
Join Date: Oct 2005
Location: home of Stella Artois
Posts: 303
|
Quote:
Quote:
For question number 2 I'm not sure what you mean, you use either SAR OR DAR because they are related (height/width=SAR/DAR). (As I said before, it's less confusing if you just enter the DAR in matroska muxer after making an encode without resizing).
__________________
zzz |
||
18th January 2006, 03:13 | #9 | Link | |
Registered User
Join Date: Jul 2005
Posts: 240
|
Quote:
However I noticed the following locations for the file. C:\Program Files\X264 C:\program files\avisynth 2.5\plugins C:\program files\gordianknot\avisynthplugins c:\program files\godianknot\dgmpgdec Not really sure which I should be using but I tried putting the settings to c:\program files\avisynth 2.5\plugins and it still didn't work.
__________________
Toronto,ON |
|
18th January 2006, 03:24 | #10 | Link |
Registered User
Join Date: Apr 2005
Posts: 1,740
|
Ok, here's the standard thing you do when an avisynth script doesn't load: open it with VirtualDubMod. It will tell you what the error is (almost all of the time), and then you can go about remedying it. I was just making a guess, but it seems it didn't work.
|
18th January 2006, 04:26 | #11 | Link |
Registered User
Join Date: Jul 2005
Posts: 240
|
Okay figured out the error. I had two project files and it was looking for the wrong one.
I fnished encoding a small test. To be honest I don't see any difference between it using the SAR and the same movie I encoded without the SAR. Should I be able to see a difference?
__________________
Toronto,ON |
18th January 2006, 11:47 | #12 | Link |
Registered User
Join Date: Dec 2003
Posts: 15
|
Thanks, it's more clear for me
In my case, anamorphic resolution is 720x576 => DAR is (576x16)/(720x9) = 9216/6480 = 64/45 = 1.422 Then, according to your last sentence, it's not necessary to modify SAR in x264 encoding (keep 1:1), but I have to set 64/45 (in mkvmerge. Fine ? In this case, decoder will decode my movie as 720x576, but will stretch it to display as (720*1.422) x 576 = 1024 x 576. Is that right ? Last edited by lenouch; 18th January 2006 at 11:50. |
18th January 2006, 12:56 | #13 | Link |
unrecognized user
Join Date: Oct 2005
Location: home of Stella Artois
Posts: 303
|
Hmm, it looks right but it's somehow wrong. Let's try and keep it simple, lets' forget about SAR and use only DAR.
So you don't have any cropping so in your case is simple, you know that your final image should be 16:9 (1.77). Just multiply this to the height res and you get 1020. So put 1024/576 in mkvmerge and that's it. If you put that 1.42 the image will be too vertically stretched. (1.42 is multiplied with the vertical resolution not the horizontal one).
__________________
zzz |
19th January 2006, 00:35 | #14 | Link | |
Registered User
Join Date: Oct 2005
Posts: 20
|
Quote:
|
|
19th January 2006, 11:06 | #15 | Link |
unrecognized user
Join Date: Oct 2005
Location: home of Stella Artois
Posts: 303
|
Well, now that you mention it, it is. I guess it's just a habit, since usually one has also to crop you have to recalculate the new resolution, so in that case it's easier to use the resolution.
__________________
zzz |
22nd January 2006, 18:11 | #16 | Link | |
Registered User
Join Date: Jul 2005
Posts: 240
|
Quote:
__________________
Toronto,ON |
|
23rd January 2006, 12:39 | #17 | Link |
unrecognized user
Join Date: Oct 2005
Location: home of Stella Artois
Posts: 303
|
Hard to say what the problem is. Use ChopperXp to cut a little part of your vob and use the following script:
LoadPlugin("C:\Program Files\GordianKnot\DGMPGDec\dgdecode.dll") LoadPlugin("C:\Program Files\GordianKnot\DGMPGDec\Undot.dll")mpeg2source("D:\something.d2v") Undot() # CROPPING crop(8,64,-8,-64) Without anything else (like resize). And than remux in mkvmerge using for video : 830/352. As I said before, it's best to have after cropping res that multiply by 16, but not that big. Anyway, try this and in case it turns bad also, upload somewhere the test vob and also the encoded results. (www.savefile.com lets you upload files smaller than 50 mb).
__________________
zzz |
24th January 2006, 23:49 | #18 | Link | |
Registered User
Join Date: Aug 2003
Posts: 43
|
Quote:
|
|
25th January 2006, 05:36 | #19 | Link |
Registered User
Join Date: Jul 2005
Posts: 240
|
I see it mentioned that resizing is not needed when doing anamorphic encodes, and yet when using MeGUI to create an avi script for anamorphic encodes, it does put in a LancosResize(x,y). Should this be removed or does MeGUI just ignore this?
I'm a little confused which DAR to select in MeGUI for the following 1.85 anamorphic - I'm assuming I should just select 16:9? 2:35 anamorphic - select custom and enter in 2:35 2:40 anamorphic - select custom and enter in 2:40 1.78 anamorphic - select custom and enter in 1:78 Fullscreen 4:3 movie ??
__________________
Toronto,ON |
25th January 2006, 11:30 | #20 | Link | |
unrecognized user
Join Date: Oct 2005
Location: home of Stella Artois
Posts: 303
|
Quote:
DigitalDivide, the input DAR should be 16:9 in your case (so what the original dvd looks like, what dgindex tells you). So if you really don't want to use my method with mkvmerge but want to use SAR in x264, fine, this is what you should do: delete the resize from that avs, I'm not sure that megui afterwards will ignore it, I don't see any reason why, that resize will already give you the normal aspect ratio, so if you change also the SAR, it will look too flattened. So after you cut that line, load the avs, in x264 config put in sample aspect ratio 1.175:1. Now encode. Unfortunately I'm not able at the moment to test this (I never used this sar thing in x264, but always dar in mmg) but it should work.
__________________
zzz |
|
|
|