Quantcast KVCD: Image Size Between Letterbox, and Smaller than DVD? - digitalFAQ.com Forums [Archives]
  #1  
05-21-2002, 12:10 AM
bigbob2 bigbob2 is offline
Free Member
 
Join Date: Apr 2002
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Hey Kwag, this is my first time encoding dvd to mpg using your template. Well things came out fine except one small thing that kind of bugs me. Using a pencil to make a mark on the side of my monitor, I found the size of the image between the letterbox are not the same between the original dvd and the finished mpg using Windvd. The original dvd image is a bit larger (from top to bottom between the letterbox) than the encoded mpg. Aren't they both supposed to be the same?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
05-21-2002, 01:37 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by bigbob2
Hey Kwag, this is my first time encoding dvd to mpg using your template. Well things came out fine except one small thing that kind of bugs me. Using a pencil to make a mark on the side of my monitor, I found the size of the image between the letterbox are not the same between the original dvd and the finished mpg using Windvd. The original dvd image is a bit larger (from top to bottom between the letterbox) than the encoded mpg. Aren't they both supposed to be the same?
They're supposed to be the same. Did you adjust the input aspect in TMPEG?.

You can't just encode with the default setting with KVCD or any of the internal TMPEG templates without adjusting the aspect ratio.

And it depends of your input source if you're reading from a .d2v project file, .avs script, or AVI file, etc.

kwag
Reply With Quote
  #3  
05-21-2002, 02:23 AM
bigbob2 bigbob2 is offline
Free Member
 
Join Date: Apr 2002
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
OK, here's what I did, hopefully you'll find out why it's a little bit smaller than the dvd version.

1. I ripped the vob files to the HD using smartripper.

2. Ran the vob files thru dvd2avi (forced film) to create the d2v file and the audio wav file.

3. load the d2v file using Fitcd, set crop to accurate and destination to 1/2 dvd, and get the avs file.

LoadPlugin("F:\Encoded\MPEG2DEC.dll")
mpeg2source("F:\Encoded\Magnolia.d2v")
BilinearResize(352,352,0,0,720,480)
TemporalSmoother(2,2)
AddBorders(0,64,0,64)

4. I then load this avs file with Virtualdub and start frame server (video.vdr.avi).
5. Load this video.vdr.avi file with Tmpgenc, the audio wav file, then the kvcd template, I then only change the source aspect to 1:1(VGA) and video arrange method to full screen.

Both top & bottom of the encoded mpg between the letterbox is approximately 0.15 to 0.2cm smaller/shorter than the original dvd
Reply With Quote
  #4  
05-21-2002, 02:59 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by bigbob2
OK, here's what I did, hopefully you'll find out why it's a little bit smaller than the dvd version.

1. I ripped the vob files to the HD using smartripper.

2. Ran the vob files thru dvd2avi (forced film) to create the d2v file and the audio wav file.

3. load the d2v file using Fitcd, set crop to accurate and destination to 1/2 dvd, and get the avs file.

LoadPlugin("F:\Encoded\MPEG2DEC.dll")
mpeg2source("F:\Encoded\Magnolia.d2v")
BilinearResize(352,352,0,0,720,480)
TemporalSmoother(2,2)
AddBorders(0,64,0,64)

4. I then load this avs file with Virtualdub and start frame server (video.vdr.avi).
5. Load this video.vdr.avi file with Tmpgenc, the audio wav file, then the kvcd template, I then only change the source aspect to 1:1(VGA) and video arrange method to full screen.

Both top & bottom of the encoded mpg between the letterbox is approximately 0.15 to 0.2cm smaller/shorter than the original dvd
Just open your .avs directly as video source with TMPEG, and open your audio source also with TMPEG.

Set Video arrange method to Center(Custom size) 352x352.

Now check your output.

kwag
Reply With Quote
  #5  
05-21-2002, 04:36 AM
bigbob2 bigbob2 is offline
Free Member
 
Join Date: Apr 2002
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Still the same outcome, I'm gonna try to do it again but with a different dvd ripper!
Reply With Quote
  #6  
05-21-2002, 07:13 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
I think you need to resize to 352x360 to get _exactly_ the same heigth, but 352x352 will give you less block noise, and you won't notice the difference unless you measure it like you did.
Reply With Quote
  #7  
05-21-2002, 10:14 AM
bigbob2 bigbob2 is offline
Free Member
 
Join Date: Apr 2002
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by bigbob2
OK, here's what I did, hopefully you'll find out why it's a little bit smaller than the dvd version.

1. I ripped the vob files to the HD using smartripper.

2. Ran the vob files thru dvd2avi (forced film) to create the d2v file and the audio wav file.

3. load the d2v file using Fitcd, set crop to accurate and destination to 1/2 dvd, and get the avs file.

LoadPlugin("F:\Encoded\MPEG2DEC.dll")
mpeg2source("F:\Encoded\Magnolia.d2v")
BilinearResize(352,352,0,0,720,480)
TemporalSmoother(2,2)
AddBorders(0,64,0,64)

4. I then load this avs file with Virtualdub and start frame server (video.vdr.avi).
5. Load this video.vdr.avi file with Tmpgenc, the audio wav file, then the kvcd template, I then only change the source aspect to 1:1(VGA) and video arrange method to full screen.

