New ToK (To KVCD) 0.0.5.1 released!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kwag
    Junior Member
    Junior Member
    • Mar 2003
    • 7

    New ToK (To KVCD) 0.0.5.1 released!

    Quoting the developer's message:
    "New faster prediction method implemented. Prediction algorithm bugs fixed. Some other new things."



    Here's the readme file:

    This is an alpha application. Prediction algorimth is not as good as it should be. So please, report bugs at http://www.kvcd.net/forum/viewforum.php?f=36.

    You need some applications: first, TMpegEnc (http://www.tmpegenc.net), and BeSweet, MadPlay, Virtualdub,BBMpeg, Sansgrip's Sampler.dll filter and WLA (Wave Length Adjust). You can get all these (except TmpegEnc) in the ToK_With_Extras distribution.

    Introduction
    ------------

    The main target of this program is to automate the size prediction method exposed by kwag in http://www.kvcd.net/forum/viewtopic.php?t=2102, and create kvcd movies. The program allows too to encode two channel audio (no mono, no multilingual, etc), enconde movie, multiplex audio and video, and some other things. You can encode from DVD or from AVI.

    ToK only acceps Avisynth (http://www.avisynth.org) scripts. The best tool I know for create these scripts is MovieStaker. You can get it here http://www.kvcd.net/forum/viewforum.php?f=35.

    Another great tool is SwiftAVS, at http://www.kvcd.net/forum/viewforum.php?f=34.

    If you are reading this, you MUST visit http://www.kvcd.net. They have english and spanish forums, and most important, you can get really good advice, and no matters your knowledge level.

    ToK creates KVCD video. Please read abuot it (kvcd.net) before using ToK.

    This is a short description of the options in ToK:

    Main
    ----

    -AVS Script: ...
    -TV System: If you want to change from PAL to NTSC, or from NTSC to PAL, check one of this. This changes the framerate (script command: AsumeFPS) of video, and if you have choosen it, of audio. I use the setting for prediction and encoding.
    -Audio: see in audio tab.
    -Min Bitrate, Max Bitrate: ...
    -Initial CQ: Quality level. This is what we are trying to find with prediction: maximun quality to fit on the selected space.
    -MPEG Stream Type: MPEG-1 for VCD, MPEG-2 for SVCD and DVD.
    -Multiplex as: VCD for VCD, SVCD..., but, in some standalone players, some flavours of KVCD need to be multiplexed as SVCD, no matters if we encode a MPEG-1 stream. Read the forums, please. DVD Muxing is experimental.
    -No prediction, no encoding, no muxing:...
    -Name of final MPEG:... It is created on your work directory (you will select it on Settings tab)

    Prediction
    ----------

    Once again, read about this here http://www.kvcd.net/forum/viewtopic.php?t=2102.

    If you're too lazy for read the thread, just use default options, it will work.

    In future releases , I will try to get a better explanation of prediction here, but by now, here is my first try: Let's probe my english !

    All the formulas I use and some code are taken from the KVCD Page and the KVCD forum (www.kvcd.net, you know, because this is the only site you can get the program .

    Prediction works like that: I use a formula where I specify a number of frames (a subset of the total frames) and the space I have for the video, and then I can calculate what we call "Desired Sample Size". Then I choose a CQ, and encode ONLY this subset of frames (fewer frames -> faster encoding, and less accuracy). Then I compare the size of the resulting encoded file with my "Desired Sample Size". If two sizes aren´t equal, I apply another formula for calculate a new CQ, and encode again. I keep making this again and again, until I get the size I need.

    Parameters:

    -Factor of Prediction. This is for: TargetSize=SpaceForVideo*FactorForPrediction.
    -Samples for Prediction. the number of samples we will take. If you don´t know how to use Sampler (an avisyth thing), use 24.
    -Precission % : our target will be fit hte sample size on a range like this: DesiredSampleSize plus-minus Precision%(DesiredSampleSize)
    -Speedup by: use less samples: 1 is 100%, 2 is 50%, and 10 is 10% (the famous 10% PRediction)

    Why two "Groups of Passes" ? Because a wise man (yes, is Kwag) said :"The 10% thing is really to try to find a close CQ in many short runs. But then, a full sampler must be run. The rule is simple: The more samples taken, the more accurate the prediction. If you could start your prediction with 5% samples, and then when you get to ~3% of final size, switch to full sampler. That's the way it should work. This way, you probably run three to five 5% samplers, and then you switch to full sampler. Then it should be just one or two tries to hit final wanted file size."

    Prediction is not exact, so let's play

    New:

    -New Faster Prediction by Tenra has been implemented. Use it at your own risk.
    -Samples/Minute lets you make a most accurate prediction for short sources (it takes more time, 2, double of time,3,...)

    Spacing
    -------

    -Fixed: you must choose the kind of CD, and the number of these to use.
    -Free: specify here the size of full mpg you're encoding, and the maximun file size you want to have. (space=1.200.000.000, max.file size=500.000.000, you get three files, 500.000.000, 500.000.000 and 200.000.000) .

    Audio
    -----

    -Encode audio: ToK can encode two channel audio (no mono, no multilingual) set here audio mode (Dual channel recommended for most movies), and birate.
    -Calculated audio size: if you don´t want ToK encoding your audio, and you don´t have a encoded audio file by now, use this as an aproximation for prediction
    -Free audio size: same as above, but you can specify the size.
    -External audio: well you have your audio encoded, say ToK where it is, so ToK can check the size, and multiplex it with your video, if you want.

    More
    ----

    Yes, by now only the “Whed Finnished..” thing.

    The Shutdown option tries to power off your system. It work on Windows Xp (I don´t know about Windos 9x or 2K)

    Settings
    --------

    You MUST have all the programs ToK uses, and a work directory. If you know some application you don´t go to use (like bbmpeg, and you never go to multiplex), you can fool ToK choosing any other EXE file.


    News & Future
    =============

    0.0.5.0 New Features & Bug Fixes
    --------------------------------

    Prediction algorimth has been tested and secured. I think you cannot get the "diverging thing" no more.

    New fast prediction, created by Tenra, has been implemented. It works Sometimes, but when works, could make the prediction very very short.

    Some bug fixes, and some new bugs I'm afraid.

    0.0.4.0 New Features & Bug Fixes
    --------------------------------

    Same prediction algotimth, but revised and secured.

    You can change TV system (NTSC->PAL, PAL->NTSC), for encoding and for prediction

    New tab for audio options, plus calculad audio added.

    Now you can multiplex as DVD (not tested), or no mux at all.

    Implemented new sampler.dll formula for 48+ samples predictions, suggested by uffowich.

    Now you can choose 74,80,90 or 99 minutes CDs, plus fix the max file size when you use the free spacing option.

    Option for power off when done.

    Yes, and some bugs are fixed now.



    0.0.3.3 New Features & Bug Fixes -> almost all, your suggestions
    -------------------------------------------------------------------

    First of all: prediction has changed. The new things treats 10% prediction, and I think is very flexible. So let's experiment ! I would like to know about your results, to set the default values to the best ones.

    Change:"% Sample Range" changes "Precission %" (the range defined by DesiredSample plus-minus Precission% will be the target on the prediction)

    Version system: What Tok, old, New ?

    Input audio size manually

    Now, both fixed (number of CDs) and free media spacing are allowed

    Tok opens at screen center

    Now Tok runs at idle priority while encoding, so the whole CPU power can be used by TMPeg.

    Spanish interface (I left messages and log traduction for the next release).


    Planned for next releases
    --------------------------

    - Batch mode
    - Your suggestions, you know.

    See you.
  • setarip
    Retired
    • Dec 2001
    • 24955

    #2
    And this has WHAT to do with backing up (Duplicating) DVDs in DVD format?

    Comment

    • kwag
      Junior Member
      Junior Member
      • Mar 2003
      • 7

      #3
      Originally posted by setarip
      And this has WHAT to do with backing up (Duplicating) DVDs in DVD format?
      If you look closely at the program options, you will see that it permits MPEG-2 encoding, and that HAS to do with DVD encoding and backups using KDVD parameters for up to ~6 hours on a DVD(+-)R

      -kwag

      Comment

      • setarip
        Retired
        • Dec 2001
        • 24955

        #4
        Your words, "The main target of this program is to automate the size prediction method exposed by kwag in http://www.kvcd.net/forum/viewtopic.php?t=2102, and create kvcd movies."




        (The almost hidden reference to creating MPEG2 streams is certainly not an indication that your program can be directly used to DUPLICATE a DVD)

        All I'm trying to convey, is that this posting, preferably in a more summarized form, should have been posted in the VCD sub-forum here...

        Comment

        Working...