'--pools *' fails with 'x265 [warning]: extra unused command arguments given <avisynth.dll>'

Issue #121 closed
Selur created an issue

'--pools ' fails with 'x265 [warning]: extra unused command arguments given <avisynth.dll>' but '--pools ,' and '--pools' (without parameters) works fine. -> As I understood it, '--pools', '--pools ' should do the same and should both be valid.

Comments (10)

  1. Steve Borho

    --pools always expects arguments. If you want default pools it's best to leave it unspecified. It you must specify it, you're better off with '--pools=*' or '--pools=""'. '--pools' without parameters should be barfing in getopt().

    this must be something odd in the way avisynth is splitting the command line and calling x265_param_parse()

  2. Lu Xinyue

    This is interesting. The only situation I can think of is that you are using a shell that expands your star into files automatically.

    Eg. if you have files a avisynth.dll b in the directory, and you specify --pools *, it expands your command line into --pools a avisynth.dll b which leads to the error message extra unused command arguments given <avisynth.dll>.

    Just my guess though.

  3. Lu Xinyue

    (Read your reply but can't see it here. It's flagged as spam)

    You can use * on windows, you can try wrapping it in single quotes like --pools '*'

  4. Lu Xinyue

    OK I think this needs to be either recorded in the doc, or changed to other symbol to avoid shell auto expanding.

  5. Log in to comment