Quantcast Avisynth: MPEG2DEC3 Problem? - digitalFAQ.com Forums [Archives]
  #1  
06-16-2003, 10:57 AM
cybernut cybernut is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Hi All

I'm back after several months away and what a difference - everythings changed! I now have to start from scratch including setting up all the scripts on a new computer. Therein lies my problem.

I copied the optimal script and added Deinterlace() since I am trying to encode my MinDv's but other than that everything else is the same. Got through the codec problem but now I'm having problems opening the Avisynth (2.52) file. The straight .avi file opens ok in Tmpg and Vdub but not in the optimal script. I get this error: Avisynth open error: MpegSource: couldn't open file.... I think it must be a Mpeg2Dec3 error - maybe a colour space problem but don't know where to go from here. Any suggestions?

Thanks

Clive
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  
06-16-2003, 11:07 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
What's the error description if you open the .avs in Vdub

-kwag
Reply With Quote
  #3  
06-16-2003, 11:13 AM
cybernut cybernut is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Kwag

You sure are fast at a response - just like always!

The error I gave is the error from Vdub... It just adds the file for the rest of the error. Tmpg error is "MPEG2Source: couldn't open file". The file opens fine in both Tmpg and Vdub - just not in the script.

Clive
Reply With Quote
  #4  
06-16-2003, 11:23 AM
boeddha boeddha is offline
Free Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Hello,

You say your file is an avi. So i think you have to use AviSource instead of Mpeg2Source
Reply With Quote
  #5  
06-16-2003, 11:35 AM
cybernut cybernut is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Boeddha

That did it... it's been a few months. Now I do have a colourspace conversion problem - The first half of the preview on Tmpg and Vdub is magenta (purple)... Any ideas?

Thanks

C
Reply With Quote
  #6  
06-16-2003, 11:59 AM
boeddha boeddha is offline
Free Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Try SwapUV() right after your source line.
Reply With Quote
  #7  
06-16-2003, 12:04 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Install newer versions of your DivX or XVid Codec!
__________________
j3llyG0053
Reply With Quote
  #8  
06-16-2003, 12:15 PM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
If thats a kind of "purple block" problem, I remember I had this when I installed the Nemo Codec Pack, uninstalling it fixed the problem.
Reply With Quote
  #9  
06-16-2003, 12:20 PM
cybernut cybernut is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Hi All

Well the SwapUV() came up with a new error: Plane Swapper: YV12 data only. I guess MiniDV NTSC is not in YV12 native. I need to convert to YV12 I guess??? Are there any colour space converters out there that will do that?
Thanks
C
Reply With Quote
  #10  
06-16-2003, 12:37 PM
cybernut cybernut is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
I guess I'm becoming a pain in the ***. Did a conversion to YV12 and now the entire screen is green! Still have a problem but now at least no script errors. I tried putting YV12toYuY2 at the end but that doesn't help. Back to the drawing board.

C
Reply With Quote
  #11  
06-16-2003, 01:47 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi cybernut,

Have you tried changing your DV CODEC

-kwag
Reply With Quote
  #12  
06-16-2003, 01:59 PM
cybernut cybernut is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Kwag

That was my first problem. After putting in the correct codec, the bare .avi file loads into tmpg and Vdub correctly. It's only when I try loading it with Avisynth 2.52 into vdub, Tmpg and Tok that the green shows up. The entire screen is green. I suspect the camera uses a colour space different than YV12 and something isn't being converted correctly. Do you know what colour space tmpg requires?

I guess nothing's easy! Any suggestions?

C
Reply With Quote
  #13  
06-16-2003, 02:19 PM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Could you post a short sample of the video (using vdub/direct stream copy)? Also please tell us what codec vdub reports in file/File Information.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #14  
06-16-2003, 02:53 PM
cybernut cybernut is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Sh0dan

The raw .avi file info: Main Concept DV codec 2.1.0 - what I would expect
The output from my .avs file: DivX 5.0.5 - Very strange indeed! since I was frame serving (so I thought) to Tmpg... I guess no wonder it's green! Now we just have to try and fix it. I compressed a 1 second screen shot but not sure how to attach it... Maybe I'll PM you since it's only 114k or so.

Thanks

Clive
Reply With Quote
  #15  
06-16-2003, 03:37 PM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Have you tried the free Canopus codec? I use i regulary without any problems. It should also deliver better image quality.

Anyway - I need the input file of your AVI - the one that's failing.

You might also have a look in the Doom9 DV forum
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #16  
06-16-2003, 09:12 PM
cybernut cybernut is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
@ ShOdan

I downloaded the Canopus codec and the results are the same (green screen). Is there any way I can attach a file to this post? I don't have an ftp server. I could email it to you if you PM me your email address.

Thanks

Clive
Reply With Quote
  #17  
06-17-2003, 10:01 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
You need to change the FOURCC of your file, for it to actually be opened by the Canopus codec. They have a free utility for that. Otherwise see doom9.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #18  
06-18-2003, 10:36 AM
cybernut cybernut is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
@ ShOdan

My fan on my power supply died last night so I haven't had a chance to try changing the fourC. Did you get a chance to look at the file that I sent to you? I will probably have to wait until the weekend to get the fan fixed.

C
Reply With Quote
  #19  
06-18-2003, 12:28 PM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Haven't had a chance to look at it - but I probably will before the weekend.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
MPEG2DEC3.dll is Not an AVIsynth 1.0 Plugin? CaLaFaT Avisynth Scripting 1 02-01-2004 07:42 AM
Solarization using MPEG2DEC3.DLL with Avisynth 2.5 gvarney Avisynth Scripting 11 10-24-2003 05:37 PM
TMPGEnc: MPEG2DEC3.all in not an Avisynth 1.0 Plug-in Bud Video Encoding and Conversion 9 07-05-2003 08:58 PM
Avisynth: Multiple D2V files with Mpeg2Dec3 ? ak47 Avisynth Scripting 0 06-29-2003 11:41 PM
Avisynth: MPEG2DEC3 getting better every day Boulder Avisynth Scripting 11 06-13-2003 11:16 PM

Thread Tools



 
All times are GMT -5. The time now is 05:15 PM  —  vBulletin Jelsoft Enterprises Ltd