View Full Version : x264 newbie
wakewatcher
13th April 2008, 19:36
I just found x264 an up to now have been using ffmpeg to generate flv. Anyway I can't get x264 to run on the command line. I initially tried:
x264.exe –fps 30 –qp 26 –progress –o video.264 video.avs where the avs file was:LoadPlugin(”SmoothDeinterlacer.dll”)
DirectShowSource(”c:\playpen\video.avi”)
SmoothDeinterlace(tff=false, doublerate=false)
LanczosResize(448,336)
converttoyv12()
But I get the error message "no output file" so I simplied by trying:
x264.exe –fps 30 –qp 26 –progress –o video.264 c:\playpen\video.avi and got the same error message. I'm running on Vista and downloaded x264 revision 818
Dark Shikari
13th April 2008, 19:43
Hint: try using --help.
The correct commandline is:
x264.exe --fps 30 --qp 26 --progress -o video.264 video.avs
wakewatcher
13th April 2008, 20:09
I did look at the help. With that I got: "x264: unknown option --"
Dark Shikari
13th April 2008, 20:16
I did look at the help. With that I got: "x264: unknown option --"It works fine here, so the problem probably lies in your shell.
wakewatcher
13th April 2008, 20:24
Weird. I was running this out of a batch file. I just ran it with "@ECHO ON" and saw that the command line gets hosed. For example the --fps is showing as -ufps ('u' has a carat on top) So I tried running it on the command line (cmd.exe) and get: x264 -–fps 30 –-qp 26 -–progress –o video.264 video.avi
[error]:unsupported input format <dvsd>
[error]: could not open input file 'video.avi'Not sure what that is all about. The avi file is there (DV from camcorder) and when double clicked views. When I tried it with the avs file. I get:x264 -–fps 30 –-qp 26 -–progress –o video.264 video.avs
[error]:unsupported input format <DIB>
[error]: could not open input file 'video.avs'hmmmm?
Dark Shikari
13th April 2008, 20:28
DIB means there is an error in your avisynth script or that the output isn't YV12. Open it in a media player to see the exact error.
burfadel
13th April 2008, 21:07
He should also check where he got x264 from, there are some sites still hosting ancient versions!
J_Darnley
13th April 2008, 22:01
About the DIB error, it is may be due to incorrect quoting of strings in the AviSynth script. Strings are quoted with quotation marks (") (0x22) and not anything else, you are using ” (0x94). I would suggest that you ensure that all your files (avs bat) are saved as ANSI text files and not unicode.
wakewatcher
14th April 2008, 03:08
You were exactly right. It was the (") marks. I guess so much for cutting and pasting from the web. Thx.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.