PDA

View Full Version : YATTA! (Yet Another Telecide Tool for Anime)


gizmotech
4th November 2003, 01:49
Good Day,

Once again I will appologize in advance for any typos/spelling mistakes I will make during this post.

As most anime encoders are currently aware, performing IVTC on source and returning a perfect result is currently impossible. Anime just has too little movement in various situations to return correct matching, resulting in random combs on mouths. As well we also know that scene changes and certain animes suffer from massive color bleeding which could be easily fixed through previous matching, however previous matching often causes other problems the user isn't interested in correcting. This is where YATTA comes in, it's your 1 spot for anime IVTC recovery.

YATTA, from a technical standpoint, is essentially a very complex AVS script which calls telecide to provide a visual interface to the patern matching process while creating a total encode override file. It enables the user to manually adjust the Telecide IVTC decisions through patern/match switching, post processing overrides, and forced decimation. On top of these core Decomb related features it also has a series of assists relating to applyrange, freezeframe, and VFR technologies (mentioned in this thread: http://forum.doom9.org/showthread.php?s=&threadid=64314 ).

YATTA's Key Features:
Telecide configuration Preview section
Quick Key Frame Match Switching
Patern Assistance Tools
Configurable Vthresh navigation settings
FreezeFrame/ApplyRange assistance
VFR Assistance

Telecide Configuration Preview Section:
Using the Telecide configuration preview window prior to starting a yatta project allows a user to see the effects of the various telecide settings prior to starting a project, including the effect nt has on the matching metrics, the effects back 1-3 will incur, as well as adjusting the order correctly. The key benefits come from correct adjustment of the nt threshold to increase overall matching in dirty source, and reducing mouth combs in low/small movement areas.

Quick Key Frame matching:
Using the assigned keys located in the left hand region of the keyboard, and using the navigation keys located in the right side allows a user to quickly perform navigation through the source, identify problem areas, and using quick key strokes (usually 1-3 key presses) can correct most IVTC errors, for a Freeze, or even apply a range.

Patern Assistance Tools:
Using the various patern assistance tools, Force Patern, Auto Switch, and Blind Switch, it is possible to perform patern correction on large chunks of content, either by determing a patern in practice and using the audo switch tools, or by setting paterns through the try patern. Try patern also allows the ability to compare a tried patern to the current patern which Telecide has decided on.

Configurable Vthresh Navigation:
Using the V Search options, it allows a user a user to navigate the source based on VMetric results which decomb has provided to YATTA. Very useful in quickly fixing color bleeds, poor scene changes, and various other minor annoyances.

FreezeFrame/ApplyRange Assistance:
There are a number of times within anime where color bleeding it too severe to be corrected with IVTC alone, and this is where FreezeFrame comes into play. It allows the user to replace a current frame with a frame the user selects. The beauty of YATTA is it shows you the results of these replacements in realtime, and generates the AVS commands for it for you automatically. FreezeFrame, using this system is also benefitial for fixing awful scene changes, for instance on DVD's authored with the VHS style burn marks on the top and bottom of frames before and after scene changes, or to fix poor scene changes which perform massive ammounts of movement just before and after the scene change (IE Noir, which has full frame movement prior to scene change w/ massive frame jump just after scene change). Correcting issues like this via FF can save a user MB's of bitrate. Apply range is another assistance which YATTA provides, by setting up applyrange overrides for such filters as Blindpp, or any other such specified filter.

VFR Assistance:
Full Details can be found here http://forum.doom9.org/showthread.php?s=&threadid=64314

I really don't think there is much more overviewing which can be done. So now I will go into the benefits and drawbacks of the application.

Benefits:
Correction of IVTC errors prior to encoding
Overall reduction in bitrate usage (Complete correct IVTC drastically reduces bitrate used)
FreezeFrame and Applyrange assistance to remove user error and clean source (FF especially can save massive amounts of bitrate if used correctly)
VFR Assistance for MKV

Drawbacks:
Timeconsuming

As with all tools which require manual input, and based on what this tool is designed to do there is obviously alot of time required to correct an episode. However if an individual is truly into making high quality encodes this tool DRASTICALLY improves quality on some sources, after user intervention to correct problems. To perform most of the tasks here using manual entry into OVR files, time calculations, freezeframe entries would take a user almost 5 times longer then it would to do the same work with YATTA. Through personal experience I've found it has reduced total time for correcting IVTC errors by more then half. A 30 minute episode can be YATTA'd in anywhere from 50 minutes to 2 hours and provide FAR superior results then just throwing telecide at it w/o this fine tunning.

The application can be found here: http://yatta.mellbin.org
Please download the decodefix100.zip, decomb510.zip and the yatta rar and place all these files in the same directory. Also note this application uses the DG versions of mpeg2dec3 and dvd2avi exclusively.

The current version as of 11/03 is 4_54, which contains all the features mentioned above. The manual on the site contains an overview of the GUI and all related buttons.

Basic Proceedure:
Load d2v in Telecide Configuration area, and configure telecide.
Hit ok, return to main window
Select the same d2v and hit new project.
After 10-15 minutes a matching window will appear.
Do your business
Save OVR files, freezeframe/applyrange/vfr avs.
Create AVS which uses the OVR functions of telecide/decimate.
Encode

If you have any questions concerning the development of this tool, feel free to pm me and I will relay the messages to the developer. As for usage questions, most of it is relatively straight forward, and there are some easter eggs in the program. Feel free to explore and learn. Post your experiences.

Gizmo

Zarxrax
4th November 2003, 02:13
Nice tool! Thank you :)

