Quantcast KVCD: would Others Post Their Procedures? - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #21  
01-03-2003, 08:48 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@Kwag,

Here the instructions SansGrip gave me to Crop using FitCD.
I created a avs script with no filters as input to VDub->video->add->
null transform->OK->cropping. Then I following the steps below.
It gets tricky when top-bottom and/or left-right borders are different.
The advantage of doing it this way is faster encodes. Albeit FitCD
can give the crop settings, it would be nice to make this a more
user friendly process

Quote:
Ok, so you know the size of your borders. Since the source is 720x480, this means that what FitCD calls the "film pixel" (which really means "frame size without borders") should be set to

720 - (16 + 16) = 688

by

480 - (64 + 64) = 352

FitCD will automatically choose what it thinks is the correct "left border" and "top border" for those values, but it might be wrong if the borders aren't perfectly symetrical. If you notice it says, for example, left border is 8 and you know it's 10, then change the 8 to a 10 in the "left border" box. Ditto for the top border.

At this point FitCD knows the size of the frame without borders and how wide each border is. You can then choose your cropping method ("no cropping", "accurate" and "average" are the most common -- I almost always use "average" myself) and set the cropping "round to" sliders both to 4. While you're at it, set the resize "round to" sliders to 16. Also choose the correct destination size, set your TV overscan blocks, and uncheck "optimize for CCE", "Anamorphic" and "Format conversion".

The values shown for cropping and resizing will now be correct for this particular movie, so either copy the script output or insert the values into your own script.

Here's an example from the last movie I did. Source frame: 720x480. Frame without borders: 706x462. Left border: 8. Top border: 8. Average cropping.

I hit the "Source" button and load in the .d2v file. I then set the "film pixel" boxes to 706 and 462, and the "left border" and "top border" both to 8. I make sure the "round to" sliders are all correct, and select the cropping method I want to use -- in this case, "average".

FitCD tells me that I need to crop to 696x460, then resize to 528x352. I put the following lines in my script:

Code:

Crop(8, 8, 696, 460)
BilinearResize(528, 352)



I then copy the AddBorders line verbatim from FitCD's script output:

Code:

AddBorders(0, 64, 0, 64)



And that's it: one resized movie with no bits being wasted on not-quite-black borders and with an aspect ratio that matches the original almost exactly.

Hope that helps.
_________________
Regards,
SansGrip

-black prince
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
  #22  
01-03-2003, 09:47 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by apoc
How do you do that ??
Is it really necessary ?
I generally only need to adjust the audio length if I'm converting a PAL movie into NTSC. To do this I use AssumeFPS(23.976), which means the video now runs about 4% longer and I need to "time stretch" the audio an equal amount for it to remain in sync.

Edit: Oops, forgot to say how I do it. I either use a utility called WLA (available from Doom9's download page, I think) or I use WaveLab. The latter is easier since I just enter the new running time instead of having to calculate the new total-samples value.
Reply With Quote
  #23  
01-03-2003, 09:50 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by black prince
Here the instructions SansGrip gave me to Crop using FitCD.
A quick clarification to what I wrote: when I say "uncheck anamorphic", I mean "uncheck destination anamorphic", not source.

Also I've since stopped putting AddBorders in my Avisynth script. I now set TMPGEnc's arrange method to "center" and it adds whatever borders are necessary.
Reply With Quote
  #24  
01-03-2003, 10:17 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@All,

It turns out that LanczosResize(496,352,0,8,720,464) in this
format will crop and resize. LanczosResize(496,352) and
Crop(0,8,720,464) is the same thing. There is debate as to whether
a resize should include a crop command. Having a separate crop
command before resize will speedup the encode process.
Choosing LanczosResize in FitCD will give you the both

-black prince
Reply With Quote
  #25  
01-03-2003, 10:40 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@SansGrip,

I wanted to add some more ideas to enhance documentation.
I'd like dividing each step into separate How to Guides. This makes
it easier to update or add more information to each step.

For example:

1) Ripping DVD

2) Converting VOB to .d2v

3) Converting Audio

4) Cropping and Resizing

5) Predicting File Size

6) Encoding

7) Multiplexing

8 ) Authoring and Burning



-black prince
Reply With Quote
  #26  
01-03-2003, 10:43 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by black prince
I'd like dividing each step into separate How to Guides. This makes it easier to update or add more information to each step.
That's a good idea. Of course, all of these guides can be written right now, except number 5 .
Reply With Quote
  #27  
01-03-2003, 11:18 AM
acidfire acidfire is offline
Free Member
 
Join Date: Jul 2002
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Here's what I do:
1) Ripping DVD with smartripper

2) Converting VOB to .d2v with dvd2avi

3) Converting Audio with headache

4) Cropping and Resizing with fitcd

