Opened 6 years ago

Closed 3 years ago

#10913 closed defect (moved_to_github)

Mjpg-streamer init script doesn't work in multicam setup

Reported by: peter.vilhan@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: mjpg-streamer, init Cc:


Hello all,
there is some error in mjpg-streamer init.d script caused probably by quotations passed in arguments which blocks multicam setups.
When I configure second webcam in a new section of /etc/config/mjpg-streamer, service_start will start only the last one....

I was not able to solve this problem but here is a quick workaround which works fine (direct call of start-stop-daemon):

start-stop-daemon -q -S -b -m -p $SERVICE_PID_FILE -x $PROG -- --input " --device $device --fps $fps --resolution $resolution --minimum_size $minimum_size --led $led" --output " --port $port"

For more details, please find attached init.d script.
Is there anybody with working init script for multicam setup?

Attachments (1)

mjpg-streamer (1.5 KB) - added by peter.vilhan@… 6 years ago.
customized mjpg-streamer init scritp for mulicam setup

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by peter.vilhan@…

customized mjpg-streamer init scritp for mulicam setup

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:2 Changed 3 years ago by jogo

  • Resolution set to moved_to_github
  • Status changed from new to closed

Mjpeg-streamer is now maintained here:

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.