mf
4th November 2003, 10:23
VERY interesting. Will try it on Maburaho 5. Till then I'll stick to VDM and notepad for overriding Decomb :D.

DarkNite
5th November 2003, 07:38
This beats the #$%& out of the old notepad method! Thank you for reducing my likelyhood of developing carpal tunnel or thoracic outlet syndrome ever so slightly. ;)

I wish I would've had this when I was doing Patlabor 3. YATTA would've saved me hours of my (now) valuable time.

More beer for the developer! :D

Nicholi
8th November 2003, 06:32
HOLY SMOKERAGE COOOL!!!!

Even with leet anime girl splash screen!!

kudos to the coders!

Greatest timesaver in the world.
Goodbye horrid anime sources!!

bilu
8th November 2003, 11:42
Best of luck for your tool, greeting for you and the coder :)

Seems to me as the best alternative out there.


Bilu

Vassago
20th November 2003, 07:02
The link is not working to get this program. Anyone have a working link?

gizmotech
20th November 2003, 14:07
Geez.

You make it sound like the link went away for ever. It is back. System just had a bit of down time is all.

Gizmo

HomiE FR
20th November 2003, 19:17
I just would like to thank all the people involved in the development of this tool! This is just so great, I can't understand why there aren't more posts on this thread!? :p I tried YATTA on a typical anime source (no true 30 fps parts on that one, so I didn't tried the VFR functions of YATTA), and it's more than useful.

The interface is really neat, you can understand it at first sight, and all the useful functions are there (I love "try pattern", "switch" and "freezeframe"). It really seems the devs are also people that had experiences with "hand" Telecide tweaking.

Just thanks a lot, I won't ever do an anime IVTC without it I think. :)

HomiE FR

Vassago
20th November 2003, 20:06
I still can't seem to get a connection. I tried for a few days without any luck, that's when I posted a message.

I guess I'll just keep trying.

Thanks.

Chainmax
21st November 2003, 22:41
I have a couple of questions, one related to YATTA and other related to decodefix100:

1) What are the advantages of using Telecide's post processing over KernelDeint or similar standalone deinterlacers?

2) Is DG's version of DVD2AVI better than plain vanilla DVD2AVI v1.76? Also, is DG's version of mpeg2dec3 better than MarcFD's v1.00?

Myrsloik
21st November 2003, 23:29
The shocking answers:
1. It's different, the hinting also allows you to easily select which frames should be processed.
2. You can find the major changes here: http://neuron2.net/fixd2v/decodefix.html
Basically it decodes more things properly but requires that both dvd2avi and mpeg2dec3 are the dg versions. It also has considerably slower seeking.

