![]() |
Quote:
Edit: You forgot to update the source code link in the announcement :). It should be 0.1b_src. |
Quote:
Quote:
Quote:
Maybe taking instead of 100 initial one second snapshots, take 10 one second shots. Then increase to 20. That should be close enough, but on each step, adjust the CQ_VBR value. Then jump to the 100 samples and zero in, just like on a binary search. Ex: if CQ_VBR at 50 is too high, divide by two, so now it's 25. Else, multiply by two, so it's 75. That way it should zero in on a CQ_VBR target pretty fast ;) Maybe one pass of 10 one pass of 20 and one or two passes of 100 snapshots would hit the target pretty close. Hope I explained myself correctly :roll: -kwag |
Quote:
Done. :o -kwag |
Note to self:
@SansGrip,
From your readme file: "0.1b Note to self: Learn difference between multiplying and dividing. " I'm still laughing at this one :mrgreen: :mrgreen: :mrgreen: :lol: |
Quote:
Quote:
What I meant was, it would be nice if KVCD Predictor could display, along with the maximum sample size, a guess as to what CQ and bitrate you'd want to try in order to hit that target. I'm guessing to do this it would need to know the template you're using and maybe whether the movie is "low action", "high action" etc. That's why I asked if it would be too difficult ;). Edit: Though, thinking about it, it shouldn't be too hard to implement that kind of binary search via some kind of wizard interface, with it saying "Encode with CQ 25, min bitrate 500" then you tell it the size of the file, then it says "In that case, try CQ 22, min bitrate 400" and so on... Stupid idea? |
Quote:
-kwag |
Quote:
-kwag |
@SansGrip,
When you enter the time length of the movie does it default to 23.976 fps? If so then if it's 25 or 29.97 then you have to enter # of frames and fps so maybe the fps should be a "must enter" value- or you could have a choice of FILM, PAL, or NTSC on the main screen. Here's a crazy idea- what if FitCD could be modified so that it will write a line into the .avs with the #of frames and framerate (or you could do it manually), something like this: # 150000, 23.976 then KVCD Predictor could read this info from the .avs so you won't have to enter anything! here's crazier part: then when you've adjusted the CQ to get the target sample size then KVCD Predictor would go into the avisynth script and remove or comment out the file prediction lines so that you're ready to go! :?: just and idea :) -ren |
Quote:
So there's no need to enter an fps unless you want to specify the movie length in frames, and thus no need for a film/PAL/NTSC choice. Quote:
Quote:
|
Quote:
|
Quote:
As for the wizard-assisted binary search for the best CQ, that sounds like an interesting idea to me. I imagine something like this: 1. Specify path of sample file. Let x=initial CQ value, say 25 2. Tell user to encode with CQ of x 3. Wait for "done" button to be pressed 4. Read file size 5. If within threshold of target, stop 6. If low, let x=new higher value 7. If high, let x=new lower value 8. Goto 2 The fun part will be figuring out the new higher/lower value. It might not be quicker for an expert (read: kwag) who can get it right in a couple of tries, but it might help us normal folk (read: me) who take five or six attempts to get close :P. It could even suggest a couple of fractional values towards the end, to really squeeze the most out of it. How does that sound? Feasible? Useful? Worth the effort? |
@SansGrip and Kwag,
Getting all kinds of errors trying to execute KVCD file prediction after insatlling Microsoft.NET: Quote:
Quote:
or re-install it. :?: I don't suppose a standalone version could be created :?: I can't seem to get this to work with .NET. -black prince |
Quote:
Here's a simple formula I've been using to zero in faster on the prediction. Say I need 10MB for target and I'm encoding at a starting CQ_VBR of 25, but on the first try I get 6MB. So just do 10/6 =1.6666 and then 25 * 1.66666 = ~41. Run again with CQ_VBR=41. It usually takes me two or three runs (sometimes four) to hit the target. Never fails. And that's WAY better than waiting for two or three X-pass VBR ;) -kwag |
Quote:
I asked Dr Google and he came up with a bunch of other people with this kind of problem. One suggested solution I read was uninstalling the .NET framework (through Add/Remove Programs), then installing MDAC 2.7 from here, then reinstalling .NET. Sorry you're having problems with this :(. Unfortunately I don't have a copy of Windows ME to test it on, but I can try it on my Windows 98 laptop tomorrow. Hopefully I'll have the same problem, and will figure out how to fix it, and can then tell you :). Quote:
|
Quote:
Quote:
|
The problem with file size predition is that file size and Q don't have a linear relationship, this relationship is not well-known and it varies from movie to movie... This looks like a typical problem where you could give a neural network a try.
I'd imagine a network with 2 inputs: the size of the prediction at a default Q, and a given Q at which you want the estimate. The output of the network would be the approximate file size for the new Q. To train the network one would need a large database with the filesize prediction for several Q's, for lots of movies (this could be a collaborative effort). The network may take some time to train, but once trained (and it would be trained only once at design time), it runs imediately. So you'd run one file size prediction encode at a default Q, give this number to the network and tweak a slider until the chosen Q gives you the desired file size. If this estimative turns to be accurate enough, that's the fastest prediction you can get; but, we can collect the data, train the network and find out that it's no good and just forget about it. |
This may be worth looking at:
Quote:
http://www.informatik.uni-mannheim.d...ephan1995b.pdf |
Predictor is a great tool. Thanks Sansgrip. I get my movie length from Fitcd which nicely shows it in total seconds. Is it possible to have the program accept this single value rather than have to make several entries. This probably sounds trivial :)
|
Hi SansGrip,
SansGrip wrote: Quote:
will install. Add/Remove reports it can't find file "netfx.mis" and terminates removing .NET. Tried to use regedit to remove product code from above. Found it in HKEY_Local_machine\Software\NET Framework Setup\ Full\v 1.0.....\. Deleted this and rebooted. install .NET still says product code must deleted. So, I can't get rid of old .NET and new .NET won't install. :( This is frustrating :? I'll just wait to a standalone is available. -black prince |
Hi SansGrip and Kwag,
Don't let my problems with .NET, Flux, and NoMo worry you for now. Keep working towards your goals and I will solve this eventually. :D I am not trying to discourage you in any way. I want to see more improvements just as bad as you. :) I have other pressing problems unrelated to KVCD, but I still will keep watching your progress and when I can will add layman's comments and suggestions. 8) -black prince |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.