Both top & bottom of the encoded mpg between the letterbox is approximately 0.15 to 0.2cm smaller/shorter than the original dvd
Just open your .avs directly as video source with TMPEG, and open your audio source also with TMPEG.

Set Video arrange method to Center(Custom size) 352x352.

Now check your output.

kwag
Oh yeah, if I open the .avs directly with Tmpeg and not thru Virtualdub frameserve first, then the color of the encoded mpg will be all messed up, like it's in 8-bit color mode. So something must be wrong with my setup then.
Reply With Quote
  #8  
05-21-2002, 10:16 AM
bigbob2 bigbob2 is offline
Free Member
 
Join Date: Apr 2002
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by GFR
I think you need to resize to 352x360 to get _exactly_ the same heigth, but 352x352 will give you less block noise, and you won't notice the difference unless you measure it like you did.
Thanks for the info GFR! I'll try it later tonight. But how do you come up with the number 360?
Reply With Quote
  #9  
05-21-2002, 10:27 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by bigbob2

Oh yeah, if I open the .avs directly with Tmpeg and not thru Virtualdub frameserve first, then the color of the encoded mpg will be all messed up, like it's in 8-bit color mode. So something must be wrong with my setup then.
I think you ripped as RGB.
Rip again as YUV, or add ConvertToYUY2() in the AviSynth script.

kwag
Reply With Quote
  #10  
05-22-2002, 02:09 AM
bigbob2 bigbob2 is offline
Free Member
 
Join Date: Apr 2002
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Mmm... This is kind of interesting. I just borrowed the matrix dvd from a friend so that I can compare it with the sample matrix clip, and Kwag, your clip is indeed a bit smaller/shorter than the actual dvd between the letterbox when using Windvd. So what is wrong here, am I seeing things?
Reply With Quote
  #11  
05-22-2002, 02:17 AM
bigbob2 bigbob2 is offline
Free Member
 
Join Date: Apr 2002
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by GFR
I think you need to resize to 352x360 to get _exactly_ the same heigth, but 352x352 will give you less block noise, and you won't notice the difference unless you measure it like you did.
GFR, changing 352x352 to 352x360 does make it, to the best of my measuring ability, about the same height as the dvd. But just how did you come up with this particular number?
Reply With Quote
  #12  
05-22-2002, 02:33 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by bigbob2
Mmm... This is kind of interesting. I just borrowed the matrix dvd from a friend so that I can compare it with the sample matrix clip, and Kwag, your clip is indeed a bit smaller/shorter than the actual dvd between the letterbox when using Windvd. So what is wrong here, am I seeing things?
I am using the parameters calculated automatically from the new version of FitCD.

If I open the .d2v project from "Matrix", and select an output of 1/2 DVD ( 352x480 ) the BillinearResize from FitCD is: BilinearResize(352,352,0,0,720,480) and AddBorders(0,64,0,64).

As far as I can tell, the VCD's aspect I burn looks exactly like the original DVD in my HDTV. I'll have to double check again with a tape measure

kwag
Reply With Quote
  #13  
05-22-2002, 08:27 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
in a 3:4 screen if you have 480 lines you have (480/3)*4=640 dots per line.

If you have 640 dots per line and want a 16:9 display, (640/16)*9=360.

This number of lines (360) would give perfect 16:9

But 360 is not a multiple of 16, while 352 is - so I think FitCD uses 352 because it resizes better with less noise, with a close enough ratio.

I use 352x352 as FitCD suggests - the aspect is almost perfect and the quality is better.
Reply With Quote
  #14  
05-22-2002, 08:31 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
Of course, if you resize to 352x360, now you have to add top and bottom borders of 60 instead of 64.
Reply With Quote
  #15  
05-22-2002, 12:44 PM
bigbob2 bigbob2 is offline
Free Member
 
Join Date: Apr 2002
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by GFR
in a 3:4 screen if you have 480 lines you have (480/3)*4=640 dots per line.

If you have 640 dots per line and want a 16:9 display, (640/16)*9=360.

This number of lines (360) would give perfect 16:9

But 360 is not a multiple of 16, while 352 is - so I think FitCD uses 352 because it resizes better with less noise, with a close enough ratio.

I use 352x352 as FitCD suggests - the aspect is almost perfect and the quality is better.
Ok, thank you for the explaination. Just thought I did something wrong to make it not the same height. Now I'll go away and do some more encoding (352x352 of course) with this great template (Thank you Kwag).
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: File size much smaller than expected? scorch Video Encoding and Conversion 7 06-23-2007 09:43 AM
Sample Size Factor must not be smaller than 0.9 or... sensucht69 Video Encoding and Conversion 1 07-24-2004 12:47 PM
KVCD: 23.976fps vs 29.97 Framerate - file size is smaller Paul0889 Video Encoding and Conversion 2 02-27-2003 05:13 PM
KVCD: Higher CQ give smaller file size? Smoochie3 Video Encoding and Conversion 1 07-02-2002 10:10 PM
KVCD: VCDEasy and image file size ? Omega Authoring VCD, DVD, Blu-ray 6 06-06-2002 12:24 PM

Thread Tools



 
All times are GMT -5. The time now is 10:54 PM  —  vBulletin © Jelsoft Enterprises Ltd