Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Cedocida Dv Codec Question?
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
rjisinspired
Posted: Nov 21 2009, 12:49 AM


Advanced Member


Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06



After receiving a decompression error on importing segmented DV files through Avisynth I thought to go into the Vdub settings to prefer Vdub's internal DV codec though I still got the decompression error on open.

I then remembered there was a codec called Cedocida. Hearing about how problematic the Panasonic version was I went to try to get the codec.

The main Cedo site has only the source code but at Videohelp there were links to Neuron's site and an alternate link which worked.

Wasn't Neuron a member here? I haven't seen him here in a while. His site seems to be off-and-on and his forum seems to be dead?

Oh yeah, I remember someone mentioning that by installing a DV codec; this could take out an existing DV codec from Windows? I looked in my registry and through SIW and saw nothing on DVSD in my system.

I'm getting back to using Avisynth with Virtualdub. I found a program that I had used before called Renamer. I made the rule-set for having the format [filename].NNN.avi on all video files. Renamer is a nice app for renaming files in a way that Avisynth's SegmentedSource accepts.
 
       Top
Jam One
Posted: Nov 21 2009, 01:15 AM


Advanced Member


Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09



So, what was the question about codec, I've lost the path ?

ffDShow opens DV for VD.


If you have another conflicting DV VFW codec in system you may rename its registry entry with RegEdit.
It normally is vidc.dvsd
Rename it, like, say, to _vidc.dvsd
It will stay with you in your registry on top of all listed codecs - so you'll be able to find it easily - but it will be ignored by video software.

And yes, in VFW realm there can be only one active DV decoder. New installations overwrite older ones' entries in system registry. Or take precedence over ffDShow, that's why I called that case "conflicting".


P.S.: I can't take Cedocida codec seriously.
 
     Top
rjisinspired
Posted: Nov 21 2009, 01:41 AM


Advanced Member


Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06



After installing CedoCida codec; if an Avisynth error occurs such as when there is a syntax error, Vdub loses all the codecs in the compression windows and shoots up a DVSD can't be decompressed message. I have to close and reopen Vdub to get the codecs to show back up again

Did I just fry something?

My question was about Cedo from the first post. I forgot to ask if it was any good. Sorry about that.

 
       Top
Jam One
Posted: Nov 21 2009, 02:06 AM


Advanced Member


Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09



Cedocida codec did not EVER work properly to me.
It's just somebody's "playground project" in early alpha-beta-0.something stage of development.

...I would suggest only to deinstall it and use ffdshow...
 
     Top
stephanV
Posted: Nov 21 2009, 02:25 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



I'm using the Cedocida coded for capping...

Neuron2 was indeed a member here... there was an unfortunate incident after which he decided to leave...

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
rjisinspired
Posted: Nov 21 2009, 02:30 AM


Advanced Member


Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06



I'm starting to think this may be an Avisynth issue with Vdub.

I uninstalled Cedo and just installed ffdshow and enabled DV for decoding in prefs for the VFW interface and loading DV video works fine, initially, as it did with Cedo, and without it before I had Cedo installed.

Initially DV videos will open up in Vdub but after receiving any kind of Avisynth error, the codecs vanish from the compression window of Vdub with the exception of uncompressed Ycrbr showing up. This is why I'm getting the DVSD error.

I am able to repeat this situation. I have never seen this before.

Update: Now anything I put in using Avisynth comes up as no visible codecs, only Uncompressed. I've never run into this before.

I went to just load a video with no filters or anything and I still get vanishing codecs. Now I don't know what the problem could be.

Update part deux: I changed the first line in my Avisynth script from SegmentedAVISource to To SegmentedDirectShowSource and all of the Vdub codecs show.

This would make sense since I'm working in DS mode through the FFDshow decoder and there would be now no VFW DV decoder since I just uninstalled it. If I did what I think I just did then boy this is embarrassing.
 
       Top
rjisinspired
Posted: Nov 21 2009, 02:34 AM


Advanced Member


Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06



That's too bad that he isn't here anymore. He's made some really good filters.
 
       Top
stephanV
Posted: Nov 21 2009, 09:13 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



If you look at file > file information in VirtualDub, what does it say? Perhaps you are using some weird color space?

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
Jam One
Posted: Nov 21 2009, 02:26 PM


Advanced Member


Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09



Could you please show your script?...
 
     Top
rjisinspired
Posted: Nov 21 2009, 06:47 PM


Advanced Member


Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06



okey-dokely. Here is some video information from one of the video segments from one of the 97 segments.

CODE

General
Complete name                    : C:\Documents and Settings\rjisinspired\My Documents\Greylock to x264\Greylock.03.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 76.1 MiB
Duration                         : 20s 954ms
Overall bit rate                 : 30.5 Mbps
Recorded date                    : 2009-08-05 11:20:12
TAPE                             : Greylock
TCOD                             : 591257333
TCDO                             : 800800000
VMAJ                             : 4
VMIN                             : 0
STAT                             : 628 0 3.430005 1
DTIM                             : 30021054 2998550016