ssjkakaroto
22nd November 2003, 12:34
thx a lot for a great tool gizmotech and dev :)

Chainmax
22nd November 2003, 23:08
Originally posted by Myrsloik :
The shocking answers:
1. It's different, the hinting also allows you to easily select which frames should be processed.
2. You can find the major changes here: http://neuron2.net/fixd2v/decodefix.html
Basically it decodes more things properly but requires that both dvd2avi and mpeg2dec3 are the dg versions. It also has considerably slower seeking.
Cool. Thanks for the answer :).

Chainmax
24th November 2003, 01:49
Come to think about it, the "hinting also allows you to easily select which frames should be processed" point should only be valid for deiterlacers not made by neuron2. KernelDeint is from neuron2 and also takes hints from telecide, as its readme states:

To use this filter as a post-processor for Telecide(), use the following script:

Telecide(...,post=1,hints=true)
KernelDeint(...)

So, it could also be used on YATTA, right? I'm just curious, and i's not my intention to make anyone angry or annoyed.

Myrsloik
24th November 2003, 16:23
You're right about the deinterlacers and hinting.
When you use telecide with an override file that includes information about every frame that should be postprocessed (like the ones from yatta) you should use post=0 or telecide will most likely end up postprocessing more frames than you want it to.
Simple rule: everything works as usual with decomb since all yatta does is generate override files.

Mentar
24th November 2003, 16:50
HomiE: I guess the main reason why there are relatively few postings about YATTA here is that the tool has already reached a tremendous complexity ... I'll try to write a "Learning YATTA step by step" guide sometime over this week, to start with the basics, and to make the tool a bit more easier to approach ;)

From the view of a quality-hogging anime encoder, YATTA allowed for the biggest quality gain of any new tool or filter I can think of since the times of Avisynth or DivX3.11 ... no, I'm not kidding.

K-Dash
24th November 2003, 20:39
Here is a few stupid questions:
How do you input the settings from YATTA to an avs script?
Can YATTA output avs somehow?
And what Am I suppose to do with the *.yap file?
Ive been reading ur faq @ http://yatta.mellbin.org/yatta_manual/yatta.htm but it doesnt seem to mention anything about exporting to AVS. Im confused please help. Thx.

Mentar
24th November 2003, 20:50
Yatta generates several different files.

First and foremost, the telecide and decimate override files for decomb. They contain the "corrected" field matches for every single frame, the information which frames are to be force-decimated, and the information which frames are to be force-postprocessed.

Those files don't have standard filename endings, you can choose them freely. Let's assume this convention:

Telecide-Override file is "telecide.ovr"
Decimate-Override file is "decimate.ovr".

Then you would have to add them to the Telecide/Decimate calls in the avs like this: (example)

Telecide(order=1,post=0,ovr="telecide.ovr")
Decimate(cycle=5,ovr="decimate.ovr")

Make sure that the filenames are spelled correctly, because Telecide/Decimate do NOT throw any errors if the given filename doesn't exist, it simply ignores it then.

Also, YATTA can save AVS code containing FreezeFrame and ApplyRange informations. If you use the "Save to .avs" function in YATTA and choose "yatta.avs" as your filename, you should add this line to your .avs script:

Import ("yatta.avs")

Finally, the .yap file is a "YATTA Project" file. It contains all informations to resume a prior YATTA project (for example the metrics extracted by decomb earlier, all field matches, all extra information, used settings, which frame was worked on the last time, etc etc). You should link the .yap ending to the YATTA binary, then you can immediately resume operation simply by double-clicking on the .yap file.

Hope this helped a bit.

K-Dash
24th November 2003, 21:28
Thx for answering, and how do I save the settings from telecide and decimate in YATTA? There only a save as .YAP button in the main window. I think the tool is great, but I cant find a way to export the telecide/decimate settings. Well the telecide one is most important.

Mentar
24th November 2003, 21:39
Yatta has a small record file it maintains for itself, after you apply the new settings in the Telecide configuration window, it automatically saves it.

