View Full Version : Cedocida&Colorspace&Avisynth questions
Serbianboss
22nd June 2006, 10:41
I finally install Cedocida DV codec. I have few very important questions.
Before questions, i want to mentioned that i always captures in DV(BFF) codec(canopus hardware) and my finnaly output is DVD, and always work with CCE And its always interlaced and want to keep it as interlaced.
1. When i was intall Cedocida all my captures become YV12(instead RGB24 with Panasonic dv codec).
Because i always work with CCE does is better to change in Cedocida settings that my capture be YUY2 instead YV12 ?
2. If i want to change parametars in Cedocida to yuy2 were can i change ?
3. This is my old and good scripts which i work a long, so question is: If i change in cedocida that my captures be yuy2, does i need this ConvertToYuY2(interlaced=true) or i can put at the end of scripts:
LoadPlugin("Convolution3d.dll")
avisource("C:\Documents and Settings\Nenad\Desktop\111.avi")
crop(8,4,-8,-12)
ConvertToYUY2(interlaced=true) //this is here when my captures are RGB24
SeparateFields()
odd=SelectOdd.Convolution3D (1, 32, 128, 16, 64, 10, 0)
evn=SelectEven.Convolution3D (1, 32, 128, 16, 64, 10, 0)
Interleave(evn,odd)
Weave()
AddBorders(8,8,8,8)
LoadPlugin("DeGrainMedian.dll")
avisource("C:\Documents and Settings\Nenad\Desktop\111.avi")
crop(8,4,-8,-12)
ConvertToYUY2(interlaced=true)//this is here when my captures are RGB24
degrainmedian(limitY=5,limitUV=7,mode=0,interlaced=true)
degrainmedian(limitY=5,limitUV=7,mode=0,interlaced=true)
AddBorders(8,8,8,8)
thanks for attention
Wilbert
22nd June 2006, 10:57
DV is always stored as YV12 (or YV411 for NTSC), no matter what DV codec you use. This means for example that Panasonic always makes the YV12->RGB24 conversion internally, when you use that codec for decoding.
When you use CCE, you can put the ConvertToYUY2(interlaced=true) at the end of your script. CCE excepts TFF first. You can use this script for example:
AviSource("C:\MyDVFiles\DV_type2_file.avi")
SeparateFields()
odd=SelectOdd.Convolution3D(1, 6, 10, 6, 8, 2.8, 0)
evn=SelectEven.Convolution3D(1, 6, 10, 6, 8, 2.8, 0)
Interleave(evn,odd)
Weave()
DoubleWeave.SelectOdd() # BFF ->TFF
ConvertToYUY2(interlaced)
Serbianboss
22nd June 2006, 14:28
If Panasonic dv codec makes the YV12->RGB24-YUY2(with CCE) than Cedocidia will work YV12-YUY2(with CCE) if selected output to be yuy2 right?
Can anyone say about 1 and 2nd questions ?
Wilbert
22nd June 2006, 15:04
If Panasonic dv codec makes the YV12->RGB24-YUY2(with CCE) than Cedocidia will work YV12-YUY2(with CCE) if selected output to be yuy2 right?
Yes, indeed.
2. If i want to change parametars in Cedocida to yuy2 were can i change ?
In VDub -> select the Cedocida codec -> look up decoding settings -> YUY2. I'm at work now, so i can't check, but i think this should work.
3. This is my old and good scripts which i work a long, so question is: If i change in cedocida that my captures be yuy2, does i need this ConvertToYuY2(interlaced=true)
No, in that case you don't need it.
Serbianboss
22nd June 2006, 16:15
I find something strange about speed in CCE.
First i install Cedocida instead Panasonic codec, and go in Virtualdub to change settings of cedocida codec.
I select "force output format" and select YUY2 because i want that my capture be YUY2(because convolution and peachsmoother work in yuy2) See picture:
http://img506.imageshack.us/img506/6236/untitled2fg.jpg (http://imageshack.us)
And than i import this script in CCE:
LoadPlugin("Convolution3d.dll")
avisource("C:\Documents and Settings\Nenad\Desktop\111.avi")
crop(8,4,-8,-12)
SeparateFields()
odd=SelectOdd.Convolution3D (1, 32, 128, 16, 64, 10, 0)
evn=SelectEven.Convolution3D (1, 32, 128, 16, 64, 10, 0)
Interleave(evn,odd)
Weave()
AddBorders(8,8,8,8)
ConvertToYUY2(interlaced=true)
And the speed was 0.46.
But when i import the same script in CCE(when using Panasonic DV codec and ConvertToYUY2(interlaced=true) i must put after avisource because panasonic is RGB24) i have speed of 0.58
So my question is:
How i have higher speed with Panasonic Dv codec. Because with Panasonic codec i have YV12->RGB24-YUY2 and speed of 0.58 and with Cedocida codec i have YV12-YUY2 and speed of 0.46 conversion.
Serbianboss
22nd June 2006, 23:42
Any comment, why i get higher speed when using Panasonic codec instead to have higher speed with Cedocida codec?
Guest
23rd June 2006, 00:13
Try setting the Quality pulldown in Cedocida to Fast or Ultra Fast if you want more speed.
dosdan
23rd June 2006, 00:41
I've noticed on my Athon XP1800 that in VdubMod I can preview using the Panasonic codec without audio pausing/stuttering. But when I use the Cedocida codec, regardless of output colourspace, I get audio stuttering once the playback buffer is exhausted. I resume the Cedocida codec is slower at decoding.
So if I'm doing a lot of playback to determine trim points I use the Panasonic codec but for the final output I switch to the Cedocia codec for its better accuracy. See DV decoder differences - update (http://forum.doom9.org/showthread.php?t=98847)
Serbianboss
23rd June 2006, 14:21
Cedocida is little slower than Panasonic dv codec. Even if i set Ultra Fast ist slower than Panasonic. But Cedocida has little better picture for me(its little soften than panasonic and colors are more lively, maybe because i set output to be yuy2).
I have one question:
Because i am using filters which works in YUY2 colorspace(convolution,peachsmoother) and all my captures are in Dv avi format, i select "force output format" and select YUY2, but does i need in decoder to select MPEG2 interlaced instead MPEG2 non interlaced. ?
Guest
23rd June 2006, 14:29
i select "force output format" and select YUY2, but does i need in decoder to select MPEG2 interlaced instead MPEG2 non interlaced. ? Those options apply only when the output format is YV12.
Serbianboss
23rd June 2006, 14:56
Those options apply only when the output format is YV12.
So if i want output to be yuy2, its no matter if stay MPEG2 interlaced or MPEG2 non interlaced ?
2. And if i want that my output be YV12, does is better to select MPEG2 interlaced instead MPEG2 non interlaced ?
Guest
23rd June 2006, 16:58
So if i want output to be yuy2, its no matter if stay MPEG2 interlaced or MPEG2 non interlaced ? I told you, they don't apply when forcing YUY2 output; they are ignored.
2. And if i want that my output be YV12, does is better to select MPEG2 interlaced instead MPEG2 non interlaced ? It's described in the text file included in the ZIP file I pointed you too.
Serbianboss
23rd June 2006, 20:14
One more question:
If CCE work with yuy2 material(output), does is better to force YUY2 instead yv12 in cedocida dv codec?
I asked this because Pal DV is yv12.
Guest
23rd June 2006, 20:34
I don't know what CCE does, i.e., whether it can be configured for interlaced/progressive subsampling. I also don't know which has better color space conversion. Maybe ask that in the CCE forum?
Boulder
23rd June 2006, 21:58
If you feed YV12 data in CCE, it will use some codec (that can be found in the registry under the vidc.yv12 key) to convert YV12 data to YUY2. However, most, if not all, codecs assume that you have progressive video. That's why you should always make sure you give YUY2 to CCE.
Serbianboss
24th June 2006, 00:40
However, most, if not all, codecs assume that you have progressive video.That's why you should always make sure you give YUY2 to CCE.
If CCE use some codec to convert YV12 data to YUY2, then is better to force YUY2(in cedocida decoder option) instead YV12 ? Because in that way they dont have colorspace conversion right?
Boulder
24th June 2006, 08:11
If you need YUY2 data for your filters, it might be a good idea to output YUY2 in Cedocida. I don't know if it's better to use ConverttoYUY2(interlaced=true) instead because I haven't made any tests - I always request YV12 from Cedocida.
Guest
27th June 2006, 03:15
Google is your friend.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.