Quantcast Load the AVS File or KVCD Template? - digitalFAQ.com Forums [Archives]
  #1  
08-03-2004, 10:17 AM
dickwad dickwad is offline
Free Member
 
Join Date: Aug 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Hello. I figured out KVCD is the way to go now for converted XViD movies to 1CD. But I have a few questions (I don't think I can even remember all my questions):

1. Using TMPGEnc to encode the movie. Do I only have to load the AVS file (dialhotv4) and not a KVCD template?

2. Does a higher resolution make the filesize bigger? I always assumed it did, but now I'm not so sure. Resolution 528x480 is closest to the resolution of the source (XViD) file.

3. I have encoded a sample XViD movie (1 minute in length) and the smallest size I could get with the KVCD 120 minute on 1CD template (KVCD-CQ-352x480-_NTSCFilm_-PLUS.mcf) was 8,8MB of video only .M1V. So that means I wouldn't even be able to fit 100 minutes on 1CD (100 (minutes) x 8,8MB (video) + ~90MB (audio) = too much).


-- My goal --

4. I would like to use dialhot's AVS script to encode my movie, of course, with the best quality possible for 1 CD. Which programs do you recommend for the not-so-experienced user? I read all the guides over and over again, but they don't use AVS scripts, use outdated programs and I've been reading about all this for days and getting totally confused with everything.

My current AVS script looks like this (the sample is NTSC):

Code:
AviSource("E:\SVCD\testfile.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(352, 480, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623)
GripBorders()
TextSub("E:\SVCD\testfile.srt")
Subtitles work pretty well in the sample, to my surprise. The only thing is.. when two lines are shown, one line ends up in the black area and the other on top of it, in the movie. Just a little annoyance, but isn't really that bad. I just want to create a good XViD (most movies are around 100 minutes)->KVCD on 1CD.

Thanks... (probably forgot a lot of questions, but my head is about to explode)
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  
08-03-2004, 10:28 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 dickwad
1. Using TMPGEnc to encode the movie. Do I only have to load the AVS file (dialhotv4) and not a KVCD template?
The script and the template are 2 different things.
The script is the source of the job. You can use directly the xvid if you want but the result will be worse.
The template contains the settings of tmpgenc to obtain a KVCD. It's faster to give a template to load than to describe all the settings to put.

So you have to load both. The correct order is template then script.

Quote:
2. Does a higher resolution make the filesize bigger? I always assumed it did, but now I'm not so sure. Resolution 528x480 is closest to the resolution of the source (XViD) file.
The higher the resolution, the bigger the number of bits you will need to describe a frame. But you can choose to describe a frame more or less accurately (by keeping all the details or just the biggest ones) and that allows you to keep the total amount of bits needed to encode the video constant.
In other words, with a big or small resolution you can have the same file size but the visual quality will be a lot different !

Quote:
3. I have encoded a sample XViD movie (1 minute in length) and the smallest size I could get with the KVCD 120 minute on 1CD template (KVCD-CQ-352x480-_NTSCFilm_-PLUS.mcf) was 8,8MB of video only .M1V. So that means I wouldn't even be able to fit 100 minutes on 1CD (100 (minutes) x 8,8MB (video) + ~90MB (audio) = too much).
What was the CQ used for that test ? The CQ is the quality I'm speaking just above : the smaller is the CQ, the lower is the quality and the final filesize.
All KVCD process contains a "file size prediction" step where the CQ is estimated in order to keep the filesize within the 800 MB that can contain a CD. It's not enought to just take the template, load the source, and hit "encode".
And it's not enought to encode the first minute and to apply a simple maths formula. Things are a little more complicated.

Quote:
4. I would like to use dialhot's AVS script to encode my movie, of course, with the best quality possible for 1 CD. Which programs do you recommend for the not-so-experienced user?
Use only your brain and hands (you seem to use them right ! just continue). And CQMatic to determinate the correct CQ.
Reply With Quote
  #3  
08-03-2004, 05:41 PM
dickwad dickwad is offline
Free Member
 
Join Date: Aug 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Use only your brain and hands (you seem to use them right ! just continue). And CQMatic to determinate the correct CQ.
Ok, let's see if I get this right:

1. First CQMatic to calculate the optimal CQ for fitting my movie on 1 CD.
2. Then encode the XViD to KVCD (MPEG-1) with TMPGEnc, loading a template first** and then your AVS script. And manually setting the CQ value obtained from CQMatic. Should this be CQ or CQ_VBR?
3. Use VirtualDub to copy the audiostream in uncompressed WAV from the XViD file.
4. Use BeSweet to convert the WAV file to MP2.
5. Use bbMPEG to "mux" (this means putting audio+video together, right?) the .M1V and .MP2 file resulting in the final product: a KVCD ready to burn!

** about the template: I remember reading KVCDx3-MPEG-1 should be used no matter what resolution you encode to. Can you confirm this?

Thank you for answering my previous questions. You are very helpful!
Reply With Quote
  #4  
08-04-2004, 03:48 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 dickwad
1. First CQMatic to calculate the optimal CQ for fitting my movie on 1 CD.
2. Then encode the XViD to KVCD (MPEG-1) with TMPGEnc, loading a template first** and then your AVS script. And manually setting the CQ value obtained from CQMatic.
Actually that is the opposite : you open tmpgenc, load the template and the avs, don't worry bout the CQ, verify that all settings are correct according to your wishes and save the settings as a "text file project" (see in menu file).
Then you open CQMAtic, load the tmpgenc project in it, and after having find the CQ, CQMatic will call tmpgenc automatically to encode the whole movie.
Quote:
Should this be CQ or CQ_VBR?
We generally agree than CQ_VBR is better only for VCD resolution (352/240(28) and CQ above that.

Quote:
3. Use VirtualDub to copy the audiostream in uncompressed WAV from the XViD file.
4. Use BeSweet to convert the WAV file to MP2.
5. Use bbMPEG to "mux" (this means putting audio+video together, right?) the .M1V and .MP2 file resulting in the final product: a KVCD ready to burn!
Everything's right.
That's a little long the first time but with the time it's really easy...

Quote:
about the template: I remember reading KVCDx3-MPEG-1 should be used no matter what resolution you encode to. Can you confirm this?
Yes it is. I wrote that

Quote:
Thank you for answering my previous questions. You are very helpful!
You're welcome.
Reply With Quote
  #5  
08-04-2004, 10:31 AM
dickwad dickwad is offline
Free Member
 
Join Date: Aug 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
I can finally say my encode is succesful!

I used my test XViD file, encoded it with CQMatic (which uses TMPGEnc), then I used VirtualDub to extract the audiostream to WAV. Used the following command line to convert WAV to MP2 (128kbs/44KHz and 100% normalize) in BeSweet:

Code:
E:\KVCD\tools\BeSweet\BeSweet.exe -core( -input "e:\KVCD\tools\testfile.wav" -output "e:\KVCD\tools\testfile.mp2" ) -mp2enc( -s 44.1 -b 128 ) -ota( -g max ) -ssrc( --rate 44100 )
Used a GUI for bbMPEG called mplex.exe and finally got my KVCD mpg file with correct subtitling. I used a .srt.style file to get two lines of subtitles in the bottom black bar, instead of having the first line appear in the picture and the second line in the black bar.

I will try to encode a full movie tonight and see how accurate CQMatic is in finding the right CQ value for a 800MB KVCD file. I might try the X3 prediction if I'm not satisfied, even though it takes longer (X1 prediction took over a hour to complete!). Thank you again for answering my questions, Dialhot.
Reply With Quote
  #6  
08-04-2004, 10:34 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 dickwad
Thank you again for answering my questions, Dialhot.
I don't know how much you read before to do your first try (usage of .style file is a level 3 lesson ) but congratulation !
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
TMPGEnc: cannot load AVS file! Ineedashrink Video Encoding and Conversion 2 12-19-2003 06:50 PM
KVCD: Encode with constant bitrate, load .avs file, change resolution? Edlund Video Encoding and Conversion 29 09-17-2003 04:28 AM
Problem trying to load an avi file into avisynth ftin Avisynth Scripting 2 06-16-2003 02:25 PM
KDVD: can I just load the template in TMPGenc and hit start? Sparker Video Encoding and Conversion 2 06-10-2003 05:30 PM
KVCD: Fitcd - what file do i load into it? dragonballyobaz Video Encoding and Conversion 1 08-29-2002 10:20 AM

Thread Tools



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