Quantcast Avisynth 2.5 Cannot Decode Divx, Xvid Videos? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
06-09-2004, 12:55 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
This problem came out of the blue. Avisynth 2.5 cannot find any codecs to decode my Divx and Xvid video. I use GSPOT to render the files and I have the necessary codecs installed. I tried reinstalling Avisynth and Divx, Xvid codecs but to no avail. The weird thing is I can still import my AVS script to CCE but not TMPGEnc and Mainconcept. I think the problem is Avisynth cannot locate the codecs installed on my system.
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-09-2004, 01:00 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rs008f
This problem came out of the blue. Avisynth 2.5 cannot find any codecs to decode my Divx and Xvid video. I use GSPOT to render the files and I have the necessary codecs installed. I tried reinstalling Avisynth and Divx, Xvid codecs but to no avail. What could be the problem?
How is your avs script?


--------------------------
Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64.
Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64.
Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64.
Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus.
Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita.
--------------------------

Reply With Quote
  #3  
06-09-2004, 01:09 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
avisource("C:\xx.avi")

Just one line.
Reply With Quote
  #4  
06-09-2004, 01:33 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rs008f
avisource("C:\xx.avi")

Just one line.
Try
avisource("C:\xx.avi,false")
But only with this line avs script is not usefull.

--------------------------
Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64.
Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64.
Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64.
Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus.
Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita.
--------------------------

Reply With Quote
  #5  
06-09-2004, 01:35 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
do you mean avisource("C:\xx.avi",false) ?
It still unable to compress the video.
Reply With Quote
  #6  
06-09-2004, 01:40 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rs008f
do you mean avisource("C:\xx.avi",false) ?
It still unable to compress the video.
Use this line,
Code:
avisource ("C:\xx.avi", false)
and try to load your scritp in mplayer2.exe or virtual dub.
Is any message displayed?
What message?
Reply With Quote
  #7  
06-09-2004, 01:50 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
yes I used that line. in mplayer it says "cannot locate decompressor", in VDub it opens but the video is like 8-bit color and pixelated, probably using an alternative codec.
Reply With Quote
  #8  
06-09-2004, 01:58 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Maybe a config issue:

Config DivX: Just mark all settings, exclude support for mpg4 generic. Unable post processing and film effect.
Config XviD: Don't give support for others codecs, force output to YV12. Unable deringing and other filters.

BTW: How your codecs lost his configuration? What did you do?


--------------------------
Visit: Intermediate guide: MencodeMe/Win32 - Avisynth - MakeAvis by Prodater64.
Visit: KVCD - MencodeMe - Auxiliar Task - KVCD Docking Gate by Prodater64.
Visit: Mencoder scripting with AVSEdit and Guide for Multiple Files by Prodater64.
Visit: Mini-guide quick and easy - DVD to (S)KVCD with MencodeMe by Maurus.
Visit: Mencode-me: a newbie oriented GUI - 0.23 is out! by VMesquita.
--------------------------

Reply With Quote
  #9  
06-09-2004, 02:09 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
yes I have configured Divx and Xvid as you suggested but the same problem exists. As for what I did, I changed motherboards, upgrade my CPU and memory. I did not reinstall Windows XP. I used Media Player Classic. This is what it reported.

Stream 0

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 418176
cbFormat: 88

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

BITMAPINFOHEADER:
biSize: 40
biWidth: 704
biHeight: 396
biPlanes: 1
biBitCount: 12
biCompression: YV12
biSizeImage: 418176
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0
Reply With Quote
  #10  
06-09-2004, 02:45 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Open this avi in zoomplayer and look at the filters and codec that are used (I hope you know how to use zoomplayer ).

And give us ALL info given by Gspot please, from top to bottom.
Reply With Quote
  #11  
06-09-2004, 05:47 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Here are screenshots. Don't click the links, copy and paste into Address Bar.

ZOOM
http://www.imagestation.com/picture/...7.jpg.orig.jpg

GSPOT
http://www.imagestation.com/picture/...f.jpg.orig.jpg


MPlayer Classic
http://www.imagestation.com/picture/...c.jpg.orig.jpg


BTW, it's no just this one AVI, it's all AVI (MPEG-4), don't know about MPEG-2 and the rest. It seems Avisynth keeps looking for YV12 and YUY2 codecs for all MPEG-4 files, shouldn't it be looking for Divx, Xvid codecs instead?
Reply With Quote
  #12  
06-09-2004, 06:57 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
It seems taht the wrong codec handles format taht it is not supposed to handle (here you have an xvid and divx is used to render it !)

Uncheck the box "handle all mp4 format" (or something close) that is in divx config window and do the same for xvid. This way each codec will handle its own video.
Reply With Quote
  #13  
06-09-2004, 08:00 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
They are unchecked in Xvid and Divx already but the problem still exists.
Reply With Quote
  #14  
06-10-2004, 12:32 AM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
I guess some MPEG-4 works. Divx 3 video works in Avisynth., Divx 4, 5 and Xvid does not work however.
Reply With Quote
  #15  
06-10-2004, 01:39 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Do you happen to have any codec packs installed? If so, remove them - you don't need them and they only cause you a headache at some point. If DivX3 works but DivX4 or 5 doesn't, there's something really wrong, just like you were trying to decode with the DivX3.11 decoder.
Reply With Quote
  #16  
06-10-2004, 02:11 AM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
I solved the problem by unregistering the file quartz.dll and then registering it again using Radlight Filter Manager. I got the clue from this Divx forum thread. I thought maybe DirectX 9 caused this problem.
http://forums.divx.com/viewtopic.php...56315&forum=13
Reply With Quote
  #17  
06-10-2004, 12:50 PM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
I found out Divx 3 works because it outputs in RGB24 while Divx 4,5 and Xvid out puts in YV12, so my problems were with YV12 and YUY2 outputs. I think my problem are not completely solved. Someone from this forum once said that the filters that Avisynth uses IS determined by GSPOT, I don't think this is accurate for my system. Using GSPOT, my Xvid and Divx vieos are decoded using Xvid 1.0 and Divx 5 respectively but when I import the video to Avisynth and view the avs script on Media Player Classic, under Filters, it is using AVI Decompressor (quartz.dll), Color Space Converter (quartz.dll), Color Converter (declrds.ax) instead of the Divx 5 and Xvid decoders. Can you guys view your Divx/Xvid avs script on Media Player Classic and see what filters it is using? Just use one line if possible, AVIsource("c:\xxx.avi") I might have to fix my system some more.
Reply With Quote
  #18  
06-11-2004, 12:59 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
I only get "AVI Decompressor (YV12)" , no specific filter is mentioned.
Reply With Quote
  #19  
06-11-2004, 01:14 AM
rs008f rs008f is offline
Free Member
 
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Cool, maybe I'm all set then. Thanks.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: MA scripts for xvid/divx? arana Avisynth Scripting 9 03-30-2004 06:50 PM
Avisynth: Divx/Xvid Anime to kvcd? strider_k Avisynth Scripting 5 08-20-2003 07:12 PM
Script for prefiltered Videos? (DivX/Xvid) Razorblade2000 Video Encoding and Conversion 41 08-20-2003 08:12 AM
avisynth 2.08 better for divx/xvid sources? J-Wo Video Encoding and Conversion 7 08-02-2003 05:36 AM
Avisynth: Script for DivX/XVid? J-Wo Avisynth Scripting 8 05-28-2003 04:02 AM




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