View Full Version : Announcement: New open source DV codec (VfW)
cedocida
14th May 2005, 16:05
Cedocida DV Codec
===================
*** Current version is 0.2.3 (2012-Sep-27) ***
Official Homepage is here:
Cedocida DV Codec (http://www.cithraidt.de/cedocida/index.html)
Latest Binary is here:
http://www.cithraidt.de/cedocida/cedocida_0.2.3/cedocida_0.2.3_bin.zip
Features:
- supports encoding and decoding of: DV, DVCPRO25, DVCPRO50
- supported formats for in- and output: RGB, YUY2, YV12 (PAL-DV / MPEG2-I / MPEG2-P)
- direct YUV-4:2:0 output when using "YV12 PAL-DV" option
- optional forcing of selected input and output format
- settings for picture quality and compression methods
New in Version 0.2.3:
- added support for DVCPRO25 and DVCPRO50
- reworked VfW driver code
- fixed settings on Win7 x64
Guest
14th May 2005, 16:54
Thank you for your generous contribution! Open source codecs are always very gratefully and enthusiastically received.
Can you please advise about the schedule for NTSC support?
communist
14th May 2005, 19:46
Great stuff :)
Any possibility for a binary?
guada 2
14th May 2005, 21:51
The good ideas are always the welcome. :)
Thank you.
WorBry
15th May 2005, 17:56
Cant get it to install. Right click > Install on the cedocida_DVSD in the Release folder throws up an error:
"Setup cannot copy the file Cedocida.dll"
and
"Ensure that the location specified below is correct, or change it and insert 'Cedocida DV Video Codec' in the drive you specify"
I dont understand this statement.
The auto-selected path was "C:\Program Files\cedocida_0.1.5\Release" and I cant see a Cedocida.dll file elswhere in the directory.
Also, if I do manage to install it, can I assume that it will be possible to disable the codedc and swap it for other DV codecs using VCSwap?
Thanks.
cedocida
15th May 2005, 18:58
@neuron2
Can you please advise about the schedule for NTSC support?
hmm, it is on the top of my todo list but i can't promise that it will be available in the next weeks. The core encoder is the same, but the 4:1:1 color format and the position of blocks/superblocks is different and has to be written.
@communist
Any possibility for a binary? because of patent/license issues i will not publish a binary on my Homepage. Hope you find someone who can compile it for you.
@WorBry
Do you have compiled the source? The file cedocida.dll is not part of the zip-file and will be created if you compile the sourcecode. The installation is the same as by the panasonic-codec. If you can swap this one, it should also work with cedocida-codec.
WorBry
15th May 2005, 19:08
I've never compiled anything before, so I think I'll pass on this one. Thanks anyway.
Guest
15th May 2005, 20:08
neuron2 to the rescue! Here's the compiled DLL and an INF file:
http://neuron2.net/misc/cedocida015.zip
I tested it just a little but it appears to be working.
guada 2
15th May 2005, 21:56
" neuron2 to the rescue! " ( NEURON2 )
Good work "brother" Neuron2
WorBry
16th May 2005, 12:18
Thanks Neuron2. First impressions with a few Pal Type II DV test clips - good quality decoding and appears to be free from the slight "color bleed" that I have observed with every other DV software codec bar Matrox and Sony. My main interest is in compressibility on (filtered) conversion to MPEG4 (DivX Fusion, mostly)and VP6. Until now the Sony DV codec has been my preferred decoder but it upsamples to RGB and requires luma shift adjustment after conversion to YUV color space. I'll run some bitrate vs quality metric comparisons with Cedocida as decompressor when I have a moment. Thanks again A.Dittrich and Neuron2. Where would us users be without your inventiveness.
PS - confirmed that Cedocida can swapped with other DV codecs without any problems using VCSwap.
communist
17th May 2005, 18:38
First of all thanks for the great codec :)
Works fine here - except YV12-Output via AviSynth. Wether keeping the default or forcing the codec to output YV12 (PAL-DV and both MPEG variants) gives me weird colors. Can anyone confirm this? Adding SwapUV() corrects the problem.
Forcing other colorspaces works fine with AviSynth and Info() reports them as such correctly.
/Edit here (http://www.stud.uni-goettingen.de/~s304280/D9/dv_sample.avi) is sample of the file I'm trying to frame-serve
WorBry
17th May 2005, 19:16
Communist,
Yes, I can confirm the weird colors (blue hue) you describe when frame serving Pal Type II DV clips loaded in AVISynth as AVISource, but only with the default codec settings. Selecting "force output format" corrects this, irrespective of the selected color space (RGB, YUY2 or YV12).
cedocida
19th May 2005, 08:18
Your right, i also can confirm this bug.
As you allready said, it's a color swap of U and V component. It should only affect the YV12 output modes. I will release a fix at the weekend.
Thanks for your reports and to Neuron2 for providing the binary.
How does it compare to the ffdshow DV decoder?
I reencoded something to mpeg2 (avisource was type II dv) for a DVD and the filesize was slightly smaller with this new codec. 1768679 instead of 1770134 KB. The quality looks great on my PC's monitor. I still have to see how it looks on my tv.
cedocida
22nd May 2005, 15:20
*** released new version 0.1.6 with NTSC support ***
now it's a fully working DV Codec.
Sourcecode available here: Cedocida DV Codec (sourcecode) (http://www-user.rhrk.uni-kl.de/~dittrich/cedocida/index.html)
changes:
- add: encoding and decoding of NTSC video
- fixed: bug concerning U-V-color-swap of YV12 encoding/decoding
some remarks on "YV12 (DV)" input/output option in combination with NTSC video: this format is direct data to or from the compression algorithm and will not be converted, shifted or interpolated. Because NTSC DV uses a 4:1:1 sampling grid, you will see weird color when viewed with a normal YV12 program which assumes 4:2:0 - this is no bug. If you need YV12 format, use the option "YV12 (MPEG2 *)".
- Andreas -
Guest
22nd May 2005, 16:58
Binary is here:
http://neuron2.net/misc/cedocida016.zip
SeeMoreDigital
22nd May 2005, 17:35
Originally posted by neuron2
Binary is here:
http://neuron2.net/misc/cedocida016.zip What a nice man!
What do you think of this new codec?
Cheers
Guest
22nd May 2005, 18:32
Andreas is the guy to praise! I'm making the binaries for myself so why not stick them in my misc dir for everybody?
This NTSC version just came out so I will hold off commenting until I test it. So far, so good, however!
Longinus
31st May 2005, 21:37
Hello!
Your codec is really nice, we really needed a good open-source DV Codec..
The only thing I noticied is that it creates more artifacts than the Canopus codec, for instance (even in the high quality mode).
It's just me, or did you noticied it too?
I found the quality to be very good. Thanks to Andreas and to Neuron2 for the compile!
My experience is with PAL, I created a high quality DVD (KDVD actually) from my DV footage. The final filesize was slightly smaller than when I used the ffdshow dv codec, I noticed. I didn't see any more artifacts than with ffdshow - I didn't see any actually.
Longinus
2nd June 2005, 01:45
It seems my first impressions were a little off. The codec does in fact get more artifacts, BUT it keeps a LOT more detail then the Canopus codec. Just check out this pictures (attached, need to be validated). And cedocida perhaps uses a little more sharpen on the decoder?! The original frame is from a computer generated & huffyuv compressed video.
Archimedes
13th June 2005, 00:13
I’ve tested the images with Fritz Framalyzer.
Canopus
ED in RGB: 11,4207
Q in YCbCr: 0,8299
Cedocida
ED in RGB: 12,0344
Q in YCbCr: 0,8291
ED in RGB means Euclidean distance in RGB. Q in YCbCr is based on the SSIM metric.
In all cases, the Canopus Codec has better values.
bobcat56458
11th July 2005, 17:05
I have not seen any new posts about Andreas Dittrich’s Cedocida
DV codec for about a month. I am really pleased with the
results I’m getting using this codec. I recently filmed my
Aunts indoor birthday party that had the normal amount of DV
grain in the DV AVI I get when filming indoors with my NTSC
Cannon Optura 10, and Panasonic PV-DV901D DV camcorders
(no matter which DV codec I’m working with). I edited the
material in VideoStudio and Frameserved with Debugmode to an
AVIsynth script I use to remove the grain of indoor video,
and loaded the AVS script into Virtualdub to resave the filtered
video using Fast recompress with the Cedocida DV codec as the
video compression, Direct stream copy for the audio. This
edited\filtered DV AVI I then exported back to the camcorder
as a master of the project. I also encoded that DV AVI as a
2 pass VBR 8000kbps/sec Average bitrate MPEG2 in TMPGEnc
and encoded the audio into a stereo Dolby Digital AC3 soundtrack
using Soft Encode. I then authored a DVD using DVDLab PRO.
The result was the best looking home movie DVD I’ve made so far.
I had no problems with the artifacts mentioned in previous posts,
and the color was right on, & the picture sharp, and clean, when
viewing the DVD on the computer, & TV. I really like the fact
that the Cedocida DV codec has all the parameters you can set
depending on the final video format of your material. I would
like to thank Andreas for his fine work, in making this free open
source DV codec, and encourage him to continue in it’s
development. By the way, I found I could use it as a type 1, or
type 2 DV codec in VideoStudio. I’m including the simple
AVIsynth script I use for frameserving DV indoor filming under
medium lighting, if anyone is interested in using it, (or critiquing it)
it may not be the best denoiser script around, but it sure works
well for me. I can frameserve this ***.avs script using Debugmode
to both VirtualDub, & TMPGEnc from VideoStudio. Does anyone
else have any comments about their results with this codec now
that it’s been around for a while?
LoadPlugin("E:\Program Files\AviSynth 2.5\plugins\UnDot.dll")
LoadPlugin("E:\Program Files\AviSynth 2.5\plugins\Convolution3D.dll")
DirectShowSource("H:\Video Tests 2\Julie project\debugmode.avi")
SeparateFields()
odd=SelectOdd.UnDot()
evn=SelectEven.UnDot()
odd=SelectOdd.Convolution3D(0, 12, 20, 12, 16, 6, 0)
evn=SelectEven.Convolution3D(0, 12, 20, 12, 16, 6, 0)
Interleave(evn,odd)
Weave()
converttorgb24()
Longinus
12th July 2005, 01:07
Hello bobcat56458.
I agree with you... It's a very good codec (I'm using it all the time now)..
I only have some questions about you avisynth script...
Why using directshowsource()? Avisource() should open Debugmod frameserver's avi... and it's faster. And why are you using undot in each field like that... you could just do..
separatefields()
undot()
I don't think undot is a temporal filter (os maybe it is, I'm not sure.. :confused: ). Of course the way you did also works..
bobcat56458
12th July 2005, 05:07
Longinus, your right there is no need to use selectodd\selecteven when using undot, as it is a median filter, but doing so does not effect the result of the script. As for the using of Avisource or Directshowsource I did a test with my P4 1800GHz computer with 512MB of RAM, and did not see any speed increase using Avisource. Frameserving from VideoStudio, using Debugmode frameserver, and opening the Avisynth script in VirtualDub. Then doing a Fast recompress with the Cedocida DV codec as the video compression. Both times I averaged about 6~7fps. I’m glad to see I’m not the only one that thinks the Cedocida DV codec has merit, thanks for the undot tip.
Longinus
12th July 2005, 06:08
As for the using of Avisource or Directshowsource I did a test with my P4 1800GHz computer with 512MB of RAM, and did not see any speed increase using Avisource.
See, this is why I need to do some benchmarking now and them... I always assume stuff out of nowhere! :D
joshbm
29th July 2005, 17:10
What is the FOURCC of this DV codec? It appears it will replace your current DV codec... Can I somehow change the FOURCC so that I can still use it, but not make it the default?
bobcat56458
30th July 2005, 04:34
Joshbm, it is a regular "dvsd" fourcc DV codec. I use the program VCSwap which allows me to swap in, and out of different codecs so I can have one active DV codec, and as many inactive DV codecs as I want. Just make sure you make your active DV codec inactive before installing a new DV codec. It also works with other types of codecs as well.
mat
1st August 2005, 11:45
Your codec is really nice, we really needed a good open-source DV Codec..
ffmpeg has an opensource DV codec for months...
For windows people, ffdshow should have it.
vlada
1st August 2005, 13:06
For windows people, ffdshow should have it.
The DV codec in FFDShow never worked for me. It always created an unusable DV AVI file. The decoder works fine, but the encoder is corrupted.
Cyberace
2nd August 2005, 08:29
@Andreas Dittrich, thanks for the codec (and for making it open source), any chance you will/can code and submit a patch for it to FFmpeg (link) (http://ffmpeg.sourceforge.net)? :rolleyes: either to replace their existing DV codec or improve on it?, ...that way all open source projects that use FFmpeg will automaticly benifit from it, (including; FFdshow, MPlayer, XINE, VLC/VideoLAN, XBMC, etc. ) :D
o2xygen
4th August 2005, 08:18
there are problems with Celocida and After Effects
When I import DV footage, there is always a solid blue mask all over.. And the footage is inverted horizontally/vertically (not sure)
bobcat56458
6th September 2005, 23:56
I really like the Celocida DV codec but I have one program that I'm having a problem using it with. In VirtualDub (I’ve tried various versions) if I save a file using Full processing mode, and the Celocida DV codec as the compression type, when I play back the saved DV file in a media player the resulting video is corrupt with large color blocks. This problem does not occur using other DV codecs as the compression type. I’m just wondering is anyone having this problem in VirtualDub?
kingmob
3rd October 2005, 14:49
I'm a bit in the dark about the yv12 chroma sampling option. As i usually create dvd's out of my dv's, i should capture to YV12 right?
So i have interlaced dv content on my cam and want interlaced dvd content in the end. Should i then use "mpeg-2 interlaced"? And is it ok to use "dv" for the encoding part anyway, in case i change my mind and make an xvid for instance?
Wilbert
3rd October 2005, 16:01
So i have interlaced dv content on my cam and want interlaced dvd content in the end. Should i then use "mpeg-2 interlaced"?
Yup.
And is it ok to use "dv" for the encoding part anyway, in case i change my mind and make an xvid for instance?
Do you mean DV sampling? Also when encoding to XviD it's better to choose "MPEG-2 interlaced" if your source is interlaced.
q1ra
5th October 2005, 04:56
When you choose "MPEG-2 Interlaced", do you need to also use ReInterpolate411() before encoding to MPEG-2?
kingmob
7th October 2005, 16:07
Thx, for the answers
henryho_hk
2nd November 2005, 12:05
When you choose "MPEG-2 Interlaced", do you need to also use ReInterpolate411() before encoding to MPEG-2?
No, there appears no need to 411() for NTSC clips or 420() for PAL clips.
ariga
30th November 2005, 08:41
When decoding PAL DV with AVISource() in AviSynth, what YV12 sampling should be used if
1) Frameserving to Virtual dub for DivX encoding ?
2) ConvertToYUY2(interlaced=false) and frameserving to CCE ?
3) ConvertToYUY2(interlaced=true) and frameserving to CCE ?
Guest
30th November 2005, 15:05
It depends on the content.
You can use my AutoYUY2() filter. It will make that decision automatically for you.
http://neuron2.net/autoyuy2/autoyuy2.html
ariga
30th November 2005, 15:56
You can use my AutoYUY2() filter. It will make that decision automatically for you.
Thanks. :cool: That's fine in case of 2) and 3) above.
But when I pass YV12 to DivX via VDub ?
Guest
30th November 2005, 18:16
The question makes no sense for number 1. If you pass the YV12 to DivX via VirtualDub and Fast Recompress, there is no conversion and thus nothing to choose.
Perhaps you can clarify your question?
ariga
5th December 2005, 10:06
If you pass the YV12 to DivX via VirtualDub and Fast Recompress, there is no conversion and thus nothing to choose.
Perhaps you can clarify your question?
So, DV/MPEG2 chroma sampling option in the decoder settings is applicable when upsampling to YUY2/RGB only ?
Guest
5th December 2005, 15:08
I haven't studied the code, but that's how it should work. I'd be surprised if it wasn't that way.
ariga
7th December 2005, 15:01
Yeah, that makes sense. But this seems to suggest otherwise.
http://forum.doom9.org/showthread.php?p=747779#post747779
bira
6th March 2006, 16:04
Is it possible to uninstall the cedocida codec? If so, how ?
Thanks!
henryho_hk
7th March 2006, 08:35
Is it possible to uninstall the cedocida codec?
rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 c:\windows\inf\cedocida.inf
WorBry
7th March 2006, 12:30
You can also disable Cedocida with VCSwap if you simply wish to avoid conflict with other installed DV codecs. Heres the link:
http://members.chello.nl/~p.bekke/
bira
7th March 2006, 14:33
Thanks!
Complete newbie here. For some reason I cannot get this DV codec to appear in the list of available video compressors in VirtualDub. I have all the standard ones in there, plus X264.
I need to get source material into DV format for importing into a Roland Edirol device for playback. I feel like I'm so close!! I take the source through an Avisynth script for the necessary manipulations -- I really only need VirtualDub to output the file. Or do I? Any advice would be great. Thanks.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.