avs [error]: failed to load avisynth
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
x264 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On U14.04:
x264 cannot open anything, tried with a RAW AVI file and an X264 MP4 file, the error message always:
Command:
x264 --qp 0 --bitrate 3000 1.mp4 -o tmp_h264.mp4
avs [error]: failed to load avisynth
raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `1.mp4' via any method!
Same with an RAW AVI file:
Command:
x264 --qp 0 --bitrate 3000 /tmp/tmp2j4v4j.avi -o tmp_h264.mp4
avs [error]: failed to load avisynth
raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `/tmp/tmp2j4v4j
It worked on U13.10.
Differences:
x264 -h @13.10:
x264 core:123 r2189 35cf912
Syntax: x264 [options] -o outfile infile
Infile can be raw (in which case resolution is required),
or YUV4MPEG (*.y4m),
or Avisynth if compiled with support (no).
or libav* formats if compiled with lavf support (yes) or ffms support (yes).
Outfile type is selected by filename:
.264 -> Raw bytestream
.mkv -> Matroska
.flv -> Flash Video
.mp4 -> MP4 if compiled with GPAC support (yes)
Output bit depth: 8 (configured at compile time)
x264 -h @14.04:
x264 core:142 r2389 956c8d8
Syntax: x264 [options] -o outfile infile
Infile can be raw (in which case resolution is required),
or YUV4MPEG (*.y4m),
or Avisynth if compiled with support (yes).
or libav* formats if compiled with lavf support (no) or ffms support (no).
Outfile type is selected by filename:
.264 -> Raw bytestream
.mkv -> Matroska
.flv -> Flash Video
.mp4 -> MP4 if compiled with GPAC or L-SMASH support (gpac)
Output bit depth: 8 (configured at compile time)
It try to use Avisynth, which is unavailable at U14.04. It used lavf/ffms @13.10, and worked.
It's built without lavf or ffms support, so it can't read anything else than YUV4MPEG (*.y4m).
You can decode the input with something else and then pipe it as y4m output to x264.