5) Encoding with tmpg and kwag's templates

6) Multiplexing with tmpg

7) Burning with nero

I didn't add Predicting File Size because I haven't tried it yet,but I plan on trying it soon. Most of the time my movies fits on a cd so I burn it, and if it's over I adjust so the movie will fit. But this is the way I do it.
Reply With Quote
  #28  
01-03-2003, 11:22 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@SansGrip,

Quote:
SansGrip Posted: Fri Jan 03, 2003 11:43 am Post subject:

--------------------------------------------------------------------------------

black prince wrote:
I'd like dividing each step into separate How to Guides. This makes it easier to update or add more information to each step.

Quote:
SansGrip wrote:
That's a good idea. Of course, all of these guides can be written right now, except number 5 .
The manual prediction method is available. It's need to include a section
for CQ prediction, where Kwag takes the current CQ and adds the new
CQ then divides by 2 for the corrected new CQ. CQ_VBR is what he
has available.

-black prince
Reply With Quote
  #29  
01-03-2003, 11:57 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@SansGrip,

Here's the manual file prediction guide:

http://www.kvcd.net/forum/viewtopic.php?t=2102

-black prince
Reply With Quote
  #30  
01-03-2003, 12:24 PM
Daagar Daagar is offline
Free Member
 
Join Date: May 2002
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by SansGrip
Also I've since stopped putting AddBorders in my Avisynth script. I now set TMPGEnc's arrange method to "center" and it adds whatever borders are necessary.
What is the advantage of doing it this way? Does it help speed up the encode process? Between this and doing a Crop() separate from the LanczosResize() I might finally get my encodes down to a more sane amount of time
Reply With Quote
  #31  
01-03-2003, 12:31 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Daagar
What is the advantage of doing it this way? Does it help speed up the encode process?
The advantage of letting TMPGEnc add the borders, for me, is that if I change my mind about what resolution to encode at there's fewer things to change in the script .

I'm not sure how it affects encode time. Probably not a lot.
Reply With Quote
  #32  
01-03-2003, 01:32 PM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
I think with exception of FitCD, file size prediction and kwag templates, we can refer to Doom9 guides, they're very detailed and reliable. No need to reinvent the wheel
Reply With Quote
  #33  
01-03-2003, 02:49 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@acidfire,

Quote:
Here's what I do:
1) Ripping DVD with smartripper

2) Converting VOB to .d2v with dvd2avi

3) Converting Audio with headache

4) Cropping and Resizing with fitcd

5) Encoding with tmpg and kwag's templates

6) Multiplexing with tmpg

7) Burning with nero
Some of us use DVD Decrypter instead of Smartripper. Some use
BeSweet instead of Headac3he. Some multiplex with bbMPEG instead
of Tmpgenc and some use VCDEasy instead of Nero. Maybe these
steps should be without specific software so more than one way
can be described in the explaination of How To step.

@GFR

Quote:
I think with exception of FitCD, file size prediction and kwag templates, we can refer to Doom9 guides, they're very detailed and reliable. No need to reinvent the wheel
Maybe we should recreate all the steps, since some of Doom9's
guides have not been updated and are not specific to KVCD settings.
I never thought anyone would write an automated program like
acp, because we were using DVD2SVCD. Now it makes sense
because we can make changes to this program when new developments
arise more quickly and the same would be true for our own guides.
Also, putting updated dates on a step, let's everyone know the latest
changes for that step.

For example:

4) Cropping and Resize

5) File Prediction (updated: 01/07/03)

Step 4) has no changes, but step 5) was changed on 01/07/03.


-black prince
Reply With Quote
  #34  
01-03-2003, 03:05 PM
acidfire acidfire is offline
Free Member
 
Join Date: Jul 2002
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
@ black prince,
Yes I understand what you are saying , but SansGrip wanted to know how everyone makes their kvcd. And in his first post he had his method and the software he used. So that is why I added the software I used. But I do agree with you when you say we should not limit it to certain software. I'm not sure if it would be hard or not but maybe we can have each step then inside each step can be different software and how to use each software . But first we should get the basic steps down and go from there.
Reply With Quote
  #35  
01-03-2003, 03:29 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@acidfire,

acidfire wrote:
Quote:
But first we should get the basic steps down and go from there.
Yep! your right. I was thinking ahead about designing a guide that new
visitors and experienced users could refer to for starting with KVCD.
I'm sure the steps within steps can describe other methods to accomplish
the same outcome. Guides change and with this forum where change is
rapid we need a source to keep up to date. My hope is that only stable
processes will be posted for update and only certain forum members will
be able to make updates.

-black prince
Reply With Quote
  #36  
01-03-2003, 03:35 PM
Daagar Daagar is offline
Free Member
 
