changed child process buffer management. add video segment now seems to work on ubuntu server