Use AnyEvent to process events for video streaming
Support video muxing into an avi