PDA

View Full Version : Help - Cedocida codec and YV12 Decompressor


ADLANCAS
15th July 2006, 06:31
Hi,
Iīve just tested Cedocida to compare with MainConcept DV codec that Iīve used until now.
Results are better then the old one and Cedocida doesnīt need to use ReInterpolate411() in avs script.

After tested openning avi file in VDubMod, surprise...
I created a simple script like that:
AVISource("DV_Test.avi")
and it seems that DV codec upsampling problem comes again :(

I tested also without sucess:
AVISource("DV_Test.avi", fourCC="dvsd")

Itīs installed Xvid 1.10 as YV12 Decompressor. Cedocida is configured to YV12 Mpeg2 Interlaced. Source is DV-NTSC.

Whatīs happen ?

neuron2
15th July 2006, 06:38
and it seems that DV codec upsampling problem comes again
...
I tested also without sucess Are we supposed to guess what you are talking about, or just ignore you?

ADLANCAS
15th July 2006, 19:28
Sorry for that. I was so sleepy last night.
Iīve made an example from my source, to compare Mainconcept and Cedocida
[img=http://fileserver1.jpghosting.com/images/tn_DV_MainConcept_Cedocida_7dd408e91d237b1e4d2679cd6a401c42.jpg] (http://fileserver1.jpghosting.com/images/DV_MainConcept_Cedocida_7dd408e91d237b1e4d2679cd6a401c42.jpg)
There we can see that Cedocida doesnīt have upsampling problems.

After that, openning avi file with AVISource("DV_Test.avi") or AVISource("DV_Test.avi", fourCC="dvsd")
[img=http://fileserver1.jpghosting.com/images/tn_DV_Cedocida_avs_dvsd_afbe992f08467ef10d2cf85a8dc83def.jpg] (http://fileserver1.jpghosting.com/images/DV_Cedocida_avs_dvsd_afbe992f08467ef10d2cf85a8dc83def.jpg)
There, it seems that DV codec upsampling problem comes again.

I know that my examples are not so good (it must be used zoom with at least 300%), but it was so difficult to find that in my source.
A better example (image 3) is on stickboy page http://www.avisynth.org/stickboy/advc100-comparison/advc100-comparison.zip, but It shows a message "couldnīt locate decompressor for format 'CDVC'(unknown)" when I open it in VDubMod. So I couldnīt use it.

Source file is here with 6 frames (568 KB): http://rapidshare.de/files/25924254/DV_Test.avi.rar.html
(examples were made from upper-left corner in video, frame 0)

I hope that now there are information enough, otherwise please say me.

Alexandre

ADLANCAS
18th July 2006, 23:48
ideas ?

Boulder
19th July 2006, 10:43
I think you shouldn't try to get YV12 directly out of Cedocida when you have an NTSC source.

ADLANCAS
20th July 2006, 00:35
My target is a DVD using CCE (2.70.01.05).

Shouldnīt color format YV12 delivered by Cedocida avoid color conversion YUY2 -> YV12 at the beginning of my script (to use filter chain in YV12) ?

Boulder
20th July 2006, 09:25
See this post by scharfis_brain: http://forum.doom9.org/showthread.php?p=840434#post840434

ADLANCAS
20th July 2006, 23:18
nice link.
:thanks:

henryho_hk
7th August 2006, 04:34
ADLANCAS, how did you make the sample pictures? Sometimes it's not the problem of the DV codec but rather the the capture program. If you want to force Cedocida to give YV12 output, use also the "pixel_type" option of AVISource().

To take snapshots, append ConvertToRGB24(interlaced=true).imagewriter(type="png") at the end of the script and then watch the script in media player 2. You will then find the snapshot files in c:\.

Edit: Sorry, I mean the display & snapshot capture program, not "the the" (video) capture program.

ADLANCAS
8th August 2006, 04:39
For capturing I use Scenalizer, but I donīt think that a capture program can cause that.
Anyway, samples comes from VDubMod->Photoshop.

Now I use MainConcept v2.4.16. It seems that this version doesnīt have upsampling problem and get less artifacts compared to the old one (v2.4.4) that I used in last posts besides it requires Reinterpolate411().

henryho_hk
10th August 2006, 03:38
Mainconcept does not have the chroma upsampling bug for PAL or NTSC DV under YUY2 or RGB, neither for Cedocida in all modes. Hence, I think it's a problem of the snapshot capture program (it does not handle interlaced 4:2:0 generated by Cedocida).

No idea for the horizontal chroma glitches though. I recall that Cedocida does not need ReInterpolate411().