I have an MKV file which is 960 x 720 and I need to convert it to 638 x 480, adding side borders to fill in the 16:9 screen.
As I am using avisynth, what numbers should I put for resize and addborders? How do I get to those numbers?
+ Reply to Thread
Results 1 to 30 of 37
-
-
Code:
WhateverResize(638,480) AddBorders(108,0,108,0)
Code:WhateverResize(640,480) AddBorders(112,0,102,0)
Code:WhateverResize(528,480) AddBorders(96,0,96,0)
-
Sorry, they didn't work. First was rejected by AvsP for YV12 width not being a multiple of 4. Second is rejected by HCenc for width not being a multiple of 16.
On the tests I did, the closer I got to what I think should be was suggested by FitCD. But didn't quite get there. They suggested this:
1) BicubicResize(640,480,0,0.6,0,0,960,720)
AddBorders(40,0,40,0)
Or this
2) (480,480,0,0.6,0,0,960,720)
AddBorders(120,0,120,0)
One ended too "fat", the other too "thin".
So I splitted the difference with
BicubicResize(560,480,0,0.6,0,0,960,720)
AddBorders(80,0,80,0)
Well, believe it or not, it works perfectly! It looks exactly like the original in aspect ratio, with no distortion on the trimmed test I did with HCenc. -
It will display incorrectly when you burn it to a DVD. 560x480 is too wide. 528x480 is correct.
-
Originally Posted by carlmart
Then the question becomes why would you want to encode a 4:3 source as 16:9 when you lose more resolution than necessary by wasting valuable space with pillar bars? -
OK. Mine was just a trial and error game.
How did you get to those figures of yours? -
Originally Posted by manono
You're right I don't know how to use FitCD. The last time I tried probably misused it too and it didn't get me the result I knew I could have.
But you're wrong when you say I don't have a clue on what I am doing. The program yes, I don't care, but knowing what I want is the main part on what I am doing. -
Originally Posted by carlmart
But as I said, it's silly to encode a 1.33:1 source as 16:9 unless you have a good reason for doing so, like mixing 4:3 and 16:9 sources in the same DVD video, as is sometimes done in documentaries. -
[quote="manono"]
Originally Posted by carlmart
Thanks. Now I know how to do this process properly. -
Originally Posted by carlmart
-
[quote="manono"]
Originally Posted by carlmart -
Originally Posted by carlmart
LanczosResize(704,480)
AddBorders(8,0,8,0) -
It certainly looked a bit anamorphic on the PC screen. So this time I did convert it to vob and viewed it on the plasma screen.
What I did was correct the TV screen size to 4:3. Things still look anamorphic. It's slightly "fatter" than it should. -
I can't speak for the quality of your player and/or TV set, or even if you have them set up properly. Ordinarily you set the player up to output for a 16:9 (sometimes called widescreen) TV set and it'll add pillar bars automatically to 4:3 material. Sometimes you have to adjust the TV set depending on if the DVD is 4:3 or 16:9. With my Oppo player and Sony 16:9 TV I don't have to adjust anything ever. Do you have the same problem when playing retail 4:3 DVDs?
I'm assuming your 960x720 MKV is 1:1 and really is supposed to be displayed at a 1.33:1 ratio.
And you did encode as 4:3, didn't you? That 4:3 script should produce the same ratio viewing as jagabo's earlier script for 16:9 encoding. Maybe upload a small section of the VOB, something you think shows something as a bit too wide and fat. -
Originally Posted by manono
The plasma TV is a 42" Panasonic, and it should be set for "Full", which is the real 16:9 size. Before that you have 4:3.
So yes, things were setup as they should and I viewed the test in both DVD modes, with the same results.
So I now tried the first jagabo script, and it worked quite properly sized, with no morph distortions. -
What's the answer to my question about what you see when playing retail 4:3 material? Does it also play with an incorrect aspect ratio? And is there a small sample coming? One with something round like a sun, moon, ball, etc. would be nice. All I can do is feed you the correct script. I can't come to your house and troubleshoot your system.
-
Originally Posted by manono
And is there a small sample coming? One with something round like a sun, moon, ball, etc. would be nice. All I can do is feed you the correct script. I can't come to your house and troubleshoot your system.
Pity you can't come to my home... ;D -
Well, sorry to report that due to a mistake of mine, as I was trying to cut a small piece of the mkv file, I ended up deleting the whole file.
I already had the Paramount circle selected to use as AR reference.
The file was almost 5Gb, so I don't think it's anywhere to be found in my HD. -
Hehe, that happens sometimes. What I was asking about was a piece of the 4:3 encoded M2V or VOB. If 4:3 retail DVDs play OK, then so should the 4:3 encoded DVDs you create yourself. Unless you were cutting the Paramount logo for reencoding to MPEG-2.
You mentioned Wide Squeeze, so I guess you have an Oppo player as well?
Pity you can't come to my home... ;D -
Originally Posted by manono
I didn't have an m2v for that file, except the one for the test I made. It was an MKV file. I think it was an HDTV file, because no one would bother to remaster such a film from the 40s, with Bob Hope and Bing Crosby.
The Paramount logo might serve for seeing the conversion distortion.
In any case it was a good chance to use FitCD. I have other old B&W films that I want to remaster and it's not so easy to convert those smaller than 1.77 size files.
You mentioned Wide Squeeze, so I guess you have an Oppo player as well?
Hehe, Brazil, a dream destinations for many Americans (as in US Americans). But where I live (Hawaii) is also a dream destination for many. -
I didn't have an m2v for that file, except the one for the test I made.
By the way, does playing the M2V on the computer also play with some sort of aspect error (fat people)? -
Originally Posted by manono
But I think it might be interesting getting the mkv file again.
By the way, does playing the M2V on the computer also play with some sort of aspect error (fat people)?
In fact I just converted it to a DVD test just to see if that might be rightly sized. -
Originally Posted by carlmart
), that's why a sample M2V or VOB would have been good. But now I guess we'll ever know where it went wrong.
-
Oh, yes. We'll know. Just give me some time until I get that file back and we'll give it another try.
Now let me present another problem, which hasn't been completely solved in spite of having brought it to this forum in the past.
When I moved from a 4:3 CRT TV to a 16:9 plasma screen, I found out that several of my DVDs, particularly those with European movies released in Brazil or the USA, were in fact letterboxed 4:3 masterings.
What I did try in the past, with different luck, was demuxing the DVDs and converting them to full 16:9 format or close to it, resizing with avisynth.
Now I have another film made by Truffaut called "The bride wore black" which is letterboxed, and if I zoom it on my TV to 16:9, losing the black bars, the original subtitles, positioned for a 4:3 screen on those bars, will also disappear. So a new remastering is in order.
How should I proceed to make things properly? Do I demux it with PGcDemux and upload a small excerpt for you to see or should I use some other program for that? -
Originally Posted by carlmart
I'd make new subs, either by OCRing the ones in the film, or just downloading an SRT from a site like
http://www.opensubtitles.org/en/search/sublanguageid-all/imdbid-0061955
Check sync with the burnt-in ones, then crop the letterboxing and old subs off and reauthor using the SRT subs. -
Personally, I'd leave it as 4:3 when watching it. It doesn't look very good zoomed in, does it? There's just not enough resolution there to make zooming it in worthwhile. In my opinion. Or, if you don't want to keep it 4:3, then reencode it as 16:9. If this is the DVD, the subs are selectable:
http://www.dvdbeaver.com/film/DVDReview3/brideworeblack.htm -
Originally Posted by AlanHK
I'd make new subs, either by OCRing the ones in the film, or just downloading an SRT from a site like
http://www.opensubtitles.org/en/search/sublanguageid-all/imdbid-0061955
In this case of this film I might do the same, adding Spanish and Portuguese subs too.
Check sync with the burnt-in ones, then crop the letterboxing and old subs off and reauthor using the SRT subs.
Personally, I'd leave it as 4:3 when watching it. It doesn't look very good zoomed in, does it? There's just not enough resolution there to make zooming it in worthwhile. In my opinion. Or, if you don't want to keep it 4:3, then reencode it as 16:9.
I will upload a small excerpt of the original image for you to see. Which do you think it's the best option, most transparent, to demux the DVD? Is PgcDemux the best?
If this is the DVD, the subs are selectable:
http://www.dvdbeaver.com/film/DVDReview3/brideworeblack.htm -
[quote="manono"]
Originally Posted by carlmart
What are we supposed to see or learn or offer advice about, with the sample? That for a 4:3 DVD, it's better than most and is suitable for zooming and maybe reencoding as 16:9?
What I would like to know is this:
1) Can it be improved somehow using avisynth filters, even if keeping it 4:3?
2) Is it worth it reencoding for 16:9?
The latter might be useful if in the near future I get a player that does not have zoom capability. -
Originally Posted by carlmart
A 1.66:1 movie at 16:9 has only half the increased resolution of a 1.66:1 movie at 4:3, when compared to a wider film (1.85:1 or 2.35:1, for example) at 16:9 and 4:3. Therefore, when starting with a good 4:3 source there's every reason to think the upscale can be done successfully with far fewer of the artifacts (aliasing and the like) that plague 4:3 to 16:9 conversions of wider movies.
Similar Threads
-
Aspect Ratio setting in VirtualDub Capture mode
By alesco in forum Capturing and VCRReplies: 34Last Post: 6th Feb 2012, 09:23 -
MKV file displaying wrong aspect ratio on Bluray player.
By djfonti in forum Video ConversionReplies: 11Last Post: 5th Sep 2011, 20:05 -
MKV Aspect Ratio
By Valentin in forum MacReplies: 2Last Post: 16th Aug 2010, 04:25 -
how to change mkv aspect ratio?
By johnnysv in forum Video ConversionReplies: 4Last Post: 27th Apr 2010, 02:51 -
Aspect Ratio?: MKV -> XviD
By Randm in forum Newbie / General discussionsReplies: 9Last Post: 6th May 2009, 11:01