digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: always get a file over 1 gig? (http://www.digitalfaq.com/archives/encode/2033-kvcd-file-gig.html)

cooldude514 01-04-2003 07:04 PM

KVCD: always get a file over 1 gig?
 
Hey I am tryin to make a vcd of a movie and it is 288mb avi but when I convert with the 180 minute KVCD template I always get a file over 1 gig and I am tryin to get it onto a 700mb cd thx for your help

8) cooldude514 8)

conquest10 01-04-2003 08:48 PM

http://www.kvcd.net/forum/viewtopic.php?t=2102 personally this doesn't work. no matter how long the movie is, i always get around the same answer. if i multiply the answer by how long the movie is, i always get more than a gig.

kwag 01-04-2003 09:36 PM

Quote:

Originally Posted by conquest10
no matter how long the movie is, i always get around the same answer. if i multiply the answer by how long the movie is, i always get more than a gig.

Do you lower the CQ value for the next run if the sample is to big :?: Or are you leaving the CQ value static :idea:

-kwag

black prince 01-04-2003 09:39 PM

@conquest10 and cooldude514,

It would be helpful if you gave more information about what you
used in detail. For example, what your's source (DVD, Divx, etc.),
settings for DVD2AVI, FitCD (what resolution was used), Tmpgenc
settings and so on. How can anyone help solve your problems without
knowing your steps. :?


-black prince

conquest10 01-04-2003 09:51 PM

i rip the dvd. when i divide the number of frames in the movie by how long it is, somehow i always get a number close to 1440. so in the end the predicted file size is always 11 MB. the sample is 100 seconds long. thats .11 MB per second. 6.6 MB per minute. a 145 minute movie would be 957 MB without the audio.

kwag 01-04-2003 10:14 PM

Quote:

Originally Posted by conquest10
i rip the dvd. when i divide the number of frames in the movie by how long it is, somehow i always get a number close to 1440.

You divide the number of frames by the number of minutes the film is and by 24 . Ex: 198665 / 138 / 24. Maybe you missed that point :idea:

-kwag

conquest10 01-04-2003 10:17 PM

no i was just saying that at first i always get 1440 so when i divide by 24 then divide that into 650 i get 11.

urban tec 01-05-2003 12:19 AM

Quote:

always get 1440 so when i divide by 24 then divide that into 650 i get 11
Just wonder why you are dividing by 650 here?

The formula is "Predicted MPEG size = (( Total frames/MovieTimeInMinutes) / 24 ) * MPEG sample file size"
The mpeg sample size is the size of the test encode you do with sampler etc. Is this what you are doing?

conquest10 01-05-2003 12:42 AM

oh, that's the cd space. the audio is about 120 MB and i always like to leave a little "in case of" space.

conquest10 01-05-2003 12:48 AM

i just looked at that. if i plug in the results, it adds up to 660 MB. exactly what i want. BUT when i actually do it, it doesn't add up. look at my prediction above.

urban tec 01-05-2003 02:32 AM

I'm not sure that your understanding,

Setup tmpgenc and load your script

when you run this you will get a small video file, this is the mpeg sample file refered to in the formula

Predicted MPEG size = (( Total frames/MovieTimeInMinutes) / 24 ) * MPEG sample file size

713 / MemoryRecall(which is 59.98 ) = 11.88MB this is how you work out your target file size, the 713 is the space you have on the cd after audio, you were using 650 so this is the value you would use here.

Keep running the script with sampler and make changes to the cq in tmpgenc until you hit the target file size.

conquest10 01-05-2003 02:38 AM

that's exactly what i'm doing. after a few tries i end up with a file thats 11 MB. the file is 100 seconds. and like i said before 11 MB for 100 seconds is too much. the movie is 145 minutes. at that rate the file will be 957 MB without the audio. the audio is 116 MB.

kwag 01-05-2003 02:42 AM

conquest10,

If your movie is 145 minutes, then your formula would be: Number_Of_Frames / 145 / 24. Where did you come up with 100 :?:

-kwag

conquest10 01-05-2003 02:44 AM

i loaded the script with sampler() and it gave me a file that's 100 seconds long.

conquest10 01-05-2003 02:47 AM

ok. here is the entire formula:
(204961/145)/24=58.896839080459770114942528765632
so the i take 650/58.896839080459770114942528765632=11.0362459199555 03729977898234298
i round down to 11 MB. the sample after i encode is 11 MB and 100 seconds long.

kwag 01-05-2003 02:48 AM

Quote:

Originally Posted by conquest10
i loaded the script with sampler() and it gave me a file that's 100 seconds long.

Change your sampler line to read like this: Sampler(length=24)

-kwag

conquest10 01-05-2003 02:53 AM

what does that do?

kwag 01-05-2003 03:17 AM

That will force 24 frames per snapshot, which corresponds to the size of the GOP. You're probably trying to encode something that's not 24fps and sampler is taking more sample frames per shot.

-kwag

conquest10 01-05-2003 03:29 AM

when i force film in dvd2avi won't that convert the file to 24 fps?

kwag 01-05-2003 03:32 AM

Quote:

Originally Posted by conquest10
when i force film in dvd2avi won't that convert the file to 24 fps?

Yes it should. I mentioned that above because I didn't know what you were encoding. If you did use "Force FILM", then "sampler" should have used 24 automatically.

-kwag

conquest10 01-05-2003 03:34 AM

then do you know what i seem to be doing wrong?

kwag 01-05-2003 03:43 AM

Are you sure that sample is 100 seconds long. It doesn't make sense. It HAS to be 145 seconds long. Force the sample line to 24 as suggested and run another sample. It has to be 145 seconds. There's no other way, unless your total frames is not what you are entering. 8O

-kwag

conquest10 01-05-2003 03:44 AM

the file is one minute and forty seconds.

kwag 01-05-2003 03:50 AM

Quote:

Originally Posted by conquest10
the file is one minute and forty seconds.

Something is screwed in your .d2v or somewhere else. If you open your .d2v with FitCD, does it show the same number of frames you are entering in the formula :?:

-kwag

conquest10 01-05-2003 03:51 AM

i used virtualdub to frame serve to tmpgenc.

SansGrip 01-05-2003 07:49 AM

Quote:

Originally Posted by conquest10
i loaded the script with sampler() and it gave me a file that's 100 seconds long.

Make sure you're using the latest version of Sampler. Previous versions default to 100 samples. If in doubt, state it explicitly like this:

Sampler(samples=minutes in movie, length=24)

Where "length" is currently fixed at 24 regardless of your frame rate.

SansGrip 01-05-2003 07:51 AM

Quote:

Originally Posted by conquest10
i used virtualdub to frame serve to tmpgenc.

Unless you need VirtualDub for something, this just adds another layer where something can go wrong ;). Load the Avisynth script directly into TMPGEnc for best results.

jorel 01-05-2003 09:06 AM

@ Kwag and Sansgrip:

this thread could be turn in a "manual".

why don't you 2 don't make a newby pass to pass manual? :wink:
thanks.

cooldude514 01-05-2003 01:08 PM

it is a divx and it is 139 minutes

conquest10 01-05-2003 05:18 PM

thanks for the help. i'll try that Sampler(samples=minutes in movie, length=24) script.
the reason i have to use virtualdub is because tmpgenc won't load the script. i tried changing the environment settings and installig the new avisynth 3 times and it still doesn't work. virtualdub has no problem with them.

conquest10 01-06-2003 10:35 AM

:D :D Sampler(samples=minutes in movie, length=24) did the job. now the formula works perfect. thanks for the help. :D :D

kwag 01-06-2003 11:04 AM

Finally :ole: :mrgreen:


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.