digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   When making KVCD, sometimes get one large file, and one small file? (http://www.digitalfaq.com/archives/encode/4801-making-kvcd-large.html)

Thomas Davie 07-30-2003 12:19 PM

When making KVCD, sometimes get one large file, and one small file?
 
I'm running DVD2SVCD 1.13b2, AviSynth 2.52, and a motion adaptive script supplied by Dialhot. I've got my file prediction factor set to 0.96, my CD size set to 800, and all # of CD's set to 1 (under the bitrate heading).

Most of the times, the final file size of a ripped DVD will be pretty close to 800 meg. However, somtimes, I'll get a little file (20 or s0 meg), that usually cotains the credits or a very small piece of the movie.

Since I've got all of my 'number of CD's' set to 1, shouldn't I get just 1 file? I've searched, and can't come up with a good reason, and as this is more in the class of an annoyance than a showstopper, it's not ter5ribly important, but nonetheless any advice gladly accepted.

thanks

Tom

azel 07-30-2003 01:17 PM

Re: When making KVCD, sometimes get 1 large file, and 1 *SMA
 
Quote:

Originally Posted by Thomas Davie
Since I've got all of my 'number of CD's' set to 1, shouldn't I get just 1 file? I've searched, and can't come up with a good reason, and as this is more in the class of an annoyance than a showstopper, it's not ter5ribly important, but nonetheless any advice gladly accepted.

The reason is that bbMPEG is set too multiplex and cut the movie at exactly (CDsize MB - 5 MB)= 795 MB.
So, the final .mpg file can't be bigger than 795 MB (cause of that when using CQ the filesize will not be calculated exact), bbMPEG make a new file after 795 MB.
It's any the audio- and video bitrate that are depending of the CD size, not the bbMPEG settings!

jorel 07-30-2003 02:53 PM

Thomas Davie,
see if you have only one .mpv file,if yes,
open bbmpeg (under d2s folder) and load the
"encoded video.... .mpv" and the "encoded audio... .mp2"
... mux it again!
you will got only one mpeg file!

follow this adjusts to use bbmpeg:

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

:)

hint...
next time you use d2s adjust in bitrate tab:
more 2 minutes in movie time(lenght)
and more 6mb in cdsize!
:wink:

Thomas Davie 07-30-2003 03:01 PM

Re: When making KVCD, sometimes get 1 large file, and 1 *SMA
 
Quote:

Originally Posted by azel

The reason is that bbMPEG is set too multiplex and cut the movie at exactly (CDsize MB - 5 MB)= 795 MB.
So, the final .mpg file can't be bigger than 795 MB (cause of that when using CQ the filesize will not be calculated exact), bbMPEG make a new file after 795 MB.
It's any the audio- and video bitrate that are depending of the CD size, not the bbMPEG settings!

Thanks for responding. But I'm not sure that I understand the answer :) Can bbMPEG be set to cut at, say (CDsize MB - 0 MB), or is it always set at -5 MB? So, if bbMPEG *always* cuts at -5 MB, than should I set my CDsize MB = 795, or 790 or lower in the bitrate tab??? I had thought, that with my audio set to 128 kbps, my DVD would just be encoded at a bit rate enough such that a CD would be filled. To say the least, I am puzzled 8O

If I set CD size to 1000 MB, then I guess that the program would set the bitrate to fill out the CD to ~1000 MB, correct?

thanks

Tom

(or will the CQ just max out to 100?....but since I've found that I can play raw MPEG's from DVD+RW and -R, this might not be a bad thing).

jorel 07-30-2003 03:41 PM

excuse me again:

Thomas Davie,
in the dvd2svcd.ini ,you can see that d2s program
have control of BBmpeg that work like d2s need.
if you chhose 800mb size,d2s will give 794mb(less 6mb)
b u t :arrow:
using the "manual way" like i post, bbmpeg will encode as only one file!
:wink:

and if you want 1000mb you can set the bitrate to 100,
but you will got this size if your movie have time for this size...
it means,if the movie have 10 minutes,i can't believe that you got 1000mb.
this is one of the reasons that Kwag is developing CQMatic!
:)

Dialhot 07-30-2003 04:36 PM

A little hint there : a CD80 contains exactly 807 Mbn without overburning.

So set this value in DVD2SVCD insteed of the default value "800" in the birate tab. The cut will be done at 803 Mb and not 795.

I did today a perfect KVCd from DVD2SVCD that is exactly 801 Mo ! :-)

jorel 07-30-2003 05:01 PM

hey PHIL...please
details,details...
:lol:

script,cce or tmpgenc,file prediction factor(if tmpgenc)... ...etc,etc.

Thomas Davie 07-30-2003 05:54 PM

Quote:

