Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th July 2004, 13:02   #1  |  Link
hyper
Registered User
 
Join Date: Oct 2001
Posts: 24
error decompressing frame (error -100)

started out as a suspected avisynth script error, but I'm pretty sure by now it's a codec thing.
my script works on most movies, some it wont and Vdub gives me the

"error decompressing video frame XX: an unknown error occurred (may be corrupt data). (error -100)"

where XX is any frame within the video. GSpot identifies the video as xvid and says all decompressors are there. also, those videos play fine in any media player under xp.

I just cant seem to re-encode them at all. I found this while searching the net

"Microsoft does not want the MPEG-4 V3 format used in AVI files, only in ASF files. As a result, attempting to use the MPEG-4 V3 compressor in any AVI program will give you a -100 (ICERR_ERROR) when you try to start the compression process. If you attempt to bypass this lock and compress to MP43 anyway, the DirectShow MPEG-4 decompressor used by Windows Media Player won't play it. Your options:
· Compress to MPEG-4 V3 in an ASF file, using Windows Media Encoder.
· Use MPEG-4 V2. Microsoft now allows use of this codec in AVI files. If your codec version still gives an error, upgrade to the latest Windows Media Tools distribution."

could this be it? are they messing with me? what do I do to find out what the problem really is and how to fix it?

any help greatly appreciated.
hyper is offline   Reply With Quote
Old 11th July 2004, 13:19   #2  |  Link
stephanV
gone
 
Join Date: Apr 2004
Posts: 1,706
what happens if you use "directshowsource" instead of "avisource"?

it shouldnt be related with MS as your file is XviD.
stephanV is offline   Reply With Quote
Old 11th July 2004, 14:03   #3  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Re: error decompressing frame (error -100)

Quote:
Originally posted by hyper
my script works on most movies, some it wont and Vdub gives me the

"error decompressing video frame XX: an unknown error occurred (may be corrupt data). (error -100)"

where XX is any frame within the video. GSpot identifies the video as xvid and says all decompressors are there. also, those videos play fine in any media player under xp.
Your script wouldn't happen to produce YV12 output, which VirtualDub tries to decode but can't because you don't have a YV12 decoder (for converting raw YV12 frames to RGB) installed?

Do you use "fast recompress" in VirtualDub? If not, VirtualDub will try (and, without a YV12 codec, fail) to convert the video to RGB (and back, when the codec wants YUV data) which, unless you're using VirtualDub's filters, is unneccessary.

As for a YV12 codec, you can find one here.

np: Vladislav Delay - Kaikki Hyvin (Demo(n) Tracks)
Leak is offline   Reply With Quote
Old 11th July 2004, 14:27   #4  |  Link
hyper
Registered User
 
Join Date: Oct 2001
Posts: 24
tx so far. pretty sure it has nothing to do with the script, but here it is;

LoadPlugin("C:\windows\system32\MPEG2Dec3dg.dll")
avisource("K:\X.requests\mm-decoys.xvid.avi")
BicubicResize(704,300,0.0,0.0)
AddBorders(0,90,0,90)

directshowsource gives me an FPS error. even when added to the script. since this script works on 16 out of 20 movies, i guess it has something to do with the movies. I cant see where theyre different though.

avisource gives me a "could not decompress frame 0" error. when I load the video directly in vdub, I get the "decompress error -100" on any frame.

when I check the video for freezes or use the vdubmod function to check for errors, it lists all frames ass freezes or as undecompressable.

those videos all play fine in any media player.

oh, btw, tmpgenc is able to convert the video but only through directshow.

Last edited by hyper; 11th July 2004 at 14:32.
hyper is offline   Reply With Quote
Old 11th July 2004, 14:32   #5  |  Link
stephanV
gone
 
Join Date: Apr 2004
Posts: 1,706
it propably isnt it, but why are you loading that plug-in? you dont use it right?

did you check for the colorspace?

what does the file info of VDub say? (when you open the file directly in VDub)
stephanV is offline   Reply With Quote
Old 11th July 2004, 15:29   #6  |  Link
hyper
Registered User
 
Join Date: Oct 2001
Posts: 24
dont really know how to check the colorspace. but anyhow, vdub says;

"error decompressing video frame 0: an unknown error occurred (may be corrupt data). (error code -100)"

scanning it for unreadable frames gives almost all frames good, but undecodable.

since all players play those files and tmpgenc can open and re-encode them (using directshow), it must be something with the codec used to play or open those files in vd and cce.
hyper is offline   Reply With Quote
Old 11th July 2004, 15:35   #7  |  Link
stephanV
gone
 
Join Date: Apr 2004
Posts: 1,706
yes, and thats why i asked for the file info (file ---> file info)

if you want to check if colorspace is the problem, add converttoRGB at the end of you script.
stephanV is offline   Reply With Quote
Old 12th July 2004, 12:53   #8  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally posted by stephanV
yes, and thats why i asked for the file info (file ---> file info)

if you want to check if colorspace is the problem, add converttoRGB at the end of you script.
Or just install the YV12 codec I linked to above so VirtualDub will be able to display YV12 without changing the script and use Fast Recompress to avoid unneccessary color conversions - it'll give you better video quality in the end.

np: Okino Shintaro - Head In The Clouds (Last Exile OST 2)
Leak is offline   Reply With Quote
Old 12th July 2004, 23:23   #9  |  Link
hyper
Registered User
 
