update write mpeg ts file