Originally Posted by jorel
hint...
next time you use d2s adjust in bitrate tab:
more 2 minutes in movie time(lenght)
and more 6mb in cdsize!
:wink:

Iv'e just changed my CD file size to 807, and am trying another encode right now. I also checked the reference post you listed and changed my bb<PEG settings to be in accordance with that.

But, uh....2 more minutes in movie length? My movie is 2h, 40m, 30s....so I'm not quite sure what you mean. :oops:
Now, and this may be important, but under the bitrate tab, , the max average is blank. I quickly figure out what the bit rate would be for this movie and then made the max average 50 points less, Will report back when the mobie is finished.

Thanks Jorel (and Dialhot and Azel)

jorel 07-30-2003 06:14 PM

2h, 40m, 30s = ~160minutes

adjust in bitrate tab:
:arrow: between "0" and "165" mins. Use "1" CD size "807"

than in misc. tab click recover,load and mux again!

or mux as "manual" with bbmpeg like i posted!


:wink:

Thomas Davie 07-30-2003 09:22 PM

Hmmm, didn't work
 
Re running D2S created one 802 Mb file and a 33 Mb file. 8O

Tom

Thomas Davie 07-30-2003 09:33 PM

Re: Hmmm, didn't work
 
Quote:

Originally Posted by Thomas Davie
Re running D2S created one 802 Mb file and a 33 Mb file. 8O

Tom

Moreover, if under the bitrate tab, all 'Use CD's' are set to one, should the program use, well....just 1 CD (bbMPEG shouldn't split?)

Tom

jorel 07-30-2003 10:17 PM

yes Thomas Davie
:)
you have to choose "use (all) cds" with the same size
and the " time" (between-and) too...all equals!
but you encode the movie again :?:
you don't needed that,was only change the values in bitrate tab
:arrow: and mux again......i wrote it to you :!:

now ,if you encode the movie again,you got a big file size
and have to encode one more time.
802+33= too big :(

Thomas Davie 07-30-2003 10:54 PM

Quote:

Originally Posted by jorel
yes Thomas Davie
:)
you have to choose "use (all) cds" with the same size
and the " time" (between-and) too...all equals!
but you encode the movie again :?:
you don't needed that,was only change the values in bitrate tab
:arrow: and mux again......i wrote it to you :!:

now ,if you encode the movie again,you got a big file size
and have to encode one more time.
802+33= too big :(


But, all CD's were set to 1, and 807 MB (that is what you mean use (all) cds with the same size, isn't it?).

Yeah, I encoded the movie again, because I had deleted the files before I had read your response :o And yes, re encoded the movie again, but my question is this 'at a size of 1 CD at 807 MB, shouldn't the program be creating just 1 file with a size of no greater than 807 MB'? I understand that bbMPEG is set to split, but I do not see these options anywhere, even under the advanced settings.

Ah, time to watch the Rolling Stones on TV and a beer.

I'll try again tomorrow.

Thanks Jorel

Tom

jorel 07-30-2003 11:03 PM

8O

Rolling Stones :?:

where they are now?

Thomas Davie 07-30-2003 11:16 PM

[Off Topic] Rolling Stones
 
in Toronto for what has come to be called (at least here in Canada) as the SARS concert. Also with AC/DC, Rush, Tea Party and some other groups. It's been shown on a Canadian TV station, but unfortunately they seem to keep cutting away for commercials.

Tom

jorel 07-30-2003 11:29 PM

8O
stones?
8O
rush?
8O
ac/dc?
8O
and some more?!?!?

and i'm here in Brasil.....far away from Toronto!

:bawl:

Dialhot 07-31-2003 03:35 AM

Quote:

Originally Posted by jorel
hey PHIL...please
details,details...
:lol:

script,cce or tmpgenc,file prediction factor(if tmpgenc)... ...etc,etc.

Nothing really exceptionnal in what I did Jorel, except that I made a
"semi-manual" prediction. I explain below.

So used DVD2SVCD, "my" MA script (he one you called MA Philter
;-)), TMPGEnc.

The settings where : Audio 128 Kb/s, Video min 64, Video max
2300, medium sizes set to 807 for every time range (in bitrate
tab), initial CQ 70, fator prediction 1.000,.

I encoded a MPEG1 video but muxed as SVCD (the best choice for
my player) and used the standard SVCD resolution.

Why do I say I made a "semi-manual" prediction ? In fact the
automatic prediction of D2S is also screwed up by the MA script.
D2S did a first try at 70, then go to 74, then 75, then 82, then 68... !!!

I saw in the log that at 75 the results where very close to the final
size wanted. So I stopped the process, did a "recover" and this
time I set the CQ to "fixed value" of 75.

Everything went perfectly.

Dialhot 07-31-2003 03:41 AM

Re: Hmmm, didn't work
 
