Quantcast AVIsource: Could Not Decompress Frame 0 - digitalFAQ.com Forums [Archives]
  #1  
09-15-2004, 02:03 PM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
09-15-2004, 03:38 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Reply With Quote
  #3  
09-15-2004, 04:07 PM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
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???
Reply With Quote
  #4  
09-15-2004, 04:56 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
The captured avi file have resolution 720x540(4:3),
can that cause the error???
maybe can be the source the viking, we need to do more little tests to find the problem!

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!


@ all
the whole forum knows that i don't encode .avis .
can anyone help too ?

thanks.
Reply With Quote
  #5  
09-15-2004, 05:03 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Reply With Quote
  #6  
09-15-2004, 05:37 PM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
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
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 )
articles and threads today trying to find a solution to the problem

Thanks for the answers anyway
Reply With Quote
  #7  
09-15-2004, 06:49 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
ok the vicking, no problems!

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!
Reply With Quote
  #8  
09-15-2004, 09:48 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #9  
09-16-2004, 03:28 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #10  
09-16-2004, 03:44 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Try to open it with a directshowSource command insteed of avisource.
Reply With Quote
  #11  
09-16-2004, 04:25 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #12  
09-16-2004, 04:40 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by the viking
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""
There is something known as avisynth manual. It is on your disc, in the avisnth directory. Try to read it
Reply With Quote
  #13  
09-16-2004, 05:24 AM
Encoder Master Encoder Master is offline
Free Member
 
Join Date: Mar 2003
Location: (^_^)
Posts: 504
Thanks: 0
Thanked 0 Times in 0 Posts
You have to delete ", false" in your script.
Reply With Quote
  #14  
09-16-2004, 05:31 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Quite a good thing that AviSynth manual

Well,inserted this line in the script
DirectShowSource("G:\Captured Video\Video 1.avi", fps=25)

and it works just fine

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.
Reply With Quote
  #15  
09-16-2004, 05:42 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quoting DialHot from his Optimal Scripts Post as the line below is related to BlindPP!

Quote:
BlindPP needs a source with both dimensions divisible by 16. If your source is not in this case, you can use "Addborders(0,0,right,bottom)" to adjust the size (the idea is to reach the next value that is divisible by 16. See example just after). Don't worry, this border will be removed by the gripcrop command.

Example : source is 636 * 477, you need to change it to 640 * 480 (640/16 = 40; 480/16 = 30). So just add this after the line Avisource :
Code:
AddBorders(0,0,4,3)
According to the issue with "no opening in VdubMod etc.":
Quote:
-The SVHS Avi-files were captured with Pinnacle DC10Plus capture card/software.
To me the situation is clear as you system comes only with a directshow mjpeg videodecoder installed by your pinnacle software. VirtualDub uses vfw and also avisource() in your avisynth script.

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.
Reply With Quote
  #16  
09-16-2004, 06:12 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Of course,read about "add borders" a few days ago

So when my source is 720x540 and I want it to be 720x576 the line
will be like thisI think):AddBorders(0,0,0,36)

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.
Reply With Quote
  #17  
09-16-2004, 06:31 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by the viking
So when my source is 720x540 and I want it to be 720x576 the line
will be like thisI think):AddBorders(0,0,0,36)
The best is to add balanced top/bottom borders like this :
Code:
Addborders(0,18,0,18)
Quote:
Another theoretical question,is it a good idea to convert 720x540 to 720x576,or should I go for some lower resolution?
If you plan to do a 1CD, it is better to use lower resolution.
Reply With Quote
  #18  
09-16-2004, 06:41 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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:
Code:
Addborders(0,18,0,18)
Never do add borders at top! OR left! side as the dct detection of blind pp needs the ORIG! top and left side placement of the image. And 18 is not MOD16


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
Reply With Quote
  #19  
09-16-2004, 07:11 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Never do add borders at top! OR left! side as the dct detection of blind pp needs the ORIG! top and left side placement of the image. And 18 is not MOD16
I know I know ! I was referencing to the 720*576 res that can let him to not do any resizing at all, but did not remember his first problem was with blindPP
Reply With Quote
  #20  
09-16-2004, 08:30 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
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 codewith 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)
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avi Source: Could not decompress frame 0 FrAnKiM Conversão e Codificação de Vídeo (Português) 3 05-24-2004 01:34 PM
Avi Source: Could not decompress frame 0 daemon Conversão e Codificação de Vídeo (Português) 2 05-22-2004 03:34 PM
AviSource : Could not decompress frame 0 Dialhot Video Encoding and Conversion 0 11-30-2003 06:23 AM
AviSource: Could not decompress frame 0 Dialhot Video Encoding and Conversion 0 11-30-2003 06:20 AM
Could not decompress frame 0 the_ray Video Encoding and Conversion 6 11-30-2003 05:12 AM

Thread Tools



 
All times are GMT -5. The time now is 01:44 PM  —  vBulletin © Jelsoft Enterprises Ltd