View Full Version : Why do I get this static ?
Subhash
11th March 2007, 17:12
I am at the very first step of using Avisynth i.e. opening an .avi file. I set up my test.avs with just 1 line in it avisource("myfile.avi") and got the message "Couldn't locate decompressor for fourcc dvsd". Windows medial player otherwise was able to open the file with no problem but not through the script. I, somehow managed to open it by searching and reading and installing Panasonic DV Codec. Now, I can open the file and it plays it but I get static this static screen every 2-3 seconds:
Any help greatly appreciated...
Thanks.
Subhash.
alfixdvd
11th March 2007, 18:34
Install ffdshow
Try to open with DirectShowSource("file.avi")
sillKotscha
11th March 2007, 18:55
Install ffdshow
Try to open with DirectShowSource("file.avi")
?? no, avis should be opened via avisource, why directshowsource??
and why should he install ffdshow, as all that is/ was missing is a DV decoder...
Subhash already found out that a DV codec is missing and installed Panasonic DV codec - so far so good...
@Subhash
I'd recommend another DV codec - I can't see your picture as it is not approved by now and I don't know what you mean by saying 'static' - but as I said, try another DV codec. I'd recommend Cedocida DV Codec (http://forum.doom9.org/showthread.php?t=94458) by A. Dittrich. It is free and open source and supports PAL and NTSC and a variety of in- and output formats...
please un-install your Panasonic DV codec and install Cedocida and report back...
/ Sill
Edit:
Windows medial player otherwise was able to open the file with no problem but not through the script.
windows does offer a Microsoft DV codec out of the box - that's the one used by WMP... and that makes me curious why avisynth wasn't able to decode your DV file... hmm, probably because Microsoft's DV codec isn't registered as VFW
Blue_MiSfit
11th March 2007, 22:58
Exactly.
I tried loading up some DV AVIs that played in premiere just fine the other day. Drag and drop to VirtualDub complained that no VFW decoder was available. Of course... :)
Cedocida is nice :D
~MiSfit
neuron2
11th March 2007, 23:39
Bump for approved attachment.
Static. LOL :)
Terranigma
11th March 2007, 23:54
Looks like a problem with the colorspace, 4:2:2 Planar ?
Edit. I could be wrong. Maybe the wrong type of codec is trying to decode something it's not supposed to
Subhash
12th March 2007, 00:16
Thank you all for your replies. As I said in my previous post, I get this every 2or 3 seconds. Here is the good frame from beginning of the same clip that I posted before.
If it was the codec problem, then it wouldn't play at all. Right ?
I will try installing Cedocida and see what happens.
Thanks...
Terranigma
12th March 2007, 00:26
If it was the codec problem, then it wouldn't play at all.
Actually, try encoding a x264 file to .avi, and change the fourcc to xvid. It won't play correctly. You'd only get a black screen with the video's resolution and audio if it has any audio. :p
I can't really help you here as i've never experienced anything like this.
foxyshadis any incite? I can sense your presence. I'm a fox after all :)
sillKotscha
12th March 2007, 00:35
Actually, try encoding a x264 file to .avi, and change the fourcc to xvid. It won't play correctly.
yes, but it looks like the film footage is of private nature... straight from his DV Cam to the PC - I question that he has changed the fourcc of his footage ;)
maybe something went wrong during transfer - I don't know. But before making any false assumptions please test out Cedocida.
as it turns out this isn't an avisynth issue - this thread should be moved to the DV sub-forum as it will get a wider audiance :)
Subhash
12th March 2007, 17:19
OK. I uninstalled Panasonic DV Codec and installed cedocida. Made no difference. I transferred the video with Windv which I understand makes a direct copy from the tape to the hard drive. I have tried couple of other clips also transferred the same way and all give the same results.
What else can I try ?
sillKotscha
12th March 2007, 17:36
how did you configure WinDV ? for type-1 or type-2 avis?
http://img2.freeimagehosting.net/uploads/972eb09a23.jpg (http://www.freeimagehosting.net/)
I don't know if that makes a difference but it's worth a try...
and I remember to split up the DV capture into 20min pieces and join them afterwards...
foxyshadis
12th March 2007, 19:38
Does it work in anything else? At this point there's strong evidence that it's just corrupted, either on the tape or during transfer. Try retransfering. Otherwise you might need to maually remove the bad frames, and maybe check out your camera for causing corruption.
Subhash
14th March 2007, 20:58
how did you configure WinDV ? for type-1 or type-2 avis?
http://img2.freeimagehosting.net/uploads/972eb09a23.jpg (http://www.freeimagehosting.net/)
I don't know if that makes a difference but it's worth a try...
and I remember to split up the DV capture into 20min pieces and join them afterwards...
All my transfers were configured as Type-2 in Windv. So, there is no issue with that.
Does it work in anything else? At this point there's strong evidence that it's just corrupted, either on the tape or during transfer. Try retransfering. Otherwise you might need to maually remove the bad frames, and maybe check out your camera for causing corruption.
Yes, all of the clips work just fine with Winamp, WMV and even VLC Player. As for the corruption, I can understand if 1 of them got corrupted during transfer but I have several of them and all of them give me same problem.
I could clip 1 minute from my capture and send it to someone more knowledgable but filesize is going to be a problem. Even 1 minute avi is going to be about 200 MB.
Any suggestions ??
Thanks.
Subhash.
Terranigma
14th March 2007, 21:26
How about seperating the audio from the video by demuxing, then uploading a small sample around 10-30 secs?
Subhash
14th March 2007, 23:11
How about seperating the audio from the video by demuxing, then uploading a small sample around 10-30 secs?
That is not going to help because the demuxed files play just fine. I have demuxed m2v and mp2 files from the same avi files and I opened it with DirectShowSource and it played flawlessly. It is just the avi file itself gives me the problem.
I don't know how else we can try to address this issue. I am still stuck at the first step whereas I have a long way to go having to remove noise from the avi files using its filters but I am still at square 1.
Any other ideas please ?
Thanks.
Subhash.
Terranigma
14th March 2007, 23:22
That is not going to help because the demuxed files play just fine. I have demuxed m2v and mp2 files from the same avi files and I opened it with DirectShowSource and it played flawlessly. It is just the avi file itself gives me the problem.
I don't know how else we can try to address this issue. I am still stuck at the first step whereas I have a long way to go having to remove noise from the avi files using its filters but I am still at square 1.
Any other ideas please ?
Thanks.
Subhash.
What I meant was, upload a sample and post a url link (Just the video.. no audio please).
Subhash
15th March 2007, 04:31
What I meant was, upload a sample and post a url link (Just the video.. no audio please).
OK. I uploaded a small clip (83 MB) to Megaupload.com. Here is the link:
http://www.megaupload.com/?d=9S5JB4J3
Would that help ?
Thanks.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.