Manuals
These manuals are operating under the assumption that the users and administrators will be utilizing the product of Sprint 1, not the entire finished product
User Manual
Stitching
- Prerequisites:
- Python 2.7
- Opencv 2.4 python library
- 2+ USB cameras
- Set up:
- Install the dependencies by running the command: make install
- Generate the setup profile by running the command: make configure
- Follow the command line prompt to establish all configuration settings on your machine
- Put all images in the directory “data/sources” and all videos in “data/video”
- Attach cameras to USB ports on your machine
- Run the following command to finish the configuration setup: make run
- Running:
- Follow the command line prompt to either stitch videos from cameras, stitch local images, stitch local videos
- The script with begin and the frames will be outputted to an opencv window where they can be viewed
- Troubleshooting:
- Make sure video and image files are in the correct folder listed above in the set up section. If not, then they will not be found by the script.
- Check your USB port numbers when you are making the configuration file, make sure that the port number corresponds to the stream coming in.
- When filming, make sure the cameras are level and have significant overlap in their field of view. If not, then the script will not be able to stitch the two streams properly.
Streaming
- Prerequisites:
- All components of a working stitching script as documented above
- A Wowza cloud streaming engine server
- FFmpeg 3.1.4 software package for Python
- Set up:
- Make sure the port number is configured in profile.yml
- Run the command: make client
- This will stream to a local port where client.py is listening to the incoming stream. This will later transform into the Wowza server listening to the stream
- Uploading to Wowza:
- Right now we can only support uploading to Wowza from a static mp4 file or an unstitched stream.
- Make sure you have a Wowza server up and running with a new application that can take live stream (see Admin manual to set this up)
- Run the following command from the root directory of the stitching repository: ffmpeg -re -i data/videos/cam1.mp4 -c copy -f flv rtmp://localhost:1935/live-test/myStream
- Go to the Wowza streaming engine manager (http://localhost:1935/enginemanager) and click on the application “live-test”.
- Click incoming streams on the left tab bar and select “myStream”.
- Then click “Test Player” to see the static video being streamed to the Wowza server
Administrator Manual
Stitching
- Documentation:
- Run the following command to generate documentation: make html
- Run the following command to lint the code: make lint
- Run the following command to test the code: make test
Streaming
- Set up:
- Set up Wowza streaming engine by downloading free trial from the Wowza website and follow online installation instructions
- Go to the Wowza engine manager web interface and create a new application called “live-test”
- Now you should be able to send and receive live streams at this port.