Log in

View Full Version : What is this MeGUI/x264 error ?


St Devious
21st June 2009, 15:57
Trying to encode a video captured with a video camera.

Here is the mediainfo on it

Complete name : F:\HDV Capture\Tape 1 - Clip 002.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 885 MiB
Duration : 4mn 4s
Overall bit rate : 30.4 Mbps
Recorded date : 2007-05-19 10:22:56
TAPE : Tape 1
TCOD : 92759333
TCDO : 2534532000
VMAJ : 4
VMIN : 0
STAT : 7318 0 3.430307 1
DTIM : 29858303 2860941312

Video
Format : Digital Video
Codec ID : dvsd
Codec ID/Hint : Sony
Duration : 4mn 4s
Bit rate : 28.8 Mbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4/3
Frame rate mode : Constant
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:1:1
Scan type : Interlaced
Bits/(Pixel*Frame) : 2.778
Stream size : 837 MiB (95%)

Audio
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Unsigned
Codec ID : 1
Codec ID/Hint : Microsoft
Duration : 4mn 4s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 44.7 MiB (5%)
Interleave, duration : 267 ms (8.00 video frames)
Interleave, preload duration : 266 ms

and using this avisynth script
AVISource("F:\HDV Capture\Tape 1 - Clip 002.avi", audio=true)
tfm(order=0).tdecimate(hybrid=3)
#crop
#resize
#denoise

I get this error in MeGUI log
[Error] An error occurred: x264 [error]: could not open input file 'F:\HDV Capture\Tape 1 - Clip 002.avs'

I'm using the x64 version of Jeeb's x264 build.

poisondeathray
21st June 2009, 16:05
Does your .avs script preview in vdub or a directshow player e.g. mpc?

Do you have a vfw dv decoder (e.g. enable DV in ffdshow vfw configuration)

St Devious
21st June 2009, 16:20
Does your .avs script preview in vdub or a directshow player e.g. mpc?

Do you have a vfw dv decoder (e.g. enable DV in ffdshow vfw configuration)

ya it plays in vdub and mpc.

i set all stable formats to libavcodec in ffdshow.

poisondeathray
21st June 2009, 16:36
I have no idea.... if it previews it should work

Confirm dv is enabled in the ffdshow vfw configuration (gold icon, not red icon)?

What happens when you use DirectShowSource() instead of AVISource() ?

If your DV decoder is decoding to a different colorspace (just guessing, maybe ffdshow is set lower than another DV decoder), maybe try adding ConvertToYV12() at the end of the script

St Devious
21st June 2009, 16:44
I have no idea.... if it previews it should work

Confirm dv is enabled in the ffdshow vfw configuration (gold icon, not red icon)?

What happens when you use DirectShowSource() instead of AVISource() ?

If your DV decoder is decoding to a different colorspace (just guessing, maybe ffdshow is set lower than another DV decoder), maybe try adding ConvertToYV12() at the end of the script

dvsd is set to be decoded by ffdshow
http://i43.tinypic.com/2sbjzvk.jpg

ConvertToYV12() didn't work

DirectShowSource() didn't work, same errors in both cases.

J_Darnley
22nd June 2009, 00:38
Do you have a 64-bit build of avisynth and VfW decoders?

Sharktooth
22nd June 2009, 01:59
all encoding/decoding softwares must be either 32 bits or 64 bits.
since megui is built as a 32 bit app, everything should be 32 bits until you "flagged" it as a 64 bit app or compiled megui by yourself.

St Devious
22nd June 2009, 02:52
Do you have a 64-bit build of avisynth and VfW decoders?

no

all encoding/decoding softwares must be either 32 bits or 64 bits.
since megui is built as a 32 bit app, everything should be 32 bits until you "flagged" it as a 64 bit app or compiled megui by yourself.

so i won't be able to use 64-bit x264 in megui ?

Sharktooth
22nd June 2009, 02:54
nope. unless you replace all your softwares involved in the decoding/encoding/frameserving/filtering... etc processes with 64 bit versions (megui included).

St Devious
22nd June 2009, 03:23
nope. unless you replace all your softwares involved in the decoding/encoding/frameserving/filtering... etc processes with 64 bit versions (megui included).

understood. thanks.

I'm guessing everything is not available in 64-bit yet ?

Sharktooth
22nd June 2009, 03:35
most of the softwares are available, but not all. for example there are just few avisynth filters compiled for x86-64.