Log in

View Full Version : x264 --[Error] An error occurred: avis [error]: unsupported input format (DIB )


lchiu7
9th April 2009, 08:39
Using megui trying to compress a file from a BluRay disc. The backed up file has the following attributes

eneral #0
ID : 0
Complete name : E:\Temp\bdmv\stream\00001.m2ts
Format : BluRay Video
Format/Family : MPEG-2
File size : 31.5 GiB

Video #0
ID : 4113 (0x1011)
MenuID/String : 1 (0x1)
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec profile : High@L4.1
Codec settings, CABAC : Yes
Codec_Settings_RefFrames : 3
Width : 1920 pixels
Height : 1080 pixels
Display Aspect ratio : 16/9
Frame rate : 23.976 fps
Chroma : 4:2:0
Interlacement : Progressive


The file plays fine using PDVD and when the avisynth script is loaded into VirtualDub it loads fine.

When the script is loaded into Megui it also displays a preview of the movie.

But when I try to do the processing get the error above in this log

-[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --bitrate 4500 --level 4.1 --bframes 3 --direct temporal --no-cabac --partitions p8x8,b8x8,i4x4 --vbv-bufsize 24000 --vbv-maxrate 24000 --me dia --threads auto --thread-input --sar 1:1 --aud --progress --no-psnr --no-ssim --output "C:\x264\Air Force One.264" "C:\x264\megui.avs" --subme 1
--[Information] [8/04/2009 9:03:59 p.m.] Encoding started
--[Error] An error occurred: avis [error]: unsupported input format (DIB )
--[Error] An error occurred: x264 [error]: could not open input file 'C:\x264\megui.avs'
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [8/04/2009 9:04:04 p.m.] Job completed

Tried executing the command directly without using megui and the same error occurs. I suspect it's not megui error nor avisynth error (since Virtualdub can open the file) so it must be x264 but it's hard to see what's special about this file that would cause this problem

This is the avisynth script

DirectshowSource("e:\temp\bdmv\stream\00001.m2ts")
LanczosResize(1280,720)
converttoyv12()

Any ideas?

Thanks

buzzqw
9th April 2009, 09:16
open the script on virtualdub

what is the error ????

HINT: reinstall latest haali media splitter, ffdshow tryout

BHH

lchiu7
9th April 2009, 09:19
open the script on virtualdub

what is the error ????

HINT: reinstall latest haali media splitter, ffdshow tryout

BHH

No error when opening in Virtualdbub. The error is noted above

--[Error] An error occurred: avis [error]: unsupported input format (DIB )
--[Error] An error occurred: x264 [error]: could not open input file 'C:\x264\megui.avs'

Kurtnoise
9th April 2009, 09:34
this is related to your width & height...put a Crop(...) before your resizer with correct values and that should be fine.

lchiu7
9th April 2009, 09:55
Well it's the same script I run all the time. But false alarm - I rebooted the (Vista) machine and now it appears to be fine. Noticed I had several Haali icons in the tray for some reason but after the reboot only have two. Not sure why two but processing fine now.