Test Camera on Ubuntu Not Working as Expected / According to Documentation

Answered

Comments

6 comments

  • Avatar
    Andrey Terentyev

    Hello Tony,

    The semicolon is interpreted as a separate command in the bash.

    The space is expected after the "-I" option, not the "=".

    The correct command in your case is the following

    ./testcamera -I 127.0.0.1 "files=testvidhi.mkv; secondary-files=testvidlo.mkv; count=100"

    Thank you, we should definitely update the article.

    0
    Comment actions Permalink
  • Avatar
    Tony Luce

    Hi Andrey Terentyev

    Couple things:

    1. When I run the command with your updated syntax I get the following result (exactly the same as previous result).

    2. If you are correct every example on the Test Camera Emulator article on Support Portal has the wrong syntax (we should update it).

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Tony,

    1. When I run the command with your updated syntax I get the following result (exactly the same as previous result)

    I'm afraid you are not doing exactly as it was updated.
    Since the semicolon is interpreted as a separate command in the bash, the arguments should be enveloped by quotes: the opening quote before the files and closing quote after the  count=100 .

    0
    Comment actions Permalink
  • Avatar
    Tony Luce

    Copied and pasted your syntax below and that fixes the issue - which is different, as previously mentioned from Test Camera Emulator article. Can we please fix the article?

    ./testcamera -I 127.0.0.1 "files=testvidhi.mkv; secondary-files=testvidlo.mkv; count=100"
    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    I've already updated the article.

    Waiting for the review is finished.

    0
    Comment actions Permalink
  • Avatar
    Tony Luce

    Andrey Terentyev - awesome. That'll save everyone some headaches. Thank you!

    0
    Comment actions Permalink

Please sign in to leave a comment.