Join Date: Oct 2001
Posts: 24
I did install the codec, didnt make any difference though. did try to add that line to the script as well, no use. I have no clue what it is and use tmpgenc to encode those not working with CCE and avisynth for now. still would like to know whats wrong though.
hyper is offline   Reply With Quote
Old 13th July 2004, 10:50   #10  |  Link
stephanV
gone
 
Join Date: Apr 2004
Posts: 1,706
post file info...
stephanV is offline   Reply With Quote
Old 14th July 2004, 09:51   #11  |  Link
hyper
Registered User
 
Join Date: Oct 2001
Posts: 24
thats one of the non working ones


[RIFF AVI 732354600]: Audio/Video Interleaved File
[LIST hdrl 8830]: Format Definition Chunk
[avih 56]: Main AVI Header
[dwMicroSecPerFrame]: Microseconds Per Frame: 41708
[dwMaxBytesPerSec]: Maximum Bytes Per Second: 0
[dwPaddingGranularity]: Padding Granularity (bytes): 0
[dwFlags]: Flags 0x00000110
[AVIF_HASINDEX]: AVI file has 'idx1' chunk
[AVIF_ISINTERLEAVED]: AVI file is interleaved
[dwTotalFrames]: Number Of Frames: 136406
[dwInitialFrames]: Numer Of Initial Frames: 0
[dwStreams]: Number Of Streams: 2
[dwSuggestedBufferSize]: Suggested Buffer Size (bytes): 0
[dwWidth]: Image Width (pixels): 576
[dwHeight]: Image Height (pixels): 320
[LIST strl 4244]: Stream Format Definition Chunk
[strh 56]: Stream Header
[fccType]: Type: vids (Video Data)
[fccHandler]: Handler: xvid (XviD MPEG-4 codec 'xvid' <0x64697678>)
[dwFlags]: Flags 0x00000000
[wPriority]: Stream Priority: 0
[wLanguage]: Language: 0 (Undefined)
[dwInitialFrames]: Numer Of Initial Frames: 0
[dwScale]: Stream Scale: 125
[dwRate]: Stream Rate: 2997
[dwStart]: Stream Start: 0
[dwLength]: Stream Length: 136406
[dwSuggestedBufferSize]: Suggested Buffer Size (bytes): 77125
[dwQuality]: Stream Quality (1-10000): 10000
[dwSampleSize]: Sample Size: 0
[rcFrame]: Frame Size Of Stream
[wX1]: Top: 0
[wY1]: Bottom: 0
[wX2]: Left: 576
[wY2]: Right: 320
[strf 40]: Video Stream Format
[biSize]: Header Size (bytes): 40
[biWidth]: Image Width (pixels): 576
[biHeight]: Image Height (pixels): 320
[biPlanes]: Number Of Planes: 1
[biBitCount]: Number Of Bits Per Pixel: 16
[biCompression]: Compression Algorithm: XVID (XviD MPEG-4 codec 'XVID' <0x44495658>)
[biSizeImage]: Image Size (bytes, 0 = uncompressed): 1105920
[biXPelsPerMeter]: Horizontal resolution of target device: 0
[biYPelsPerMeter]: Vertical resolution of target device: 0
[biClrUsed]: Number of colors used (0 = maximum): 0
[biClrImportant]: Number of important colors (0 = all): 0
[JUNK 4120]: Padding
[LIST strl 4234]: Stream Format Definition Chunk
[strh 56]: Stream Header
[fccType]: Type: auds (Audio Data)
[fccHandler]: Handler: 0x00000000 (No Compression <0x00000000>)
[dwFlags]: Flags 0x00000000
[wPriority]: Stream Priority: 0
[wLanguage]: Language: 0 (Undefined)
[dwInitialFrames]: Numer Of Initial Frames: 1
[dwScale]: Stream Scale: 1152
[dwRate]: Stream Rate: 48000
[dwStart]: Stream Start: 0
[dwLength]: Stream Length: 237050
[dwSuggestedBufferSize]: Suggested Buffer Size (bytes): 576
[dwQuality]: Stream Quality (1-10000): -1
[dwSampleSize]: Sample Size: 0
[rcFrame]: Frame Size Of Stream
[wX1]: Top: 12336
[wY1]: Bottom: 57470
[wX2]: Left: 51300
[wY2]: Right: 0
[strf 30]: Audio Stream Format
[wFormatTag]: Audio Format: 0x0055 (MPEG-1 Layer 3 (MP3) <0x0055>)
[nChannels]: Number of channels: 2
[nSamplesPerSec]: Frequency of the sample rate (Hz): 48000
[nAvgBytesPerSec]: Average data rate (byte/s): 16339
[nBlockAlign]: Block alignment of the data (bytes): 1152
[wBitsPerSample]: Number of bits per sample (0 = undefined): 0
[cbSize]: Size of extra information (bytes): 12
[wID]: Type: 0x0002 (Constant frame size)
[fwFlags]: Flags: 0x0000 (ISO Padding)
[nBlockSize]: Block size (bytes): 392
[nFramesPerBlock]: Number of frames per block: 1
[nCodecDelay]: Codec delay (ms): 0
[JUNK 4120]: Padding
[LIST odml 260]: AVI2 (OpenDML) Format Definition Chunk
[dmlh 248]: Total Number Of Frames AVI2 (OpenDML) 136406
[LIST INFO 28]: RIFF Textual Informative Details
[ISFT 16]: Software Used: Nandub v1.0rc2
[JUNK 1346]: Padding
[LIST movi 726369056]: Audio/Video Data
Skipped
[idx1 5975296]: AVI Index Chunk
[JUNK 1992]: Padding
hyper is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.