K-Dash
24th November 2003, 22:07
How can I possibly see the new settings if I random press switch and other buttons? Is there a way to extract that info by any chance? thx

Mentar
24th November 2003, 22:23
Huh? Why would you want that? This would mean you're in the main window, not the telecide configuration window anymore.

You've got to understand how YATTA works:

FIRST, you determine which Telecide settings will be chosen when YATTA collects the matches and metrics from decomb.

THEN, you run "New Project" with the adjusted Telecide settings

In other words, when you change the telecide settings in the configuration window, you need to run "New Project" anew, or the changes will have no effect. And just FYI, I very rarely if ever change my telecide settings at all.

For advanced usage LATER (when you know the tool inside out) you can partially do things dynamically instead of altering the telecide settings and running the entire gauntlet again (for example recalculating field matches and the likes), but for beginners, stick with the step-by-step approach.

K-Dash
25th November 2003, 00:07
Allright gotcha, thx.

Mug Funky
26th November 2003, 13:08
not working for me... problem probably lies between the keyboard and the chair, but it's not co-operating - whenever i click something it says "vobs have been moved/avisynth not installed/generic error" and quits.

i know avisynth is installed, the vobs are definitely there, and that just leaves me with the ambiguous "generic error"...

hope this hasn't been answered already.

Mentar
26th November 2003, 14:06
Okay, let's see. This is what you definitely need:

Avisynth 2.5 (the old Avisynth 2.0 won't do)
Mpeg2Dec3dg.dll (the old Mpeg2dec3 won't do)
DVD2AVIdg (saved in the new Project format, the old dvd2avi or Projects saved in the old mode will not do)

Please make sure that you have the newest versions of all (search for avisynth.dll and remove ALL instances if you're not sure) - then remake the .d2v file with the new dvd2avidg binary.

If it still fails, please come back here.

Leak
26th November 2003, 22:06
Originally posted by Mentar

Mpeg2Dec3dg.dll (the old Mpeg2dec3 won't do)
DVD2AVIdg (saved in the new Project format, the old dvd2avi or Projects saved in the old mode will not do)

Please make sure that you have the newest versions of all (search for avisynth.dll and remove ALL instances if you're not sure) - then remake the .d2v file with the new dvd2avidg binary.


Actually, what needs to be stressed is that both of these files have to be in YATTA's program directory, even if you've got them in your AviSynth plugin dir.

Still, it could use waaay more keyboard shortcuts and a better documentation... :P

np: Autechre - Second Scout (Anvil Vapre)

Mug Funky
27th November 2003, 14:59
@mentar:

version() returns the latest... (2.52, november release)

i have the dg versions of mpeg2source, DVD2AVI, etc, and my d2v is in the new format.

just doesn't want to work i think.

should i remove the old mpeg2source3.dll stuff? or does YATTA automatically load the dg version?

Mentar
27th November 2003, 15:06
You're sure you have all those dlls in the YATTA directory, too?

Which yatta version are you working with?

Mug Funky
27th November 2003, 15:10
4-47, and all the files are there.

i even placed the avisynth.dll and avisynth_c.dll there just in case.

i don't really understand it... i'll try re-making the d2v (again).

[edit]

tried re-re-making the d2v... no difference. i think there's something very wrong with my copy of yatta... i'll see if i can get an old copy of it and try that.

[edit edit]

tried with 4-56, no avail... "vobs have been moved"

benten2000
28th August 2005, 20:52
Have you tried changing the Settings of Yatta under Mpeg2Dec from the default Mpeg2Dec3 to DGDecode?

I too had the problem when using DGIndex's DGDecode.dll instead of Mpeg2Dec3.dll

Now your d2v's should load fine now with that set (tried in Yatta 6-115)

clone83
11th October 2005, 14:44
i cant seem to get it to runn either it keeps saying that avisynth 2.5 is not installed... and i have tried to reinstall avisynth heaps of times and have also tried different versions and have also tried deleting the avisynth.dll but nothing seems to work... plz help

hartford
14th October 2005, 05:45
Yatta support forum:

http://forum.zhentarim.net/viewforum.php?f=3

clone83
19th October 2005, 02:14
thx heaps