AviSource: Could not Decompress Frame 0
Hi,
I tried to convert my SVHS captures today,but got the following message when I load the script into WMP: "AviSource:Could not Decompress Frame 0" Tried several scripts,also one generated by FitCD,but the same message appears every time. When I change source to DV file or D2V file the same scrips works just fine. :? Anyone have a idea what im doing wrong :?: ---------------- Finn. :!: When I load the script into TMPGnc I got a res. 888x56 :!: |
res. 888x56 ?
seems that you need the mpeg2dec3.dll download it and all filters that you need in: http://www.avisynth.org/warpenterprises/ unzip the .dll inside the avisynth filter folder and try again. if don't work we need to see your scrip, post it here please! :wink: |
All the plugins are present,here is my script:
LoadPlugin("C:\Programfiler\AviSynth 2.5\plugins\MPEG2Dec3.dll") LoadPlugin("C:\Programfiler\AviSynth 2.5\plugins\deen.dll") LoadPlugin("C:\Programfiler\AviSynth 2.5\plugins\grip.dll") LoadPlugin("C:\Programfiler\AviSynth 2.5\plugins\UnDot.dll") LoadPlugin("C:\Programfiler\AviSynth 2.5\plugins\Convolution3DYV12.dll") LoadPlugin("C:\Programfiler\AviSynth 2.5\plugins\Blockbuster.dll") LoadPlugin("C:\Programfiler\AviSynth 2.5\plugins\DctFilter.dll") AviSource("G:\Captured Video\Video 1.avi",false) ConvertToYV12() BlindPP(cpu=4) Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1) Convolution3D(1, 6, 12, 6, 8, 2.8, 0) GripCrop(720, 576, overscan=1, source_anamorphic=false,dest_anamorphic=false) GripSize(resizer="LanczosResize") Undot() TemporalSoften(2,7,7,3,2) DCTFilter(1,1,1,1,1,1,0.5,0) #Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623) GripBorders() Ive also tried to change the resolution but still got the same message. The captured avi file have resolution 720x540(4:3), can that cause the error??? |
Quote:
that script works only with avisynth2.5x the filters(plugins) are present but check if his versions are correct to use in avisynth2.5x download and install XviD : http://www.codec-download.com/article.php?sid=203 load the script in vdubmpeg2 and see if have any message showing errors download vdubmpeg2 if needed: http://www.free-codecs.com/download/...lDub-MPEG2.htm post the result and the message error if any! :wink: @ all the whole forum knows that i don't encode .avis . can anyone help too ? thanks. :wink: |
i remember now that you get help in this thread:
http://www.kvcd.net/forum/viewtopic.php?t=14018 choose where you want help but in my opinion, there is really better cos Peter1234 knows about .avis and i only encode from dvds sources! :wink: |
downloaded and installed Xvid codec,
opened script in VdubMpeg2,get the same message "could not decompress frame 0" also tried to load the avi file without the script in Vdub, got the following message:"Video Source AVI error:The source image format is not acceptable.(error code -2)" yeah,I'm maybe on the wrong place posting :oops: the strange thing about this error is that it works well with DV-avi and also with DVD sources(even if this is a AVI to KDVD/KVCD script),so ive been reading (maybe too much 8O ) articles and threads today trying to find a solution to the problem :idea: Thanks for the answers anyway :!: |
ok the vicking, no problems! :wink:
seems that your source is corrupt in the begining! :( like i wrote,i don't encode avis and someone else will help you more than me. i don't want to post wrong informations of things that i don't have knowledge. if nobody came, just pm for me and i call the help for you, right? :) back to that thread where Peter1234 is helping you.... he knows about .avis encodes and will help you a lot and more friends will go there too! best regards! :wink: |
the viking,
It would seem like that source video has a problem. Have you tried a different avi source? Does that video open and play in any palyers or encoders (TMPGEnc for example)? What codec is the AVI in? |
1.When I open the avi in Gspot,It says MJPEG codec.(Motion Jpeg including Huffman Tables).Codec are installed.
2.The file plays just fine in WMP and WinDVD4 3.No problem opening the file in TMPGEnc(without Script) -Noticed one thing,when I opened the file in Gspot it says 25FPS, opened the same file in TMPGEnc it says 30FPS.(All my Avi's are PAL). -I have tried different avi sources,dv-avi works perfect. -The SVHS Avi-files were captured with Pinnacle DC10Plus capture card/software. |
Try to open it with a directshowSource command insteed of avisource.
|
Changed from avi-source to directshowsource like this:
DirectShowSource("G:\Captured Video\Video 1.avi",false) and it gave this message in WMP: "Script error:invalid arguments to function "DirectShowSource"" :? Checked the capture settings in Pinnacle,the crop funtion was activated, that give res.720x540,I will try to capture without crop to res 768x576. But it should work with a script anyway I suppose.(crop or not) :?: ---------------- Finn |
Quote:
|
You have to delete ", false" in your script.
|
Quite a good thing that AviSynth manual :lol:
Well,inserted this line in the script DirectShowSource("G:\Captured Video\Video 1.avi", fps=25) and it works just fine :idea: But I got one error: "BlindPP:Need mod16 Height" Didnt find the solution to that in the manual,but it works fine when I remove the line from the script. Anyway,thanks a lot ------------------ Finn. |
Quoting DialHot from his Optimal Scripts Post as the line below is related to BlindPP!
Quote:
Quote:
Do get the PicVideo mjpeg codec as it comes with dshow and vfw drivers. I also got a Pinnacle DC card and its streams work great with picvideo. Another choice would be installing FFdshwo and setting its ffvfw compount/decoder to decode mjpeg. What was the setting when capturing?? Means how many MB/sec? 3mb, 4mb, 6mb ??? As usually mjpeg is count in mb/s. |
Of course,read about "add borders" a few days ago :oops:
So when my source is 720x540 and I want it to be 720x576 the line will be like this:(I think):AddBorders(0,0,0,36) :idea: About the setting in Pinnacle: It was preset best(S-VHS video),full horizontal resolution,both vertical fields,crop 720x540,kbytes/sec. 3000 (data rate) I will try PicVideo mjpeg codec next time. Another theoretical question,is it a good idea to convert 720x540 to 720x576,or should I go for some lower resolution? -------------- Finn. |
Quote:
Code:
Addborders(0,18,0,18) Quote:
|
Vicing,
you only need 720x544! As the next higher! value for MOD16 from 540 is 544 So Avisource("720x540_Input.avi") Addborders(0,0,0,4) And the result will be a proper 720x544 output where you can add BlindPP(..) afterwards. The addedborder will be deleted by Gripcrop afterwards and the upcoming filters wont have too much senseless pixels to process which would slower the rendering ;-) Quote:
In this case here the diff. between 544 and 576 is tiny and does not matter, but I do explain that to you vicing that you understand the basic of this procedure ... like in case of cropped PAR 1:1 2.35:1 Sources ;-) |
Quote:
|
Then I'll make a test with 720x544,using this code:Addborders(0,0,0,4).
My plans is to encode all my SVHS tapes to DVD. And as far as I can see,after reading yesterday and today,several places about aspect ratio/4:3/16:9/anamorph etc.,I'll keep the correct A/R using the following code: GripCrop(720, 544, overscan=1, source_anamorphic=false,dest_anamorphic=false) GripSize(resizer="LanczosResize") I'll see Inc. talking about 2.35:1 sources,yesterday I did a backup of disney's"Brother Bear",using this script from FitCD: BicubicResize(496,416,1/3,1/3,8,0,704,576) AddBorders(16,80,16,80) #Trim(0,122442).FadeOut(150) The source was DVD,resized to 528x576,anamorp input- nonanamorph output. the result was very good with correct A/R. And,Gentlemen, If I have understand anything at all,I'll get the same results using this code:(with correct A/R): GripCrop(528, 576, overscan=1, source_anamorphic=true,dest_anamorphic=false) GripSize(resizer="BicubicResize") Correct me if im wrong :!: ------------------------------ Finn.(learning every day) 8O |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.