That should be fine. Try the following script:
Does it show YV12?Code:AVISource("D:\AVISYNTH\Exercises\Carnaval-0.avi") Info()
+ Reply to Thread
Results 31 to 60 of 253
Interesting! I replaced the script by this, as advised:
and this is the result:
Seems to be RGB, not YV12. Looks like it is interlaced after all and, as you thought, a complete frame consisting of 2 fields.
Probably you have another DV decoder currently installed, and cedocida isn't being used
Make sure the internal vdub decoder is disabled first (options => preferences => AVI => uncheckmark prefer internal video decoders over installed third party codecs) , then load a DV-AVI file directly into vdub, and use file=>file information; what does it say ?
You can use something like VCswap to disable/enable various VFW codecs
If cedocida was installed and working properly, it should say "cedocida" . If you can't get it working by fiddling with vcswap or other VFW configuration tools; alternatively, you can use another source filter like ffms2 (external plugin, requires .dll)
Many thanks for your fast comment.
This is what I see in vcswap:
1. It looks like cedocida is active. Does the 'Type ' indicate that it is 32-bit?
2. I am pretty sure I installed the 32-bit versions of VDub and Avisynth, but how can I check this?
3. Could you elaborate a little on what you mean by "fourcc should be dvsd" ?
4. Tried to install mediainfo but it is infected with malware (OpenCandy). Would you know an alternative link?
VirtualDub: if the title bar doesn't say AMD64 you have the 32 bit version. If you can open an AviSynth script in 32 bit VirtualDub you have 32 bit AviSynth installed.
fourcc: AVI files identify what codec is used with a "fourcc" code -- a four character codec id. "dvsd" is usually used for DV.
MediaInfo: You can avoid OpenCandy by disconnecting from the internet during the install. Even if you don't disconnect you can usually avoid the stuff it installs by always selecting "custom" install and making sure OpenCandy items are not selected. Be careful, the install may have more than one place where you have to avoid OpenCandy.
Last edited by jagabo; 31st Oct 2014 at 10:48.
Thank you guys for your continued help!
jagabo, this is what I see in the title bar of VDub & VDubMod
So, both are 32bit versions?
And indeed I can run a simple Avisynth script in either.
poisondeathray & jagabo,
I got MediaInfo installed (offline) and saw no mention of OpenCandy. I'm hoping for the best..
I ran MediaInfo and here is what was found:
It still does not say whether the avi-file is interlaced or progressive.
I do hope it gives you a clue and I am looking forward to what you would suggst next.
So clearly that AVI is NO LONGER a DV format but an uncompressed RGB format, counter to what you led us to believe.
You can fix your RemoveDirt stuff by prepending a "ConvertToYV12" or "ConvertToYUY2" command.
However, this leads me to ask - What happened to your original DV capture?
Your video is uncompressed RGB, not DV AVI. And it's only 18 fps, not the 25 fps PAL DV would be. How did you make that AVI? If you used a firewire port to capture from the DV camcorder you should have gotten DV AVI.
A deep red is colouring my cheeks, obviously I made a terrible mistake.
What happened is that, in VDub, I cut a short test movie from the original scan, made a horizontal flip, changed the speed to 18 fps and saved it as 'Carnaval-0', without realising that this would change the properties of the file so drastically!
The original scan was made with a setup much like Fred v.d. Putte's, using a Canon camcorder instead of a webcam. The scan was done at approx. 4 fps and a firewire connection was used between camera and computer.
Here is the MediaInfo report on the original scan:
Now I recognise many of the things you mentioned...
OK, subsequently I tried to cut another short from the original (in VDub) and I got this message when
I could play the movie only when pressing Output-playback.
In VDubMod, I cannot play the avi at all and I get this message:
I hope you guys will bear with me a little longer, sorting out the mess I made..
My apologies and many thanks!
Fred started using a webcam, a Philips To-U cam if I remember well.
Have a look at his site where he says: "I did my first testings with a 640x480 Philips webcam .
But now I use a 1392x1032 Point Grey Flea machine vision camera"
This is what VDub's file info says, with te Original clip loaded:
Ok webcam for testing... He would never use that for actual use
Ok I lost track of the big picture... Weren't you trying to use avisynth? Some filters like RemoveDirt? The file=>file information was just to show what current VFW decoder is being used. That will be the same one used when you use AVISource("video.avi") in vdub
We got sidetracked because you use the wrong uncompressed RGB video
What does it report the colorspace as ? It should be what you have cedocida set to
I recommend you use the MC versions of dirt removal filters, not the original RemoveDirt. The MC (motion compensated) are much better at retaining detail. Dirt removal filters only work properly if you have a 1:1 transfer (not duplicates or blends), because they look for difference between frames
VirtualDub won't play YV12 video via the play input function. On the other hand, it has no problem playing YV12 from an AviSynth script. Since you previously limited Cedocida to YV12 output VirtualDub won't play the video when opening the AVI directly. If you open the video using an AviSynth script you should find that it plays.
Now if you enable both YUY2 and YV12 output in Cedocida you can specify which you want when you open the video with AviSource() -- pixel_type="YUY2" or "YV12". And VirtualDub will probably negotiate YUY2 when you open the video directly.
Right, the big picture.
I was impressed by the fantastic results Fred van der Putte achieved with his Avisynth script.
Allow me to quote from my first post:
"Subsequently I tried to train myself in using Avisynth and VirtualDubMod as a GUI and script editor. VDM works fine and appying filters is no problem.
Avisynth however, is an entirely different story: 6 weeks of absolutely fruitless efforts. This is what I did, among many other things:
I made a 15 sec. test movie called "Carnaval-0.avi" using VD to convert the speed to 18fps and to make the necessary horizontal flip."
From there on things went wrong, as you know.
I tried Fred's script (the 2nd) but I got nothing but error messages. Then I tried simple plugins like RemoveDirt.dll and got similar errors.
This is roughly as far as we got. And now VDub does no longer respond as it should...
I made the avs script as you advised:
Trying to open it resulted in this message:
What would you suggest I do?
You're absolutely right! Sorry, stupid mistake and I'm getting sleepy; it is 2:45 AM in this country...
Now it does run in VDub and this is the information:
However, it does not run in VDubMod, which returns this message:
and it does not run in Media Player either, as it seems to be missing the relevant codec.
I told you before that VirtualDubMod can't play YV12 video without an external YV12 decoder. Stop using that 10 year old piece of software. It only has one possible use these days -- muxing multiple audio tracks into an AVI file.
If your really must, you can use ffdshow to decode YV12. It's under Codecs -> Raw Video
Yes you certainly did, jagabo! I used it for the integrated script editor and did not realize it is 10 years old. As a script editor I now use AVSEdit. Or would you suggest a better one?
I promise I won't use VDubMod anymore.
In this case (VDub not working properly) I simply tried to give you as many clues as I could. For the same reason I also mentioned, in my previous post, that the script does not run in Media Player either.
1. Does play Carnaval-ORIG.avs without any problem.
2. Does not play Carnaval-ORIG.avi when depressing 'Input Playback' and this message appears:
Windows Media Player
1. Does play Carnaval-ORIG.avi, but
2. Does not play Carnaval-ORIG.avs. Instead a message appears (in Dutch) saying as much as: "Cannot play the file. Possibly the player does not support the file type or the required codec is not installed on the computer".
Shall be looking forward to your comment.
Did you enable YUY2 output in Cedocida? Did you install ffdshow and enable the row video codec? If you've already enabled YUY2 outout in Cedocida, you can try forcing VirtualDub to ask Cedocida for YUY2 with Video -> Color Depth -> Decompression Format -> YY2:2 YCbCr YUY2.
Windows Media Player is probably 64 bit and won't work with 32 bit AviSynth. Generally, you don't use media player to view scripts because the scripts are often too slow for real time playback.
Last edited by jagabo; 2nd Nov 2014 at 05:42.
Sorry jagabo, I'm trying to become familiar with codecs but I am not 'on the level' yet and step-by-step instructions would be much appreciated.
1. Therefore: how should I go about enabling YUY2 in Cedocida?
2. I did install ffdshow, but again, I have no idea as to how to work with the program or how to enable the row video codec.
3. I looked into Video -> Color Depth -> Decompression Format -> YY2:2 YCbCr YUY2.
In the list I could not find YY2:2 YCbCr YUY2 and this is part of what I see:
4. Windows Media Player worked quite well before. When I just dropped an .avs onto the WML logo on my desktop it played well and started immediately. I found it quite useful and regret that it does not work anymore.