How to create a new DEMO stream
===============================

1. Reserve number and name for new video stream: example 5-back_office
2. Setup multiple encoders with the same camera
3. Define few separate cameras on the stratus with different resolutions and formats. 
Example:
	mjpg 352x240 30fps
	mjpg 704x480 30fps
	h264 352x240 
	h264 704x480
4. Copy one JPG snapshot (can be found in /tmp or  /var/sarch/probe/image/) to /opt/demo/data/5-back_office.jpg
5. Perform the action in front of camera. Make sure action starts and finishes close to chunks boundaries for the best timing
6. Find the relevant chunks of the action in the archive
7. Copy chunks for each camera to demo/data accordingly with format and resolution. If multiple chunks covers the action then concatenate them together. Example: 
	cat 120508224600.mjpg 120508224630.mjpg > /opt/demo/data/5-back_office.352x240.mjpg
8.Check demo/data. Example:
	#ls -1 /opt/demo/data/5-back_office.*
	/opt/demo/data/5-back_office.352x240.h264
	/opt/demo/data/5-back_office.352x240.mjpg
	/opt/demo/data/5-back_office.704x480.h264
	/opt/demo/data/5-back_office.704x480.mjpg
	/opt/demo/data/5-back_office.jpg
9.Test a new demo streams:
	add new DEMO camera from Admin GUI
	make sure DEMO camera shows snapshot correctly 
	check that the record is looped correctly and boundaries are smooth 
	test different resolutions and media formats
	make sure formats and resolutions correspond correctly to image parameters
10. Pack demo stream. Example:
	#cd / && tar cvf demo-5-back_office-3.3.0-3.tar opt/demo/data/5-back_office.*
	opt/demo/data/5-back_office.352x240.h264
	opt/demo/data/5-back_office.352x240.mjpg
	opt/demo/data/5-back_office.704x480.h264
	opt/demo/data/5-back_office.704x480.mjpg
	opt/demo/data/5-back_office.jpg
	
	Note: make sure no `/' on front of 'opt' !
11. Upload demo stream to ftp://ftp.dev.videonext.net/demo/
12. (Optional) create rpm and upload to ftp
