Log in

View Full Version : Avisynth and grf files


nimrodim
23rd March 2004, 12:00
I have a divx 3 video file.
I have found it has green blocks in it when i open with any codec 3vix, divx 3.11 etc....
The only codec to work correctly is the Nero video decoder (which plays in windows media player classic and through graph edit)...but..
when i try to to load the GRF into avisynth i get no video.
The GRF file is as follows:
filename.avi---->Avi splitter---->Nero video decoder (no renderers after this)(I added a video renderer just to make sure it works then deleted it)
The avs file is:
DirectShowSource("H:\filename.GRF",fps=23.976)

I get the following error:
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: 368640
cbFormat: 88

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

BITMAPINFOHEADER:
biSize: 40
biWidth: 640
biHeight: 384
biPlanes: 1
biBitCount: 12
biCompression: YV12
biSizeImage: 368640
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0


Any help would be nice

nimrodim
23rd March 2004, 12:27
I have also noticed that to enable seek in graph edit for the video i have to render the sound (mp3) in the video and only then can i seek within the video in graphedit...if that is any help?

nimrodim
23rd March 2004, 17:08
I have found a solution - don't know exactly why it works but it does!
Changed the GRF file as follows:
filename.avi---->Avi splitter---->Nero video decoder ---->Nero format converter.
No rendering for audio.
Left the avs as before.
Installed Xvid codec - i think it has something to do with this, as when i run the avs file - it outputs the uncompressed avi but uses the xvid codec (could this be due to YV12 format???! - which would be consistent with the error given in the first post).

Well it works - and i am happy.
No more green blocks in my divx 3 films.

Nim