Quantcast KVCD: Cropping in TMPGEnc Method - digitalFAQ.com Forums [Archives]
  #1  
01-03-2004, 07:58 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Working with a 720x480 PVR250 16:9 capture to encode with KVCDx3 as 480x480 SVCD. In TMPGEnc clip, the left and right borders are not very good. I'm trying to crop the left 6 pixels and right 13 pixels.

In TMPGEnc, when I clip out the bad borders and clip the top and bottom, I have the following:

701x348
Left 6
Right 13
Top 63
Bottom 69

When I open MovieStacker, I see:

Film pixel: 720x480 0 left border 0 top border
Should I change to 701x348 6 left border 63 top border?

BicubicResize(480, 366, 0, 0.6, 14, 63, 684, 34
AddBorders(0, 57, 0, 57)
LetterBox(16, 16, 16, 16)

Thanks in advance.
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  
01-03-2004, 08:38 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Hi Nick,

just to avoid misunderstandings you cant capture analog in 16:9,
ju just got a Letterboxed 4:3 (so a 16:9 look with black borders added).

Now your question.
First you do it the right way by finding the cropping values via TmpgEnc.
So note them (left value, top value, and image value).

- Enter Moviestacker
- Choose your source and determine it as DVD (as captured mpeg full size)
- In "Film Pixel" enter your image values (701x34
- In "Left Border" enter your left value und in "Top Border" your top value
- Choose in Cropping "Accurate" and round to 8
- In "Resize" choose round to 16!
- In "Destination" choose your Target
- Now go to the "Avisynth Script" Tab and choose under "Resize" MACROBLOCK Align!

These round to and Align Values do preserve that the whole image architecture will be mod 16 based! So you obtain a full macroblock optimated Image archticture which gives even better compression when encoding afterwards.

Edit:
Btw. you know that when entering Moviestackers options tab and there the avisynth version tab... you can uncheck this Avisynth Version detection just to avoid this everytime boring AVS detection error message when starting Moviestacker on an avs 2.5x configurated system.
Reply With Quote
  #3  
01-03-2004, 10:32 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, Incredible.
Reply With Quote
  #4  
01-03-2004, 11:09 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by nicksteel
Thanks, Incredible. I'm doing a encode with your information now. I have no idea how you figure all these parmeters out, but it works!
You did by yourself!
Or how do you think I got the exact values above? I took them from your first post where you figured out them by using TmpgEncs Clip option.

Yep, the PVR 250 does really good captures. I wanted to get one this spring, but as I know now that that one got audioproblems, ... Ill still stay with my DC30 which gots the ame quality but uses its onborad mjpeg hardware codec = larger Filesizes.
Reply With Quote
  #5  
01-03-2004, 11:09 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 nicksteel

I'm very happy with the PVR250 captures. The only real problem is the audio. I'm following Boulder's advice and doing 160bps instead of 128bps in Headac3he with much better results. It reduces the video file sizes, but the sound at 128bps was not very good.
Hi Nicksteel,

How about capturing the audio at the highest bitrate you can, and then using HeadAC3he to re-encode the audio
Have you tried that

-kwag
Reply With Quote
  #6  
01-03-2004, 11:15 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Did you search in the www for reports about that?
Maybe the cards onboard sound digitizer gots a bug?

My DC30 i.e. only delivers the mjpeg video which is directly muxed with MainboardAudio device Sound input. Cause the DC30 i.e. gots such a bug at the right audio channel. A noob won't hear this but there have ben some oscilloscope tests around the web which proof this.

Almost 80% of all consumer TV/Video capture cards got a not that good quality audio divice.

BTW Nick, you should never! use the same compression as the one u use when reencoding .. in here the 128kbit! This is also a problem when doing reencodings from Dvix/Xvid to KVCD or an amount of KVCDs to one KDVD. Always give the bitrate in its source state room to "breath". Or do reencode using a higher bitrate just to keep the quality.
Reply With Quote
  #7  
01-03-2004, 11:46 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by nicksteel

I'm very happy with the PVR250 captures. The only real problem is the audio. I'm following Boulder's advice and doing 160bps instead of 128bps in Headac3he with much better results. It reduces the video file sizes, but the sound at 128bps was not very good.
Hi Nicksteel,

How about capturing the audio at the highest bitrate you can, and then using HeadAC3he to re-encode the audio
Have you tried that

-kwag
He's encoding at 384kbps when capturing and then encoding at 160kbps via HeadAC3he/BeSweet. 128kbps really does produce audible distortion
Reply With Quote
  #8  
01-06-2004, 07:49 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
So does this cropping method only apply to Captured material? Or is it a good idea to use it on DVD sources too?
__________________
j3llyG0053
Reply With Quote
  #9  
01-06-2004, 07:52 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Jellygoose
So does this cropping method only apply to Captured material? Or is it a good idea to use it on DVD sources too?
Generally DVD sources have clean edges on all sides and do not need cropping.
Reply With Quote
  #10  
01-06-2004, 08:05 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, but it is normal that I get different resize values for DVD sources when I use this cropping method right?

So it can't be bad to use this, even IF the edges are clean right?
__________________
j3llyG0053
Reply With Quote
  #11  
01-06-2004, 08:16 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Jellygoose
Ok, but it is normal that I get different resize values for DVD sources when I use this cropping method right?
So it can't be bad to use this, even IF the edges are clean right?
Moviestacker always compute correct parameters according to what is in "film area" zone, not in the "source" one. So you can crop a little from the sourec if you want of course. And you can even add a black border arround the source ! (by using a negative value in left border and top border box of moviestacker) !
Reply With Quote
  #12  
01-06-2004, 08:22 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Generally DVD sources have clean edges on all sides and do not need cropping.
Well you can say most of them but not generally.

almost 20% of my orig DVDs got bad edges on the sides.
Example: "Das Boot" very light stuttering right edge
So if you use that resized overscanning in Gripfit you'll see the bad edges if they do exist.

The best is to watch the edges in the preview of DVD2AVI to determine whats the best to do.

@ Jell

I do all my encodings (no matter if Capts. or DVDs) crop manually before (figuring out that using VDubs resizer or the method above).
If you do it right!, the right AR will be delivered to FitCD or Moviestacker when typing in the cropped image resolution as explained above.
And by doing a mod16 Resizing/BorderAdding you will end up perfect.
BTW you can decide if doing an resized or an overlapped Overscan (in case of 2.35:1 I always choose overlapped overscanning.

But that all Im doing because I do only trust in classic resizings

If you trust in GripFit it also gots mod16 internal routines.

So that's a philosophy and you decide for yourself.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
TMPGEnc: Method predict for tmpgenc xpress? tamahome Video Encoding and Conversion 14 11-05-2004 04:03 PM
File prediction using TMPGEnc method from KVCD guide wretched Avisynth Scripting 8 05-25-2003 05:35 PM
TMPGEnc: best method to convert DVD to VCD? p42g Video Encoding and Conversion 9 05-01-2003 05:55 PM
My cropping/resizing method gonzopdx Avisynth Scripting 11 12-31-2002 01:08 PM
TMPGEnc: Cropping with KVCD templates PToN Video Encoding and Conversion 3 08-11-2002 07:48 PM

Thread Tools



 
All times are GMT -5. The time now is 04:43 PM  —  vBulletin Jelsoft Enterprises Ltd