digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth 2.5 cannot decode Divx, Xvid videos? (http://www.digitalfaq.com/archives/avisynth/10186-avisynth-25-cannot.html)

rs008f 06-09-2004 12:55 PM

Avisynth 2.5 cannot decode Divx, Xvid videos?
 
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.

Prodater64 06-09-2004 01:00 PM

Re: avisynth 2.5 cannot decode Divx, Xvid videos.
 
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.
--------------------------

http://www.digitalfaq.com/archives/error.gif

rs008f 06-09-2004 01:09 PM

avisource("C:\xx.avi")

Just one line.

Prodater64 06-09-2004 01:33 PM

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.
--------------------------

http://www.digitalfaq.com/archives/error.gif

rs008f 06-09-2004 01:35 PM

do you mean avisource("C:\xx.avi",false) ?
It still unable to compress the video.

Prodater64 06-09-2004 01:40 PM

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?

rs008f 06-09-2004 01:50 PM

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.

Prodater64 06-09-2004 01:58 PM

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.
--------------------------

http://www.digitalfaq.com/archives/error.gif

rs008f 06-09-2004 02:09 PM

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

Dialhot 06-09-2004 02:45 PM

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.

rs008f 06-09-2004 05:47 PM

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?

Dialhot 06-09-2004 06:57 PM

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.

rs008f 06-09-2004 08:00 PM

They are unchecked in Xvid and Divx already but the problem still exists.

rs008f 06-10-2004 12:32 AM

I guess some MPEG-4 works. Divx 3 video works in Avisynth., Divx 4, 5 and Xvid does not work however.

Boulder 06-10-2004 01:39 AM

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.

rs008f 06-10-2004 02:11 AM

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

rs008f 06-10-2004 12:50 PM

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.

Boulder 06-11-2004 12:59 AM

I only get "AVI Decompressor (YV12)" , no specific filter is mentioned.

rs008f 06-11-2004 01:14 AM

Cool, maybe I'm all set then. Thanks.


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.