Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
25th December 2010, 04:42 | #1 | Link |
Registered User
Join Date: Mar 2005
Posts: 128
|
AviSynth Port: Cross-Conversion Correction
Okay so some people wanted an AviSynth port of a certain AviUtl plugin called Cross-Conversion Correction, so here it is. This is a clean room (sort of) port, as the original plugin has no source code.
It's aim is to fix the interlaced upscaling that Japanese broadcasts and Blu-rays seem to use (near as I can tell). This plugin is specifically meant for 720->1080 conversions. Maybe I'll eventually try and figure out 480/486->1080 stuff. Screenshot Examples: Original | ccc() | ccc720() Please read the included readme for a better description (translated from the original Japanese readme). ccc() takes YV12 input and ccc720() takes YUY2 input, and both take one parameter (phase), described in the readme. Original Plugin: http://www.geocities.jp/flash3kyuu/ AviSynth Port: http://japland.org/ccc/ccc_v0.4a_avs.zip Note: The code for 720 output mode is a direct port from the code dump of the original AviUtl plugin, so don't expect it to be great. I don't really have motivation to clean it up (even if it is little effort) because I haven't actually found a plausible real-world use case for this mode yet. Last edited by Daemon404; 25th December 2010 at 04:46. |
25th December 2010, 06:25 | #2 | Link |
Registered User
Join Date: Jan 2006
Posts: 1,867
|
I would describe the effect as thus; an image contains a grid where each square represents a replacement for a brightness, this is applied to the video. So a gradient of grey would show a normal video, but a tile of ASCII would make an ASCII video (like in VLC). Weird colors make a cool thermal cam effect.
Is that right? |
25th December 2010, 06:54 | #3 | Link |
Registered User
Join Date: Mar 2005
Posts: 128
|
If you can read Japanese, then try these:
http://geocities.yahoo.co.jp/gl/flas...0908?.begin=11 http://geocities.yahoo.co.jp/gl/flas...00908?.begin=6 Might contain some useful info for you. |
28th December 2010, 04:25 | #6 | Link |
Advanced Blogging
Join Date: May 2009
Posts: 480
|
@Daemon404: Since you ported this, could you explain what exactly this does? It seems to reverse interlaced resizing that was done without considering field offset, but why do we need a custom plugin for that? It seems to me that you could get the same result just by using SeparateFields. On a usage-related note, can you better describe what the "phase" parameter does?
|
28th December 2010, 07:36 | #7 | Link | |
Registered User
Join Date: Mar 2005
Posts: 128
|
Quote:
As for how said algorithm was derived, I ported this cause someone asked for it, I did not originally write it, nor can I read Japanese. Contact its original author if you want to find that stuff out. Also, if you can get similar or equal results using anything else (especially using separatefields()), please, do post them, because I haven't seen another method that yields as good of results. (You can try it on the original.png file in the post.) And I'm not totally sure what you mean by 'field offset', unless you are speaking of temporally distinct fields (aka 60i content), in which case, this does not seem to be what you want. P.S. You do such a good job at reading the readme and the code. Last edited by Daemon404; 28th December 2010 at 08:11. |
|
6th March 2017, 01:55 | #9 | Link |
Registered User
Join Date: Jan 2016
Posts: 79
|
Here ya go. The External Filters section of the Avisynth Wiki usually has working links to the filters/scripts. (b'‿')b
|
Thread Tools | Search this Thread |
Display Modes | |
|
|