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


All times are GMT -5. The time now is 12:34 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.