Join Date: May 2002
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
I follow the steps and software suggestions put forward by Kwag and SansGrip. I simply don't have the time to do the extensive amount of testing that they've done, so if they say something works I tend to believe it and use it. This was especially true of bbMPEG. I loathed trying to use that software first time I tried, because it never worked. I asked Kwag what was wrong and he whipped up a screenshot of his settings and I haven't had a problem since!

To the point: KVCD has become much more than just a TMPGEnc template, it is a whole process from the ripping through to the burning. While I agree several software solutions will do the job, for any guides that are created for this site I think as much detail as possible should be included _based on the software being used by the authors_. Hence, if Kwag/SansGrip use HeadAc3he over BeSweet, for example, then document the process for HeadAc3he! Trying to document the process for multiple apps is very time-consuming, and will lead to either no guides getting completed or 'rush-jobs' that forget a few critical steps causing a flood of new posts here in the forums. If others want to contribute process documents for alternate software, by all means, but overall there should be a "Complete Guide to KVCD" which documents a single path from start to finish.

(NOTE: I mention Kwag/SansGrip above without any intention of slighting anyone else that has contributed significantly to the KVCD process).
Reply With Quote
  #37  
01-03-2003, 03:44 PM
acidfire acidfire is offline
Free Member
 
Join Date: Jul 2002
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
@ black prince,
Quote:
@acidfire,

acidfire wrote:
Quote:
But first we should get the basic steps down and go from there.



Yep! your right. I was thinking ahead about designing a guide that new
visitors and experienced users could refer to for starting with KVCD.
I'm sure the steps within steps can describe other methods to accomplish
the same outcome. Guides change and with this forum where change is
rapid we need a source to keep up to date. My hope is that only stable
processes will be posted for update and only certain forum members will
be able to make updates.

-black prince
Sounds Great! I don't know much about making guides but maybe SansGrip, Kwag, and you can get someothers to help with making guides. And maybe assign certen sections to one perston. It might make it easier for all involved in making the guides. Example:One person workes on just audio or if you can get enough people say one person just dose heada3he in the audio section. And that person keeps their section updated. Hope this help or gives you some ideas!
Reply With Quote
  #38  
01-03-2003, 03:51 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Daagar
Hence, if Kwag/SansGrip use HeadAc3he over BeSweet, for example, then document the process for HeadAc3he!
This would be my preference not because kwag and myself use it, but because it's better .

Quote:
Trying to document the process for multiple apps is very time-consuming, and will lead to either no guides getting completed or 'rush-jobs'
I agree. I think the first step is to get the "most common case" documented, whether that be HeadAC3he or BeSweet, acp or DVD2SVCD, a calculator or KVCD Predictor, etc.. This was one of the reasons I started the thread.

Quote:
If others want to contribute process documents for alternate software, by all means, but overall there should be a "Complete Guide to KVCD" which documents a single path from start to finish.
KVCD is by nature open source, and the best thing about open source is that anyone can contribute. I think it would be a very good idea if we set up some "teams" to document certain aspects of the process, then a few individuals could go through the results and edit and integrate into a whole. I suggest a few individuals because I find things tend to be more consistent that way.

Personally I much prefer coding and testing to writing documentation (as you can tell from my readmes ), and I think am more useful to the cause in that role, but would be more than willing to help out with the final integration.
Reply With Quote
  #39  
01-03-2003, 03:54 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
An additional thought struck me while playing with the 3-disc version of Minority Report: a useful section of the documentation would deal specifically with AC3 audio from AVI sources:

1) Use VirtualDub to extract
2) Use BeSplit to repair the resulting file
3) Use BeSplit to join separate AC3 files if necessary

Then one could refer to the generic HeadAC3he guide for actually encoding the AC3.
Reply With Quote
  #40  
01-03-2003, 03:57 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@All,

Here's a link to Divx Guides, that has a structure we could discuss.

http://www.everwicked.com/modules.ph...des&file=index

The guide uses links within the guide for steps needed to create
the Divx video. I'm interested in the structure and how easy it
would be to follow along. You may have a better one or want
to comment on this one

-black prince
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Test Post kpmedia General Discussion 2 10-28-2012 07:02 AM
Your opinion please. Can I post this? Prodater64 Off-topic Lounge 1 05-09-2005 07:09 PM
Does someone want to post an answer ? Dialhot Off-topic Lounge 5 04-14-2005 06:18 AM
Shows para KVCD-(também fala sobre Mini-KDVD)ver ultimo post wjp Conversão e Codificação de Vídeo (Português) 75 09-25-2004 06:00 AM
Am I allowed to post KVCD optimal scripts here? Edlund Video Encoding and Conversion 18 10-11-2003 04:32 AM




 
All times are GMT -5. The time now is 03:37 AM  —  vBulletin © Jelsoft Enterprises Ltd