View Full Version : x264 x64 (r1123): error could not open input file
daimroc
8th March 2009, 10:38
I am using x264 in command line. If I use the 32 bits version I don't have any problem, but when I try to use the x64 version y get this error: could not open input file.
The input file is an avs script, so I know that avisynth is a 32 bits program, so I am using avs2yuv to pipe it with x264.
My avs script it's the following:
DGMPGDec("video.vob")
ConvertToYV12()
My command line is:
avs2yuv -raw "video.avs" - | "x264.exe" [options]
How Can I use x264 x64?
Thanks.
Daimroc.
J_Darnley
8th March 2009, 12:34
You haven't told x264 to read stdin. Use: avs2yuv -raw video.avs - | x264 [options] -o outfile - WidthxHeight
[EDIT] Actually, if you haven't told x264 to read stdin then it will error with: x264 [error]: No input file.
So you must have a problem somewhere else, post your full command line.
daimroc
8th March 2009, 12:49
My complete comand line is:
avs2yuv -raw "video.avs" - | "x264x64.exe" [options] --threads auto --thread-input --output "video.mkv" "video.avs".
Thanks.
Daimroc.
J_Darnley
8th March 2009, 13:10
Well x264 will try to open a file called [options] which I doubt exists which is the source of your problems. You also haven't specified a rate-control method and you have also specified a second input file, the avs file itself which is what x264 would use if it didn't error on the first.
My complete comand line is:
avs2yuv -raw "video.avs" - | "x264x64.exe" [options] --threads auto --thread-input --output "video.mkv" "video.avs".
You aren't telling x264 to read from stdin but to use AviSynth normally with video.avs. Do as J_Darnley's said:
avs2yuv -raw "video.avs" - | "x264x64.exe" [options] --threads auto --thread-input --output "video.mkv" - WxH
daimroc
8th March 2009, 17:06
Well, if at the end of the command line I put de resolution like you are indicacted, I don't have any problem, and I can use de x264 x64 version.
Thanks for your help.
Daimroc.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.