Quote:

Originally Posted by Thomas Davie
Re running D2S created one 802 Mb file
and a 33 Mb file. 8O

Tom

Tom, I'm not sure you understand when we are saying that size
prediction is screwed up by the new MA script :!:

That means that all former tools that used to work perfectly, don't
work anymore. That include D2S.

What is your problem there ? D2S calculates that with a CQ of 70
(it's an exemple, I don't know the real value you had), the final size
will be correct. So it does the encode. But... the final result is too
big...

What you have to do there is to make a "recover", ans set the CQ
to a fixe value of 68 for instance.

There is no other way for the moment (I'm making some tests to
find a solution but didn't find yet).

jorel 07-31-2003 06:39 AM

ha,ha ha.... :D

yours last 2 posts are 2 guides Phil :!:

thank you for that.
:wink:

ps:
your inspiration is too high today friend,more than habitual !

Thomas Davie 07-31-2003 06:49 AM

Re: Hmmm, didn't work
 
Quote:

Originally Posted by Dialhot

Tom, I'm not sure you understand when we are saying that size
prediction is screwed up by the new MA script :!:

That means that all former tools that used to work perfectly, don't
work anymore. That include D2S.

What is your problem there ? D2S calculates that with a CQ of 70
(it's an exemple, I don't know the real value you had), the final size
will be correct. So it does the encode. But... the final result is too
big...

What you have to do there is to make a "recover", ans set the CQ
to a fixe value of 68 for instance.

There is no other way for the moment (I'm making some tests to
find a solution but didn't find yet).

Ah, this post makes it clear. Plus, your above post. I've got an initial CQ rip of 70 starting right now. I'll look at the log and file size when I get home from work, and then (assuming it is necessary), recover with a fixed appropriate CQ value.

Thank you.

Tom

Thomas Davie 07-31-2003 08:50 PM

Quote:

Originally Posted by Dialhot
The settings where : Audio 128 Kb/s, Video min 64, Video max
2300, medium sizes set to 807 for every time range (in bitrate
tab), initial CQ 70, fator prediction 1.000,.

Why do I say I made a "semi-manual" prediction ? In fact the
automatic prediction of D2S is also screwed up by the MA script.
D2S did a first try at 70, then go to 74, then 75, then 82, then 68... !!!

I saw in the log that at 75 the results where very close to the final
size wanted. So I stopped the process, did a "recover" and this
time I set the CQ to "fixed value" of 75.

Everything went perfectly.


I followed this *exactly* and ended up with 2 files :) One large one and one small 32 MB file. Perhaps I did not select my static CQ low enough (it was 20).

Tom

Dialhot 08-01-2003 03:42 AM

20 ? 20 !!!

Oh my god ! I think you should lower the resolution and use VCD one. And lower also the max bitrate to 1600, and use an audio rate of 112. And finally think about using a 90min CD (you can put 912 Mb on it, 100 more than on a 80min !

With so low CQ the result will be unwatchable !

Thomas Davie 08-01-2003 06:36 AM

Quote:

Originally Posted by Dialhot
20 ? 20 !!!

Oh my god ! I think you should lower the resolution and use VCD one. And lower also the max bitrate to 1600, and use an audio rate of 112. And finally think about using a 90min CD (you can put 912 Mb on it, 100 more than on a 80min !

With so low CQ the result will be unwatchable !

The resolution is a 352x240 encode of a full screen movie. And yes, the Max bitrate is set to 2000, but according to Birateview, it does not go above 600. It is a 160 minute movie.

Tom

Thomas Davie 08-01-2003 06:45 AM

As a followup
 
I am using VCD.

Tom

Dialhot 08-01-2003 07:36 AM

Honestly Thomas, 160 min is BIG. Why don't you use a CD90 ?
Did you try to watch the result you already have at CQ=20 ? I don't think it's worth the cost

Thomas Davie 08-01-2003 08:44 AM

Quote:

Originally Posted by Dialhot
Honestly Thomas, 160 min is BIG. Why don't you use a CD90 ?
Did you try to watch the result you already have at CQ=20 ? I don't think it's worth the cost

Yes, I burnt the CD and played it a few hours ago, before coming in to work. It's slightly less than the quality of a commercial VHS tape I would say, hence in my opinion, watchable :) Now, I've also made 120, 90, and ~76 minute DVD -> KVCD rips and they look very good, extremely good and perfect in turn (again, from my limited perspective).

Using CD90's will happen down the road as soon as I've been able to 'master' D2S and CQMatic, and this whole procedure :lol:

Realistically, I will be using CD1000 as my CD size, since I will be placing these movie backups onto DVD and watching them in file mode.

thanks again for all your help.

Tom


All times are GMT -5. The time now is 08:10 AM  —  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.