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.
|
Re: avisynth 2.5 cannot decode Divx, Xvid videos.
Quote:
-------------------------- 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 |
avisource("C:\xx.avi")
Just one line. |
Quote:
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 |
do you mean avisource("C:\xx.avi",false) ?
It still unable to compress the video. |
Quote:
Code:
avisource ("C:\xx.avi", false) Is any message displayed? What message? |
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.
|
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 |
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 |
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. |
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? |
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. |
They are unchecked in Xvid and Divx already but the problem still exists.
|
I guess some MPEG-4 works. Divx 3 video works in Avisynth., Divx 4, 5 and Xvid does not work however.
|
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.
|
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 |
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.
|
I only get "AVI Decompressor (YV12)" , no specific filter is mentioned.
|
Cool, maybe I'm all set then. Thanks.
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.