PDA

View Full Version : avis [error]: unsupported input format (DIB ) ?


Jim Ford
19th February 2006, 14:39
I've used Megui-x264 for encoding a few clips so far with success, but have just encountered the above error. I've done a search, but not come up with any hits.
The whole log reads:

avis [error]: unsupported input format (DIB )
could not open input file 'myfile.avs'
desired video bitrate of this job: 700 kbit/s - obtained video bitrate: 0 kbit/s

The file _is_ read and opened for playing in the megui preview window and will also play in virtualdub.

I'd be grateful for any ideas, please!

Jim Ford

Sharktooth
19th February 2006, 15:43
add ConvertToYV12() at the end of the avisynth script.

Jim Ford
19th February 2006, 16:00
add ConvertToYV12() at the end of the avisynth script.

Thanks - I'll give it a try.

But, why did this file need 'ConvertToYV12()' and not the other successful ones, and how can I tell in advance that it's needed, please?

Jim Ford

Sharktooth
19th February 2006, 16:14
uhm... im thinking it could be also a matter of resolution.
however it could be coz the file was compressed in non YV12 colorspace or with a weird resolution.
Check if converttoyv12() fixes the issue, if it does not, then check the source resolution.

Manao
19th February 2006, 16:37
Just load the avs into virtual dub, and watch the reported error message. If the clip loads correctly, then look at the colorspace reported in file->file information, if it's not YV12, then x264 won't load it and converttoyv12() will be needed.

Sirber
19th February 2006, 18:50
when "DIB ", it can be a scriptign error so AVISynth is showing a bitmap to explain it

Sharktooth
19th February 2006, 19:39
He said the preview works, so it's not an error in the avisynth script.

Sirber
19th February 2006, 22:43
ok... maybe the AVS output RGB then :)

@Jim Ford

Fellow sharktooth recommendations :)

Jim Ford
20th February 2006, 11:09
add ConvertToYV12() at the end of the avisynth script.

Thanks 'Sharktooth' - it fixed it!

As for the other posts - thanks, but 'it's all Greek to me!' (U.K. saying!). Just shows me how little I know about video. You've lifted up the lid of the 'can of worms' that's video for me to have a peek, but I'm not sure I like what I see!

Jim Ford

bond
20th February 2006, 13:12
DIB fourcc means RGB, no?

Sirber
20th February 2006, 13:53
yes. Often related to AVISynth errors.

Jim Ford
22nd February 2006, 19:05
yes. Often related to AVISynth errors.

Hey this may be just the thing I need - thanks, I'll add it to my growing collection of video apps!
V
__________________
RealAnime4... easy Graphical User Interface (GUI) dedicated to batch anime recoding using x264 and aac+ v2 as well as other codecs.
Detritus Software

Jim Ford

creedo
22nd December 2008, 14:04
I got the same error and since this thread is at the top of the google search results for that error, I thought I'd add one more thing.

The colorspace thing was definitely a problem that could cause this, and I think incorrect resolution can too (I was trying to resize a 1:333 video to 1280 x 720). Even after fixing the size, the error kept happening, and it was because my input file was an MKV that I forgot to remove the subtitles from.

After demuxing it with MKVmerge to remove the subtitles (audio was already removed), megui accepted it.
Hope that helps people.