Video
ID                               : 0
Format                           : Digital Video
Codec ID                         : dvsd
Codec ID/Hint                    : Sony
Duration                         : 20s 954ms
Bit rate                         : 28.8 Mbps
Width                            : 720 pixels
Height                           : 480 pixels
Display aspect ratio             : 1.500
Original display aspect ratio    : 4:3
Frame rate mode                  : Constant
Frame rate                       : 29.970 fps
Standard                         : NTSC
Resolution                       : 24 bits
Colorimetry                      : 4:1:1
Scan type                        : Interlaced
Bits/(Pixel*Frame)               : 2.778
Stream size                      : 71.9 MiB (94%)
Encoding settings                : ae mode=full automatic / wb mode=automatic / white balance= / fcm=manual focus

Audio
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Unsigned
Codec ID                         : 1
Codec ID/Hint                    : Microsoft
Duration                         : 20s 954ms
Bit rate mode                    : Constant
Bit rate                         : 1 536 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 3.84 MiB (5%)
Interleave, duration             : 265 ms (7.95 video frames)
Interleave, preload duration     : 266 ms


I used Sony Vegas for the capturing. Reason why I haven't use Vdub as the capturing program is because I get audio slowdown/drift in certain areas of beginning, new, segments to where the audio will be start off by being slowed down then gradually go back to normal pitch.

In Vegas; the first captured file segment is always incorrect as for the audio being encoded as 32000hz then the rest of the segments after the first are at 48000hz, where they were set to be at. Seems like capturing on my end through any program has it's own set of quirks.

The Avisynth script I am using now to join the 97 DV segments:
CODE

SegmentedDirectShowSource("Greylock.avi", 29.970)
ConvertToYUY2()
sbdeint().assumebff()
ChangeFPS(29.970)


I originally had the first line of this code like so:
SegmentedDirectShowSource("Greylock.avi", 29.970, true, true, true, false, false, 1000, "RGB24")
but shortened it and still ran into the memory leak.

I'm not sure what the "timeout" parameter is for in the 8th parameter in that line. I did look at the Wiki for Avisynth and I saw examples of both segmented DS and AVI code lines but no real description about timeout parameter so I just used "1000" as the value.

Keep in mind that this memory leak happens even when loading just that one line:
SegmentedDirectShowSource("Greylock.avi", 29.970) and nothing else.

I loaded this same script into AVSP editor and Megui and I was presented with flashing interfaces after a brief stalling, like viewing a stroboscopic light show, lol.

I can however join these DV segments solely via Vdub through direct stream copy and without any problems at all. After I did this I then wrote another AVS script just to use that rejoined video file and it loaded with no problems.

My guess is that something is overloading; whether it would be from a corrupt DV file somewhere out of the 97 segments or Avisynth loading more instances of something that it shouldn't. I'm starting to think it may be one of those two problems.

 
       Top
Jam One
Posted: Nov 21 2009, 07:34 PM


Advanced Member


Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09



...Well...

I can assume you have Sony Vegas DV codec installed? (Since you captured with it)
And of course it is a DirectShow codec. (Since VFW codecs are supposed to be absent)
That is why (we are to believe) SegmentedDirectShowSource command works better.

...Then...
What do we have now --
all codecs are displayed correctly in VirtualDub's interface,
you can append all segments directly in VirtualDub,
but video segments are NOT opened via Avisynth
-- is it right?

Pardon my next question, I believe you deleted the defective segment (32000 Hz), it is NOT located in company of other segments ?
 
     Top
rjisinspired
Posted: Nov 21 2009, 08:16 PM


Advanced Member


Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06



These DVs were captured a couple of months ago. I did reinstall Vegas on my new drive the other day so yep Sony's codec would be there. Forgot about that until you mentioned it.

By loading the segments into Vdub through Avisynth, after getting past the slowdown of loading, Sometimes the codecs show, sometimes not. This vanishing and reappearing of codecs seems to be unpredictable at this present time.

However when I don't use Avisynth and just import the segments into Vdub itself, I see all the codecs in the compression window and no loading problems with all 97 segments. I then have to direct stream copy the segments with only Vdub.

For now I can not use Avisynth at all to load segmented video into Vdub because of some memory issue and sometimes disappearing codecs in Vdub's compression window.

The initial file with the 32Khz audio was not moved to my new drive, it resides on the old drive.

The first captured segment done by Vegas gets put through Vdub to upsample the audio track to correct the sample rate. I had also used Audition to fix the audio parts then add them back into Vdub. Either way works.

This all has me confused. I don't know if the problem was installing Cedocida, Avisynth, Sony, or system related. I don't know what tests I could perform except maybe a memory test but the only problem I'm having is with Avisynth for some reason or other.

 
       Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
11 replies since Nov 21 2009, 12:49 AM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion