PDA

View Full Version : X264 unknown option


juGGaKNot
2nd May 2009, 19:40
http://i286.photobucket.com/albums/ll105/juGGaKNot4cs/x264version.jpg

I'm using this for some tests only!

Job commandline: "D:\New Folder (2)\megui\tools\x264\x264.exe" --pass 1 --bitrate 2700 --stats "D:\matroska\temp\movie.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct temporal --subme 6 --trellis 2 --analyse all --8x8dct --qpmin 3 --me umh --merange 28 --threads auto --thread-input --sar 1:1 --cqm "jvt" --progress --no-psnr --no-ssim --output NUL "D:\matroska\temp\movie.avs"
unknown option (

cli cfg with that x264

"%mypath%\bin\x264.exe" --pass 1 --bitrate %myvideobitrate% --stats "%mypath%\temp\%mymovie%.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct temporal --subme 6 --trellis 2 --analise all --8x8dct --qpmin 3 --me uhm --merange 28 --threads 2 --thread-input --cqm "%mypath%\bin\jvt.cfg" --progress --no-psnr --no-ssim --output NUL "%mypath%\temp\%mymovie%.avs"

Encoding X264 H264 Pass 1 And 2

unknown option ( )
unknown option ( )

What can cause this error ? ( if someone still knows )

THNX in advance, cheers.

Kurtnoise
2nd May 2009, 20:42
your build is veryyyy old...you know we are in 2009 ?

juGGaKNot
2nd May 2009, 20:44
your build is veryyyy old...you know we are in 2009 ?

I know, just for some testing, have to get it to work ....
I use 1139 to encode.

I'm using this for some tests only!

Kurtnoise
2nd May 2009, 20:49
I don't know what you're testing but I'd say, remove the () in your path...

juGGaKNot
2nd May 2009, 21:05
I don't know what you're testing but I'd say, remove the () in your path...

I will make a large thread about that soon but i need to encode the samples with this old x264 first

There are no ( ) in the path :

@echo off
:
: Change This :
:
set mymovie=movie
set mypath=D:\matroska
set myvideobitrate=3850
set myfps=30
:
: DO NOT CHANGE THIS :
:
set mymkv=Movie_MKV_X264
set mykfps=0:%myfps%fps
cls
echo Did You Render Your Movie Material As .AVI (Video) And .MP3 (Audio) ?
echo.
pause
rmdir /S /Q %mypath%\temp
mkdir %mypath%\temp
cls
echo AVIsource("%mypath%\%mymovie%.avi") >> "%mypath%\temp\%mymovie%.avs"
echo Crop(0,0,-0,-0) >> "%mypath%\temp\%mymovie%.avs"
echo ConvertToYV12() >> "%mypath%\temp\%mymovie%.avs"
cls
echo.
echo Encoding X264 H264 Pass 1 And 2
echo.
"%mypath%\bin\x264.exe" --pass 1 --bitrate %myvideobitrate% --stats "%mypath%\temp\%mymovie%.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct temporal --subme 6 --trellis 2 --analise all --8x8dct --qpmin 3 --me uhm --merange 28 --threads 2 --thread-input --cqm "%mypath%\bin\jvt.cfg" --progress --no-psnr --no-ssim --output NUL "%mypath%\temp\%mymovie%.avs"
"%mypath%\bin\x264.exe" --pass 2 --bitrate %myvideobitrate% --stats "%mypath%\temp\%mymovie%.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct temporal --subme 6 --trellis 2 --analise all --8x8dct --qpmin 3 --me uhm --merange 28 --threads 2 --thread-input --cqm "%mypath%\bin\jvt.cfg" --progress --no-psnr --no-ssim --output "%mypath%\temp\%mymovie%.264" "%mypath%\temp\%mymovie%.avs"
echo.
echo Done, Now Muxing Audio And Video To MKV.
echo.
"%mypath%\bin\mkvmerge.exe" --default-duration %mykfps% -o %mypath%\%mymkv%.mkv %mypath%\temp\%mymovie%.264 %mypath%\%mymovie%.mp3
echo.
echo Encoding done, temp folder is still there if you need the raw .264/avi/mkv/mp4 file ( no sound )
echo Press any key to exit and delete the temp folder.
echo.
pause
rmdir /S /Q %mypath%\temp

The .avs created :

AVIsource("D:\matroska\movie.avi")
Crop(0,0,-0,-0)
ConvertToYV12()

Tried 2.5.8 and 2.5.7

Kurtnoise
2nd May 2009, 21:07
--analyse all & --me umh

juGGaKNot
2nd May 2009, 21:11
--analyse all & --me umh

Replaced them ( after correcting analise the uhm error was there, corected it, now still getting unknown option ( )

I will recheck the all the cvars, thanks for wasting your time here.

LE : New build show you the error and not only "unknown option ( )" right ? :|

Kurtnoise
2nd May 2009, 21:16
well I don't know...check the --help result from your build and compare your command.

juGGaKNot
2nd May 2009, 21:17
well I don't know...check the --help result from your build and compare your command.

Yes doing now, thnx again.

juGGaKNot
2nd May 2009, 21:23
it was --no-ssim, does not exist, darn, last cvar.

BIG THNX for the support.

LE :

--cqm <string> Preset quant matrices ["flat"]
- jvt, flat
--cqmfile <string> Read quant matrices from a JM-compatible file
Overrides any other --cqm* options.

Is --cqmfile "%mypath%\bin\jvt.cfg" the better way to go or is --cqm "%mypath%\bin\jvt.cfg" enough ?

J_Darnley
3rd May 2009, 00:35
According to what you just quoted, --cqm is for choosing a pre-set matrix for which the options are flat and jvt, --cqmfile will read matrices from a file. So using anything but --cqm flat or --cqm jvt will cause an error.

juGGaKNot
3rd May 2009, 15:08
According to what you just quoted, --cqm is for choosing a pre-set matrix for which the options are flat and jvt, --cqmfile will read matrices from a file. So using anything but --cqm flat or --cqm jvt will cause an error.

THNX.

close.