Sanket Mahajan
Sanket Mahajan

Reputation: 3

mobotix camera using curl

I have mobotix camera sdk 1.02(latest version), and using it with curl libraries. In this sdk 1.02, a example code, mxgconv, is given which performs File IO and gives the output. now I'm facing problem while using
"curl [url of camera] | mxgconv >another_test.mjpg".
I understand that, here by using curl we are getting the live stream from camera and the command above is piping output of curl to mxgconv, which is redirecting it to file. But I'm getting image size as 0kb.

Upvotes: 0

Views: 622

Answers (1)

Francesco Valentini
Francesco Valentini

Reputation: 11

You can use the parameter of (output file) of mxgconv in order to store in a file all frames he is converting. You shall use this command line:

"curl [url of camera] | mxgconv of=another_test.mjpg, separator=END_OF_FRAME"

Upvotes: 1

Related Questions